skysight-inc/HackerNews huggingface dataset:
Thank you for many pointing out that I'm off by a century or two, please allow me to clarify: The growth of the internet and corporate controlled media may have made the problem significantly worse, and more encompassing of the nation. I had completely forgotten about Judith Millar, thank you for point that out. I guess I remember a time when there were newspapers, and journalists were above the fray of politics. Something dragged the entire profession of journalism into the dregs and I'm at a loss to pinpoint exactly what that is.
My girls were raised Christian and I and my wife practiced and professed that faith our entire relationship. I haven't given up on the faith but I am so profoundly disappointed in the modern church that I need to go back to the root of it all and see how much it still resonates.
If you don't see a problem with wikileaks specifically looking for a curated "leak" to help Trump's campaign and their own appearance of "impartiality", there's not much else to say here.
It's not so hard to understand. The issue is the legacy of slavery, and Nigerian immigrants aren't dealing with that.
"Its orbit passes between the sun and any given point on Mars about once each Earth year. Each time it does so, it causes from one to seven solar eclipses within the space of three days."

Does anyone have an explanation of how this works? Seven solar eclipses seems like a lot and I can't seem to visualise what is happening, presumably it's Mars spinning and Phobos staying still that causes this, but I can't understand why the difference is so huge.
Fertilisation still seems rather unlikely, though.
Red flags: Author has already claimed to be "bold" by the third word of the abstract. Author includes an abstract on a two page self-published paper where they further propose their own name to decorate a newly discovered economic "law". Author uses phrases "statistically significant" and "empirical proof" without betraying any familiarity with their normal meaning in formal prose.

And, most importantly, author apparently believes that the observation that efficiencies introduced by new processes are invariably erased by increases in associated bureaucracy was novel and useful in 2008. People have been complaining about that since at least the Roman Republic.
Thank you, I will definitely take a look at these.
Respectfully, I disagree.
I think the condition may be simple if looked at it from, say, a programming logic point of view. But given the costs involved, I think the other constraints are not noise: they're the signal needed to make the right decision.

Specifically, since you brought this up in the context of someone who will die of cancer, the tradeoff calculation must take into account that even if cryonics work (which is already a giant leap of faith right now), this person would also need science to advance enough so that a cancer that is terminal now will be somehow reversible in the future. Additionally, all the people he cares about would have to have survived too for this to matter. Again, this is all context, this is within the context of a dying person that says "Almost immediately I realised I just couldn’t do it. Life for me is about living, not just clocking up the years.". I don't think all of these extra constraints would be seen as noise by someone like him.
Thank you! I hope to one day be able to make a living out of making those games
Ask HN: Working part-time in tech?
I would like to drastically reduce my amount of work hours per week.

My dream is to come down to about 15-25 working hours per week.

I don’t mean to work part-time for all of my career. But I would like to have such an arrangement for the coming five years or so.

Has anyone tried this? If so, how did you manage to achieve your goal?
Amazon could simply have aggregated star totals and reviews, with the ability to select narrower subsets.

If I'm looking at a book and worried about quality differences between formats I could ask ask for just reviews from verified paperback purchasers, then from verified hardback purchasers, and then from verified Kindle purchasers.

They already allow filtering by verified purchasers. Just add the format filtering, and when viewing through filters show the aggregate star stats for the resulting reviews.

This would be close to trivial for them to do and greatly increase the usefulness of reviews with no effect on people who are OK with the current aggregate approach.
Damaged though implies broken or dysfunctional. Thing is, this guy is 100% coherent. His problem, to put it in a word as an outsider to whatever is going on in there, is closer in meaning to injury. I used to take mushrooms, acid, salvia like every other day for a couple of years when I was really at it and honestly I have trouble fathoming what 150 units of LSD would do. Anyone whose done a lot would shudder to think about the possibilities of what that’s like.

