skysight-inc/HackerNews huggingface dataset:
I can find no details on the site about where the board manufacturing and assembly happens. Simply from a standpoint about caring about labour practices, and workers rights, this is concerning. Is this happening using US prison labour? Chinese labour under a government that is actively committing genocide against the Uyghurs? I hope not, but with that info obscured, there's no way to know if using this service passes a basic ethics smell test.
Bug fixes appreciated
I thought so too.

JAMStack is Next.js with SSG+CSR.
This is great, thank you for sharing. We primarily test in Chrome which doesn't seem to display this for whatever reason. Should be an easy fix to remove the history for the loading page.
This is one of the worst SPAs I've ever seen, simply because it causes an infinite redirect loop when clicking the back button and/or tampers with the browser history to make using the back button impossible.
> I guess this brings up and interesting issue -- once someone knows the ins and outs of a system, sometimes there are very few barriers internally to check that an order/paperwork is legit.

I used to work as a criminal defense attorney, and the job regularly required that I obtain subpoenas from the court in order to mandate a witness's appearance at court. My state courts have a template that subpoenas must follow, wherein you would include the case number, attorney name, witness name, and other basic details.

Once the template is completed, you take the original along with a certain number of copies to the court clerk for filing. All the clerks would do is make sure that the case number on the subpoena corresponds to a case that actually exists in the system, and that the names of the plaintiff(s)/defendant(s) are accurate.

The clerks never asked me any questions about my role in the case (e.g., whether I was a party to the case, an attorney, or a staff member of the law firm representing a party), nor did they ever ask me to provide any sort of identification. I just give the clerk the papers, they look at the papers, they stamp the original and copies, and then they return the copies to me (which are to be served on the witness and/or opposing counsel).

I don't think there's a ton of value someone could get out of obtaining a fake subpoena (other than perhaps issuing your own self a subpoena as an excuse to get out of work, or maybe just to screw with someone), but it was always pretty astonishing to me that anyone off the street can just dump some papers in front of a court clerk and receive a legal order mandating someone's appearance in court--no questions asked.
Why would you want to? Routing is the fun part!
The webkit codebase is fairly clean and modern, and is a good example of structure across a gigantic code base
Richard Stallman Was Right All Along
> They are different between regions but often regions band together and synchronize their regulations.

This is, as a general rule, catastrophically worse. Because then the only parties with input into the rules are the largest organizations who can successfully lobby an inter-governmental body and they (unintentionally or on purpose) promote rules that work for the largest organizations and annihilate smaller ones.

It also tends to make the rules much more complicated, because each of the individual jurisdictions have their pet issues they want to graft onto the unified system, so now instead of having some obscure and poorly conceived rule only applying in Russia or Egypt, it ends up on page 641 of the unified rules.

Compare this to some kind of rational system where the rules that apply are those of the jurisdiction where the server is located and then if you don't like the rules in Iran or California, you use the services hosted somewhere else. And the services that really are targeted at your jurisdiction end up locally-hosted anyway for the efficiency advantage unless your jurisdictions rules are so oppressive that they overcome it, in which case "Chinese dissidents use servers in the US or South Korea" is a valuable release valve.

And if you're fine with people using a VPN to use services that don't comply with their own jurisdiction's rules anyway, you should be fine with that. Because the only difference is to deprive the majority of their agency if they can't figure out how to work a VPN.
For what it's worth, the same happens in my Chrome.

(Maybe you're logged in and don't get the behavior because of that?)
I wish C++ had borrow checking, or something like it.
I fail to see your point. It's much better to keep your money as bitcoin because it appreciates in value vs. fiat currency. With payment solutions like this, you get the benefit of a solid currency and also be able to spend it easily.
You aren't a special case, but if you don't see any flaws with your method of code review then I don't think you're the target market for code review tools.
This is in that category of activities that I assume no longer exists in a post 9/11 America.
You can use much of the J and the A during the SSG stage that then delivers the M to the user. And very user-specific and/or dynamic things will have to remain some sort of generated shell and the content fetched on the client anyway.

JAM has other problems. I don't think that's one.
I was thinking this too - is this really just another TSMC victory - like it is with AMD on TSMC vs Intel still not making it to 10nm, and Apple making gains on A14 (soon to be compared VS intel no doubt) - it's the process that's driving efficiency for sure.

How much is this one really about TSMC 7nm vs Samsung 8nm?
The US is better compared to the EU than any particular country, both in terms of size, population, and distinct governments.

So this is similar to a train being proposed from Amsterdam to Copenhagen that would be paid for by all of the member countries.
Cool! Thank you for answering.
Study helps explain why motivation to learn declines with age
Turbolinks gives you a few options, depending on if you want the script evaluated once or each time that page is loaded:

