skysight-inc/HackerNews huggingface dataset:
I only confirmed what you said.

The best way to reduce the number of bugs (exploits) in a system is to get rid of it.

Since you've brought up state level espionage, this might be the reason why states are run by hordes of bureocrats processing physical paperwork (this is an oversimplification of course).
To add to this: I grew up with religion and eventually broke away from it. I went on this hyper-realist streak, looking to break down life and reality into its most fundamental parts. I assumed this would include true meaning. It didn't.

What I found is that meaning is like a delicate ecosystem, and I was strip-mining. I thought I was breaking reality down into its most fundamental pieces, harvesting them and learning the truest truth, but it turned out there were important things that couldn't survive the process, and I was destroying them.

It was only by allowing myself suspension of disbelief and embracing the meaning I already knew inside of me that I was able to pull myself out of nihilism and find happiness again. Meaning was there; I simply had to stop getting in its way. It may not have any physical or metaphysical reality, but it has a reality in the human spirit, and that's really all it needs to be. The proper response to "But meaning is just a fragile idea that lives only in our minds!" is "Yes! And that's why it is so precious and so important to guard carefully!"

We must tend to our gardens, not grind them down for their components

Epilogue: I didn't return to religion, though I did come to appreciate how many things religion got right via millennia of accumulated human experience. And a nice thing about knowing that meaning doesn't come from metaphysics is you don't have to subscribe to any one doctrine; you can internalize the pieces that seem true and set aside the pieces that you believe are wrong, morally or logically.
Is there a node/react/js equivalent of this article?
A pro-Trump social media app is launched with a name (GETTR) that is one similar consonant away from "Get her"? Supporting a guy who led chants of "Lock her up", even before we get to all the sexual harassment complaints?

I'm all for irony, but did they put any though into this app at all? (Given that they also inadvertently leaked their source code, perhaps not.)
That literally cannot happen in FAANG/MS, esp not when the CEO announces the product in a public blog post.
This is not a Nazi Germany wannabe, it's just a garden variety tinpot dictatorship. There are a lot like it in the world, and we've figured out that outside intervention is not a good idea in such cases. It's the responsibility of a country's own people to pursue free government for themselves, assuming that they care to. Reap what you sow, and all that.
I gave you an example: a thermostat. It's amusingly common to try and apply PID control to these, and the replies to that parent comment highlight several superior alternatives, both in terms of simplicity and optimality.

Simplicity is hard to quantify, but it's one of the most important properties of robust and reliable systems. That's not vapid at all: that's engineering.
Roughly how long does it take to typeset a 5 page manuscript?
Careful, amending doesn’t actually remove the bad commit, but it rather creates a new one and changes the appropriate branch pointer towards it. The old commit is still there, browsable if you know what you’re doing. This is fine if you’re doing it locally only, but incredibly misleading if you’ve already pushed the bad commit to a remote repository.

It’s possible to remove sensitive data from Git, but it requires commands rarely used in a day to day workflow. It’s better to assume that any committed credential is burned and re-issue them.
This is great. It's not exactly how I feel, but the fact that it works for you and others is genuinely great.

Being more of a so-called introvert myself, I'm more of a fan of individual activities. I rotate through combinations of running, weight lifting, cycling, skiing, and walking no matter what. I find the aerobic exercises particularly meditative, similar to shutting off the "adult brain" like you said. I let my mind to wander off and process. Weight lifting I find to be a good challenge and confidence boosting. It's easy enough to track of and measure progress on too, which is satisfying for some others.
Dependency resolution is NP-hard. There are existing algorithms and libraries that solve it adequately despite this, but because they usually rely on some heuristics or simplifications they come with steep tradeoffs and can be quite complex to use.

Sure you could lift code from other tools that do a good job. That's the point, if you start from scratch you have to recreate all that effort (which is considerable).
Alan Turing did not make the Enigma. He helped crack it.
You know what we need? Something that is the equivalent of a blue check mark for remote workers.

