skysight-inc/HackerNews huggingface dataset:
> the mechanisms most DeFi tools use are vulnerable to the contract being hacked and/or the devs doing a rug-pull

Wouldn't this mean that most DeFi would be hacked or rug-pulled by now? Seems the opposite is true, as only a small percentage of DeFi sees hacks and/or rug-pulls.

Could you make the same argument you generally make towards banks as well? Seems like you could, and in that case you're just making an argument against investing in general, not against cryptocurrencies.
Maybe this is common knowledge, but can ECC be done in software? I don’t necessarily see why not, despite the common-sense wisdom that it has to be done in hardware. With dram so cheap these days, why not just go full RAID 1 (where ECC is analogous to a RAID-5 implementation), and store each critical-path memory byte twice to detect bit flips or three times to fix? Let’s see row hammer attacks flip the same bit in two or three places at the same time. Sure it would impact performance, but maybe for something like encryption or banking it’s an acceptable trade off.
Most countries start to care very quickly after the US calls them and discuss matters.

Any centralization is fragile. Github is more fragile than what is possible, but there is little point on improving that.
Left or right is misdirection in 2021. The biggest issue right now is Coronavirus, and on this the entirety of the MSM obediently spout the same pro-pharma line virtually without question.
The "new way of doing things" is risky and might not turn out so good after all.

If you treat the new way as an experiment, and only gradually convert the rest of the code, you're in for a smoother ride.
Dan Lu [1] gives a lot of thorough walkthroughs on hardware, architecture & security, and occasionally on topics close to software development & developer psyché. His posts are a regular feature on HN. (I am surprised no one mentioned him).

[1] https://danluu.com/
Wisdom from Merlin Mann – Merlin's Wisdom Project
Also mentions the incredible journey they are on... Reminds me of https://ourincrediblejourney.tumblr.com/
No thanks, we're doing it all over again here. This time will be better!
They appear to line up dutifully when it comes to COVID.
> Gzipping removes the need for minification.

_need_ is a strong word. You don't _need_ gripping either. Both minifying and gzipping still provide substantial benefits.

> Any npm package can be loaded as script tags or through direct es6 module import from unpkg.com

This prevents tree-shaking and dead code elimination.
Would you go with a simple comment/tag to denote both piece of code are identical but not abstracted away on purpose ?
Some people, sure. But if most people were using it to pay rent and keep themselves fed, the savings rate wouldn't have shot up.

Take a look at the definition of personal savings rate:

> Personal saving as a percentage of disposable personal income (DPI), frequently referred to as "the personal saving rate," is calculated as the ratio of personal saving to DPI.

