jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
Regarding Dijkstra's quote: our brains are wired to model people with internal desires... sometimes it can lead to some errors, like animism, but if used correctly, it can be a powerful technique.

I've designed concurrent systems with many processes talking to each other. Each process has a name that describes a profession, owns certain parts of a shared database and transacts with other processes.

Sure that analogy can break down in the limits, but thinking like this allows me to get a much clearer mental picture of what's happening.
Although the rhetoric coming out of China still hearkens back to the bad old days of Mao, I can guarantee you that North Korea is a completely different world from China. I've been to both countries.

Let me put it this way: choco pies [0] are considered bonus incentives in North Korean factories.

And a lot of folks in the West don't seem to realize that there is quite a bit of international trade involving North Korea; there's a lot of countries that aren't so picky about whom they do business with. They clearly have capable engineers and scientists. The day I left Pyongyang on the public flight to Beijing, there was an unscheduled flight to Bangkok on the airport departure board.

Heck, for that matter, they have software engineers who design cell phone games like "Big Lebowski Bowling." [1] And it's likely that the Simpsons is animated in part there. [2]

[0] https://secure.wikimedia.org/wikipedia/en/wiki/Choco_Pie
[1] http://www.bloomberg.com/news/2010-09-06/kim-jong-il-bowls-f...
[2] http://www.korea-is-one.org/article.php3?id_article=1856
Yes, this mouseover problem has been confusing me as of late. I'm using JQuery + Raphael to interact with the SVG map objects. I need to figure out this bug (which I believe is something particular to Raphael) by diving into some docs a bit more.

The geolocation is only as great as your ISP allows. I hope to allow people to change their region if they're logged in. If anyone happens to know a good geocoding service, please let me know.

I'll try to get something worked into the interface to show this.
To make this discussion more concrete, imagine that you have an API that accepts a JSON blob over HTTP/POST.

The blob is expected to be something like:

{
"name": "bob",
"age": 42
}

Your code needs to handle the case where the fields aren't there, or they have invalid values (eg the wrong type, or a negative age).

You at least need to ignore this input, but if you want this to be a nice API to work with, you probably also want to return error messages that explain what the client did wrong.

You can hand-code this logic (please excuse the pseudo-code):

if (!input.hasKey("name"))
print "The 'name' key is required."

if (typeof input["name"] != "string")
print("The 'name' key is the wrong type. Expected 'string' " +
"but got %s" % typeof input["name"])

if (!input.hasKey("age"))
...

... but I think it's clear that this quickly gets tedious and error-prone. JSON schema is one possible solution:

// schema
{
"type": "object",
"properties": {
"name": { "type": "string", "minLength": 1 },
"age": { "type": "integer", "minimum": 0 }
}
}

// handler
validator = new JSONSchemaValidator(schema)
if (validator.validate(instance))
// handle the request
else
print validator.errors.join("\n")
"Go to college, get a degree, and get a good GPA."

It isn't that this is necessarily bad advice. It's just that it was bad advice for me.
They types of diets are specified in the article.
I thought that the minimum value cwnd could assume is IW, but looking at RFC 2581 that isn't true: "Upon a timeout cwnd MUST be set to no more than the loss window, LW, which equals 1 full-sized segment (regardless of the value of IW)." They even explicitly call out what I erroneously believed, so you are right -- I apologize!

If you really have a tin cans and string physical layer, Google's larger IW could be more disruptive to other connections on the link: A vanilla TCP connection would ramp up cwnd from 1 segment until congestion is observed (in the slow-start phase) and then grow cwnd conservatively (after ssthresh is first set). If congestion would be observed at a cwnd value less than 10 segments, then starting with IW at 10 segments could be very disruptive to others sharing the connection.

Mind you, this argument feels very... academic. As you pointed out, Google's connection would converge toward fairness anyway. (Unless so little data is actually transmitted, then the connection probably isn't open long enough for that to happen.) And most shared links don't saturate at 12 segments. I'd guess that a high-capacity link would only be at risk if it has a lot of connections (so that every connection has a cwnd not much greater than 10) and there are always many (albeit, short-lived) connections to Google always being created (which could appear as fewer long-lived connections with a constant cwnd of 10, more than would be fair).
"The idea behind stepping outside of your comfort zone is that you keep doing it until it becomes your new comfort zone."

