skysight-inc/HackerNews huggingface dataset:
While he is right, this still feels somewhat unprofessional. It's some arbitrary rant about something that he doesn't like, appended at the end of the contributing guide.

I could understand the feeling though, if their GitHub got massively spammed by crypto projects.
They might exist, but for now the proof-of-work coins still consume unhealthy amounts of energy.

It's rather pointless to point out that other things exist besides the thing being criticized.

"Murder is bad". "Yes, but food sharing exists".
> If you were to live many lives in a row, when would be your first time getting shot?

Statistically: that time I lived in the US.
The Semiconductor Problem - The Military relies on advanced semiconductors - The U.S. doesn’t make any:

https://www.nytimes.com/2022/07/14/briefing/semiconductor-bi...

The Chips for America Act : https://www.chipsact.com

US Chips Act Needs Stronger Congressional Backing Now : https://www.forbes.com/sites/timbajarin/2022/06/29/us-chips-...

Intel CEO Expects Chip Shortage to Persist Through 2024 : https://www.eetimes.com/intel-ceo-expects-chip-shortage-to-p...

House Bill Funds CHIPS Act, Stresses R&D : https://www.eetimes.com/house-bill-funds-chips-act-stresses-...

House Bill Funds CHIPS Act, Stresses R&D - (44 days ago | 117 comments) : https://news.ycombinator.com/item?id=31560844
I made a simple script below I find useful that commits current changes then automatically
rebases and squashes it with the previous commit, preserving the previous
commit message. I find it useful for a way to quickly save current changes before switching
branches, or for easily backing up work before its worth making a new separate commit:

git add --all
git commit --fixup=HEAD~1
GIT_SEQUENCE_EDITOR="sed -i -re 's/^pick (.*)fixup! (.*)/fixup \1\2/'" git rebase -i --autosquash --autostash --keep-empty HEAD~2
And your income tax is like ~45%...
> Then there's knowing at any given second your phone can notify you of an event and you have to put the volume at maximum and place it right next to your face every night with an expectation that you could be woken up at any second.

And just to pile on that even more: also dreading that you might not wake up if the page/call comes during the heaviest hours of your sleep.

It's happened to me, I felt awfully guilty for not waking up after a gruelling work day and some pages early in the evening. I was tired and had been asleep for around 2 hours, didn't wake up and the escalation policy took it up to my manager... I didn't get reprimanded or had any bad consequence from it, still the guilt made me feel like a failure and increased my anxiety when I'm on-call.
After years of iteration, here’s what our team does.

The team is remote and distributed across multiple time zones ranging from West Coast US to Western Europe.

This gets us as close to round the world coverage as we can have.

There are two people on call for each shift, each shift lasts a week.

It will typically (but not always) be one person from US and one person from UK/EU. This helps reduce the single personal cost and spreads it out so what might be night for one person, is morning for the other and vice versa.

All of our alerts are prioritized/categorized to help prevent alert overload.

For example, an alert for a test/QA environment will not fire outside of business hours, and it has a much longer time before it’s required to be ack’ed or resolved.

There are two on-call rotas: critical and non-critical.

Critical, production-impacting, and/or client-facing alerts are dispatched to the critical rotation.

The non-critical rotation only escalates alerts during business hours, again, with a more lax timeline for acknowledgment or resolution.

People are not part of both rotas at the same time.

If there’s a big enough incident, the folks on call get to take off that next working day or the next one.

I (the manager) am on call 24/7 for escalation.

Anything that is an annoyance during on-call is a candidate for review and change.

That can be anything from thresholds to code to upgrading some IaaS/SaaS subscription. Or even straight up disabling the alert if it provides no value.

People can swap on-call days as they want.

Typically, this happens if there’s a birthday, personal event, or PTO, and it’s worked out among team members. If no one else is available, then I’ll take their shift and act as primary.
> Faced with these choices, the status quo isn’t so bad after all.

Have you considered the possibility that the status quo only improved because it started facing pressure from an outside force, namely a decentralized system that could transfer value without having banks acting as middlemen?

