skysight-inc/HackerNews huggingface dataset:
We are all ethically bound to abide by the principles of due process in our dealings with others, whether proscribed by law or not.
The API response ends up being the source of truth, in this case. If you wanted to prevent the user from updating the internal state while waiting on the API, you could certainly do that with a check for `updateThingRequest.status === 'pending'`.
One thing that is interesting about this is not that these vendors made the initial suggestion of a kickback. Instead Kail said he would get them in as a vendor if they made him some important person at their company. So the idea of the kickback wasn't from the vendor.
Poor them. I don't see an argument for anything, only shill defenses of a gamed bureaucracy that brought us such hits as rolling blackouts for Enron and town-leveling forest fires.
How do you propose to "remove" them "forever"? Are you suggesting the death penalty for petty theft? Or housing them and feeding them for the rest of their lives without possibility of parole or remediation?

The US already has more prisoners per capita than any other country in the world. Is the "throw everybody you don't like in jail" approach actually working?
See this person's submissions history and his comments.
Agriculture alone, or fueled by fossil fuels?
i've been working on the "C++ API" side of this if you're interested :)

- https://github.com/celtera/avendish

- https://ossia.io/posts/reflection/

coupled with the definition of a common ABI, the holy grail of reusability may start to be closer
Hiya, I'm the original author. tl;dr for those deciding whether or not to read it:

If you are thinking about build versus buy for your ETL solution, in this day and age, there are enough great tools out there where buy is almost always the right option. You may think you can write a "simple" little ETL script to solve your problem, but invariably it grows into a monster that will be a reliability liability and engineering time suck. The post goes into more depth on why that is. Enjoy!
Show HN: Released Little App to Toggle macOS Low Power Mode from Status Bar
BackBlaze, my dude
I don't see how this isn't just patently false. Haskell is used to process every single user interaction on Facebook and OCaml handles billions of dollars of trades daily at Jane St. I doubt your use cases are more 'serious' than that.
Total number of Chinese students about 370k https://fortune.com/2021/08/16/us-universities-international...

Your link shows: The CSC funds approximately 65,000 Chinese students studying abroad in a given year, and the same number of international students in China.[1]
The GP also mentioned Python in another comment, and specifically asked "what about strong type systems", which makes the comparison to Python relevant.

> something that could potentially avoid the Ariadne disaster

Haskell or any language with modern static typing would definitely have helped. You wouldn't be mixing unit types and confusing them like it happened (if I remember correctly) with the Ariadne. Would it have been enough? I don't know! But it would have helped! Any measure of static and dynamic analysis would have helped for mission critical software, and it's evident the Ariadne had some serious deficits in this regard.
Can you elaborate a bit more on your setup? What switch do you use?
Why do they take 32 15 min appointments a day instead of 16 x 30 mins? It's not rocket science.
No. This is pure propaganda. Some west germans made good money from east.
That made me laugh. This neighborhood is in California, so it's not so farfetched.
If you're poor and steal 700k you go to prison for life. If you're wealthy and do it as an executive you get 1 year with good behavior.
I'm liking it!
It also creates friction for the client, making it less likely that you get paid.
Well I think this falls right into the anti-competitive argument. With the option of booting unsigned code the platform is available for anyone. Microsoft did sign boot loaders so linux can boot, there would have been some kind of fallout if they had not. So the booting of unsigned Mach-O sunds like a minimal action to not let it become a public issue for Apple.

The addition of raw mode sounds like a stable abi for booting linux. The Asahi developers have found "stuff" with the hardware. Just that feedback will be of great value to the continued development of the Apple SoCs. So my guess is that the raw mode is a gift with the expectation to be able to see how the Linux folks solves other issues.
DK: Dansk Folkeparti

Well, they lost of a lot of their voters... because most of the middle-seeking parties adopted their hostile foreign policy and made them irrelevant.
Food is a human right and a commodity sold for profit.
I see that as a reaction to the previous raise of the intolerant left. If that is so, it's self correcting and the entire extreme right will go back into being treated like the clowns they are as soon as they get any power.
File format support is baked into the OS. Apple actually makes static linking very difficult for exactly this reason--so they can reliably introduce support for new file formats on OS upgrade, rather than some apps needing to catch up.
If I can implement it as an AST Walking interpreter, Have the syntax be lisp, and leverage most of the runtime of the language I write it in I could produce something in a week and probably teach them to use it for some definition of use as well.

Would it be polished? no. Would it have really good well defined semantics for everything that I might want it to? no. But within those constraints I could probably do it.
On a technical level: I assume they'd be finding files they want to block by looking for a hash, right? Are these guaranteed to be unique or are collisions possible? And any organized and genuine bad actors can work around some kind of hash filter by altering files slightly, right? I'd hate to think that Google's abject arrogance is going to result in false positives that are going to nuke normal peoples' livelihood with no recourse while again barely having an impact on real bad guys.

