skysight-inc/HackerNews huggingface dataset:
> Do you have smooth scrolling in Emacs?

Yes, but one of the smooth scrolling modes was too slow for me and I use `pixel-scroll-precision-mode` which requires Emacs 29.

> How do you sync your work with your smartphone?

I use syncthing for this and Orgzly, emacs in termux, and organice.

I bet most would prefer and could get away with just using organice.
Not only does he offer the gift of extremely well-made, small, ad-free tools, but also a blog full of tips for using them:

https://blog.nirsoft.net/
GitHub issue "Taking down the website in support of Ukraine" including some discussion: https://github.com/Leaflet/Leaflet/issues/8024
Haha, I'd put it slightly differently. It has changed what skills are important to software development. It used to be knowing things cold or being able to look them up in a book was critical (having the right book being a precursor). Now, it is knowing how to search, knowing what terms might be used, and knowing who to trust that is more important for many types of work.

In some ways, it's like the transition between oral history and written history. Both were ways of storing knowledge, but one was far far easier for more folks to access.

Of course, as a dev, it's also important to be able to experiment and test, and the internet has changed that by making computing power easier to access (whether heroku, cloud providers, or even just things like requestbin).
Exactly this - the Guy Fawkes mask is the modern Jolly Roger. Sometimes you cheer for the pirates, sometimes they raid a ship you think doesn't deserve it. And sometimes state sponsored groups use it for cover.
> Buying Russian gas is actually making Russia more democratic

Right now, autocratic Russia and Saudi Arabia are actively colluding to drive up oil prices during the invasion of Ukraine.

https://theintercept.com/2022/02/23/ukraine-russia-gas-price...

EDIT: I misread the tone of the original comment, and have updated my comment to reflect it.
Ask HN: I want to spend 1-2h/day on Ukraine war news. What should I follow?
I've been watching ~2h TV per day on Ukraine in the past few days. Then I went on the CNN website, and saw some new angles on the subject. Reading a HN thread also gave me new insights. And I'm sure I'm missing out on other media outlets, like blogs or social media.

Given the time constraint of 1-2h/day following the news, what's the best way to follow what's happening in Ukraine?
Tim Paterson's DOS?
There are some factual errors in what you stated.
She isn't becoming the Secretary of State, but a high ranking official in the state department. Her role is to be a special envoy to discuss climate related topics with foreign states. Which absolutely makes sense as to stop climate change, an international effort needs to be made. The state department would be the obvious administration to conduct these talks and puts them on the same priority level as previously economical and military topics.
But indeed, she needs to take up a German passport to become a state official.
verb looks like a game changer for this neanderthal that lives in org mode but copy/pastes curl instructions to the terminal.
My wife laughs a little at my lighting mania[0].

I bought a bunch of desk lamps and put them around the perimeter of my home office, and equipped each one with a 300W equivalent flood bulb pointed straight up (I like indirect light best). Tied them all with HA so they turn on with the main room light. So when I go into my office and turn on the lights, it's like turning on the sun. Not literally, of course, the sun is pretty bright, but it's a heck of a lot brighter than any other area of the house.

Pretty sure it's the only reason I survive winter in a good mood.

[0] When I go down to the home store, she almost always asks what bulbs I'm looking for this time. LOL
This goes back to a treaty from 1936 addressing "the long-running Straits Question over who should control the strategically vital link between the Black and Mediterranean Seas" [1].

[1] https://en.wikipedia.org/wiki/Montreux_Convention_Regarding_...
We write https://staysaasy.com which includes various insights we think the existing literature doesn’t cover.

Some examples:
https://staysaasy.com/communication/2021/10/30/look.html
https://staysaasy.com/management/2021/07/17/Less-Divisive.ht...
https://staysaasy.com/management/2021/06/26/check-on-your-te...
Turkey is a large and strong nation which doesn't give a damn about Putin's petty bullying. Short of nuking them, there's just about nothing Putin can probably do. And he already has his hands more than full.
I had a similar experience when I was interviewing for a company and got down with fever and intense coughing, with the HR guy saying "so you cannot attend the interview". Sure, lemme just drive by your company in a woozy state and answer every technical question while getting interrupted by a tingling sensation in my right lung that causes coughing every 10-15 seconds like a germ machine gun.

After explaining to them my situation (which was audibly bad even through phone) I asked them to postpone for next week. They hired someone else. Turns out there is such a thing as uncaring people who just see you as a cog that facilitates their money-printing company. It is what it is.
Aside from now doing the Google API work client side, how to build an app like this, securely? If the server does work based on client data, I can still do more "normal" work by modifying the client.

