skysight-inc/HackerNews huggingface dataset:
No seriously, a library that generates random filled circles? Is this an exercise in getting a React package into the ecosystem? This is too elementary to be taken seriously, so why all the praise posts? I am genuinely confused. Why?
And it also allowed the web to grow tremendously and in a decentralised fashion. Today’s web is more formalised but we have walled gardens everywhere. What is better?
Truthy is "what is considered true in a conditional". It’s still a meaningful question, with a meaningful answer, even in languages where the only thing truthy is the value true.
Show HN: Best stories of HN as summary on Twitter
i had this problem last year. not sure how well this product would have helped...
> with badly written PHP and I was new to it

that's been a combination of my experiences with pretty much every other tech as well.

I've done php, java, perl, python, javascript ruby, asp and poked at a small cold fusion project over the last 20+ years. Every one of those had baffling parts which, after some time, and after reviewing it with people far more proficient than me in that target stack, I learned it was "crap code". "Yeah, they didn't know what they were doing." "That's n00b code." "Garbage. How did they get hired?"

I've also seen some good 'clean' projects in some languages, but not as many. I guess I can not, for the life of me, figure out how someone looks at some bad PHP projects and writes off the entire language, yet if I do the about Python, for example, I'm somehow close-minded, or a n00b, or... "just not ready for it yet" or... something. Have had conversations like this at tech conferences (back when those were a thing!). Seems like projection going on, but maybe there's something more.

FWIW, it's often not specifically the language itself which is a stumbling block, but the entire ecosystem around a stack. If there's not a good, usable patterns and tools for easy testing, or integration between FE/BE, etc, I don't care how "tight" or "sleek" or "elegant" a specific language is; it's going to be a pain to deliver a full project with.
I don't want to publicize any website in particular, but if you Google "best books algorithms", you'll probably get the ones everyone knows about:

- Introduction to Algorithms by Thomas H. Corman

- Algorithms by Robert Sedgewick & Kevin Wayne

- The Algorithm Design Manual by Steve S. Skiena

- Data Structures and Algorithms. Aho, Ullman & Hopcroft

- ...

Simiarly, just Google "best books software engineering".
Ask HN: Has anyone moved from tech into a counselling/psych related career?
It strikes me that the problem solving skills of a technically minded person can be put to excellent use in confronting people's personal and professional problems.

Have you transferred out of a software/tech job into another career which utilizes your problem solving skills but on a more personal level?
Dear Google Cloud: Your deprecation policy is killing you (2020)
If food became 30% cheaper that wouldn't affect the life-style of most people in wealthy countries that stand to benefit..

Organic often yields 19-25% less than non-organic, yet that doesn't make a huge difference.

Mechanizing agriculture in poor countries is likely to yield much higher returns.
Vans don't hold value because they aren't that convenient to daily drive, don't project the image a pickup does while screaming blue collar in a way that makes all the potential yuppie buyers head for the hills. Also the used market is chock full of them because of how vehicle depreciation on taxes works and the fact that all the premium businesses that cater to rich people and moneyed industries generally try not to be seen driving run down 20yro vans.

Like every vehicle they reach a value floor based on condition.
And then there is comment (like yours) complaining about comments complaining about haters :P

Then there is my comment - now it is like the movie inception :P

It would be nice if we all just used those tools/software that works for us and simply ignore the rest.
Those fines would need to be ruinous to justify the cost of collecting them, and you would still have people needing to block walkways for e.g. construction work.
Also, the "don't write code, just find a library that does what you want to do and plumb it in" mentality means that people approach a problem by searching Github, find these half-finished experiments, and ship them to prod.

I exaggerate, of course, but not by much
How can a server read a tag if it doesn’t know which encoding to interpret the tag in the first place?
Don't do that.

Wordpress store some information fields and the length of the string of those fields. Use a plugin that search and replace for those and recalculate the length.