I'm always here saying that the important thing about crypto is that it gives people alternatives. Consider crypto as an insurance policy against (potentially) corrupt institutions. The cost of this policy is high at the moment, but it will come down to the point where it will make sense to be more widely adopted, even if just as an insurance.
USB A? Nope, super reliable for 5 nines of users and use cases. With billions of users you still get millions of duds, but that's ok.

USB C is... Complicated.
"You can only wring so much blood from a stone. The problem of declining working class comfort can't be solved by belt tightening forever. We, as working class folks need to start banding together and reclaiming our portion of profits. "

Best way to do that is to create, participate and or support the non industrialized entertainment, not crying in the clouds.

That are so many free/cheap sports to watch, more than often very locally, why sticking to the high dollar working class milking stuff? There are so many cheap yet interesting cultural stuff happening, why going to the big theaters to watch blockbusters? There are so much stuff to do in the woods, national parks, lakes, rivers, why going to entertainment parks when you could be doing fun stuff outside with a lot less money?
Forced means, they didn't announce it as you could not do it. It's was a "be on-call" or you are out.

In a call I was explicitly told "every company does it like this, if that's not ok you might not be a right fit for this company".
You’re welcome to point out the conflict, but please drop the snark: “But of course that is not relevant to the discussion, because crypto users are evil vampires sucking away the life force of the world.”
This seems....oddly political for a low-level open source technology. Reminds me of the peace-not-war controversy [1] [2].

Edit: I'm surprised at the number of people here supporting political statements in open source. I was under the assumption that most people hated the peacenotwar module, but I guess opinions are more evenly split than I thought.

[1]: https://en.wikipedia.org/wiki/Peacenotwar

[2]: https://snyk.io/blog/peacenotwar-malicious-npm-node-ipc-pack...
I see that you have a hard time following an argument and the rhetorical techniques I used. I will break it down.

I compared the rate of school shooting deaths to suicide deaths for the purpose of pointing out the outsized amount of resources the issue takes up.

You claimed that it is wrong to analyze gun violence statistically.

I, for the purpose of demonstrating the absurdity of such an assertion, analyzed gun violence using a non-statistical and binary approach.

You then took exception to me conceding your point for the purpose of argument and using said non-statistical approach by then bringing statistics back into the mix and arguing that the frequency of gun violence is much higher in the US than other places.

So, which is it? Can we, or can we not use statistics to analyze gun violence? If we can, then we can compare the statistics across regulatory regimes and social, economic, and cultural contexts and show that gun violence can be affected in degree by those factors. If we cannot, then we cannot show that regulation is effective, since gun violence still happens in highly varied regulatory regimes and social, economic, and cultural contexts.

I would argue that statistics is an appropriate approach since, in my opinion, it allows us to come to a better reckoning of reality. Ultimately, your view is up to you. But you can't have your cake and eat it too here - you have to either admit that the use of statistics is appropriate, or that aforementioned factors are irrelevant to gun violence occurring. They are simply mutually incompatible views.
Show HN: Sunmao – A framework for developing low-code tools
What does ":" do in this?

: "${BASH_LOADABLE_PATH:=/usr/lib/bash}"
Sunmao is an open-source framework for low-code tools. You can integrate custom UI components in Sunmao to create your own low-code tools.

More details can be found in this post: https://github.com/smartxworks/sunmao-ui/blob/develop/docs/e... and our Github repo.
> method used by the hackers was identical with the last year’s attacks seen in the international cyberspace,”

It's good that in 1 year they learned nothing.
Not bug-free, but I have used the Jabra Elite earbuds for a while now (75t and 85t) and they manage multiple-device connections pretty well. Up to 3 (I think) devices can be connected to the buds at the same time.
How is hand rolled SQL queries something bad?
Why is this an off topic flame war comment but “I’m too tired to write a paragraph but SSRIs kill” is fine? The moderation here rewards engineer’s disease where we first principling our way to warning people to ignore Dr.’s suggestions as long as everyone’s smiling at each other.

