Better HN
topnewbestaskshowjobs
Log inSign up

ComputerGuru

32,405 karma · joined Jan 3, 2008 (18y ago) · 8,297 submissions

mqudsi on most sites.
Submissions

comment 15y ago · link · parent

Attachments aren't actually a separate field in the email. They're base64'd binary data at the end of the text field.

comment 15y ago · link · parent

Actually, it's the exact opposite. The STL specification specifies the complexity but not the underlying data structure.

For instance, if you'll refer to section 23.1.2 of the C++ 2003 standard ("Associative Containers"), you'll find that nowhere does it mention "tree," though it does explicitly lay out the complexity requirements for associative containers such as map and multimap, that at the end of the day, can really only be had with one type of tree or the other. Table 69 goes through all the functions and operations and the complexities allotted for each. Some are even explicitly specified as "compile time" operations. No C++ implementation is allowed to deviate from this, even to provide better performance.

7233.

401k Explained Infographic on the Mint Blog(mint.com ↗)

1 points · by ComputerGuru · 15y ago · discuss

comment 15y ago · link · parent

You should program in C++ then. Every single data structure in the standard library, boost, and 3rd party libraries dissected, analyzed, benchmarked, extended, rewritten, and optimized :)

But there's a reason you don't. I chose C, others chose Ruby, and you chose Python :)

comment 15y ago · link · parent

Like I said, most of the time. No one is complaining that replies on HN aren't AJAX'd :)

comment 15y ago · link · parent

Is it enough to upvote this post if we agree, or must we comment and make our voices heard?

I love minimalist designs. And <you'll all kill me and downvote me for this one cringe> I hate javascript, most of the time. 99 times out of a hundred, javascript is used to make things "pretty" or "neat" or "flashy" or "cool" when all it does is make things slow and add bloat. I'm not saying it doesn't have its uses, but you REALLY DON'T need that 500kb library to move text around the screen or change an icon. But I'm a systems developer and I code in C and ASM, so what do I know about web development..

comment 15y ago · link · parent

Except no one knows how to spell portmanteau or its derivatives.

comment 15y ago · link · parent

Strong upvote. I'm one of those, but not on the server market.

3 years ago, I purchased an Asus Republic of Gamers motherboard for 400 dollars. It was the most expensive component in my PC, and I hate it every minute of every day.

All my work is in bootloaders, but this motherboard has a terribly, terribly buggy BIOS. Restarting the PC is not a fun thing to do with this 400 dollar PoS.

Of course, the only reason BIOS upgrades failed to address this is because only a few thousand were ever sold... and mostly to gamers and not hard-core computer engineers.

comment 15y ago · link · parent

That's why I prefer "Buying RAM is for people who don't know how to write Algorithms." found in the comments :)

comment 15y ago · link · parent

That is not necessarily true. With websockets, you can write a full-functioning p2p client in the browser.

comment 15y ago · link · parent

Because as much as hackers like to toot the OpenID horn, no normal person has a clue wtf that is.

comment 15y ago · link · parent

Not if you've been using it from before they were bought out like a lot of us here :)

comment 15y ago · link · parent

Firefox has crazy memory leaks. Don't blame it on twitter, regardless how bad their code may be.

A tab should be completely and utterly destroyed when refreshed. It doesn't matter how much memory it used, refreshing it or navigating away from that page should (ignoring optimizations, caching, etc. etc. etc.) be like you were never there.

Just look at the hundreds of complaints here: http://neosmart.net/blog/2008/firefox-3-is-still-a-memory-ho...

comment 15y ago · link · parent

Off topic, but, wow was I surprised to see something from PC Magazine! It's been years since that site had anything other than month old news and reviews of year old products to offer!

comment 15y ago · link · parent

It's expensive as hell :)

The companies that do it charge several thousand an hour, IIRC. (this was back in the 90s?)

Depending on the non-spinning disk type in question, it can be either more or less secure than the usual magnetic HDD. You've got "flash" but that's just a nice word for any number of highly-differing technologies such as MLC and SLC on the inside. And you have NAND vs NOR techs to consider as well.

Perhaps the security in non-magnetic-HDDs comes from the fact that they're so new to the table, not many specialize in restoring data from them.

comment 15y ago · link · parent

....multiple times.

Overwriting it once prevents software reconstruction of the data, but magnetic analysis of the underlying disk itself can reveal (depending on the voltage returned by the resulting 0 or 1) whether the previous value was (within a degree of certainty) a 0 or 1.

comment 15y ago · link · parent

Um, I know. That's actually what I said - there is no support for multiple permutations.

If you're geeky enough to be using hexadecimal seed values that look like words, you'll appreciate 0xD34DBEEF more than you will 0xdeadbeef. Or maybe you won't. But it's still a valid option, and IMHO, his algorithm shouldn't have ignored them.

comment 15y ago · link · parent

Very incomplete list. His algorithm skips multiple permutations of the same word.

Doesn't even have popular ones like d34d, c4f3, b33f, and believe it or not 1337!

comment 15y ago · link · parent

You're missing my point: it's not duplicate blocks in a single mail archive that I'm concerned about, it's duplicate blocks across multiple versions of the same mail archive.

New mails are typically appended to the end of the archive, but the rest of it remains more or less the same across versions.

Also, a well-written block-level deduplication algorithm will work regardless of boundary shifts. I designed and wrote the proprietary blocklevel algorithm used in Genie Timeline, and can tell you that it saves terabytes of data in corporations for just PSTs alone. And it doesn't rely on block boundaries, capable of detecting slided or shifted data.

comment 15y ago · link · parent

Really the biggest culprit is Mail.app - so this would depend on how big your Mail archive is.

comment 15y ago · link · parent

What I'm actually more interested in is what Apple is intending on using instead of ZFS.

All indications are that ZFS will not be the next filesystem for OS X, yet they'll need to replace HFS soon seeing as it's the worst-performing and fewest-featured filesystem in use with this generation of operating systems. HFS+ is showing its age in multiple places, and Apple could really take advantage of some of the newer features available in modern filesystems to make a huge difference and increase the power and performance behind some of the current features (a la Time Machine), with techniques such as snapshots, transactioned reads/writes, and more.

comment 15y ago · link · parent

Before you get really excited, I ask you to rewrite the title and re-consider: 50% of web users still have no HTML5 video support.

I hope that idea you had is no longer still itching to get out. There.

comment 15y ago · link · parent

If you're a Windows user, you can use EasyBCD to add a bootable ISO to the boot menu by just pointing and clicking: http://neosmart.net/dl.php?id=1

/shameless plug

comment 15y ago · link · parent

C300 by Crucial. I upgraded my 13" MBP with it a few months back (6? 8?) and it's unbelievable. They say OS X doesn't need TRIM, but I don't really believe that.

Another option if you don't use your optical drive is to install a normal 2.5" HD instead over there for not-oft-used data.

comment 15y ago · link · parent

when was the last time you clicked through to a page that was nothing more than a legally copied, properly attributed Wikipedia entry encrusted in advertisements? Never, right?

Jeff gets it wrong yet again. Has he never heard of (or clicked a search result that led to) answers.com?

comment 15y ago · link · parent

I call BS. His number 1 point: "No real caching engine support in the core (APC, memcache, etc)" is a lie.

We even wrote plugins for APC, eAccelerator, and XCache to leverage the already exposed support for using these variable caches: http://neosmart.net/dl.php?id=12 ...back in 2007!

comment 15y ago · link · parent

"worth a mention!?"

It gets a golden award! My cousin and I spent a good 5 minutes poking, prodding, chasing, and otherwise abusing that poor unicorn all over the screen!

1
241242243
277