No it isn't. The point of stepping outside your comfort zone is to see if it really does belong outside your comfort zone. Stepping outside your comfort zone and demanding that that be the new way, results be damned, is just as foolish as never stepping outside your comfort zone. Not everything outside your comfort zone is good and usually the only way to determine what is and isn't good is to jump in and try it out.
Seems Randall is having fun with gifs.
Unfortunately I can't think of another language outside of the LISP family that supports continuations well.

Javascript has closures, which you can use to implement continuations. See http://marijn.haverbeke.nl/cps/
Interesting. I'm surprised this change hasn't been covered at all by the tech press.

So does this 100% clear the way to use tools like Unity or Appcelerator? I'm particularly interested in Appcelerator (starting a droid/iPhone app in a few weeks) and there isn't a clear statement on their website about this change.

Update: I've emailed appcelarator about this change and requested clarification; I'll update again when I hear back.

Update 2: still no word from Appcelerator. I've spent some time digging through their forums and I think they just don't know what's going on either. It seems like they are just waiting to see what happens today when people start to submit iOS 4 Apps. I guess we'll know the answer becaus of this either way, hopefully soon.
I have a lot of respect for Gabriel. If I'm able to say that in one line, then so be it.

Edit:

lmkg's comment didn't say everyone should use DDG for all search needs. It pointed out the value of independent alternatives. One liner or not, it's valid and relevant. DDG is valuable to the discussion because it specifically attempts to innovate rather than copycat the status quo.
Heh, yes, let me quit my job, forget about future earnings, and do a start-up so I can have modest returns in a niche industry.

I'm sorry, but I don't think that mentality is good advice for entrepreneurs. I'd rather reach for the top of Everest and even if I only get halfway there, it would still be better than conquering an anthill.
While I don't think that this should be over-emphasized, 20-30% is greater than "zero", meaning that genes do matter, right?
I have actually authored systems at big and small companies in:
C#
VB
Pascal
Java
Python
Ruby
JavaScript

My point was not that big companies don't use languages other than Java. My point was that the tired cliche of Java dominating at big companies is entirely warranted. If I implied that Java penetration at large enterprises is 100%, then there is a lot more wrong with my writing than a missing apostrophe.
I hear where you're coming from. Definitely a totally different game when you start throwing in families and financial obligations.
The logical leap in your reasoning (spoke to Elon on the phone ==> very dangerous, mentally unstable) is so baffling that it's hard to believe this comment was made in good faith.
I remember that! Also whales do that too iirc.
The cops pulled out before that happened, and it was quite peaceful there while that was going on. It's really not the same situation.
I don't know that I'd associate it with the right wing, though. All parties are currently guilty of what you might call overfitting, where medium-term profits are directly measured against the content generating those profits, which understandably eventually segments the population and fits content to what keeps them engaged.
What'll really spark a bigger fire is if the protesters are given time to do what they say they want, and recruit some congressmembers to declare Trump the election winner.
> I have absolutely no faith in the election since voting required the use of hackable electronic voting machines.

This is mostly not true. See https://ballotpedia.org/Voting_methods_and_equipment_by_stat... . Almost every state produces a voter-readable paper trail for all votes.
imo, it isn't the same statement. or it doesn't have to be. the original sentiment was more that this aspect of society has evolved into this state naturally. the alternative theory is stating that this aspect of society was molded into shape due to specific pressures.

/not a value judgment on either statements
How does the technology used to capture the video factor into that?

I would assume that with capturing only RGB you already limited the color space – the information is lost – and you cannot extend it, no matter what you try.

I know that, when printing, additional colors can help because the RGB space doesn’t map exactly to the CMYK space. There are RGB colors you just cannot get with CMYK.