It’s like an anti-vax YouTube video where any dissenting opinion is flagged until mods give up and remove it from the front page. It’s the same thing with abortion or anything else that isn’t a Rust article.
I'm sorry to read about your bad experience, it reinforces my opinion that to have business model relying on Google (or AWS or whoever else) will lead to such business to be at risk of being terminated with no reason provided or no route to defend it...
It has been almost 15 to 20 years of Bitcoin and it is still very slow for payments.

The supposed lightning network tends to centralisation inevitably which defeats the purpose of Bitcoin being decentralised.

All the while the current system has been working very well.
Your average container ship produces as much waste heat when operating already.
You have a gift for writing humorously.
> The other day I saw a news report that Wise (formerly Transferwise) does over $100 billion in money transfer volume annually.

15.8 Trillion dollars worth of Bitcoin was transferred between 2020 and 2021.

https://www.nasdaq.com/articles/bitcoin-transfer-volume-now-...
it's a factual statement.
Tugs may follow broadly the same paths, but there's a big difference between along same channel, adjusting for wind and current differences and running on rails. An overhead catenary system suspended over a river sounds like it'd be a nightmare to build and maintain anyway.
> I once printed out the BT5 spec (just the core), for Ss and Gs (on my employer's dime).

I've never dealt with Bluetooth myself, but once heard/read that a company could follow that spec perfectly and their device wouldn't work with large swaths of devices. The claim was that companies implement something that's Bluetooth adjacent but there are some non-conformances that everybody "just does" to make it work the majority of the time.

I'm curious if your (and others) experience align with this?
every successive C++ standard allows me to remove a lot of code which is a net benefit
Magnus Carlsen will not play in the 2023 World Chess Championship
Seems like NASA should step in and help with this.
HN italics markup is mangling your code – indent the code block to fix :)

like so!

> save current changes before switching branches

Also: why this over a stash? Stashing fundamentally just creates a hidden little commit with all your unstaged work on it. It does have one advantage over your approach, which is easily applying the work to another branch.
Lithium-ion, should last a long time
UK Phases used to be coloured as well. The wiring regs changed to make it much less confusing (and cause fewer issues for colourblind people) so that they're now L1, L2, L3.

The GP is also a bit misleading. Most residential properties in the UK are only fed one phase - either the street only has one phase or the grid connects houses up L1, L2, L3 in sequence. Of course I'm speak about detached and semi-detached houses, in larger groups of houses (e.g. blocks of flats) you usually get 3 phases, and one of the jobs of the electrician is phase balancing.
So what?

The bank / payment services company the author works at isn't building a distributed pyramid scheme where people lose their money.
Product designer here. Yes, I agree with you. I would also encourage a longer-term view.

Having cycled through different design tools, it is my experience that Figma is the best (or least bad, depending on how you see it) tool out there. They have been slowly, but steadily, adding features that have a legitimate value add for designers and engineers both. I read this as a signal that they understand the pains of both parties and they are cooking up features that will eventually solve these pains.

No one else is doing this. Sketch has been a total disappointment in this regard. I was a Sketch user for years until I switched to Figma. Sketch is an example in contrast - they release features that are either late to the party, or don’t have significant value add.

tl;dr I believe patience will pay off. I think design tools are on the right trajectory.
Bitcoin is 13 years old. Dialup internet was used for more than 20 years.
In this case the metaphor would rather be: "Murder is bad". "Yes but efforts to educate the population exist"
Ah there it is, the ad hominem attacks on anyone you disagree with. Wouldn’t be a crypto post without it.

[edit] so we can move forward let me make this easier for you. I echo and restate and agree with everything they said and I have zero economic incentive one way or the other to say that.
what the hell did I just read... but yes Apple's implementation of Bluetooth is quite subpar compared to most peers, even though not sure if Lexus is 100% innocent here
There are also plenty of older houses that are built very cheaply and not much good in heat or cold either (eg single-brick-skin Victorian terraces)...
Would love to be able to draw arrows as I think the puzzle through.
Well, sure.

