skysight-inc/HackerNews huggingface dataset:
> Everywhere you go, you can find these user- and tinkerer-hostile decisions. Linux isn't much better than Windows for the semi-casual tinkerer either - at least on Windows you don't get told to just fork the project and implement it yourself.

The obvious difference being that in Windows you can't even do that or (easily) apply a patch. Isn't this very ability to patch (or create a fork of) the kernel the opposite of being tinkerer-hostile?
You can say that for everything, after all if it's turing complete you can do anything.

But practically, the difference is intention, which drives design and ecosystem.

E.g: starlark is very oriented toward idempotence and limiting side effects to get reproducible config data. By default they discourage reading files: https://github.com/bazelbuild/bazel/issues/13300

But rhai is not particularly oriented toward config, and the doc promotes an extension to read files: https://rhai.rs/book/lib/rhai-fs.html

The tutorials, stdlib, language design anf tooling will all reflect this.

You probably don't want to use starlark to automate much action, but it will be well suited to describe states.
> Chinese government demands a lot from US companies. Google left for a reason.

Yeah, and that reason was incompetence, it's not for lack of trying.
Amigas used blue and Atari GEM, alongside DR-DOS and MS-DOS Doshell used white.
There are plenty of industries where product engineering is done at a different company or place than product manufacturing.

For example, consumer electronics, industrial machines and robotics, telecom and medical devices.
I don't think those situations are comparable. There is precious little LGBTQ-rights legislation at the federal level, so there's nothing for the federal government to enforce when a shitty state-level government chooses to discriminate against LGBTQ folks. And it's not like Republicans in the federal government will let LGBTQ-rights legislation to pass.
If I were to do that (for sqlite), I'd start with main() and re-type stuff needed to run CREATE TABLE/INSERT/SELECT...
After almost a decade of TypeScript my recommendation is to not use TypeScript enums.

Enums is going to make your TypeScript code not work in a future where TypeScript code can be run with Node.js or in browser when typings are added to JavaScript[1]

Enums results in runtime code and in most cases you really want type enums. Use `type State = "Active" | "Inactive"` and so on instead. And if you really want an closed-ended object use `const State = { Active: 1, Inactive: 0 } as const`

All of the examples in the article can be achieved without enums. See https://www.typescriptlang.org/play/?#code/PTAEFEA8EMFsAcA2B...

[1] https://github.com/tc39/proposal-type-annotations
At no point has anyone ever said a cooperation is controlled by a single entity. It’s already acknowledged that a corporation behaves according to a culture.

What I’m saying is that culture isn’t its own uncontrollable entity independent of influence from the people that run the corporation. A company’s culture is dictated by the people who lead and make decisions for that corporation. A culture is driven from the top down.
However they applied it to all phones of that model, not just ones with degraded batteries
You have to earn (much) more to have the same standard of living as outside of it. Therefore you pay more income tax and the cost of living is higher anyway.
Another Albanian thing worth mentioning is an extensive list of oil wells dispersed across residential areas see [0].
Family legend has it that my father almost drowned in one [1] when he was a kid, and a relative had to pull him by his nose to save him.

[0] https://en.wikipedia.org/wiki/List_of_oil_and_gas_fields_in_...

[1] https://en.wikipedia.org/wiki/Visoka_oil_field
All carbon emissions are carbon positive.The source is irrelevant.
The result is this :https://nsidc.org/sea-ice-today
1.6 degrees above the historical average temps now, but 3 to 4 times that at the poles.
That forest fires are releasing carbon is part of the feedback loop, of global heating, which reduces the average vapor pressure, and therefore
rain, even though the total water content in the atmosphere has gone up, which, peversly, creates more intense single rain events, when conditions are right.Which will then cause grasses and shrubs to put on growth spurts, only to then dry out and
burn.
This is all one thing.Taking a single column and discussing that ,might be an engineers aproach, but this is not engineering, its a full on climate
shift and all of the variables are trending up.
I personally see TS enums as an anti-pattern.

One big reason: you can't name it interfaces.d.ts, or import as type, which has widespread implications:

Your types are now affecting your shipped bundles.

Sure that's a small bit of size - but it can actually lead to things like server side code getting shipped to the client.

Whereas if it's all .d.ts stuff you know there's no risk of chained dependencies.

I'd go so far as to say default eslint rules should disallow enums.
yeah, it's a pretty dark pattern.
This is quite rare in the UK.

I was shocked at how common it was when I started visiting the US on business, including ordering stuff on expenses and barely touching it at the restaurant.
The reason they don’t grow is much more trivial - they simply have no sign up funnels and are visibly technically complicated. Every step and choice there is arcane and ideologic.