The check mark would mean that this worker has a home office setup that meets or exceeds standards for remote work. The certification process can be handled by a neutral third party.

The standards would be stringent, a laptop on on some corner desk wouldn’t quality. You must have a room with a door that can be closed IMO. Maybe there can be tiers though.

Edit: I don’t get the downvotes, does this comment really lower the level of discourse, or do people just hate this idea so much?
The problem is that bisect depends on being able to determine whether the commit you land on has the newly found bug or not. That almost certainly depends on it at least building, so that you can run it and check. If you can't do that then you can't determine if the bug exists on that commit, and you can't bisect effectively.
Consumers in the west are (obviously) responsible for a lot of the emissions that take place in China too.

And regardless - for the sake of solidarity with the developing world I think it must be considered fair that us westerners take a bigger responsibility than developing countries.

There are two arguments here that are both equally valid: 1) This just won't work unless everyone is on the same page, including China 2) This just won't work unless the west accepts an unconditional
change of lifestyle regardless of which if any other countries are on board.
Grasshopper infestation ravages drought-stricken West
I find the point sensible. SQLite is a fine internal storage format for an application.

Of course if that storage is swapped among untrusted users, additional scrutiny is needful.
Man, developing python with pydantic and "mypy --strict" (I follow pydantic's config [0] where I can) is such Type 2 Fun. It feels like a totally different language. Yeah it takes a little more time at first but then type inference and autocomplete starts to kick in and then you're screaming fast. And you "compile" it and everything just works. No hunting down edge cases or tracebacks cause you forgot to catch a None. I find it super satisfying. Much easier to stay in flow state when you aren't having to stop every few minutes to test stuff and dig through tracebacks.

[0] https://github.com/samuelcolvin/pydantic/blob/master/setup.c...
Tinybird turns raw data into realtime API at scale
Couldn't find anything describing any details of the actual technology, even in the FAQ (https://highviewpower.com/faq/).

Mostly wondering where and how they store the liquid air. Metal tanks? Underground caverns?
The failure of software outsourcing is really quite interesting, especially since telework is working decently well. That seems to eliminate the “remote work doesn’t work” objection.

It was not for lack of trying. The management class pushed it very hard. There are still many firms trying but it’s not really panning out.

From what I have seen the answer is that good software engineers are globally scarce and the good ones in India or Eastern Europe make enough that outsourcing isn’t that profitable once all overhead is included.

“Insourcing” is becoming a bit of a thing. You can get some salary benefits outsourcing to lower cost domestic places like Nebraska or Kentucky and not dealing with language, time zone, international currency exchange, legal differences, or other headaches. These folks can also travel to your office for an in person meeting in hours not days. Oh and their power grid and broadband are reliable too.

The jobs that have been most successfully outsourced are low to moderate skill manual jobs where basically what is needed is huge numbers of cheap hands.
There is no meaningful distinction between "average weather" and "climate". Enough weather observations is a climate observation.
I remember it well! I'm not sure I agree that scaling problems like those of Twitter are the same as these problems, but I could be wrong.
My main concern is it will give non-technical managers funny ideas about what goes into writing code. Writing out what you want to do is the easy part. Figuring out how to do what you want to do in context of the broader environment is the main challenge and that requires time to think and reason.
I just can’t get over the pricing of Infinidash.

0.005 cents per dash FLOP?

Seriously?

For something you could whip together with rsync + a few bash scripts and throw it on an EC2 instance?

Also no us-north-7 is a dealbreaker for our shop
Awesome article but damn if that isn't some cognitive overhead just to get started (for newbies, at least)
PoW is not the only way to solve double spending (and make sure that the blocks are ordered in a particular timeline), in PoS it is solved by randomly choosing which validator will create the next block according to an algorithm that all the nodes follow. So there's no race to find the next block, the block producer is known in advance.

What's more, in PoS, you have guaranteed finality, meaning that after a certain amount of blocks, you can be sure that the order will not change. This is superior to the probabilistic finality offered by PoW.

> loses everything spent if the attack fails

They don't lose everything, they still get to keep the mining hardware and can retry the attack again. They can also use a "selfish mining" strategy and earn block rewards that subsidize their attack (by earning more than their fair share).

In PoS on the other hand, the attacker loses everything after an attack and cannot try again. This is because attackers get slashed (their stacked coins are destroyed). If they want to try again, they need to acquire more coins.
I don't know whether it is possible with chip development or not. But I really hope that this project will enable numerous amount of derivative chips just as Linux kernel allows multiple distro. That means IoT/GPU/CPU/etc chips need not to start from scratch. In addition, having similar foundations might help fabs manufacture those chips swiftly.
Haha, can I get a few thousand dollars for typesetting my paper? That's absurd. Sure you can spend a month setting it in your printing press or illustrator or whatever, but just using the journal's template along with LaTeX is perfectly good nowadays, and the hardest part is getting to it to compile.
At Bristol University, feminists are under attack
Until it's not a joke anymore.
Staking the future of the climate on trusting countries to be fair is childish thinking.

The ONLY metric that matters is global gigatons of CO2 emitted per year. This needs to decrease. Playing hand waving games with per capita between countries is pure nonsense and provides cover for emitters.
I actually agree with you. I don't think it needs to be strictly enforced. I think most people just don't realize how terrible their WFH setup is; they don't give it a moment's thought.

I've observed that they either feel they can't change it, or they put up with distractions, or they don't worry about setting boundaries, or the equipment is subpar compared to the office.

Having a checklist would at least get people to think for a moment.
Sometimes I wonder if a lot of depression and anxiety in western society (I say western because I don’t know enough about others) is due to life just being too comfortable.

Almost all direct threats (animals, attacks, wars, etc) have been eliminated and if you don’t live in a high crime area, you probably don’t even have a good reason to lock your doors. If you don’t have anything to survive and you don’t really have anything to worry about, more trivial things take on more importance.

I was attacked/chased by a mentally ill person trying to run me down earlier this year. It was the first time in my life getting a full dose of ‘fight or flight’. In the moment it was obviously unpleasant, but I found it was powerful in contextualizing things and bringing perspective. Having my complete sense of safety removed reminded me of how lucky I am to have that 99.999% of the time. It also made me recognize my own capabilities; I was very impressed with my ability to evade danger and survive a dangerous encounter I was completely unprepared for. I’ve never done sport or anything like that so I kind of thought I would be useless if ever attacked, but it turns out I can run and use obstacles in my environment pretty well.

Life is still a struggle between chaos/danger and structure/safety, but the modern world is so well-run that most people don’t really experience that; any one person can drop the ball/give up and it doesn’t matter, which I suspect makes it harder for people to find meaning.

Fortunately, we have many tools at our disposal to get a simulation of fight-or-flight in our daily lives without actually enduring physical assault. I really like horror films and some Googling suggests others find it helpful as well. I also find music is a good tool for regulating emotional state.
> I wonder what people like this would do if faced with a real lifelong challenge?

Rethink this.
Tag politicians when they use their phone on the daily livestreams through AI
I read somewhere that when scholars offered per-piece bounties on ancient manuscripts found in caves, the herdsmen scouring the caves would drive up their profit by cutting up the finds.

Incentives work.
Speed runs are 3min game, or even less.

It's much hard to cheat in 3minutes games. The chess engine takes somes time to think about the next move
What’s the benefit of this?
I think most people rightly saw that the juice wasn't worth the squeeze for a 2/3 upgrade, and that the only reason we were going ahead with it was the sunk costs. If they wanted to create a new language that wasn't backwards compatible, why not make it a totally new and separate project?
Efficiency is not really a concern if hydrogen is "produced" during peaks of some "sources" (mainly solar, wind): the surplus of energy, which today is a burden, will be used to obtain hydrogen. Producing hydrogen may solve the "intermittence" challenge.
Although just saying that doesn't really tell anyone much, who doesn't already know.

A Sybil attack is the creation of a bunch of identities to subvert a system that is attempting to distribute power amongst a bunch of participants.

The Sybil resistance of these schemes comes from allocating power in proportion to some form of commitment of a scarce resource, which could be indigenous to the system (e.g. proof of stake, proof of burn) or exogenous (e.g. proof of work, proof of storage).

I think it's noteworthy that all of these systems are plutocratic. They will all effectively redistribute wealth upward, because anything that doesn't would encourage the creation of more identities.
Go further. How many batteries would it take to supply stable energy for the entire/majority of U.S. grids (and how long will those panels/batteries last)? How much energy will be produced relative to the number of solar panels that need to be installed? Is land conservation taken out of the equation in favor of panel installation?

This line of questioning was my "mind blow." It turns out, there are technological solutions, but they don't scale to meet demand (and if/when they do, it's inconsistent). And to boot, they're an aesthetic nightmare.
Of course, we need to gatekeep access to WFH opportunities. This is going to fix things.
There is no instance, it is AWS Proprietary Intelectual Cloud Property.
If John's rubbish ended up in the merge down to trunk, then you absolutely do want to know about that individual commit.

