skysight-inc/HackerNews huggingface dataset:
Isn't it quite difficult to get software to run on a rasp cluster?
Author here. Wow, there is a ton of "didn't RTFA" comments here. It seems like half of this thread saw GraphQL in the title, it knocked two gears into place in their head, and they started writing up their own little essay about how bad it is.

I evaluated GraphQL twice before, and discarded it for many of the reasons brought up here. Even this time around, I give a rather lackluster review of it and mention that there are still many caveats. It's not magic, and I'm not entirely in love with it - but it's better than REST.

Query optimization, scalability, authentication, and many other issues raised here were part of the research effort and I would not have moved forward with it if I did not feel that they were adequately addressed.

Before assuming some limitation you have had with it in the past applies to sr.ht, I would recommend reading through the code:

https://git.sr.ht/~sircmpwn/git.sr.ht/tree/master/api

https://git.sr.ht/~sircmpwn/gql.sr.ht

If you're curious for a more detailed run-down of my problems with REST, Python, Flask, and SQLAlchemy, I answered similar comments last night on the Lobsters thread:

https://lobste.rs/s/me5emr/how_why_graphql_will_influence_so...

I would also like to point out that the last time I thought a rewrite was in order, we got wlroots, which is now the most successful project in its class.

Cheers.
Love the low tech method of taping the RFID to the sensor.

My whirlpool fridge just makes an annoying high pitched beep when the filter’s been there for ~3 months. I get used it the noise but my wife hates it. It’s been beeping for 3 months now.
Facebook has a Mercurial clone named EdenSCM[1], which includes a scalable backend named Mononoke[2].

[1] https://github.com/facebookexperimental/eden

[2] https://github.com/facebookexperimental/eden#mononoke
Some specific examples would perhaps make your case, instead of just making an unfounded assertion.
A tech stack should be a well-balanced portfolio
Automating version number updates: what could go wrong?
Nobody is talking about the EU - we're talking about NZ and Taiwan.
Good point. The LEDs lighting would eliminate horizontal distortion, and if it's a color laser prointer, the vertical scaling has to be just right too or the colors won't register.
Yep in Baltimore the Guns Task Force was robbing drug dealers and then reselling the drugs. You can read more about it here: http://data.baltimoresun.com/news/gun-trace-overview/
I'd guess with the potato quality of facial pictures from incidents security or phone cameras, you might want lower confidence matches to get outcomes out of lousy pictures.
LinkedIn could really do with a way to segment recruiters. I don't know how that would work but I tend not to go on there an interact as most of my feed is recruiters either listing jobs I don't care about or talking about the recruitment industry which I also don't care about.

However, I still want to be connected to them, its useful for them to be able to reach out to me if they have something that aligns with my skillset, I just don't need them in my feed I guess.
Understanding JavaScript Execution Context like never before
I liked this essay. I don't agree with all of it. But it has a lot of interesting musings, and it's written without the sort of hyperbole or bombast that typically accompanies pieces about "why I'm not using x."

> I'd go so far as to say that unless your profile is exceptional for some reason, it probably does more harm than good.

This can't possibly be true. LinkedIn is the go-to sourcing tool for every HR department in the world. Right now —even in the midst of a global recession —thousands of recruiters are trawling LinkedIn to fill a role. If you don't have a LinkedIn account, you are immediately disqualified from the pool. Moreover, a lot of HR departments will simply expect a LinkedIn profile. They like having a standard mode of comparison that's easily digestible.

> You and I are just another candidate in a tall stack

This is a false dichotomy. Having a LinkedIn profile isn't mutually exclusive with a portfolio, blog, github, kaggle account, stackoverflow profile etc. And if the recruiter is only going to look at your LinkedIn anyway, then how is your awesome blog going to help? I would go in an opposite direction, and describe LinkedIn as a sort of Pascal's wager. At worst it's a net neutral; at best you might get an interesting job offer.

