skysight-inc/HackerNews huggingface dataset:
- "if you want to make a neutral prior for how long a technology will be around you should basically just look at how long it has already existed"

AKA Lindy's effect.

https://en.wikipedia.org/wiki/Lindy_effect
Can we ask Copilot to write a proof for the collatz conjecture? or P=NP?
> Equity for serif, Concourse for sans-serif and Triplicate for monospace

Are you a lawyer? (There is an in-joke here, I swear)
I definitely agree. I cringe thinking about how little I didn't want to be in photos in the past or that I took pictures without anybody I knew in them as a frame of reference.
> I wrote a comment outlining exactly what I wanted, and immediately Copilot generated the code I was after.

How do you know it was what you were after? Like you said, it could be .toLocaleTimeString or .toLocaleString (or something else).

How do you verify that the AI isn't giving you broken/incorrect code? I guess you could check the docs, or run the code yourself, but at that point what's the value add for copilot?
I use documentation sources like MDN (via Zeal) or Rust docs (via local files loaded in the browser) while offline not uncommonly—I might go for a few months without doing so, but then I might go for a week of accessing them offline daily. Knowing that I don’t depend on an internet connection for it is very desirable.

But even when I have an internet connection, offline versions of most of these sorts of resources load considerably faster, mostly because I’m in Australia and these resources are normally hosted from America. My experience is that Americans that have always been in America and then travel to the other side of the world are consistently surprised at how slow the internet is away from the USA—and it’s all about latency, not bandwidth.

But I am compelled to admit that the performance angle is fairly negligible for MDN: it’s one of the extraordinarily rare sites that actually loads fast, with nearby TLS termination and content distribution and evidently nothing too outrageous in their coding so that it can consistently load to completion on my admittedly fast laptop from a cold cache and no open connections in well under two second, regularly under one.
The first comment asks Copilot to import all the libraries needed for a toxicity classifier, and it imports libraries such as re (regex engine) and nltk (natural language toolkit). But what if I wanted a classifier for toxic chemicals and not toxic speech? That was my first thought when I saw "toxicity" in the title.

I'm now imagining a very frustrated junior developer a few years from now trying to argue with Copilot to write code for a classifier for chemical compounds, but it just spits out code for classifying text.
Even with equal-tempered tuning, standard piano tuning deviates from the mathematical pitch in the lower and higher octaves in a way which would show up as being out-of-tune using this visualization method: https://en.wikipedia.org/wiki/Piano_tuning#Stretch (Though the harmonics of lower notes should show up as being in tune with fundamentals of higher notes.)
I'm not saying it's perfect, but it's better than the "small mysterious monochrome hieroglyphics floating in a sea of white/darkness" that "modern" UIs seem to be gravitating towards. At least textual labels are searchable.
Please at the minimum do the required lead shielding the regulations require... There's a reason all those pesky laws exist.

This sort of youtubers who try to convince people with no relevant background that xray tubes are super safe, metallic mercury is fine to handle with your bare hands and magnetrons are ok to run in the open (or even pointed at your skull) are unbelievably irresponsible. There's a whole generation of teenagers growing up not realizing that these are basically stunts.

Stunts even more dangerous than those fake parkour videos showing people jumping off the 3rd floor of a building, because at least in that case we have build-in reflexes stopping us from reenacting them.

Also consider that you'll need someone to develop the films and read the xrays. They aren't doing it for free.
On the flip side I want to say the fastest growing genre globally is kpop and it is extremely heavily label driven, with very long incubation periods.
That's because they're from Portland. There are only a handful of cities in the US where people do not feel safe to let their kids run around, and Portland is one of them. Even there only certain neighborhoods are unsafe. Your view of America is the same as an American who believes that women can't go outside without being sexually assaulted in Germany because of the 2015-16 New Years attacks, i.e. incredibly out of touch.
Supermicro (pls ignore their massive security problems). ThunderX is great for arm servers.
We're all focusing on the weaknesses of co-pilot (the comments can be longer than the code produced; you need to understand code to know when to elaborate your comment, etc).

But also ... what do you need to know to recognize that the concept of a 'toxicity classifier' is likely broken? We can do _profanity_ detection pretty well, and without a huge amount of data. But with 1000 example comments, can you actually get at 'toxicity'? Can you judge toxicity purely from a comment in isolation, or does it need to be considered in the context in which that comment is made?

Maybe you don't need to know about python, but if you're building this, you should probably have spent some time thinking and grappling with ML problems in context, right? You want to know that, for example, the pipeline copilot is suggesting (word counts, TFIDF, naive Bayes) doesn't understand word order? Or to wonder whether it's tokenizing on just whitespace, and whether `'eat sh!t'` will fail to get flagged b/c `'shit'` and `'sh!t'` are literally orthogonal to the model?

