jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
It should be pointed out, because I fear people are missing this point, that while the instantiation of his point is language-specific, the general point holds regardless. In Haskell, to take the opposite extreme, "foldl (+) (map dieSum dies) 0" would be idiomatic (or would be if the sum function wasn't built in to Prelude as well but I feel that's cheating too much), whereas the closest equivalent to the loop approach in C++ would be grotesque and unidiomatic. How grotesque would be up to the user; you could go all the way to having the die values in an array and iterating an index through them if you like, but it'll make the C++ version of that look pretty sane.

The exact algorithms aren't the point. It's really something more like "stay idiomatic in the language you are in and keep it simple". Another example is when people start going nuts with lambda in Python; you're really not supposed to do that and there is almost always a better way that doesn't involve lambdas.
If I were in this situation in my area, I would have to go get it enabled, no broadband options here.
This is the first time in the last few years that I have been WOWed by new technology.

Huge congrats, this really is magic to me. If you asked me yesterday I'd have told you it's impossible to do.
It wouldn't surprise me....I'm not really a fan of apple, and I have bought 2 iphones, 2 ipod touches (lost the 1st one), and an iPad in the last year. As soon as the ipad with facetime comes out, I'm buying two.
Here's the dilemma in a slightly different context.

I -love- the game Master of Orion II. Every few months I dust it off and spend an entire weekend on it. Because I control the software, I can continue to enjoy it 13 years after the developer folded.