Are the RGB(capture) and RGB(display) color spaces so different that additional colors can help? I would assume they would have to be, wouldn’t they?
vsync - Thanks for the feedback; We have made massive improvements to the developer tools we ship with IE. Please take a minute to download & install the latest Platform Preview from here - http://ie.microsoft.com/testdrive/ - and give it a whirl. If you hit the F12 key, you should see the developer tools show up, and you will be able to see the tons of improvements we have made since IE8.

See also: http://blogs.msdn.com/b/ie/archive/2010/04/22/ie9-developer-...

If you have any suggestions or comments, please reply back. There are many open channels of communication, e.g. the IEBlog, Connect, etc. but as an FYI, I will also be looking at responses in here, within news.yc
It does (https://www.youtube.com/watch?v=DgLBIdVg3EM), it just ran out of hydraulic fluid in this case.
No, I'm really not. This guy was an arrogant ass who ignored me because I was 22 and he was 51 and he "was doing this stuff when I was still pooping my pants". He refused to follow best practices, and he refused to take advice.

I told our CEO what this guy was doing, why it was bad, why nobody else does that, and how it ought to be done instead. I honestly thought our boss would just force him to follow my recommendations. But instead he told me to just re-do it the right way myself. Boss made the best decision for the company.

You could have presented your objections in a more tactful manner, but you didn't, because you're a judgmental asshole.
The NYT article has some additional context, including quotes from interviews. Generally we prefer an article like that to press releases, unless it's an unusually interesting press release.

Paywalls suck, of course, but HN's rule is that it's ok as long as there's a workaround. Users usually post workarounds in the threads, including in this thread.

https://news.ycombinator.com/newsfaq.html

https://news.ycombinator.com/item?id=10178989

https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...
It's not about values, it's about reproduction.

Good looks on a gal are correlated with fertility, so a guy who marries her will have a chance at a higher reproductive success. A guy with resources can afford to take care of said children, as opposed to letting them starve to death, so she gets a higher RS as well.

Neither has anything to do with morality at all.
I took a graduate philosophy seminar as a senior and we spent a full lecture debating the semantics and pragmatics of fuzzy quantifiers like this. There was a sizable portion of the class that felt that "few" is a relative term (as in "few people believe in aliens"), but that "a few" is an absolute term (as in "I cooked a few eggs").

You may be a "grammar fanboy", but I don't think your proposed semantics of "a few" are necessarily correct.
some people like proper gtk integration
It is entirely intentional. Likewise, parents can lock access to Safari via the parental controls. I utterly fail to see what's abnormal about it, let alone dumb.
Men desiring attractive, fertile looking women is built-in.

Women desiring high status men is also built-in. But which women find high status (banker versus starving artist for example) depends on culture and the particular woman.
> *"I've watched many of our best business/tech minds get sucked south of the border"

This is something a lot of Canadians do not realize. I don't consider myself the best, but I am currently south of the border because the going pay is nearly twice what anybody in Canada is willing to offer (note: I am fairly young). I've seen senior folk drift back to Canada - as you age your own health care, as well as that of your family, makes the USA less attractive overall.

Hell, many of my most talented peers from school in Canada are now State-side - the brain drain is real, and it is indeed massive.
tldr; OP likes SEO...and Star Wars
Even more surprising to see how strong Windows Mobile still is. Should Steve Balmer have been so negative about where Windows Mobile is now? I see substantial erosion coming over the next 6 months with the new iPhone and constant onslaught of Android devices but I still think it's early to say MS is out of the mobile market.
Bing is added to search engines list. Better alternative then Yahoo.
I'm not planning on entering the contest, but for curiosity's sake i'm curious what algorithms might be core to implementing Sokoban? +/-'s Just for my knowledge, I'm also curious how all these puzzle apps get their levels designed. Is someone hand designing them? Are they procedurally generated and if so how can you prove that their is a solution/it's a fun puzzle?
Archipelago | Engineering, Product, Marketing, Sales | San Francisco or REMOTE (US only) | Fulltime

We recently announced our $34M Series B — you can read more about us at Forbes[1]

Archipelago is a Silicon Valley start-up working to change how risk is insured. Our platform enables large real estate owners, brokers & insurance carriers to efficiently manage their risks, and underwrite them, through a mix of machine learning and human intelligence. Our founders are tech & finance entrepreneurs with several IPOs and acquisitions under their belts. We are headquartered in San Francisco, have raised several rounds of VC funding, and currently employ around a hundred people across the US & Europe.

https://archipelago.breezy.hr

Here are some of the roles we are hiring for right now:

- Lead Front-end Engineer https://archipelago.breezy.hr/p/cf82a86231bd01-lead-front-en...

- Senior Architect https://archipelago.breezy.hr/p/a9702f7e7d9201-senior-archit...

- Director, Information Security https://archipelago.breezy.hr/p/4061462d21d801-director-of-i...

- Backend Developer (with Go experience) using GraphQL, Postgres, AWS, Docker, etc. https://archipelago.breezy.hr/p/1c9a5bdae3f001-backend-devel...

- DevOps engineer https://archipelago.breezy.hr/p/c4fabae4cf4b01-devops-infras...

- Machine Learning Engineer https://archipelago.breezy.hr/p/88e3a2974a0201-machine-learn...

- Head Product Evangelist https://archipelago.breezy.hr/p/919523d2691901-head-product-...

- Senior Product Designer https://archipelago.breezy.hr/p/5daa32f7053501-senior-produc...

- Visual Designer https://archipelago.breezy.hr/p/5afe534cfa0f01-visual-design...

[1]: https://www.forbes.com/sites/rebeccaszkutak/2021/04/20/archi...
I don't know a lot about it but I do remember reading that if you are using bash to process CGI or bash is spawned by a process that is handling CGI then the env is augmented with variables containing the contents of the http headers sent back by the client - thus giving an attacker a way to add to the environemnt.

Again, I'm a bit sketchy on the details. We mitigated this on one server we have where it might have been an issue by simply disabling bash and sym linking sh to pdksh.

And, yeah, the article does seem a bit schizophrenic...
I wonder how they cleared all those copyrighted posts.
Cool, missed that NGEN was there from the start. Was mostly following Mono at the time, were the AOT option came quite later.
> but we've had a space station up there for years and what has come out of that?

Nothing at all...

http://en.wikipedia.org/wiki/Scientific_research_on_the_Inte...

ISS scientific value coverage in media sucks, I'll grant you that.
neo-libreral means pro free trade

neo-conservate means pro war especially against non-democratic regimes they don't like seeking to remake them into democracies.
I can attest to that. I am not American and I believe that one of the bright spots in America is the entrepreneurial spirit of its people in general.

People in America love taking risk and pushing the envelope experimenting with new stuff and technologies and that's one of the major strengths of this nation but I wouldn't go too far to express something like this far better than anyone else in the world. That's just absurd patriotism and there's no doubt about it.
> (a large part of America was colonized by the French, after all!)

I mean, perhaps indirectly, but it's not like new orleans or quebec are either tech hubs or paragons of french culture.
I went through a Lisp phase exactly like that. Currently I'm going through an extremely similar Haskell phase. I've learnt half a dozen languages before these two, but I've never experienced the satisfaction and obsession I've experienced with these two. My Lisp phase went on for the better part of a year, and I've been learning all the Haskell I can for 11 months now, but my obsession is still in full force. Haskell also turned me towards maths, and now I'm reading a book about category theory and a book about type theory.
What data storage options are supported, if not SQLite?
The Internet exists because of massive and very long-term spending on scientific research. This was a massively successful public works program, which led to a colossal boom in entrepreneurship.

Likewise, I'm no fan of the Department of Defense in this country (the US), but the research they're currently funding in robotics has similar potential.

"Americans embrace risk," as you say, partly because our government creates incredible opportunities through public research which can easily be transformed into private profit. Also, the article repeatedly demonstrated that Americans embrace risk more when they have a social safety net.

You can't hand-wave away research with a generalization, especially not when the research you're hand-waving away has gone into great depth examining the detailed workings of the underlying truth which made your generalization possible in the first place.
I am European (Swedish), but I have a hard time wrapping my head around the notion that the welfare state would produce more innovation/entrepreneurs. We have a large public discussion here in Sweden that we need to create more new companies and we definitely have a welfare state.

I would argue that a welfare state COULD be helping entrepreneurs, but that depends where all the taxation for the welfare state comes from. In Sweden it is very expensive to hire people for example, and it is also very hard to fire people (besides the point, taxation-wise, but still), The companies that hire people pay a large part of the welfare state. This makes it very hard to grow a company since it is so very expensive to hire.
We absolutely want to add this. It’s tracked here: https://github.com/realm/realm-dotnet/issues/509
If you're implementing it on python, check `dis.dis()`

If builtin, then you'll need to check the code for cpython or whatever you're using.
I think this is what WASM is meant to achieve. It allows for much more precise semantics without needing to parse an AST.
1TB? Isn't it more like 12-64GB?
Pretty much everything clickable gets tagged. Buttons, text inputs, links, etc. If what you want to click on has a word in it, you can press '/' and type the word then hit enter to click it so that would probably be what I would do if there was ever a missing tag. That's also how you can highlight text. This is for vimium at least.
You can still parameterizethe API calls if you want to attribute user activity to a specific flow, and that way you wouldn’t be “feeding the beast” that is GA.
i like the idea in general, but the title is misleading. to have 1000 fans buy everything you put out, paperback and hardcover, you need somewhere between 10k-50k fans total, a small percentage of whom will be the die hards written about in the article
good point regarding liabilities
I think LinkedIn is kinda ... tainted so mass spam is just considered par for the course on there, sadly. Nobody thinks twice about spamming on there.

I log on there and it's all spam-ish content. And really all I want to know is what people I worked with are doing now / how they're doing....
I would assume that someone like Lafayette could be on a stamp.

I'd expect the qualification would be, basically, would you expect to find this person in a book of US History (and not merely as a member of a foreign power, like, say, Churchill)? I think that this is probably a reasonable "you know it when you see it" situation, but I'm sure you could find edge-cases if that was your goal.

I doubt Marie Curie would say that she had anything to do with American history.
You should read "The Hungry Brain" [0]. It's by a neuroscientist, who explains the deep ways that the appetite mechanism is wired into just about every area of our brain, making "willpower" very hard to sustain. As just one example, prisoners placed on a forced starvation diet became obsessed with cooking implements. It also provides strong evidence that physiological mechanisms (not conscious choices) are behind appetite differences and fat mass variations in the population.

[0] https://www.amazon.com/Hungry-Brain-Outsmarting-Instincts-Ov...
> I wonder if the javascript version is faster because it's less safe or because the JIT compiler identifies properly that unicode-awareness is useless and specializes the code.

Most JS VMs have several different string types internally. Looking at V8's source code (https://github.com/v8/v8/blob/master/src/builtins/builtins-s...), it looks like there's a very happy ASCII fast path that makes toLowerCase really fast on ASCII. Actually, it even looks as if it's processing the characters 8 bytes at a time (https://github.com/v8/v8/blob/master/src/strings/string-case...).
There is a difference between you checking off a box that says “send my info to Maytag” and BestBut just doing it and then when you find out about it Maytag saying “you weren’t supposed to find out”.
It was my conclusion as well. I only found async useful in situations when a service has to deal with a large number of incoming requests, e.g. web server
Looks like i’m switching to Debian this weekend, what a stupid company lol
>Why should be allow stuff just something “it breaks”?

what??
Sure, but that's all you'll ever do with the blocking case: 1 syscall at a time, while your program sits and does nothing with the CPU, whereas with io_uring at least you can do CPU while you wait on your IO. So even ignoring the IORING_SQPOLL option that requires no io_uring_enter() syscall, a basic usage of io_uring is still going to be faster.

io_uring is a bicycle for IO, and you can ride it as fast as you want to. But it's apples and oranges to blocking IO, which is always stuck in first gear.