More people should be able to create digital stuff that _does_ things, and maybe copilot is a tool to help us move in that direction. Great! But writing a bad "toxicity classifier" by not really engaging with the problem or thinking about how the solution works and where it fails seems potentially net harmful. More people should be able to make physical stuff too, but 3d-printed high-capacity magazines don't really get most of us where we want to go.
> One of the first things the article mentions is rekeying. Since the step utility does in fact regenerate keys when obtaining certificates, it actually does have a lifespan.

I went through the article again. Essentially, rekeying makes sense if the private keys in question, whether they are host private keys or client private keys, are kept unencrypted on disk. Host private keys typically are, so it might make sense to rekey host private keys. However, if your user private key is kept encrypted on disk, as it should be, there isn't really a good reason to rekey.

The step tool seems to abstract that process and it also generates a new key pair on each login but that keypair never even touches the disk, according to the article. This makes sense assuming the step tool generates a key pair and doesn't encrypt the private key. In that case, yes, rotating/regenerating the client keypair on each login make sense.
tldr: Omicron likely doesn’t protect the unvaccinated against other variants.

opinion: So Delta remains a significant health risk for them, esp. in light of lingering post-recovery issues.
> Seems most companies who are all in on diversity

Companies that are really all-in on diversity tend to be small and low visibility. Megacorporations that are all in on marketing social virtue of any kind (environmentalism, DEI, whatever) are doing image management that is, for the most part, either unrelated to or directly opposed to the substance of what the company does (not uncommonly, marketing bare minimum legal compliance, and sometimes specific sanctions imposed on the firm for wrongdoing, as virtue.)
I wonder what the USA would look like if the cost and supply of 1 bedroom apartment were guaranteed in order to ensure affordability by those making minimum wage.

In other words: why should landlords be allowed to capture the majority of value created by society? There are plenty of examples of successful affordable housing -- case in point, Vienna:

https://thetyee.ca/Solutions/2018/06/06/Vienna-Housing-Affor...
Stripe offers Payment Links [0], which makes it really easy to accept payments (just paste a link into your product page and handle a webhook serverside; a single href is adequate).

They also have a separate "Checkout" offering [1], which requires some code client- and server-side to generate the page.

So far, Stripe has been awesome for me selling $2.50/mo subscriptions using just the link [2], and as far as I know, suspicious transactions are very likely to be blocked by Stripe Radar which is across all of Stripe.

However, their chargeback protection service (0.4%/tx for total protection for any chargeback) [3] is only offered for the Checkout version. This means I won't be protected in the case of a chargeback, whether by a customer or fraud that slipped past Radar. ("Currently, Chargeback Protection is only available on the new version of Checkout" is what I was told by support)

[0]: https://stripe.com/payments/payment-links

[1]: https://stripe.com/docs/checkout/quickstart

[2]: As a student I get fees waived for the first $1000 in volume, otherwise fees would eat through 20% of my revenue immediately at this price point. I posted about this side business recently as a Show HN if you would like to know more :)

[3]: https://stripe.com/radar/chargeback-protection
Reminds me of https://yearofslurm.com/
a year-long connected art piece.
That could also mean life has to get started early or it won’t at all. If that’s the case then the only observation would be that life gets started early.
What troubles me about this is the potential for a class divide. Better, easier and faster access for the privileged, regarding a great swathe of generic services to which access should be globally equal.

I don't mean to sound like sour grapes (it's natural, since I don't envisage my own family ever being able to use the Title product), but I just wish the aspirations were a little more universal and inclusive than "consortium of cellphone makers -surprisingly- see cellphones as the answer to all of humanity's password issues!".
Ask HN: What does it mean to learn a new programming language?
When I pick a new language to learn, I can pickup the basic types, control, syntax etc. in a few hours and write basic programs while referencing the language docs/tutorials. I can also write few mid sized programs while learning about the standard library in a few days of learning a language. But often times the programs written aren't the most efficient in terms of the programming language. One example is learning c after working with a grabage collected language like python tend to not use pointers and instead make multiple copies of the same data i.e not use one of the better features of the language. So does the programmer know C?
But even that is not true. Windows are now mechanized, with child locks. The ways to open and lock doors is different, both in the car and from afar. The entire center console now is different, to the point where Tesla has just a touch screen on many models. There are cup holders, EVs have fruncks and often are largely driven using 1 pedal, side mirrors are adjustable with motorized buttons, seat placement is totally different and often a setting that can be memorized by the car, stick shifts and clutches are largely gone, the wheel inner shapes are different and often contain buttons, starting/stopping the car is usually a button, etc etc.

