skysight-inc/HackerNews huggingface dataset:
There's two separate issues here. Privacy should be a right, I agree. But also we shouldn't tolerate our countries becoming authoritarian police states. It's already happened in the UK early, Australia and Canada are well on the way, and the US isn't far behind. Good privacy as a substitute for a government that isn't batshit crazy is not going to work in any event. Advocate privacy, but also advocate not letting giving power to insane elements of our society like this.
Not CLI related but here is a petty example of Apple taking something that worked for years and just dropping it. 1080i (interlaced) display support. My home theater tv supports 1080i but not 1080p, and I’ve been happily powering it with a Mac Mini running Kodi. A few years ago I “upgraded” macOS and lo and behold Apple just -decided- that I don’t need 1080i anymore and dropped support. No good reason, just “Fuck you, user. You don’t need this.”

Apple’s recent history is full of these “we know better and you don’t need this” decisions.
Re: ACID guarantees

It doesn't have a notion of atomically batching multiple statements, i.e. transaction. But beyond that, it's a single file database,
which can only have a single process (learndb instance) that is operating on the database (file). So you get consistency and isolation via being a single connection database. Durability, you get to the extent that the file system is durable. So it's somewhere on the ACIDity spectrum.

Re: Query planning/optimization

I haven't implemented this; but I've considered where the optimization could module sit:
The parser spits out an AST. This or a derived intermediate representation could be optimized,i.e. the AST could be rewritten or nodes deleted,
before the VM executes the AST.
After 6 months people fall off the list, and also many people with high salaries don’t bother applying for the meager benefits.

It also isn’t specific to tech so a slight decrease in unemployment outside of tech would mask tech unemployment.
still doesn't discount the 1/N drop in pay to go into the military.
>The existence of one car under that price doesn't dispove anything

The corolla isn't some niche car. It's the 12th best selling car in america with 222k units sold per year.

https://www.caranddriver.com/news/g39628015/best-selling-car...
a friendly reminder that (a) ipfs is only as alive as there are seeders and (b) seeders ips are public just like bittorrent

There was a recent Cult of the Dead Cow release that claims "encrypt all the things, Tor but for phones" or some such but I haven't studied it to know how much is aspirational https://gitlab.com/veilid/veilid#welcome-to-veilid https://twitter.com/VeilidNetwork https://nitter.net/VeilidNetwork
Back in the summer of 1989, I did an internship at Imprimis (later bought by Seagate). The big thing they launched that summer was the Wren VII hard drive, which was the first consumer hard drive with 1GB of storage. It was massive!

I learned a lot about Statistical Quality Control that summer, and built them some tools for improving their SQC across all their models.
> C++ doesn’t get this treatment when it comes to template metaprogramming

Quite sure a lot of people hate C++'s template programming.

> They’re simple enough that they can be explained in a short article, so that causes people to write lots of articles about them.

Or ... there are a lot of articles because people keep finding new ones to read because they still don't get it after reading the previous 100 articles.
Interesting dichotomy of responses here that reinforce my belief that dev salaries are bimodal or even trimodal. I'm still getting recruiters daily in my inbox and LinkedIn for web development in React, Node and TypeScript. I guess full stack still is in vey high demand because it's the actual skill that is for building the core product while devops and the like are not as important, as they could be deferred once product market fit is reached or even maintained initially by full stack engineers.
I am curious how this differs conceptually from "Basic English" which always struck me as quite linguistically naive. English is full of prepositional verbs like "shut up" that have a specific meaning that you have to just memorize. So when you're listing out the "vocabulary" of some reduced version of English, you have to count "shut" "up" and "shut up" as different words. Or "break up with" to mean to end a romantic relationship. It's a set phrase with a defined meaning, not just a phrase whose meaning is apparent from the words used. It needs its own entry in a dictionary.

edit: Not to mention compound words in English, which any linguist would say are just one word ("hot dog") but because of spelling conventions, people tend to parse as two words. (In English, you can tell when something has become a compound noun by the stress pattern; John McWhorter calls this "backshift" and it's also the difference between the noun and verb forms of words like "record" and "rebel.")
Getting a bunch of hackers to do AI challenges is a free way to find problems with your AI models and fix them.
Yeah, I believe which order is best (sortKey/filterKey or filterKey/sortKey) really depends on the specific data/queries, best to try both and pick the best one - looks like sortKey/filterKey in this case :)

But I think this does show how, for specific data/queries, sometimes you do have to denormalize, so that you can create the ideal compound index, for specific problem queries. Should still go with normalized schemas and joins as a default, but if problem queries pop up like this that are taking 10, 20, 30 seconds sometimes (when caches are cold), compromising a bit on clean schemas/code for performance makes sense.

