skysight-inc/HackerNews huggingface dataset:
Easiest thing is to just do it with JS (https://news.ycombinator.com/item?id=39065858).

Sure it's not correct according to W3, but then again, we have about >200 errors on the page already so it will just be another drop in the bucket (https://validator.w3.org/nu/?doc=https%3A%2F%2Fnews.ycombina...).
All C lexers are greedy, i.e. they extend the current token as far as they can. So "0..9" is split as a token "0." (numeric literal) followed by token "." (operator) followed by token "9" (numeric literal).

To do what you suggest, the lexers would need a major redesign, not just a small change.
Utopia (1516)
I've been thinking about this lately and come to a conclusion that this was probably the birth of science fiction.
Unlike obsidian, it doesn't appear to have a plugin system (yet?)
Ask HN: What's the current state of European cloud storage providers?
If I want to pick a European cloud storage (similar to S3 or bunny) which would I choose?

Minimal requirements

* GDPR compliant

* high availability

* encrypted

* snapshots

* API
AI and the Human Creativity Cycle
They don't use electron but they do seem to use webviews for showing the rendered output.
This is something my central bank has forced on all banks. If I want auto pay, then my bank notifies me a day or two before, and after the mandate is executed. I also have a single place where all my auto pay mandates can be managed from
We have one as well, but since we're on a variable rate tariff(Octopus Tracker) it's completely useless - it doesn't know the current electricity/gas price, it seems to receive rate updates from the network about once every few weeks - so the numbers it displays are just wrong.

I've made my own little Raspberry Pico display that queries today's energy prices and shows those, but I have not been able to show today's energy consumption alongside(and therefore show the day's cost so far). Octopus provides an API to query the kWh used....but only for the last day. I even got their little Octopus Mini that broadcasts live usage to their app but I have not been able to query the live data from it from my raspberry, I don't have the necessary skills in web technologies to do that unfortunately :-(
Microsoft says Russian state-sponsored hackers spied on its executives
Settling doesn't imply control, it's just people moving to a place and settling on it; colonisation is the act of taking control of an area, which settling can help to achieve.

They are not synonyms.
Isn't that most supermarkets?
The consumer element is the sugar to help the masses swallow the pill. If it was just about the consumer, the unit would never report its findings back to base. But blurting back your information is integral to, well, all smart devices. That is the point.

Once the government has that info, it will be able to come up with bespoke taxes for you according to what it ordains as fair use. 'Your showers are too long', 'your toolshed is too big a draw on the electric' therefore 'you need to buy carbon credits to offset the environmental damage you are causing'.

It's the slow descent to greater tyranny, and loss of personal control. It's amazing that people put up with it, but a slight discount in the short term, or visibility of your own data, is probably enough to get most people to accept spying infrastructure in their lives forever.
Home Assistant with a connector for whatever smart meter you have will happily do this for you without the data ever leaving your home.
Why would one of you need to be mistaken? Ba'al is just an ordinary word meaning "lord" in several Semitic languages. Various Semitic gods are given the title.

It is not surprising in the slightest that many traits of the Semitic god Jesus would derive from the traits of other Semitic gods, nor is it surprising that Christians would demonize non-Christian gods.
With those requirements, you could go with, say, OVH or Hetzner. Otherwise, with respect to hyperscalers, the situation is bad.
Hm, it looks like some ppl are having more fun than the rest of us :)
It's the same in French ('de' is lowercase) though many people get that rule wrong.
That might be intractable. Some clients will rewrite/corrupt (whatever you want to call it) messages before sending. Like maybe it reflows paragraphs and ruins your inlined diff. Or it helpfully replaces tabs with spaces (the project requires tabs).

So what can you do with that? Doesn’t seem like you can do anything.

Outlook seems especially bad. [Here] is some HN hearsay about how even Microsoft had to run Linux machines in order to contribute to the Linux project.

[Here]: https://news.ycombinator.com/item?id=12621135
Are You Rich?
There's a middle ground. You keep housing the same price, slowly eroded away by inflation. Owning a home has become severely over-represented in the average person's basket of goods. Time for it, like other essentials, to become a small part of one's income.
Contradictions:

"This attack does highlight the continued risk posed to all organizations from well-resourced nation-state threat actors like Midnight Blizzard," the company said, noting that the attack was not the result of a specific vulnerability in it products or services."

Yet:

"The company said the hackers used a "password spray attack" starting in Nov. 2023 to breach a Microsoft platform. Hackers use this technique to infiltrate a company's systems by using the same compromised password against multiple related accounts."
> I guess I'm just confused that it's labeled async (and does async work) but is actually blocking when invoked (or at least doesn't return until await finishes).

From the point of view of the `async` block/function, it is blocking, but from the point of view of the thread executing that `async` block/function it is not.

> If I'm awaiting on two different results, I have to invoke them in parallel somehow, right?

No, the whole point of `async` is having concurrency (i.e. multiple tasks running and interleaving) without necessarily using parallelism for it. Take a look at the `join` macro in the `futures` crate for example, it allows you to `.await` two futures while allowing both of them to make progress (two successive `.await`s would force the first one to end before the second one can start) and without spawning dedicated threads for them.
"Smart is a division of Daimler AG, the parent corporation of Mercedes-Benz."

BMW owns the Mini brand, which is not really pushing the envelope that much. But I like what they tried with the i3.
How long would the following program run?

while (true) {}

I assume an ultrafinitist would argue that the question is ill-posed. It will always depend on the exact hardware that the program runs on (as every hardware will eventually fail). Or on us knowing when the heat death of the universe will be (which gives an upper bound).

But that means that suddenly a theory of computability must deal with physical concerns and can't even talk about an abstraction such as "program" anymore. This seems completely contrary to how even just practically minded programmers who aren't deep into infinitary maths would think about their activity.

Yes, you can make a philosophical argument for ultrafinitism - I would probably also say that arbitrarily large numbers don't "actually" exist in reality - but you just throw away so much useful abstraction that I honestly don't understand what the point is.
Yeah we were away from home recently and it was interesting to see that with everything "off" we were still using a constant 200W or so, so even with no one home we used just over 4kWh each day. 120kWh each month just for "idle" usage definitely is not trivial amount of money, at current prices that's £20!
I couldn't find a cloud storage at Hetzner - do you mean their Nextcloud offering?
Is that gif in your github in realtime? Is the speed limited due to the number of tokens per second that an LLM can produce or is this because of the pair programming aspect where you try to simulate a real interaction between 2 "agents"?
Beyond the Counter-Offensive
Arguing that we can't solve problem X by growing tech Y, because that would require support from tech Z which would also need to grow, seems like putting the conclusion first and trying to find arguments to fit.

So people get rich making battery factories. So what?
> check the URLs of literally every request (too strict, many developers would not be able to load their own sites).

This is why it's 5 or 10 domains instead of just 1. You just need to list every domain you actually use.
Thanks to Endtimes for this interesting article.

I hope that the Collapse (Tech) Subculture in general is more interested in improving compression algorithms than they are in making less legible content. (But if they think the legibility is fine then sure, do the latter.)
I remember when I rented a palace in Singapore, my landlord asked me to download an app called MyKNX to control the lights and blinds in the room. I dumped some packets, and found system is using tcp/ip and the KNX is standardized protocol.

The box is more like a PLC than “smart things”, so it doesn’t need internet to function.

It’s also supported by home-assistant. I want to get one when I’m building my own home.

Edit: added something details
I don't know why not just include it in submission title... Spoiler: consequences of permafrost thawing.
Everything we've learned about hiring for startups – 10 lessons from posthog
Scientific discovery in the age of artificial intelligence (2023)
Novelist Wins Award, Then Reveals She Used ChatGPT
I currently use zim-wiki for structured notes. It's also plain text/folder based. It doesn't use markdown though.

I'm glad to see this is offline local first. I like that it can be made portable too. It seems more complicated than zim-wiki (but that might just be my knowledge of zim).

I'll be taking a look. Hopefully when the pro version comes they don't restrict useful functionality.
Where Google Flights falls flat is when you want to search to/from multiple airports not on the same city. Especially here in the UK, I’m happy flying from basically any airport in the country, as I’d much rather drive/get a train for a bit longer than have to take a connecting flight. For this I use Momondo: https://www.momondo.co.uk/
Dunno really. It is my theory. I got a 10 miles comute one way. So 50 miles range would be more than enough for me with some spare for detours and winter inefficiency.

But as you say we would probably need a gas car too, but the EV might be affordable if it is cheaper.

A small battery is cheaper to replace as it ages too.
Coincidentally I set this up last night under UTM (https://docs.getutm.app/advanced/rosetta/) and it worked astonishingly well. Outside of Rosetta, the native virt seemed a bit slower than whatever UTM does normally, but perfectly usable on my M1 MBP.
Yeah I don't understand why he is shocked that this communicates wirelessly. He even bought a modern flat with Ethernet because he clearly knows how much pain it is to add wiring to a house. Very weird.
Pivot! PIVOT!!!
https://youtu.be/njgfomF51fg
Maybe it’s the technical writer’s way of saying “we ping an NTP server so don't worry” https://news.ycombinator.com/item?id=39065780

(Clearly that didn't pan out so well)
4TB Ext SSD MacBook Pro M2 Comparison (2023)
The company will be making record profits next year. There maybe consequences but nothing consequential in the grand scheme of things.
> early qemu

By early qemu, meaning qemu prior to KVM and KQEMU (ie between 2003 and 2007), which only did full CPU emulation.

> Workstation predates ESX by a few years and the 1.x versions of Workstation really didn't run well _at all_

It improved quickly. By 3.0 (early 2002) I was using an Windows 2000 desktop with Visual Studio on a Linux host as a daily driver workstation. That was still on pre VT-x x86.
I then used this on a Pentium M (no VT-x) Thinkpad for years.

> I know this isn't the common way to refer to a VM but I'd argue that an emulated hardware adapter is still a virtual machine ...

The thing is overall I agree with you, I think. I agree that these terms have been used in different ways over the years to discuss overlapping concepts. Maybe the only thing is I was pushing back on a notion of "one true" ontology, but maybe that was not really your point.
I also thought you were implying that system virtual machines for targets without hardware assistance (your other comment seems to suggest this) require full CPU emulation, but perhaps that was not your intent.
Ask HN: What is the future of businesses that operate to make a profit?
I just had a look at stocks for a bunch of SaaS companies in USA. None of them had ever shown a profit, or at least not in the last 5 years.

Coming from a school of thought that prescribes, "Profit is the lifeblood of an organisation", "Sales is vanity, Profit is sanity" I wonder to myself what will happen to those that think and try to practice so as bean counters seep into every industry and people borrow or raise money for perpetual growth and never show a profit. No doubt this will have an effect on the rest of us as we will be unable to compete with the growth machines who are by the way not loyal to anyone except their growth.

I wonder what the end of this will be. Will everyone who has to make a living either have to choose to provide a service or take up full-time employment with organisations that it's impossible to agree with?

I run a small profitable software business, have an X membership and am quite engaged consumer myself but within limits. Not gonna lie some of what I see really scares me.
you're like Mr white from that TV show
Per device energy tallies also give you interesting data.

Home Assistant can do that in the Energy dashboard, and you can answer questions/learn surprising things, like how much energy my "rack" (UPS+mac mini+5 disk bay+a few other things) actually uses vs e.g my fridge or my washing machine, or my desk compute actually is quite low but boy does the screen costs a lot when active, or what does charging the electric bike costs, or what's the effect of setting thermostat to 19 instead of 20 in winter, or oh wow in summer this fan that we use a lot to make things bearable actually ends up using as much energy as our water heater!

(power measurements are done using Shelly Plug Plus S + 3EM + 4PM devices, thermal measurements using Shelly H&T Plus)
While TRUE do nothing

seems more of an abstract philosophical question than one of a pragmatic engineering nature.

The hardware will continue to do nothing even as it corrodes and blows away on the last winds of any remaining heat gradient.
You'll get to enjoy a really dystopian vehicle out if Mad Max once bird poo and tree sap do their job.

https://www.reddit.com/r/teslamotors/comments/ukio9d/cybertr...
If you ever happen to study computer science, you may come across a subject called "coding theory". It introduces you to compression as well as many other topics such as error correction (Reed-Solomon, used in RAID5, RAID6 and ECC-RAM), line coding (sometimes you need to flip bits to keep the clock on both sides in sync, no clock-signal for a long time may cause clock loss) and a lot of wonderful but weird stuff.

Let us go into detail on compression:
There is a representation. US-ASCII uses 8 bits per latin letter, UTF-32 uses 4 bits per latin letter. It is just a temporal representation to the machine -- usually in memory only, it does have the same amount of information, you can save it more efficiently to disk. You would not want to save either format to disk, it is a waste of space.

Information content (I hope my translation is correct, scan Wikipedia for details) cannot be compressed. But it can be calculated. The more seldom a letter, the more information its occurence carries. As soon as each letter is not equally frequent (compare space and "q") the information density drops.
Calculation is quite simple: Count the occurence of each letter, count the caracters used (if there is no "q" in the text, you got to save one letter and its encoding) and apply some math

https://en.wikipedia.org/wiki/Entropy_(information_theory)

For some easy examples, think of morse code and Huffman coding -- not every letter needs to be encoded using the same amount of bits.

> How much data can lowercase save? #

Nothing. Either there is (almost) no information to it in the first place, in that case compression will take care of it for you. There could only be information to it if uppercase letters were equally likely as lowercase letters

> How much data can lowercase save? #

Why do you even stop at letters? You could build a dictionary of words and compress references to it. The compression efficiancy would only depend on the amount of words, regardless of case and regardless of character set. That is why entropy depends on "symbols" instead of "letters"
Ask HN: Attention is the reason why every search engine suck now?
Google and Microsoft put more ML into their search engine but extended the level of incompetent.

I guess the reason is that attention which leveraged by LLM, by design is to ignore stuff. So if you incorporate that into a search engine, it ignore everything keyword you input and return bullshit.
I actually tried to click it before seeing this thread to find out who died...
Mozilla should have pushed for the removal of these anticompetitive platform restrictions sooner and more vigorously. But with Apple, Google, and Microsoft all under the antitrust spotlight right now, it's as good of a time as ever for Mozilla to highlight how these companies are using their platforms to hurt Firefox adoption.
The evolution of C64 games 1982–2023
I don't understand your point - these meters only report your overal usage, not what is using the energy/water. It's letting you skip the step where you manually upload the reads every couple months or whatever, or worse, where the energy company employee has to visit your house to read them in person. Why does it matter if I upload my meter reads to my provider every month or if the device reports it automatically? The end result is the same.

(At least that's how it works in the UK - the "smart" meters don't report live usage back to providers, they just submit kWh reads, the live readout is local device only)
shameless plug: I maintain a small library to do functional pipes.
You can write:

(
range(10)
| Map(lambda x: x * 10)
| Filter(lambda x: x % 2 == 0)
| Reduce(lambda a, b: a + b)
)

and more. https://tandav.github.io/pipe21/

most operators are basically oneliners: https://github.com/tandav/pipe21/blob/master/pipe21.py#L17

I also maintain a list of libraries which uses pipeline/chain syntax: https://tandav.github.io/pipe21/similar-tools/
Please, please write a blog to document the build of your next palace.
My mom had a resistive touchscreen phone years before the iphone. Icons on the home screen and everything. I think it was Samsung, not sure though.
It was a legacy test system connected to a production system so it doesn't count. Obviously. /s
While not taking a stance on the actual subject matter, a big question is also whether anyone expected that WWI-style attrition warfare would still be fought in Europe in the 2020s.
There is also an enormous amount of flexibility gained when, instead if designing and building your own single-purpose device, you just use a cheap, mass produced, off the shelf, general purpose device.
As evidenced by the article, the problem is that some of these devices within less than 10 years can become essentially bricks.

I think these devices must be required to send the data to the utility company and the utility company must be forced to make the data easily accessible in a standard format so that independent analysis is trivially possible.

This way you don't have a situation where a device manufacturer goes out of business and the capability to monitor is lost.
>The fact they’re commemorated in the Wiltshire chalk makes it even more Pratchettian.

To explain, Pratchett lived in Broad Chalke, only a few miles from Fovant. As somebody curious about many things, and living so close to them, I think it's likely that he saw the Fovant Badges.
We did get that right at least!
Alright, let's use

while (true) {
val request = read(socket)
handleRequest(request)
}

instead.
takes step over the border and opens laptop
The UK still gets more tech investment than France and Germany combined, and I wouldn't surprise me if London got more than either of them. Like, Brexit was stupid and harmful but London still dominated European tech.
Great website...now we just need tech new reporters to be aware of it.
It's also super cramped.
From employee perspective it was my impression that EE developers tend to get lower salaries than web developers.

But it could be the case that building an android or web app for a simple UI would take less dev-months than an embedded app with similar functionality.
Thanks for your feedback. I confirm Django is very stable but we're trying to constantly improve it too.
See for example the Release Notes
https://docs.djangoproject.com/en/stable/releases/
Slides:

https://fsharpforfunandprofit.com/pipeline/

Code:

https://github.com/swlaschin/pipeline_oriented_programming_t...
For any complicated calculation, you need to store and propagate multiple intermediate results.

This is what goes wrong.

error(x + y) > error(x) + error(y)
Edit: apparently they added it back! Now the play store shows the full permission list (and not that horrible simplified version). I missed the change.

(Original incorrect post below)

Not only that, but on the play store that permission isn't mention at all. Is like "all apps will use it so why bother" but some of us create apps without it, and we cannot probe it.
ok, that's my new excuse for why i am writing in all lowercase ;-)
"Big names like John Grisham and George RR Martin have sued OpenAI for ingesting their writing to train ChatGPT without permission or compensation."

These were new to me.
I think not everyone understands why it's very important that the term mean more than "I put something in GitHub".

Especially when that something is promoting the opposite of open source. (That's "open sores", which is different.)
Young Japanese with professional jobs are different from young Japanese living in the countryside. The former is the lifelong job stability (job hopping is far less common in the Japanese corporate environment compared to the West), and the latter is oftentimes (but not always) a job in a cottage industry, e.g. running a centuries long family business that makes combs or grows green tea. Wages are overall lower in Japan, but that somewhat levels off with food and housing being lower as well.

Yes, young families in Sydney are procreating, and quite successfully so. Two children are nearly a norm, three children is also common, and even four children is not that uncommon. Preschool enrollments are at an all time high.
Looks so good, wish for a > 1gbit version, since HDDs alone can saturate that
> But in some ways it isn’t. Like any fool (like me) can just get some Emacs configuration for free from others.

To be clear though: there are programs and tools beyond the git(1) tools themselves that help you with email workflows. Like b4 which is for the Linux workflow.

https://github.com/mricon/b4
Reflexively? That song is almost 20 years old! (oh god now I feel old too)
... for how long?
Where can I read more about JPEG XL subsumming of raw? As far as I understand, you cannot specify differen colorspace for different subsets of pixels?
Companies that prioritise profit vs growth are those who achieved limits of growth and can't grow anymore - they also have the greatest market power so can extract lots of profit. They are called "blue chips". Think Microsoft. Others tend to either grow to get there, or to get acquired by one of them, or to eventually go bust.
the "smart" meters don't report live usage back to providers

Either they can be easily upgraded to do that, or they already are and the energy company merely gives you the total every month to maintain the impression that they aren't.

If the meter-reader needs to visit periodically, you know with much greater certainty that they aren't gathering live data.