I get this odd feeling when talking to him that he is mostly playing along with conventions. Like he is well aware how close everyone is to madness. Or maybe there is a layer to reality outside of our senses, very strange and more real than real. Like for people who have never done anything crazier than smoking a joint or getting really drunk.. it’s pretty easy to disregard psychedelics as just intoxication. But the upper doses can be transformative to say the least.

I know people who have never done drugs who don’t seem to enjoy anything either.
Sure, so it doesn't have to do with inlining.
You are correct that the type the compiler creates for a lambda is allocated in-place, usually on the stack, and perform no heap-allocs. However if you pass it to a std:: function it will be _boxed_ and std::function _will_ heap alloc the space for it. This alloc is what's not customizable.
The politics of power ( and the preservation thereof ) are fascinating and largely appalling to me. I find that there are two important take-aways in what you're calling out.

1 - Although there is some degree of truth in a "critical mass" required of like minds in order to "get things done" for a cause, it is also critical to "gather and scatter" in that critical mass and not exist solely among like minds. This is so critical for advancement of whatever the idea both in the "evangelism" sense and the "development" sense, that I don't see a need for a second reason.

2 - That identity politics should be avoided at all costs, and not simply for political parties. It saddens me that generations of voters have pulled red or blue levers for any reason other than to make the statement "I wholeheartedly agree with all of these candidates"
I agree, the accessibility point is important precisely because a lot of the growth of these bureaucracies is to accommodate more people. Being able to identify why these bureaucracies are growing (hint: it's not just because they can) allows us to better solve the problem, which is not software getting better (imo).

An old(er) post that is vaguely relevant: https://news.ycombinator.com/item?id=21848860
An interesting look at the end of what makes projects slow down, and possibly insights into why bureaucracies grow.
To be clear this isn't lines of code. Nobody is that bad. Somewhat hilariously my boss was looking at number of commits. His complaint was that there were weeks when I made no commits.

Though that was the stupidest way to come to that conclusion, it is true that I was doing less IC work than other members of my team. I had surfaced this several times in 1:1s and thought that was what he expected. For instance, some weeks I had literally 20 hours of meetings, with significant overhead attached to those; it is hard to make much progress coding in that environment.
Is there any reason why this is being Flagged?

It reads to me the site is something similar to Reddit.
Thanks for the clarification (also to archgoon). To your last point, I should have used -O1 instead of -O2, this also makes it clear what happens on the callsite.
Shit! I cried reading this. Take care and all the best of everything from me to you.
I agree, I just need to recalibrate my perspective. There are certainly those that have gone through this and worse, and faith has helped them and their loved ones.
For better reading experience, add this to body in console.log:

font-family: sans-serif;
width: 80%;
margin: auto;
color: #1A202C;
background-color: #F7FAFC;
line-height: 1.5rem;
"4 Talking about file-format compatibility, like someone else has pointed out there's no guarantee that documents created in the online version is compatible with their desktop editors. Too bad."

Note that this isn't theoretical. I see several documents a week that render funny in online o365. Misaligned bullets, wrong font, etc. Occasionally ones that just don't work at all.
When Scientific American Made M. C. Escher Famous
The bug was due to missing a max length check. Maybe the developer and code reviewer(s) were unaware that there was a max length? No amount of coding diligence could save you if there are requirements you don't know. Granted, length limits are a common requirement and maybe they should have known.
Interesting, I do still see the filter choices for other products, and I thought I used to see them for books.

Maybe they stopped doing it for books? (Other filters are still there, but not filtering by edition.)
In Aus the media is almost all either owned by Murdoch or held hostage by the government who cuts the budget any time they do honest reporting so there is definitely some value in democratic "rando" media imo
9 hens per sqm indoor space, these days. 1 hen per 4 sqm outdoor space: https://en.wikipedia.org/wiki/Free_range#European_Union

There are specific rules about what can be counted.
I think the point is that journalists use twitter, not Trump or grandparents. That Facebook is the drug dealer for grandparents is a distinct problem, pointing it out doesn't negate the harm of twitter.
The Polyglot Code Explorer
https://memepedia.ru/agrofyurer-i-kartofel-v-mundire-luchshi... use google translate
Inspired by things like these, I bought a 5" LED display for my RPI. The idea was to display the time / weather on Chromium in a "kiosk mode". I was however surprised that with the latest install of Raspbian OS it was even hard to open a simple webpage on Chromium. It was just too slow. I would really avoid buying / building anything on a RPI from now.
The US didn't do anything when Russia took Crimea, why would they do anything now?
Several European countries. In the Netherlands taxes are just logging in to a web interface and verifying the provided data.

It's usually filed correctly already. So many times you'll just be clicking next.
Humans vs competing species is different from humans vs humans, though. I think it's within our capacity to learn to do only the latter, provided there are enough resources to at least have a reasonable living. We'll need to make the 'western' lifestyle require only one earth for everyone.
“No PS5-related news” this week: Sony pours cold water on State of Play rumours
Amazon bans foreign sales of “mystery” seeds in U.S.
29-year-old Konstantin Shishmakov (Belarussian: Kanstantsin Shyshmakou), director of the Bagration Military History Museum in Vawkavysk, disappeared on 15 August. As a member of the election commission, he refused to sign the protocols, called his wife at about 5 pm and said: "I will not work here anymore, I am going home." But he never came home. Later he was found dead in a river. This was announced by the search and rescue squad "Angel".

Disgusting. I hope someone saves the archives and lists of members of security forces, so they can get what they deserve.
Depends on the priorities. I would rather write code all day at PepsiCo instead of writing code 2-3 hours and writing documentation and answering emails in the other 5-6 hours at Facebook. Besides, the transition to an SWE at FB takes 2-3 years.
I believe sometimes you have to take a step back in order to make 2 steps forward later. But I saw that as more than 1 step I had to make backwards.
That's interesting to hear. I must admit I am at least a little bit attracted to the challenge of learning a language that's known for being difficult, though of course the vast majority of what attracts me towards Denmark (over other Nordic and European nations) is lifestyle and political factors.
The RSPCA's opinion on the matter is irrelevant. The UK is bound by EU law. While it will be able to deviate as of January, this is an area that, in practice, it will probably be unwilling to move on in the short to medium; it would be politically damaging (because one argument against Brexit is that it will lead to diminished food standards) for limited returns.
Yes, it's hard to explain, but he maintains an image of a very industrious and agriculture-oriented leader, and on many promotional videos and photos was seen as participating in harvesting potatoes - https://www.google.com/search?q=lukashenko+potatoes&tbm=isch...
One of those actions that has more to do with optics and making people feel like they're making an achievable contribution, ignoring the minimal impact on the actual problem.

Like banning straws.
I was talking to a Russian friend about this. Just like in Russia, the gov (in every layer) is so corrupted, and with zero loyalty, and the dictators (Putin, Lukashenko, et al) fear that of they are ousted they will be shot on sight (think Romania-Tsaushesku, Iraq-Saddam). So they are doing their 'best' to stay in power because the moment they fall, it's their death.
Why does this poster have to post specifics when making a general statement?

Can you imagine responding to "everyone dies" with "please post specifics, thanks"?

From what I can see, this poster stated that no programming language is perfect, and I'm struggling to see why they need to back that up.
In c++ it also seems likely that with this approach you could invoke some pretty expensive copy constructors if some of the parameters have those.
‘Cobra Kai’ Netflix Success Highlights a Problem for Hollywood
Netflix boss: Remote working has negative effects
I think the "dangerous" precedent being set is now we can stop assuming AWS is the only "cloud" out there. It always amazes me how 1) so many small companies assume AWS must be the only way to go and 2) once there they are so terrified to run work loads on other services. *

