skysight-inc/HackerNews huggingface dataset:
>That's Xiaomi in my experience

Compare it against entire Xiaomi product portfolio and company history, they sell 100s of millions of products per year across different segments, brand is known for quality : price ratio, like IKEA, which has recalls all the time because some SKUs launch with issues. If you follow coffee drama, plenty of high end 100-200 USD kettle's rust. Duds happen. What do you think makes more sense, your / some people's bad experience with one SKU, likely due bad manufacturing batch VS claim that xiaomi makes bad products? Xiaomi reputation where Xiaomi household goods (not just electronics) are sold has been pretty established in past 10 years - they make mostly good looking (according to taste) products, cheap, accessible, with occasional duds, like most companies. Biggest common complaint, are not manufacturing issues, which happens, but region locking smart products.

>$10 / design

It's offical price on xiaomi PRC, 69 rmb. I've seen it go on sale for $5. You can pay a few bucks more for kettle with button on handle from main Xiaomi line. 1A is "Mijia" - entry level beater kettle, it's fine for what it does - value engineer function/aesthetics for people on budget who also care about looks and are willing to make compromises. So much so that people willing to spend 100-200% premium (big reason why xiaomi popular on aliexpress) for the aesthetics - which is part of design, not just pure functionality. Even Braun/Rams "functionalism" from architectural modernism/functionalism, is as much about APPEARANCE as actual function. Unsurprisingly, a lot of OG functionalist designs, especially in architecutre end up not being very functional. But they do look good. And that's ultimately as / if not more important for people who buy these products. Good design in this context is balancing function and aesthtics and accessbility. Braun/ Xiaomi addresses such needs extra well because they have range of products, i.e. it's obvious 1A button on lid isn't made for single hand function. For people who want more functionality other than a beater kettle for a rental that prioritizes aesthetics/stage dressing, they can buy one of the higher end models.
Factorio can run Doom though: https://www.youtube.com/watch?v=0bAuP0gO5pc
This is old news - https://www.voanews.com/a/efforts-by-us-to-crack-down-on-tik...

Has to be seen in larger context of the Attention Wars. There is now more content then eyeballs by a massive margin. The UN report on the Attention Economy quotes a study that says less than 0.5% of content produced is being consumed by a human.

In such a abnormal state of surplus Content, how does anyone get noticed?

There are just 2 options -

1. Spend more on ads.
(This is something all politicians know cause the winner of every single American Presidential Election is the candidate who spent more on Ads on Broadcast Media. Atleast up until Trump+Zuckerbergs algos allowed a different path to Attention Capture. The algos were quickly rectified. See Twitter Files from Matt Taibbi. So when the elites talk about democracy and tell you to vote ask them to pay you instead of the lobbyists, politicians and zuck)

2. Control what the Platforms do. If the platforms dont bend make them. See Modi in India.

Bigger question than Tik Tok bans is why are we producing so much Content? If there are more producers than consumers. And the producers are causing every growing content growth, and all locked in an arms race for non growing attention what is the Purpose of such a system?
> So a new way of dealing with certain problems is required, which requires a mindset change.

It's not a new way (components is not a new idea), and no, it doesn't require a mindset change (again, components are not a new idea).

Web Components have so many issues that they are nearly useless to frameworks, and Shadow DOM is the cause of many of those issues.

> For most developers it doesn't add value right away to break out of their framework cage and share their components with each other.

Ability to share components has nothing to do with suitability of web components for frameworks/libs.

> But eventually we will all benefit from web components because they will work in any environment without them ever breaking.

Except they are breaking a11y, selections, forms; they can't be lazily rendered; they cause waterfall HTTP requests; they...

Well, they literally need 20 more web standards (on top of a dozen or so existing ones) to fix issues that no frameworks have, and many of which exist only because of web components themselves: https://w3c.github.io/webcomponents-cg/2022.html

The only useful web spec that may come out of this slow moving train wreck is DOM Parts which enables batched updates to the DOM. And even then it depends on how blind the spec authors are to the actual needs of developers. And up until 2022 they weren't just blind, they were intentionally and militantly blind.
Yes.

I don't like using Wikipedia for a source, but here's some paleoclimate data going back to the early Phanerozoic.

https://upload.wikimedia.org/wikipedia/commons/thumb/5/5f/Al...

Also, I /highly/ recommend reading over Hansen et al's 2013 paper

It's quite lengthy but it should answer a lot of questions you may have:

https://journals.plos.org/plosone/article?id=10.1371/journal...
Ransomware crooks now SIM swap executives' kids to pressure their parents
Voting to EOL your video game software will not save you from burning to death in jet fuel.
Apple does this because their CPU and GPU use the same memory, and it's generally the GPU that benefits from more memory bandwidth. Whereas in a PC optimized for GPU work you'd have a discrete GPU that has its own memory which is even faster than that.
Yes. But I would want something a bit lighter-weight than them for this job. I'd want just barely more machinery and conceptual overhead than current Haskell has.
Isnt it the case that the people most scared of cities are the ones who dont live there?
NPM run not showing the scripts in package.json
I have a package.json file that contains the following code

