skysight-inc/HackerNews huggingface dataset:
I have definitely noticed this in myself and others - after coming out of an intense “in the zone” coding session I’m definitely more cranky and impulsive.

While this is strictly anecdotal, I do believe there is a tight correlation with focus, social and emotional intelligence. In the sense that if I devote all of my “brainpower” to solving a task, I do reduce my ability to understand social queues and other “left brain” stuff.

But as I’ve taken some time to understand my fellow humans better - deliberately putting myself in social situations and reading some great books about it, I’ve noticed the amount of energy required to “process other people” in my brain reducing greatly. This kinda gave me the ability to be pleasant even after doing some coding.

I can think about it like encountering an embedded language inside my templates or something. Like maybe javascript inside html templates.

If I feel comfortable with that language, I don’t even skip a beat, whereas if its something I’m not exactly fluent in, it gets me cranky - who put this in here and ruined its purity kinda feeling.

So it gets better with time, but I had to put deliberate effort into it.
For cross-platform development you can learn ionic. TypeScript/Angular resembles Java and Spring a bit, UI is based on HTML and CSS, which you probably already know. I think it’s the easiest entry to both Android and iOS at once for Java developers and it works surprisingly well (we just released nice medical app on this platform).
My main advice will be here not technical one: invest your time in UX, build wireframe (or even paper) prototype of your app and test on 3-5 real users. Then test final design. There will be useful insights for sure, which may save you a lot of effort and you’ll get less one star ratings after launch.
Ask HN: Any fun books about working in tech / SV?
The original health warnings were not about fat, but about meat. That ran into the meat-packing lobby, and then everything after had to be couched in terms of fat.

There has never been evidence that fats were bad, as such, just meat as produced in the US, and sugar. But no one was allowed to say so.
Aid is a way to keep these people in servitude and dependent of the west, and it's actually killing their agriculture, that and the west subsidizing their own agriculture. Africa need foreign investment, not foreign aid.

> And we can be critical of what China is doing is now as well as critical of all of the colonial misadventures over the years.

No, you can't, it's hypocrisy. Whatever you think China is doing, European did 1000% worse by dehumanizing africans for profit.
That's why as much as I love Haskell as a language and a way of doing things, I will not choose it to implement anything in my place of work.
You can, it just might do some strange things when dealing with iconv.
Just don't whistleblow, might go to jail.
What definition of “science” is this?
It's one step deeper than that. It's not that everything is sports. If you watch sports coverage, the coverage is less and less about the actual sports and more and more about the underlying drama. Not even sports is sports anymore. Instead, both sports and politics are being transformed into a combination of sports and melodrama.

Which American institution lies squarely at the intersection of sports and melodrama? Professional wrestling. I'm not saying that politics (or even other sports) are turning into professional wrestling in the sense that the outcomes are completely rigged, but they are being covered and treated much like wrestling, even by the participants themselves. So it's no coincidence that the current President is a member of the WWE Hall of Fame.
#2, as it is funded by politicians.
I believe many claims made by audiophiles do have a point, and some are true. But in order to distinguish them, one needs to actually read from better sources to learn how electronics work in general, for example, an introductory book, primary sources like industiral standards from Audio Engineering Society, or the CD Red Book. The audiophile community and the industry is plagued by many cargo cult and voodoo practices, and it is supported by many vendors.
Replace "cpp or java" with "Python or Ruby" and how is it any different today?
Interestingly, one of the suggestions to deal with issues in panic backtraces due to this change is to use DWARF.
I think if multiple people are working on a code base which will not ship for years, then having those can be acceptable.

Obviously if “next release” is a deploy from master in 2 weeks then it isn’t.
I only learned of the flaws in the amyloid hypothesis a few weeks ago. The single most influential thing I read was this.