I don't think anyone is the right fit for any relationship in which one side attempts to change the parameters without consultation.

It just doesn't make any logistical sense. You may as well ask a teenager doing a weekend job to come in on Tuesday. They're at school.

UK employment law doesn't really permit these sorts of shenanigans.
Ask HN: Specificity of app permission detection in Google Play
Google is currently contacting developers to remove unnecessary permissions from your app manifest or declare why it is needed.

Specifically, it's about "powerful" permissions like QUERY_ALL_PACKAGES or REQUEST_INSTALL_PACKAGES.

The request in itself is understandable and reasonable.

However, the automated detection of these permissions doesn't seem to work that well (for me), leading to false positives in my case.

Both permissions were detected in one of my apps, although one was never used and the other was removed in time. Still, I got a warning by email after the permission was already removed.

Anybody has similar experiences here?
So why are there people who call themselves Christians who want to make the US a theocracy? The people that those vote for enact incredibly harmful policies in the name of religious morality
Batteries are already being applied on smaller passenger focused routes. It has become mundane enough to not even make headlines anymore.

For example the ampere was ordered in 2011

https://en.m.wikipedia.org/wiki/MV_Ampere

Here's a ferry making locals news (use Google translate) which can operate for 3/4 of the day using batteries and has hybrid propulsion to optimally manage the level of charge. So no need for charging at each turnaround.

https://www.sjofartstidningen.se/goteborgs-nya-elfarja-dopt/

Here's a conversion from diesel to electric for a larger ferry on a short route.

https://en.m.wikipedia.org/wiki/MF_Tycho_Brahe

As the systems become more efficient and batteries drop in price more maritime use cases will be enabled. It's simply all about how long between each time you can charge, and which speed you operate at.
This is likely in response to some internal product/development team being told to go faster.

I’m guessing that their feedback was that cross-platform UI testing is occupying a significant chunk of their time.

Leading to some MBA type thinking they could cut the testing time in half if they eliminate browsers that don’t consist of 99% of the user population.
Good lord, this is by far the toughest of these Wordle variations that I've seen. Doesn't help that I'm rubbish at chess, of course, but still. Creative, though, never would have thought of something like this.
It's interesting that anyone other than the R&D arm of the pharma industry even cares how it works.

From the medical side what's important is what risk/benefit which is independent.

Antidepressant as a term is really only for convenience which the medications themselves being quite broad in action.

Antipsychotics too are having a bit of a revolution, the first generation seemed to all be about D2 blockade, the second generation acting on 5HT-2a much more than D2. Finally, pimavaserin acting only on seratonin (5HT-2a) and not on dopamine at all [0] now there's SEP-363856 [1] which has action not at D2 or 5HT-2A but TAAR1 and 5HT-1A.

The point is that psychiatrists are not particularly married to any mode of action or mechanism. Only the results.

[0] https://nbn2r.com/search#drug/90

[1] https://en.wikipedia.org/wiki/Ulotaront
If someone strongly dislikes one of the use cases for their tech, it is natural that they won't want to devote their time to helping that use case. Seems perfectly reasonable to me.
I don't really understand why open source maintainers somehow cannot make political statements. Why are they special? Commercial organisations make political statements all the time, usually at their own peril, so why can't open source projects do the same?
Why it's unprofessional? Many people/companies feel the same way. For example, Gergely Orosz https://blog.pragmaticengineer.com/job-board-testimonials/ (go to Exceptions). Maintaining a solid stance on matters you don't like isn't unprofessional. It's on the contrary.
I used to know a guy with serious nice/nasty mood swings, very obviously connected to food. He wasn't too self-aware - but his manager was a people person. She always had a few "oops, they gave me an extra burger with my lunch...do you want it?" plans on tap, to fix the problem by feeding him something.
Like others have said, tugging seems to be highly impractical. If you'd really, really, really want to try anyways, you might perhaps habe an easier time with electric ships that are fully capable of going alone, just without enough battery for the whole way. And that can be take-extended on the go by a relay of battery boats supplying electric power via cable instead of some very high number of Newtons (battery boats would only carry enough engine to self-supply). But close formation in heavy weather would still be so hard that it might in fact be easier to "simply" make them all submarines... (yellow, presumably)