```
{
"name": "client",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
```

However when I run npm dev in Terminal, nothing is returned. My ultimate goal is to be able to have npm run dev be successfully working so that my project can be available locally at localhost:3000.

When running yarn dev, I have the following error message

````
yarn run v1.22.22
warning package.json: No license field
error Command "dev" not found.
````

I have tried to use Chat GPT to trouble shoot this issue, and they had me reinstall npm, etc, make sure I had the up to date version required for this project.
NVMe by no means is directly connected to the CPU directly, usually it's connected through at least one PCIe switch.
Apple vs. Creativity [video]
Seeing a lot of vitriol for this ad on various other platforms and would love to hear what HN thinks. Personally, it feels like the 'pro' end of the spectrum will respond poorly, but the mass end of the spectrum will likely think it's cool.
That's not what is commonly meant by "TUI". But as you mentioned, these old UNIX tools were really meant to be used with output printed to paper, which formed part of their "user interface": With CRT terminals, they actually become less usable, since anything that scrolls off the screen gets lost (even today in a terminal window, there is usually a limit to how far you can scroll back).

And I feel like all those UNIX lovers going on and on about how efficient command line tools are don't get this at all. For a command like "replace 'foo' with 'bar' in lines 1237-1451" to make sense, you either need superhuman memory, or a printout nearby. And if you don't use it every day, you'll also need to look up the exact syntax for that command.

PCs running MS-DOS might have been less powerful than UNIX machines, but they got really good, discoverable text user interfaces that took advantage of the hardware available, and could access that hardware in the most direct way. The best that is available now on Linux are really just pale imitations, and have to go through layers of terminal libraries and ugly hacks, like connecting to the X server in order to get the state of modifier keys that the terminal doesn't send.
Top climate scientists expect global heating to blast past 1.5C target
Takes a few seconds. All major cities (even Fargo ND) have seen increased theft. This is unsurprising due to the economies in western countries (which is all i can speak to).

https://www.nytimes.com/2023/04/15/nyregion/shoplifting-arre....
> This makes it sound like every day has not only been higher than the year before, but was also a new all-time high.

I do not believe a reasonable reader would begin with that assumption or arrive at that conclusion.
C23:

> The unary * operator denotes indirection. If the operand points to a function, the result is a function designator; if it points to an object, the result is an lvalue designating the object. If the operand has type "pointer to type", the result has type "type". If an invalid value has been assigned to the pointer, the behavior of the unary * operator is undefined.

below in a note (emphasis mine):

> Among the invalid values for dereferencing a pointer by the unary * operator are a null pointer, an address inappropriately aligned for the type of object pointed to, and the address of an object after the end of its lifetime.

Now the note is not normative, but I assume there are normative wording for defining what the "invalid" pointer values are, scattered around in the standard.

C++:

https://eel.is/c++draft/expr.unary.op#1.sentence-4

C++ is very particular in what it means for a pointer to point to an object, and this is also UB there.
I just use stow and git with a Makefile as well, and I could certainly do without stow these days (I can just write a Makefile target for it, but haven’t bothered).
> Just like they forced visa and Mastercard to either run on India infrastructure or pull out

Nicely done. Russia did a similar thing a while back, so when visa and mastercard had to kill their business in Russia all of the credit cards inside the country remained undisrupted. I was skeptical back in the day over the whole engineering and integration of NSPK (national system for payment cards), but seeing it doing its thing was an awe.
You know the main point of the event was the release of new iPads, right?
It won't be naturally grown if its habitat's climate is no longer viable.
There is no documentation of the syntax. How is this different from MermaidJS[1]?

[1]https://mermaid.js.org/#/
Other references:

https://cr.yp.to/hardware/ecc.html (2001)

DEF CON 19 - Artem Dinaburg - Bit-squatting DNS Hijacking Without Exploitation (2011)

https://youtu.be/aT7mnSstKGs

https://media.defcon.org/DEF%20CON%2019/DEF%20CON%2019%20vid...
Aren't they still getting the ASML machines, and are "just" barred from buying Intel/Qualcomm final products ?

I assume at some point they'll make their own photolitography, but until then they seem to be getting what they need to produce their chips, one way or another.
If they use monero it isn't possible to see the buyer
The problem for systems/low-level programming is that you want high-performance, and manual-control of resource management. As such, automated resource management can often look like a problem, instead of a feature. I think there is a deeper disconnect here between the language designers and the programmers in the trenches.
I got mine from brew. Like 90% of my userland, really.
I dont know about OP, but here in France I pay 40€/month, and my children are covered too.
Yeah, but that strategy isn't bad in the abstract. There just needs to be one good reason to keep going as we are.