https://github.com/turbolinks/turbolinks#working-with-script...
Yeah, full protection from repercussions by the american government.
https://en.wikipedia.org/wiki/First_Amendment_to_the_United_...

Unless of course he's violating any (or lots of) the exceptions.
https://en.wikipedia.org/wiki/United_States_free_speech_exce...

As spotify is not the american government it doesn't really apply here.

In addition even if they were the american government, that would only apply in america, which is in fact, not the entire world.
Pretty much. If you’re spending $1000/month on servers, you’d only save < $200/month and the added complexity probably isn’t worth it. If you’re spending $100000/month on servers, saving ~$20000/month is probably worth it. Where is the tipping point between those two numbers? Depends on context.

Rewriting in a more efficient language might seem even cheaper, but you have to factor in risk and opportunity cost. At some point it does become smarter to rewrite, but your app needs to be pretty simple or your server bill pretty huge before it’s actually the best option.
We are not going to use reCAPTCHA.[0]

[0]. https://www.mediawiki.org/wiki/GitLab_consultation/Discussio...
It's not that hefty once they pitch this improvement to the many wealthy VC-funded companies whose business and data science divisions depend on Python.
That's not possible for SPAs outside localhost. Every single SPA i know is clunky, including gmail which is probably one of the most barebones. The lack of visual indication that something is happening or downloading alone is infuriating with SPAs. Most of them reinvent the browser in a very poor substitute that invariably fails to both be practical , and to mimic a native mobile app (i think the latter is the reason for so many SPAs.

Almost never had a problem with HN either
The issues can’t be ‘fixed’ in the Wayland protocol, but have been addressed by individual compositors and libraries like wlroots. The difficulty is not in building a decent Wayland desktop from scratch (GNOME, Sway and ChromeOS have all done this), but in rewriting X11 window managers, screen sharing apps and automation tools that perform functions that are the compositor’s responsibility under Wayland.
I think there are many people that consider your "fun" toil. There are some people that, when presented with the opportunity, will pay to have their story be told :)

I think it is a great idea for a product to be spec'ed into family lore :)
Do you actually have the data to run that calculation? Mortality rates with good health care would roughly double the yearly mortality. It wouldn't be like 2005 or any other year, it would be unprecedented. But if you actually do that the health care will be very poor and much higher mortality will result.
> Society collapses and we become a failed state - but states fail all the time, universal suffrage appears to minimize the number of states that need to fail.

The only society's that i can think of that lasted a long time were society's that didn't have universal suffrage. The idea of a republic is pretty stupid to be honest. What you end up with is a bunch of people with completely different agendas to ensure that every issue gets hotly debated and when a decision is 'made', barely enforced or executed on. Additionally, it seems to give rise to massive paternalism and loss of freedom which is suppose to be the opposite of what it was meant to do.
I should be clearer:

There are values of 0.00000343477% which are below 0.00%.
It is impossible to downvote submissions. Only comments can be downvoted.
How to Use US Stock Data to Build Apps or Platforms
Check out blog to learn how to use Real-Time & Historical Market Data feeds to build financial applications and platforms.
I thought 100ms was basically the threshold for feeling "instant"?

But totally agree with your position on this in general!
I've always felt this problem from the first time I touched Angular. It was just so much more complex and fragile without actually a lot of benefit unless you wanted to make a really interactive async application like Google Docs or Facebook Chat.

When SPA's became the norm and even static web pages needed to be build with React, developing became more and more inefficient. I saw whole teams struggling to build simple applications and wasting months of time, while these used to be developed within a couple of weeks with just 1 or 2 developers, on proven server side opinioated frameworks. But that was no longer according to best practices and industry standards. Everything needed to be SPA, micro services, distributed databases, Kubernetes etc. These components and layers needed to be glued together by trial and error.

I am really happy that common sense is starting to return and more developers are starting to realize that integrated end to end frameworks are very useful for a lot of real life application development scenario's.
This similar article has more fascinating details https://www.bbc.com/news/magazine-32481442
A curated list of Workstations and desk setups
I'm 46 and started building web sites in 1995.

I think as I grow older I want to specialize rather than chase the latest new shiny technology.

That doesn't mean I don't want to learn. It means I want to learn to be better at what I already know.
but the analogy to cars does not hold. They're not extensions to our legs in a genuine sense of the term. They don't improve, or interact with our physical capacities. On the contrary, they atrophy our legs, make us fatter, and produce urban pollution.

They're not a technology that enhances or melts with the human who uses it, it doesn't vanish into the background, the car doesn't even evolve much, rather the environment changes to fit the car, if anything hindering evolution, it displaces the natural ecosystem, it doesn't become part of it.