Also, search for //example.test, not http://example.test.

Edit: I read a bit too fast, maybe it does implement the string size but I can't be sure https://github.com/wp-cli/wp-cli/issues/1224

Edit 2: https://github.com/wp-cli/wp-cli/pull/1261 sweet, looks like it does ^^.
>IMHO, the decision of whether to show auto-complete should be with the user and not with the website.

There's a setting in Chrome where you can disable auto-complete on a field-by-field basis?
That was a time of the internet being a ‘nerd’ thing and using it took intrigue into how it works alongside how to use it. Now quite literally more than half the planet needs to use it since it allows instant communication and you can’t expect everybody (or even most people) to spend the time to learn how it works when they can just chalk it up to ‘magic’ and continue with their life.
I’m quoting the person you’re talking about. You claimed they’re saying you’re from the magaverse, when they were explicitly referring to "other comments".
Why would have the site name in a generated stylesheet unless someone wrongly put it there ?
> QUIC was developed through a collaborative and iterative standardization process at the IETF after almost five years, 26 face-to-face meetings, 1,749 issues, and many thousands of emails.

26 face-to-face meeting in 5 years is an extremely low number; I'm glad to see that the developers of the Internet embrace remote work :)
Yep. I received that in an email from Apple couple months ago for an old app I have on the store and since it had been working just fine for 3 years, I hadn't updated it. I decided to update it just in case the new signature would break something.

Link for those curious:

https://www.macrumors.com/2021/04/16/psa-apple-updating-old-...
Political astroturfing is absolutely nothing compared to the corporate astroturfing going on on there.

I would go as far as to say that there is relatively no political astroturfing going on in comparison to corporate astroturfing

the rise of searching “[product] reddit” in google to find reliable reviews, has hugely incentivised companies to hijack threads and control the narrative, because there’s a direct profit motive

It’s at its absolute worst for VPN companies, which I am hugely suspicious of anyway. Go to r/vpn or a related subreddit and ask for a good VPN to use, and see what replies you get
I think this is too strong an opinion to hold. I think there is great value in being able to put problems you face into some sort of detailed taxonomy, and either know directly or be able to find the correct/optimal solution for those problems. To be able to do that, you do have to be exposed to what exists in the body of computer science knowledge. But while I disagree with anti-leetcode people who just claim googling is enough, I do believe it's enough to know that something is a graph/tree/optimisation/whatever problem and google a valid implementation. Having an intuition for performance and complexity is also very useful, but not knowing the exact complexity of an algorithm isn't a blocker to good work.

I think it's essential to have a good map in your mind. I don't think it's essential to have a photographic memory of every route through that map.
https://news.ycombinator.com/item?id=27313686
Calling the law "Arcane" doesn't change the fact it's federal law (Arcane is hyperbole anyway). You don't get to not follow laws just because they are a little old.

Also you can call it a "hardline interpretation", but that probably means it's following the text. Companies are supposed to take a "traditional" interpretation anyway legally, although typically this is referred to as "precedent"!

If we remove the words "Hardline", "Interpretation", "Traditional" and "Arcane" which are all hyperbole, the statement actually would read "GitHub and California courts are sticking by a 1986 privacy law" - which of course they would, they are legally required to.

> "Arguably, GitHub’s interpretation of the SCA infringes on a defendant’s rights as repeatedly upheld by the Supreme Court itself".

This is just saying that arguably by not breaking one law, they were possibly breaking another law - and in this case the courts need to move.
Probably easier for any serious criminal to just deal in cash and make deposits at the big banks, they have a long history of taking cartel money.
I've built the beginnings of a Forth compiler in Common Lisp just to prove the concept. I find Forth syntax more convenient for some tasks (like emitting a series of HTML constructs to a stream, in precise order) than Lisp syntax and since Common Lisp gives you access to the values stack it's pretty easy to turn it into Forth. Of course you have to give up variadic functions, but that's the nature of Forth.