If you've never received a 500-line patch with a one-line error in it, you haven't been developing collaboratively for very long. Me, I want all 10 commits so I can see from the commit message why the third commit broke the build on platform X, the one clearly tested only on platform Y. I don't want to disentangle the whole mess-o-hackage with a single vague commit comment ("added the foo feature") when faced with such problems.

Am I going to want each and every commit for all history? Of course not, but they're cheap to store, and Fossil makes it easy to ignore the ones not immediately in front of you.
> This line of thought implies that we can legally feed all proprietary code into GitHub Copilot

And lines such as:

char *base64_pirated_mp4_file = "YW55IGNhcm5hbCBwbGVhc3VyZS4...";
Well let's say we do things this way, and I double spend a transaction, sending one to Alice and one to Bob. Suppose Alice waits t seconds after receiving the transaction, and if she doesn't see any double spends in that time, she accepts that the coin is hers and she then sends me something in return.

One second before Alice "confirms" my transaction, I can send out my transaction to Bob. Since my message takes time to propagate through the network, it won't reach Alice soon enough and she will think I've paid her, and she'll send me whatever I was paying for. But other people will see both these transactions within t seconds of each other. They won't know which they should believe is correct, and they might not accept payment from Alice in the future.
Ah, infinite scrolling, really hate it...
I used the Williams book in grad school and it provided context and motivation for MIP (mixed-integer) modeling, but for real-world MIP modeling, this guide from FICO is actually much better for practitioners.

