skysight-inc/HackerNews huggingface dataset:
Yeah but they’re not necessary for selection. Label elements actually need an input with ID to function. The other useful use for IDs is for deep-links in articles.

But then again that doesn’t mean the id should be used for selection (in JS nor CSS) as it’s probably easier to target many elements with a class, should they ever co-exist. This is basically what you end up with if you build components anyway (even without specific frameworks)
What is even worse some have hardcoded regexes, so if your domain does not end with .com it does not accept it as a valid email...

That + behavior is pretty standard and not related to google only.
One really cool little JS library I've been using for a bunch of desktop automation tasks lately is nut.js and the lower level libnut library it's implemented on top of:

https://github.com/nut-tree/nut.js

https://github.com/nut-tree/libnut

It provides a means to send user input (mouse movement/clicks and key presses) and read and react to changes in visual state (through screenshots), and works across Windows, Linux and MacOS. It automates at a much lower level of abstraction than the approaches mentioned in the article that script against programmatic APIs.

What I really like about this lower level approach is that you don't need anyone's permission to automate anything, since there's no programmatic API that the system owners has to provide for you and thus can limit or take away when it becomes inconvenient (or more likely they'd just never provide it in the first place).

Any task that can be accomplished though looking at stuff on the screen and clicking a mouse and pressing keys on a keyboard (i.e. what a real person would do to accomplish the same task) can be automated, and it's actually surprisingly easy and effective to do this with nut.js. What really helps is that OpenCV has become ridiculously good and ridiculously fast at matching/identifying objects from a screenshot, with latencies usually in the low double digit miliseconds, so latency-based flakiness isn't nearly as much of an issue as I remember it being in the old days. I've also played around with OCR with tesseract but haven't had as much success with it in terms of perf, and remember seeing latencies of several seconds for even recognizing a single word from a tiny pre-cropped screenshot containing only the word itself, so these days I end up just taking screenshots of text to identify with OpenCV instead.

The main tradeoff to this approach compared to automation through APIs is that because it works by simulating real user inputs, it's not very amenable to running in the background while a user is actively interacting with the same machine, so a separate machine or VM is often needed. That's an acceptable tradeoff for some use cases but complete deal breaker for others, so YMMV, but just wanted to bring this cool little tool to people's attention.
> So, here we are in 2020, and nix#864 remains unmerged. Fred, you say, you overreact.

I read the entire PR. I _want_ to agree with the author, but I didn't find this reasonable. The feedback, for the most part, was not about being perfectionism. Not remotely. It's about being correct.

This is not unique to Rust, which as a language spends a lot of time being correct in a few dimensions, but pretty traditional. You can't just call library functions from a multi-threaded context without understanding if they're thread safe or not, if they're reentrant, without using appropriate buffers or handling errno correctly.

Well, you can, of course. But then you have bugs, and crashes, and race conditions.

I don't mean to come off harsh but this is pretty bog standard stuff. Maybe the author is new to all of this, maybe not, but complaining about perfectionism when the issues being raised are almost entirely real actual issues really rubs me the wrong way.

Take a look on LKML, or Git's mailing list, or on any serious project from the last 20 years. The barrier to entry isn't mailing lists, or Torvalds, or perfectionism or gatekeeping. The fact is that most programmers do not have the patience, skill or experience to write half-decent code that isn't bug-ridden garbage. I don't think any project maintainer ever wants to accept contributions that make their life harder.
When using a component framework, I consider components that can only be put on the page once a bad practice. Sure you probably only have the user menu on the page once, but it shouldn‘t rely on that. Not the case in a storybook for example. If I use IDs, to associate aria labels etc, they are mostly randomized.
Not just Mali. Mauritania, Senegal, Guinea, Côte d'Ivoire, Burkina Faso, Benin and Niger.

I would encourage you to read more about Divide and Conquer, the territories mentioned above, French activities there, and resist the temptation to use a single article to generalize what millions of people want.