On an ethical and moral level: my opinion is subjective, but this puts an undesirable amount of control over people in the hands of a company that has demonstrated that it cannot be trusted. If Google cannot provide actual human customer support to avoid wrecking lives with bad algorithms that make wrong decisions, then their policy should be to merely allow everything that's not blocked by law/court-order.
There is 100% certainty that Apple has compiled Linux on their M1 chips. At the bare minimum, they are using it for testing.
My complaints with redux were that people couldn't leave it alone. At least in my experience, there was a lot of middleware or libraries built on top of what was a conceptually very simple library.

Using the redux-toolkit and the hooks, with none of the additional junk is a great experience.
Patterns for authorization in microservices
How do you think companies end up violating GPL. Maybe sometimes it's a heartless executive, but a lot of enterprise software devs are completely unconcerned with licenses. If they can get their hands on it, the license doesn't matter.
I have talked to people who saw it. Similar to how we can still talk to holocaust survivors. Maybe they are all lying. But the motive seems unclear and the testimonies are corroborated by others.
Happens in manufacturing allll the time, especially if you're contracting our work to companies in India/China/Vietnam/etc.
Kudos on Redux Toolkit! Anyone who complains about boilerplate with Redux has obviously not tried the Toolkit version. Very impressive.

A bit sad that immer was used (a bit too much magic for my taste), but I can understand the reasoning, and if you just accept it, it's ok.

Thank you and all the other maintainers for your work!!!
How do I decide? I look at the features and documentation for each language, and try to figure out what problems it is best suited for. I also ask various people I trust (and HN commenters!).

I agree: If the problem is "How do I get paid?" and the best available job requires learning Haskell, then learn Haskell!

But, I think this is kind of an evasive answer. First, not many jobs require Haskell, so if my choice of language is dictated by economic concerns I'm better off with, say, Python or various web dev stacks. Second, because I have in mind a situation in which the implementer has a fixed problem and is trying to figure out which language to use. (A personal project, say.) I'm sorry if this was not clear.

So, I ask again: are there any problems for which Haskell is a better solution than Rust?

edit: Regarding the Ruby question, I think the language has various flaws, but going into detail would take way too time. A shorter answer is: numpy, scipy, pytorch, numba.
I’m sure every employee has to read their company’s code of conduct and those are quite unambiguous about what’s allowed and what isn’t and that which isn’t is serious and will get you fired --no company wants to have to mobilize lawyers and waste hundreds of professionally billed hours for an employee violating regulations.
For another example, look at how college bribery schemes are illegal.

They're not illegal because they're unfair or immoral, they're illegal because the administrator is selling the spot that the college owns; it's not his/her spot to sell.

If the company wanted to be used by Netflix in exchange for equity, then they could make a deal with Netflix itself. This executive was essentially selling the rights to contracts (akin to spots) that he didn't have the right to sell.
There is no such social consensus. People act according to expectations. If we expect college students to act like adults then they will. I certainly didn't feel like a kid when I was in college.

It's bizarre how some societies have lowered their expectations of young people over the past couple centuries. When Horatio Nelson was that age he was captain of a warship, leading hundreds of men in combat and doing a pretty fine job of it.
If the app includes ByteDance's proprietary BVC1 or BVC2 encoders, it's possible those would have to be open-sourced.
A big challenge with the React ecosystem is that it's the first technology many new developers work with. They don't have a frame of reference for what alternative approaches exist, and therefore 'best practices' are taken on faith and followed blindly until their nuances can be learned through experience.

That's not a bad thing (and it's better than the alternative of not caring for design patterns whatsoever). It's part of the learning process, and since there are so many beginner developers who are using React, their perspective is much 'louder' than in other dev ecosystems.

You can see this in the absurd amount of introductory-level React content posted to Medium, DevTo, Twitter, etc. This has bred a very strong 'follow-the-leader' culture where, when the one person is the room who _does_ know what they're talking about makes a statement, others will repeat it verbatim without understanding its nuances due to a lack of experience/context.

Redux suffered heavily from this. New React devs in 2017 were faced with mountains of tutorials which all used Redux. Many of these tutorials were written by other newbies. Your mental model of React dev was then shaped around Redux. Therefore you would put everything you could into the Redux store, which is a bad idea -- you usually don't need form state in there, for example.

Then some React thought-leaders saw this problem and inadvertently created a counter-movement by raising how Redux was overkill for some use cases, which was misconstrued as 'you shouldn't use redux _at all_'. The pendulum has been swinging back and forth ever since.

