jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
I wish the process were the other way around. Tell me how much I owe, and let me choose exactly where it's allocated ... old-school Wheel of Fortune style. If all the good-stuff is paid for by the time you go to pay your tax bill, you can just dump it into the pot to cover the rest of things.

I know this will never happen ... not in any granular way, and that it creates all sorts of other problems ... but it might restore the link between what we pay and what it pays for, and at the same time provide a very visible prioritized list of where the public feels their tax dollars should be spent.
I guess it depends what you mean by that.

If you have a program in "mostly C", you can start using RAII
to manage your ressources. Then use std::unique_ptr, std::shared_ptr, and references instead of raw pointers. And namespaces. That already brings you to a very nice place without shifting completely to modern C++.

You don't have to use all the features of C++ if you don't need them.
The thing is, if you include something like that (i.e. sentiment analysis as crude, rudimentary way of looking at people's emotions), the genie is out of the bottle - it's a widespread task that's used as a relatively simple homework excercise in undergrad courses, you would need to censor it out of textbooks worldwide, which is a quite big issue to say at least.

I.e. my point is that such a ban would have to be very extensive and invasive, with obvious censorship of small, simple segments of code and whole avenues of basic knowledge. Given some data, you can get a crude emotion detector from facial images or text messages - not state of art but somewhat accurate - with something like ten lines of code, with no previous skill on "emotion analysis", just applying generic ML approaches. I can't imagine how such a ban could be implemented, as so many people would still be able to easily make such systems whenever they wanted to, so the ban wouldn't be effective.

Perhaps you could regulate the application of automated decision making to decisions about people and requiring some review-and-override mechanisms (GDPR has some limited aspects of that), but it's a very different area than just banning knowledge and skills that already exist and are relatively widespread.
Best article title ever!
This is great, does anyone know of a js version? I'm currently using http://nominatim.openstreetmap.org/reverse in my Node app but I'd rather not rely on a 3rd party, especially under heavy load.
I have found interesting and enlightening articles on Quora but most of them are garbage, the analogy is weird compared to stack overflow. I don't know what went wrong with this site.
The real question is, why is the Saudi Arabia sovereign wealth fund such a huge source of dumb money? They propped up WeWork. They propped up Uber. To some end, or just through sheer dumbness?

None of this could happen without a huge source of dumb money.
How about beating a whole C system with BrainCrap!
Due to the huge PR fuckup that was the Mir announcement, they never gained much traction in the greater community. And a display stack needs a lot of community support across the whole ecosystem: kernel support, kernel drivers, user space drivers, widget libraries, applications etc... none of these parties were willing to support Mir in any way.
It's be interesting to hear how this compares to Magit.
Half of FAANG runs on Java.

This is interesting and indeed not what I expected. Care to elaborate? I’m curious which components end up being built in Java.
Isn't Google basically a primary threat actor for any society/collective trying to maintain equality through symmetry of information?
You mention gatekeepers going away, but aren't the barriers to doing information warfare held by the same gatekeepers (the monied and the state)?
I'm saying neither. I'm saying that it's an indication of our society's true attitudes towards education.
Are you referring to the Alaska Permanent Fund?

http://en.wikipedia.org/wiki/Alaska_Permanent_Fund#Annual_in...

If so, it's not a $2,000 stipend and it's only been $2,000 once since it's inception.

Or is there another stipend you're referring to?
Spotify still works through AirPlay though.
We don't apply any artificial limit on the number of connections, or the number of ops/s.

We scale on storage / memory, we try to keep the storage and memory scaling to a defined ratio for optimal performance
Microclimates:

"Anchorage climate similar to northern Midwest
Now let’s talk about the winters. The truth is, they aren’t as bad as myth would have it. Anchorage actually has a warmer climate than other cold-weather cities like Chicago or Minneapolis because it’s on the ocean. Southeast Alaska stays relatively warm for the same reason. The Interior, however, does get very cold. Without the regulating influence of the ocean, temperatures in interior locations like Fairbanks can drop to minus-30 for weeks at a time (though it’s a dry cold, which doesn’t feel as cold as it sounds). Just remember that temperature is microclimate in Alaska. No matter where you are, a one- or two-hour drive in any direction can result in a 30-degree temperature change."

"Abundant snow creates winter wonderland
Likewise, there’s a large variation in snowfall across the state. An average of 79 inches of snow falls on Anchorage every year (the same amount as Burlington, Vermont). But Talkeetna, only two hours north, gets considerably more snow due to the higher elevation, and Alyeska — just an hour from Anchorage — receives an average of 178 inches annually!"

http://www.alaska.net/weather.html
> How he describes his intent is irrelevant. The fact is that the law was passed through the House, Senate, and Presidents signature

Using corrupt manipulation scheme and pressure by international trade agreements like described above. When democracy doesn't work, the fact that it's called democracy on paper is pretty meaningless.

> It might be undemocratic and/or corrupt, but if so the undemocratic/corrupt mechanism by which Section 1201 was passed is the normal US legislative process.

Yes, it is undemocratic and corrupt and it was passed through the legislative process, but as I said there was nothing normal about it. That process is not supposed to be manipulated by such treaties in such corrupt fashion, yet it is.

Unless you simply mean that such level of corruption is generally a norm and this participial incident should be a default expectation of how Congress would function. It doesn't fit with what Lehman said that initially his attempts to pass these laws were rejected. I.e. he didn't manage to manipulate the Congress directly, and had to pull the weight of international agreement to change that.

> It does in practice

No it doesn't. Otherwise such stuff as fast track proposals to relinquish Congress oversight won't be even considered.
Serious question: why don't sneaker manufacturers move to an auction model, and simply capture the extra margin for themselves?

Some arguments I've heard are "fairness" (as if regular people happily drop $500 on sneakers) and the marketing optics of some sneaker brand being hot because there are queues outside stores before a drop.
I don't know about other applied fields but I was referring to the field of math itself with that remark.
https://news.ycombinator.com/item?id=7772557
Also searching with grep is a lot faster than searching with '/' in less when the file is really large.
Actually, I'd probably go the other way on that: loop unrolling is much less useful than it used to be. As long as your loops are predictable I'd suggest not worrying about them. Correctly predicted branches are very close to free, and fitting the entire loop in the decoded µop cache is more important. There are still cases where it helps, but there are also cases where where the instruction mix works out so that there is zero overhead. Not just low, but zero. So until you've measured, keep your loops short and simple.

Instead, I'd suggest that if you want to write really high performance code, you need to be thinking in assembly regardless of the language you are writing the actual code in. Look at the code that's actually executing, either by disassembling the compiled object or profiling with something like 'perf' on Linux.[1] Then, you need to be aware of how the processor handles that assembly, in terms of latencies and execution ports. Agner Fog's manuals in combination with those from Intel and AMD are incredibly valuable.
I am an "average" ML researcher and an enthusiast, have worked on quite a few small/large works myself. Every time I see the kind of engineering complexity involved in stuff like deep learning - I wonder, how evolution could ever lead to general intelligence like human-intelligence OR if learning is a logical process at all
Is it active for all languages ?
Does not seem to work at all with italian
You need a good understanding of computers to become a decent programmer. If you feel you have that and you're interested in the topic, age won't matter. I also didn't take a proper class until 24, but did lots of IT stuff before that. Learning to program was like unlocking a castle of mystery for me. So go ahead!
In china, there's lots of similar thing, e.g. your android phone download a app from some site, the ISP(or others in your network path) can detect this(maybe by url) and return a modified version(e.g. add it's own ad or maybe complete a competitor's product of the original app).
Netresec should be able to gradually increase the TTL of their packets going to Baidu to see which hop or link is doing the hijack.

They mention someone did this earlier with the iCloud hijack by using mtr and tcptraceroute, but it looks like these tools won't work as-is this time because the Github man-on-the-side attack waits for the HTTP GET request. It's probably stateless and if so could be triggered by a lone ACK with a proper HTTP GET inside. As long as they're not behind a stateful firewall, replaying their ACK at various TTLs to find the smallest TTL that triggers the hijack would probably do the trick.

If the hijackers are clever they could make it look like the compromised hop is further away than it actually is, but not closer. Even so, this could be useful information and I'd love to see the result if anyone tries it.

Edit: changed trace method so that it'd actually work.
It was amazing what the drivers did with these Group B monsters in the mid 80s, considering how different of a sport rallying was back then. The cars were at best several hundreds of horsepowers more powerful than current wrc cars, with much inferior handling. Most cars, if any, didn't even have power steering back then.

Also the races were much longer taking place over about 5 days compared to the 3 day events nowadays. One event had about 40-50 special stages back then when now there are about 15-25 and most of those are just the same stages repeated. In addition they used to drive both day and night while while getting only a few hours of sleep per night. I'm sure current rally races are still pretty grueling events, but those drivers in the 80s must have been superhuman.

I'm still glad that things have changed. If they hadn't cancelled Group B the fatality count would have just increased. The cars were getting totally out of hand. Some rumors say that some prototype cars already built for the 87 season had close to 1000 horsepowers.
Wow. It sounds like your mind could use some unlocking.
"And let's talk about Sony's use of the word illegal. It is illegal, criminally so, to break into someone else's servers. But when the same word is used to refer to streaming a song from a non RIAA approved website, or to gasp playing a homebrew game on your PS3, respect for the word and those who say it is lost."

Who is this kid? He's like 20 years old and he talks like this? Geohot, you have my respect thats for sure.
I think what 'teyc' meant was that Android is the only platform that offers free turn by turn navigation among the major platforms.

Nokia has provided this recently with their version of Ovi Maps as well (not sure if it's free on all S60 devices). So it is possible that the Ovi Maps & Bing Maps integration may include bringing the free turn by turn navigation to Windows Phone 7.
I'm sorry. You're asking me to... enumerate every single problem in software engineering? I don't see the point. How about we take one of the most impressive, extreme cases of software ingenuity: launching the Space Shuttle.

http://www.fastcompany.com/magazine/06/writestuff.html

"But how much work the software does is not what makes it remarkable. What makes it remarkable is how well the software works. This software never crashes. It never needs to be re-booted. This software is bug-free. It is perfect, as perfect as human beings have achieved. Consider these stats : the last three versions of the program -- each 420,000 lines long-had just one error each. The last 11 versions of this software had a total of 17 errors."

Do you think that perfection, that stability, in the face of lives at risk for every mistake, is a suitable place to suggest that taking LSD could make them better? These are the best programmers in the world, by many standards. And they're not writing node.js servers and map-reduce queries, they're using billions of dollars of hardware to achieve manned space flight. And they don't take LSD.

"It's strictly an 8-to-5 kind of place -- there are late nights, but they're the exception. The programmers are intense, but low-key. Many of them have put in years of work either for IBM (which owned the shuttle group until 1994), or directly on the shuttle software. They're adults, with spouses and kids and lives beyond their remarkable software program.

That's the culture: the on-board shuttle group produces grown-up software, and the way they do it is by being grown-ups. It may not be sexy, it may not be a coding ego-trip -- but it is the future of software. When you're ready to take the next step -- when you have to write perfect software instead of software that's just good enough -- then it's time to grow up."
It can't be justified, that is all. I don't know that there are problems that can only be solved only by taking LSD, but neither can I categorically say that there aren't any at all, as you just did.

How do you know? That is what I asked, and you haven't answered me. You're making assertions about the best programmers in the world that you can't possibly back up. How do you know that some of them don't take LSD?
It's much easier to sell mediocrity in B2B. There's no need to have truly great products, a truly great salesforce is good enough.

So yes, that whole thing about consumers is ill-advised. Especially when there's someone out there that's already figured out how to build truly great products.
I added a footnote to this article, because I think some people have become misguided by the purpose of the article.

I'll include it for reference:

Important note: In an earlier version, I made reference to a venture firm, and I think some people were under the impression that the venture firm was at fault. On the contrary, the venture firm I was at in this startup was extremely helpful, hospitable, and encouraging, as were all investors involved in the project. I didn’t create this article as a way to point fingers at anyone, and if you take anything away from this, please just see it as helpful advice given freely.
Why is it not ethical? I would just sign it knowing that the law has you covered in case they (attempt to) take legal action against you in the future.

These companies don't care if some of their contract is enforceable -- they want you to believe it is. They almost certainly know the law and know that it isn't enforceable, but it's still there for a reason.
It’s not too far off. Here’s how I’d look at it:

$180k base salary is appropriate but most of those people are expecting stock options as well (compare to Levels) so the fully loaded price* is closer to 300-500k/year x 3 people, so $1-1.5mm

We’ve already done most of the conceptual and architectural work for Postgres, MySQL, and mongo (and redis but not highly available). Much of that was inspired by the Manatee project at Joyent. So (though I haven’t looked at this I a while and the DBs may have changed in a way that becomes more challenging) this is probably a case of put money in, get value out.

However I can assure you you aren’t going to get even 600k out of the community.

We worked really hard to get the first 120k and twisted a lot of wrists to get there. (Of course if you know someone who wants to write 600k checks for open source stuff please have them call me)

The 1-1.5mm number is about what a standard YC company gets at demo day. So that’s the path I’d recommend. Add in another 500k for overhead and biz dev people and that’s a pretty solid startup. Honestly if we had just focused on that we would probably have got a series A.

One of the great things about open source is that you create 100x+ the amount of value that you capture. The dark side is that no one wants to contribute cash as users to make that happen (I’m thinking more of companies than individuals - lots of individuals will give a few dollars)

So, unfortunately, and as always, it’s easier to raise VC than sponsorships for open source.

That being said I strongly encourage anyone who’s interested to pick up where we left off. Either as a community project or a funded startup this would be a huge benefit to the ecosystem.

* of course you can find people who are cheaper and passionate about the project to do it for less, maybe much less. But if someone called me and said for what price can you guarantee this could be done, I’d say 1-1.5mm USD.
My point was that the government effectively subsidized gas station construction in order to get sufficiently uniform coverage.

Until you get the government subsidizing charging station construction you're not at the same point. 2020 electric coverage is probably more akin to 1955 gas station coverage.

And, one point that everybody is leaving out is that non-home electric charging cost is hideous in most places. Even when you get coverage, the networks want to charge you stupidly more than the going rate for electricity.
Ah, I did indeed. Wacky.
If you don't have equal outcomes that is prima facie evidence of structural racism (or some other ism). It's like solving an integral and setting C at whatever value makes the equation work for your preferred solution value.
Yeah, I'm not saying I personally want that either. I prefer dumb appliances with less to go wrong, but the industry seems to be going that way?
i didn't realize that MudOS didn't have runtime compilation. i thought all LPmuds had that. it was the feature that i miss the most from newer programming languages, and it's a reason why i still prefer pike (which is based on LPC) and old languages like smalltalk and lisp which also offer that.
You are just going to end up blocking Amazon ips that will soon be used by a different customer.
Have you tried Windows Phone 8? I was rather sceptical but it kinda blew me away, and now I wouldn't mind at all if it became sortof big. It deserves it.
Not at all. The point is not how amazing such a universe simulator must be, the point is that a universe simulator isn't amazing. The point of the Church-Turing thesis is that everything that ever was, is or will be; every supernova, every human mind, every intergalactic alien empire, every technology that ever can be, is no more complex than ENIAC (given sufficient memory).
I often use english words in Japanese messages I write, and writing roman characters in the Japanese interface is a miserable experience. I'm toggling back and forth pretty often.
This is the approach also taken by DStep for D.

https://github.com/jacob-carlborg/dstep
Maybe you're not a UNIX die-hard. :)
Interesting, because afaik Windows for instance, refuses to load if it's not run on the same hardware configuration it was installed on. Something to do with licensing keys and DRM and such.

I suppose they image it, use the password on the actual machine, and if something goes wrong or self-destructs, they'll always have the image (it just takes a little more time to convince Windows to load).
That's the sad part of this story, I'm pessimistic enough to predict that in the future only bootleg android vendors will offer what I'm looking for, it sucks to be in a niche that manufacturers don't care about anymore...
If a company has enough resources (financial and know-how) to pull out the hammer when needed, it's probably Intel. They have the best people, the best manufacturing, the most experience etc. Just look how they evolved shitty Atom processors in something competitive (bail trail). Intel has a long breath. And once they made arm processors too.
They didn't "establish nullification" - nullification is simply the logical outcome that the jury's decision is final, and can't be questioned.

The reason judges don't want this fact brought up by counsel during court is because it would render the legal system meaningless... in general I think we'd all LIKE the jury focused on the law and the evidence, not their gut feelings.

This always comes up in discussions when we feel the law is unjust and the accused isn't getting a fair trial - but please consider, if counsel were allowed to bring this up in court and instruct the jury that, you know, regardless of what you have heard here, you can vote however you feel like it and, you know, nobody is allowed to give you shit over it afterwards.... that street runs both ways. You'd have people who DO deserve punishment getting off scott free.
I think the problem is that literally everything seems to have a political leaning these days.
Really? Can you point to a single example of a useful profanity filter?
I don't have any data to back this up but my overall feeling/ideology is that we can't have groups larger than some number. I like Dunbar's number [1] as a rough guess but am more than happy to raise it to something like 100k if one were able to be convincing. But I do not see any path forward where we can get buy-in from 300 million people let alone 7 billion.

If we were to have a Tribe of 7 billion people, we would need to come up with "facts" that can be agreed upon by 7 billion people. We cannot get 7 billion people to agree that the earth is not flat. I don't have any hopes that we can get 7 billion people to agree on human rights or other things that can be described as "us vs them".

This may be my anarchist/extreme leftist ideologies that I personally hold bleeding into what I think is possible/should be done. I have a very hard time separating those feelings from "facts" and I think that makes this point even more clear!

[1] https://en.wikipedia.org/wiki/Dunbar%27s_number
Interesting information but I'm not sure about the accuracy of their chart depicting the leading edge node manufacturers. Until the last few years, Intel was ahead of TSMC and Samsung (Intel's 14nm process was equivalent to TSMC's 10-7nm from my understanding). So if Intel is excluded from the current leading edge manufacturers, shouldn't others be removed from the graph for the early 2010's?
I think you're correct in thinking the situation is complicated, and wrong in thinking the author disagrees! Each situation is subtly different, and some seem more wrong than others. Regardless, a security guard recommending cameras is different from a rock precisely because they suggested that!
I think history has shown it is far more profitable to amplify fringe theories and capitalise on everyone’s fears that we are being deliberately mislead by corrupt authorities claiming false expertise.
'&pattern' filtering is huge for me.

Display only lines which match the pattern; lines which do not match the pattern are not displayed. If pattern is empty (if you type & immediately followed by ENTER), any filtering is turned off, and all lines are displayed. While filtering is in effect, an ampersand is displayed at the beginning of the prompt, as a reminder that some lines in the file may be hidden.