> When people long for the days of the early web, the glorious idiosyncracies of personal sites and forums, they are really longing for a time and a space where people were free to communicate their own values. Now that space is owned and rented to the highest bidder. A site like LinkedIn wraps you up into a tiny, uniform package, sets you in an enormous data warehouse next to millions of other tiny people just like you, and sells the lot of you.

Well put. It's definitely kind of depressing. But at the same time, I feel that it's possible that a centralized platform like LinkedIn can serve as an equalizing force (depending on its search/discovery capabilities). I suspect that a world where we are all using blogs and forums is much more siloed than one with LinkedIn. Information asymmetry in job markets is bad for workers. For all their faults, tools like LinkedIn and GlassDoor are (or at least could be) a force that alleviates this. I don't really have a final word here, I can see benefits to both worlds.
My comment is consistent with the more nuanced understanding of what Alexandria really was.
Probing a Cloud of the Fifth State of Matter (Bose-Einstein Condensate) on ISS
> I unfollow a lot of people

This is the trick to turning platforms like Facebook and LinkedIn into a tool, not a vice. You need to curate who you follow. Facebook in particular has many tools to do this, from preventing their content posting to your news feed to unfriending them altogether.

Too many people just follow everyone they know, then complain when they start seeing content that gives them negative outcomes.

There's also this weird social stigma where people think that if you unfollow them on a social website, you can't be friends in real life. That's not true either! They're just really bad at posting content I'm interested in viewing.
Are you saying the filter was useless, or you couldn’t find a single candidate out of hundreds?
Here's an antique non-electric fan from the East India Company that still works:

https://www.reddit.com/r/Damnthatsinteresting/comments/b41rm...
The building analogy doesn't work because the situation is completely reversed. Building commercial software is much cheaper than designing it. Constructing a building is much more expensive than designing it.

Specifications are expensive and since designing software is risky the specification forces you to take the entire risk upfront. Lots of projects stop after a failed MVP to cut losses. You can't do that with a well thought out specification.

There are obviously well studied areas of computer science where the opposite is true. Compilers, databases and simulations benefit from a good design but this is precisely because of their well studied nature. The only way to get an edge in the commercial world is by doing something nobody else did before. That often means nobody, including the creator of the software, knows what the best design is.

This commonly results in an "idiotic market leader" effect where a product with obvious flaws (say mongodb) somehow manages to dominate a market.
Moral rights of European settlers are irrelevant in context of discussion about historical site which should be recognized as world heritage. I do not see those settlers in this thread and it doesn’t look like they are concerned (their government will collect taxes from the mine).
Parent commenter might specifically be talking about yellow/white pine, which is notorious for splotchy staining and yellowing over time, which conditioner can mitigate a bit.

If you're working with oaks or hardwoods, I agree with you.
Well said. I learned about this incident from the coverage in the NYT, and this was exactly my sequence of reactions. I remember thinking, “wait a second, did I miss something?” at one point, and re-reading the article from the beginning.
Through that sort of reasoning, computers have never been invented. They are just a natural evolution of mechanical calculators. I mean, sure, but that definition of "invent" is so narrow as to be meaningless.
1) Since SF hospitalizations flatlined 2 months ago:

https://www.sccgov.org/sites/covid19/Pages/dashboard.aspx#ho...

2) Since it turned out the US can't do testing and tracing
Another reason why it's less fashionable to call it the Dark Ages is that that's a more Western centric look at that time.

It was actually an interesting time to be in Asia around then.

John Green does an excellent "Crash Course History" video on the topic if you're interested.
> But why does anyone think there is such a thing as herd immunity for Covid-19?