Yes, not every application needs separation of concerns. But some definitely do. It's not black and white, and that unfortunately means there's no definable 'best practice' that can be tweeted or blogged about and followed blindly -- it just has to be learned from experience.
No further engagement until you critique Xi or the CCP to prove good faith.
Still no HN over IPv6?
Apple won't say that though, Apple instead will tell you all about their new recycling robots and incentivize trading in older devices for newer ones.
Yeah the use-cases I'm going for are sites that have a lot of content (pages), which would take too much time to create a custom image for each page.

Ex: blog posts, products, buy/sell sites, etc.

If your page already has a custom image made in photoshop with text on it, it's not very useful (as you would want to use your custom image anyways).

This needs to be clearer on the home page, thanks for trying it!
From TFA:

Evidence at trial showed that several more companies paid Kail. Neither Netenrich, Vistara, nor any of the other companies were charged with criminal conduct. Only Kail was charged with devising the criminal scheme that defrauded Netflix.

Since Kail was charged for wire fraud and mail fraud (deceiving Netflix about his personal compensation and conflicts of interest), it seems possible that the companies could be charged with "conspiracy to commit wire fraud" for colluding with him? It's hard for me to say exactly how easy this would be to prove—I think it's pretty clear to say that most companies / people should know that paying someone on the side for inside information on competitors or paying the VP a % of all contracts is an act to defraud Netflix. So the "meeting of the minds" to commit fraud is there, and the actual fraud is there (because one of the participants in the conspiracy committed it). But obviously this stuff is complicated and i'm not a lawyer. Also, the companies themselves would probably be pretty hard to charge, rather than the individual sales reps who signed off on the payments.
Cranelift Progress a Look Back at 2021
It's interesting how American/Canadian English uses the singular for groups of people, while British English uses the plural:

"Apple helps Asahi Linux" (American).

"Apple help Asahi Linux" (British), as if there's a "people" after Apple.
One of my favorite things about the JT effect is how gases not being “perfect” is actually “better” than if they were.

What I mean is, if gases all behaved as some kind of perfect, platonic* ideal of a gas and followed the ideal game law exactly, there would be no temperature change. But because they don’t, the Joules-Thomson effect is what allows for refrigeration.

*Helium is probably the closest to some platonic ideal of a gas.
Uh, duh. I haven't had a cost of living increase since 2008...
Also important to note: OBS developers also found incidents of OBS code outside of that instance, and they are working with TikTok on the same.
Yeah, it always does this if you are an FT subscriber when copying/pasting their articles.

This can be extremely annoying as a screenreader user. While FT is an extremely accessible newspaper, it can sometimes be more convenient to just copy/paste the article into a screenreader software.
The two multimillionaires I know (one sold his company to JPMC, the other, to Google) aren't driven primarily by money. They have a genuine interest in what they do (securitizing carbon offsets, and designing analog circuits, respectively).

They're what you'd call "good guys".

They wouldn't be caught dead in that crazy kickback scheme that was described.

I know this is a small sample set, but what I've come away with is that rich people are like you and me, except they happen to be rich.
Germans are bringing this up every time Saxony is mentioned in a conversation, it has become a commonplace joke, saxony==nazis. I believe it's unfair. Dresden is not only a beautiful city, it has great people. Far right exists, but they're still a minority even in the rural parts of Saxony. So it is a bad idea to associate the rest of society with them.

I have been to the city multiple times on business trips, and witnessed the PEGIDA demos, and the counter-demos. The latter were bigger, and, obviously, more fun to witness as a foreigner.

Another episode: I was walking to my stay through Dresden at night, i crossed on red. A yound girl in police uniform addressed me in English and asked me to please wait for green next time. It was late, the streets empty, she was half my size, unarmed and out of duty. She was probably not even a real officer, rather an Azubi. I'was big, bearded, tactical style clothing, obviously foreign. I was shocked.
What you say reinforces the GP's point. In my experience, most devs don't understand the problems well enough. They think they do, they may even earnestly try to understand, but because they lack first hand experience they do not.

How many devs actually spend a year or more working in the role of the person who will be using their software? Then they might have an understanding.
Encourage, not make. And that makes all the difference. If you take the money, you take the responsibility with it.
Well perhaps you should expand your horizons a bit. If you have a good grasp of the core issues with Ethereum then you should have a good idea of what to look for in newer projects.
I don't think all Vice Presidents as a rule make more than $700k
yeah when they say they're "keeping an eye..." they're probably just waiting for attrition to get bad enough. You did the right thing for your old coworkers. Perhaps your departure and others will lead them to reconsider their position.
* There might be a typo

* A bigger text size might break the layout or the styleguide conventions

* Small style changes might break a11y

* Your branch might be messed up, causing you to push a bunch of unrelated changes.