I built a Facebook game a few years back. The company that owns it decided to shut it down. I get messages -every day- from people who are dying to play again. But there's nothing they can do, they don't control the software.
I really enjoyed this. I came into it thinking, "Ah its not that hard." And left feeling good about how easy it is to start a tech company.
As one of the people that follows your posts (hey, you're a smart guy), thank you.
> I hope we are not going to get a rash of inarticulate
> HN submissions for every minor patch to openbsd which
> may have security implications.

I do. Submissions are cheap and skippable. Plus, now I get to look at all these small bugs and not make the same mistakes in my own code, which is both a huge win in my book and something that one can't learn from a textbook.
He seems to be lying low right now. I'm not sure that's a bad idea. The crisis is young. Anything a politician says at this stage is likely to be proved wrong or at least not entirely right. Biden might not want to utter prescriptions that may be used against him later on.
I'm pretty sure Doxygen does that (http://doxygen.nl).I used to use it all the time, but I use Jazzy, these days, and Jazzy does not do it.
Does anyone know if it is possible to volunteer for the Army Corps of Engineers?
My impression is that a new lethal virus is pretty much isomorphic to a macroscopic life form that becomes an invasive species. There's a period of time before it reaches a new equilibrium. But that adaptation always happens.

So, specifically in answer to your question, it seems obvious to me that "lethal characteristics" are context dependent, so they come from random chance when an organism (or virus) encounters a new environment that it can replicate in way easier.
I’ve had this surgery done on my right leg 4 times. 3 times on my fibula, at 4, 11, and 17 years old, and once at 26 years old on my femur.

The first two had me using the external lengthening frame, which makes for a gruesome looking leg with thin long screws drilled through your bone and poking out to connect to two metal rings whose spacing controlled the lengthening. It’s about as painful as you’d imagine it is to wake up after surgery with a half dozen screws through now your two pieces of fibula. I remember being scared of hitting the frame on things because of how painful it was.

At 17 I was able to take advantage of an internal lengthening rod, so no frame needed. It’s much nicer than a frame and I would say that is what all the article’s patients use. Remarkable medical tech.

By the time my last one was near I’d forgotten how bad the experience was. I took only 2 weeks off work. I was stupidly overconfident. I spent 1 week in hospital really drugged up and in heaps of pain, with a freshly broken femur, and then got home and had a worse week. It was too painful to sleep for a couple of months and the lengthening itself was awful, as my quad muscles were being stretched in ways that a child’s muscles will handle but my adult muscles were hating. I’d spend over an hour a day stretching my leg that originally could only bend 50 degrees, and more than once the pain brought me to tears.

Once I could get to a physiotherapist she was shocked at how cut up and bruised the surgery had made me. Over half the surface area of my right buttock, hip, and upper leg was purple, with 6 new scars. By that point, a month in, I had come to reckon with how brutal this surgery is, and that I had months and months of recovery left. I was not a happy person. Pretty angry, to be honest.

I couldn’t walk unaided by crutches for over 6 months, and I’d been aching to be able to walk since about day 14 of my recovery.

My right femur is now 4cm longer. People doing this surgery for cosmetic reasons do both legs and much more than 4cm at a time, sometimes 12cm.
12cm in one go must be agony for adult muscles, and it would take a over a year and half to get walking again. Having just experienced 4cm on one leg, it’s incredible that we let people do this to themselves so that they can be more attractive.
Also systemd is very dependent on many other libraries (optional or mandatory). Adding json as an internal implementation instead of using an outer dependency is not justifiable with "dependency control reasons".

From the readme:
glibc >= 2.14
libcap
libmount >= 2.20 (from util-linux)
libseccomp >= 1.0.0 (optional)
libblkid >= 2.24 (from util-linux) (optional)
libkmod >= 15 (optional)
PAM >= 1.1.2 (optional)
libcryptsetup (optional)
libaudit (optional)
libacl (optional)
libselinux (optional)
liblzma (optional)
liblz4 >= 119 (optional)
libgcrypt (optional)
libqrencode (optional)
libmicrohttpd (optional)
libpython (optional)
libidn (optional)
gobject-introspection > 1.40.0 (optional)
elfutils >= 158 (optional)
make, gcc, and similar tools
During runtime, you need the following additional
dependencies:

util-linux >= v2.25 required
dbus >= 1.4.0 (strictly speaking optional, but recommended)
dracut (optional)
PolicyKit (optional)

When building from git, you need the following additional
dependencies:

docbook-xsl
xsltproc
automake
autoconf
libtool
intltool
gperf
gtkdocize (optional)
python (optional)
python-lxml (optional, but required to build the indices)
sphinx (optional)
Haskell doesn't ban imperative programming, it simply distinguishes it in the types.
Signing another "CA=TRUE" cert seems like it should be a very restricted and audited operation, right? Is it out of the question to say that all such certs should be cleared by 3rd parties (like Mozilla and MS), on pain of revocation? Or is there a large use case outside of CA infrastructure I'm unaware of?

Google's response here seems a bit weak.
Anxiety disorder pervading society. Habituation to an unimaginably high safety standard in modern society.
Editing of videos
This sort of thing makes me happy it exists somewhere, and also sad at how quickly you'd be pulled over, charged, and have your car crushed into a cube under "hoon" laws here in the police state known as 'straya.
Do we want Twitter (or Facebook, or whatever) to "carry any authority"?

Nobody in US politics has benefited more from Twitter and Facebook than Trump himself. Anything that makes us stop relying on those as sources of fact or reasoned political discussion sounds like it has a high chance of being a good thing to me.
Not if it is accompanied with a simultaneous desire offer the populace the tools to become more savvy at understanding the world around them with an education in history, politics, economics, ethics, science, etc.
True, they are not ubiquitous, but I have seen some on the highway.

They are usually very loud so you hear them before your see them.
I still think they were really intended to be overflow morgues rather than proper hospitals, or at least solely palliative.

You can't build a hospital like that in a week, and there are no staff.
> It's scary that three tech companies can censor a president like this.

Somebody must to do the job, and republican party was clearly useless for that.

Not censoring him before has lead to this insanity, a woman killed today and thousands of really misguided people that will end in jail. Fortunately they were white and the police got confused whereas deciding between friend or foe; I don't think that the outcome would have been so restrained in case of a majority of black people trying to assault the capitol.
Is that really better or different than an open office and saying "Hey, Bob" across the room?
I think these are legitimate concerns users of Facebook should have. However, these are really, really complex problems Facebook is trying to deal with. They're not intentionally trying to fit subcultures into boxes, and their logic for understanding and appropriately handling the way their customers use their site is really complex. They're trying the best they can, and to encourage them to quit their jobs is really not the answer.
That seems like a bad idea, i want to post shortly after an event, not wait for a week
Loneliness? Source for that?
California doesn't import homeless people, it creates them through its special sauce of a white-hot economy and zero tolerance for housing construction.
Why do you need this tortured explanation when the obvious explanation is so much more ... obvious? People migrate away from housing crises.
This module isn't actually usable, because every error produces a panic.

If a function or method is fallible, it should return `(..., error)`, not panic.
In essence, without knowing much more about your setup, you're just shifting responsibility somewhere else.

Whitelisting is the route most (no actual statistics to backup, but based on personal intuition) would take because the server can prevent a connection after making a authentication (online-mode=true) and authorization (white-list=true) check.

Mesh like VPN solutions used to be popular in the past with software like Hamachi but, at least in my experience, performance was dismal and required additional setup for potentially non-technically minded end users.
Princeton Simulation? Looks almost exactly like https://store.steampowered.com/app/1520/DEFCON/ to me.
I am not in California.
I'll pass on giving myself a Dissociative disorder. Why would I want to live as someone that isn't myself? This may be useful, but very situationally.
It would be helpful if you would point out how you feel that Lispy is 'reinventing a wheel badly'.

Also, if a fullblown lisp is what you want, then I wonder whether the correct alternative isn't 'embed a lisp interpreter'. If Lispy is not intended to be as powerful as a fullblown Lisp, then perhaps it just suffices?
Really? That'd be amazingly broken - consider any of the append-only log-structured filesystems currently in vogue on Linux, which are very likely to preserve multiple versions of any file being stored (right?). Not to mention normal backups.
I love these high-quality videos on different modern databases.

http://nosqltapes.com/
"Let's build a better Pinto."
Agree. If all the arrows could be presented in a way so that they at least wouldn't overlap, the sheet would be printable.
Hint: downloading client-side generated files is not possible without assistance from Flash.
Patrick's is 0.18%, amazing to see the range - especially considering the Bingo Card Creator funnel is pretty optimized.
Sounds like an online version of BNI (http://www.bni.com/). Would it work on a completely altruistic basis though? With BNI you at least get some real world networking at the meetings.
This is not a revolutionary idea. Economists have studied the productivity curves of businesses for decades. "Diminishing marginal returns" is part of most basic microeconomics courses. Here's the page where Mankiw describes it using the enthralling example of "Caroline's Cookie Factory":

http://books.google.com/books?id=oRgQ2goeFzwC&lpg=PP1...

Apparently, though, this "discovery" made a real impression on this NY Times writer. I don't like it when people take well-established ideas from another field, dress it up in new lingo and statistics ("corporate productivity, unlike urban productivity, was entirely sublinear") and try to market it as new research.

That was the impression I got from a lot the results claimed by this guy; I think he's wrong to pass off gross oversimplifications as scientific progress. I can see why he gets cited, and it's part of the mistake with correlating citations with influence: they were probably mostly negative mentions. To be honest this behavior is a little trollish. As we can see here, he gets his publicity for it.

Somebody said below "Title should be 'A Physicist Plays Economist'"--yes, indeed.
> Tell HN: It's your fucking life, do what the fuck makes you happy.

Yes. But also make it a point to listen to people who've been there (which is exactly how I see these "Tell HN" and the "X isn't worth it in the long run" posts). Doing what makes you happy might make you happy in the short term. It might not necessarily be the best choice in the long run.
The thing about doing a PhD in CS today is that from reading about all the famous people who did PhDs in the US in the 60s, 70s, and 80s, it seems they were much better off. ARPA/DARPA funding was plentiful, industrial research labs were at their peak, commercial firms seem to have been hungry for consulting. I forgot where I read it, but someone was writing about how their PhD advisor wanted his students to spend half their time consulting at commercial firms outside the university.

I don't have any first-hand knowledge of this, maybe it is just the opinion of the successful and/or lucky people who had a good time and wrote about it, I would love for people to confirm or deny this perception. But the contrast with people I know who are/were doing their PhDs today is night and day.

"Starving grad student" is an accurate stereotype. I really can't see myself spending 5 years earning barely $30k a year, busting my ass TAing undergrads, dealing with publishing deadlines and BS from the supervisor and university (you'd be surprised at the amount of people who end up with asshole supervisors!), practically begging for grants. I don't know any PhD candidates who regularly do consulting, or anyone who has a comfortable annual income. And the stress is crazy. I don't know why anyone would do this to themselves.

To add insult to injury, I know I'm making the same or more money than many people my age (or a year or two older, I'm 25) straight out of CS PhD programs.