I think you are hopelessly naive about military affairs, revolt does not work like you think it does and comparing India vs post war Britian and the Boston Tea Party to a much more nuanced contemporary corporatist form of colonialism is ignorant.
Woah, the gas savings is blowing my mind! Thanks for the excellent write up.
The permission request should probably be reworded to make that more clear.
I have seen this “non-zero” times - not common, but it exists.

Some folks are insistent that their PR and their specific problem be addressed by your project, and the effort they put into writing code before discussing it just increases their attachment.
I am working with Kotlin for the last 2 years and have js / typescript / php experience.
PHP is still a great choice to start new projects in for many web applications.
> The “classic” ligature issue.

We try to make our terminals do things no terminal (remember those boxes with a CRT that used to be in a room, then became ubiquitous enough to end up on our desks) ever did, or considered doing. Do I enjoy being able to partition a window without needing tmux? Yes. Do I like text reflowing when I resize the window? Sure. Do I find Tektronix mode useful? No. Do I find it fun? Of course!

We all are passionate about some thing or another (I, for instance, maintain an IBM 3278-2-like terminal font), but I have to agree that, when someone says my suggestion for adding smooth scrolling or double width/height attributes to VTE (I promised to add Tek support to it, but, like so many other side projects, I didn't have the time to start it) is niche or, worse, a Terrible Idea, they are not doing that out of cruelty, but from a position of "I'll have to maintain this idea only you like forever", and, in their place, I'd probably do the same (as I have in the past with `pip-chill` (another thing I maintain), when I think an idea is not great).

OTOH, from the other side, I'd love to see https://github.com/urwid/urwid/pull/434 merged :-(

And, of course, having https://github.com/htop-dev/htop/pull/736 shot down was disappointing, but understandable.
> You're not the only one - I also hated some of the things you've said about programming; I couldn't help it, programming is a large part of my identity, so I got defensive really fast.

Also, although I'm saying that learning programming is relatively easy, it is a field that is hard to master. The difficulty isn't understanding what a function does, but understanding how to architect a huge complex system so that you can still reason about it afterwards. Those systems will all be made up of those simple instructions though. That is different from math, in math the systems you invent often are entirely new things and can't get divided into simpler things.
Greece, France, Spain? Even some places in Germany, I think.
If children go hungry in Germany, that's a failure in the system. It happens, but rarely. Everybody in Germany has enough food and shelter if the system is working as it is intended.
I'm confused, is this only about USA schools? If so why the history lesson about Prussia? Surely many countries would have the same issues then.

> Most pupils are taught collectively rather than individually

Err, yeah, because that's cheaper. Anyone want to increase the education budget 10x?

> It should be noted that prior to the Civil War, the large majority of Americans were not slaves, indentured servants, nor employees of other people.

Yeah, I wish we could go back to the olden days when we grew Intel Core i7 processes on our own farms, much better to be self sufficient

> The reason for this being that these parents had the gall to demand a say in their own children’s education, protesting and screaming about curricula and mandates that were implemented unilaterally without their input.

If only they'd been to school and learned to communicate without screaming like children.

> Can we honestly say that our accelerating funding of education in this country has been the key to prosperity?

Yes, yes we can.

> The children in public schools who sit down and agree to absorb information are marked as intelligent and tracked as headed for success – the other ones, who critically reject simply parroting and assenting to what is being told of them are labeled stupid and sent on a path for dejection and exclusion with the intent that it should follow them through life.

Has anyone ever politely asked a question about something and been sent to detention?

> Lying to the public

To be fair, the public are a bunch of idiots who'll panic and cause shortages where non exist.

In conclusion people in the past said things relevant to the past.
Bennan has since repudiated 8chan and has fought for it to be taken offline. Let's not judge him too harshly.
The Rust library ecosystem is small but they tend to be high quality IME; this is a drawback of it I suppose.
I wish I'd self-published sooner
A project owner has the final say into what goes into his project.

Don't like it? Just make your own project.

Why is the Rust community so full of entitled drama queens?
So ignorant that I'm surprised he doesn't just admit to being a troll to avoid being seen as and proven to be that ignorant by his own words.

But even then, Popehat's Law Of Goats would still apply:

https://www.urbandictionary.com/define.php?term=Popehat%27s%...

>Popehat's Law of Goats

>He who fucks goats, either as part of a performance or to troll those he deems has overly delicate sensibilities is simply, a goatfucker.

>He claimed he was just pretending to be racist to trigger the social justice warriors, but even if he is telling the truth, Popehat's Law of Goats still applies.
Am I right in understanding that you're referring to misgendering slurs?
D'oh. Misread and thought you were correcting the last two letters. Sceptre, not Spectre. https://www.sceptre.com/
I don’t understand why people care about this. The only relevant price is the one you have to pay now, and the only question for you is if the thing is worth that price to you now.

Perhaps if you’re buying something as an investment, and are trying to predict the future price—but even then, the price in the past doesn’t tell you much.
I'm not too versed in the terminology, but my intent with 'offset' was to mean e.g. planting X amount of trees to counter the exhaust of a long-haul flight (or other such activities which can't easily be decarbonised)