* worth noting this is my anecdotal experience, would love to hear stories of which companies do the contrary.
I have no idea where this limit came from. I worked at WhatsApp[1], and while we did split nodes into separate clusters, I think our big cluster had around 2000 nodes when I was working on it.

Everything was pretty ok, except for pg2, which needed a few tweaks (the new pg module in Erlang 23 I believe comes from work at WhatsApp).

The big issue with pg2 on large clusters, is locking of the groups when lots of processes are trying to join simultaneously. global:set_lock is very slow when there's a lot of contention because when multiple nodes send out lock requests simultaneously and some nodes receive a request from A before B and some receive B before A, both A and B will release and retry later, you only get progress when there's a full lock; applying the Boss node algorithm from global:set_lock_known makes progress much faster (assuming the dist mesh is or becomes stable). The new pg I believe doesn't take these locks anymore.

The other problem with pg2 is a broadcast on node/process death that's for backwards compatibility with something like Erlang R13 [2]. These messages are ignored when received, but in a large cluster that experiences a large network event, the amount of sends can be enormous, which causes its own problems.

Other than those issues, a large number of nodes was never a problem. I would recommend building with fewer, larger nodes over a large number of smaller nodes though; BEAM scales pretty well with lots of cores and lots of ram, so it's nicer to run 10 twenty core nodes instead of 100 dual core nodes.

