Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
just2n
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
241.
▲
by
just2n
14y ago
Reducing the number of lines isn't important. Unless you're code golfing or otherwise competing to fit within a certain code/binary size, you should never care about line count at all. The only thing it will do is cause you to crush your li
242.
▲
by
just2n
14y ago
This is cool, but to be a little OT: every time I see "Hacker School" I get a little more confused. Being a hacker isn't something you can teach someone. It's a mindset. You either have it or you don't. I think most people can understand th
243.
▲
by
just2n
14y ago
When I initially asked, I didn't get an answer: why wouldn't Google go ahead and roll it out Fiber here, in its own back yard? How many times are we going to see this story and then pay our monthly Comcast/AT&T/Verizon over-priced tithe
244.
▲
by
just2n
14y ago
It's already not an apples to apples comparison. For instance, what's in the Node examples is much the use of frameworks built to enable rapid prototyping, not built to handle the needs of performance-oriented services. So we're comparing s
245.
▲
by
just2n
14y ago
> Many continue to claim the Always-On function in SimCity is a DRM scheme. It’s not. People still want to argue about it. We can’t be any clearer – it’s not. Period. And you lost me. Zero credibility.
246.
▲
by
just2n
14y ago
I wouldn't use async myself, so what's "real" code varies from person to person. This is why benchmarks like this are highly misleading. But ideally, yes. We'd be better informed to see how real world code performs rather than some idyllic
247.
▲
by
just2n
14y ago
Once again, the Node examples are wrong. - Unnecessary parsing. - Writing strings instead of buffers (they're copied, they aren't sent as-is). - Using async. It does a lot of really nasty things, most of which break V8 optimization best pra
248.
▲
by
just2n
14y ago
The grids comparing language features are mostly incorrect, generally towards a stereotype that's common but incorrect, or very dated.
249.
▲
by
just2n
14y ago
I think this is a highly contentious opinion (primarily mine, and any view that modern high-budget games mostly suck, which resonates with myself and a lot of once-gamers I know). It might be that way because of the technical nature of this
250.
▲
by
just2n
14y ago
Ah right, it was published by Sierra. What a work of art for Gooseman. Thinking about it brings back those nostalgic days of WON with the fullscreen console. I had a 3 digit wonid, I remember when that was such a big deal, lol. Going over t
251.
▲
by
just2n
14y ago
A big difference then was that you could expect to reliably sell your used game back after you finished playing it, if you didn't want to hang on to it. So if you were into playing a lot of games and only keeping your all time favorites, yo
252.
▲
by
just2n
14y ago
Sure, but it's all independent now. They used to be small game studios with the resources to push out high quality games at a pretty rapid pace. I'm not saying the people building indie games today aren't talented, but some of them spend ye
253.
▲
by
just2n
14y ago
Recognizable titles did that, sure, but you could grab a used copy for less than half of that, and I recall buying plenty of games for under $24 new. Counter Strike for me counts as a childhood game, though. I was early teens when it came o
254.
▲
by
just2n
14y ago
That's definitely a good point. I've played some awesome mobile games. The only downside is that they are producing for a platform with such a horrendously inaccurate/crappy input system. I get enthusiastic about downloading a game on my n7
255.
▲
by
just2n
14y ago
This. I remember the days of NES/Gameboy/DOS/PS games, even the case for a lot of games in other earlier consoles like SNES, Genesis, Dreamcast, etc. These markets were literally flooded with massive volume in games. You went to the store a
256.
▲
by
just2n
14y ago
That only works if the user makes an https request first. Say the URL is: https://mybank.com , but I go to http://mybank.com , and I haven't been there yet, so the STS rule isn't in my browser. How can a user reliably be switched to https
257.
▲
by
just2n
14y ago
Thanks for explaining that. So sitting here trying to think about a way to solve that problem, what I come up with is essentially PKI. But if the attacker has the ability to inject code, they can always break this entirely by stealing my pr
258.
▲
by
just2n
14y ago
That reasoning doesn't really sit well with me as a mathematician. I would expect the image of MD5 on its codomain is almost a bijection (would love to be demonstrated wrong here, if anyone knows of a paper that studies this, but it seems r
259.
▲
by
just2n
14y ago
I didn't mean to imply that you'd just store the hash the client comes up with. That's idiotic, of course. Not everyone uses SSL, even though they should, and it's not always secure, and even with the use of SSL, it seems that there would b
260.
▲
by
just2n
14y ago
That's why the client should perform the hash and only submit the result.
261.
▲
by
just2n
14y ago
Interesting. As you pointed out, I hadn't read the article but was rather replying to other comments. After reading it, I think I have to agree that I had never thought about it that way. It makes a lot more sense that a promise is just a d
262.
▲
by
just2n
14y ago
Promises are just tools for managing a list of callbacks with less boilerplate. I wouldn't call one imperative and the other functional. Both are functional. You might dislike callback patterns, but through one of the beautiful parts of JS,
263.
▲
by
just2n
14y ago
And you really have to wonder, because the last time I had to implement a CAPTCHA (around 5 years ago), it was about 5 minutes of work. Google query, found a library, downloaded the library, copied the example into a form, and I was done. I
264.
▲
by
just2n
14y ago
The only response I could come up with: "stupid is as stupid does."
265.
▲
by
just2n
14y ago
Unless there is a 100% pass rate, there is definitely "error." Picking someone who you couldn't find a problem with but who is incapable of passing your courses counts as picking the wrong person.
266.
▲
by
just2n
14y ago
But then he's clearly doing something to warrant the discrepancy in pay. That's what I'm saying. If I see he makes $250,000 and I make $150,000, and I ask "why?" and get an answer along the lines of "he provides us with x, y, and z, and tho
267.
▲
by
just2n
14y ago
At the risk of hater downvotes, that screenshot looks eerily similar to the situation I always find myself in while in SF. Lyft and Sidecar have nothing available or have ungodly wait times (6-15 minutes while standing in a busy part of the
268.
▲
by
just2n
14y ago
The taboo about discussing let alone being open about salary information has no impact here? I believe most people are reasonable. If I see that the people I work with make more or less than me, a decision was made by someone. If that decis
269.
▲
by
just2n
14y ago
I was initially thinking the Ouya would be cool. But then I actually thought about the console space and realized that what was true of my younger years is no longer the case. In particular, a NES was significantly different than a Windows
270.
▲
by
just2n
14y ago
So why can't it be an ongoing thing? Counselors are a thing, and should help a student through the process and decide for themselves whether their placement is right for them. It should never be a "this is what you're taking, period!" If a
More ›