But we shouldn't start juggling around absurd amounts of batteries as long as we don't even utilize low hanging fruit like equipping all those cargo haulers with mighty propulsion kites. That's basically a solved problem, just not happening because the refinery waste ships are conveniently incinerating is still too cheap. Particularly as long as we still burning fossils for electricity on land. Ship engines operate much to optimal load than ICE car engines designed for a market that demands excessive peak power for short bursts of acceleration. The carbon break-even point for ships would require much cleaner electricity than that for cars. Cars are an absolute outlier because their cruise load is so much lower than their advertised power and ICE engines are almost comically inefficient at low load fractions.
>No, it's like phone chargers before EU regulators stepped in.

When did this happen ?
Great! Don't use his library.
Highly disappointed with the butterfly keys. Not only are they uncomfortable but I just cannot get used to them.

Luckily, they came to their senses with the newer MacBooks.
Not really. A lot of that was just exchanges sending the same coins back and forth to each other. Centralized exchanges that are permission, censorable and potentially even fractionally reserved. This is only happening because the L1 is so utterly inadequate people can’t use it.

This volume isn’t at all comparable to the actual usage Wise sees.
Sorry but you completely misunderstood my argument. In this example you are not the customer of the hammer, as you're not the one buying the Bluetooth chips and SW/FW for them, but the phone/widget manufacturer is buying the hammer(chips) and he's responsible for using it correctly (FW and antenna design) to build a product where Bluetooth works well.

But like I said in the comment above, if the phone/widget manufacturer fucks up the Bluetooth implementation (misuses the hammer) because they cheap out and buy the cheapest no-name Bluetooth chips they can find on the market instead of buying from established companies, and then farm out the FW and antenna design to the cheapest sweatshop in Shenzhen, Bangalore or Eastern Europe since cost cutting and crunch in the consumer hardware industry is rampant and everything gets nickel and dimed to fractions of a cent while being rushed out the door to meet Christmas sales season or some other arbitrary product release deadline, then the phone/widget manufacturer who sold you the device is to blame for the rushed and buggy implementation, not Bluetooth itself.

So to conclude, if your bluetooth phone and watch are buggy, then blame their manufacturers for improper Bluetooth implementation and validation and ask for fixes/replacements/refunds, as a correct Bluetooth implementation is possible to do if you hire skilled engineers ($$$) and give them time to perform validation tests (more $$$), but instead, most of the widget manufacturers(including car companies) cheap out, like I said before, and cut dozens of corners to get their product out the door quickly and cheaply so they can skim more of the profits.

I hope it's clear now.

Source: Former FW engineer for Bluetooth widgets
I found the author to have cherry-picked and poorly-cited information earlier on in the book when talking about antidepressants, and then a complete lack of rigor when discussing the various lost connections. I think he has a point, but I just didn't find it very well done, and as another comment here has quoted:
> Other clinicians say, however, that the notion of depression being because of a simple chemical imbalance is outmoded anyway, and that antidepressants remain a useful option for patients alongside other approaches including talking therapies.

It is also notable that the author has had plagiarism issues and other questionable behaviors in the past: https://en.wikipedia.org/wiki/Johann_Hari#Plagiarism_and_fab...
> Everyone except Apple was already on USB.

My old box of chargers begs to differ
And it's a fact that the Russian Ukraine conflict has killed many and caused untold damage on the world. Yet many people, who were against the war, still didn't want irrelevant political narrative in their npm packages, even when it almost never affected them (since it was targeting Russian IPs)
https://github.com/aaugustin/websockets/blame/d8a436fc0eec66... a quick look on his linkedin will tell you that that paragraph is there for a bit longer than he is working at Qonto. I guess you could tell us about your conflict of interest? Crypto users are either stupid (and future bag-holders), criminal (well, some people get rich) or naive (probably a lot of contributors...).