skysight-inc/HackerNews huggingface dataset:
Do you have an example for the 'shitting'?

I don't understand how the shitting, and slapping right back is economically relevant. How is it preventing a country or a region from picking a market and becoming a global leader and thus earning high margins? E.g. people have been dissing China's product quality for ages and yet that hasn't prevented China from improving.

As a side note, it shouldn't be an economic disadvantage that Germany exports 30% to the European periphery. Cars are a competitive market with French, Korean, Japanese and American offers. The periphery should be able to make back much more if they specialize in products of a high-margin market. E.g. if I were a politician, I would go all-in on medical research and try to develop some world-leading equipment or cures.
You should get rid of the sign-in to read model. It’s avoidable with a browser extension or incognito, but also makes the medium experience horrible. Almost the main reason me and everyone else I know avoid the site entirely.

Aside, nice work. Excited to hear what you can bring.
Show HN: New Music Notation
Or you can grow hemp to make oil to put in your diesel engine. Much simpler than hydrogen. And you can uses the husks for hempcrete too.
Except now we have to deal with codecs, DRM, color space, and not knowing if your cable meets the spec. Definitely not easy.
Doom Running in Notepad at 60fps
Why are they called petapixel? 3200 megapixels is 3.2 gigapixels, 0.0032 terapixels, 0.0000032 petapixels.
In the context of generics/templates, it is unrelated. GP is right.

C++ templates are duck typed, but with concepts they're now moving towards static contracts on parameters, like rust's trait bounds. No relation to inheritance or the notion of class.
It didn't scale, thats the problem and why we have all those other things now.

Imagine if we required $ billions in public resources to run other mundane software projects people came to rely on.
> Great project but a little too much for the ones of us with only software development skills.

It's a transistor, a resistor, and some wires. The ESP32 boards are trivial to program even without embedded-specific development experience, using just the Arduino IDE and a USB cable.
Google ad became big, television and news papers advertisement became small. The reasons were very obvious.

Google don't need to follow local law and regulations.

Google don't need to employ people to verify content or take legal responsibility.

Google can track users and thus categorize users in much more fine details than television and news papers ever could. A magazine about horseback riding might have a vague idea about who their readers are, but google can find out that a pregnant teenage girl has yet to tell her parents.
https://remysharp.com/2020/11/30/please-disable-javascript-t...
The title alludes to the second line of a speech from one of Shakespeare's plays.

https://www.poetryfoundation.org/poems/56968/speech-friends-...
> Frequently re-visit that "list of things you have to personally maintain" in order to avoid blind spots. When you do this, you might be forced to jog your own memory by re-reading those docs or investigating that old VM.

Amen to that - checklists.
> Making the Constitution easier to amend in the future

I think that any changes that give more power to gerrymandered legislatures (at the state and federal levels) are a bad idea. That's before we consider the problem that politicians don't represent their voters well, due to lax campaign finance rules, and a voting system that leads to "two big to fail" parties.

More modest proposals would be to allow limits on expenditure on political advertising, Zweitmandat MMP for electing representatives to congress[0], and something like the Lodge-Gossett amendment[1] for making electoral votes proportional to the popular votes within each state (as a compromise short of a full national popular vote).

[0] https://en.wikipedia.org/wiki/Zweitmandat

[1] https://www.nationalpopularvote.com/analysis-fractional-prop...
The golden age of the first half of the twentieth century was entirely propelled by new theoretical underpinnings for science (mostly qm). The theories were driven directly by unexplainable experiments.

And unfortunately we are at a point where the conditions under which our theories may not work, are not conditions we can access.
It's not "scare quotes" - it's to convey sarcasm and justified scepticism. Sure, poorly coded third party kernel extensions can have security and / or stability issue. That doesn't mean that Apple is the only one who knows how to write such bug-free or secure system software. In fact, in the past most of the popular application firewalls (and VM softwares) on macOS came with their own kernel extensions and have worked fine without issues, and millions of users have used such applications without any issues. Now that Apple is forcing macOS developers to use their APIs, these software developers are at the mercy of Apple which is exactly what Apple wants - they will now be forced to negotiate with Apple for any changes or new features they want. Apple can now cripple a system developers ability to provide the kind of system software they want to offer to user. End result is that Mac users and developers both lose.
Why is deception right? Even the 10 commandments oppose it.

