skysight-inc/HackerNews huggingface dataset:
> So the human rights violation is essentially being committed by the population themselves.

Yes, but people have the right to sue the population itself. Usually the legal system comes with ranks, and if a higher rank rule contradicts a lower rank rule, the higher rank rule prevails. Usually the constitution is at the top, then come international treatises, laws, then contracts. So if a law has been voted by the people and it contradicts the constitution or a treaty that has been signed, people can complain.

Imagine, say in the US, a state decides to pass a law reinstating slavery, and for some reason, there is a majority of supporters (because the would be slaves are a minority), and the law passes. Anyone can can then complain and have the law repealed even if it was accepted by the majority, because it contradicts the constitution. The constitution can be changed too, but the requirements are much more stringent than a simple majority.
Hi, thanks! I've tried updating it to make it more user-friendly, so ppl don't have to go to Github to copy the blocks, but can do it directly on the website :)

Makes more sense this way.
I like the way you think but 2b might prevent that.
There actually was a podcast around that concept when (I think) GPT2 was current.

Basically one generated story per day. Absurd in places.
Just read the best Python book that's out there: Fluent Python; enough said!
> "Free speech" doesn't guarantee no repercussions for what you choose to say --- particularly when what you're saying is not true.

It does in the abstract sense. It's about "freedom from government-imposed consequences".
>Money supply and central bank assets are causally related; it doesn't make sense to link them.

Literally causally linked unless the bank ratio goes to 0 for some reason OR they start mislabeling liabilities as assets.

https://tradingeconomics.com/united-states/money-supply-m2

You'll notice a vertical line in M2 during covid; with complete corresponding increase in the balance sheet.

These are completely linked and its bizarre to see someone saying it doesnt make sense to link them.

The good news, in an attempt to clean up inflation, they have reversed course on their money/deficit printing.

>Debts, yes, though the most common measure is GDP. Here, again, the number is high [1], but that has nothing to do with anyone being bankrupt. And there is vigorous debate around where the optimal level is. (When the CB's balance sheet is small, it loses monetary policy tools.)

I highly recommend various open courseware classes on this.

Perhaps your confusion is the word bankrupt? Which isn't applicable to countries as I said.

>?Sorry, point me to the authoritative source on the optimal size of a central bank's balance sheet?

I'll just use your first link.

1960 to 2007 is the optimal size; or at least in the right area. It's obviously not some PERFECTION or something.

It's obvious to me and all other graph readers. It was just fine for 47 years or more.

Then a financial system crisis broke them. If you dont wish to call this bankrupt, afterall that's a word for individuals.

Thanks for providing a source to prove me right.
> current_timestamp will not work properly when wanting to set the default date to the current time. This is because current_timestamp does not include timezone information and therefore when parsing the date string from the database, JavaScript will assume it is in local time when it is in fact in UTC time.

This might be the answer to an unusual date bug I noticed years ago but haven't prioritized fixing in a personal project. TIL!
Good point :)

Edit to add: just found https://keys.lol that does exactly this, but generates a few dozen at a time and doesn't store the results.
It is whataboutism to complain about court action against a bad thing the basis that others, outside the court jurisdiction, will still do the bad thing.

> are going to have the net effect of at best kicking the can down the road a few more years.

All individual climate initiatives "kick the can down the road N more years" when viewed in isolation. What you need to look at is where the can started, and how to get people to keep kicking until it makes it all the way off the map.

Phasing out CFCs kicked the can N years, phasing out HCFCs and HFCs kick it N more, tightening up emission regulations and not having individuals commute in 12 liter hemis with cat delete and coal rolling mods kick it N more, tightening up international shipping emissions another N years, etc.
The Rise and Decline of Vector Graphic (1985)
Not 100% sure what you mean, but maybe it is what https://ui.shadcn.com/blocks is doing?
I think the hype dies down and theyll become part of a bigger thing, like dense neural networks.
Or ... just generate a few here and there, and eventually, you'll find something. Looks like https://keys.lol is an example of just that.
Switzerland democratically decided to put the ECHR in place. Multiple times, including affirming it in 2018. https://www.amnesty.org/en/latest/press-release/2018/11/swit...
I doubt a comment section will ever be more than just that.