[0] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4207354/
Breaking into a Smart Home with a Laser (video - demo)
Healthcare should not be for profit full stop. Any other explanations in this thread justifying this are inhumane. We deserve better.
You never choose to hire dumb programmers. The choice is between 15 good cpp programmers and 4 good python programmers.
Ingenieurvergnügen
I guess you need to get a job like game programming to see hours like that on a regular (career) basis.
Yes, which drove suspicion of a bacterial link.

It could be quite complex -- bacteria helping herpes, or herpes helping bacteria into the brain, and the brain responding to one or the other or both with inflammation and plaques. And maybe something else involved, like inadequate or excess dietary intake of something like sugar, or trans fats, or PCBs, or glyphosate.

We need to explore many, many possibilities.
Yes, any new language needs to start somewhere, but it’s interesting to think we need new languages for existing domains and that they have any chance of success to begin with.

Consider that by many accounts JavaScript, Java, and Python basically dominate in terms of number of developers and mindshare. These languages all arrived 25-30 years ago. I know some rankings claim C/C++ are far more popular than JavaScript but I just haven’t seen evidence of that in recent years.

Other widely used languages include C, Objective-C, C++, C# and Ruby. The first three are older than the aforementioned languages, and Ruby is from the same era as Java/JavaScript, and C# isn’t far behind that.

In terms of newer languages, the only ones I can think of offhand that seem to have serious traction are Swift and to a lesser extent Go. Some people might throw Kotlin in there, but I’m not sure how much actual traction it’s getting. Rust has been gaining traction slowly for ~8+ years and I’m hopeful it has a bright future but I don’t see a lot of actual projects using it today.

The point is that it’s really hard to succeed if your primary reason to exist is to make existing practice slightly better. It’s very hard to displace any of the existing languages in the space of general purpose programming.

You need to have libraries. You need to have at least syntax coloring support for several editors. You need language server support for VS Code. You need to generate Dwarf. You probably need a repl or website that allows interactively playing around with the language to get people started. You need enough mindshare that teams can actually hire from a pool of candidates once they get a project underway. You need a compiler with good diagnostics, books, StackOverflow answers for the top N questions people will run into, bloggers who are enthusiastic, etc.

Someone posted this on HN recently and I think the speaker does a good job of breaking down the challenges and examining why some languages have found success while others (notably functional languages) have languished on the sidelines:

Why isn’t functional programming the norm?
https://www.youtube.com/watch?v=QyJZzq0v7Z4
Correct. Two very successful products.
How about monopolies?
Ironically, the student debt crisis would be eliminated if we made college free and eliminated said debt. Soak the rich 2020
The most trusted tool since Apple shitcanned Shake, that is.

It's too bad that Shake couldn't be open-sourced. Several big post facilities (ILM, Weta, and others) bought the source code and have probably done great things with it.
See also: You can see lots of old Nevada nuclear test sites on Google Earth. It's pretty wild. I found out about this atomic earthmoving history after stumbling across inexplicably huge concentric circle patterns on google Earth. Crazy. https://news.ycombinator.com/item?id=21909525
Here's a massively useful term, particularly in the case of watching the news:

Fremdschämen

See: https://www.leo.org for good discussion.
Related attack website with papers:

https://lightcommands.com

Wired article from Nov 2019:

https://www.wired.com/story/lasers-hack-amazon-echo-google-h...

HN article:

https://news.ycombinator.com/item?id=21446760
Check their jobs page:
"We use: Node, Express, React, Postgres, Heroku"

https://substack.breezy.hr/p/395577ab518c-full-stack-enginee...
Same in Dutch! Weemoed, ontwikkeling, eenzaam, stemming, verontschuldigen, oprechtheid, oorsprong.

Some are missing, or at least from my vocabulary. Glad I learned something new today!
Yeah I know I could define custom patterns and all that...but why? "Intellj supports it" means it makes my and the people on my teams lives easier. Instead of deciding on some arbitrary other thing we just use what the tool defaults to. Hardly a meaningless argument.
It would be helpful if the post explained what this is and means. What is "DApp browser?"
> Kurzgesagt

