HNHacker News
TopNewBestAskShowJobs

cjfont

827 karma · joined October 13, 2011

submissionscomments
cjfont··on Why Don’t We Have a General-Purpose Tree Editor?
But not very human-readable and therefore it is inadequate for editing.
cjfont··on OkCupid urges users to abandon Firefox
Is this not a slap in the face of everyone else who has contributed to the Mozilla Foundation that is not in any way associated with Eich or his views? Seems that for some, a response of some kind is needed regardless of how irrational it may be.
cjfont··on MariaDB 10
But then how is Amazon supposed to lock you into their proprietary solution to make it harder for you to migrate from their services?
cjfont··on ASCII Delimited Text – Not CSV or TAB delimited text
Thanks, I came here to make sure someone said this. Seriously, escaping special characters in CSV isn't all that difficult if you do it right from the start.
cjfont··on Mercator puzzle
Seems there are only a handful of countries that are considered for the puzzle pieces?
cjfont··on Ask HN: How to mock up physical products that don't exist?
I think this is what CAD software is for?
cjfont··on Flappy 2048
My chance of failing increases the moment I think about which number I'm at and how much there is left to go.
cjfont··on Full-disclosure – Administrivia: The End
Nothing -- such underground communities do exist, but then it is no longer a public forum.
cjfont··on Elon Musk: To the People of New Jersey
You might want to turn off updates during road trips.
cjfont··on How not to write an API
This practice is more to prevent the user's password from being revealed than it is to prevent others from logging in as you. In a trusted environment, you may not care that someone there has access to your account, but you don't want them to know what password you chose.

Having said that, do use HTTPS when possible, but keep in mind some corporate environments force proxies that can see your traffic anyway.

cjfont··on How not to write an API
It is sent to the server, instead of the clear-text password. This isn't really necessary if you're using HTTPS, however.
cjfont··on How not to write an API
When I have a simple app send a password to the server, I like to generate a hash on the client side and then rehash again on the server for storing.

As far as APIs, the good ones will hash your secret key together along with other data unique to your HTTP request, in particular the headers and the datetime. This is a good idea because: 1. you are not sending your secret key in clear text 2. it makes it difficult for a man-in-the-middle attack because they cannot just take your hash from one of your requests since it will be invalid after received or if some time has elapsed.

For an example, see how Knox sets up requests for Amazon AWS: https://github.com/LearnBoost/knox

cjfont··on Colbert turns his funny gun on Snowden in RSA keynote
Can you support this? So you don't think comedy shows have any advertising agenda simply because their main purpose is to entertain? I would suggest that they have an additional tool at their disposal (humor) to help put a spin on matters.
cjfont··on JSON5 is a proposed extension to JSON
The problem is that your code should have been expecting that field to be a string and nothing else, and other fields that contain dates to be a date and nothing else. In other words, if you're parsing JSON in this manner you need to apply some sort of schema to the data or have another field in the record denote the datatype. Anytime you're trying to auto-magically detect the datatype of the field, you're gonna have a bad time.
cjfont··on Record-Breaking Meteorite Crash on Moon
Any reason this was unveiled 5 months after it happened?
cjfont··on I'm completely demotivated to work; what can I do?
Statistical evidence is always the best (assuming it's done right)
cjfont··on A fish that can steer its tank around the room
I think part of the problem is that the steering is not responsive enough, and that might be preventing it from realizing it can control direction.
cjfont··on I'm completely demotivated to work; what can I do?
> Your success in life will mostly be determined by the connections your parents have

Sorry but this statement doesn't ring true to me, because I know of several cases where two brothers have had divergent success outcomes based on their personalities and the choices they've made.

There's also MANY ways to forge your own connections in life.

cjfont··on HP to begin charging for firmware updates and service packs for servers
Yes this certainly doesn't add incentive to get things done right the first time around.
cjfont··on REPL: To JSON what Excel is to CSV
Wow, I was expecting this to get some criticism as I clicked the comments, but this is a bit more negativity than I would have expected from HN.
cjfont··on Introducing Bing Code Search for C#
On the topic of searching, F# should have a Hoogle equivalent.
cjfont··on The Facebook Comment That Ruined a Life
He's no longer a minor, so does that still apply because he was a minor at the time it happened?
cjfont··on Partial Application in JavaScript using bind()
So is it .bind() itself that is slow, or the function that it returns? Assuming the bind operation itself is done during initialization, its slowness is pretty irrelevant.
cjfont··on Partial Application in JavaScript using bind()
Since bind() creates a new function just before it's added as a listener, you'll have to save that function somewhere and use that as the listener you want to remove.
cjfont··on Python squeezes out JavaScript, C as best starter programming language
The use of list comprehensions is optional, and would probably not be covered in an introductory course anyway.
cjfont··on Emscripten port of DOSBox
Obligatory reference to Atwood's Law, etc. etc.
cjfont··on “We Just Can’t Have You Here”
What psychiatric illness was she diagnosed with that would make her a threat to others? I couldn't find anything beyond self-harm, and not to make light of it, but a survey seems to suggest that incidents of adolescents and adults self-harming and having suicidal thoughts is actually pretty high [1], and I doubt a high percentage of these people posed a danger to others. This case is probably more serious than the majority in the survey, but then where exactly do you draw the line in assuming she's a threat to others?

Also, the one comment you're referring to referenced an OD patient being physically restrained by medical staff -- are you going to tell me this is sufficient anecdotal evidence to make her a threat to other students?

[1] http://www.nursingtimes.net/survey-finds-worrying-number-of-...

cjfont··on BeWifi lets you steal your neighbor’s bandwidth when they’re not using it
It would be hard for them to prevent it, to them it would look like it's just another computer on the wifi.
cjfont··on “We Just Can’t Have You Here”
I'm having a hard time seeing how Yale's decision would protect other students -- on the contrary, the message that would send to other students is, "you better not do something to deviate from the norm in an undesirable way or you won't be wanted here."

Certainly in this case the girl wasn't a direct threat to anyone else, the only threat I see here from the University's perspective is to their image as an institution that admits "cutters".

cjfont··on Why I'm Betting On Julia
As is usually the case with language design, performance and optimization are often on the opposite side of the scale from code learn-ability and usability. More than likely, the "huge engine" would be some other burden the language has that he doesn't want in exchange for faster prototyping.
← PreviousPage 3 of 7Next →