That’s it. Both Open Source and Federated thinks that distribution gateway federation something is something a user must know and be fond of. The user not only couldn’t care less but actively refuses this complexity because they cannot trust their own uneducated decisions. They go for the nearest CorpThing that seemingly just works for everyone and decides everything for them after they tap “Next” a few times.
If that's adjusted for cost of living and inflation then isn't that hiding the actual economic changes? If GDP falls then cost of living would likely go down and vice versa.
I never claimed the US was perfect, just better. I think using it as an example is fine. No country is perfect by any metric; everything is a matter of comparison over who is better or worse on a particular thing.

> Want to market or own foreign shares?

ADRs work for that, no?

> Want to travel to Cuba? Have you gone through the crazy US border control process as a foreigner?

I agree those things are bad, but they have nothing to do with market access, which is the topic at hand.
Classic westerners mistake. Thinking economic development means adoption of western values and rationality. Ignoring the parallels with the soviet union is ignorance. Xi has publicly said the collapse of the soviet union is the biggest tragedy of the 20th century. Xi has studied the soviet union extensively and thinks the state must never relinquish any control whatsoever to avoid their fate.
The common European tragedy, if I could go back in time I would've never majored in CS. The salaries are just not worth the effort and struggle required to get there.

Much better to have partied and taken a lightweight major. Those extra 400-500 euros simply don't make up for the wasted youth reading Tannenbaum.
No way. There would be a much bigger loss of "sovrinty" than people were prepared to put up with in the EU and that's in the miraculous case that the US wanted it.
if you have LN2, you can add high spirits as well - bitter/sweet liquors are a classic in that combo.
They are almost always contractors. If you work permanent it tops out max at about £75,000-90,000.
Hello, I create my first ever website, it’s CS case opening simulator with some gamification like virtual balance, leaderboard, loadout building, achievements and much more. Also I converted it into Telegram mini app to try out their features.

Please check it out, and let me know what you thinking!
Canadian here.

It's not so much any single regulation, as it is there's so many little ones that seem reasonable on the face of it. But it's also that what makes the ruling Canadian class so is the authority to bypass those regulations.

I can give one personal example; I was able to secure some public funding application for a non profit I'm affiliated with. But the only reason I was able to do that was because my parents were university classmates of the elected official that was able to pressure the staff that was handling the paperwork to prioritize and approve our application ahead of probably the hundreds in front of us. The official's going to get a nice thank you dinner out of it, but I also had to offer some information that the official could financially benefit from for him to even consider it, and a promise of some future favors.

For better or worst that's how a lot of Canadian system works. Grant applications, personal tax work, personal and business banking, etc. Anyone can get through it eventually for anything. But if you want it done quickly and in a way probably won't get tied up in the system itself, you better know someone that owes you a favor.
Having an RSS feed is one thing, but without making sure that the feed is retrievable by RSS readers it's pointless. In the modern buttflare web this seems to be the harder part.
> A big part of the reason why these Apple Wallet systems have taken so long to appear is because Apple seems to refuse to integrate with any system that isn’t built using secure cryptography.

That's not the issue. Rather, there's an issue of what protocols existing access control systems support, what the iPhone can reasonably expose, and a need for integrating iPhone provisioning into every system, and for the last part, Apple likely hiding this behind some costly MFI certification program.

According to Ubiquiti, Apple Home Key integration strictly requires that the lock, reader and "processing unit" is a single combined device installed on the door. If your architectures splits that into two or three devices, then you'll be turned away at the door. There's numerous of these access key types, with different features and requirements.

Also, just being NFC doesn't automatically make it fit into the box of a smartphone wallet card. For example, take transit cards that use on-card balances to be able to board a bus in intermittent-connectivity areas.

Aliro is an access control standard launching this year which all major players seem on board with. This avoids the integration, certification and gatekeeping headaches.

> Broadly, yes, almost all NFC based access systems are insecure and pretty broken

To clarify, some NFC based systems just use the card ID, use ancient deprecated card types that have been broken for over two decades, or both. If the NXP NFC Reader app says your fob or card is MiFare Classic, then yeah it's in that category.

But higher security solutions also mean no card cloning, so pre-Aliro the vendor would have to go out of their way to get e.g. Apple integration and MFI certification.
Because they want to appease the new President.
This is not a new precedent. The US government has placed foreign-ownership restrictions on media companies since before the public internet was a thing. The only difference here is that it's targeted at a specific company, but I'm not really up in arms about that, even though I think they definitely could have written the law without naming ByteDance or TikTok specifically.
I'm not quite sure why he expressed himself in a way that is easily misunderstood. He probably shouldn't have used "protocol" as the word/concept he wanted to communicate.
I think what he was trying to say, is that it was a new/fresh modality of communication - a new way to communicate, by having public channels you could stream to.