That's not actually a German word. It's two words: "kurz gesagt" which is literally "briefly said".
> The problem with shared_ptr is the fact that it uses atomics even in single-threaded code, which is obviously an overkill.

On the other hand imagine the security issues if shared_ptr was not thread-safe - you could just not reliably destroy a shared_ptr in any thread.

If you really know that you're going to get a graph of shared_ptr that do not move of a single thread, you can use boost::local_shared_ptr explicitely.
> As nice as it sounds

I’ll grant my (Austrian) mother that license, then!
Would agree that depending on the location McD feels like a “third place” for all people and not just the poor as described here. Like I was in Hong Kong and now Taipei and the McDs are all modern, most multi-floor, open late in busy shopping areas, and very social places, especially at night.

Contrast that with the one in FiDi in San Francisco which always feels dystopian to me walking in. It’s old, grimey, has a tiny seating area on the ground level with a dark musty basement area. Seems like most office workers avoid it like the plague and patrons are a weird mix of tourists and homeless people. It depresses me every time I walk in.
Great points, especially 1 - 3. For me it is also often not so much about optimizations, but rather additional use/edge cases that might need consideration, but I'm not sure yet because I haven't e.g. fully fleshed out an interface yet. Often times I will ultimately just delete the note (going back to your third point), but other times it might result in an additional test case, for example. Whenever I'm starting out on a new project (which might just be a new module in an existing code base) my mind tends to bombard me with these hypotheticals, so it is tremendously relaxing to just whip up a quick note and know that it will be dealt with by future me :).

To actually enforce this, for the past couple of years I've been using NOCOMMIT comments, together with a git hook that actually prevents me from committing those lines. I rely on this workflow so much now that I can't even imagine going back. I also get really nervous in pair-programming scenarios when someone will say "Yeah, I'll change/fix/adjust that later" - all I'm thinking is "but will you remember?!".
Secret proven internet marketing tools and strategies, to make a fulltime income
"Basic" might be another example.

edit: from Wikipedia's list of languages I found the following:

"Action!", "Basic", "BLISS", "Cool", "Hack", "Pure", "SMALL". Some of them are acronyms/retronyms. Special mentions: Smalltalk and High level shader language (HLSL).
Sorry, I should have clarified, this is the server side binary. I believe the part that's run on the user's computer is just a kind of dumb terminal.

The reason it's so big (or at least was several years ago) is that every single function is compiled into one binary monolith.
Switching from Chrome to Firefox
It's the same in Danish, and I'd imagine Norwegian too. And like Swedish, "Sinneswandel" is missing.

The Danish for "Ursprung" is »udspring«, which lit. means something more akin to 'out spring', but we do have the »ur-« prefix in Danish, meaning origin/source. So »urskov« would be the 'origin of forest', or jungle, i.e. it is the thing that it is the origin of all that.

In the same sense, you could - jokingly - making the word »urvittighed« meaning the 'original joke'. Compound nouns are extremely powerful.
What's the API do if you don't mind sharing?
Currying – Can't live if livin' is without you
Here's a google earth view showing the center of the circles mentioned here:
https://earth.google.com/web/@40.01244676,-119.000836,1390.6...

Here's another google earth view that shows nuclear test craters by the Nevada National Security Site
https://earth.google.com/web/@37.15150881,-116.08582114,1329...

Disturbing and fascinating. I guess I'll have to visit the nearby National Atomic Testing Museum someday.
https://earth.google.com/web/@36.1141364,-115.1483791,628.17...
Until the Rust runtime gets vulnerable and hilarity ensues. Well, not much. Everyone trusted rust blindly, shit happens x200 everywhere.
TCP with PCC, even? I don't know how BBR compares with PCC.

Previously https://news.ycombinator.com/item?id=8381480 (2014)
Why?

I also use ###. It is just a different style.
If you’re happy and your users are happy with Flutter, go right ahead with it. But please don’t be the all-too-common startup that writes blog posts about their “coding velocity” with Flutter (of course, they can’t afford to hire talent for anything else) while they keep their fingers in their ears as users scream about usability or missing platform functionality.
It should be mentioned that this work was mostly speculation, like the speaker said.