I agree that the wood->gas stove example creates perverse incentives. It can certainly be a good investment, but the costs/risks/rewards need to be distributed to the appropriate stakeholders. In this example, I could imagine a setup like:

- Country levies a flat tax on carbon emissions

- Country pays out a flat/progressive dividend, to prevent the carbon tax making the poor worse off

- We can imagine the above balance out, such that person A with a wood-burning stove doesn't notice any cost difference

- Person A now has an incentive to switch to a gas-powered stove (reducing their tax without affecting their dividend)

- Person A can purchase such a gas-burning stove using a loan, paid for by their dividend saving (with some dividend left over to incentivise the switch)

Such a setup would be essentially the same as giving away gas-burning stoves, but the incentive structure is different: the 'potential future emissions' question has to be answered by the people who stand to gain. In the above example, Person A knows how much they spend on wood fuel (including tax); they decide whether a particular gas-stove loan is worth taking; and they gain the dividend savings during and after the loan's repaid.

I'm always iffy when it comes to loans for the most economically vulnerable; but the state can still play a role, by reducing predatory lending practices, etc.

> To actually clean up we would need Direct Air Capture. The cost is 100+x higher than the usual cost of carbon offsets, and supply is very limited.

Whenever I see such schemes I always like to see what happens if we incrementally simplify the setup. For example, we might start with:

- Extract oil -> burn oil -> synthesise carbonate rock (DAC) -> bury carbonate rock

If we use a different DAC system, we can synthesis hydrocarbons instead of carbonate rock:

- Extract oil -> burn oil -> synthesise oil (DAC) -> bury oil

The burning and DAC steps cancel out, saving money and energy:

- Extract oil -> bury oil

The extraction of fossil oil cancels out with the burying of (fossil or synthetic) oil:

- Do nothing

In other words, the simplest, cheapest form of carbon capture is to leave the oil in the ground. In that sense, DAC has two roles:

- Cancel out the burning we've already done

- Decouple energy usage from energy availability, e.g. if some remote location is great for hydro/geothermal/etc., but there's no local demand, we could use that energy for DAC. However, the majority of the time it would be even more efficient to just run electricity cables (e.g. HVDC).
Freedom Ship-City at Sea
At the end of the day, it's all about money.

IT is high demand and generally high-paying. Per supply and demand, if you increase the size of the labor pool, you get higher competition, which drives down employment costs. It's not surprising that some of the loudest get-women-in-IT shills are IT employers and some NGO's and state entities who are in these companies' pockets.
Hellbound Season 2 Is All Set for the Release
I agree that there are all kinds of things that are under-documented in Emacs, but isn’t Artist Mode a top-level headline in the manual?
Yes, I am - there's only so many good hardware engineers in this field who can innovate. And now that there's a lot of demand and competition for them, it's concerning if Apple is unable to retain them.
> What a sneaky way of supressing people by education and access to clean water.