I met a person from a town in Russia where the record low is a hair higher than -50 degrees Celsius and the annual mean is -1 degree Celsius. The town is habitable. The worst case for the pro-climate change in terms of getting to say "I told you so" is that the climate crowd turn out to be right about literally every prediction, and we still ignore them and continue our merry way. We know humans are remarkably adaptable, and the climate trying to kill us every so often isn't new to us as a species. War is a substantially worse threat.

The chart is concerning, but it still doesn't break my top 3 worries right now (#1 being nuclear war, #2 being lack of cheap energy and #3 being a resurgence of authoritarianism from poor economic policy in places like the US [0]). The indicators are still pretty good that our ability to just barrel through climate-related problems is good enough. If there is an honest-to-goodness problem with climate change that we can't deal with people need to talk about it more.

[0] 5 minutes of thought later, I'd swap in overpopulation in somewhere there and bump out authoritarianism to #4
Complain about "bad faith efforts" and finish with a bad faith argument, beautiful

idk where you get your sources but if all you see is activists asking to ban cars and advocate for carbon credits you really haven't look hard enough (or at all)
I agree. I wish there was a common way to toggle keyboard navigation hints in GUIs. Like F1 is often help, F2 rename etc.
Chinese network behind one of 'largest online scams'
Nope. There are at least two of us out there.
People protect what they love.

And unfortunately we as a society are taught to love money, not the environment. We should be able to do better
Euporie is the most complex TUI application I have built:

https://github.com/joouha/euporie

It consists of a TUI editor (and interactive REPL) for Jupyter notebooks, and supports displaying rich output in the terminal (images, LaTeX, HTML, interactive widgets, etc.).
Already seeing major flaws in the paper.

The benchmarking done in the table 1 is extremely questionable. Their table basically contradicts the results from multiple peer reviewed papers, especially for RNNs which report results much closer to baseline transformers (and conducted much larger experiments btw).

Page 40 they mention that all models are trained with the same lr for comparability.

> Contradicts their own scaling laws table which uses different lr for different models

> And no it is not a fair comparison to use the same lr to test all these different models. Benchmarking results just looks like they are using tuned hyperparameters for their model which happens to not work for other models.
Well, for the size of our country, I think we are doing well, we have Novo Nordisk, Maersk, Carlsberg, Lego and maybe others. We are above the US when it comes to Nobel prizes per capita, higher than the US when it comes to happyness.
How much can they actually spend after paying all the essential and quality of life wages?
Yeah, but protestors are frequently arrested and charged with completely made up charges. It is just a tactic how to discouraged protests. The cops doing arrests know about it, prosecutors know about it, defense layers knows about it and protesters know about it.

It has nothing to do with deterring crimes or crime rates, it is just politics.
While I prefer to use a keyboard, it is not true that keyboard are universally faster. Even text navigation can be significantly faster with a mouse if done right, especially if you start to go into button chords.

What works best is heavily task dependent, and also needs to account for cognitive load and training requirements. Stations with few primary tasks taking limited input (e.g., product lookup forms and customer purchase forms) lend themselves heavily to a keyboard driven UI, but many others either do not. In that area, it ends up just being a strong personal preference guiding what seems best.
I think about time complexity and DSA all the time when programming. My personal view is that the people who claim it is unnecessary don't understand it and probably would be better off if they did.

I've seen lots of code that would be better if the author knew some basics. For example a report that took over half an hour to generate, I made a one-line change and cut the time to a few minutes - pretty sure I could have made it practically instant if I had taken the time to go through all of it.

And it's not like I'm some genius, I just understand the stuff I've been taught. Pretty sure most of my peers are supposed to have learned the same stuff, I think they just didn't really understand it.
Executives are still just a function of their masters above them, i.e., chief executives, investors, pension funds, governments, lobbyists/donors, bond holders/bankers (in that order). Executives are just functionaries, the literal managerial class or minor nobility as we know it by from the past.

Those behaviors you describe have clearly shifted somewhat in the last years for very specific reasons that the system has determined that, e.g., “DEI” is more profitable and also cedes more power and control to the top, so they’ve been working hard to put in place the more profitable and beneficial structure, and the minor nobility we call executives, have been quick to implement the King’s wishes, as they’ve come down from the Dukes and the Earls, among slick presentations and videos with upbeat audio from professional propagandists called PR firms.
The cable pairs within an ethernet cable have different twist rates, to reduce crosstalk.
https://en.wikipedia.org/wiki/Fuel_oil#Health_impacts