This is the cheat sheet for MIP that I wished I had when I started out. It lays out all of the most useful MIP formulations in a simple and compact way.

https://www.msi-jp.com/xpress/learning/square/10-mipformref....
We didn't really stop industry. It did show how little effect flying and cruises have (which is good because I like flying) but it also shows that the emissions aren't just coming from luxuries that are easy to live without.

Actually shutting down everything one day a week (giving 1/5 to 1/7 theoretical savings) isn't really going to work. Practically a lot of industry can't shut down, or would pollute a lot more by starting and stopping.
The pain and suffering I see with different versions of Python installed with Pyenv in my team and surrounding ones is huge. I advise anyone to just stay away from it. On Macs, you can install MacPorts and it'll bring in every version of Python, from ancient to newest, in a sane BSD-like way (not in a user-writable folder, ffs). On Linux the default package managers offer pretty much every version of Python that's not outright dangerous to run. On Windows there are binary installers and every Python goes in a separate folder.

Not only it's not needed, it creates a layer of "magic" the user has to understand on top of the environment.

And, if you really want to use brew, you can still continue using it, knowing it only has python 3.9 at the moment. Plus, it can coexist mostly peacefully with Macports.
All that is good and dandy until you run a command and it spews a serialised Go struct instead of a proper error. And, of course, that struct has zero relationship to what the actual error is.

