stoanhart

- friends
1 link karma
1,510 comment karma
send messageredditor for
what's this?

TROPHY CASE


  • Two-Year Club

Forthcoming firefox fix: "That’s an easy memory saving of over 20MB for a single webpage." by zemin programming

[–]stoanhart 5 points6 points ago

sorry, this has been archived and can no longer be voted on

Explaining your downvotes:

The first few were probably just by chance; someone misinterpreted your tone or something. Then you posted an edit, asking what's up; I think a few people probably downvoted you for that, just to troll you. Then you posted a second edit, and more people are piling on just for fun. Lesson: if you start getting downvotes, ignore it; it might correct itself, and it doesn't really matter anyways.

Forthcoming firefox fix: "That’s an easy memory saving of over 20MB for a single webpage." by zemin programming

[–]stoanhart -1 points0 points ago

sorry, this has been archived and can no longer be voted on

Maybe things have changed, but back when FF3 and Chrome Whatever were current, someone did an extensive analysis and found that Firefox used way more memory than Chrome if you actually use the browser (ie: on initial launch, Chrome was leaner, but with many active tabs FF won by a landslide).

Amalgamation of Hotness. [SFW] by moreSUGARpleasein pics

[–]stoanhart 0 points1 point ago

sorry, this has been archived and can no longer be voted on

Probably would have changed the color of the result too much. Or, maybe the algorithm would have trouble merging the images because the pixels are too different.

You know you're in Canada when... by thehoodiein canada

[–]stoanhart 0 points1 point ago

sorry, this has been archived and can no longer be voted on

Well, most of Canada can't even understand that debate, so this is pretty reasonable.

The Programmer Salary Taboo by import_thisin programming

[–]stoanhart 0 points1 point ago

sorry, this has been archived and can no longer be voted on

88 Acura Integra. Less than 150k km on it, and I expect it to run for years and years. My total cost of ownership is about $100/mo. I could afford more, but fuck it - this car gets me from A to B as good as any.

Windows 8 build leaked, turns out it's the real deal by vtbarrerain technology

[–]stoanhart 0 points1 point ago

sorry, this has been archived and can no longer be voted on

I don't think this is the same thing as putting a browser in the OS. The only reason companies like Norton exist is due to Windows' shortcomings. Surely Microsoft has a right to fix its own mistakes, even if that completely destroys the antivirus market.

Partner forgot to change our names in the presentation he made before he sent it to our teacher.. by Jinndjinnjinniin funny

[–]stoanhart 0 points1 point ago

sorry, this has been archived and can no longer be voted on

That's a pretty common one. I always use it when coding. I think Eclipse even searches for all TODOs in your project and gives you a list in a little panel somewhere, so you can see exactly how many TODOs you have and where they are.

Net Worth by txdude75252in funny

[–]stoanhart 14 points15 points ago

sorry, this has been archived and can no longer be voted on

That's not debtor's prison, that's being in contempt of the court.

Net Worth by txdude75252in funny

[–]stoanhart 5 points6 points ago

sorry, this has been archived and can no longer be voted on

Then you only get your tax rate back on those items. If you donate $1000 worth of stuff, write it off, and your tax rate is 20%, you get $200. You're sill short $800.

Google opensources fast hashing function by endersdoublein programming

[–]stoanhart 0 points1 point ago

sorry, this has been archived and can no longer be voted on

Yeah, I read that comment, though it doesn't really address my question.

As lobster_johnson said, each hash value is essentially a row number for a table, allowing you to quickly retrieve the associated value. However, with 64 bits, you'd have 264 rows, which would lead to the huge table size that I mentioned in my post.

I think you_do_realize is correct: after generation, the hash value is mod'ed to the desired length. This, of course, means that your chance of collisions increases proportionally to how much you shorten the hash, which depends on how large you want your table to be.

So, in conclusion, I don't think this algorithm does anything at all to speed up hash tables, as 64 bit hashes are useless for that purpose unless you have infinite memory. The purpose of this algorithm is to increase the speed of comparing/validating large data chunks.

Google opensources fast hashing function by endersdoublein programming

[–]stoanhart 1 point2 points ago

sorry, this has been archived and can no longer be voted on

I have a quick question about hash tables, which I've been wondering about for a long time. If you use a 64bit hash function like this one, doesn't that mean your hash table needs to have an array with 264 ~= 1.84x1019 "buckets"? If each one of those buckets has a standard 4 byte pointer to some data structure, you'd need 64 zetabytes = 65536 exabytes = 67108864 terabytes of space for the array. If you use a non-array data structure (list or tree) that only has entries for the hash values that actually have assigned data, you lose the O(1) data access, which is the primary draw of a hash table. You might as well go with a tree at that point, and get O(logn) access times.