If I want to hack on interesting R&D projects, I can do that as Free Software in my spare time (which I do). The contrast is I have actual users instead of papers to submit. If I had to write an interesting system for a dissertation, I'm practically guaranteed that no one will use it because everyone knows that software that comes out of academia is shit.

So, what's the point?
I know about Forrst. As for me - it contains too much redundant graphics. And it is strange that posts are closed for non registered users. This is totally unacceptable for me because if I submit a post - I want to share it with anyone.
No, you missed my point. No one is building "mobile payment platforms, video games, ecommerce solutions" in academia, either because those problems aren't interesting, or more likely because they will not get you grants. The point of a PhD is to work on fundamental problems in your field of study. This is something that is often ignored by people claiming to be studying computer science, which is why people constantly argue that it is not a science.
They're a linux-oriented benchmarking site. They're probably pretty strapped for cash on a good day, so they have to use an excess of ads to stay online. They're catering to a small market, so it seems like a fair tradeoff. Besides, their most annoying ads are the easiest to block on any reasonable browser.
Years ago copies required infrastructure to make them

The cost of duplication was never a large part of the equation. If you could get theaters to book the picture then the additional 35mm prints were paid for. You could open a film across 3000 screens for $5 million. Likewise duplication on DVD or Blu-ray disc is a tiny part of video distributors' outlay. It's the first print/disc master that costs money to produce. Duplication expenses are like 5% of the overhead, unless someone has horrendously miscalculated.