Most of the attacks shown are not 'advanced' by any means. Like the speaker explained; 'anyone can buy a GPS jammer for a few bucks online'. The research they did indeed confirmed GPS is the weakspot. However, such geofence systems are a step-up from any equipment lacking this ability. Its not so much about rendering these systems completely unusable outside of their intended purpose, but more about slowing down their use. The later will have a much better chance of accomplishing this goal.

Assuming the claims made in this research are true, then its more likely the CIA wants to limit the use of US supplied weapons systems, not stop a war. And the CIA has quite the history there.

Also, the situations in which such weapons systems are deployed do not exactly resemble the lab-like circumstances (like faraday cage, EE-tooling et.) necessary for these attacks.
See also:
The Nuclear Canal: Project Plowshare and the Dream of Atomic Earthmoving
https://news.ycombinator.com/item?id=21911587
Not who you asked, but, it's hard to say without knowing exactly what computation is being done, or how much of the time is spent on IO. If you organize that 250GB in ram the right way (cache coherency, right container types), and spend a lot of effort doing analysis of algorithm selection, you might be surprised how much you can get done on a single (large) machine with enough cores.
What is a "DApp?"
It does not make it acceptable, quite the opposite as there would actually be less time pressure to ship code. What you describe would lead to an accumulation of issues over time that will degrade the codebase until it ships and then makes maintenance a nightmare.
>scientists whose ideas fell outside the dogma recounted how, for decades, believers in the dominant hypothesis suppressed research on alternative ideas: They influenced what studies got published in top journals, which scientists got funded, who got tenure, and who got speaking slots at reputation-buffing scientific conferences

Not quite in topic, but Is it really such a stretch to acknowledge that the same forces in academia might bias climate science too? Except as another commenter pointed out, it doesn't take a shadowy cabal. Just a strong trend that individuals can believe in for ethical or moral reasons. Even when it becomes dogmatic.
Old Reddit is still slow, but not too bad. Reddit's new software stack is... Atrocious.
Didn't anybody see Scott Pilgrim vs The World?
Some day someone will write a simpler replacement for ffmpeg's user interface. A tool that you have to read the manual every time you want to write (or even just understand) a command is not a good tool.
What type of hosting/maintenance are you doing for clients and how did you find these clients? Interesting you were able to find opportunities for hosting services when there are so many easy PaaS options out there now.
The major and established beliefs in science usually have some fringe competition/opposition. You can only tell in hindsight whether it's "a cabal stifling valid criticism" or "scientists refusing to waste time on distractions".
this looks magic.

As an Ex VFX wonk, and someone still working with videos, FFMPEG is both a joy and a massive pain at the same time. Having a simple interface in python makes life a whole boatload easier
I don't speak German but I use weltschmerz and reisefieber
This is exactly it. No, people don't care about DRM because they don't know what DRM is: but they care about the actual consequences. DRM makes media harder to consume, share (even to yourself) and secure through backups.
Ah, gotcha. Honestly, I always use this as an example of one of the subtle design points that I really appreciate Java for.

Nitpick, but saying copies in Java can get confusing. Both primitives and references are bound by value. I'm sure you know, but for others: no objects are copied.

I always found this limitation had reassuring regularity; it's the same way arguments are bound to function parameters (minus bring final). Local variables being isolated from "other scopes" means that any interthread communication must be mediated through objects.
Here u go: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2769828/
My users have no idea it is flutter, that is the best part.
> I suppose there's probably an equivalent scenario if a non-EU visitor falls ill in the UK.

The NHS charges at 150% of their standard charges for non-EU nationals. For most people this is a moot point since short-term visitors are required to have insurance anyway, and long-term visitors pay a surcharge which covers them for all NHS services.

https://www.nhs.uk/using-the-nhs/nhs-services/visiting-or-mo...
*Sometimes three.

