skysight-inc/HackerNews huggingface dataset:
Almost all foreign language studies I know of include a collection of stories / literature where a number of common sayings are from.

Ex: English studies would not be complete without Aesop Fables. Learning the stories is the only way you can understand common phrases / idioms like "sour grapes".

Chinese studies includes Romance of the Three Kingdoms. A Chinese Friend of mine explained the meaning of the phrase "Pour the oil", based on some Sima-Yi / Zhuge Liang story from RotTK. (Which IIRC, means something along the lines of "I'm not going to be a sore loser about this")

Japanese studies include something about an impenetrable shield and the all-penetrating spear, which apparently is the root word for contradict. Using "Google Translate" on this one, "矛盾" translates into "Contradict". But "矛" means Spear, and "盾" means shield.

So a dumb translation would translate "矛盾" into "SpearShield", which is nonsense. But the meaning is "To Contradict".
>legal obligation

something tells me that Germany doesn't care about that right now.
While most readers probably have at least some firsthand experience with this, some examples would've gone a long way to illustrate the issues brought up.
For pure servers, what you say is easy and yes, almost exclusively, the preferred option. The tricky situations usually occur in CI, where you script together a lot of weird tools, most of them originally designed to be run by hands on developers workstation, where they want to see local timestamps and never had time to implement log config. Some days you can consider yourself lucky if the log files have any timestamps at all.
There is a famous story about Zhuangzi [if you prefer, Chuang Tzu] that goes like this:

-----

Zhuangzi and Huizi were crossing a bridge over the river Hao.

Zhuangzi said: the fish have come out to play; this makes them happy.

Huizi said: You are not a fish. How do you know what makes fish happy?

Zhuangzi said: You are not me. How do you know that I don't know what makes fish happy?

Huizi said: I am not you. Of course I do not know you. [But] you are certainly not a fish. Your non-knowledge of what makes fish happy is total.

Zhuangzi said: Please stick to your original [question]. You asked how I know what makes fish happy. You already knew that I knew this and [still] you asked me. I know it over the Hao.

-----

"I know it over the Hao" makes sense because in the original language, the word "how", 安, is also the word "where".

The story comes down to us as part of a foundational text. Is it wisdom or a cheap joke?
I’m not sure how a “collapse” is supposed to happen.

The reason everything remains awful is because everyone is already acting in their best interest. The employers want the elite students, the elite students want degrees from elite universities, and all the other students want to look as close to “elite” as possible (by attending the most elite institution available to them)

Unless you tell motivated and well-connected teenagers they’re not allowed to attend Harvard or Yale, the prestige signal of Harvard and Yale will continue to live on, as yet another class of motivated and well connected 22 year olds graduate.

Short of government action (like make it illegal to discriminate in hiring based on which institution you graduated from?) I don’t see how that prestige signal (or the structure of incentives associated) goes away
"if you just take some care". Now there's the problem. Some people are unable to suddenly migrate to igloo living.
And Apple Maps
How do you hoard gas?
What does GPL mean for a chip design?

I understand how it applies to the HDL, but I doubt that it obligates you have to open your code to users of physical chips.
The primary drawback is that it's not plain text, so it doesn't have the benefit that a plain text format would.
Not really. The vast majority of the HN community that keeps promoting cryptocurrencies, blockchain and everything related to them does so on claims that are unsubstantiated, rose-tinted and completely ignorant of the environmental harm that has been done in the last years, as their opinions comes not from experience but from shoddily written opinion pieces. You can see it in your daily HN frontpaged crypto bait thread, such as this one. Only a few handful of comments raise genuine benefits and put enough effort to allow a constructive discussion, the rest is just people gushing about how great crypto is, with no actual insight.

I think mine is more accurate.
> I was too young to notice all the details in people's behaviour in the post-2001 political climate (and I've never been to the US). Anyone with some interesting perspectives who remembers?