Deception leads to false convictions.
I have occasionally wondered if the earths magnetic field signature, which is present in solidified rock, could be read from a magnetic tape on which something has been recorded. Never had the analogue skills needed to investigate.
Sounds kind of horrible. PCs have a level of compatibility that is basically unheard of anywhere in tech.

Through whatever historical accident, the IBM PC is... pretty amazing. Things are standardized. Stuff just works. We can choose our OS. We don't have a ton of fragmentation. Distros aren't niche community things developed for specific hardware.

If you can make a single OS image that runs on any device of any manufacturer, the way that one Linux distro runs on almost any PC with any combination of parts, great.

But removing layers of abstraction seems like it could easily lead to incompatibility. I'd much rather have proprietary blobs everywhere than incompatibility.
https://en.wikipedia.org/wiki/Friends,_Romans,_countrymen,_l...
I'd say the main issue here is that in the article, we have

> ts = 1571595618.0

This a timestamp, there is no TZ data required.

> x = datetime.utcfromtimestamp(ts)

Now for some reason the developer cares about UTC all of a sudden?

If the developer doesn't care about the TZ, they should use:

datetime.fromtimestamp(ts)
Notice anything else unusual about the numbers in his graph? Tegmark is presenting his opinion as scientific fact by making up a flow chart and assigning some numbers to each branch that have been pulled out of thin air.

This guy has every right to shout his opinion into the void. That's the double-edged blade of Twitter. But trying to claim your opinion is objective fact by saying "it's science" like Ron Burgundy makes him look awfully dishonest.

I know that's what he's doing because you can't bullshit a bullshitter. I used to do this same nonsense when I was in middle school and I thought I was smarter than everyone else. But I grew up.
I'm intrigued now. :) Was it Turandot?

That's one where the pronunciation is controversial, according to Wikipedia:

https://en.wikipedia.org/wiki/Turandot#Origin_and_pronunciat...
If you're asking why movies aren't shot at 60 fps instead of 24/23.976 fps, there are "HFR" movies shot at higher frame rates: https://en.wikipedia.org/wiki/List_of_films_with_high_frame_...

From what I can find as I write this, the only movies distributed at high-framerates on Blu-ray are Gemini Man and Billy Lynn’s Long Halftime Walk.

Although HFR is technically an improvement, not everyone's a fan of the "feel". Relevant HN thread: https://news.ycombinator.com/item?id=14616930
What's a human child then. My experience is that they develop their own goals quite quickly (although obviously their goals are limited by their knowledge)
Lol. There are no experienced manufacturing staff in the US anymore, full stop. This isn't a matter of the price of labor. The US has forgotten how to manufacture things.

Do you remember when Apple stopped making the Mac Pro in Austin because we couldn't manufacture enough screws? [0]

Everyone gave up post '08. The attrition of blue collar work overseas has been painful, so the recommendation writ large has been to avoid going into blue collar work. Even now if a worker takes on a $20 an hour job, they have no guarantee their manufacturing job won't be shipped overseas again. So why choose that career path for even $25 or $30 an hour? It's risky. The energy sector has this problem more severely than any other in part because everyone keeps talking about phasing out fossil fuels. How much would I have to pay you to take a job that a quarter of the country wants removed?

No one wants a blue collar job anymore either. That was the whole point of going to college: you become educated for the right to sit on your ass for eight hours and act like you're doing something worthwhile.

And now you can do that from home.

Compare that to working a skilled manufacturing job where your every movement is measured in a country.

[0]: https://www.nytimes.com/2019/01/28/technology/iphones-apple-...
youtube-dl https://vimeo.com/370554138

works for me!
* "A Verbal Contract Isn't Worth the Paper It's Written On"

Note that they can be enforzable, but it's very difficult https://www.owllegal.org/oral-contracts-not-worth-the-paper-...

* "Deals fall through"