[1] I no longer work for WhatsApp or Facebook. My opinions are my own, and don't represent either company. Etc.

[2] https://github.com/erlang/otp/blob/5f1ef352f971b2efad3ceb403...
Technology also amplifies the power of dictatorships, so smaller groups will be able to fend off popular uprisings now than they could a few years ago.
it's definitely something i'm concerned with
How many times has that happened in the past? The Soviet Union was a Chekist prison at it's core and it's basically back to the good old days now in terms of its leadership and security services - they usually just dissolve back into society.
News photogs had one advantage: good equipment. Now people want authenticity and everyone has equipment.

No one really cares all that much about the one carefully posed photo some news photog decided to take because his boss told him to represent some view.

You may get a million views and your NatGeo / J.D.Power Asia-Pacific Best Photo of the Week or whatever nonsense but the next kid using his iPhone to record with image stabilization is going to get two million.

Because he has something you don't: he's there and he's authentic.

"High journalistic integrity" was a fiction we all collectively believed because ultimately we wanted the dopamine hit of "knowing" stuff. But it's over: journalism is now democratized.

No more controlled lies. Now everyone can lie as powerfully. And that is a good thing for information.
> It's worked for thousands of years.

I think it has, but not the way you put it. Rather: we've shared reality for thousands of years, and that's why it worked. We've had the occasional lunatic who didn't share our reality, but they ran into a mammoth or tried to pet a sable tooth tiger. For the rest of us, it was easier. When you said "three mammoths behind the forest", I had a pretty good idea about what you were talking about.

> I just want to seriously ask, on a planet with 7 billion people scattered around the world how can you possibly expect everyone to share the same reality?

We don't need literally everyone anywhere on earth to share the same reality. We need a shared reality mostly with those we come in contact with, for practical reasons I'd say in a nation, but probably also in political blocs (though the details can very well get more fuzzy the further away somebody is). Can't have Europe think the Soviets are great while the US thinks they're terrible, that won't work in an alliance.

And we don't need to have everyone share it either, a super majority is enough. It's not an issue if you have 1% of people believing that reptilians are running the government and looking for politicians blinking sideways on TV. It starts to become a problem when you get larger groups that don't share reality. A small group of 1% will get carried away by the flow. That's much different with a group of 10, 20 or 30 percent.

> How is the reality of people from two completely different places in the world ever going to be the same?