The most visible reaction was people would fly the American flag on their car, sometimes multiple. Stuff like this was pretty common, though far from ubiquitous: https://www.amazon.com/US-American-Patriotic-Window-Clip/dp/.... Within a few years most of that stuff went away, as the flags wore out or people got new cars.
Not sure, never really played around with Google Forms! It's very quick to set up, you get email notifications and a nice dashboard.
Shell Commands that will Destroy your Mac
Show HN: Submit to HN Chrome Extension
Sign of the times, unfortunately.
It has its places but overall I’d agree.

I worked with some folks who were sold on it for streamlining/tying processes from Salesforce that were on a mainframe and an awful peoplesoft thing.

It was ok… but it just felt wrong. Nobody learned anything… they literally recorded a half dozen people doing the tasks and looked for variance.
Many times I was able to calculate* (not predict or read) multiple* past events with extreme accuracy. Chances of knowing that by accident are very few. For me the link between planets and events are still unknown, but it works. Similar to the moon phases and stock market prices which are up ~3% on average on full moon etc.

I can prove that to you if you are interested.
...and if Germany didn't honor that contract? who's going to litigate?
He's saying to deny access to EU-based users, which will make it very unlikely that any EU-based user will complain, thus (in practice) removing the need for GDPR compliance.
Apple are just making their documentation even harder to find by just deleting their domain.
> Surely they know it doesn’t actually work?

Do you think that carrots make your eyesight better? Every culture has its misconceptions.
I only wish Mobx's API was terser and more opinionated. Hard to derive a good Mobx pattern from their bloated API (>100 exports)

I've created a wrapper library which is basically a more-opinionated, higher-level version of Mobx if anyone is interested: https://www.npmjs.com/package/r2v
Also, making sacrifices may looks good for a few days, but it will sure cause massive problem after that. And, the funny thing is many people indulge in so much luxury, I don't think it is even possible.
I think they mean corrupt as in necessarily compromised by knowingly adding so much misery to the world. Not the other more common sense of like, participating in graft, bribes etc. I don't think there's any reason to think economists do more of that than the average.
I have an image now of someone sky-writing Euclid's axioms.
Also: Germany and US are in talks to lift the sanctions on Iran.
Setting up a tent inside will work in a pinch.
Page is gone :(

Would love to have read it though, thanks for sharing.
Maybe I'm naive but I can see why Western countries tried to get Russia on board the world capitalism gravy train.

Obviously the context has changed massively in the past month, maybe even since 2014.

In any event, less reliance on fossil fuels is a good thing, and at the moment, less reliance on Russian fossil fuels in the EU is probably a good thing.
The Renovation of a San Francisco Church Built in 1875
Keeping a house warmed to 5°C is probably enough to keep the pipes from bursting, but uses much less gas than heating it to 21°C
I’m not really convinced by the whole defensible geography argument.

Who is going to attack a nuclear power in a land war in the 21st century?
and global competition for labor
That's not much and many people might allow it. It's more about it being a surprise fee and delay.
It's not that cameras have become too smart. It's that they're making choices for us, and these are not the choices we would make for ourselves.

11 years ago, I gave a talk about this at the Internet Archive. It seems to have held up. https://youtu.be/UMMogOoWEbI
> Hooks are the antithesis of this - they create code them seems pure

I disagree. The presence of a hook is the indicator that something impure is happening. Seeing a hook should be equivalent to seeing a promise, option, IO type etc.

Hooks also compose beautifully together. You can make so many great new hooks by combining just useState and useEffect together, bundling up that functionality into a new hook that you can then use in any UI.
You're on a good track looking at solutions like Auth0 and Stripe. They're both pretty easy to implement and integrating them together isn't too bad.

A few companies have tried to be the all in one SaaS provider (auth + payments + etc), but I haven't seen one succeed or become prevalent. I suspect it's a combination of a few factors:

1) The individual providers like Auth0, Stripe, and their competition are pretty good already so there isn't a huge pain point.