Example:

The Job "export-by-user" is invalid: spec.template: Invalid value: core.PodTemplateSpec{ObjectMeta:v1.ObjectMeta{Name:"", GenerateName:"", Namespace:"", SelfLink:"", UID:"", ResourceVersion:"", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string{"controller-uid":"416d5527-9d9b-4d3c-95d2-5d17c969be19", "job-name": "export-by-user", Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string(nil), ClusterName:"", ManagedFields:[]v1.ManagedFieldsEntry(nil)}, Spec:core.PodSpec{Volumes:[]core.Volume(nil), InitContainers:[]core.Container(nil), Containers:[]core.Container{core.Container{Name:"....

And it just goes on.

The actual error? The job is already running and cannot be modified
I can't tell if this is serious.

If you are serious, what's stopping me from renting a space for 1 hour, getting the check mark and going back home to my slum?

Or fixing up my place, getting rid of kids toys, getting the check mark, then letting things go back to before?

Seriously though, if you can't do your job, your manager should be able to figure it out.
Ask HN: Recommend Some Logic Gate Tutorials and Examples?
Hello HN!

I was looking to learn a little more about logic gates and how they fit together to perform simple functions.

In the past, whenever I've seen gate tutorials, they introduce the basic AND/OR/XOR types of gates. Which is great, but I learn well from lots of written examples that show how and why the parts fit together the way they do.

So I was hoping that someone could recommend a logic gates 101 type article or series of articles, that start with explaining the real absolute basics, and then add lots of simple examples. On top of that, combining those simple examples into more complex ones is also something I'd love to read.

I hope that makes sense! I am not sure how to best search for such a thing, nor am I sure of how to measure the quality of any articles I do find.

Help!?
The only difference between a shelveset and a WIP branch is that shelving happens after the work, and creating a WIP branch happens before (or at least before the first commit).

Then there's everything that branching can do, that shelves cannot. For example: history, and undoing your mistakes/experiments. Shelvesets contain no history, and tacking dates/numbers after the name is exactly the problem that VCS sets out to solve. To name one example.

Shelvesets are a hack/kludge.
Neither heat waves nor forest fires are a new thing.
Pray, basically.

That's effectively what it is: anyone running a simulation of an entire universe, controlling the rules and data of that simulation, in a position to turn it on or off, change it, etc, is effectively the god of that simulated universe.
That factor of “competitiveness” exists on Ethereum 2 as well. The more ether that is staked, the less the yield is from staking. If half of all ETH is staked, the APY will be below 2%, for instance. At a certain point bonds would overtake it.
What I fail to understand, and thanks to your explanation, is why not use a central trusted ledger which would synchronize all transactions. It could surely work at the current speed of bitcoin and relieve the entire planet of the energy cost of bitcoin, providing the same safety that no double spend could happen.

All you'd need is a small private army, a few lawyers, an historically accepted jurisdiction, and you'd be ready to go with your central ledger.

I don't think you're right to say double spending is the only thing being solved with proof of work, I think people are trying very very very hard not to centralize (for no good reason in my opinion), despite the prohibitive cost, and why ? Because of that insane fear the ledgers would be changed: hence you'd have to admit the author was a bit right that eventually this whole story is to protect paranoid people against a very absurd risk at the cost of asking government to subsidize reopening coal mines...
By and large the CCP shapes the internal narrative with respect to China, and increasingly globally. Social connections be damned.

The Chinese will think what the CCP wants them to think.

I say this as someone who has lived in China and with family in China.