If you wan't to be moral just download the torrent, track down guys who actually created the art and send them some cash.

Protip: this never happens. Look at the credits of a movie, see that long list of names at the end; the vast majority of those people put in a fair amount of work to get the picture made. Nobody wants to write out 150 checks to different people who helped along the way, that's part of the producers' job. Even the shittiest no-budget straight-to-video film shot with a prosumer camera represents 2-3 man-years of work.
I would avoid consulting firms

I would not set that as a hard fast rule, if a firm can get you your rate, then by all means use them. I have a network of firms that use me and all pay my rate. They know not to even bother if it is not at my rate. The thing is too, they know my reputation as a top caliber guy in my area and they call me in when they have a discerning client that is looking for a solutions guy. Sure a lot of firms are looking for someone who will take 40hr and that they can charge 250hr for, but almost all of them keep a stable of ringers that they can call on when they need them. What they charge their client is of no relevance to me. I have my rate and if they pay it then I could care less. To discount these firms is to cut out a massive network of well connected people that can get you work with little to no effort on your part. You just have to be very clear that you rate is non-negotiable.
I am completely baffled that Intel did not do this. I guess they figured ATOM is just a crappy little side-project processor, not one of the big boys.
I used to work in QA and have been a proponent of unit testing generally, but I tend to agree to some extent. You can't see your blind spots, by definition, so you need really clever & devious testers to do the oddball test cases that you never think of. If you can find someone really good at ad hoc testing they can be quite efficient. Such people are hard to find.