I still mourn the death of traditional internet forums. There you had long-running threads of proper discussions and exchange. After some time you got a sense of community and started to see the personalities of each individual. And if things ever got out of hand, you had moderation that would keep everybody in check.

But that was when the web was P2P.
From https://en.wikipedia.org/wiki/Wii_U#Sales

> By December 2019, Nintendo reported life-time sales of 13.56 million Wii U console units and by September 2022 103.53 million software units worldwide

and

> Despite this, the console had third party releases until 2020.

So software sold in September 2022 can no longer run in April 2024, and you somehow try to justify that by "legacy platform"?

Production stopped, eventually hardware sales stopped, too, but software sales for the locked in hardware did not until recently.
Show HN: My First User
My first user is a twice-a-week newsletter that shares popular posts from the indie hacking and SaaS world. It's a place where people can show off their own projects. This newsletter helps members share their work, learn from each other, and get noticed in a community that loves new ideas and building software services.
Article says "no"

"They can be addictive and cause cardiovascular issues, gum damage, and nausea."

Tobacco companies trying to sell to kids indirectly by making products appeal to them and let "influencers" help out.

Animals that learn they can eat humans always come back for more
The transformer architecture probably won't last and we might start calling them something else, but I can't see something that could reasonably be called an LLM going away any time soon.
> Switzerland isn't some rogue state, the population has legal means to force the government to do essentially whatever they want. So the human rights violation is essentially being committed by the population themselves.

Well, no. Switzerland is not an anarchic commune, it's a representational democracy, just one that makes heavy use of referendums. But just like elections, referendums don't establish consent, they establish majority support. "The population" isn't a cohesive entity, even less so than "the government". If the government is failing to take action and there is no sufficient majority to "force it", that's not "the population" doing it, that's just the majority of the population not intervening (and that doesn't even get into the difference between "the population" and "all eligible voters").

By definition, the ECHR court is the right place to take this if the government refuses to take action and there is no democratic majority for this. If you think the ECHR only exists for "rogue states" that flay their own population in public or turn ethnic minorities into lampshades, that should be a learning opportunity for you to read up on human rights and the ECHR specifically.

> If Switzerland is commiting a human rights violation by doing this, what monumental human rights violation is committed by India. A country which uses the oceans to distribute it's waste globally? How about China, burning endless coal?

This is literally a textbook example of whataboutism but the answer is yes, they're all bad and there are certainly worse offenders than Switzerland.

But unlike Switzerland, neither China nor India are signatories to the ECHR so they're irrelevant to this case.
Thanks! Had to move them, so they can be found in https://github.com/tommyjepsen/twblocks/tree/main/blocks now, but the website is also available to directly copy the code and inspect each block, so you don't have to go to Github anymore :)
Now I get it, my bad.

Yes, his discourse is very political, but he does not come off as a demagogue to me. I personally think that there should be a room in the public discourse for people to come up with unrealistic policies, as realistic ones always require a compromise that benefits those in already in power. It would be very hard to carve out new avenues for social progress otherwise.
The problem with multi-cloud is that the dragons lie not in the functionality--that's well defined by the APIs--but in the behavior.
Thought provoking stuff! I really appreciate how much effort you've put into this.

However, the main reason why this argument is flawed is it omits the heart of the matter: the annotations. Xr0 empowers programmers to propagate safety semantics. A program that is only safe if the Collatz conjecture holds is (surprise) only safe if the Collatz conjecture holds. So in Xr0 the only requirement we would impose is that this program be augmented with an annotation that communicates that it is only safe if the Collatz conjecture is true.