It's not, but then again, even here on the internet, you're mostly speaking to people from your part of the world (geographically, but even more so culturally). It really doesn't matter whether you share reality with somebody you have no points of contact with. And, I think, it's much easier to even accept that somebody perceives reality differently when they're very clearly not like you. There might be a bit of a condescending tone of "oh, of course, they fell for the propaganda their government put out... well, that couldn't happen to me", but it's much more acceptable for a Chinese person to have a drastically different world view than for your neighbor.
So what you're trying to say is that after you've amassed X million dollars over many many years of work, what other options are there but to have a near guarantee to reduce it to X/2 millions within a few years (as little as 2 years)? (not to mention leaving you with a lifetime of bitterness and resentment)
I disagree. Joe Random is going to be all over the fucking place. He's going to know about a few small items that he happens to have expertise in, and he's going to be a shitshow on all the crap he's just spouting about, and there's going to be no way to tell the two. That's not reliability; it's the opposite of reliability.
My opinion is that this depends entirely on the cost relative to the overall task, and how likely cache hits are to occur. If cache hits are very likely and the task occurs frequently, I'd strongly consider storing it in ETS. If cache hits are unlikely, then it depends purely on how expensive the task is, but generally there isn't a lot of benefit to caching things that are infrequently accessed.

I wouldn't cache database queries unless the query is expensive, or the results rarely change but are frequently accessed.

Generally though, whether to store something in ETS or not is situational - your best bet is actually measuring things and moving stuff into ETS later when you've identified the areas where it will actually make a meaningful difference.

> This part throws me off because I remember hearing various things in Phoenix work in a distributed fashion without needing Redis.

This is true, but it depends on what kind of consistency model you need for that distributed state. The data you are referring to (I believe) is for Phoenix Presence, and is perfectly fine with an eventually consistent model. If you need stronger guarantees than that, you'll need a different solution than the one used by Phoenix - and for most things that require strong consistency, its better to rely on the database to provide that for you, rather than reinvent the wheel yourself. There are exceptions to that rule, but for most situations, it just doesn't make sense to avoid hitting the database if you already have one. For use cases that would normally use ETS, but can't due to distribution, Mnesia is an option, but it has its own set of caveats (as does any distributed data store), so its important to evaluate them against the requirements your system has.
If he does speak up it will probably be to brag that he had the idea first to snatch protesters up in unmarked vans.
Another approach is to use a `volatile` function pointer: https://www.godbolt.org/z/e6GM93 -- That way you get to keep other optimizations from `-O3` without inlining the function call itself.
How is this news? The title made me think maybe the egg should have been of something other than a duck hence the upset but no.
DUCK EGG HATCHES DUCK ain't nature wild?....
congratulations you just bought Enron
WaPo doesn't interfere in contract awards or break the law. Trump's many crimes and some mean words is a false equivalency.
How long ago did you try? I think Adafruit's PiTFT should work fine for most use cases.

EDIT:

if you want to have a look at the installer script it's here: https://github.com/adafruit/Raspberry-Pi-Installer-Scripts/b... (the business end starts at line 222)
Short of invading, which I'm certain Germany doesn't want to do again, what would anyone external power do?

Except of course Putin might invade when the time is right, and no one would do anything about it either. That's his sphere of influence.
> A 90 degree pass (overhead) is around 10 minutes.

Yes, that's approximately what I remember. The path of ISS is created with the goal that ISS doesn't fly over the same pieces of land or sea. Instead, it takes a lot of orbits before I can see it crossing exactly over my location, giving me around 10 minutes when that cross is ideal, otherwise, it's less, if the current path is close enough at all. Seeing is of course limited more than obtaining a radio signal, as to see ISS it has to fly above you at the time that the sun can reflect from it, and to have clear skies. One doesn't need that to catch just a radio signal, but the ISS path should still be such that it's close to your location, and the time during the FM signal can be received will still be short.
WTF? That Covid came from outer space gets upvoted (5 points now) on YC and the very mention that Covid might have come out of a Chinese laboratory gets entire topics downvoted and flagged?
Bootstrap: Sleek, intuitive, and Retro