The same way giving people access to email opens up new behaviour,
or access to networked computers allows new behaviour.
Or similar to how Job's iPhone drove people to a new behaviour.
Also, until they locked down their APIs in the name of control and monetization,
it had a feel of access to a new protocol.*
I am fully aware twitter is not an RPC specced protocol.
Power's always in fashion. Academics seem to love socialism, because it (in practice) centralises decision-making nationally to a group of smart people (and the academics might imagine themselves to be these insanely powerful people).

Eugenics was the same. It was a Progressive way of thinking, if I remember correctly.
> but we will be pumping carbon underground faster than we are extracting it now!

While I know about "we need to sequester carbon", I thought the assumption was more for the last 10% (which makes sense, last 10% of anything is often expensive), not >100% of current?

> And that's with the IPCC models which tend to be optimistic (we measure that every year)!

Indeed, unfortunately.

> entirely relies on oil

I don't believe "relies on" is correct: while I would agree that e.g. plastics are made from oil, that oil currently powers some of the energy generation capacity used for the manufacturing plants that make the panels, that shipping and air transport are at present almost entirely oil-based, these are not "entirely relies on oil", they are "the economy in which they emerged happens to have been built on oil".

This is importantly different, because as renewable energy ramps up, the CO2 emissions resulting from each of these steps also goes down — even for the plastic, as the carbon in the oil itself is much more valuable as plastic than as a fuel waste product.

> By any account, this means that billions of people will have to relocate, which means global wars (with entire countries moving with their entire armies).

Aye.

Lots of room for massive disasters there, even if it were not for the fact that at least one affected area already has nukes.
> Programs should precisely define what their inputs are and loudly reject all else.

…when interfacing with other programs. Humans aren't programs, which is a somewhat important distinction.
> > 150 years ago, the average person was illiterate

> Not true in the case of the US, which famously adopted a culture of universal literacy earlier than the rest of the world.

Later on the a small caviet about it being for whites only, but then goes back to ignoring it by saying

> It may or may not be relevant to your point, but at least in the US the idea that the average person was illiterate is ahistorical. They were the best read population in the world 150 years ago, and took some pride in that.

The average person had a 20% chance of being enslaved and illiterate. Of the remaining ~80% there was high rates, but there was absolutely not universal literacy when there were strict laws in place to prevent it.
> Enums is going to make your TypeScript code not work in a future where TypeScript code can be run with Node.js or in browser when typings are added to JavaScript[1]

How is that the conclusion you reach? The proposal you link says types will be treated like comments by the runtime, so it's not about adding types that will be used in the runtime (which begs the question, why even add it? But I digress), but about adding types that other tooling can use, and the runtime can ignore.

So assuming the runtime will ignore the types, why would using enums specifically break this, compared to any other TypeScript-specific syntax?
Personally I prefer light mode, but when using dark theme, for example in the IDE or terminal, I always manually set white brightness to 255 (max). For example Putty and other apps, come with default theme 192 on black and that is unreadable. Double so if someone is sharing their screen. Dark mode is already harder on the eyes and harder to focus, and making it less contrast makes it even harder to read.

PS: unless you are adhering to a system default, you better include options for everyone, not just one demographic. For example after recent redesign ArsTechnica has created a selection of different modes. And while some people like darker mode, I'm happily using "hyperlight" because it is easier to read for me.
I was at Ichiran (ramen shop) today, I liked their chopstick sleeve - you can order extra noodles with it.

https://media-cdn.tripadvisor.com/media/photo-s/0d/e7/bb/a7/...

That said, before they translated it to English for the tourists, you could order more stuff with it.

https://live.staticflickr.com/65535/49277747203_7f23e589cf_b...
Germany was quite fine until a couple of years ago, mostly thanks to very cheap Russian gas. About France I agree, they have the same problems as the Brits do, maybe because they lost access to cheap African mineral resources as a result of Francafrique [1] ending? I couldn't tell, to be honest.