I suppose this depends on what the null hypothesis is? Is the null hypothesis "You have immunity after being infected" or is it "You don't have immunity after being infected". You assume it's the latter and you're saying there's not enough evidence to reject it. But you could just as well assume it is "You have immunity after being infected" and we're gathering evidence to see whether that can be rejected or not.
I think the main argument is the same as other comments pointed out: by factoring out code to separate functions, either they're functionally pure (and this is often hard to do, so much that none of your example functions were) or they're mutating state, which is something you want to have very clearly under your eyes, especially when you're in 'reading mode'.
I built the backend for my knowledge-base platform[0] using Flask originally, but performance was definitely a struggle so I rewrote the whole thing with FastAPI. Have definitely seen a serious performance bump from that switch, and currently am quite happy with it. Many of our users are actually impressed with how fast everything is on the platform.

I still want to rip out SQLAlchemy ORM and replace it with pure SQL via `asyncpg`, as SQLAlchemy ORM is not async and that causes a bunch of extra switching in the backend that certainly doesn't help eek out more perf, but at the moment it's a bit too much effort and users are happy.

Scaling is handled by just throwing more instances of the application at the problem, behind a load-balancer.

[0] https://supernotes.app
I've had covid. Will I be immune in 6months? 12? 18?

We don't know if herd immunity is even a thing.
I am Polish so I may be missing some nuances here... but my understanding is there was no such thing as transferable right of ownership in aboriginal cultures. This came with western civilization because, whaddayaknow, it always needs to convert other civilizations to its way of thinking to even be able to communicate.

The would ignore the local culture as much as possible. Ask for the chief around here, come to him, plant the seed of thinking he actually is a king, and then it is easier to talk to just one guy than get everybody in agreement.

This is better explained in "The Origins of Political Order" by Francis Fukuyama, if anybody is interested.
Blosc is an outstanding project. I have used it with great success in finance and general data science in production with very large total datasets (one custom binary format and one leveraging protobufs).

It really shines first and foremost as a meta compressor, giving the developer a clean block based API. Once integrated (which really is quite easy) you can experiment easy with different compressors and preconditioners to see what works best with your dataset. These things can be changed at runtime and give you great flexibility.

Francesc has been advancing blosc consistently with a steady vision for years and years. It is one of the most underrated tools around IMO.
If you want to have a space intensive hobby then you have to be able to afford the space. This requires either being rich or being somewhere space is cheap or some middle ground between the two. All hobbies have opportunity costs. If you have high culture related hobbies then you are probably going to want to be in a major city which comes with its own trade-offs.

I do metalworking. One of my good friends does woodworking. We both live in <1500sf houses and do our hobbies in our basements (I specifically bought a house with a walk in basement for this purpose). The trade-off is that we can't turn our basements into bars, mancaves, TV rooms or sex dungeons. Oh well, just like any other hobby there is an opportunity cost. We both have more money sunk into random odds and ends hand tools, extension cords, lighting, fume extraction, etc. etc. than we do our big tools.
Actually, it has been done before and seems to have worked:
https://www.npr.org/2020/06/08/872470135/new-police-force-fr...
The reason USA Today's coverage is best is because the real reporting is coming from the local newspaper, Louisville Courier-Journal. They're a Gannett property so it ends up getting published through USA Today as well.
> That's 20 years at the current rate of doubling.

Correction: more like 15 years.
Scanning for Security Vulnerabilities with Pipeline
Agreed about the TLA docs, but it is worth persisting, as TLA is very useful in some situations. These slides cover the basic syntax enough to get started.

https://www.slideshare.net/ScottWlaschin/tla-for-programmers...
The best replacement for sketchup these days is OLD sketchup (version 8), from ten years ago. You can still get it. More on that at http://woodgears.ca/sketchup
> there is no alternative for Linkedin

In Germany there's XING which I think has a similar purpose (professional relationships, both for contractors as well as employees) and is relatively popular AFAICT. I'm not on XING, but what I heard about it from colleagues is that when IT contracting was at its height not so long ago they got several "cold" contacts per week from desperate people (MBA types, mostly) that have neither customers nor projects nor professional experience. Don't know if this is representative of XING; it might actually be not half-bad. But then the way the consulting business works here is that customers rarely approach freelancers directly and use agencies instead.
TIL thanks
When I go pickup food on my own, there’s still no tip money flowing to the kitchen (or anyone else).
One thing to keep in mind is that wood is more expensive the larger it is. Learning to assemble large panels from smaller scrap -- either decoratively with rails holding smaller panels or by just gluing everything together into one big flat panel -- can let you trade time for money in your projects.