Just a few reasons i can think of, I'm sure there are more.
Oh cool, I wasn't aware of that. I like that option a lot. It's nice to have access to both a walled garden and an open one.
Right now smart contracts are very crappy computer programs, but people are still building amazing things with them (like DAOs or decentralized exchanges). It’s hard to say what people will be building 20 years from now or what they’ll look like in the same way that the idea of end to end encrypted video calls through Signal was not even something people could dream up in a practical sense without the groundwork invention/innovation of things like public key cryptography, and a minimal level of ubiquitous computing power in the form of cell phones to make it usable and practical.

Quantum computing is going through this too right now where we have the ability to compute with a handful of qbits, but the implications on a years time horizon are profound.

You do bring up a valid point in that it’s unclear exactly how the “legacy software” story fits in here. Migrations to new blockchains and the blockchains themselves upgrading without contention (Tezos comes to mind with this as a core feature) seem like the natural response to this problem. Not unlike anything else though it’ll be hard to predict until it slaps us in the face lol.
Show HN: Remote job opportunities from scouring FB
Native professional like native-born American?

In my case I pay about 300 CAD a year to EGBC and have not heard from my colleagues that getting a P.Eng in BC is a significant time-sink. You have to have 4 years of work experience, get your work certified, and then do a couple exams. I would believe dozens of hours, but not hundreds.
Every single one of the problems in the article are due to binary-exponent / decimal-exponent mismatch and the inevitable differences in how different platforms do the conversions. With decimal floats, that problem disappears. There is no converted-it-to-90.34326374227855; all implementations would correctly have 90.34326 because there's no lossy conversion-to-binary-exponent to make; it's just stored in decimal with a decimal exponent, the end.

Multiply 90.34326 by 0.1 and then 0.1 again? Once again, all platforms will correctly and EXACTLY give the result 0.9034326. No loss of precision at all. Or do it 0.1 times 90.34326 times 0.1. Same result (exactly the same). Do that with binary floats and you're in for a world of hurt.
Are they all still locked to an MDM profile, if so while they're yours, at any point you could lose access to them and that sucks. There's a ton of laptops that have been up on Ebay that ended up having mdm. We bought a few on accident for our non-profit. Fortunately we were able to find the original owners and they were gracious to remove them. We were also lucky they hadn't been disabled. Thing is most people don't realize that when you restore / setup that laptop it will pull that profile regardless of how you wipe or clear it.

TLDR; Make sure MDM profiles are gone and the laptops are cleared before doing anything personal :D
I see I misread your comment. My apologies.
This is a weird take, but as a junior developer, I find I'm more productive on the days with meetings because I'm 'forced' to squeeze in the 'real work' rather than just being scared.
There are subtleties not captured by this quick overview which are not fully understood by (in my experience) the vast majority of programmers:

https://choosealicense.com/licenses/

If your project is going to be "real" (e.g., not some personal throwaway), you really need a lawyer if you are including anything other than MIT. Even Apache can be problematic when it comes to patenting.
I think 'Former' is a key word here, showing Netflix is no longer affiliated with him. And "700K Bribes" reads like the number of bribes, not dollars collected

Also @dang
> My favourites are the ones which don't realise addresses are just bits and propose we can fix everything by writing bigger numbers like 300.400.500.600 ...

My favorite was one which "realized" that addresses are just bits in the physical wire and proposed to use intermediate values for these bits (that is, using more than two voltages). I wish I had bookmarked that one, it was truly baffling. It was wrong on so many levels that it was hard to know where to start.
Side question, as it puzzled me as a foreigner in Czech Republic, which apparently has the same rules.

Why on Earth is it a requirement to have your name on the postal box (or the mailman won’t put it in)? You are registered to the flat number, this information exists with all possible level of fidelity.
Pinged the founder with this. Thank you.
H&R Block Sues Block, Formerly Square, for Trademark Infringement
> Haskell is used to process every single user interaction on Facebook

Do you have a citation for this? I'd love to read more.
You say "web3/blockchain", I hear "homeopathy", "astrology", and "bioenergetic therapy". The HN crowd might be fad-gullible, but stupid-gullible? I don't think so.
I'm happy to pay and wait for the Librem 5 because they fund a lot of Phosh development.

Keep up the good work!
I use an S3-comptaible hoster with the rclone client which supports encryption/decryption on the fly. That is, I don't even need to trust my S3 provider.

For syncing between devices, I guess `rclone sync` should do the trick.
Really appreciate the plain "how it works" section just below the fold on the homepage. So many security products offer fluffy marketing pages — it's clear what this does from an implementation perspective right away.
You might - might - be able to create those same bugs in Haskell. But you'd probably have to deliberately try. (They might be impossible even if you deliberately try to create them.)