So the flaw in the reasoning is we haven't claimed that Xr0 can prove arbitrary programs are safe. We've claimed that Xr0 can prove the correspondence between the safety semantics denoted in an annotation and a function body. Above there are no annotations given which would specify "this program is safe only if the Collatz conjecture is true". It shouldn't be hard to prove the correspondence between such an annotation and the program you've written, e.g.:

def main(): ~ [
buffer = [0, 0, 0, 0, 0]
x = int(input())
if x >= 1:
collatz_cycle_element = cycle(collatz, x)
print(buffer[collatz_cycle_element])
]

buffer = [0, 0, 0, 0, 0]
x = int(input())
if x >= 1:
collatz_cycle_element = cycle(collatz, x)
print(buffer[collatz_cycle_element])

It's the principle of propagating the safety-determining factors of the function that we're stressing, not some kind of almighty power to judge that arbitrary constructs are safe or not.
Wow. Thanks so much. Didn't know this existed :).
Show HN: I made a quiz app about ski resorts and lifts
I created an app to test your knowledge about ski resorts & lifts from the ski maps I found online!

It is mainly focused on french resorts since this is where I am from but I'm aiming at expanding it and including other countries!
You are right but I think that there's a more interesting question: do humans stumble upon those large interesting/great algorithms in practice?

The key point here is that we are looking at algorithms already discovered in human history rather than enumerating all possible interesting algorithms. Of course there is an interesting algorithm that is very large, but humans don't discover them in practice. If you look up a list of greatest algorithms in history, they will be rather small in length. Many of them can be sketched in a whiteboard

I think that what is happening here is that our minds just can't hold billions of concepts at once. So if you have an algorithm with billions of things, it was most likely produced by a machine. Handcrafted things, on the other hand, are smaller in comparison

Another thing is that our minds like conceptual simplicity and view simplicity as a kind of beauty. So if we have a great algorithm but it is too large, we look for ways to express them in succinct ways (the right abstractions can help with that, and also help with understanding the algorithm better). We end up succeeding because the algorithms themselves had low Kolmogorov complexity (and thus, if they are too large they probably can be further compressed)
> Good luck suing Russia.

But then this feels like suing somebody for emptying his ashtray in a canal where 100 meter further a factory is discharging chemical waste. Good luck suing the factory.
Liability I guess. Similarly, I've imagined making a local-first web app for quickly evaluating sti risk for non-monogamy.

Both would constitute medical advice, and you can't get in trouble for not giving advice. Imagine if I missed one bug (or the underlying math was simply wrong!) and someone got HIV

There are times when harm reduction is an obvious win (narcan I hear is very cool) but in this case it's hard to justify
Actually, isn’t self-hosting and federation more like feudalism and the Big Tech more like a modern central state.

When self-hosting say Mastodon, you have to have a relationship with the hosting provider, the software developer, your users, and any other servers you federate with. This is more reminiscent of the network of relationships that dominated Feudal Europe.

Whereas, if you use Twitter, you basically have just a single, more comprehensive relationship to Twitter, which is closer to the central state model, where there is a central authority that subsumes and manages these relationships.

Also, in a feudal system, if you got robbed/assaulted there would be a very complicated means of trying to hold people responsible as there would be multiple domains and authorities involved. Similarly, fighting spam in a federated model is also complicated. Ina nation-state model, it’s much easier to at least try to impose a uniform standard of justice. Similarly, “Big Tech” can deal with spam much easier than federation.

Also, Apple’s App Store fees do not indicate feudalism. People in the modern world also pay various taxes to governments, even though we don’t have a feudal system.

So I think federation is more like feudalism and Big Tech is more analogous to the modern central government.
> Does this show that in general the most used ML frameworks are a mess? Yes.

Not really ... there is little to no overlap with what a framework like PyTorch does. There is no tensor class, no autograd, etc. Just malloc, a bunch of hand calculated pointers into that chunk of memory, and hand written gradient functions. I assume the intent here is to be educational by stripping away the layers of abstraction to make it clearer what is going on.