But at the end of the day the point remains that if you want to have a world-beating economy you need to have access to relatively cheap inputs (which includes energy), in large enough amounts, otherwise your economy will just not make it. The Americans have that (people forget how much of an economic boom gas fracking brought with it), the Chinese have that (thanks to its very large population and access to natural resources that is reasonable enough, they're no 1930s Japan), India has that (thanks to its very large and young population), even Russia has that (thanks to its natural resources), meanwhile Europe has almost no demographic advantage and almost no natural resources left to exploit. "Innovation" (which is also lacking) and financialization alone can get you only so far.

[1] https://en.wikipedia.org/wiki/Fran%C3%A7afrique
Hofstadter's law.

https://en.m.wikipedia.org/wiki/Hofstadter's_law
1. That require compiling to wasm, and for some use cases, you don't want a compilation step. That might even be a big part of why you are using a scripting language.

2. That requires an entire wasm runtime, which is a pretty heavy dependency
Somehow there are still a couple of Nitter instances that keep working despite the API shenanigans: https://status.d420.de/

I use that for my ex-twitter RSS feeds.
US is an outlier. You can look at self-described data for front-end engineers from the annual State of JS survey for an indication (try clicking on USA vs World): https://2024.stateofjs.com/en-US/demographics/#yearly_salary
So basically when you need to look good in benchmarks you fund an organization that does benchmarks in which you look good.

Just like toothpaste manufacturers fund dentist's associations etc.
Show HN: Discover facts about anything, powered by Qwen2-VL
Hi HN,

I built a quick app using Lovable AI and Nebius—took me about 10-15 minutes. I was just messing around with AI tools to see how well they can handle coding and honestly, I’m impressed.

Lovable is surprisingly good at handling basic CRUD operations. I didn’t have to write a single line of code for this app.

The idea behind it was to create something like Google Lens, but powered by AI—a way for users to instantly learn interesting facts about anything, anywhere. Kind of like a basic version of Duolingo for real-world learning.

Right now, it’s super simple—no auth or anything, just to keep it lightweight. But it could easily be upgraded with features like learning streaks and user profiles to make it more interactive.

Would love to hear your thoughts or ideas for improvements!
CFRS[] Community Demos: Patterns drawn with turtle graphics with 6 commands
I wonder how much money was made from blinkenlights. In the late 90s world of TV production we had fun things such as racks of SGI hardware and telecine colourist desks, typically in rooms with controlled lighting. Clients were always impressed by these obelisks of power and they knew they were getting something for their money.

Nowadays entire rooms full of kit could be ported to a Raspberry PI, no blinkenlights needed, but how do you charge a client big ticket money for that?

Easy. Just have some linux screens with lots of terminal windows running things like nmap, htop and the like.

We went from blinkenlights to The Matrix via Jurassic Park to get to this, and, nowadays, a room full of servers projects as much power as a cabinet full of HVAC equipment. Nobody is impressed.

Sometimes less was more. There were very accurate timekeeping clocks that cost tens of thousands but didn't even tell the time. The 1U unit would just have a power light, no clock. If you wanted to know the time then you would need a specialist clock that worked with the time signal that came out the back, or you would have to solder your own special MODEM lead and plug it into a laptop and TELNET in. This was not convenient if you just wanted to check if it was going home time yet.
Ask HN: What do you use ChatGPT Tasks for?
I'm curious how you guys use the new Tasks feature in ChatGPT. Essentially it's just a cron job, but nonetheless I'm looking for some creative ways to utilize it.
I think this is just a bias. I've not seen much that makes me think Americans think rich people are more virtuous, at all. Certainly not enough to create a stereotype out of, even if I thought stereotypes were a good idea.
He was acquitted on both counts, so no he wasn't impeached.

In fact, there has never[1] been an impeached President in American history.

[1]: https://en.wikipedia.org/wiki/Federal_impeachment_trial_in_t...
I don't know, I view capitalism mostly as a way to allow people who have money to make more money without providing work or value from people who do work.

I feel that intellectual property (which in my language, French, is simply translated as "author's right"), by making intellectual work ("art of the mind") a normal merchandise, allows platforms, labels, editors, etc to make money from the artists work, so is favorable to capitalism.

Note that DRM makers are the main winners from this shit, as they capture value created by the artists, and they provide no value of their own since DRM has never prevented piracy.
Sure, that would be great. But we live in a world where that kind of thing is probably inevitable.
the keyword being _phone_, not smartphone. Bambulab too will let you print from SD card without logging in their infra, they are just locking the rest of the ecosystem. 1 to 1 analogy.
The idea from the proposal is that types are used by other tools to type-check and runtimes would ignore them. It's not final yet but it's very likely that in future you can `node -e 'function foo(arg: string) {}; foo(42)'` but if your code has `enum` in it, Node.js or browser will throw an error
> These days, what are your options realistically in this country? Particularly if you want to hang around your family in the south?

In 2013 I was working as a CTO in London, managing a team of 40, and I could just about afford a run-down 2-bedroom in a just-ok part of Zone 1, assuming I wanted to make some savings too. My salary wasn't bad for the role, outside of banking. Anyway, that was pretty much the end of living in the UK for me.