HNHacker News
TopNewBestAskShowJobs

candydance

138 karma · joined September 9, 2013

submissionscomments
candydance··on Users complain their Dell 6430u laptops smell like cat piss
If they actually do a recall/replacement I'll be extremely impressed.
candydance··on For modern development, Javascript is just something you need to learn
Uh, no. He specifically mentioned that running in the browser is why JS is so widely used, even though the language itself is worse than alternatives.

>The single redeeming feature of JS is that it's implemented in all current browsers. If it wasn't for that fact I doubt anyone would have cared much.

>Everything it can do another language can do better, except run in a browser

That's the exact opposite of dismissing a key aspect of Javascript's value, that's explicitly acknowledging it.

candydance··on For modern development, Javascript is just something you need to learn
The associative arrays in JS are simpler than objects in Java but the expressiveness means you need to be aware of all the different types of type coercion and how it all interacts at runtime. I don't think this is that difficult but it's no more difficult to lay out your data before runtime. I think this is a wash that goes to the dynamic vs static debate which we all know can be argued about for days.

You're leaving out prototypes which I find much more complicated than Java Classes.

candydance··on For modern development, Javascript is just something you need to learn
>I didn't mean bigger in the sense that you need to know more to be able to use it

Ah ok, well I can see why we have differing opinions because that's exactly what I mean :)

