skysight-inc/HackerNews huggingface dataset:
I think the measure here is "information density on a physical surface". For example, someone commented on a 4x3 font for English: https://news.ycombinator.com/item?id=30046035. This allows you to put way more information on a pixel surface, but at the cost (at least to my eyes) of time spent reading, as this font is harder (at least to me) to read. Which I would compare to more efficient compression algorithm, that take more time to encode/decode.

This could be used when storing information on a physical media, like a book or a microfilm.
how many people have died because they could not access it.

It's only in the last hundred years that one's health couldn't be
discussed in a transactional quid pro quo. Both humankind (300,000
years) and evolving life (3.5B years) never held that stipulation.
If I understand the scenario correctly, you're pushing items onto the end of the queue and consuming items from the beginning. You don't really need two arrays in that case. A single array can be efficiently extended at one end and shrunk from the other end. (Admittedly, the way slices work in Go makes it awfully easy to leak memory if you do that in a naive way. But that's a separate issue from generics.)

Edit: I forgot to mention that channels are also a good fit for this sort of use case in Go.
It's not just the absence of an a academy resisting linguistic change, it's that the people who brought English to North America were English, so the dialects that have evolved in North America have been evolving from Old English just as long as the dialects in England. And moreover, languages don't change at a uniform rate. Until recently the center of linguistic change in the anglosphere was London, so British English, and particularly London English, was more innovative than North American dialects. I expect things have gotten more complicated since there are populous power centers outside of London now.
Definitely, I eat a single meal at night, and I don't get hungry until about an hour before super. No hunger pangs or anything, it only takes a few weeks to condition the body.
Did you just assume my acceleration?
You should ask user battery management system hacker jacquesm about that because I'm just starting to learn

https://news.ycombinator.com/item?id=29201673
> not in a positive way

Presumably it's positive for the people collecting the fees, so that's OK then.
OLAP stores are relatively fast at answering a single query on a large data set, but basically none of them can handle high throughput with subsecond response times (e.g. when the whole country checks statistics for their own postcode at 4pm).

OLTP stores are relatively bad at aggregating across a lot of data.

Analytics dashboards with many users, a lot of ever-changing data, and many different views exist in a gray area between OLAP and OLTP often referred to as real-time analytics or operational analytics. The queries are usually somewhat lighter / less ad-hoc / more indexed than in OLAP, but there can be hundreds or thousands of them per second with different filters and aggregations.

There are some specialized real-time analytics databases like Druid. Citus (used in the article) allows you to run such workloads at scale on PostgreSQL.
Maybe “it’s not fair to have subordinates earn more” was the justification given to you, but businesses rarely make decisions based on what’s fair. Engineers are valuable, but individual engineers are largely replaceable. Being able to coordinate a large group successfully also has a lot of value.
a normal D6 and a D10 with 1-5 twice. If total is 7, use the D6 plus 6 instead.
The roll table for that is exactly that of 2 D6 with the 7s removed. The 7s shift to the last column.

1 2 3 4 5 <- D10
1 2 3 4 5 6
2 3 4 5 6 > 8
3 4 5 6 > 8 9
4 5 6 > 8 9 10
5 6 > 8 9 10 11
6 > 8 9 10 11 12
Yes, exactly.

I can see why people say that Go already had a sort of built-in generics feature. However, I think the same could be said about any language that allows you to define arrays with different element types (e.g. C). In common parlance, a language has generics iff it permits you to explicitly abstract over types.

I wish it had occurred to me earlier that C vs. C++ is a good test case here. If generics really led to huge performance improvements in typical application-level code, we'd expect C++ programs to run much faster than C programs. Typically, they don't. Of course there are exceptions, such as code that benefits from libraries like uBLAS.

(I'm aware that you can fake generics in C using macros, but there are also comparable code generation tools for Go.)
To correct some information, the 25k-35k euros was the estimated price even inflated for the success of the film. The book is rare, but not unique.

You don't pay 100x est to own a physical copy of a non-unique book, a scan of which is available in full online, for 100x without thinking there is some additional benefit to winning.

Even if you remove the 'they thought it would give them IP rights' stupidity defense you're left with blowing 100x estimated value of other people's money stupidity situation, which is just as bad.

You're just swapping one stupidity that should discredit them from running any kind of DAO for another that should do the same.
As someone who runs a small company that self hosts as well as maintains our own hardware, it's great when things are running smoothly (>95% of the time), but when there's a problem, it's a complete time sink.

On one hand, it's much cheaper, it's fun, makes integration work much easier, and I've learned a lot with each deep dive...

...but on the other hand, it can be more stressful, causes more downtime, and it a distraction to the mission of the company.
I wonder what kind of chemicals he uses to do all the etching and cleaning of silicon surfaces.

Whatever it is, it must require careful handling. And that in his parents’ garage.
This is surprisingly hard for some people (including myself) to do.

I make my work high quality, and I want to spend the time I have using things that are well designed and well thought out. In some small way I hope that seeing those things will inspire me to keep my quality up. It’s extra work, but I think that allowing things in one area of my life to be “kinda shitty” will creep into other areas of my life.

How I’ve dealt with this is just doing less. I live in a smaller, more maintainable house. I drive nice, but not luxury, cars that I can afford to keep maintained (both in the sense of time and money), and while I have hobbies (wife says too many), I go for nice gear that is a good value and easily maintainable, that I can resell if I need to.

That’s not to say the most expensive is the best, but I find Kinda shitty comes with the cost of our initial research, purchase, downtime after it breaks or just a less safe/enjoyable experience, trying to get out of the first thing by selling it with a low resale value, then re-purchasing a nicer thing.

I guess my metric is: if I can’t afford to pay for it in cash and don’t have the time or money to maintain it, I probably shouldn’t be buying it - or I should be getting rid of something if I do.
Not as much tech detail, but for an alternative source, here’s an intro by the team dashboard lead - https://ukhsa.blog.gov.uk/2022/01/20/reporting-the-vital-sta...

Also - I’ve been really impressed by the openness of the team actually doing the work - eg threads like https://twitter.com/pouriaaa/status/1476892793729654787

and in particular this analysis of debugging a problem that the dashboard encountered - which also gives a lot more background context: https://dev.to/xenatisch/cascade-of-doom-jit-and-how-a-postg...
> This is an oversimplification. Building lower you get lower population density, and need to spend way more co2 on transportation and infrastructure.

There are diminishing returns with density and (transportation) energy use:

* https://www.grida.no/resources/5414

* https://transportgeography.org/contents/chapter4/environment...

IMHO getting to 50-75 inhabitants per hectare, which gives <15GJ/person/year (where most EU cities are at), is a good place to aim for. Once you're at 100ppl/ha then there's not much improvement going to 125, 200, or more.
State of the Dora DevOps Metrics in 2022
so the guy never rode line9 and is writing this article... hmm-teresting...

And the article mentions "it's not economically feasible to add more cabinets due to the extra construction work required..."

...but the line9 stations are actually built to accommodate 8 cabinets (instead of current 6), and there are even screen-doors ready for those cabinets...
Ask HN: What are less known resources to read about or train critical-thinking?
Heyo folks,

In the world of confusion, information wars and times when BS radards can be easily manipulated with the new modern warfare of creating stories and narratives about pretty much anything these days...

What are the best links / resources on critical thinking and perhaps what is really missing?

A few rules:
- List of cognitive biases doesn't count - high chance of failure, low applicability
- No vague resources like "7 ways to think better" that are not saying much please
- Something that perhaps has been overlooked and less known
> First, when you see public officials doing a blog post on "Microsoft.com" website instead of on a public website, you know that something fishy is going on...

Maybe, I'm naive, or not cynical enough, but I just read this as a case study of customer using Azure to provide the general public with information in a robust fashion.

In fact, if anything, the whole article is remarkably light on pushing Azure, and quite heavy on architecture details.

The open source code (on Github) uses Postgres (not MSSQL), and Python (not C# or Powershell), and in fact has a screen shot of Jetbrain's Pycharm, and not VSCode.

In fact it's probably quite an MS agnostic article.

Even though gov.uk is actually a really good IT company, I'm quite pleased that they're using "the cloud" rather than trying to create their own.
I would need way more context to grasp any of this...
What a sensational title about a 14% correlation on a proxy variable! I wish I could sometimes turn into a journalist and sell my model with 30% MAPE (mean absolute percentage error) to management like this.

This is why popular medical press should not be read at all, because it announces another cure of cancer or of aids every day, yet those are just preliminary in-silico researches (simulation of chemical reaction), 90% of which fail at in-vitro stage, another 9% at in-vivo.
Dockerize a SvelteKit App Using PNPM
I'm not going to stop giving advice because someone doesn't like it.
Images are not send to server, all processing is on client side. Server is required to download the webpage/wasm, but not to process files.

In future planning to make the app available offline using service worker. So first time internet would be required, next time onwards without internet also it will work.
Good read about how learning in general and learning to become a more experienced programmer especially is related to various types of “cognitive load”, a hypothetical model in learning psychology.

I'm in the camp of writing code in a way that requires a higher „germane cognitive load“ in juniors for the benefit of writing less but more robust, extendible and fast/easy to read code for seniors. I acknowledge that this method only works best for programmers with a longer background in practicing our craft. That is why junior engineers who work with me are given more time to learn the levels of abstractions that our systems are made up. This extra time allows to build up mental models around the abstractions — which increases the junior’s germane load and thus slows their speed for shipping code modifications. Maybe in the future, we will see distinct micro services in our systems which evolve together with involved engineers: services written and maintained by junior programmers will better support intrinsic cognitive load and avoid too much germane load, and as the service’s responsible programmers will grow so will the seniority and thus the level of abstractions of a service grow to eventually reduce lines of code written while increasing robustness and extensibility of the code. As such a transition requires a higher germane cognitive load — using the terminology from that article — juniors will need to be assigned new system services which can reflect their current capabilities: significant more but easy to read code due to less abstractions.

The article ends with a well balanced summary catering for all levels of programming seniorities, read: inclusion.

> Producing maintainable software depends on readable code, and readable code depends on controlling cognitive load. Successful abstractions minimise cognitive load - particularly, they avoid extrinsic load, and provide a smooth transition from germane to intrinsic load. Creating ever higher layers of abstraction just to reduce the number of keystrokes we need to make may not always be the right thing to do. Instead, by recognising that code reading is essentially a learning process, and considering how each line of code we write will be processed in the mind of the reader, we increase our chances of creating understandable, maintainable software.
> So instead we invent a system of trigger events that are not tied the natural world

Not quite, all measurement is tied to the natural world, we've just been moving away from less stable and predictible events to more deterministic.

Yes we have made up units of measurements that maybe arbitrary, but still tied to the physical world and dependent on natural properties.

Nevertheless, it felt like the article was trying to prove there is something inherently evil with clocks that has been under our radar for ages, which is silly. And even if that was true (clocks being strictly tied to constructs of power)... this still doesn't mean that "clocks produce time". Maybe the title is just wrong?
Interesting thing: it's hard to take a step into Personal Knowledge Management / note-taking / learning systems, and not discover the unreasonable effectiveness of Spaced Repetition Systems.

However, these ideas were not even hinted at while I was at school, time and space particularly dedicated to learning, and supposedly, learning how to learn.
Well, you can just grab the data very easily: https://coronavirus.data.gov.uk/details/download
Why default to deontology then? If this framing doesn't escape moral conflicts then it's no better than utilitarianism!
The rest of Seoul's transportation infrastructure is so well managed and universally liked that the problems with Line 9, taken in that context, make it look hysterically bad. I have to say that the labour issues sound awful, but as someone from the UK, the profiteering and overcrowding issues sound quaint and almost laughable. There's no doubt that this ownership structure was setup as a grift for juicing citizens. But from the perspective of a user, I would describe line9 as "more overcrowded at rush hour than the other lines" but on the flipside, the rolling stock and stations are newer and nicer...

The proposed price hikes were a scandal at the time and public outrage was tangible. But the relevant context here is that the Mayor of Seoul is second only to the president, and usually it is someone with aspirations to run for president. There's things a Seoul Mayor a cannot do if he likes votes, and one of those is piss off everyone who uses the metro (which is everyone).

I think with privatisation, it just depends on the specifics. If the system can be privatised without bilking the ridership, compromising safety, or abusing the employees then, by all means, have at it. But if you're writing from the US, or the UK, especially if you work within the transportation system, it's understandable that you would get ranty when you consider how badly privatisation has fucked things up there.
Ah, you pipped me to it.
Julia in tandem with Nim
This looks like a nice alternative to https://squoosh.app/. I particularly like the "resize image to a particular size" (https://www.webutils.app/compress-image-to/50kb) feature, that's very useful.

Sadly, because of the nature of the web, one can never be sure that the image actually stays within the browser. There's no way to prevent it from secretly sending everything you convert with this to some shady website because it runs in the browser. I trust the people behind this just fine, but sadly the promise of offline-level privacy and running code inside the browser just don't go well together.
An inserted translation of the literal meaning might have been allowed, since the rules also say (ISTR) that this is an English-language website.

Colloquialise that from the formal exact "Til we meet again" to be a bit more informal (because that can still be read as "...in Heaven"), and you'd get something like

"Do svidaniya (=See you later), Igor, and thank you for Nginx"

...which probably would have been much less likely to make half the readers start to tink he'd died.
Here https://www.reddit.com/r/food/comments/3w8bb2/magnus_nilsson..., you're welcome.
well done! i really wish more tasks can be done in browser.

did you compile some c++ library into wasm or js is enough to do the job?
> (after all, the arrow of time seems to be very much part of nature)

Rovelli has much to say about the Second Law and entropy:

* https://www.youtube.com/watch?v=-6rWqJhDv7M

* https://en.wikipedia.org/wiki/The_Order_of_Time_(book)
For those of you who don't drink, how do you fill your Friday and Saturday nights?

> programming, reading
No, it was that the government accurately estimated ridership, then unrealistically lowered that estimate later. The government was incentivized to lower this estimate because it lowered the amount of revenue that had to be guaranteed, and the builders were happy to use those estimates to cut costs and lower capacity. The case for privatization is partially built on avoiding state liability and accused inefficiency, and that very mindset motivated the lowered estimates that destined the entire project to failure.

So people got a incapable subway line when it could have been (and was) foreseen by everyone. The "solution" of raising prices to lower usage is not a good outcome for people whose taxes are guaranteeing revenue, and additionally, if raising prices didn't manage to lower ridership, it would be a reward.

In the end the government is liable for massive expenditures to fix or cover the problems of the "private" line. What was gained by privatization in this case, rather than just directly building the line, other than the guaranteed loss of any profit from it? It's another case of privatized profits and socialized losses.
IBM’s Watson Health is sold off in parts
This page is about memory-mapped hardware registers, not CPU registers.

It explains pitfalls in accessing these through low level C definitions, proposes a C++ encapsulation class and summarizes pros and cons.
I think that the first line of defense should be you rather than a macos app.

A self discipline is something that needs to be built up and exercised over time.
You could test this simply by disconnecting your device from wifi and seeing if it works as stated
Did you look at the 3 different (non-trivial) APIs they are offering on top of the dashboard? Though I have a hard time understanding why use PostgreSQL instead of ClickHouse, for example.
Nice catch!

It surprises me how much more popular F# is in Europe compared to the US. I finally got a professional F# gig in the states (\o/), but there were very few options. It makes me wonder, are universities in Europe providing a more functional-first approach to CS education, or is something else going on?
Why would having a technology as a part of group identity lead to utopian claims? Unless the group/technology feels threatened.

Linux is an important part of my identity and I will happily watch how infidels struggle with their malware-ridden proprietary tech, knowing most of them can't be saved anyway.
> I think the person you are characterising is quite rare.

You could be right... I hope you are right, but I'm afraid you're not...

> I'm not sure about that. I've spent 18 years programming in C++, for much of that time in a senior professional capacity and am excited to learn Rust for whatever my next project will be. Most of my colleagues and peers feel the same. [...] I like C++ but don't love all of the baggage and am delighted that things are moving forward.

I don't know what the "split" is regarding mentality, and I've definitely seen a lot of experienced C++ devs in Rust communities, but then there's also a lot of people in "Rust bad"[1] circles (you see them on Reddit and HN). I think it might be an even split (as with most polarised opinions), but I don't think that either sort is rate.

[1]: I don't blame these people, btw. If you're in a senior or leadership position and you choose C++ for a new project, because C++ is your strong suit. Then you read online "C++ bad" comments that glorify Rust. It's hard to not take these things personally, when it might be affecting your livelihood. Especially if semi-technical management "drinks the Rust Kool-Aid" (for a lack of better expression) and grills you over your decision. It's not a very disheartening situation to be in, and that frustration can fester into contempt, and so on.
The answer to this puzzle will surprise you
Education was divorced from laboratory psychology, thus no cross fertilization.
On the topic of cognitive load, has remote work made context switching more difficult? I am in a more senior engineering position and end up getting frequent Slack messages or random calls. It’s very difficult for me to get in the groove with these constant interruptions.

I know other coworkers have similar complaints. My theory is that we could make this less of an issue if our organization could establish communication guidelines/ expectations/ boundaries. Doing this would make you worry less about not immediately responding to Slack and folks assuming you aren’t working. We have some managers who monitor Slack status to make assumptions on if you’re working or not too.
I didn’t hear of spaced repetition in school, but isn’t flash cards essentially the same thing?

In spelling bees they’d tell us to keep practicing the words we got wrong though we should have kept practicing the ones we got right a little longer too
> Time is one of the few physical things that are objective

How's life in 1904?
There's also some overlap with PAL and GAL chips, which you can still buy, and might still be acceptable to some hobbyists.