HNHacker News
TopNewBestAskShowJobs

nickzoic

140 karma · joined June 13, 2010

http://nick.zoic.org/
submissionscomments
nickzoic··on The Truth about a Failing Startup
Thanks Alex for posting the first quote from a sportsperson I've every actually found inspirational.

OP, hang in there and find someone you can talk about your feelings to, even if you have to keep your "confident face" on all day.

Failing that, listen to a lot of Nine Inch Nails. No, wait, that was Dotcom 1.0.

nickzoic··on I am under surveillance by Canadian agents, my computer has been backdoored
Good point(s).

I was more addressing the techical "How can I tell if my computer is haunted?" question than the original poster's legal issues, on which I am not at all qualified to speculate.

nickzoic··on I am under surveillance by Canadian agents, my computer has been backdoored
OK, the proper way to do this is to not touch the machine at all. Shut it down and leave it alone. Maybe borrow its hard drive and back it up using 'dd'.

Set up a separate Linux (etc) machine with two ethernet ports as a firewall/router, running wireshark in addition to everything else. It can now log all packets in and out of your network, and save them for later analysis.

If nothing interesting happens in the time it takes you to get bored, copy just the files you really need across from your old HDD to a shiny new one.

nickzoic··on Is University Necessary? A professor debates a student.
Even though I'm actually overall pretty positive on the value of higher education, the argument lost me at:

> "The question is, “Can you be successful in truly meaningful ways without going to college?” The answer for most of you is “No.”"

... because it sets up two simultaneous No True Scotsmen: any given counterexample can either be dismissed as not "truly meaningful success" or not by "most people".

nickzoic··on Design Like No One Is Patenting — How SparkFun Stays Ahead of the Pack
As much as I kind of hate to admit it ...

The cost to a hobbyist of an 8-pin 555 timer[1] is not significantly different to the cost of an 8-pin TinyAVR[2] -- and the TinyAVR gives you a lot more options -- so that's the way kids these days blink their LEDs :-)

[1] https://www.sparkfun.com/products/9273

[2] https://www.sparkfun.com/products/9378

nickzoic··on A business meeting
... Smith then produces a GUI with 14 sliders for viewing the lines.

When the client still isn't happy he adds an "Advanced" dialog to let the user specify an augmented transformation matrix ...

nickzoic··on The Minimum Wage Machine
Nothing says "disposable income" like a diamond hoe.
nickzoic··on AltJS - A list of compile-to-JavaScript languages
Thanks! (and the other guys too, but Dart seems most like what I was looking for ...)
nickzoic··on Intel 'preparing' to put an end to user-replaceable CPUs
Yes, the move to UEFI worries me a whole lot more than the CPU being soldered to the board. I haven't upgraded a CPU in a very long time.
nickzoic··on Shimming your way to Linux on Windows 8 PCs
I do this all the time to laptops ... boot Windows once to go through the whole "create backup DVDs" procedure, then put the DVDs away somewhere safe and wipe the machine. If you ever have to claim warranty, back up your Linux files, securely wipe the HDD, then restore from the backup DVDs and send the newly restored machine back.

This is also good security policy ...

nickzoic··on Ask HN: Why do we minify JavaScript, yet not HTML?
Yeah, I like to minify the HTML as well ... most template engines have an "omit whitespace" option or flag which lets you do this.

Every now and then whitespace turns out to be significant though ... so you need to be slightly intelligent about how you handle it.

It is probably less relevant in HTML5 times where you are most likely just using a small bit of HTML to act as a "loader" for your Javascript, which then takes over. The JS and CSS files are, in this case, way bigger than the HTML.

nickzoic··on AltJS - A list of compile-to-JavaScript languages
Do any of these languages solve the debugging problem?

I'd love to write my client-side code in something other than JS, but I'd still be debugging it in JS, and I have trouble believing that's going to help ...

nickzoic··on Microsoft's Skydrive sends two million NULL characters
Wow, I didn't know that, it explains a lot.
nickzoic··on Microsoft's Skydrive sends two million NULL characters
The "proper" Hayes AT drop-back-to-command-mode sequence was +++ followed by a long pause (1 second or so). Any characters sent during that pause time would invalidate the attempt to switch to command mode. So theoretically this shouldn't happen. However, lots of cheaper modems seemed to not check for the pause, so sending +++ATH0 would make them switch to command mode and immediately process a Hangup command ... not pretty :-).
nickzoic··on Reddit user captures video of 2012 voting machines altering votes
You guys really should have copied preferential voting while you were at it. Or skipped over us entirely and gone with proportional representation.
nickzoic··on My IQ
My 6yo daughter was upset because she couldn't understand the first clue in one of those kids' word puzzle books.

    "My first letter is in TOAST but not in ROAST".