If you’re focused simply on the steering wheel itself that’s like saying there’s still a mouse and keyboard. Yes, that’s true — and even that will likely be disrupted over time. But everything else has changed.
Because it's the most capitalistic country on the planet and inequality is the direct result of that.

A government's job in the 21st century is not much more than to counter the downsides of capitalism. But people see how bad the US is at doing that so they lose faith in the government and so decide that the solution is to privatise everything, thus actually exasperating the problem!

We need institutions(governments) that exist outside of the incentives of capitalism in order to fix capitalisms problems. But the US government, and increasingly many others, are far too affected by capitalistic incentives.

When the measure of a man is the depth of his pockets then the world shall be ran by clowns.
Another question may be, why aren't US building more Small / Mid Size, highly organised and designed Cities?
What's wrong with roommates?
To me it all looks like an effort to push all of the work related to discoverability on to the users, in a way not unlike this move to self serve self check-out self serve this self serve that...

And it is efficient, from an MBA point of view. This is pushing evermore cost and risk away from the enterprise, creating externalities along the way. The whole thing is pretty toxic to users overall.

And yes, those users can self serve their way back to competency, and eventually reach a point where they're productive again, but they had to pay a lot harder than they would have otherwise.

Remember all those studies that were done in the 70s 80s and into the 90s? IBM did them, some of the major CAD companies did them, others did that too, and there's too many to list.

We should do that again. And if we were to do that, we're going to find out those other studies weren't bulshit, all those points made sense, and what's really changed is the value judgments related to the development, and who makes those judgments and why.

And I bet the root of all this, is far too many enterprises are in a place where they just don't have to care about the users anymore, and they know it, and they're acting on it.
> There is nothing special about computer that allows us to put complete trust into any piece of code, and that is okay. Instead, we strive to build trust among developers so that we don't have to read every line of code in every level of abstraction to make sure our files won't be deleted.

I don't understand why this is so often treated as a dichotomy, where either you trust every single author to not delete your files, or you review every line of code to make sure it doesn't delete your files. Both seem unsustainable. I think we need to look at the problem from a different perspective: why is every single transitive dependency able to delete your files?

Take a look at the node-ipc method reference: https://www.npmjs.com/package/node-ipc#ipc-methods

What functionality does node-ipc have that requires it to have unfettered access to the filesystem? Well, with its current implementation, it needs to be able to create a unix socket for e.g. 'serve()'. But if you changed the API a bit, you could conceivably pass it a file handle to a unix socket that you've just created, instead. Now that module doesn't need any arbitrary filesystem access at all! You could make similar changes to those methods responsible for making outbound network connections, etc. At that point, you could almost completely sandbox this module, because all it needs is what you've given it.

In other words: let's apply the principle of least authority for real.

https://medium.com/agoric/pola-would-have-prevented-the-even...
> Today, MDN Plus is available in the US and Canada. In the coming months, we will expand to other countries including France, Germany, Italy, Spain, Belgium, Austria, the Netherlands, Ireland, United Kingdom, Switzerland, Malaysia, New Zealand and Singapore.