Frankly though, this code (all that pointer math!) is a mess too, maybe written this way to make it easy to port to cuDNN which is at a similarly low level (other than having tensor descriptors which make the memory layout more flexible).

If you want to write your own tensor class and reusable NN framework, then the lines of code go up very rapidly. I did one in C++ a while back, and the tensor class alone was 20K LOC.
A couple useful links:

https://intermediate-and-advanced-software-carpentry.readthe...

https://peps.python.org/pep-0020/
They are doing exactly the right thing. A solar panel is still carbon negative no matter how it’s produced.

A typical solar panel will save over 900kg of CO2 per year that results in a carbon payback period of ~ 1.6 years and expected life of 25 years

It is more important to produce huge quantity of panels for the future and than it is to ensure impossible standard of perfection today.
Not sure on how it will evolve, right now the parliament is mostly composed by right parties, and the moderated right party alliances (which won), can hardly do anything without the votes from extreme right parties or the other major party theh socialists (moderated left).

So it depends pretty much how they will do their goverment deals with other parties, as means to get their proposals approved.

From 230 seats, 58 belong to the extreme right, up from 20 in 2022.

There is unfortunely a trend there, and even if we are quite cool on these left/right matters at the population level, it suffices that the new laws aren't that cool any longer.
This used to be a popular explanation for Trump being a loud, weird idiot.

It was kind of reassuring to think he was really an evil genius using chaotic BS to cover up his crimes.

Turned out the reality was far more depressing and openly doing cringe racist stuff and openly committing crimes was actually what attracted his fans and followers, not something he had to hide from them.
Iff you are referring to https://news.ycombinator.com/item?id=39976605 (providing a link to what you're talking about might have been more fruitful), you've not read most of my reply. They mention only data at rest or an implementation bug whereby the server stores all keys at rest in an accessible format (both a similar scenario), which I now understand you say we can still have with server-side crypto, but they don't mention and you don't seem to reply to the transparency aspect that a lot of my comment is about
That is not how I interpreted GP's point. It sounded to me as if they were saying that anyone in tech could move to other industries and make big bucks if the points in the interview were true.

Thing is, even if the points in the interview are false, that would not apply, as devs are not the ones making the shots.

Edit: btw, thanks for the heads-up about the heated seats subscription thing. I hope it doesn't make the point moot.
And the other 78% of time it just creates a bunch of noise that someone has to sift through?
Don't forget the `-fr *` parameters.
Check out this extension: https://dearrow.ajay.app/

Same guy that made sponsorblock; crowdsourced titles and thumbnails. Tends to have good coverage on anything reasonably popular. Also has features to reduce the clickbaitiness of videos that haven't had someone submit better titles/thumbnails.
As a database person, I think most ORMs lack the ability to run complex queries. Sure, for a simple OLTP system, you might just need a few simple joins. But if you store valuable data (otherwise why store it), you will eventually want to ask questions about it.

So this ORM positively surprised me, as you can still just use SQL and get a JS function generated from it.

To bridge object-to-relational mapping, Oracle has an interesting concept called "JSON duality views". Don't dismiss it because it is Oracle, I think the concept is brilliant. The translation from relational to JSON happens in the database, and it also allows you to send an updated JSON back and the DB will automatically run the necessary DML operations. A good example is here: https://oracle-base.com/articles/23c/json-relational-duality...
Lean into Verified Software Development
If you’re using a fully-fledged OS for your secure comms (and using telegram off of a mobile device to start with), this probably isn’t your biggest threat.

Disabling of automatic media parsing as suggested is absolutely a wise choice.

This would be pretty bad indeed if it were wormable.
Is there a way to hand cpan a perl executable, and have it automatically download all the appropriate dependencies?

So far for me it's worked like "Run command -> get failure -> search on CPAN, install -> repeat 4-5x".

For golang it works like "go install <url> -> run command".

