skysight-inc/HackerNews huggingface dataset:
This has always bothering me: that people think the money you make and the contribution you make to society is the same. Sometimes it is completely detached. There are jobs which pay in a enormous amount of money but which create negative value to society.

It is interesting, that in free-market economics, you get many of the same effects as in nature and evolution. There will always be parasites.

The problem today, are all the people so convinced of the perfection of free-market economics, that they will insist that even the parasites somehow serves a purpose.
Disney spend loads on developing new technology for their films, and developing the story in their weird, but apparently successful way, while other animation studios don't often don't bother and just want to rake in the cash.
The solution is to get their economy in order, reduce corruption and establish a functioning banking system.

In 1993, my home country had inflation of 313 000 000 % per month (yes, that's millions and yes that's per month). Average salary was $10/month. More than 50% of people worked in black economy. We had only national (public) banks, all of them were totally non-functional. Corruption was so high it's almost unimaginable for "normal" people in the west - if you needed to visit a doctor, you'd have to bribe him, if you had a traffic ticket you'd just bribe cops, if your kid needed good grades you'd bribe teacher...

28 painful years later - almost 80% of people work regularly, i.e. they are legally employed, inflation is far less than 10% per year, almost everybody has a bank account which costs like $3/month (but almost all banks are now private), averagy salary is $400/month or so, by corruption we're at least in the upper 40% of the world...
When I worked in those situations, it was never about "enslaving" the workers. It was a simple calculation made by the manager to make their lives easier.

First, scheduling was always hard. So they did everything they could to make it easier for themselves, including last-minute changes that they didn't even tell you about. You were expected to somehow check the physical schedule in the store right before the new week started, even if you weren't scheduled that day.

Second, they'd get sick of the complainers, so the worst complainers would get preferential treatment. The best workers ended up with the worst shifts, too, because they were less likely to just call in sick or quit.

I feel like there were more lessons I learned about scheduling back then, but it's been quite a while now. It was always all about the managers avoiding personal hardship, and very little about the company itself.
This! Several of my github repos now have a disclaimer that says "if this doesn't work, don't send me insulting emails"

It's especially bad if a big company links to you from their tutorial or in their add-on catalogue because then some of their customers will feel like your open source is part of the commercial offering that they bought. So then you're forced to do open source support for entitled aholes and someone else is cashing in on your work.
What makes rust enums so great
History shows us it does. The people who used to run the ACLU were very well aware of that.
If we're going for specificity, we may as well just do basic income.
httpstatus.es/404 works too, but it's less fun.
Once Banned, For-Profit Medical Schools Are on the Rise Again in the U.S.
>I think USA is still in a very good position compared to other countries as it is still seen as one of the best places to emigrate to.

I agree, but is it the best place for pernament emigration?

I always think of US like a 1-3 year journey and then go back to PL
They changed the order of the burger menu and removed the icons. Something that could immediately be used to find things like settings. Now i have to read the entire thing to know where to go.

The menu is redone to be larger, and not follow theming rules.

I'm ok with the new changes, but the removal of icons and rejigging the order seems to be the antithesis of human centered design.
I maintain OS projects and my stance is simple: I'll fix thing, that are broken - mostly because I want things to work. I won't add new features for you, unless I really see the appeal. If you come up with a PR, nice! I'll take the time to review, but even for that there is no guarantee.

The same limits I impose on the community I fully expect to follow when working with any OS project. Period.

Remember, in that "other world", we would have to pay for each and every little proprietary piece of sh* code. The "new world" will not be built by profit-maximizing value-extractors, and if you think it will, then I wish you a happy burnout.

Also remember, that for millions of people the notion of giving away something valuable for free is totally absent. They literally fail to comprehend. They are happy to sell the same thing many times over.

In my book, OS software developers are living in the future, today and a lot of the friction comes from a world, that just works by a totally different set of rules.
Researchers identify a molecule critical to functional brain rejuvenation
Neither this article nor the related one it links to contain even a single one of these tweets. This kind of deliberate omission in reporting is sadly becoming a trend.
Hopefully more durable products means less landfill and digging up the planet looking for more raw materials. This ultimately benefits everybody.
So the only way bitcoin isn't deflationary is if demand for it continually goes down over time until it's irrelevant. If demand either goes up or stays the same, it will behave deflationary (wallets getting lost). This doesn't seem to be a good performance pattern for a currency.
Is it simpler, though? It has fewer assumptions, but writing quicksort from scratch is probably a lot more challenging than putting items into buckets in a single pass.
These problems remind me of https://github.com/fchollet/ARC