2) As a company grows, there is business value in being able to switch third party providers for a variety of factors such as missing features and cost savings. Having everything tied into one platform makes this much harder.
I found this interesting as I'm someone who used to travel with at least one camera most of the time, but I've recently come back from a holiday where I used my iPhone 13 Pro as my only camera.

Overall I actually found it a great experience – I love having an ultra wide angle lens in my pocket and after a bit of time getting used to it, I find the 3x zoom a more useful focal length than the 2x zoom on my previous iPhone X – but I did find the over-processing (the "painterly" look) frustrating, and even more annoying is that it will often use the wide angle lens and upscale rather than using the 3x zoom (even with ProRAW enabled – see [1]).

I understand why the software makes these choices for the "average" user, but it would be nice to enable a "pro" mode which reduces noise reduction and favours the zoom lens in more situations.

I ended up using the stock camera app for "snapshots" (e.g. photos where I didn't care too much about the quality, or where I was just using the wide angle lens), and Lightroom Mobile's camera for shots where I wanted more control, or when I wanted to ensure that the zoom lens was being used (Halide is also good for this, but I found it convenient to have the photos in LR Mobile for processing immediately, even if Lightroom's UX is clunkier).

This actually worked pretty well for me – you can trust the stock camera to take a photo which will look good at mobile screen sizes even in challenging conditions, so it's great for "capturing the moment", while if you are taking a photo where you care about the details, it's usually not an issue to take a few extra seconds to open LR... but it would be nice to be able to do this in the stock camera.

The results with RAWs from Lightroom are actually pretty impressive IMO – there's more noise than the stock camera, but I prefer this to the smudged noise reduction look and I'm sure with some processing I can find a happy medium. Even the ultra wide photos are reasonably sharp.

This was a long way of saying that if you're frustrated by this issue, try a third party camera app and hopefully you'll find that you can get more out of the newer iPhone's great cameras, while still having the default camera there for quick snapshots!

[1] https://lux.camera/iphone-13-pro-camera-app-intelligent-phot...
Can someone break this down for me?
val speed = 5.4 m/s // Type = Float[m/s]

I understand that the speed variable is automatically assigned a type of Float[m/s] based on the m/s there, but I'm confused about how the units are just placed at the end of the value assignment:
val speed = {value} {unit}

Is this just a F# property that units can be added at the end of value assignment, and F# interprets them as units correctly?

Also, anyone know of methods for incorporating units as types in Python? It would be great to have an equivalent method as demonstrated here, where dividing types automatically creates a new type unit, and perhaps even associates with a related type, i.e:
type(kg / (m * m * m)) == density
Storage, transmission lines, and over provisioning are also alternatives.

Still blows my mind that Germany and other countries are closing nuclear facilities though.
Like Asimov I am an agnostic atheist and was so when I read this work. The interesting thing about his Guide To The Bible is there is no snarkiness. He examines it from a historical perspective giving the factual historical accuracy of each line based on what the historical records actually show from the time. Plus, he was a language expert and the background information he provides in his book on how some of the words were translated from Hebrew to Latin and then to English, etc., is stunning. If anything, this book furthered my agnostic atheism.
There's far right movements in more places then Ukraine, what makes Ukraine special in its movement compared to those elsewhere in the west?

I'm also not sure Ukraine would have had the ability to be a Nazi-Germani situation, their military stands no chance. What would they have tried to conquer and not quickly been pushed back from doing so?

This is why I feel that argument makes no sense to me, and sounds like a big pretext for something else, which in my opinion is more about Putin's holding on to his power and authoritarianism.

Personally, I think Russia's best future is to do what Ukraine was trying to do. Become a part of the west, democratize properly with real term limits and all, tackle corruption, regulate your oligarch to favor more competition, etc.

My thoughts though is that Putin is the one that loses most if Russia were to do that, and he was afraid that Ukraine would set an example, if Ukraine did it and it turned out good for them and their people, Putin would be put in a bad spot.

But I'm interested in your thoughts, because it's true I don't know as much about the geopolitics around Russia.
Here's (the?) original research on the mycorrhizal networks, from 1997:

"Net transfer of carbon between ectomycorrhizal tree species in the field" by Suzanne Simard, et. al.

https://www.nature.com/articles/41557
Ask HN: Best OS for Old Laptops?
Hi, my mom have an old laptop and is working really slow. I want to improve my mom's experience. She just use it to browse the web; check emails, read articles, maybe some video. I want to ask you what OS you recommend to install.

Here is the situation:

HARDWARE<br/>
Toshiba Satellite C655 (2011ish)
- CPU Intel Pentium T4500 @ 2.30GHz
- Video LP156WH2-TLAA (1366x768@60Hz)
- 2GB RAM
- 230 GB

SOFTWARE
- Windows 10 (pre-installed, upgraded to 10 trough the years), zero extra apps on startup.
- Recently installed a clean Ubuntu 21.10 in dual boot.
- She uses Firefox with Ublock Origin.

EXPERIENCE
It is just really slow.
Windows is a nightmare, like 10 seconds to display the start menu, ages to open Firefox and do stuff, even typing gets delayed sometimes. I installed Ubuntu to see if it gets better, it feels more snappy, now she is using that, but still slow to respond and interact.

Any suggestions? Thanks.

Edit: Sorry I don't know how to do line breaks here instead of paragraphs. The post is messed up.
Poor security design. App installers should definitely be sandboxed, "sip" or not. Preventing the local admin from making any changes due to lack of that, is fixing the wrong problem. Or perhaps not in a granular enough way.
Roscosmos are working on a launch system with a re-usable first stage, Soyuz-7 or Amur [1]. The renders they've released are basically just a tweaked Falcon 9, except this one will be re-usable 100 times over!

Whether Amur will ever fly, or even become hardware ... I'm not holding my breath.

[1] https://arstechnica.com/science/2020/10/russian-space-corpor...
First, almost any contract would include a force majeure clause which allows termination due to a war (among other acts).

Failing that, the German government could just change the law to disallow the contract. Russia could ask for a binding(ish) decision from the international community, but this is one of those situations where I doubt the decision would go in their favor even if they were in the right legally.
interestingly, most split air conditioning units also have a heating function. Usually, they convert 1kwh of electric energy into 4-5 times the heat energy.

Heating with electricity is therefore something quite achievable and sometimes even economical. At current German electricity prices of 0,33 EUR/kwh electricity heating is currently cheaper than gas heating (currently at 0,20 EUR/kwh for new contracts - was at 0,04 before the crisis).
Apple status page not reporting any problems yet:

https://www.apple.com/support/systemstatus/

edit: looks like it changed around 17:30 GMT to correctly show the outages started at 16:32
better double down on green gas
You ask a good question.

I don't have objective proof of this in the sense of "2+2=4", but I think what I've been talking about in many previous posts is a logical systemic explanation and has been repeatedly observed in the last few years.

The media's business model has changed.

At one point the media's business model was based on trust. People watched a guy like Dan Rather repeatedly because they thought he seemed genuine about telling the truth. I'm sure they knew he'd have his own feelings and human biases, but they came back to him because they thought he was focused on truth and felt trustworthy.

The media's business model has changed because of technology such as the ability to measure clicks, measure the intensity of emotion, and social-media and search algorithms that promotes what gets the most activity. Once the media has the ability to essentially drive their own profit via algorithms promoting the emotionally most intense news stories and ideas that gets people sharing and watching, the fear-porn or outrage-porn of the current news cycle will become the only reality for many people.

As an example, many people went from being overly scared about Omicron and Covid-19 fear a few weeks ago, to supreme outrage about Putin and Ukraine and making that the central part of their identity without skipping a beat. And I have to note that almost nobody gave half a shit about past Russian invasions of Ukraine or Georgia until the media told them that they needed to care about this. (Not suggesting that people shouldn't care about this, but the intensity of this switch and suddenly caring about this part of the world feels notably shaped by the media promoting it this time.)

Outrage or fear porn is the new ruler of reality. The media has supreme influence in shaping peoples' perceptions, and if a study about Covid after-affects is done, I'm sure that peoples' fears that are magnified by this new media business model will have some impact in how people report symptoms. If you tell people that Covid is super-scary and long-covid is the new big concern, at least some people will feel panic and be more likely to go to the doctor and express concern over identical symptoms that they otherwise might have not cared about if they experienced it in say 2014 with a flu.
Haiku: https://git.haiku-os.org/haiku/tree/
instead of banning Russian oil, I would first start with banning sending weapons to Ukraine and demand 240 hours non-stop negotiations to stop the war sooner. 10 days of not leaving anywhere unless consensus has been reached
Yep, getting 502s here.
However, there are an increasing number of packages in Ubuntu that require snap to install, while those packages can be installed normally in Debian.
Well, one assumption didn't hold: that in a more economically connected world war would be a thing of the past.
It's very odd to see a company release an statement containing the sentence "death to the Russian invaders". No company run by adults would trip over that wire.

The policy itself aside, there's no reason to provide that specific example.
What does that have to do with anything?

Is there a point to your question?
That is more subjective and depends on the team, but for any particular definition, there will typically be a clear distinction (for that particular team/code base) between the two.

A typical distinction is that a Unit Test only covers a single function/class method, or tightly coupled group of classes, and almost always no IO (network calls, disk writes). Conversely, integration tests typically cover the public API of an entire publically released library, network service, or CLI executable, usually run in the targeted deployment.

For example, for a network service, an integration test may do a PUT and then a GET and check that the resource is returned. It would be running against a full copy of the service which is connected to a real database, but probably one populated with mock data. The same service would typically have unit tests checking something like "the handler for PUT generates an SQL query string that contains the fields defined in the PUT body" (assuming this is a code base without an ORM). Another unit test would check that the same method returns an error if a field is not supported. Another one may check that it doesn't create unsanitized SQL, and so on.
I don't get the joke... Am I missing something?
Most often those reports are built on top of table views and not direct table contents. If you have an abstraction layer between its not hard to change whats under.

But that makes an assumption you didnt make any shortcuts.
To clarify: Are you indicating that, as a user dependent on screen readers, that this site is difficult to use for you?

Do other users who depend on screen readers have an experience they’re willing to share about visiting this site?
Oh my-- I wish there were a button here called "flag if no follow up"

In other words-- you have got to make your case for Larry Summers causing more human suffering, or at least link to someone who has written that polemic.

Perhaps to improve UX there should be a 10 minute countdown to the flag being triggered. :)
Recently ditched my shitty home-grown abstraction layer for wgpu and it’s a breath of fresh air.
The article mentioned all the UI generations you can find in Windows. Linux is even worse. Once you leave the menus your desktop environment provides, it becomes a design free for all. Sometimes you'll see UI styles from another environment (run Kompare in Gnome), sometimes you get ancient X UIs.
This man wouldn't prove his powers, even when he could only stand to gain from it.

I disagree that one can only stand to gain from "proving" the supernatural. The value is in that it is not provable; thus it is also not debunkable or replicable.
>Questioning the existence of supernatural powers is considered taboo in much of Nigerian society.

>To be openly expressing such thoughts, as Mr Adewoyin was doing in a market, was risky. He could just as easily be arrested for blasphemy or lynched by an angry mob.

I think it's a little credulous to take anyone's on-the-record statements as reflective of their actual internal beliefs in this kind of environment. No doubt some people believe these things -- that does not mean any particular person claiming to believe these things actually does.
The Good, the Bad and the Ugly of doing a PhD in the UK
I wouldn’t doubt, given the nefarious consequences for Germany, that this site is Russian INFOSEC campaign.

Germany cannot function without Russian gas right now. Simple there isn’t enough BTU’s.

Why did Germany put itself into this strange Russian dependency is also very strange.

Perfectly fine and environmentally friendly nuclear power plants for dependency from Russian natural gas. Why?