Upliftment is not providing bare essentials to the enslaved. We’ve already seen this happen with British colonies, where they aimed to “tame the savages”, but just enough to make sure they stay enslaved.

This is what is happening now by the developed elites, as well.

Ironically, despite this whole thread focusing on developing countries - we see the same even within developed countries. Whatever labor/tasks/services cannot be outsourced/imported, need to be performed by the “lowest classes” of the developed nation too. They are mistreated, exploited, and prevented from real upliftment. In fact, even moreso to your point, they have “access” to the best education and resources in that developed country - and yet are “lower class”?

Think about that for a while, and why it happens in the modern world.
As I maintainter myself, I completely disagree. It's a fair complaint that everyone contributing to open source will eventually suffer from.

> Please don't ever post things like this.

What the hell, is this against any HN policy? Or you think no one should post their point of view here if it's against yours?

EDIT: I think it's important to note that burnout is a result of you having an issue within yourself (at least in the context of voluntary projects), it's not something others do to you... you can choose to ignore all pull requests, for example, or say in your README that you won't accept any (I've done that myself to projects I wanted to keep in a certain "permanent" state for reasons). If you choose to engage in discussions, that's your call.
Boston U Engineers Develop Acoustic Metamaterial and Noise Cancellation Device
No, he didn't fight for it. He sold that site - that’s all. When he had the power to stop GamerGate imageboards - he didn't. When he could remove boards with CP - he didn't. What I wrote is far from “judging him too harshly” :)

He only apologized for not removing the shooter's manifests. He didn't apologize for GamerGate, CP, racism, neo-nazism, and other terrible things. His words about the 8chan shutdown - “I was not even that upset about that” [1]. You can’t call it “fighting”.

[1] https://jacobinmag.com/2021/04/fredrick-brennan-8chan-intern...
I can't find anything saying those chips have reached market, let alone a benchmark.

Everything I can find suggests new model numbers too.
That needs the "boot host" rpi to be a usb device or usb otg - afaik, only the pi0 and pi4 have usb otg. These can emulate a usb storage device via the usb gadget subsystem. Additionally, only RPI4 has USB boot capability, and it does not work with all usb devices.

More importantly - something like this can only be hooked up to _one_ boot device, so the usb hub and multiple pi's are a no go. I don't see any advantage compared to just using a usb stick instead of making a rp0/rpi4 pretend to be a usb stick.

You should look into network booting the multiple pi's - if thats suitable for your use case. You will still need an sdcard in each pi to provide the network bootloader, but once the boot is done, the sdcard isn
't used anymore (until the next boot)
It's difficult to be sure, but my guess is that it will be something like the flu. Give an annual shot to the very old, the very young and other group at risk, and ignore the rest.

(Perhaps piggyback other coronavirus and common cold virus that may cause problems in risk groups.)

(Al alternative is the SARS / MERS approach. Once the big initial peak is controlled, just ignore them and keep the eyes open in cases they come back.)
Impossible Foods brings total funding to $2B with new $500M raise
Nope, sorry. Maintainers are not above criticism just like anyone else, and this post did so in a respectful way. It’s a real problem and e.g. the reason we have stopped trying to upstream any fixes to OSS libraries at work - it’s in no way worth the effort to jump through these hoops, take our bugfix or leave it.
Polite Technology
The "Art of Rejecting pull requests" is hard.

read more:

"Polite Technology

This is a book about the social interactions and situations that are the underpinnings of the open source world. It's about how humans collaboratively create software."

https://polite.technology/preview
I am judging it by the comments.

I have been on both sides of this situation over the years, but it was never too extreme.