I recomend to read an old post by pg http://www.paulgraham.com/fundraising.html HN discussion https://news.ycombinator.com/item?id=270809 (145 points | Aug 8, 2008 | 96 comments, it was a long time ago, when 145 points was a lot of points)
24fps has an aesthetic that "looks cinematic" because we have all watched decades of cinematic films at 24fps. From jump cuts, montage and flashbacks to the color saturation and frames per second of film, you've learned an entire visual language over all of these years of watching moving pictures!
> I think they do care, but with limited means they cannot tackle the whole problem at once.

That always seems like such a cop out. Ooohhh, I'm government, I'm so poor I can't enforce the law! Maybe let regular people help. If every time I found a web site that didn't follow cookie rules or GDPR or whatever, I could one-click sue them and get $1,000 or so, I would probably quit my job and just browse the web all day. There are so many naughty sites that count on toothless enforcement, people could make a fortune AND the law would get enforced.
> I didn't realise it would be the same across the UK.

It has to be, that's the definition of a power grid. The relative phase can have minute variations and you get massive power flows as a result, which result in the frequency across the whole grid being the same.

I believe the whole UK is a single grid. The US is divided into three: The eastern interconnect, the western interconnect, and Texas. (Insert meme here.) There are a few DC-links that allow power to flow between them, but due to the expense of rectifying and inverting all that power (necessary for the frequency and phase to vary), they are rare. It's much cheaper to connect directly at AC, even though this requires that everyone on the system run at the same frequency.

Amusingly, this also means that if you could (theoretically arrange enough long shafts and bearings and neglect the curvature of the earth and) orient all the generators on the grid in a line, a single shaft could run through all of them, and the shaft would not twist -- they all spin in precise synchrony since they are, effectively, a single machine.

When a new generator is brought on-line, it has to be phase-matched to the grid. These days there are probably fancy PLCs to handle it, but the simplest instrument is called a synchroscope, which is a motor driven by the phase relationship between two AC waves. You can find these on YouTube, they're pretty neat. Basically if the isolated generator is running slower than the grid, the synchroscope needle spins one way, and if it's running faster, the needle spins the other way. You adjust the throttle on the generator until it's running _ever so slightly_ faster, like 60.00Hz on the grid and 60.10Hz on the isolated generator, (50.xx in the UK) which will make the 'scope revolve once per ten seconds. Then you wait until the needle is pointing straight up which indicates zero phase shift, and slam the switches to connect it to the grid, and that's that!

If you did it just right, there's a minimal shudder and the generator now begins sending power into the grid, its frequency constrained to 60.00Hz and the extra throttle showing up as positive power flow. If you did it wrong, there's a tremendous amount of torque exerted on the rotating machinery by the grid power, which may simply force it into compliance, or in more extreme cases, may shred millions of dollars of equipment in an instant. Bigger synch setups have lockouts that won't even allow the button to be pressed unless the phase is _pretty close_. The most colossal kind of cockup is when someone wired the synchroscope wrong, so the rotation still works (it has to, that's impossible to screw up) but in-phase would be represented by some needle angle other than straight up. Joining the grid 120 degrees out would be a career-limiting event for someone.
Ask HN: Getting into Open Source?
I’m looking to do more open-source for the first time. The main goal is community and to improve my skills in low level development, of which I have none.

Any recommendations? I’ve been watching Andreas Kling build serenity OS and it’s very inspiring to me.

I’m a sr. backend dev doing mostly go and typescript, but want to do more low level c, c++ and systems stuff
Georgism is largely orthogonal to monetary policy. Georgists hold that public improvements to land & location largely have their value captured by landlords, and as a result landlords enjoy large un-earned incomes simply by getting there first. This misallocation of resources can be fixed with a land-value tax, which returns the surplus to the state where it can be allocated to more public benefit projects, up until the return from those projects is less than the cost in taxes.