I haven't tried the reverse (building a Lisp in Forth) but I imagine it would be straightforward. One can build a Lisp from just about anything.
Private Blockchains vs. Real Blockchains
Blockchains can be categorized as permissionless (Public) blockchains and permissioned (Open and Closed) blockchains. But not all of them are real blockchains.
Yeah, TOTP is a password. Hell, it is in the name. One property it has that differs from classic passwords is the authentication factor. For TOTP, it changes from something you know you something you have. However, lots of passwords are now randomly generated and are no longer "something you know" either.
Facebook, the CDC... they all suppressed legitimate concern about the most horrible thing during my life-time and even-more-so the younger people that continue to be traumatized by this when they were already in a worse position. John Cena, Daryl Morey, Hunter Biden - a star QB like Drew Brees in the US can't respect the US flag. LeBron James in US territory can't respect the US and can't disrespect the world's only hegemon, the Chinese Communist Party.

I don't have the means to fix very much of our world at all. I'll keep trying, though.
at the very end:

> Frame said at the all-hands that he is still performing a manhunt for the person Citizen falsely accused, but this time in order to apologize.

> "We need to find this person and we are actively looking to find him. We are not done when it comes to this person," notes from the all-hands say. "Andrew [Frame] said they are working on that and this has the chance to turn into a very happy moment."

Someone has a giant ego and doesn't understand they fucked up. Trying to still find this guy and put a camera in his face...
yeah, this would NEVER happen with cash! /s
Do you have any recommendations on classic books about algorithms and data structures? I would be interested in checking some of them.
I've used Android for over 10 years – I'm switching to an iPhone 12 Mini
> The “ossification” that QUIC deals with is primarily about internet routers who decide to dig into their IP packets.

Being 'opaque' to the network is not a foolproof choice, since it also makes stuff like NAT, congestion control and QoS a lot less robust. By exposing connection identifiers to the network, SCTP gains a lot of flexibility wrt. such scenarios compared to QUIC.
This version is late: https://link.medium.com/yaBD363QCgb
Somewhat related to your experience, does anyone else feel that the present interviewing scene is a lot more focused on algorithms rather than data structures?

Many leetcode questions rely on very specific tricks like using a fast and a slow pointer, or two pointers at opposite ends of a sequence.

So one might know about many different types of self balancing trees and which ones are best to implement a database index on disk, but these things do not come up very often in leetcode style interviews, although these are quite real problems in the realm of algorithms and data structures.

To be fair though I do not know how you can test this kind of knowledge in an interview.
Can someone tell me what app this is in the article? It doesn't look like the MacOS App Store but looks similar.

https://tidbits.com/uploads/2021/05/Setapp-sqlite-640x469.jp...
I really like the look of diff.blog , signed up! Is there any way to subscribe to my feed as an RSS feed?
Early Status of the FLoC Origin Trials
>then you should not be programming software to be used by others

I think that is a very broad statement that belittles the work of many developers. You don't present this as your opinion, you state this as fact. Your dictatorial attitude is exclusive and not helpful in a discussion about the usefulness of leetcode.
For those on mobile: https://mars.nasa.gov/technology/helicopter/status/305/survi...
The important question is when the flagging occurred by the users. If the flagging occured when most comments were culture warring, and the moderators find that to be inappropriate, then it would be good to know for future reference. If most users pressed the flag button long after the discussion switched to be more productive then I can understand what dang is talking about, but from his post I can't determine that.
> they've trained themselves to look at a program and see the data structures rather than the code, and in my opinion that's a better way to think about a program.

I don't see how this is mutually exclusive to writing readable code. I'm not good at these but I picture good code in your definition to be utilizing data structures in an intuitive way instead of coming up with some novel but wacky performance trick.
Well if the API moves to a different domain name, HATEOAS will not help you one wit. You still need to hardcode the entry point.