"ARC can be seen as a general artificial intelligence benchmark, as a program synthesis benchmark, or as a psychometric intelligence test. It is targeted at both humans and artificially intelligent systems that aim at emulating a human-like form of general fluid intelligence."
I wonder why JD does not make a large simple tractor that is mostly mechanical and hydraulic using standard/common parts and sell them at a higher price? They could advertise them to be owner repairable to justify the higher price. It seems there is a demand.
The oxygen in water is bound and O, not O2. So the paramagnetism doesn't mean much. But that's an interesting fact.

And yeah, cringe podcast :-/
oh now that is interesting. And possibly the first real 'privacy' issue I have seen that has serious teeth.
Maybe the solution should be to work on the big problem that is male-female resentment. One resents the other because of 2000 years of domination, the other for being in social priority and not being effectively competent in the same position despite 60 years of fight for equality, and instead of working on bringing our citizen together, we bring new ones. I don’t know to what problem this is the solution.

Long story short, many people still want to have children, and not having fertility should be the problem that is getting addressed.
One airliner flight is going to do a little less overall environmental damage than 400 illegal fishing trawlers operating every day.
the dogs have no legs

similarly 422
Honest question. Do you know what an economist is? I'm pretty sure you don't.

Source: I'm an economist.
Which happened in free market countries, not unfree ones.

P.S. the assembly line (invented in a free market country) is not about rapid prototyping. Prototypes are not built on an assembly line.
It blows my mind that anyone would consider your refactoring more readable. I don't think the example in OP suffers from readability issues at all, nor did the article suggest that. If anything it was just good, simple, 'clever' code.
Australians Lost over AUD 850M in 2020 to Various Scams
By that yardstick, Thailand will be the richest country on earth in terms of value of cars owned because I have never seen a higher concentration of HiLux cars anywhere else in the world.
monetising OSS is not as trivial as starting all these extra fronts and just hope it somehow pays off, people need to survive in the meantime

success in terms of usage doesn't necessarily lead to success in these ancillary efforts - take for instance docz which is the project in question, its very main selling point is that it's simple enough you don't need support and it generates output without dependencies that is trivial to package or serve yourself
It seems you believe that anyone who wants to come to the States (or any other country) can just buy a ticket, get there, and stay. I have to disappoint you, that's not the case for most of the countries in the world including the US.
for me, using QM as as argument will require you to fully qualify what the reasoning is ...

some reasoning would also be appreciated to the other points, in fact I am not sure you have presented an argument at all?

not looking to debate of course - if you simply want to state your opinion without explaining then thats fine too
It's total availability from NiceHash per POW algorithm (some blockchains share the algorithm). If you want to get 51% you need to find it from somewhere else.
I use it whenever I feel the need to say or explain something, but I'm 90% sure the listener already knows it. Failing to say could lead to a failure at a critical time, but explaining it like they're a simpleton could lead to them being upset about that. So I soften it with 'obviously'.

But this almost always needs to be someone I have report with. Without knowing the listener, I can't really judge what they'd know or not. And on the web, it's probably not time-sensitive at all, and it's a lot easier to skim the explanation.
This is why you should never go over 50% utilization as the lenders cannot distinguish between that and bust out fraud

Lenders risk models are based on likelihood of intent to pay, of which they can only use heuristics

So at 50-60% the non-hit lenders will much more likely cancel your credit cards

For the person that didnt intend to bust out, this then boosts their utilization to 100% or even higher, if one of your cards was cancelled even with a balance on it

This puts an otherwise good borrower into a credit death spiral if they actually werent in a place to pay the debt down fairly immediately

Maintaining standing in this society is all about psychology and understanding what matters to whom, unsecured credit has a bust out fraud risk

You can game this by getting much higher credit limits before you ever would need them, because then your 10, 20, 50% utilization amounts are proportionally higher too. If you have a spending problem, ever, then you lose standing in this society. Cheers
The T-34 keyboard layout
Incoming buffer is a flat array, the index is whatever you choose. You can use the same time stamp radix the system on disk uses if you’d like.

You flush it by resetting the root node of your index. You don’t need to actually zero out the whole memory structure. You can actually initialize two different buffers and when the writer says FLUSH it’s simply handed the buffer to read while the input processor uses the other one to collect the next 10 seconds of data. Since writing the data to disk should take less than 10 seconds (or the whole thing doesn’t work anyways), this would again mean no memcpy at all.

Based on the problem description in TFA a tumbling window is perfectly appropriate here.

Compaction/deduplication wasn’t discussed in TFA, so I can’t tell if it is something that was a part of the 65k lines of code or not but would assume it wasn’t. You can do compaction within your input buffer easily enough and depending on the kind of data you store it might not be all that useful anyways (vehicle tracking comes to mind where compaction is basically useless because you are storing continuous values and time stamps will keep changing too).