TL;DR: How is a hash function that has high-bit hash values useful for a hash table?

'Best of' Apps? by quelarin Android

[–]stoanhart 0 points1 point ago

sorry, this has been archived and can no longer be voted on

Gross, or gorgeous?

CyanogenMod 7.0 Released! by iVisionX01in Android

[–]stoanhart 0 points1 point ago

sorry, this has been archived and can no longer be voted on

There's only a few major bugs left, and there are a couple of devs working to fix them. With the Froyo sources, it should be doable. I don't think an official release is necessary.

CyanogenMod 7.0 Released! by iVisionX01in Android

[–]stoanhart 3 points4 points ago

sorry, this has been archived and can no longer be voted on

It's in beta though.

Pessimistic crab by liquiiiidin pics

[–]stoanhart -2 points-1 points ago

sorry, this has been archived and can no longer be voted on

Protip: Stop anthropomorphizing animals in pictures. That crab isn't depressed, its natural face simply looks that way.

When eating out at restaurants, do you stack your finished plates for the servers/bussers to pick up? by simplisticin AskReddit

[–]stoanhart 0 points1 point ago

sorry, this has been archived and can no longer be voted on

I would argue that a waiter who has the balls to be "offended" because I voluntarily donated less money than he would have liked is 10 times the asshole that I am.

Thinking of switching to Android. What do I need to know? by ketsugiin Android

[–]stoanhart 0 points1 point ago

sorry, this has been archived and can no longer be voted on

Pay the money to get a Nexus S. Until the upgrading situation is resolved, it's best to have an official Google phone so you always get the latest software. Whether or not you'll get an update with other vendors is pretty much a gamble. If you don't want to pay for the whole phone, check out the XDA forums to see which devices already have stable 2.3.3 ROMs - those devices are probably more likely to get updates in the future too.

56 hours battery life on my Nexus S with wifi and sync on. by crazyfreak316in Android

[–]stoanhart 0 points1 point ago

sorry, this has been archived and can no longer be voted on

They certainly do - all mobile/battery powered computers underclock when idle. Maybe SetCPU clocks it even lower?

You are paying $7.00 per month on insurance for your phone. You are getting ripped off. Here is how to fix it. by traverlawin Android

[–]stoanhart 0 points1 point ago

sorry, this has been archived and can no longer be voted on

I usually use eBay, though there's probably better places. Anyone know a good part store?

You are paying $7.00 per month on insurance for your phone. You are getting ripped off. Here is how to fix it. by traverlawin Android

[–]stoanhart 2 points3 points ago

sorry, this has been archived and can no longer be voted on

Bullshit. First of all, a smartphone is a luxury, not a necessity. You can always get by on some $20 phone while you save up for a new smartphone. Second, if you can't save up a few hundred dollars over a period of a few months, then you can't afford to pay up to $100 each month for premium phone service with insurance either.

Canadian Soldiers Fucking Making Coffee in Fucking Afghanistan (x-post from fffffffuuuuuuuuuuuud) by AirborneToxicEventin canada

[–]stoanhart 12 points13 points ago

sorry, this has been archived and can no longer be voted on

When I saw that Commander's name, I thought this was a joke. That would be like an interview with Commander Hans Kraut Wolfgang during WWII...

Damnit a physics pop quiz on friday... Wait WTF? by notyourtypicalstonerin funny

[–]stoanhart 1 point2 points ago

sorry, this has been archived and can no longer be voted on

We use clickers in my physics class. It definitely helps - I really enjoy answering the questions. You apply what you just learned, and it kind of cements it in your head. Plus, there's always people around you who didn't listen, so when they ask you what the answer is you can fuck with their grades.

Damnit a physics pop quiz on friday... Wait WTF? by notyourtypicalstonerin funny

[–]stoanhart 0 points1 point ago

sorry, this has been archived and can no longer be voted on

I got mine used for $20, and I'm going to try to sell it used for $30.

This is genius and needs to be mandatory!! by squarebizin pics

[–]stoanhart 6 points7 points ago

sorry, this has been archived and can no longer be voted on

There's a guy at my gym who walks from the shower to his locker on the tips of his toes, to touch the floor as little as possible. When he gets there, he stands on little paper towels that he's put down. He looks like such a tool doing it.

The difference between good guys and bad guys. by [deleted]in pics

[–]stoanhart 0 points1 point ago

sorry, this has been archived and can no longer be voted on

No, he's actually going to use him as a shield later. You don't find a lot of meat shields out there - they're too good to use! Gotta save 'em for the boss.

view more: next