That is, what is a non-hackable way to measure the physical environment of a consumer smartphone?

Can the critical data be stored in a DRM module protected by OEM TPM module?
I don't believe it is a chicken and egg problem. I believe there aren't that much of a demand in the industry for solving "Math" problems.

From an (software even!) engineering perspective, nobody needs to solve the same Math problem twice. All "Math problems" are either solved or are open problems (this is almost by definition). The ones which are already solved do not require re-solving again, which means that in the vast majority of cases a competent (software) engineer only needs to learn how to apply them. I don't know about traditional engineering, but in software, often it's just a matter of importing a library and calling an API. The software development ecosystem has developed to a point where you don't need to know how to implement things, you just need to know what you need. Unless you're an expert specialist in a particular field, you often can't do better than that, because whatever idea you have, most likely somebody more competent than you has already written an open source library for that.

I don't think it's useful to contrast general incompetence with a lack of mathematical ability -- though it sometimes correlate somewhat if only because general intelligence often manifests in mathematical ability. There are simply too many unproven assumptions from "math education" => "writing better software". If anything, good software engineers need to be ready to learn, and learning maths outside of formal schooling is just one of the many things they need to do. The general lack of quality in software is a supply and demand problem -- as long as FAANG can afford to pay 200k+ USD to fresh grads with no experience, companies with a smaller budget must make a trade off between lowering quality and not delivering at all.