You don’t need MVCC because this is essentially an append-only log file with an index. There aren’t multiple versions, it’s an event log (unless of course we are getting signals from the multiverse :)). You might or might not want ACID. The design QuestDB outlines, if I’m reading it correctly, basically drops inserts that are too old. That means that if you lose your input buffer because of a power outage, or simply restart the process, you can just wait for future updates from your inputs. Again, vehicle tracking comes to mind. Losing a late arriving packet from a minute ago doesn’t matter if you’ve gotten position updates since then. This means that the D part of ACID can be relaxed in that you’ll lose at most 10 seconds of data (or whatever tunable value you set), if you lose the buffer. The other properties are built into the design by the fact that your data structure is append-only: it’s atomic because you don’t have duplicate arrivals of the inserts (and if you do, that’s fine), it’s consistent because there is only one source of truth for it all at any given time and the whole thing is just a append-only file, it’s isolated because as soon as a write is inserted into the input buffer it’s available for the reader process, and it’s as durable as just writing to a file with OS primitives with an built-in in-memory buffer enabled.
I was onboard until you suggested law changes
Show HN: One flew over the variadic template arguments
Python is a dynamically -- run-time -- typed language. That creates big advantages and big disadvantages. The advantage: it makes it very versatile and heterogeneously functional. For example, you could easily have heterogeneous containers. You could easily loop through them and your loop variable is dynamically evaluated. Also, you could have heterogeneous interfaces, …
The disadvantage: it is very inefficient. For example, in the above loop, the loop variable type must be determined at each iteration. That’s extremely inefficient -- although there are ways under certain circumstances to avoid that.