On the maintainer side: I have a small project that has picked up some pace recently, though is still rather small, and there has been only two situations where i said “this feature is not going in no matter what”. Because it will increase my burden as a maintainer and main author.

On the contributor side: If the maintainer in a timely fashion suggests some changes that seem reasonable, I am happy to spend the time doing them. Often they will give an “outside” view that will make a patch better.

Sometimes I saw them being quite selective about what they want to merge, whereas for me “just that bit” solves a real need and I see the request as too much work - then I just leave my fork as is and use that for what I needed. I see their rationale, and I am thankful for what they have done. And I leave my modifications in the fork in case someone needs them or wants to pick them up and improve.

The freedom with open source always should go both ways.
I'm afraid he may be referring to automated police forces and armies, ala Robocop and Terminator.
Thanks! I just gave a thorough clean to mine, tweaked times and heat and had my best coffee of the year.
It's easy with static content, but React tends to run into performance issues with long lists like that. Generally the way of fixing it is virtualize the list. Basically check the window scroll position and only render rows that you need to, instead of the offscreen rows. Twitter does this well, but I'm not sure you'd be able to Ctrl+F for text that isn't rendered.
interesting read. I feel like you need to consult good lawyers more often.
For backups that I can safeguard physically (as opposed to cloud), I just copy files uncompressed and unencrypted using FreeFileSync and Syncback. Restoring now is as easy as media swap.
It looks like you can specify a per-container proxy URL. I imagine under the hood that's how the per-container Mozilla VPN support must work too.
It’s only because American “moral standards” don’t care about slaughtering millions, as long as the victims are not Americans.

Regarding Russia: remember what happened when Russians downed an airliner in Ukraine? They “disappeared” the perpetrators. Remember what happened when Americans downed an airliner in Iran? They decorated the perpetrators. This is some difference in moral standards indeed.
The whole point of PRs is to gatekeep. They are there to enforce that the change is consistent with the owner's standards.
Ha, trying to get Alacritty to have a native-feel icon for macOS which had basically zero drawbacks and most other applications do was met with a straight up NOPE. Not up for debate, people supplied the assets and I even made a PR, nope, closed. Even though it was in a directory full of platform specific stuff (Alacritty.app resources), it was decided that it couldn't differ from the other icons, so Alacritty has to stick out like a sore thumb on the dock unless you manually patch it each time.
Ask HN: How many bookmarks do you have and how often do you revisit them?
This war has, in fact, become the war to end all wars. If citizens on this planet can be brainwashed or robotized, using dumbed-down Pavlovian/Skinnerian education, to accept what those in control want, there will be no more wars. If there are no rights or wrongs, there will be no one wanting to “right” a “wrong.”

Robots have no conscience.

[1] "The Deliberate Dumbing Down of America: A Chronological Paper Trail" by Charlotte Iserbyt
People with means also have to work to preserve their position - at the very least they need to navigate laws, invest smartly, be on the lookout for possible political upheavals etc. Nothing is free, and wealth preservation can be a lot of worry in itself. Just ask anyone in the FIRE subreddit.

Of course, technically you're right - there will always exist a minority of people who were so wealthy (and lucky) that, even though they didn't care about wealth preservation, their wealth didn't run out before they died. If, in addition, these people inherited all their wealth (as opposed to doing any work to obtain it), then they are the (only) non-slaves by your definition, proving that not EVERYONE is a slave.
$1.4 billion series A? Holy hell. Am I out of touch or is that a weirdly high amount?

Edit: also a $155M seed for a payments company. What.
I've normally thought of it as a retailer thing, but it does look a bit like it's brand-led in some cases.

I'm currently in the market for a few big ticket household items, and the Black Friday hype is everywhere I look. When I try to compare prices for specific models, they are suspiciously identical everywhere, with a few outliers charging the higher RRP.

I would expect a retailer-led approach to have a bit more variation. Just a few quid here or there, where some might have a genuine "clearance" need, others lower general overheads/margins etc.