I still don't see any reasonable scenario where an API would change the (site-relative) URL's without also changing the semantics of the API. And if the semantics change you would have to rewrite the client anyway.

In any case, if you change the URL's without changing the semantics you should respond 301 on the old URL, so even a client with hardcoded URL's would work correctly without the need for HATEOAS.
https://www.di.fm/ Has DJ shows and had been doing internet radio for a very long time
akshually we use Amazon's managed kubernetes.

k8s lets us move fast - we can easily deploy new services in no time. We can also run the entire stack on our desktops in k8s, or have our laptops be a node in a mostly cloud k8s dev deployment and debug services locally.
Although Google did come up with the original specification their influence over the IETF specifications is not overarching nor absolute; gQUIC is substantially different from IETF QUIC which has caused Google themselves to have implementation and interop issues in their deployments. OS vendors, CDNs, academic researchers, and individuals have all contributed to the resulting specifications that have emerged in a standards body that is by far the most open as the requisite to participate is a functioning email address. All matters and decision making are publicly available for observation and scrutiny.

There is no requirement for people to implement this protocol and it won't be appropriate to every use case that exists today. TCP, UDP, HTTP/1.1, and HTTP/2 are not going away - all continue to undergo standardisation, research, and new implementations.

(Disclosure: I'm not a Google employee, but I have participated in the QUIC and httpbis working groups)
Uhh.. json doesn't have comments. There is no code readability in here. If you are trying to represent code in data, night as well go use a language for that.

This is still a cool project. It issues a lot of effort to build something like this.

But I wouldn't use it for production until this has been around for a while and json gets comments.
I think I've read more stories on bitcoin laundries than actual laundries... suprising given how long it has been around.
Population and Climate Change
Just want to point out that Rust and Python live on opposite sides of the spectrum. A systems language requires good understanding of systems (whether rust or c/c++) and also some assembly language. So Pythons “ease of teaching” actually could yield bad systems engineers, because it shields users from the system...

Honestly, I would personally teach plain C for algorithms because it has the simple for loops and while loops, tail-call recursion, arrays and structures.

Python has a kitchen sink.
You'll rarely find that sort of work when doing user-visible stuff, because most software doesn't have enough users or complexity to justify the cost of custom data structures. But if you look at the software running on your computer right now, you'll find these programs are chock full of clever data structures. (Eg VS code, firefox, nodejs, rustc, etc.)

If you want that sort of work, you kind of need to be building software infrastructure. So, contribute to linux, mysql, firefox, ... or work at FAANG, Microsoft, Dropbox, or something like that.)

Or work on a product that needs high performance (like video games) or has a lot of users (like Twitter).
Actually I believe it would be better if we never find the true origin of COVID-19.

It has drawn attention to:

- Improving handling of live animals

- Improving lab procedures for biological materials

If we would know the true origin, less attention would be given to other scenario's that are also quite possible for other diseases.

Also, the current attacks on China will only cause it to be even more suspicious about foreign contacts, and that could hurt international cooperation in future pandemics.
Distributed degrowth technology: Challenges for blockchain
I don't see this as a bug. Password autocomplete is kind of a dumpster fire. It varies, depending on which sites I visit.

I use 1Password, with browser integrations (it works better with Safari than Chrome).

I don't know most of my passwords; relying on 1Password to access the strings of garbage I autogenerate.

So I am constantly using it to fill forms.

It keys on things like attached <label>...</label> elements. Not all sites use these. Some sites also sometimes add some kind of junk that causes 1Password to fail.

Other times, 1Password insists that the field I just selected needs an autofill; even for non-auth fields.

Not really a big deal for me. No one that shouldn't gets my auth, and I ignore the prompt when it is not necessary.
Thanks for the feedback. LinkedIn profile would be the URL of your LinkedIn profile, not truepeoplesearch. This makes it easier for data traders to find your profile and delete it. Let me know if you have any questions!
OP here. I’m in same situation. I switched from Pixel 4 XL to iPhone 12 Pro Max in December.