But I also think that certain automated frameworks/tests make life easier for everyone, if they're managed well. At a minimum, they can serve as a sort of de facto specification in cases where the system lacks adequate documentation (which is the case more often than we might like.) And as others have mentioned, unit tests serve a dual role. Even if they're not great at finding new bugs, they have some value as regression tests.
A better idea might be more education on how radiation works and what kind of radiation is coming from the leak/crack/banana etc. At least in the US people are extremely ignorant of how radiation works and how it can make you sick.
I've started some elementary time management in the past and gotten some results, but I lacked the discipline to maintain it. How do you do it?
There's no need to cut down on bananas - simply wrap the banana in a thin layer of lead before ingesting. Seriously though, you could be hit by a bus tomorrow; eat the dang bananas.
Wow... Who knew that eating one banana a day for a year could give a false alarm on a radioactivity detector?
The things that you avoid most are the ones you must attack the hardest. Read the War of Art by Pressfield.
I have no problem with semi trucks, overloaded scrap haulers, genuine shitboxes that can't floor it without something slipping and whatnot merging at low speeds. Everyone else has no excuse.
Sometimes I get stuck trying to decide how to introduce myself or explain what I do. I feel like after being in business for 4 years and being profitable, startup isn't the right word. I've been resorting to something along the lines of "running online businesses" since "entrepreneur" seems to vague.
Individualists unite!
From http://oreilly.com/openbook/freedom/ch04.html :

To ease the transition, Stallman fell back on his strengths: math and science. Like most members of the Science Honors Program, Stallman breezed through the qualifying exam for Math 55, the legendary "boot camp" class for freshman mathematics "concentrators" at Harvard. Within the class, members of the Science Honors Program formed a durable unit. "We were the math mafia," says Chess with a laugh. "Harvard was nothing, at least compared with the SHP."

To earn the right to boast, however, Stallman, Chess, and the other SHP alumni had to get through Math 55. Promising four years worth of math in two semesters, the course favored only the truly devout. "It was an amazing class," says David Harbater, a former "math mafia" member and now a professor of mathematics at the University of Pennsylvania. "It's probably safe to say there has never been a class for beginning college students that was that intense and that advanced. The phrase I say to people just to get it across is that, among other things, by the second semester we were discussing the differential geometry of Banach manifolds. That's usually when their eyes bug out, because most people don't start talking about Banach manifolds until their second year of graduate school."

Starting with 75 students, the class quickly melted down to 20 by the end of the second semester. Of that 20, says Harbater, "only 10 really knew what they were doing." Of that 10, 8 would go on to become future mathematics professors, 1 would go on to teach physics.

"The other one," emphasizes Harbater, "was Richard Stallman."

No idea about Gates.
What are the chances he's just a troll? A simple google search would show many similar debates.

I'm pretty sure you could cause the same in a month or two, by asking "I know there are projects using different languages to create kernel modules - even crazy ones like haskell. Can I use C++ in the kernel?"
This leaves me with a burning curiosity.

Linus, if you could change the Linux kernel to another language, would you?

In a perfect world (i.e. migration concerns and such aside), if you were changing the Linux kernel to another language, what language would you choose? If you feel C is still the #1 choice, what would the #2 choice be?
No. It isn't about avoiding "modern" conveniences, it's about avoiding the specific baggage (a highly contextually-dependent grammar and operator overloading are two examples given) that C++ drags with it.

He ends with: "But C++? I really don't think the "good features" of it are very good at all. If you leave C behind, do it properly and get some real features that matter. GC, some concurrency support, dynamic code generation, whatever."
C++ is not just C with extra stuff. C++ programming and C progamming are different enterprises. The Linux kernel is full of all sorts of explicit "this block of memory is a struct txaz_fooblock and here's how we link them together" that C++ programmers simply don't write.

This is before you even get into things like the template-y standard C++ library.
Yeah... it also changes the destinations based on which timeframe you choose up top. I'm willing to bet that Kayak is for the most part simply caching the results that other people have recently searched for on the site and showing those when available.