I also created a benchmark here, for Postgres: https://gist.github.com/yashap/6d7a34ef37c6b7d3e4fc11b0bece7...
For water, grass doesn’t matter. Golf courses don’t matter. Californians water “shortage”, like its housing crisis, is a political choice. In this case, it’s entirely a problem of agriculture.

(The other arguments against ornamental lawns are valid. As someone allergic to many grasses, I have no love lost for lawns.)
Oh man Lexx was great. Uniquely weird and initally mostly softcore porn, but great.
Rationalist Ivy-league haters community thinks their resume is all that matters.

According to PG, this is the exact time for them to be hitting it out of the ballpark doing a startup.

Swing harder, people!
I realise that (with some additions, certainly - it has imports) I just don't think embedding it in a string is 'really nice', personally. The 'developer experience' will be crap or reliant on hyper-specific tooling; so likely crap. (The RHS of that 'or' will be too niche to be good and well-maintained, probably.)
I (29) had my aortic valve replaced (On-X mechanical) and an aortic graft done literally 8 weeks ago. The full procedure is called a Bentall[1]. It's pretty wild.

The mechanical valve was the best option for me as an active young person because it should last my whole life. Tissue values wear out in about ~15 years from what I've read. Sometimes closer to 10 if you are an active person. The warfarin and INR management is a little bit of a bummer, but I was provided with an INR testing device free of charge, which was rad.

I also wrote a blog post[2] about some of my experiences, although I've yet to write anything about the time post-op.

[1]: https://en.wikipedia.org/wiki/Bentall_procedure
[2]: https://finn.lesueur.nz/posts/a-heart-murmur/
I went for the first time this year and I’m very happy I did.

It’s an extremely unique experience.

I have no doubt it was better when it was smaller and more underground but that doesn’t mean it’s bad or not enjoyable now.
What is the goal of this PR piece then?
When coasting backwards, the rudder seems to turn the boat in an unrealistic direction
1. If you don't see any problem with this line of reasoning, I invite you to look at the unemployment rate after the Fair Minimum Wage Act of 2007 was passed.

2. Looking at "unemployment" is what the study was specifically trying to avoid, because you could cut someone's hours but keep them on payroll. If you only looked at unemployment figures and average hourly wages, you might conclude that raising the minimum wage was an unalloyed good. However, if you drilled down to hours worked you'd see that they were taking home less per week.
in a string. I didn't say the DSL was novel. I learnt BNF too. (It does have extras that are either unique to it or standard beyond my familiarity though.)
No, it's going to housing. Auto expenses are trivial, but housing, especially where the jobs are, is astronomically expensive. In the expensive housing markets, contracting prices (new roof, electrical, remodels, landscaping...) are all priced far higher than other places in the country.
I see. So the only allowed anti-immigration position is "we want to stop immigration for no reason whatsoever". As soon as a reason is given, like, "there's too much immigration, we want to reduce it to 'normal' levels" or "we don't like the kind of immigrants we're getting", that position oversteps shared values and is grounds for a ban, regardless of what voters want?

> AfD never, ever, wanted to stop immigration.

https://en.wikipedia.org/wiki/Alternative_for_Germany#Immigr... says otherwise - they want to reduce it to "small numbers of skilled immigrants". Granted that's not the same as zero immigration, but that's splitting hairs.
Thank you for pointing that out - I had assumed that things were not how they are.

Although performance has varied over time https://arxiv.org/pdf/2307.09009.pdf I also notice that the API allows you to use a frozen version of the model which avoids the worries I mentioned.
> I've never personally understood the desire to release anyway

I work alone with no deadlines. Sometimes I have to release something or I'll never finish. Perfect is the enemy of the good, as the saying goes. I often realise that half the "blockers" are actually nice-to-haves that I'm willing to complete much later.

However I don't consider the thing finished, only released. In a dev team, the post-release bug-fixing and refactoring never takes place. Managers immediately move on.
Been losing my hair a bit more over the last few years. Not going to do anything about it, mainly because I'm not that vain. Plus, I'm hoping to go full-on Sir Patrick Stewart. Definitely won't be as cool as he is, though ...
Competitive*
There are only 3 data structures
You can't be serious right? I don't even know where to start.

Because if your product has critical security vulnerabilities or design flaws, you won't be in business very long? Or look at it this way, your product will put the Security of others at risk?

If this isn't a joke comment, I'd remove your job title from it.
I'm not sure if this is very obvious or very interesting. Let me know what you think (I wrote the article).
Oh fair enough! I didn't realize the search feature only worked for paying users. TIL.
> what would you accept as qualifying evidence

Party leadership making apologies for Nazi Germany or support for Nazi/equivalent policies, or tolerance of party members behaving in such a way.

> There's a protocol