> Because of the low quality of bunker fuel, when burnt it is especially harmful to the health of humans, causing serious illnesses and deaths. Prior to the IMO's 2020 sulfur cap, shipping industry air pollution was estimated to cause around 400,000 premature deaths each year, from lung cancer and cardiovascular disease, as well as 14 million childhood asthma cases each year.[4]

> Even after the introduction of cleaner fuel rules in 2020, shipping air pollution is still estimated to account for around 250,000 deaths each year, and around 6.4 million childhood asthma cases each year.

Nor would sulfur help with ocean acidification.

"Reducing carbon dioxide emissions (i.e., climate change mitigation measures) is the only solution that addresses the root cause of ocean acidification. Mitigation measures which achieve carbon dioxide removal from the atmosphere would help to reverse ocean acidification." https://en.wikipedia.org/wiki/Ocean_acidification
> Also the Chinese economy is falling apart

Why is it supposed to fall apart exactly?
It's just delaying the inevitable. Après moi, le déluge
the more the deviate from the BSD core the worse it gets.
How should the data structure look like if I want to store it on disk instead of memory? How can I read only a portion of let's say a 10gig index file stored on disk when a query comes in?
Also what is the benefit of having those things, if your citizens generelly do not gain anything from it, eg with regard to life expentacy, happyness and wealth?
People care, governments don't: see the whole recycling plastic thing where the responsibility is all put on the consumer with the 100 different bins we have to use now, and yet when it actually ends up somewhere it all goes to the same landfill anyway because governments haven't created any real plastic recycling facilities, thus we do all this busy work for no reason at all, except to lie to ourselves that it somehow helps. And many people believe that it does, so ... yay, I guess?
I can't find the sources anymore but where I live, PT was never free, but there was no physical restriction to access it.

So by not paying your ticket/subscription, you only had to hope for not seeing controllers who could fine you.

A few years ago, they said that too many people were not actually paying for usage, so they decided to put physical restrictions (fare gates?).

Journalists decided to investigate and they did the math.
Basically they came up with something like : once you take everything into account (building and maintaining physical machines for buying fares and controlling access, managing everything around billing, enforcing fares with human controllers...), on every euro spent by a user, more than 60% went to the costs related to the fare system itself. Less than 40% was actual money that the company could use to improve the UX.

And obviously, the overall UX decreased because they also raised the fares.
So we're paying more, there's still lots of bad people in the stations/subway, but now we have to go through a metal gate to prove that we have paid the fare and do the same to exit PT.
Which, obviously, creates virtual congestion at peak hours, because the human flow is slowed and the width to pass is much narrower than it used to be.

Meanwhile, in another city, they went the other way : free PT.
I have yet to hear of some regular users seeing it as the decrease in UX.
I've had people apologize to me for trying to make me do one. The interviewer was smart enough to realize that I was the senior in the room. I would have gotten that job but I declined it for another, more interesting one.

The mistake many companies make with attempting to hire senior developers is losing out on the opportunity to hire the good ones by assuming the candidate will fall on their knees to get the job and do the silly test and be subjected to some prolonged process. The better ones will simply not do that and lose interest the second you say "coding interview". They are only on the market for limited amount of time and all your competitors will be eager to hire them.

Hiring senior developers is mostly a sales job. You need to do your homework (i.e. read the CV, look at the Github) and really sell the notion how amazing it would be for the candidate to work for you and what a great fit they are. I speak from experience; having hired and built a few teams. If there's a lot of doubt after you did your homework, the interview needs to be about building a case that the candidate still has some redeeming features. If there isn't the interview needs to be about quickly confirming key points and then moving onto sales. If after all that you still doubt the person can code, then don't hire them.
Seems like common sense now.
Printed a page. It worked :)
Yes if I read the article right, every object is being allocated on the heap. That is a no-go for systems programming as far as I'm concerned.
I would wager 99.99% of bitrot is silent corruption that goes unnoticed until it affects something particularly important. Without integrity and error correction in all paths along a processor, storage hierarchy, and network paths and at rest, there's no way to prove a system will ever remain reliable.
John Mearsheimer remarked recently that he was glad he was born and lived in the post WW2 era.

What's your point?
Hmm. So what if I need Markdown files to be always available for local editing by other apps?
Pick: A living fossil of computer history (2015)
I doubt the consumer mass that actually matters to manufacturer's earnings understands RAM value and if the computer they are buying is RAM-upgradable or not.

They are going to buy the 800$, any of the two, complain when it inevitably "works slower" in a couple of years (if they are lucky), and buy a new 800$ once again then. I don't see the manufacturer's motivation to offer upgradable RAM.
It's even worse than simply not protecting - Capitalism provides an incentive for businesses to plunder natural resources as fast as possible.
Good point, I just picked the simplest example. In fact I use Proton for my personal email and wouldn't dream of it if I didn't think your crypto was up to scratch.