Sometimes, dear daughter, you're just smarter than the guy who wrote the book.
nickzoic··on My IQ
Success contains a large factor of luck for sure, but I'd say also a large factor of something not measured by IQ tests.

Charisma? "Emotional Intelligence"? Mental flexibility? Gumption? Who knows.

nickzoic··on The lactose-tolerance mutation
Also Bog Butter: http://en.wikipedia.org/wiki/Bog_butter
nickzoic··on Things I wish I knew about MongoDB a year ago
The count({condition}) one is a worry. I'm guessing it is slow in the case where it has to page the index in in order to count it. I wonder if it is still a problem where the index is used a lot anyway. A fix in MongoDB would seem a lot better solution than having everyone implement their own hacky count-caching solution.

EDIT: Actually, looking at the bug reports, sounds like maybe lock contention on the index?

The master/slave replication problem seems bad but I think it can be worked around (for my particular project) with a flag on the user session ... if they've performed a write in the last 30 seconds, set slaveOkay = false. Users who are just browsing may experience a slight delay in seeing new documents but users who are editing stuff will see their edits immediately.

nickzoic··on 15 Years after the First Slashdot Post
Next Up: Crackmonkey Nostalgia.
nickzoic··on Stop validating email addresses with your complex regex
Yeah, and there's a Perl Email::Valid http://search.cpan.org/~rjbs/Email-Valid-0.190/ which checks for well-formedness and the existence of the domain.
nickzoic··on Stop validating email addresses with your complex regex
Yeah, maybe. But you're going to have to send them there some time to do the "confirm email" thing, I was just thinking perhaps get that over and done with upfront.

Ideally, all this would be done away with by OpenID or client-side certificates or something along those lines. The whole password-and-email-in-case-you-forget-it paradigm is broken, really.

nickzoic··on Stop validating email addresses with your complex regex
Here's another thought, just off the top of my head: get people to sign up by sending an email to "subscribe@example.com". You can include that as a "mailto:" link and many browsers will deal with it correctly.

There's very good odds that the email they send will have their "From:" (or "Reply-To:") address correctly set. Then just have an email autoresponder which emails them back a link with a token in it, when they click on that it'll take them to a page to create their account, with their email address already filled in by the token.

nickzoic··on Printers are spontaneously printing odd "SQL" strings
... for example if the IPv6 address is autoconfed from the MAC address, then you can exploit the structure of the MAC address to target a much smaller range of address suffixes, specific to the manufacturer of your target device(s).
nickzoic··on Stop Using The Cup of Coffee vs. $0.99 Cent App Analogy
I'd like an App Store with a "if you delete it within X days you get an automatic refund" model. That would make buying apps risk free and refunding them hassle free, without the annoyance of having "Lite" vs "Full" versions.
nickzoic··on Mike Guss designer of Metro on 'M'
They should rename it "Malkovich":

   Malkovich saw what I was working on and showed it to   
   Malkovich Malkovich (Art Director who worked with 
   Malkovich Malkovich), and he said something like "that's 
   Malkovich!"
nickzoic··on Tom Duff on Duff's Device (1988)
AVR microcontrollers, certainly.

Edit: That's answering the question I think you meant, which was "Is memory mapped I/O in use anywhere ..."

And yes, they're often programmed in C.

nickzoic··on Lying on your resume
> I think the difference is that you find the axis on which you are or aren't cheating (in this conversation, a degree) important and worth ranking and measuring people against. I don't.

I'm perfectly happy to interview and hire people without degrees: experience counts for a lot. But lying about anything on a resume or in an interview is an immediate disqualification.

nickzoic··on Surprisingly Good Evidence That Real Name Policies Fail To Improve Comments
Which is interesting, because Google/Facebook also seem to be requiring a "Pen name", really ... until they start checking IDs for a serious proportion of users, and not just the ones which seem odd to them.
nickzoic··on What's with this anti-directory structure movement?
I was about to point this out elsewhere in the thread where someone was saying that you can do anything you want with a hierarchical directory structure and hard links ...

This is equivalent to hierarchical tags (if you allow that an "untagged" file is equiv. to the root directory) but maybe less confusing.

← PreviousPage 3 of 5Next →