Go back to two when maintenance is done.
It's not about a death sentence, but about staying alive yourself. If a stranger's inside of your home, there is a significant chance they're going to murder or grievously harm you or others in your house. I think this is true whether or not you're in a country where guns are commonplace.

Even if their goal was purely to steal something, things progress very quickly in chaotic situations like those; especially when their state of mind could be affected by drugs or mental illness. And you have no idea what their goals actually were or are.

Milliseconds matter, so there isn't really a better way to handle that situation, in my opinion. It'd be nice if there existed non-lethal weapons which could incapacitate as effectively as lethal ones, but they don't seem to exist yet.

If it were a death sentence, then you'd be allowed to shoot someone in the back after they've exited the house and are running away. And obviously you aren't; that'd be murder.
No, these expressions exist in English, they just have a slightly different meaning. And in the case of “Entwicklung”, the English pendant “Development” even has the exact same origin: to unwrap or unfold (the opposite of envelope). There certainly are German expressions that do not exist in English, but this list does not do a good job at collecting them.

My personal impression is that German makes it easier to express abstract impersonal goals and needs. For example, consider the word “Sachzwang” which translates to “intrinsic necessity” - i.e. something that must be a certain way to satisfy the naturally given constraints. This can for example be used in the wonderful expression: sachzwangreduzierte Ehrlichkeit. (Reduced honesty due to inherent constraints.)

Often, English has very elegant and short ways to express something similar, in that case it could simply be “spin”, as in giving an article a political spin. However, while “spin” is something done intentionally by someone (the spin doctor, another nice expression), the German variant is passive and implies that “die Sache” (roughly “the mission”) dictate the doctoring with the truth. This again illustrates what I mean by German tending to more abstract, impersonal goals.
Not sure which DB you are using, but you can load the csv file into the DB directly on a single thread using something like LOAD DATA INFILE.

If you have some good indexes and do some push-down work (give the database aggregation tasks to do instead of your python code), you should probably be more than fine.

For a 250Gb file.. should be ok.. maybe add some partitioning too.
I believe they still are, with the caveat that the bytecode is built at runtime for lambdas not compile time like regular inner classes.
Yes shared_ptr is relatively expensive; avoid it in your inner loops, but know that it's there for the other 80% of your code.
Running JavaFX Applications in Containers
Super awesome! Points for creativity.
> If someone breaks into your home and you shoot them to death they have zero chance of harming your family.

Shooting at a burglar sounds like a great way to turn them into a robber or murderer.
I can imagine that a dominant hypothesis could play a role in the predictions of future trajectories of climate on earth, but not so much for things like measuring past temperature / sea level rise.

To twist the analogy back to Alzheimer - all these scientists still agreed on the patient-level diagnosis of Alzheimer.
To be fair, std::shared_ptr is just a high-level component that's a part of the STL. Although it's defined in the C++ standard, it's just a generic shared pointer implementation designed to be as robust and bullet-proof as possible.

As with everything in the C++ STL, if you care about bleeding edge performance then you should be prepared to use more perform any (and less generic) components, whether it's data structure implementations or shared pointers.
We don't have a word for it because we don't see it as overengineering, we see it simply as engineering ;)

On a more serious note, there is this idea that at their core systems are about accepting inefficiency in order to gain consistency and simplicity. From this perspective us Germans accept inefficiency for consistencies sake but not for simplicity.
Kakapo recovery technology
That's bullshit. C is simple and you have masterpieces written on it. And 6502 ASM is even more simple and yet some C64 games are a pure wizardry.
Web servers are usually trivially horizontally scalable.

You must have had significant in-memory shared state to encounter that problem. Right?

Had you adopted a less stateful model, you'd have looked rather pretty with two Java servers.
The police has absolutely no influence on the situation in almost all western countries. It is a legislative error that enables them. And it is a consequential result if policy makers increased all forms of state control since some decades, especially regarding surveillance.
He Jiankui sentenced to three years in prison for CRISPR babies