Inflation and central bank policy is separate from this. If you have a highly inflationary monetary policy, landowners will still reap the benefits of inflation in increased rent, and they will still turn a profit on mortgages, which are paid back in dollars that are worth less. The main difference is that they'll also have a LVT that grows with inflation, and so they face continuous pressure to keep the land is uses that generates the most economic value (rent). But unexpected inflation is effectively a discount on their purchase price, if they pay with borrowed money; this doesn't change under a Georgist system.
There also might be a shortage in training or apprenticeship. You don’t export jobs and experience for 40 years and then expect workers to magically have the necessary skills from the get.
Yeah, I'm torn on this. I wrote C in emacs for 20 years, and still do. But when I write anything else, particularly javascript, java and rust, give me intellij ide's...
You can install Asahi Linux on an Apple Silicon Mac. What control do you feel you lack?
For me that hasn't worked out well in the USA. It seems that the concierges usually has financial ties to places they recommend.
Your comment piqued my interest, but I didn't find the android (Manyverse) or desktop (Patchwork) apps to be user friendly. The UIs had a few UX oddities and unless you are convinced to join by others who are already using it, the social network is barren. Even trying to chain my from the most active people (last posts months ago) through their follower and following lists didn't fix my impression of it being a historical ledger.
> They had the opportunity to do this when introducing the M-series Macs

No, they didn't because a Mac computer that is fully locked like the iDevices wouldn't have been popular and would have meant a lot of bad publicity for the M1 mac desktops. Apple Silicon M1 / M2 macs can only run crippled versions of other OSes and macOS is being slowly converted to be more and more like ios. It's the Boiling Frog strategy - https://en.wikipedia.org/wiki/Boiling_frog - to ensure that they don't scare away their users. With soldered harware, no viable alternate OSes, and taking away developer options from macOS, all Apple Silicon M1/M2 macs are now just a few more steps away from becoming like the iDevices.
I'm not sure whether you're saying that three lines of text in the Simplifier's font would be 15 pixels tall, or that three lines of text in Kujala's or my font would be 21 pixels tall, but I think neither of those is the case; the former would be 12 pixels tall, and the latter 18 pixels.
Have been happily using librewolf for over a year now. 100% suggested to friends
This is not my understanding at all. The U.S. has laws against non-public entities taking and paying bribes (e.g. Foreign Corrupt Practices Act).
Good description of what awaits.

> Small wars eventually break out

I wonder if that isn't happening already here and there.

Bigger ones? What'll happen when areas large as a country, becomes mostly uninhabitable.

One more thing: There might be more authoritarian regimes in countries not affected that badly by the climate changes -- because the migrants will want to go there. And then the voters in those places, choose more brutal and authoritarian governments who build borders and use violence to keep the migrants away.

So, more war and dictatorships in the future, is one scenario?
Show HN: Meta Tags Generator
Hey HN!

I've built this meta tags generator web app as my little weekend project and was looking for some feedback on both the design and features!

My idea was to build an app that allows one to check website metadata and preview meta tags from a website in a clean design.

All feedback is appreciated! Thanks!
Cigarette, not a match, which is an important detail. Gasoline absolutely will ignite if you drop a burning match on it (assuming the match doesn't go out as it's falling).

If a movie shows a close-up slow motion shot of a match hitting the ground+igniting gasoline, it's probably "real", but the larger shot of the building or whatever going up is filmed separately. They usually use propane/natural gas for large fires because it can be piped in and turned on/off easily.
wtf. I assumed this was a reference to a TV show that I didn't get. No, they appear to be the real thing?!:

https://en.wikipedia.org/wiki/Wagner_Group
It's a good habit. The only time you can feel bad about it is when the pain you feel from "not finishing things" exceeds the pain from not finishing this particular thing, which means finishing this particular thing wasn't that important to you, so you were right not to finish it.

Worst. Sentence. Evar. But hopefully you get my meaning.
No offense but that's a wrong take on sum types. Sum types should be baked in the same way basic POD structs are, they're that fundamental. That D still doesn't have them as a core construct (along with pattern matching as the core mechanism to inspect the values) is, to me, a weakness inherited from C++ and other 1990s OO-driven languages, and patched in the same insufficient way (see std::variant).
I would prefer if they actually had a purpose in the language in which they were used (JS.) Add optional type hinting to JS itself, if it's that important, don't add pretend type hinting to it because typescript users don't want to have to use their compilers anymore.