The same can be said about technologies weakening memory. They look like an enhancement maybe, but they may actually just cause impairment of function, becoming a crutch.
He's going to destroy even more jobs and businesses in the process.
If we had immense pumps that could keep the tidal menisci whereever we want, say N degrees ahead/behind of the moon, my gut feeling is that keeping the closer meniscus 60 degrees behind would create the most 'drag'
Years ago I tore open my arm at work down to the bone (cut sheet metal corners are sharp!), while it was been stitched up at the hospital I was fascinated and watching closely to the point the nurse commented that most people would look away.

Funny how different people are I guess.
This is the biggest problem. I accept Wayland brings benefits for some people, but I couldn't care less. Since I don't care about the benefits it brings, it needs to be entirely painless.
Until the switch is more painless than holding on to Xorg, there will be a good chunk of users with no incentive to make the move.

That depends a lot on how difficult it is to keep Xorg working with modern distros. You might get forced into Wayland when your favourite distro and all acceptable alternatives don’t want to put the work into integrating and patching an aging Xorg.

Whether it’s with a carrot or a stick, you’re going to Wayland sooner or later.
It does look interesting, although the $949 design fee is steep. In all honesty, you can get pretty far with KiCAD, some data sheets, Google, OSH Park & DigiKey. Basically the cost to you is your time & beer money.

Having said that, to go from prototype to production you need to have a professional engineer properly (re-)design the board (e.g. so it doesn't catch fire or generate interference).
Wow. A short while ago I was evaluating home security systems and narrowed it to two. One of those was Nest.

I feel lucky today. I picked the other provider.
Graveyard already updated: https://killedbygoogle.com/
The Kobayashi Maru is actually from Star Trek.

Original context:

The Kobayashi Maru refers to a no-win scenario given to the command-track students of Starfleet Academy. They aren't told it's a no-win situation, the goal is to make sure they can keep calm and see how they cope with the situation.

In the scenario, they're in command of a starship and have to rescue another ship, named the Kobayashi Maru, but in doing so they fall into a trap that results in both ships being destroyed and all crew killed.

TOS-era Captain Kirk was the first to win the no-win scenario. He did so by cheating: reprogramming the computer.
Guy Steele on Computer Science Metanotation (2017)
You want a web browser talking directly to an RDBMS of some kind?
Wizards Ends Their Relationship with Terese Nielsen
Cybersecurity expert creates app to help voters locate ballot drop boxes
Which, as a person who uses Linux and Windows, makes Figma the clear winner. Sketch isn't even a choice if I can't use it.
It's addressed in the FAQ:

"Does Stripe Climate offer traditional carbon offsets? No. Traditional carbon offsets, while often inexpensive, are unlikely to scale to the size of the climate problem. Instead, we’ve chosen to focus on permanent carbon removal technologies."

Planting trees and renewable energy are some activities that carbon offsets fund.
It never was true, UNIX is bloated, hence Plan 9, `cat -v`.
To get to a higher orbit ("further away"), you need to go faster than what you're going right now.

Once you're in the higher orbit, you're going slower than what you were going at in the lower orbit.
I just openened the link to read about the company :)
It holds value because countries currently permit bitcoin to be exchanged for real currency. That should change. When it does, BTC goes back to being the valueless thing it always was.
It feels pessimistic to think this way but I agree. Most people don't even save for their own retirement, how can we expect voluntary action to save the climate? Poverty rates among elderly were crazy high before social security was established. Similarly, it will take government action to solve climate change.
Displaying a loading spinner in under 50ms while waiting for a 500ms request to complete doesn't necessarily build a strong relationship.

SPAs can start off with the good intention of being low-latency and responsive. But when you're backed by a web server, you still have to account for it though optimistic rendering, prefetching, and loading states. Getting it right can be an excellent UX, but it's easy to get very wrong.
I appreciate that you are consistent.

Have you considered self ? https://selflanguage.org/
AMD hasn't come out with anything like DLSS yet, but they've said they're "working on it".
Ask HN: Good Python Codebases to Read
Hi All,
What are some good python codebases to read that can teach me about naming conventions and writing clean and good code.
You would have liked the interview. Most of it was Rogan stopping Alex and getting Jamie to fact check things before Jones could move into the next topic.
Nvidia still doesn't implement the de-facto standard API used by everybody else (GBM).
Late reply, but I understand that monopolies aren't per se illegal. I said that the companies listed need to be broken up, not that they fall into the category of "monopoly that's technically not illegal and not leveraging its monopoly to constrain business in another market." There's an awful lot of projection there and I'm not sure how that ended up being the takeaway from what I said.
I've found web to be great: you just need a single file if that's all you want. All the modern frameworks and tooling are complicated, but easy to ignore for a small project.
That's awesome work. I miss the days from the 90s when we were still figuring out the more basic things, i.e. everything - and they were often our own learnings more than refinements on learning about what someone else did and put in the "discovered domain" so as to speak.
A young woman died in Australia recently from skin cancer due to tanning bed use. Just because the light isn’t from the sun doesn’t mean it’s safe.
three letter agencies are to the US that the pretorian guard was to Rome after the fall of the republic. They seem to have their own level of authority above and beyond that of congress or even the emperors themselves. However in the US this authority not gained through threat of violence but through information. They have all the scandals, controversial issues about EVERY SINGLE MEMBER OF CONGRESS AND PRESIDENT. Who wants to pick that battle?
So. Couple of things.