Smaller pieces will typically cost less at the lumber yard, and it also makes it easier to work with salvaged wood -- you no longer need to find big pieces to salvage, you can salvage a lot of little pieces and build them up.

Also note that salvage isn't just dumpster diving -- at auctions and sales you can find large things people made for particular purposes that no one wants, and break them down for raw materials. I've picked up a couple hundred dollars of dimensional lumber for a $5 bid before because it was in the form of a 9 foot tall viewing platform for refereeing volleyball games.
fixed that page.
Clarity has lots of brackets. I like that the file/document is the contract, like back in the days for Curl Content Language.
Will they be immune in one year? Two?
No human vaccines have ever been tested for any coronavirus.
The easiest way to reach your dreamed MRR as a Solopreneur – with no budget
Has this been extensively discussed on the front page yet? There’s a lot to unpack here.

I also like the NY Times article https://www.nytimes.com/2020/06/11/us/seattle-autonomous-zon... and this Facebook status as information sources : https://www.facebook.com/605305752/posts/10157217465630753/?...
Does anybody know of any Indian youtube channel/blog/website which dispenses similar knowledge. I am deeply interested in pursuing woodworking and such in my spare time but haven't been able to start because of paucity of resources applicable to Indian context
No activation was not removed, a license is still required.

Is still a modified version being distributed but license activation was not circumvented.
The first paragraph of the chapter on unsafe rust in TRPL reads:

> However, Rust has a second language hidden inside it that doesn’t enforce these memory safety guarantees: it’s called unsafe Rust and works just like regular Rust, but gives us extra superpowers.

I disagree that “{ X }” and “unsafe { X }” are the same. The former is provably safe if a bug free rust compiler accepts it. The latter leaves the burden of proof on the programmer.
> You're clueless, it is directly relevant, you said "copyright laws are neither moral or immorral"

I actually said that copyright itself is neither moral nor immoral, which is a completely different statement.

Any particularly copyright law can be as immoral as you want it to be, but the idea that somebody can retain rights over content they create is not immoral. You could easily create a society that didn’t have such rights, but the outcome would certainly be much less content, and much more restrictions put on it. You complain about copyright destroying video games history, but copyright is the only reason that history exists to begin with.

Your examples harmful copyright abuse are irrelevant first of all because they are not copyright able. The alphabet can not be copyrighted, and neither can an idea (that would be a patent, which is again a completely different thing).

They are made even more irrelevant by the fact that such “harmful” applications of copyright are not relevant to this situation. The copyright in question is not of a word, or the alphabet, or an idea, or the work of some long dead author. The copyright in question here is entire recently released books.

The idea that somebody who writes a book, or creates a movie, or a video game, can retain exclusive rights over its distribution for a certain period of time is not generally classified as copyright abuse. To characterize it that way is a very extreme, niche position.
Well, that's pretty screwed up. For comparison Czech hospitals also scrapped anything non essential during the worst part of the local outbreak, both to have capacity for treating coronavirus patients and to reduce the chance of infection spreading through hospitals. At the same time a strong lockdown was done country wide.

This was apparently effective with cases limited to a few clusters at the moment & most of the lockdown restrictions removed by now.

Were the hospitals affected ? They did report funding shortfals right after the lockdown due to all the cancelled elective procedures, so the ministry of health simply gave them extra money to cover the lockdown loses. And at the moment most hospitals are back to normal workflow.

Also, the people involved in directly handling the infection got bonuses as a thank you for doing the needed but dangerous work.
Finally willing to migrate to Open Source and Linux OS yet ?
Exactly this. I learned this principle from a recent HN post:

