skysight-inc/HackerNews huggingface dataset:
A few months ago I read some excerpts from "Annals of the Warring States". It's a treatise kinda similar to Sun Tzu's infamous Art of War but arguably more useful and less trendy (might have something to do with length).

One parable I enjoyed went something like this (paraphrasing extensively because I don't remember details/names).

Mr. Lao was the personal secretary of the king in one of the titular warring states. This gave him a lot of power and influence, in particular because he managed the king's schedule and chose who would receive an audience. One day, a wealthy merchant named Mr. Hsu requested an audience. Mr. Lao was curious, because Mr. Hsu had a reputation for being the handsomest dude in the land. So he goes to his wife and is like "do you think I'm more handsome than Mr. Hsu?" and she said "Of course you are darling". Then he goes to visit his concubine and is like "do you think in more handsome than Mr. Hsu? And the concubine is like "of course you are!". The next day, a merchant like Mr Hsu was waiting in the crowd to request an audience with the king. Mr. Lao asked the same question, and the merchant told him that of course Lao was better looking. The time for Mr. Hsu's audience came, and when he stepped into the room Mr. Lao was like "Damn, that guy is way more handsome than I am".

After the audience, he cleared the room and spoke to the king. "Your majesty, before seeing Mr. Hsu with my own eyes I asked 3 people who they thought was more handsome. My wife said me, because she loves me. My side-chick said me, because she fears me. A petitioner said me, because he wanted something from me. Nevertheless, my appearance is nothing compared to the good looks of Mr. Hsu"

The king pondered this for a few moments before speaking. "My trusted servant, I see your point. From here on out, have our guards and spies give a $10 reward to anyone who criticizes me in private. Give a $100 reward to any petitioner who justifiably thinks I've made a mistake, even if I eventually rule against them. Give $1,000 to any of my advisors who talks shit about me behind my back. Give $10,000 to the ones that have the balls to speak criticisms to me directly."

This was an expensive program, because people will always find something to complain about. But every week, Mr. Lao found himself distributing fewer and fewer bounties. The kingdom ran smoother and smoother as the king heard criticisms that people were afraid to levy before.
Unsubscribing from Observables Done Right
It seems like every language must have some dumb decisions made because the authors don't care/think they know better/are stubborn/etc or because it painted itself into a hole from the start, without which it would be close to perfect for its use cases.

Python has the GIL.

Go itself has a few such cases (usually revolving around "NIH" and misguided simplicity).

Zig has the prejudice about proper string handling.
This project could use a name change as there is already got for git:
https://gameoftrees.org/index.html
> I've been using Kodi since first release on original xbox, when it was XBMC.

It wouldn't be HN if I didn't correct you in that it was originally XBMP on the old Xbox, before it graduated to a media center.

It was a revelation in that the UI was amazing for the time, and the hardware was good enough to decode everything available.

I remember soldering in an extra IR eye so that I could power on and off the Xbox with the official Media Remote using a special key combination.
I did not know Sweden used USC.
Well, in topics like these, where economics and technical standards play a huge role, it totally makes sense to use this interpretation of Europe.
This is yet another factor to consider yes. But this pales in comparison to the number of people whose mental health is being adversely affected by the lockdowns/social-isolation/climate-of-fear. Look at scope of the global mental health epidemic:

https://www.theguardian.com/world/2021/nov/23/pandemic-hits-...
I'll toss in one I learned about recently as another that avoids a lot of this: Bitburner. https://store.steampowered.com/app/1812820/Bitburner/

When you have a full programming environment for automating the game... and taking advantage of that is the point of the game... you get to avoid some of the nastier dark patterns and treat it like a puzzle to solve at whatever pace you want, because every pace is rewarding.

Or you could just use it to look at cats, that's an option too apparently. https://steamcommunity.com/sharedfiles/filedetails/?id=26836...
So let's have everybody write their own incompatible libs and partial solutions... It worked for C /s
Just say - "I'm sorry, but it doesn't make sense for me to take a 50% pay cut to change a job. If anything, changing job comes with many risks, and I would expect a pay increase to compensate for that". If they really want you, they'll budge. If they don't (they believe you're easily replaceable with someone else in the hiring pipeline), there's nothing you can say to change their mind. (This is under assumption that you've sold yourself well during the interview and they are already aware of the full value you can bring to them.)

I'm also from a low-cost country, and recently got a new remote job paying upwards of $150k, using exactly the technique I described above. They just didn't have alternatives, and knew that similar people to me probably wouldn't work for much less anyway.
My Safari doesn't, in private mode, eventually, open the link at all: after customizing the privacy options (all off), Google still tries to bounce me through googleads.g.doubleclick.net, and I have that blocked.

The way I “deal with this” is that I have a work Google account which I've signed into. With that in place, the link just opens. Obviously I have clicked "I accept" on a variety of forms saying Google is allowed to track my activity as they see fit.

I guess you can run a browser without ad blocking and the link will open after accepting the terms. However, I prefer to still block ads even in private mode for various reasons.
XML and YAML (including it's JSON representation) are complexity nightmares. But especially for xml, the tooling makes them appealing to use as e.g. distribution format with JS-less browser templating.
Are you by chance left handed? I can see that WASD would be awkward to use for anyone who keeps the mouse on the left side of their keyboard instead of on the right side of the keyboard.

Also, speaking of WASD. Anyone implementing WASD controls in a game, please make sure you make the keys rebindable and not hardcoded to WASD. I use the Dvorak layout so in the position that a QWERTY user has their hands when playing with WASD controls I have different keys, and therefore when I’m in game I make use of keyboard input configurations offered by the game in order to set up keys that work with the layout I use :)

And even though there may just be a handful of people that use Dvorak… :p there are still quite a few different keyboard layouts that are quite widespread.

Fortunately most games on Steam offer the ability to define your own keys. And even some browser based games do as well.
They got an achievement for it. Cookie Clicker is very much in on the fun of ruining the fun. It's part of why it has survived for so long and attracted such a fanbase.
Every single building that wasn't reused was dismantled for materials. Every single one.

There's absolutely nothing special about Roman monuments.
Nowhere on the website is Windows/Linux version mentioned/available for purchase.
Super useful utility for those odd times you need to record the system audio. Seems more stable than Soundflower, and I don’t need to do this often enough that I’d invest in Audio Hijack!

Has anyone found an easy way to route the audio to the speakers as well as through Blackhole? I use Ableton to do this, which works but feels like overkill and isn’t much good if I’m trying to tell someone else how to use it who doesn’t have Ableton. There used to be a little Apple app in some kind of extra tools zip which would route any input to any any output but it doesn’t work on newer macOS.
If you have queries about flows from a US broker to market makers, you can look for the 606 and 607 reports on their website. e.g. https://robinhood.com/us/en/about/legal/

"you need to handle that case explicitly .. order books used to serve that role: i’m not sure what the solution is in this era of HFT."

This is addressed by a Smart Order Router.
I had no idea about this. I am looking at it now.

https://en.m.wikipedia.org/wiki/9P_(protocol)

Here is the approach I am taking: https://github.com/prettydiff/share-file-systems
>Zig does not do this. It represents strings as byte slices.

That's what the parent meant. Char(aracter) is a byte in C.
If you live in Canada you should know that hospital beds != capacity since we don't have the staff to operate them. Our actual capacity for Covid patients is far less due to staffing and equipment issues. The EU has twice as many doctors per capita as we do. The US has more everything than we do.

Edit - I'd also look at all-cause mortality when the dust settles. Canada currently has an epidemic of late diagnosed cancers right now, for example.
I recommend reading a series of academic journal articles on data visualization from Nature Methods (http://blogs.nature.com/methagora/2013/07/data-visualization...)
https://rive.app is a free tool to create animations that integrates with a number of 'player libraries' (aka runtimes) that support most modern platforms.
Rive focuses more on interactivity, rather than just playing back a small clip like Lottie is.
As a non-web developer I have no stack that I already know so I gave a try something I've been following for a while - Deno. I once tried node.js and I had to install node... and npm... and nvm... and whatnot. What I like most about Deno is that it's more self-contained - just the Deno executable. I think it's by the Node's author(s) so I suppose they know of mistakes to fix with Deno :)
This is simply incorrect. There are plenty of viruses that end up with an intermediary grade that may well have very high lethality. Once a virus has spread what happens to the host is irrelevant, including death. See May and Anderson's paper from 1982: Coevolution Of Hosts and Parasites.

https://www.researchgate.net/publication/224043344_Coevoluti...

DOI:10.1017/S0031182000055360
That time was two or three centuries ago.
That's not really true at all. The single byte / single character comma separators are all that matters there. As long as you directly acknowledge / exactly replicate whatever blob of data happens to be in between each set of commas (even if it is nonsense garbage text) then you're correctly parsing the CSV.
FluBot abuses Android Accessibility features to steal data
I assume the limitation is only in China, and doesn’t affect the rest of the world?
Comparing the relative effect on a low vaccination coverage country with a high one seems slightly irrelevant no? i.e. delta variant is much less of a hospital burden in a high vaccinated country, therefore the relative danger of omicron could be much higher. If omicron was truly 'super weak' - wouldn't you expect to see the SA numbers go down?
That barely readable grey-on-white text declaring this use of the data and the pre-checked "Opt in to email updates" checkbox hidden in an expandable element below the form is a dark pattern (1) and a red flag that this "petition portal" and the organization behind it does not care about the core element of data privacy: informed consent. (2)

There are some smaller red flags in the privacy statement and cookie notice. (3) ("As is standard practice on many websites, we may [use] ... tracking technologies") and "(We will only make Personal Information about users available to third parties as [...] permitted under the terms in place with our third-party partners."). Wow such data protection, much privacy ^^ very informed - not.

But it gets even worse, when one looks at the API (4,5). The gist of it: the data a user enters on this page can be seen by anyone responsible for the petition the user engages with - named "sponsors" or "partners" aka "paying clients". The red flag: "unsubscribing" does not delete the data or prevent it from being shared, it just sets a "please don't use this data" bit. At least the partners (hopefully) can only see their own engagements, not which other campaigns a user engaged with.

Looking at the business model (6) it is basically a newsletter service painted blue for ngos and political corporations: and - like many newsletter businesses - it is looking at CRM for features.

The big one however is the integration with BlueLink (7,8) as a message bus that allows their clients to share the user data with other cloud based systems. The red flag here is that the user does not seem to have any say in that: total lack of consent mechanics. The practical implication of the implementation: if you sign a petition the petitioner can use your contact data however they want. For comparison: in the EU this might be illegal.

I wonder: if a consumer/user requests their data, would they get details like "we sent you the A variant of this A/B tested newsletter for our partner xy and you clicked on the link to read more" or "partner foo tagged you as 'potential-volunteer' after you responded to an event invitation" or "partner bar send your data to service Z after you signed their petition"?

Honestly, for me this doesn't really look like a pro-privacy platform at all, which raises suspicion that this is a bait-and-switch and the true intention is harvesting contact data. But it is probably a radical opinion that privacy advocates must use privacy friendly tools for advocacy. Maybe this platform will change as well, if and when congress enacts laws as requested by the petition they host.

1: https://en.wikipedia.org/wiki/Dark_pattern
2: https://en.wikipedia.org/wiki/Consent#Internet_and_digital_s...
3: https://actionnetwork.org/privacy
4: https://actionnetwork.org/docs/v2/people/
5: https://actionnetwork.org/docs/v2/delete/
6: https://actionnetwork.org/partnerships
7: https://help.actionnetwork.org/hc/en-us/search?query=bluelin...
8: https://bluelink.org/
Couldn't find a demo except that GIF.
Which is why you can't say that "Truly deadly virus's don't kill a lot of people." They can, and they do, there are many examples besides HIV.
>I believe there is someone using it in production for a field deployed embedded system that is tied to revenue.

Sure. But people do all kinds of not advisable things, even if revenue is at risk.

In fact, it might even be fine, for their use cases. The build it once, it has the libs they want covered, it works like the want, that's it.

That can work with any early release language/lib.

The problem is with someone casually putting it into production, and then not expecting breakage, missing libs they will need, finding that there's not much tooling, and so on.

In other words "can it be put into production?" is another question compared to "is it ergonomic, stable, full featured enough to be a good and easy production choice?"...

Almost everything can be put into production (and even work reasonably well), even a 1000-liner Perl script written by someone who first tried Perl that same week.
I wondered if you were thinking of pubs. 'England' then? (Prostitution, just not brothels or pimping or other 'organisation' is legal here.) OnlyFans is, afaik, 'a thing' here.

(But I don't use it or Instagram so I'm only really aware of it from non-UK specific stuff online. But then, if I am so are others, and some percentage of us that are aware of it presumably end up using it?)
I'm in a similar boat. I don't want a media center, I just want to be able to easily stream video from my PC with the highest picture quality (no unnecessary transcoding). Luckily I found an app[0] that does just that and does it well. Paid, but you can see the quality (only recurring issue is that the remote control app keeps disconnecting from my PC after a while).

[0]https://airflow.app/
You aren't in China.
Why not base policy on science and data rather than an apeal to "unity"
Study suggests Iota-Carrageenan nasal spray is useful in prophylaxis of Covid-19
Exactly. Mapy.cz is a brilliant service with a ton of its own technology.

So does Seznam.cz search engine, which, I believe, has it's own crawler and rankings.

Email.cz is used by the most of Czech citizens. When someone asks you for an email address, it's common to reply with the username alone and just confirm it's hosted on Seznam.
And yet the damaging travel ban against Southern Africa remains in place, even against recommendations by key US scientists...
RCE in Visual Studio Code's Remote WSL for Fun and Negative Profit
> Things like `.reversed()`, `.sorted(), and `.shuffled()` all work trivially correctly too (since you're not operating on a bag of bytes), and it's exceedingly rare that user input will confound the operations you might need to perform.

One thing to note: aside from programming interviews, these operations are fairly rare. And that's a good thing, because none of these produce results that are very intuitive, because they are not very well defined on strings in general (I don't fault Swift for this, but it's just a general problem with text). Using any of these to create a new String may cause entirely new characters to show up, or the length of the text to change. So Swift actually doesn't expose these as "string" operations, but operations on the characters themselves; in each case returning a new collection of characters that is not a String. Now, you can reconstitute them into a String pretty easily, but you should keep the this in mind when doing so.
Can we say the same about moths? I’m an avid participant on iNaturalist. I record lots of moth sightings because there really are many beautiful moths in Hong Kong.

There’s a “Hong Kong Moths” project on iNaturalist, but adding observations to that project can be very frustrating because the observation must be in one of the defined (sub)families.

But to an amateur like me, a moth is a moth is a moth. Sometimes even the machine identification is way off and I know it’s a moth because of the general body features.

And I wouldn’t want to put it in a random (sub)family just to get the observation included in the project. I’d have to @mention some moth expert (e.g. @hkmoths, Dr. Roger Kendrick) to help me ID the observation first.
comptime seems like a superset of templates. The target audience was probably not using OOP. People do come by the discord to chat about how nice RAII is though.
I'm doubtful of that. One big root cause for most of the delays is the fact that no new reactor projects were started in a long time before this one, in Western regulation regimes. Due to this, a lot of cumulative experience was lost from the industry and the designs become outdated. For example all the previous designs relied on relay based automation, which is no longer available. Add to that the increasing demand of safety, necessitating way heavier structures and yet again obsoleting designs.

I would think building another one like this should be less of an ordeal. Too bad the sister project at Flamanville was started too early after this one to benefit from the lessons learned.
Yes, almost everything is technically possible. I agree with the first three sentences. I don't have an opinion on the last.

Again, I was just curious if there was any reasons I couldn't think of why the top-level's comments were unfulfillable! I'm always curious about people's desires that (apparently) can't (or won't) be solved with software. This is a space I'm not too familiar with, but there doesn't seem to be any technical reasons why someone should have desires that get pushed against.

Certainly there may be practical reasons, I just wanted to try to pinpoint it a little bit. As an example - although I don't personally see much value in it - the audiobook thing seems like a relatively simple addition that I could see value in. I use Spotify for music, news, podcasts, and audiobooks (the last one is a lie, but I did discover there are audiobooks on Spotify to help my point). I could see the value in having these all on my tv - I just don't have one. But if I were in a situation where the tv was the typical media center, why not have it play audiobooks? It's actually a rather ideal platform for common audiobook consumption. As a recent comment somewhere here mentioned, people (presumably) tend to listen to audiobooks somewhat in the background. It seems handy to have a giant screen that could visibly show the current and recent text in an easy way. I find myself sometimes watching or listening to something where I have a momentary lapse in comprehension and I have to scrobble (do people use that term? Scroll? Seek?) a few seconds back to get the "umph" of a scene, sentence, or general point. If I were someone that listened to audiobooks while cleaning around the house or something, it seems handy to quickly read the missing few words to get the point rather than looking for my phone, unlocking it, looking for whatever app is playing the audiobook, getting distracted by other open apps, getting back to the audiobook app, and rewinding well past the point I missed because scrobbling across a 2 inch wide screen for a 10 hour book by a minute is impossible.

Weird rant. I have no horse in this. Just unemployed and this happened to mentally stimulate me I guess.

But I guess I could always just try mounting it locally with curlftpfs, and then using SVN or CVS on the mounted filesystem.[0] :)

[0]: https://news.ycombinator.com/item?id=8863

Edit: I'm leaving the usage as-is, but I seem to have used "scrobble" incorrectly. I think "seek" is probably the correct term. For some reason just yesterday I was thinking about "scrobbling" and I misremembered its functionality. Oops!
All those construction problems are pretty nerve wracking to read about. It seems that the major risks of these plants has shifted from operational hazards and design flaws to possible construction faults.

> The waste heat, an output common to all thermal power plants, which heats the cooling water (at 13 °C) is utilized for small-scale agriculture before being pumped back to the sea. The power plant hosts the northernmost vineyard in the world, a 0.1 ha experimental plot that yields 850 kg Zilga grapes annually. Another use is a pond for growing crabs, whitefish and sturgeon for caviar.

Hmmm not sure these paranuclear farm products will sell all that well…
I blindly accept the terms in Firefox private mode, consult the content, then close the tab, which deletes all cookies AFAIK.
I've run into these things twice, one of those times someone behind me tried to overtake nearly causing a head-on collision with oncoming traffic.

It is absolutely baffling to me that these things are allowed on roads where they can only manage less than half the speed limit.
Send greeting cards to team members inside Slack
Hey everyone, first post in HN. Would love your feedback

Been working on moments. Think back to the office, we've all given a card or gift to a team member celebrating a wedding, newborn, new job or something at some point, but this is not so easy in a digital-first workspace. Fully remote or Hybrid teams are building company culture on Slack, but using Slack is still limited. In Slack you can send a message or emoji at best, but it doesn't do justice to the occasion - it feels flat. Thats why I came up with Moments, a better way to send special Slack messages/greeting cards to people inside Slack.

Would love your feedback on ;

1. the product (download for free)
2. input on pricing for paid plans
Here's to making work a happier place