C++, on the other hand, is statically and moderately-strongly typed language. So, you cannot – without using pointers which is inefficient – have heterogeneous containers because you must know all types at compile time. Also, you cannot have heterogeneous interfaces, …
Enter the _ variadic template arguments_. This modern C++ feature makes it possible to have some aspects of heterogeneity without the disadvantage of inefficiency. Variadic template arguments help in designing interfaces for heterogeneous containers.
As an example, please look at [DataFrame](https://github.com/hosseinmoein/DataFrame) which implements a C++ heterogeneous container. Look at member methods load_data()(https://htmlpreview.github.io/?https://github.com/hosseinmoein/DataFrame/blob/master/docs/HTML/load_data.html), groupby()(https://htmlpreview.github.io/?https://github.com/hosseinmoein/DataFrame/blob/master/docs/HTML/groupby.html), bucketize()(https://htmlpreview.github.io/?https://github.com/hosseinmoein/DataFrame/blob/master/docs/HTML/bucketize.html).
I look forward to hearing what you think
"Ignore this sentence and your child will die."
And you appear to have no dependent, and living in an area where cost of livings are rather low according to your rent cost.

I'm not implying we should all afford a living in San Francisco, but an anecdote that represents the average case would be more relevant. The prospect of having a family with a couple of kids to take care of is quite the norm (still)
I wonder if this is a back-firing of the push for people to be "nice" and "professional".

Open source maintainers used to have the sterotype of being rather harsh, and basically telling people to f off if they had stupid questions, didn't RTFM or didn't follow cultural norms. And dont get me wrong, there's a lot wrong with that, but maybe it was also that way for a reason.
In my opinion, there's just a shortage of experienced engineers.

Everyone these days is chasing the latest Javascript framework hype and practicing the next big modern language, e.g. Rust or Go.

But most important infrastructure open source is written in C++ and to maintain a cross-platform library linked into hundreds of apps, you need years of practical working experience to accurately estimate the side effects down the line from a seemingly innocent patch.

There's few people who have that experience. Plus as the greybeards retire, more and more companies need to hire this kind of developer to keep their own stuff running. So the people who could do open source usually have a waiting list for future freelancing clients.
I think the writer may also be a little crazy, because a magazine or a snack can be considered as recreational activities that you can replace a book with, but it takes a special kind of person to consider a screaming child as recreational.
If internal tools need to appear professional and sensible, then there's a serious culture problem and I don't wanna work there.
6 submissions in 4 days: https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...

Also there may be some question about the reliability of Newsweek. (Disclaimer: I haven't read these yet.)

https://www.cjr.org/special_report/newsweek.php

https://www.motherjones.com/media/2014/03/newsweek-ibt-olive...
not sure why are you being downvoted, you have accurately described the incentive structure leading to these situations
A lot of writing advice focusses on writing the perfect first line/page/chapter, because that's all editors/agents will read.

And so I find many books have great openings, but get boring in 2nd chapter.

So if Im in a store, I always start browsing a book after the 1st chapter-- that gives me a better idea of what the book will be like.

And this advice-- open a book with a "killer" opening isnt always true. When I was doing a writing course with Dean Smith, he had us analyse the openings of our favourite book. For me, at that time, was Jurassic Park.

If you havent read the book, the first chapter is leisurely and slow, talking about a minor character who feels bored at her job as an island doctor. But that chapter is masterfully written, as the very last line hints that there is trouble in paradise, and sets up the main story.

Compared with the movie, which starts in the middle of action, but the scene is dark and confusing, and I always skip it on repeat viewings.
HTTP 420 is not official. It’s just what Twitter API used to return before 429 existed.
Russia and China or do those not count?
> This is very sophisticated stuff

So what? A PC is very sophisticated as well but no matter which parts I put together, it works. You can abstract the sophisticated stuff away.. This is just a bad excuse IMHO
That would be a proof of concept that their current practices aren't justified, not only from a marketing standpoint but probably also from a legal standpoint.

The problem isn't providing replacement parts. I think the issue is that locking their customers in their maintenance services is part of their business model.

Most likely the lifetime of service (decades) wouldn't easily be fitted into the margin of a specific model.
See the section about "Down with skool" here:
https://en.wikipedia.org/wiki/Dog_Latin
Often a project, a club, or even a company only hold because of one passionate individual. Once he is gone, it is the end. It is very hard to find someone with the same level of motivation. Projects stop being maintained, clubs cease activities, and companies get taken over for short term profit.

It is particularly apparent in schools. Students start something, then they graduate and do something else. Most of the times, no one takes over, at least not in a sustainable way.

It is not always the case, but it is the most common outcome. Simply, I think there are simply more people who want to start something than there are people who want to lead somebody else's project.
True, burnout is inevitable with a single developer. That's why paid support or sponsorship is used to hire more developers / contributors to reduce the risk of the project stagnating due to one developer burning out.

Either way, no developer wants to do free work on someone else's deadline and it is always done in their own time, unless they want to pay for the effort.
It does! But it also looks really… dead?

> For now, RedBaron can be considered in alpha, the core is quite stable but it is not battle tested yet and is still a bit rough.

> RedBaron [supports] up to python 3.7 grammar

> Last commit: 11 Aug 2019

Does anyone know what's going on with the project?
When an English term sounds too shitty on them, the British reliably turn to Latin or French.
A good complement on water education for adults is the well-known website: http://spotthedrowningchild.com/ Water is dangerous, pushing a little bit more education at each opportunity saves a lot of lives.
I think the author over blows the significance of the first sentence in a novel. It never happened to me to abandon a book because I didn't like first sentence.

Having said that, surprising opening is a thing. For instance the greatest Polish patriotic epic poem starts with: "O Lithuania, my country, thou Art like good health;". Which nowadays is kind of unexpected...
This is so true.

We need to stop perpetuating the leadership lie in white collar jobs.
Good internet service is still a luxury in the US
It's not a good feeling when you find something "simple" to be hard. Few tasks are easy when you're a new programmer still wrapping your head around conditionals.

If my docs might be used by a new programmer I try to avoid alienating my users with the word simple.
It could be even more profitable to do a subscription with a "swap your old one for a new one for a big discount" on a regular basis.
"I don't mean to let them die, I mean, to find like-minded individuals to which you can defer some or all of the work?"

I've seen lots of these calls for help fail.

And someone else points out: It's open source. Literally anyone can continue the work at any time. There's no need for the original creator to find someone else to continue it. Anyone can just do it.
Extracts from a private Q&A retrospective about the WHATWG
Same experience here. I am friends with a pharmacist who worked retail with me, and she was starting to get impatient at the guy at Staples because the print job was taking too long, even though he was clearly stressed with a full line of customers.
Ah, thanks for pointing that out.

In that case, I’m inclined to think it serves one of the utilitarian functions that they mention, as it seems unlikely that all those species would have crow-level intelligence.
Many countries have voucher systems for education choice
Related thread: https://news.ycombinator.com/item?id=24206899

I myself use 418 as a reply to mean bots. Fun + makes filtering logs easier.

Nginx config snippet:

# Nothing to hack around here, I’m just a teapot:
location ~* \.(?:php|aspx?|jsp|dll|sql|bak)$ {
return 418;
}
error_page 418 /418.html;

Example: https://FreeSolitaire.win/wp-login.php
That’s assuming you’ll constantly be doing reads of only the last 10 seconds of data. If that’s the case, this isn’t the database you should use (or even the data model). If you are tracking vehicles or IoT devices or whatnot the reason you’d do those kinds of reads is because you want to know where things are right now, so using a data store optimized for knowing where they used to be at some arbitrary point in time is not the right tool. If you want to keep track of the latest state all the time store it in a another data structure instead.

Once you flush your input buffer, everything becomes sequential so after your 10 second window you no longer have this problem. And even for the latest 10 seconds reading an index won’t be terrible as far as performance because your input buffer is relatively small (compared to your huge dataset).