I know a lot of people like it but it just seems like an ugly hack to me, extra syntax for the sake of an abritrary third party tool. I know I'm a dinosaur. I want to go back to the days of JQuery modules and FTP. Feh.
You might get a kick out of this: “I bought 1000 meters of wire to settle a physics debate” https://m.youtube.com/watch?v=2Vrhk5OjBP8
> watch syncs wifi networks with your phone

All Apple devices which use the same iCloud account sync wifi network configurations. This has been a feature I think for around 10 years or more.

(not to downplay the novelty of just now discovering it, totally appreciate that!)
I think this is the most plausible theory that explains Russian backing. An alternative theory is that this was an accident from them trying to fix hydrate plugs in the pipes, and doing it wrong. Another possibility is that Russian popular support for the war could be flagging, and Putin was trying to drum up unity.

However, Putin has not been shy about simply seizing assets using the Russian legal system, so destroying an important strategic asset to keep the oligarchs in line seems like an extreme move. The popular support battle, for Putin, already seems to be lost, and it's unclear why blowing up a pipeline would help.

If he did blow up the pipeline, whether it was an accident or a power play, blaming the US (which he is doing) makes a lot of sense.

The elephant in the room is that there is a great reason why the US (or Ukraine, if they had the operational capability, or Turkey or France, for that matter) would blow up the pipeline: it closes off Europe's options to buy oil from Russia this coming winter, which, in turn, ensures that they have no reason not to support the war. However, if they did blow up the pipeline, they certainly couldn't admit it, and they would need to find a scapegoat, and the best scapegoat is the country they want Europe to be angry at: Russia. The US has an additional possible motivation: it opens the path to selling LNG to the EU.

So here we are. Russia blames the US, the US and NATO blame Russia, and nobody has claimed responsibility. This is consistent with either truth of who actually did it. Eventually, we may know the truth about what happened. We certainly don't know today.
Okay...

$ echo "export class Foo { a = 1 }" > test.mjs

$ npx ts-node
> import('./test.mjs').then(console.log)
error TS7016: Could not find a declaration file for module './test.mjs'. '/home/user/Lab/test.mjs' implicitly has an 'any' type.

$ npx ts-node -O '{"allowJs":true}'
> import('./test.mjs').then(console.log)
Promise { <pending > }
Error [ERR_REQUIRE_ESM]: require() of ES Module /home/user/Lab/test.mjs not supported.

$ echo "module.exports.Foo = class Foo { a = 1 }" > test.cjs

$ npx ts-node -O '{"allowJs":true}'
> const { Foo } = require('./test.cjs')
> Foo
[class Foo]
> new Foo
Foo { a = 1 }
> function bar (foo: Foo) {}
TS2749: 'Foo' refers to a value, but is being used as a type here. Did you mean 'typeof Foo'?

No I did not, TypeScript, and that's about as much as it seems to interoperate. I guess in some cases practical migration might be viable - but as for the general case, the out-of-the-box experience seems to speak otherwise.

It's not even viable to write in JS and manually write a DTS - no way to check em against each other. Except idk library in JS, test suite in TS anyway. So not a lot of lateral movement possible in practice.
My username isn't libraryatnight because I don't read ;)
Lead is also a chemical and is used as a weapon, but it doesn't make bullets chemical weapons.
If the only way to bring manufacturing back is to copy the inhumane and dehumanizing conditions of "cheap labor" economies, then we're better off not bringing it back. By outsourcing our cruelty and indifference to suffering we can have the fruits without staring at it every day.
seeing the same thing here. Seems to have started sometime on Friday. Were you able to get any confirmation?
They don’t, and I’m not sure that’s a bad thing.
I don't get what it does. Is ActivityPub used like some kind of RSS feed that people can follow?
Apartments, schools and hospitals are all being used as military bases:

https://www.amnesty.org/en/latest/news/2022/08/ukraine-ukrai...

They are more alike than not, no matter how you try to spin it.
no it doesn't. and you'd have to pay for names, which disqualifies it for mastodon like usage from the start.