I mean base language including corner-cases, not any of the libraries (even if they're included in the SDK). I think they'd both be huge if we included libraries, since I'd lump in DOM manipulation and something like JQuery into Javascript if Java gets the SDK libraries.

candydance··on For modern development, Javascript is just something you need to learn
I'll give you generics. Statics, method visibility vs global/local/self. Interfaces, abstract classes, inner classes vs metatables. Data-structures apart from array are implemented on top of the language, array vs tables. Iterators are implemented on top of the language vs lua where they are part of the language. Checked exceptions can just be cast to Exception and ignored. Annotations are optional. Threads vs coroutines.

Yes, comparable to Lua. I'd probably not say it's smaller than Lua but I would say it's not greatly larger than it.

candydance··on For modern development, Javascript is just something you need to learn
Please expand your response, I don't understand what you mean when you say they are "the same thing".
candydance··on For modern development, Javascript is just something you need to learn
I didn't see a point, just a bunch of facts and a smarmy, self-righteous turn-about comment. If I could downvote it, I would.

The parent comment said "Javascript is a bad language but it's incredibly useful because it's in every browser." and you just agreed with him after writing a bunch of sarcastic drek.

candydance··on For modern development, Javascript is just something you need to learn
Why do you think Java is bigger?

From my perspective, Java has, effectively, structs (well defined groups of data) and a few primitive types, and a class system which is dead simple. It's tiny, comparable to Lua imo.

It's more restrictive, sure, but the dynamic-ness of Javascript is a hindrance when it comes to language spec because the base language functions need to be able to interpret all the different primitive types. There's stacks and stacks of corner cases to remember while Java just says "Nope, wrong type".

candydance··on April 5, 2007: "Show HN, Dropbox"
FWIW, it didn't for me. And that's fine too.

What I use dropbox for: Lazy backup system (all my important code is symlinked there, sharing small files (<20mb) over the net

What I use USB drives for: Sharing large files (>100mb) between local computers, liveUSBs

candydance··on Rally Against Mass Surveillance Livestream [video]
>Is there nothing positive the NSA/US Government can tell us about these tactics that wont compromise their mission?

They probably think that they can just stay silent and the public outrage will quietly sizzle out.

It's certainly looking like that stance will be justified.

candydance··on I lost years’ worth of Google Docs files because of a poor user interface
Ehhh, no. That's how dropbox works. If you delete a file it stays in the cloud for a month before it's fully deleted. You can use the web interface to do a proper delete, but the interface makes it clear what you are doing.

Not only that but dropbox keeps a few revisions for you if you happen to overwrite the file.

I've NEVER heard anyone complain about these features before.

candydance··on I lost years’ worth of Google Docs files because of a poor user interface
The google drive already has access to the local filesystem, so that is a not a good reason to not have a local copy of the data.
candydance··on Why women lose the dating game
Now unbalance it a bit, if the 6'2" can't hold a conversation he's going to fail. This means that holding a conversation is more important.

Same thing if he's not well groomed, same thing if he's out of shape. Same thing good career vs unemployed.

And these are all things that can be improved if you work at it.

Height is an advantage, but it's not the most important one.

candydance··on Why women lose the dating game
I never said height is worth nothing. Height is A factor, not THE factor.
candydance··on Why women lose the dating game
Exactly. The most successful lothario in my university class was a short guy who went to the gym 5 days a week, had exceptional grooming and was extremely confident/comfortable around women. Height is a very small factor in these things.

Not to mention fringe benefits of being short. Relatively, EVERYTHING IS BIGGER. This idea alone makes me want to try being smaller for a day. Fitting on beds, fitting in airplanes, all food portions are bigger, cars are more spacious.

Also, you'll live longer statistically.

candydance··on Why women lose the dating game
Yes on prestige. Last I checked lawyers make an excellent living here too. University fees are less crippling because you aren't forced to make repayments unless you are earning over a certain amount.
candydance··on Why women lose the dating game
>>Whereas someone who is, say, 6'2" will be attractive to women solely on the virtue of being tall.

Lol no. As a 6'2" man with social anxiety, being tall is not some magical doorway to getting the ladies.

Effort is more important, grooming is more important, being able to hold a conversation is more important, etc.

edit: I'm not saying height isn't an advantage. I'm saying that there are MANY other factors which matter MUCH more than just height.

candydance··on Why women lose the dating game
Lawyers are on the higher end of status things. In line with commerce peeps and engineers.

If I was to make a ball-park guess, fewer people sue each other here, so there are fewer lawyers and the career path stays prestigious.

candydance··on Self-driving cars projected to reduce injuries by 90%, save $450B annually
Everyone thinks they can drive without risking themselves harm though, otherwise no one would ever get in a car.

Accidents happen to other people... until they don't.

candydance··on Nintendo says this amazing Super Mario site is illegal
Including the IP of the "mario" character?
candydance··on Choosing the right data structures
This is a pretty awesome talk. I wish he expanded on the "array of records" thing and how he implemented it.

Maybe an array of key-value pairs?

candydance··on USB Implementers Forum Says No to Open Source
They'd just buy up another VID, the names associated with VIDs don't need to be unique.
candydance··on USB Implementers Forum Says No to Open Source
Since a USB device gets paired with a driver through a VID/PID pair, buying a single VID allows you access to 65536 PIDs for that VID. They give out the PIDs for free but hold on to the VID for themselves.

FTDI own a bunch of VIDs which are associated with "FTDI" devices. If you ask FTDI they'll reserve a small block of PIDs for you to use for your own products that use the FTDI USB chips. 8 PIDs cut out of a 65536 block is not a significant cost.

I'm surprised that VTM still allows them to do it though, maybe it's a special case because you're using their IC.

The problem is that VTM maintains an "official" list of VID/PID owners, so that they can keep drivers on seperate IDs and prevent clashes for users. Most hobbyists just pick a random VID/PID for their personal projects and hope for the best, but for small scale hobby releases it's problematic since "technically" they are going against the terms of service for the USB protocol. Sometimes there will be clashes if people pick random numbers, and VTM hates that.

http://www.ftdichip.com/Support/Knowledgebase/index.html?can...

candydance··on How to lose $172,222 a second for 45 minutes
Have them in pairs or teams, war games style.

Guy1 "Sir, we're losing money much faster than predicted, turn your key"

Guy2 "It could just be market variance"

Guy1 pulls out gun "Turn your key, sir"

candydance··on Dawn of Autonomous Corporations, Powered by Bitcoin
I was thinking about this too. That "pay us 300 dollars in bitcoins to get a key to your data" virus could be like that.

If the payment -> key sent part was automated then money would just build up in the bitcoin account over time.

candydance··on Every position of Rubik's Cube can be solved in twenty moves or less
It is much easier than you might imagine but it's not very "fun". To be able to dependably solve a cube you'll need to know a few algorithms for swapping key pieces around without effecting the rest of the cube. If you can remember those algorithms then you can solve any cube.

http://www.wikihow.com/Solve-a-Rubik%27s-Cube-%28Easy-Move-N...

candydance··on Did these guys just reinvent the Web?
"Any headline which ends in a question mark can be answered by the word no."

I had to look it up, so this might save some others the trouble.

candydance··on Are We Losing the Secrets of the Masters?
>The internet fixes that, because it's easier to maintain a core of enthusiasts, even if they are spread out over long distances.

The internet also fixes the problem of sourcing supplies for a niche craft. It wasn't that long ago that you had to use giant mail order catalogs to get stuff shipped to you, and it'd be rare to get stuff sent internationally unless you happened to know a friend in the desired country who'd act as a middleman.

candydance··on How Seinfeld's Productivity Secret Fixed My Procrastination Problem
That's my life. Did great in school, grades started dropping near the end of highschool. Instead of learning self discipline my parents got a tutor to help me focus. Graduated school top of my class, got a full scholarship for a good college so I moved away from home. Dropped out after a year because I couldn't handle having no structure.

God it's depressing just typing that out.

candydance··on Full archives of Game Developer magazine
Consider grabbing the torrent[0] instead so as not to peg the gdcvault server.

[0]: http://thepiratebay.sx/torrent/8940823/Game_Developer_Magazi...

Page 1 of 2Next →