> Personal saving is equal to personal income less personal outlays and personal taxes; it may generally be viewed as the portion of personal income that is used either to provide funds to capital markets or to invest in real assets such as residences.(https://www.bea.gov/national/pdf/all-chapters.pdf)
Funny you mention that, because out of curiosity I clicked "Categories" -> "Communities" to see what else they have on their blog, and the first thing it showed was a post from June stating that they were hiring:

https://designnotes.blog.gov.uk/2021/06/24/were-hiring-inter...

I'm sure the positions are filled now, but it also goes into what they are looking for in interaction and service designers.
Creating Documentation to Support Developers
You're lucky! Once upon a time I had a team lead that had the same priorities as OP. Code cleanliness was more important than the architecture of the solution. It was infuriating.
>it is up to the caller whether to start it in a virt thread or a real one.

Sorta kinda but not when you're working in a framework that will call your code or working in some library where the abstracted code is non-obvious or uneasy to configure.

Maybe its not function coloring, although I wouldn't know what else to call it and I think its quite similar. What would you call the problem?
How to Build an API in 10 Minutes?
It's not so much to educate those who have an ax to grind, and I tend to agree on where (many of) these people are coming from.

It's to allow everyone else to see under the open light how weak the ax is, and what a dull blade it has, and what poor metal it was forged out of, and how it was never a good ax to begin with.

Instead of just saying (not that you directly said this, but downvotes kind of say it): "let's not talk about that."
Web browsers are also huge, complexity-ridden, resource-hungry monsters long past their original mandate and currently well on their way to become a gigantic mess that include everything and the kitchen sink.

As an user, I do not mind downloading and installing slim and fast native application which take advantage of the hardware my devices provide and integrate nicely with my OS.
An investor buys a home to rent it out or sell it after making renovations. Banning such investors will reduce the supply of livable housing and raise prices. Politicians who want affordable housing should relax housing regulations.
LOL, foreign aid is for country, not for people. Country has lot of expenses, which are paid from taxes, so aid helps to reduce taxes, thus everyone, who works and pays taxes, pays less.

Your claim is like "if foreign worker helped to fix a bus, then it must pay all passengers also".
Ironic. You learned nothing from the article.
From the initial report (published today):

After careful examination, the CMA found significant competition concerns associated with the merged business’ ability and incentive to harm the competitiveness of NVIDIA’s rivals (that is, to ‘foreclose’) by restricting access to Arm’s CPU IP and impairing interoperability between related products, so as to benefit NVIDIA’s downstream activities and increase its profits.

The CMA found significant competition concerns as a result of the effect of such foreclosure in the supply of CPUs, interconnect products, GPUs, and SoCs across several global markets, spanning the datacentre, internet-of- things, automotive and gaming console applications.
It’s about the authors distaste for decentralized woo given human society literally falls apart without centralization.

Why do we need a literal Matrix running 24/7 when humans themselves can fill in the network gaps SMS doesn’t?

It’s about uneconomical, fantasy driven technology creation by a minority who seek to monopolize it for their social goals.

Shut the computers off and the power of the system is none. It’s not real unless we spend a lot of effort on it. Who is that empowering?

I’d like you to divulge any crypto holdings, crypto business associates, profits, you might have, since you seem to believe full disclosure is a requirement of every post online. I need to know if you have skin the game, leading you to question others motives.

Edit: to down voters; I don’t care. It’s such an impotent flex. “Oh look it me click button get dopamine carrot. I have stabilized reality!” Internet culture is sad af
Open Source Terraform Drift Detection
I wonder how this stacks up against CockroachDB.
> It's purely based on the opinion of people about the corruption in countries.

I love when people don’t actually read the Wikipedia article:

“performance assessments from a group of analysts. Early CPIs used public opinion surveys. The institutions are:[

African Development Bank (based in Côte d'Ivoire)
Bertelsmann Foundation (based in Germany)
Economist Intelligence Unit (based in the UK)
Freedom House (based in the US)
Global Insight (based in US)
International Institute for Management Development (based in Switzerland)
Political and Economic Risk Consultancy (based in Hong Kong)
The PRS Group, Inc., (based in the US)
World Economic Forum
World Bank”

> It's correlation to the black market and overregulation further demonstrates my point, the British corruption I discussed needed no black market and was enabled by a complete lack of regulation.

This makes no sense. Black markets are fostered by corruption. That’s why they exists. The fact that western countries have less black market activity points to less corruption not more.
Facebook accused of continuing to surveil teens for ad targeting
Vitess is basically a sharding layer on top of MySQL nodes, so yes, it will almost certainly retain whatever MySQL warts you dislike. It's clustered MySQL - not simply a different database speaking the same dialect, like CockroachDB is to Postgres.
Read the first paragraph, thought, interesting, I hear this type of thing in conversations with fellow scientists but instead it's "blockchain woo". Then read on...
Hmm, so now if you sign up for a paid Sourcehut account, you’re supporting JavaScript ecoterrorism? This will be interesting.
If fists count as a deadly weapon, which makes someone armed, then calling someone armed is misleading and meaningless because 99% of people are armed.

Pointing that out is not disingenuous!

And it's not disingenuous for me to earnestly use the definition of weapon I'm being told to use, right? Nobody seems to like my definition of weapon.

I swear I'm arguing in good faith.
The issue is we’re not “customers”, it’s a regulated profession so you don’t get to pick and choose ad infinitum, and it’s also not like you could bypass them and directly receive treatments you think you need.

If you’ve done your homework when coming to them, I don’t think it’s too much to expect to have them at least pay attention to what you bring to the table.
The issue at hand is that the UK government (or at least some people within it) seems to have been happy to use this as a pretext for awarding huge procurement contracts to personal friends and donors without any oversight or transparency as to how these descisions were made. See for instance this politico story from today: https://www.politico.eu/article/conservative-uk-ppe-contract...
I've just managed to get this set up with an API but it appears to get stuck testing only one of the endpoints. For example, if I set it up to test an endpoint with a query param like so:

> /search?q=?

Then it seems to try every single value for q it can think of (there are quite a few different possible strings) without ever moving onto the next endpoint. Is there anyway to configure its behaviour or provide hints as to what kind of fuzzing to do?
It's not duplication unless the intent is exactly the same between the disparate code fragments.
> just use Vite[1] already

I’ve been told that about jspm, webpack, parcel, snowpack, babel w/ rollup, browserify, and God only knows how many others.

Don’t you guys get tired of all this churn?
If it's culturally acceptable, a wink wink nudge nudge that both partners understand, it's not cheating since no trust is really broken. It's just an open relationship, who cares.
It's just a joke. Dvorak was supposed to be ergonomic but it is painful for programmers because our most common shortcuts are designed for qwerty.
Do you think that there will be some kind of fiscal big bang in the future where all legitimate money stops being fungible? A point after which holding a dollar means holding something that can be traced back to that moment and shown to be held by one of the good guys? Because that's what it would take, and I just don't think the governments can pull it off. To say that one group of people's money/saleable property matters and the other group's doesn't--it smells too much like the creation of an aristocracy to get the masses to put up with it.

As long as you're willing to pay taxes on it as income when you bring it back into whatever system banned it, or whatever system replaced that one, you're going to be able to do it.
The main difference between Notion and gdocs is that Notion is a wiki; you can easily navigate up and down the page hierarchy without leaving the current tab. Gdocs keeps docs separate, so you’re constantly bouncing back and forth between folder and docs, or more likely just keeping one massive, poorly organized doc with everything you might ever need in it
Apologies for forgetting I had posted this... :(

My gut would be a visitor for the fully general case. Though, I would also accept that you are using the wrong language for the abstractions your are writing? My guess is it will depend on why you are needing/wanting one of those types.

For a lot of plumbing code, these aren't as necessary as stipulated. Yes, there could be some duplication of code. But, especially in a microservice landscape, most of that duplication will be each service doing their version of whatever you are doing.
If only more sites took inspiration from gov.uk, "modern" sites might not be the barely usable mess they are today. Unfortunately some see gov.uk as an "eyesore" and not something to learn from.
When we don’t feel confident in our code, it is tempting to attach our sense of self-worth and professional pride to something that can be measured.

I don't think assuming people who disagree with you lack confidence and are "compensating" is an effective way to reach an audience.

Rewriting your teammate’s code

There should be no such thing as "your teammates code", there is only your team's code. If the changes were improvements they should be welcomed by the team, if they worsen the code they should be unwelcomed - independent of who first authored the lines.

There is absolutely judgement involved in refactoring, code replication, and choosing the right abstraction. But this article doesn't offer much wisdom that helps with those decisions.
What does this mean?

> but are more generalist tools than the BigQuery, DataFlow and BigTable application

Doesn't AWS provide similar tools?

BigQuery == Redshift
DataFlow == Kinesis (Analytics/Flink/EMR-Spark/EMR-BEAM)
BigTable == Redshift Spectrum
Again, my point was simply that that's the least important part of the problem. It's very easy to get structured data out of HTML, it's useful to scripts running in that page, and there's a real value to having the data you expect machines to use to be the same values which humans see to avoid potential discrepancies.

The reason you can tell that it's not the format is that this hasn't changed as API-only services became commonplace. The problem preventing collaboration wasn't that people were putting structure in HTML but that businesses didn't see an advantage in doing so.
There are always judgement calls to be made. Some of this is throwing out the baby with the bathwater. You don't want to be so rigid that you can't violate the rules for good reason. Also, refactoring someones code is not necessarily a bad thing per se, though it is better to come up with a style that everyone agrees with.
You're conflating the pandemic with the pandemic stimulus. The savings rate shot up among the classes that remained employed but whose expenses fell through the floor. These people got little of the unemployment benefits, and many were also above the threshold for the stimulus checks.
At some point in my life I contemplated giving up on frontend because of Webpack.

I guess it's better since version 4, but when you need to change/update your build script, you brace yourself.

To be fair I use esbuild on a Phoenix project right now and some things are not really that much clear on how to do them.

Like yesterday I wanted to put eslint in the "watched" build process, and I'm still not sure how I would do that.

At least it's fast...
Thank you for taking the time to provide feedback.
The mantra of every disasterous rewrite.
Sacrifice Zones, Cancer Alley and the EPA
How are you getting native ES modules to import from file:? When I try that, I get a cross-origin error. No two file: urls seem to be the same origin.
> I would fire you

Ha ha ha. That's not how it works with me.
Doesn't the Raspberry Pi come with a printed manual?
one big reason there are things like “Sign in with x” is so that the application can do things on user’s behalf
Also, committee paralysis and scope creep. In Canada, they've been debating for ages about extending the scope, like whether they should mandate an API for creating bank instructions rather than just reading bank data. Evidently, the complexity of that is a lot harder than just a data read api.
The author has took the wrong lesson from this experience. The issue was surely almost exclusively that done first year coder decided to change someone else's code without talking to them first. I don't think it would have mattered if the committed code was literally the worst code ever written (providing it wasn't going to delete the internet). The author refers to this but by calling the article "good bye clean code" they have completely missed the point.
Did you read the conclusion [1] of the post?

[1] https://drewdevault.com/2021/11/16/Cash-for-leftpad.html#con...
Same here. I feel like every UI update is pretty minor tweaking. But then I see comments that people are going to change browsers over it.
Things About Kitchen Renovation North York
Having a kitchen in your house is brilliant, but an old-fashioned one does not look that good now, does it? Kitchens have been ignored forever, but thankfully, modern lifestyles have lifted their importance and presence in the entire house. Now, kitchens are considered the core of the entire home, and you wouldn’t want to have a bad-looking core. That is why you should get kitchen renovation in North York for your place.
This seems cool. I am currently shopping around for a cheap managed database for an app I am launching soon (and bootstrapping - so cost is a concern right now). We are starting small but want room to grow. The free tier looks really promising! Especially compared to some of the entry level plans on other cloud providers.

Can anyone who has tried Planetscale and compared it to other managed database solutions tell me about their experience?
Criticisms here are correct: Look, decentralized here doesn't mean "decentralized" in the slightest. I think for - not just the people he's critcizing, but ALSO FOR HIM, "decentralized" really means "centralized differently."

True "decentralization" means letting go of (at least some) exclusivity and ownership; and the current flavor of the crypto craze can't even conceive of it. Ironic, since a lot of it is built on free/open source (which is true decentralization).

(Which is to say, cryptocurrency isn't valueless, bills gotta get paid and I think fungible crypto can help. But trying to leverage to create new forms of ownership, which is centralization, is exactly backward.)
Next you're going to claim that non-dischargeable student loans drive up the price of higher education in the US. Crazy talk!
> Anyone who has spent a fair bit of time travelling and living in other countries knows that this[0] index is essentially correct.

Coincidentally, I’ve travelled a lot and lived in the USA, EU, and Asia. But I actually disagree.

Most Western citizens believe that there’s no corruption in their countries, while the reality is that it’s just less visible. In most developing countries, even the lowest levels of government get an opportunity to take a cut, but in developed countries, this is reserved for the upper levels. The amounts of money involved are still quite massive - and as most SV residents note on this site often, everything is riddled with inefficiency and favoritism with lots of corruption.
"Conflict of interest" here would require that he's in a position that gives him some special power over whether people continue to invest in crypto (or "decentralization" generally). Writing a blog post is something anyone can do. The fact that he's put a financial stake in his views doesn't make it unethical to express them the same way as everyone else.
The problem with function coloring is that it divides the language for no good reason. Should there really be two names for the same sleep function, just because one is blocking and the other is not? As for a return type, that’s just a leaky abstraction imo (especially for voids, like is a blocking call returning nothing different than an async call returning a Future void?)

As for loom, due to it running all in a runtime, a blocking ‘read’ call for example is not actually a blocking system call (everything uses non-blocking APIs at that level) so the runtime is free to suspend execution at such a blocking site and continue useful work elsewhere until that finishes. So for some “async” functionality you can just fire up a new virtual task with easy to understand blocking calls and that’s it, it will do the right thing automagically, and it will throw exception where it actually make sense, you will be able to debug it line by line, no callback hell, etc.

Loom will also provide something called structured concurrency where you can fire up semantically related threads and easily wait for their finish at one place.

As for pureness, I don’t think it maps that cleanly to async/blocking. What about doing the same function on each pixel of a picture in memory where you subdivide it into n smaller chunks and run it in parallel?
I'm not disproving, you made an statement without sources, that doesn't make it true. If you had sources I would have likely learned something new.
What about web projects, though? Isn’t that what the discussion is about (script tags and all)? Node projects aren’t too bad because you don’t need anything beyond local fs module resolution.