OK, so they were not found overstepping the red lines yet, only problematic and dancing on it. OK, this may change in the future. When the relevant institutions make the judgement, then it should credible.

> say you want to create

Sorry, I can't play this game. But you have a point, yes smart Nazis would try to do that.
Actual title: Microsoft fixes flaw after being called irresponsible by Tenable CEO

Maybe they need an Azure SP3 moment?
Presumably this was while job hunting.
A VCR is not circumventing anything. It’s more like the DeCSS code required to watch a DVD in VLC.

The solution is to host the software in a country that doesn’t have laws against distributing circumvention code, this is how VLC does it. If you host on GitHub then you’re at the mercy of US law.
yes, but checkout the redundancy that filecoin nodes offer, they basically pin IPFS for free, not intentionally its just turning into a killer app for filecoin

https://web3.storage

competes with the web 2.0 SaaS pinning services like Pinata
That's hilarious! Some of them look like they're trying to create those images on google search where it's a "horse shoe" logo of sorts.
All true enough, but the Kremlin has bigger fish to fry than a 
indie game dev
 sci-fi author posting on Instagram.
Tech salaries in West and South Europe indicate that there is no shortage.
Yes. They install them just for aesthetic reasons, not to ever switch them on.
OK. This article claims that mainstream media is running a scare campaign about climate change, hence the "chicken little" in the title. It suggests a conspiracy, and uses a lot of affective language (words and phrases designed to appeal to emotion rather than reason) rather than building a logical case. To people like myself who have experienced natural disasters unprecedented in our lifetimes, which the vast majority of climate scientists agree are caused by global warming, this kind of article is insulting and belittling. It's not science-based, and it tries to use rhetorical tricks instead of solid arguments.

There, is that any better?
> This is the enterprise equivalent of putting up a landing page and collecting email addresses.

My experience is that people who do Show HN’s like this are universally hated.

> Salesforce uses the same lean product development concepts that we espouse here.

Right, so they deliberately lie, mislead, conceal and exaggerate claims about their offerings and that’s okay because it’s in the YC guidelines?

Whatever helps you sleep at night I guess.
If someone has to save democracy by destroying it through thwarting its democratic processes, did they really save democracy?

To be clear, I do not welcome the resurgence of the far-right. But blaming voters for voting in ways you might not prefer is like a movie director blaming the public for not enjoying their movie or a chef blaming diners for not enjoying their cooking; it is utterly wrongheaded. The question for the left and centrist parties is how they have failed so utterly and pathetically in presenting a compelling case to the public to vote for them.
Not that intuitive, as the country has a language in common and one can simply drive from Bangor to LA without any local government asking questions. I have the impression cultural differences spring more from the economic and educational ones, unlike Madrid and Moscow, which have very long histories that are almost completely disconnected for most of that time.
Everything is insanely good. I sometimes wonder if it’s less known only due to its too-clever name
Show HN: Lieut – An opinionated, zero dependency, framework for CLI apps in Go
Lieut, short for lieutenant, or "second-in-command" to a commander.

An opinionated, feature-limited, no external dependency, "micro-framework" for building command line applications in Go.

I just published a tagged version of this project that I created after pulling it out of another project I'm working on.

I basically standardized some of the ways that I create CLI apps. If you're curious why I created it, I mention why in the project README.

Let me know what you think. Thanks! :)
An even easier way is to add type parameter to every AST that resolves to either a type or null. It can be relatively easily implemented using type families in Haskell. And it doesn't suffer the tying the knot shenanigans. The main advantage is that you can still reason about your AST in a straight forward generic manner. In fact this is not only useful for typing. Any kind of metadata that needs to be added can be described in this way.

In a compiler I build you had a simple ASTState type parameter for every node in the AST which indicated what is available in the AST. But you could traverse over the entire AST generically as long as you did not depend on any of the additional information.

You can basically lift the implementation from this paper: https://www.microsoft.com/en-us/research/uploads/prod/2016/1...
A few years ago a similar move was making rounds in the US to promote increasing of the visa quotas or reforming the system due to the “shortage”

Edit: 2013

https://www.brookings.edu/articles/h-1b-visas-and-the-stem-s...

2021

https://www.cnet.com/tech/tech-industry/h-1b-visa-reform-is-...

First you plant studies in the news, then you can quote those studies when lobbying lawmakers

Edit2:

The issue dates back to 1959. There’s always been a “shortage”

Kenneth Arrow: https://www.jstor.org/stable/1883726
s/receives/sentenced to/
They could probably dramatically reduce the amount of water used by agriculture while still having plenty of agriculture.