EDIT: And to compile something on my macbook and put it on a shared Linux box for other people on the team to use, it's "GOOS=linux go build -o $BNAME_linux && scp $BNAME_linux user@host:bin/$BNAME", done and dusted.

Look, perl was an amazing thing for its day. As you say, they pioneered new language ecosystem features. But that was all in the 90's and early 2000's; since then other systems have built on that and pioneered even better ecosystem features, so that moving back to perl is a big step backwards.
For many dotfile configs such as text editors, aliases or else not involving security, I personally don't care if it's public. Take this example https://github.com/AzogMugen/shortcuts-config/tree/master/ho...
> By using lithium-iron-phosphate as the cathode material, BYD can make the batteries much cheaper.

How is LiFePO₄ "next-gen"?
Censorship is a tool. One can wield it appropriately, or grossely misuse it.
Rhizomes are underground plant stems that propagate a plant, different than rhizobia which are root symbionts of plants.
Setting aside the priors of this comment, I don't think it's any great mystery as to why the US has tended to support the Israeli position.

https://en.wikipedia.org/wiki/Jewish_population_by_country#B...

The US has a higher Jewish-identifying population than any other country in the world, and Jewish people are more likely to be pro-Israeli policy, and they're more likely to influence their non-Jewish friends to be so.
I hope this benefits the living
Most of European citizens support Palestine yet European elites not so much.
Search for dermatology on your app store, there are a bunch of apps that do it...
Are there laws against that “issue”?
>After years of failure, Intel’s iGPUs are the epitome of a failed brand

What are you even talkin about? Intel's latest iGPUs are at the same level or even better at times, than AMD's latest Radeon APU iGPUs.

https://www.notebookcheck.net/Lenovo-Yoga-Slim-7-14-G9-lapto...
That this "honeytrap" worked so easily really says a lot about the low calibre of people holding high office.

If you offer up a nude selfie to someone who texted you 10 minutes prior or just matched with on grindr, you are not qualified to write, review or even vote on legislation for the country.
Show HN: I created a girl generator AI tool
I made https://girlgenerator.online

My wife is an elementary school English teacher, and she often needs cute images for her PowerPoint presentations.

However, finding the right images to match her themes can be quite challenging at times.

So, I took it upon myself to help out with this task, and soon realized that searching for specific images could be quite time-consuming.

I thought to myself, how great it would be to have a handy tool that could quickly and reliably generate the desired images.

That's why I developed the Girl Generator, an AI-powered website that creates images from text descriptions.

But, I can't let my wife use this website just yet, as sometimes the models might generate images that are not suitable for children .

I hope this tool can be helpful to you as well, especially if you find yourself in a similar situation.

The link is girlgenerator.online
> "When one or more of these breakers tripped, a cascading failure of the remaining active CSB boards resulted, thus causing a total loss of power serving Cloudflare’s cage and others on the shared infrastructure."

Background note to HN readers:

Almost zero SaaS providers (or even CDNs) using the term "our datacenter" or showing their datacenters on maps etc. have their own datacenters. It's universal and normal. In general they have a server, a rack, a cage, in shared space, subject to others' policies and practices, and their neighbors.

This can adjust your mental model for accountability and your designs for resilience. You can even exploit this by colo-ing at the same addresses to get LAN latencies to your SaaS provider, CDN, or (sometimes) even cloud provider.
I don't own a crystal ball, but Brent Johnson's "Dollar Milkshake" feels like a reasonable take on this.

https://www.youtube.com/watch?v=da6hMy5sp1M
If you want a more convenient way to do column reordering (and other advanced alter table operations) in SQLite my sqlite-utils CLI tool can do this:

sqlite-utils transform data.db mytable \
-o id -o title -o description

That will change the order of the columns in the specified table such that id, title and description come first.

The same command can handle many other operations such as changing column types, renaming columns or assigning a new primary key.

https://sqlite-utils.datasette.io/en/stable/cli.html#transfo...
Ask HN: How long before an eclipse is it wise/advisable to do your bookings?