The Paradox of Abundance: The average quality of information is getting worse and worse. But the best stuff is getting better and better. Markets of abundance are simultaneously bad for the median consumer but good for conscious consumers.

You just need to curate your timeline. You have the tools. If you timeline looks bad, you probably haven't curated it properly. If it still looks bad after curation, then perhaps it's time to take a long hard look at your friends and acquaintances!
Aboriginal culture is an evolutionary dead end for humanity. It's currently dying and had no influence on culture, technology or other human things. And so, if I may be so blunt, it's heritage isn't as important to preserve.
That's a nice pet project, congrats with HN 1st page) Out of curiosity: was it really nesessary to build a mobile app, what are the benefits compared to web-app?
The addiction to news/social media is similar problem, like smoking, but destroying brain instead of lungs.

Good point with mental health, maybe we should make psychological checkups common thing, like health or dental checkups, every year or so and not when we're sick.
As someone who hasn't explored the service, thanks for taking the time to do this.
How would you remove the third floor of a 5 story building? I'm sure its possible.
An effort to archive all of Bitbucket Mercurial content
Your suggestion that there is any kind of scientific consensus at this point is wrong; the experts are still very much divided. And right now the most prominent and most frequently cited experts are those that made one wrong prediction after another.

Sometimes the media cites the wrong experts. Like with "Iraq has weapons of mass destruction" and "Hillary has a 99% chance of winning the general". In those cases, too, the experts that disagreed with the mainstream view got basically ignored until it was too late.
>From the patents it looks like I can thank inventors Mr. Krause and Mr. Chernov for their freedom sucking, major appliance disabling, communist, 1984-esque idea.

GE is, historically, among the most anti-communist of all American companies. Its role in breaking and/or corrupting major unions and collective bargaining rights in the post-war era had few equivalents. GE, as well as the US patent system, exists in absolute service of the capitalist system.
You don't need every tool. There are multiple ways to get the same job done. There are some things I'd consider essentials. A table saw, drill, some decent chisels, and maybe a #5 plane. And you can get pretty far with that. You can get started for < $500, and be productive. A band saw is a nice addition as well. A planer is a super productive, and nice tool to have. I'd be lost without mine. But I COULD use a hand plane. It's just slower. I dream of having space for a large 8" jointer, but I don't so I get along with my #7 hand plane just fine. Honestly though, that #7 is a luxury too. I could do everything with just a #5 hand plane.
For both personality and preference vectors, it would be great to see data from the data from OKCupid, from its good old days (https://www.reddit.com/r/gwern/comments/aapn1l/okcupid_blog_...).

Even more, since for questions there are:

- questions one decided to answer (which says something on its own)

- answers

- declared answers they accept in their partners

- actual partners they pursue (judged by matches, or dates)

While I expect that mostly similarities attract (so-called associative mating), there are compatible traits (e.g one person loves to listen, one person loves to talk), and there is the level of lack of self-knowledge, or hypocrisy (what we SAY we like, vs what we actually do).

And then e.g. probability that person A likes person B can be expressed as:

sigmoid(actualPrefVecA * personalityVecB)

...and with gradient descent magic, we can turn people into vectors!
Because Microsofts claims where not about a illegal distribution of windows and it's a modified copy but not a cracked copy. (Still illegal).

This means it was just a easy way to run a modified windows which still required a working license key.

Or at least that is the point the article is making.
I wish it was just the game makers needing to build for another platform which is the problem. Unfortunately a large problem is also graphics drivers. NVidia and AMD don't do much to help the open source community / linux with the development of their drivers, meaning they don't harness the power of the cards often times by significant margins comparing with Windows. There are other technical hiccups which make a difference as well.
Targeted ads are not evil. Hitler is evil.
I criticize HN all the time, but it has very strong points because it resembles the old Internet. No gifs, no pics, no videos, no graphical bullshit. Just text, this serves as a huge filter.