Decades ago, I saw an article about making little basins to capture rain water in the right amount to sustain a tree in the desert to grow fruiting trees in places like the Middle East using natural rainfall in order to increase productivity of arid lands without stressing the environment. I don't believe this is standard practice anywhere in the world, much less a "developed" country like the US, but there's no reason it couldn't be a common practice someplace like California.
We have the sole printer (laser) in our extended family, so we wind up printing a lot of shipping labels, tax documents and recipes. Occasionally handouts or flyers for something, map excerpts or directions for a trip where phone signal may be iffy.
printer bad is a common meme here.
First, great project. Second, the code is very readable. Finally thank you for excellent comments.
Is More Job Hopping Among Younger Workers a Good Thing?
I think that part of what keeps Londo sympathetic is that, for all that he makes terrible choices and goes to some dark places, he's not doing it from self-interest. He wants to do what's best for his people.

In a weird parallel with a later highly-regarded genre character, he actually has a lot of similarities with Zuko from Avatar the Last Airbender. Particularly in the whole arc of rejected chances to do the right thing.
This is what GPT4 came up with for the translation:

> The text you provided is in Toki Pona, a constructed language with a minimalistic vocabulary. The translation to English is challenging due to the highly context-dependent and simplified nature of the language. Without further context, here's a rough translation:

> "When I count many things, cutting things is not possible. When one new thing comes, I increase the count by one. But I can't increase the count by cutting it. In the case of counting many things, this is not possible: two things and a cut of one thing exist. But when I count large things, cutting all numbers is possible. When something becomes large by cutting one, I can increase the count by cutting one. Cutting can make everything small. This counting method can count large things, long times, and hot things. In the case of counting large things, it's possible: when I write a number, this writing can count it but is not the same as writing a different number. But with many numbers, its writing is always large and cannot end."

> Please note that the translation might not capture all the nuances, and the interpretation may vary based on the context in which the text is used.
Optional types can get you for sure. I've been doing this with typescript and it's been alright. Prisma -> my domain model -> ApolloServer
I tend to agree, in Windows 10 I've found I get less Defender notifications than I ever did.

I can't remember the last time I saw the Defender UI
Long long time ago someone rewrote/ported SQLite from C to C# -> https://code.google.com/archive/p/csharp-sqlite/wikis/Letter... - note how welcome Dr. Richard Hipp was on the effort!

Probably here on github -> https://github.com/CsharpDatabase/CsharpSQLite - and possibly some more clones after that.
Elon Musk possibly made unsolicited bid to buy US Steel($5B) for $X stock symbol
I keep seeing claims that modern C++ is functional but that is simply untrue.

Most so called functional methods in the standard library require mutating the target (ie std::sort, std::transform, etc.) They are not ergonomic because we have to pass begin and end as arguments, which also means they cannot be chained.

Lambdas are hard to work with because it is difficult to track the lifetime of the values they borrow.

std::variant, std::visit, std::optional have a clunky interface. And because they are not part of the language, they often make it difficult to represent structures that would be trivial in languages with tagged enums (for instance a tree or a Linked List are difficult to model with std::variant or std::optional.) The compiler is also not able to assert that data is present in an option or that the correct variant is accessed.
We are talking about the same UN where Russia has veto power on the security council?
Increase the pool of software engineers, specifically in New Zealand, so companies can hire more easily and don't need to increase salaries.

Here's a tip for reading PR pieces: if a company is mentioned in the article and one of their executives is quoted, they are almost always the ones who paid for (and probably wrote) the article. Here, it quotes "NZTech CEO Graeme Muller". If you click through the one link in the article, that one also quotes NZTech CEO Graeme Muller, and all the source data is from NZTech. Reading through it, you see that NZTech is an industry trade association of New Zealand's tech companies. They have a pretty obvious vested interest in increasing the pool of tech workers in New Zealand.
> With Google, their motivations are very clear

When people have said they don’t trust Google, that’s precisely the reason they give. Conversely I trust Microsoft and Apple more because their motivations are also clear, and less in conflict with my interests.

I’ve no doubt that Google, Microsoft, and Apple are all equally horrible when it comes to negotiations behind-the-scenes. I’m sure they abuse KPIs as much as each other. As a customer none of that matters to me.
I still buy CDs from time to time. Sturdier than vinyls, no copy protection, harder to accidentally delete than a downloaded MP3 or Vorbis. So I have a few precious albums that (until the plastic degrades or my home burns?) I'll always have.
I assumed this to mean "around 1". But really, why be coy in a scenario like this? Just say the damn number... it's not going to change anything.
'queue ID' is their own term in doc I linked.
It has to be a joke. The comment lacks the playful tell of good sarcasm, but nobody with half a brain would ever say something seriously in that manner.
I print off journal articles when I need to read them really carefully. Proofreading and editing stuff I’ve written is also a lot easier on paper.

People with young kids seem to print a lot too: colouring book pages, pretty pictures, and all kinds of forms.