It is strange to see a list of countries which includes New Zealand but not Australia. I am wondering if there is some issue with making it available in Australia? (My first guess was Australia's GST on digital services, but it appears New Zealand has the same thing.)
Well they can’t replace themselves.

What they can do is replace everyone below them, give themselves a big pat on the back, and continue to look out for number one.

Rich white folks don’t care about poor white folks. Never have. They care about keeping theirs pockets lined. If they can convince all the poor white people they are racist they can continue to keep them at the bottom and continue to line their pockets all in the name of equality. To summarize Tupac. “You white kids don’t need to be successful because you have Mark Zuck.”

TLDR: I think it has always been about class and equity is just the latest rich person hustle.
HN hug of death.
I don't think it is about the number of people, but the type of people. These people are much better funded to do things than I am to fight against it. If they succeed using my site, I'm then on the hook to refund the money and other fees. It cost the fraudsters nothing. They more than likely aren't even afraid of criminal prosecution as they are in a location protecting them.

For small business, this kind of thing could be the death of that small company.
Easy come, easy go. I don’t often agree wholeheartedly with anything but I do with this post and appreciate the author’s thoughtfulness.
I have zero problem with paying for a subscription. But if the app doesn't work, I'm going somewhere else.
It's not very different. I don't know if "flat" was ever the right word to describe the look it started moving toward post-Aqua; I think I'd be more inclined to call it "minimal", occasionally to a fault. With a few exceptions (most notably the bonkers choice to make all keyboard shortcuts gray in menus so at first glance they all look disabled), though, I mostly like the look that Big Sur's ushered in.
If you compare the price of Bitwarden to other proprietary Password Managers it is next to nothing. If you don't even want to pay for that take a look at VaultWarden
Yep imbalance, dynamics, so much to skew the process. If you think your interview process works, great, but likely it doesnt and you just get lucky. All the good people you screened out vs all the cruft you saved yourself from.. you will never know....!

Being a programmer isnt about what you know, its about how you learn. Born programmers vs learned programmers, you got a coding test for that? really? If you think you can screen anything more then selecting for familiarity; your been sniffing that corperate glue for too long.

If you come to me thinking i am suitable for a job, you reach out via linked in, you see my public repos, then ask me to code for you on demand like a monkey?! Pull the other one!

(not referncing OP, general comment on interview processes)
I think the internet might be the problem? It used to be that we would use personal networks to find roommates because that was all there was, but with the internet, more people are connected to each other, and there is less intrinsic vetting via social circles. So that friend of a friend on Facebook could be anyone.
Just have to hang tight a few years until ITER is tested
Exactly.

Now you know why the application developers are so loud and angry. We can’t have nice things because distributions shipped broken default configurations, and that’s messed up.
Very impressive to do this in Java FX. Did not know that you could do something like this in JavaFX
This is the reason I skipped 1440p altogether and jumped to 1080p@2x.

My eyesight isn’t the greatest so to run 1440p I need to run 1.5x which makes a lot of things work really badly.
These are sort of outdate terms, I was just using the murder hobo as an extreme example from video gaming culture:

> A character who wanders the gameworld, unattached to any community, indiscriminately killing and looting.

https://en.wiktionary.org/wiki/murderhobo#:~:text=Noun,commu....
In terms of (only) racial equality, it is actually only an issue for non-whites. That's not factually incorrect.

Hence we come back to the OP's point - it's hard to get broad public support for both racial and class issues simultaneously... regardless of how interconnected the problems and possible solutions may be.
So you're arguing it's okay to send out numbers that have no bearing with reality? That seems to fit the literal definition of insane.
Even an axis can hold more than two points.

If something other than D and R were considered viable everywhere, Sawant wouldn't seem like such an outlier.

When people are forced to hold their noses and vote for the lesser of two evils, can we really say they are enfranchised? What if those two evils are captured by corporate interests and not the interests of general citizenry?
That he declared his taxes appropriately?
The main gotcha with hooks is declaring dependencies for re-renders. It does not take very long long to learn, and it certainly is simple to fix once the problem is realized.

One of the nicest things about hooks + functional components is how much easier it is to refactor. With class based components, nested state and lifecycle behavior made it sometimes difficult to break down complex components.

But I feel like with functional components and hooks, refactoring into logical subcomponents is a breeze.
Reminds me of that poor guy who told surgeons they should wash their hands. They didn't take kindly to that.
Shrinkwrap: Taming Dynamic Shared Objects
bingo. CTOs should realise that job ads are screened by devs just as they attempt to screen for mini-me's and protect from dead weight.

Devs (who arnt desperate for richers) look at your company and think, how cr*p would it be to work there? where are the indicators?
Funny, I tried it last year and keep getting kernel panics. That’s the thing that’s hard about Linux — a million different hardware configurations.
This would be awesome for crap I don’t want to learn like CSS
It doesn't even have to be by state. PA is Philadelphia at one end, Pittsburgh at the other, and Pennsyltucky in between. I sort of do appreciate the novel dismissal of "a ton of poor white people with drug addictions and poor education" as opposed to "a ton of poor white people whose previously-vibrant relationships got mercilessly ploughed over", because that's the exact thing that happened with black neighborhoods.
I would go up one level of abstraction then and look at chat-as-service / embeddable chat SDKs. If it’s a niche service, it will be a good while at best before you break even writing your own.
Computer algebra systems are the typical example. They’ll have a ‘Number’ type that, among others, has integers, rationals, algebraic numbers, etc.

They also can come in handy in various puzzle problems.
Show HN: Pipy 0.30.0
Pipy 0.30 is now available. It adds improvements to a number of areas including better documentation, more core controls, new filters, enhanced Cache and Metrics API, and some bug fixes. The Pipy Runtime API has expanded its coverage of SSL engines, asynchronous file read/write operations.
This release was truly a community effort and could not have been made possible without all of the hard work from everyone involved in active discussions and the Pipy project on GitHub.The Pipy community provides code submissions covering new functionality and bug fixes, documentation improvements, quality assurance testing, continuous integration environments, bug reports, and much more. Everyone has done their part to make this release possible! If you’d like to join this amazing community, you can find it on GitHub, Slack, and the Pipy discussion groups.
I just witnessed this happen. A service that is nothing but a proxy for another service, plus some caching. A client library might be better.
To back this up, the "actually has a degree in HCI" UX profressionals I worked with at a previous job railed against flat design and ensured our output was clear and intuitive. Though there was only two of them, so I can't say all of them would be like that!