Ironically(?) the market is actually responding. People doing interview prep are learning the minimum subset of mathematics and engineering required for a high paying software job. Then you get people complain about grinding leetcode. Imagine what happens if FAANG companies add abstract set theory to their standard interview questions! (I'm willing to bet this would lower software quality...)
The overhand knot?
It has a lot of contributors nowadays, but Thibault made the original site on his own.

https://github.com/lichess-org/lila/graphs/contributors
The "split universes" is the new science fiction that took the world by storm. It is an unproven hypothesis that satisfies the psychological needs of people who want to dream of a world that behaves according to their wishes.
>So now tell me how this answers going climate neutral.

Because Nuclear energy emits a tiny fraction of the Co2 that fossil fuels emit for the same energy.
You two are talking past each other, at this point it’s just semantics.

> Toyota wasn’t directly targeted

GP is trying to say this is the assumption you’re making. Supply chain attacks can be a clever way to disguise a direct target as an indirect one.

I agree with you though, the headline could be more clear.
It means one can use the orgdown syntax when writing comments.
It's also rational to be affected by things we cannot affect as well though. Your comment could be interpetted as saying that it is irrational to not ignore these things.

Unfortunately, platitudes are not always the answer.
Netflix _designs_ movies/series so that the majority of people will like them.

And so Netflix' recommendation has become largely irrelevant now that the company is pushing its own content agenda.

Their recommendation algorithm is operating under massive override by marketing rules.
France needs renewables, if they don't want to ruin themselves and build 150 additional reactors. If they want to become carbon neutral at some point...

"On the other side we simply have the tech ... just not existing at all (and nobody knows if it will)."

What tech doesn't exist in your opinion?
P2G is tech with "large scale planning issues".
Does that mean that a less competent developper could write a more intuitive alternative in a few months ?
I think the comment you're responding to was using that as an example of a "silly opinion" that needs revising.
did you read the article? the context of this entire thread is about form fields.
Yeah, but the intent isn’t something the legislature knows. The outcome is the intent - since there are multiple participants and they are negotiating.
"The Constant Gardener". I haven't read the book but I've seen the 2005 movie adaptation. I didn't know (or perhaps had already forgotten) that he movie is based on a John Le Carré novel.
Excellent book. Also many great posts on his blog https://lethain.com/
Sure they will. There was only one for a reason, it’s hard to build things like that. They will have to reengineer much of it.
He addresses all of those points.

I won't go into details. The math simply doesn't add up, not technological and not economy-wise.
Ask HN: Why can't await be used from non-async functions?
I'm trying to wrap my head around async/await and how it works under the hood, be it JavaScript, C# or others.

From what I understand, in JavaScript at least, putting `await foo()` inside an async function, splits the calling function in two, with the 2nd half being converted to a callback. (Pretty sure this is full of errors so please correct me where I'm wrong)

Why can't non-async functions use await()?

I've also read that await() basically preempts the currently running function. How does this work?

Update: I'm re-reading http://journal.stuffwithstuff.com/2015/02/01/what-color-is-y... and I think the answer lies somewhere in this paragraph, but I can't wrap my head around it yet:

> The fundamental problem is “How do you pick up where you left off when an operation completes”? You’ve built up some big callstack and then you call some IO operation. For performance, that operation uses the operating system’s underlying asynchronous API. You cannot wait for it to complete because it won’t. You have to return all the way back to your language’s event loop and give the OS some time to spin before it will be done. Once operation completes, you need to resume what you were doing. The usual way a language “remembers where it is” is the callstack. That tracks all of the functions that are currently being invoked and where the instruction pointer is in each one. But to do async IO, you have to unwind and discard the entire C callstack. Kind of a Catch-22. You can do super fast IO, you just can’t do anything with the result! Every language that has async IO in its core—or in the case of JS, the browser’s event loop—copes with this in some way. [...]

I don't get the "You cannot wait for it to complete because it won’t." or the "But to do async IO, you have to unwind and discard the entire C callstack" parts.

I'm also using these resources, they help but I'm not there yet:

- https://stackoverflow.com/questions/47227550/using-await-ins...

- https://www.youtube.com/watch?v=KmMU5Y_r0Uk
Anki, the very popular Spaced Repetition System is developped and maintained by one person if I'm correct.
Yes that's a big one especially for clients in interpreted languages.
I bought a studio LED panel from Amazon (for videography generally). It came with a stand that attaches to the desk to be used as a webcam light but I mounted it on a shelf and it hangs over my head like the sun. It has a 3000k-8000k temperature range and that and the brightness can be controlled by a remote. There are a bunch like this available under different brand names. For the price I've found it to be a good solution for now and I also have a photography light as a bonus.
I think this book is aimed at people who have already advanced in an organization. Basically you need the skills and credentials to make it to a low level manager for the advice to apply to you. In tech, this is typically a CS degree, internships, and good references. It's hard to sweet talk your way past byzantine HR requirements at most large companies.
Below is a quote from Anthony Bourdain's book "Kitchen Confidential"

I keep the quote at the top of my emacs config file.

Mise-en-place is the religion of all good line cooks. Do not fuck with a line cook’s ‘meez’ — meaning his setup, his carefully arranged supplies of sea salt, rough-cracked pepper, softened butter, cooking oil, wine, backups, and so on. As a cook, your station, and its condition, its state of readiness, is an extension of your nervous system... The universe is in order when your station is set up the way you like it: you know where to find everything with your eyes closed, everything you need during the course of the shift is at the ready at arm’s reach, your defenses are deployed. If you let your mise-en-place run down, get dirty and disorganized, you’ll quickly find yourself spinning in place and calling for backup. I worked with a chef who used to step behind the line to a dirty cook’s station in the middle of a rush to explain why the offending cook was falling behind. He’d press his palm down on the cutting board, which was littered with peppercorns, spattered sauce, bits of parsley, bread crumbs and the usual flotsam and jetsam that accumulates quickly on a station if not constantly wiped away with a moist side towel. “You see this?” he’d inquire, raising his palm so that the cook could see the bits of dirt and scraps sticking to his chef’s palm. “That’s what the inside of your head looks like now.”

-- Anthony Bourdain, from Kitchen Confidential.
Completely agree however that was the line German government officials were trotting out to justify buying fuel from Russia when other EU countries were rolling their eyes.
Can't read past the paywall but this looks to be unsatisfactory.

Generating as much electricity as the total electricity they use is not the same as having renewably generated energy stored and ready to use at all times of day, around the year, and for purposes that would have historically used fossil fuels.

If you're burning fossil fuels for heating and transport and even electricity, that's not "100% renewable energy".

It requires degassing heating infrastructure and dealing with the massive increase in power demand that causes. As well as making it cheaper. It has to half in price to avoid heating inflation.

Electrification of transport will take decades to complete.

To reiterate, I'm not saying that Germany is aiming in the wrong direction, it's just hard to grok what they actually mean. Having seen British politicians screw this up for a quick win, I'm not optimistic.
> For the waste we have no solution that works, except for storage, which has tons of risk

And instead, you burn coal and Gaz which creates even more waste which we can't even store. The difference is that the nuclear waste are localised near you, while the CO2 is spread globally and mostly affect warmer country we don't care about.

> So simply put, there are around 17 meteors every year that hit ground and can cause a disaster

The disaster is made worse because of nuclear infrastructure. But I don't see the point. It is already a disaster to begin with.
Look at Fukushima, the real disaster was the earthquake and tsunami that killed and destroyed lots of homes. The incident in the nuclear plant in the area did make it slightly worse, but not by much. Even though the media seem to blame the whole thing on the power plant.
A framework for choosing what to do
Ben Stiller Talks Severance, His Marriage, Children, Parents, and Reality Bites
The existence of unelected political appointees does not make the EU non-democratic.

Furthermore, fixing the anti-democratic features of the EU requires giving it more power[0]. The reason why the EU has so many appointees is because it represents member states, not people. This is true for every international organization. The only way to have international organizations that are democratically accountable is to actually have a notion of international citizenship - in other words, to agree that, say, German votes are allowed to dilute Spanish ones. This is tantamount to political union.

Because the EU did not want a political union[1], they instead decided to limit the amount of elected representatives in the system, and let member states fill in the rest. So you don't get to vote for Ursula von der Leyen, you get to vote for the person who appointed the person who gets to vote for Ursula von der Leyen. Yes, this is complicated and stupid, but it's also the thing that keeps the EU international rather than sovereign. If you don't like it you should push for reforming the EU into a properly democratic single country.

Also, if you think the EU is entirely undemocratic, then let me ask you: when was the last time you voted for anything in the World Trade Organization, NATO, or the United Nations? The WTO in particular are the kings of antidemocratic policy laundering, so much so that it would make Ursula von der Leyen blush.

[0] For the record, giving it less power reverts back to the international default, where governments are entirely sovereign within their own territory and powerless without. So, say, the French have 100% say over who their leaders are and what they do, but 0% say over international affairs, because they aren't citizens of those other countries.

[1] This is almost certainly no longer the case now that Britain is out of the picture.
It's funny you mention computer hardware, because that just proves the parent's point - essentially all of it is made by either TSMC or Samsung.
You can't post like this to HN, even if you belong to the group that you're denouncing. I realize it's much more complex in the latter case, and often comes from noble motivations: the wish to see the other side, and to acknowledge the faults of one's own side. But those are subtle distinctions that don't help when the substance of the comment is pure flamebait.

https://news.ycombinator.com/newsguidelines.html
So this is a $1.99 coin flipper?
Multiple JIT steering-wheel manufacturers?
The idea is you make the choice decided by the photon. If you don't use the device according to the instructions, any resulting timeline disruption is on you.
But, he didn't.

Linus copied the design from Monotone, by Grayson Hoare (who also made the original pre-pre-1.0 Rust).
AFAIK the IP from requests doesn't necessarily need to be logged or stored anywhere, does it? Perhaps this comes from my lack of understanding of GDPR but I thought the issue was from storage where it could be retrieved or shared
Well, no, but arguably that one was: https://danielilett.com/2020-02-26-tut3-9-obra-dithering/

(But yes it's a bit weird not to say that the feat was, uh, making that whole game).
Canadian fuel taxes are almost as bad.
Not a modern reactor; see my comment 4 levels up.
Anecdote, sample size = 1, but my third grader constantly complains about return to physical school, now that she got a taste of School From Home. Everything she loves is online now, her friends, Roblox, Minecraft, and so on, so she just thinks it's pointless and unfair to have to sit in a classroom. "It's not fair that dad gets to work from home and I have to go to in person school!" I can't argue because her school performance and grades improved remarkably during the pandemic.
Some links to Grace Martin's books here - which include the French editions of her math TutorTexts:

https://www.google.co.uk/search?tbo=p&tbm=bks&q=inauthor:%22...
How to Help the People in Ukraine
I don't think so. Take it as it is. A funny prétexte to speak about serious stuff.

EDIT: I'm waiting for WeWard answer. And will help them fix stuff presented in this article.
Padlet (YC W13) is hiring a writer in SF to build software for a good education
In my opinion treating another living being with respect is not a luxury, it is a necessity

Both workers and chicken
Obviously the law could be changed to specify a minimum distance traveled by rail.
I'm common as muck and spent £150 to try a Michelin star restaurant
You'll find a detailed answer on paperswithcode, selecting the "Recommendation task":

https://paperswithcode.com/datasets?task=recommendation-syst...

Like many have already said, this is mostly an academic answer (even if some of the papers are written by the industry).

In the industrial world, the answer is a lot more subtle. Each domain has its own constraints and the best method will vary.

Also, keep in mind that in some domains like ad tech, the whole measurement process is messed up by the attribution mechanism, which attributes a sale to the last click (which clearly is a poor indication of whether the recommendation engine is doing a good job -- the industry settled on this attribution mechanism because it is easy to audit).
- Power: Why Some People Have It and Others Don't by Jeffrey Pfeffer

- What Got You Here Won't Get You There: How Successful People Become Even More Successful by Marshall Goldsmith

These two books are not specifically on the topic of becoming an engineering manager but cover the important aspects of how to work effectively as a leader in organizations. Turns out that's very important too.
You are in the correct universe: https://github.com/tomicooler/UniverseSplitterUnofficial