While iOS isn’t as bad as I feared, its voice assistant, keyboard, and overall flexibility are much poorer than Google.

On flexibility specifically, I observe Apple being bigger into opinionated software than others, so I’m sure that plays into my perception.

I still heavily use Google’s apps over Apple’s, in almost every case, so I have de-Apple-ized my phone significantly. But Safari is the only browser I can use that works with adblock, and other iOS browsers are really just Safari under the covers anyway.

I’m carefully watching the Pixel 6.
I was too busy this week to watch any of the Build stuff, but it is surprising how it's basically just been crickets. I can't remember a year with less buzz about anything that Microsoft has queued up...
Yes, it starts its life as a password. After that, it is never communicated ever again, and therefore, after the initial exchange, it's something you have.

It seems to me you are ascribing properties to "something you have" that aren't warranted. The "something you have" needs to prove you were party to the initial exchange, not necessarily that you were the only one present -- that's why we use two factors, and not only TOTP.
Dupe: https://news.ycombinator.com/item?id=27313686
HTML5 does have have a strict specification for how it is parsed, unlike previous versions.

Also, you can still write HTML5 as XML (XHTML5). It's not talked about much, but it's totally a thing.
Which is... pretty odd, as one of the three dominant styles of universal health care today was originated by and is named after _Otto van Bismarck_, who you'd struggle to consider a leftist.
Now that's some hacker news! On the home page twice!
Every dollar bill in your wallet has trace amounts of cocaine on it. They probably spent some time tucked in some dancers g-string too. All money is "dirty". It's just a question of how many times it needs to trade hands before we collectively agree to treat it as "clean" again.
This is actually compulsory requirement for safe communication protocols in railway according to EN 50159. The correct way to manage this is to reject the outdated samples. Ultimately, this should result in a transition to fallback mode (in this case, emergency landing mode).
So the police are getting RTX cards this Christmas and we still aren't :(
Why would someone even use something that isn't Firefox.
this x 10, computer security is usually flawed, personal security is (bar a few war zones) much better.
Hi, I can understand your hesitation that giving data to get data deleted is suboptimal, but it's the only way unfortunately. The value is in the service, not the design of the website - I'll take your feedback though.
There are authentication mechanisms that rely on passwords but work by not transmitting the password too. One example is kerberos.

TOTP is a password. The fact that it is a password doesn't matter though since it is something you have (and can't know) which augments the something you know. This satisfies the intent of MFA.
"The computer equipment has been seized but no arrests have been made, the force said."

Whoever does get arrested for this, they won't be facing the same charges for intent to supply drugs. I'm not sure on the penalty of stealing electricity, but it's probably a lot less severe.
Those are ASICs. Mining Bitcoin on an RTX is untenable.
> Looking back I interpret girls doing better in school tragically - they are not "better" than boys, but (on average) more obiedient and adapted. So yet another way how they draw the short straw in our society.

Same realisation I have looking back at school in Brazil, girls would conform more easily to the mold required by schools: be obedient, follow instructions, don't speak up, don't go against the accepted flow. And yes, all of that now seems to stem from the way girls are raised to fit into the "female gender role", it sucks and I hope that girls can do better at school while not being oppressed, doing better at school at the expense of your self-expression isn't that good of a trade-off.
There's absolutely an element of truth here.
I'm guessing, like the HTML parser does: by doing a "pre-parse". The pre-parser is yet another HTML parser, specialized on this task. This is well described in the book and this is how browsers do it today.

It seems no web server ever implemented it; it would probably have been a little beneficial because each file would only need to be pre-parsed when it is written on disk (or first read by the server), instead of this being done by every client on every load.

It makes me think, maybe other kinds of analysis and normalization could be done by the server, which would allow for simpler (and stricter) browsers.