sloccount says xserver is around 370kloc. This isn't counting the drivers outside of the generic KMS support (which, practically speaking, is what you're probably running on anything remotely modern), but ati+amdgpu+nouveau are another 102k, and intel is another 186k (partly because it embeds a copy of the software renderer for dumb reasons), so you're still not quite at two-thirds of an MLOC. The size isn't so much the issue, it's the design. The xfree86 ddx seriously believes that you have one video card driving one monitor with one keyboard and one mouse, and anything beyond that only works well because we sank a ton of effort into it. (It used to have code to disable interrupts! From userspace! What could go right.)

It sounds a little like you think I'm being given these priorities as marching orders from above. That's maybe a bit insulting? I suspect I'd have the same opinion at this point regardless of my employment history, namely, that X is a tremendously successful project whose core design and reference implementation do not reflect how computers work anymore, in ways that make it painful to develop and maintain as the system display server. Frankly that was probably true in 2005 when I started on it, but at that point it was also the only thing that had credible video drivers at all.

It's not that Red Hat is trying to lock anybody into a particular desktop out of some nefarious political agenda, it's that we don't have the resources to do things twice. If we want to deliver the best desktop experience we can then choose your own adventure among Gnome and KDE and XFCE and twm and i3 and whatever else simply is not going to be an efficient use of our headcount. And we're reaching that point with display services too, trying to support both X and Wayland increasingly means writing the same feature twice, sometimes with radically different approaches, and trying to implement them _at_ _all_ under X11 is more and more intractable. What would you have us do? What we're trying to build now is an Xwayland that keeps your X apps working as well as they ever did, under a hardware display server model that makes things like high-dpi and HDR and AirPlay and RDP and GPU offload straightforward, or at least feasible, instead of excruciating. You can like that or not, I guess.

In all seriousness, if someone wants to take the reigns of stewardship over the xfree86 code then please, by all means, come forward and claim your prize. But I can't justify spending my time on that anymore, and given the interval since the last major release, apparently nobody else can either.
A bakery is not a means of mass communication.
Countdown to Zero Day: Stuxnet and the Launch of the World's First Digital Weapon - by Kim Zetter [0]

[0]: https://www.goodreads.com/book/show/18465875-countdown-to-ze...
I read somewhere that before the advent of paper and books, ancient civilisations would keep epic stories in their heads. After we started writing things down in larger volumes, committing entire "books" to memory was not needed, so it became less prevalent and eventually stopped altogether.

I guess smartphones may further reduce what we need to commit to memory, which will probably have some implications in terms of neuro-plasticity - i.e. it may well shrink (or at least change) parts of our brains.
Less crazy but also very cool: the first coronary catheterization (insertion of a tube through a peripheral vein into the heart) was performed by doctor William Forssmann on himself. Forssmann's colleagues did not believe a coronary catheterization was possible without injuring the heart and possibly killing the patient, so he cathed himself, walked to imaging while cathed, and got X-rayed to prove the catheter was in his right atrium and that it could be done.
Two important observations not found in the article:

1) Top-notch programming talent is often paid more than their manager.

2) "They nip at you from the top, and they nip at you from the bottom."
Programmers have to deal with a manager.
A manager has to deal with subordinates AND a manager.

I've known several friends that tried both and preferred programming.
> My computer ran hot while running Flutter, though not sure how much of that is debug/release mode.

Debug mode is easily 5-10x slower/more resource-intensive than release on devices I've tested on.
The comments seem more based on the title "not freezing in October" rather than the content which says it is currently actively freezing more slowly than in recent years.
Government investment is essentially a form of planned economy. There's lots of examples of that not working so well.

I'd argue that the most effective solution is a carbon tax, applied on any carbon which leaves the ground. That would create incredibly strong market conditions for energy saving technologies, and provide a big cost advantage to renewable energy.

We know that pricing effects consumer behaviour. The oil price increases of the 70s and late 2000s reduced miles driven and changed car buying behaviour.

https://www.nytimes.com/2008/06/19/business/19gas.html?ref=b...

When the right conditions in the market exist, the rate of development will be so much faster than any inefficient direct investment program every will.

https://concretecuts.xyz/articles/green-tech-market/
Confluence works but it's a bit of a beast in multiple ways.
[conversation moved]