skysight-inc/HackerNews huggingface dataset:
> I should mention that spyql leverages orjson, which has a considerable impact on performance

Even with orjson, you're still paying the cost of creating a new PyObject for every node in the JSON blob. orjson is well engineered (as is the backing serde-json decoder), but any JSON decoder that isn't using naive algorithms is mostly bound by the cost of creating PyObjects. Allocating in Python is _slow_.

I wrote a quick benchmark (https://gist.github.com/jcrist/de29815389eaed4eaf5b24fbcfdab...) showing a handwritten query that accesses only a few fields in a 13 MiB JSON file. The same query is repeated with a number of different Python JSON libraries. Results:

$ python bench_repodata_query.py
msgspec: 45.018014032393694 ms
simdjson: 61.94157397840172 ms
orjson: 105.34720402210951 ms
ujson: 121.9699690118432 ms
json: 113.79130696877837 ms

While `orjson`, is faster than `ujson`/`json` here, it's only ~6% faster (in this benchmark). `simdjson` and `msgspec` (my library, see https://jcristharif.com/msgspec/) are much faster due to them avoiding creating PyObjects for fields that are never used.

If spyql's query engine can determine the fields it will access statically before processing, you might find using `msgspec` for JSON gives a nice speedup (it'll also type check the JSON if you know the type of each field). If this information isn't known though, you may find using `pysimdjson` (https://pysimdjson.tkte.ch/) gives an easy speed boost, as it should be more of a drop-in for `orjson`.
Find banks or real-estate companies that invest in single family homes for the purpose of renting them.

If you can find one, you often find that they'd rather let the property sit empty than renting it.

Or just look at the cost of buying a house vs renting a similar house, account for maintenance, and see if the numbers line up.
Incidentally, this is also Hobbes' view of the state, namely that it's an automaton.
Omg, I am a fan! <3
Async error handling has been a nightmare last time I tried a few months ago. Has that improved lately?
You can use rust on an attiny85?
What a time to be alive. I wonder where mine are.
> 26 mins to read.

Commented 2 mins after post
From a thread on minecraft[1]-

> it is intensely gratifying to build and improve the world around you.

For many of us, we expect we will be spending a significant chunk of our lives in the text editor.

Picking a dumb, inert, fixed, limited text editor is an apalling choice to some, versus picking something that has rich means of working the system (text objects, spellcrafting on the fly!!!) and infinite possibility (that flexible configuring, leader keys of possibilities). Picking a starting point where more is possible, where building & growing our world can be done- it's a path of lifelong struggle, but immense lifelong gratification, one where we will see our world florusihing and ourselves growing within in.

I personally resist a lot of the configuring & addition of plugins, am only an ok advanced vim user. But Im pretty ok at writing macros when i have a shitty chore, i make use of registers to handle reusable text- I appreciate having something much closer to a programming language than a input box at my back, and i keep slowly improving.

[1] https://news.ycombinator.com/item?id=31038449
Clearly Wikipedia doesn't need my annual donation anymore.
According to my monitoring emails, my site was down for 3 at least 5 minute intervals, but that hasn’t happened for months.
I am an IC SWE. I need to collaborate with stakeholders and product managers about what we are building next, with peers about their proposed designs, with junior colleagues about how to accomplish their tasks, with org-level working groups for design and postmortem reviews, 1:1s with each of the managers whose worlds I’m involved in, inbounds from outside the org and internal strategy to deal with exogenous changes, 1-3 interviews a week, occasional outage firefighting, etc.

Do you not?
I foresee this being wicked cool in combination with current cochlear implant (CI) technology which is already quite mature (30-40+ years). Not a scientist, but something makes me think CI's could at least leap-frog or fill in the gaps of this therapy while it's in a less mature state.
Probably the other way around, Illumos made much more improvements, but Oracle cannot profit from it (because not opensource anymore)
Difference is that this is not the default and people looking for (neo)vim will not find it, unless by chance.

Defaults matter
It's the worst, and sometimes also the best / most effective tool available.
Let's keep it down there in case we need it if we are flung out of the solar system or something like that. The sun will not send us a bill.
> If X and Y are two independent random variables, X representing skill and Y representing self-assessment of skill, X and Y will be negatively correlated

“If two variables are independent, then their correlation will be 0”

https://web.stanford.edu/class/archive/cs/cs109/cs109.1178/l...

“ If the variables are independent, Pearson's correlation coefficient is 0”

https://en.wikipedia.org/wiki/Correlation#Correlation_and_in...

Proof:

https://www.themathcitadel.com/uncorrelated-and-independent-...
This is cart before horse. Linus worked with PCs for years and saw (obvious) problems with Apple's hardware, and so he's invested in a solution. He's been critical of these things since long before Framework was founded.
...and why should I care that it's somewhat more inconvenient to bootstrap the compiler from scratch? No, seriously, why? What I care about is that the code I wrote on Rust 1.0 still compiles on Rust 1.60. And I do still have code from back then (I started writing Rust just before 1.0 hit) and I can confirm that it still compiles.

Yes, I know it sucks for all of the distribution maintainers who want to bootstrap every package from scratch, and I do feel for them, but that's a very niche thing to do which the vast majority of people will not do.
Sure they are. Broad classes of messages are forbidden on HN. No matter what tone you use, you can't disparage nationalities, genders, or races here, or make arguments that would tend to have that effect; you can't attempt to psychiatrically diagnose other commenters; you can't question the good faith of a commenter here, or suggest that they're shills; you can't collect personal facts about other commenters and marshal them as arguments; the list goes on. These aren't tonal issues, they're substantive. What might set them apart is how sweeping they are.
Do you mean ROI of the project itself, or ROI of specific tools/methods/approaches etc?
The 100% full reason for me was that I had a job where I needed to SSH into our prod server about once per month and tweak some files. I was so terrified every time I had to do it because I was afraid of vim and/or nano in those situations. So I decided to get competent so I trusted myself not to make huge mistakes.

After about a week of using vim it clicked and I knew I couldn't go back to Sublime Text.

As for VS Code, I do everything I can to keep Microsoft products out of my life.
If you value your time that way, you should re-consider (neo)vim. I learned vim in the late 90s. I still have stuff in my config from that time period, that still just works. It's an up-front cost yes, but I see it similar to a carpenter learning to use a hammer - it's a skill that carries forward for at least a quarter century.

In the same time period, I've watched plenty of my cohort jump between IDEs and "modern" editors as they come and go (jetbrains, visual studio, textmate, sublime text, vscode, the various storm ides, etc etc). They all have to put time and effort into getting comfortable and proficient in each of these environments. That time adds up to be more than my initial vim investment.

Now I'm one of those folks that likes to master my tools and craft my own tools as well, so I've continued to invest time in my vim mastery. The same argument applies here too: that time is cumulatively increasing my skill at the tool rather than getting to the same point with various tools (cf the old interviewing dilemma: does this person have 5 years of experience or 1 year of experience 5 times). It means that some years I don't spend any time thinking about my vim setup, and other years I'll throw a few hours at it - importantly, this happens when I want not when the tool decides to release a new version that breaks things, not when theres suddenly a new great thing I have to use to keep up.

In summary - from a time/effort efficiency point of view for the course of a career: vim wins because the tool was there when I started, and its still here long after the "better" alternatives have come and gone (or faded into obscurity).
Install it via nix, or if nix is too big a leap, via conda.
> I am wondering, are there any organizations that actively scan and archive books, even if they don't share them because of copyright laws?

The Internet Archive definitely does this. It's what powers their controversial book borrowing feature.
https://archive.ph/vjuUt
r/t_d basically pulled every single trick in the book to frontpage their content constantly.

However I think that no matter what they (reddit) would have had their hand forced eventually. The site has grown massively since 2015.
It only works with CRT TVs though. It's a 15khz tone, due to magnetostriction in the flyback transformer: https://en.wikipedia.org/wiki/Flyback_transformer
Yes, I wrote much but that was my main message :)

Also, I don't want to come off as a cultural absolutist, I think other countries can have different cultures than standard western; but conquering and imposing culture with violence does not respect basic humanity. Also, we should be able to defend and evolve every culture with peaceful discussion, communication and schooling instead of bombs; and even incorporate other cultures as we see fit (this is a big theme here in Brazil related to our modern art week :) ).
Wow, I thought I was the only one with the TV thing! I remember it as young as 4-5, but no one knew what I was talking about. I’ve had constant minor tinnitus since then, so I can’t help but feeling like there’s a CRT near my head that has been running since the early nineties.
The libraries are embedded in quite a few places; for example it's used in every single Docker for Desktop instance:

- https://mirage.io/blog/2022-04-06.vpnkit

- https://www.youtube.com/watch?v=zqFDEDl5Zes

- https://github.com/moby/vpnkit

- https://speakerdeck.com/avsm/the-functional-innards-of-docke...

And then there are deployments in QubesOS, Xen, Nitrokey, etc. Bear in mind that MirageOS is a library OS, which doesn't just mean "compile to a standalone kernel instance". It just means that it can be linked into all sorts of embedded environments, some of which are the solo5 or Xen backends you see in talks.

More on the Mirage blog: https://mirage.io/blog
What I don't understand is how seizing all his gadgets is of any use... if he is straight up saying that he wrote the comment himself. A joke of a judge must have allowed this.
https://voxeu.org/article/how-war-was-won
> In what way do your arguments not also apply to cocaine?

This is the comment to which I was responding. As I see it, there are two premises here which both have to be accepted (i.e. it is an "AND" not an "OR"):

1) Facebook/TV is analogous to cocaine

2) Cocaine is bad for you

If I reject that Facebook/TV is analogous to cocaine, I reject the entire thing. I was not making a broad claim about people's autonomy vs. paternalism. I was making a narrow claim in relation to two (at worst) benign things: smart TVs and Facebook.
Yeah it's a "why not both" situation. They wanted Java for that sweet Android lawsuit, and they wanted MySQL for the support contracts and to ensure it wouldn't encroach on many of the same use cases Oracle database is still needed for.
They said that the person being searched is not allowed to make phone calls, which is correct except when they want to contact their lawyer. They just omitted that part apparently...
Simple: most router firewalls only block traffic that has source:<IP of device> and destination:<anything in the Internet>, but traffic from source:<IP of device> to destination:<IP of router, IP range of home network> will be allowed.

That is enough for the device to emit a DNS query like "pbs.12345.metricservice.example.com" to notfiy some tracking service that the device with serial 12345 just switched to a channel labeled "PBS". The router will resolve that name record at the DNS server for metricservice.example.com, which gets the request and logs it away.
If you're a lifelong programmer the time it'll take to be proficient in Vim is a drop in the bucket in the grand scheme of things.

A tool that can last a lifetime and be used for any programming language at that.

It's just a trade-off between optimizing for the short-term or the long-term.
Could be the case, female animals often have more body fat to give birth and nurse offspring.
> Why do you assume every resident wants to own their property?

Actually, I don't. I know that there are people who would prefer not to.

But because of the way the system is set up, it is so trivial and common for landlords to be extremely abusive. I would rather see things changed so that some people who would prefer to rent have to shrug and buy something instead—but actually have that option, because what would have been set up as rental properties are instead genuinely low-cost housing for purchase—than see the system continue as it is now.

I also know it's very unlikely that the status quo is going anywhere, so this is almost entirely a theoretical discussion.
I’ve always assumed Reddit is lying about dates on purpose for SEO reasons
Yes, I think it boils down to whether creating a derived pointer from a restrict pointer and then using both is allowed. I just had a look at the C standard and I think it is allowed if the derived pointer is (what the standard calls) "based" on the restrict pointer (page 89, 6.7.3.1 paragraph 3: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2310.pdf).
The standard language is very dense but it makes it sound like the program presented in the article would not uphold this "based" property and so might be UB as you suspected.
Thank you so much! I am very interested in CI. Currently we're waiting for our appointments with the ENT but I hear so much good about it, I'm hoping we can move this forward as soon as possible. I will definitely be in touch.
It's much more than 1% though.
I'd consider using generated as identity instead of serial in postgres.

https://www.2ndquadrant.com/en/blog/postgresql-10-identity-c...

And if any of your tables might grow beyond 2B rows, I'd use 64-bit IDs (serial8) from the start to avoid an expensive migration later.
Thick Decription
Worth looking at this:

https://www.engadget.com/vizio-q1-earnings-inscape-013937337...

Note that Visio is still making profit on the TVs itself, in addition to the ad revenue. Pretty standard operating procedure in most markets these days. Charge for the product, sell either additional features for the product (which used to come included in the price) or the metrics the product provides.
Maybe they set it up to be more easily crawlable by AI bots internal to reddit to begin developing a sale-able data pack on the profiles of its users?
I agree with your coc.nvim assessment. It’s more cohesive and works pretty much out of the box.

You have to assemble more plugins to recreate the functionality coc provides as a whole and the documentation on the config process is sparse (as of my last attempt to use it). I’m also probably a weird edge case in that my primary use case is writing Powershell. Coc just works and getting native LSP configured and working requires more time than I’ve been willing to give it.
Honestly, they are blaming Github here. They included a whole "Lessons" section, which are complaints about Github's UI, then database design, then community support. I don't think we should be making fun of them for accidentally privating their repo, but I absolutely laughed at

>The dialog should be more contextual and, paraphrasing again, it should say “You’re about to kill 55,000 people.” That would’ve certainly made me pause.
Have you actually run the numbers? Land value tax would most likely reduce the taxes on most farms, the vast majority of land value is concentrated in urban spaces. The majority of farmland is almost certainly getting a tax break under a land value tax regime, especially if its used to offset existing sales and income tax.

Further, while land value tax would reduce the average tax burden on the average farmer, it would change the incentives because it would make passively holding onto land less valuable of an activity on the margin even if there's a net savings to the average farmer.

I'm not a fan of factory farming either, but the point you're missing is that the kind of agricultural strategy you and I don't like optimizes NOT for highest yield per acre, but highest yield per dollar of input.

Efficiency is not mono-dimensional, it's not about "more efficiency" it's about "more efficient AT WHAT." And what industrial farming is efficient at is not using money and not using human labor. One of the chief ways it does this is externalizing most of its costs (pesticides, herbicides, runoff, erosion, antibiotics, etc), and grabbing up more land to make up for its lower per-acre efficiency.
Feel free to replace “Apple TV” with whatver is your preferred input source, be it a Raspberry Pi or whatever.

It doesn’t change the fact that the people doing the subsidizing aren’t getting the intended value from me.
You might be surprised at how small the Reddit team is
The tragedy of the commons that happens when you can't establish the reputation of your visitors because regular users are indistinguishable from malicious actors when signals like IPs are intentionally obscured.
Streamlit: Crypto News Aggregator
Right but the solution isn't to go backwards and say, "well we think it's fine to be xenophobic to the Chinese and so to be consistent we should allow xenophobia across the board," that would be absurd. It should really go the other way and I think you would get a whole lot of support for it.

> It's like nationalism is okay as long as it's not white nationalism.

I think the issue is because "white" isn't really a race, nobody is trying to cancel someone proud of their Polish heritage. Black ended up becoming a de-facto race to deal with the descendants of slaves who had their ancestry erased so they're not really comparable. I can only speak to the US but "white nationalism" (hell even "American nationalism") just became the rallying cry for white supremacists. Which sucks for anyone who was benignly proud to be an American but this is just the reality we have to deal with. It's political suicide to run on "I'm racist and proud" anymore so we're surrounded by dogwhistles and people organizing under informal banners and "you know what I mean wink" type policy.
That works, as long as you know one of them.
I find the article frustrating because of the tone. It's also wrong. They misunderstood what lines mean.

This article is absolutely dripping with condescension throughout and is really pushing a "gotcha" that doesn't exist. It then argues basic statistics, generates a DK-looking graph from random data, and then claims the phenomena doesn't exist. When in fact, as other people have commented, when people are bad at estimating their own ability (i.e. random), the DK effect still exists; it falls out of statistics.

Sigh, the author misunderstood the very definition of the DK effect:

> "The Dunning–Kruger effect is the cognitive bias whereby people with low ability at a task overestimate their ability. Some researchers also include in their definition the opposite effect for high performers: their tendency to underestimate their skills."

In all the examples, this holds, even if the assessment ability is totally random. Even if every quartile gives themself an average score, like the random data generated here. The author seems to think that it should be even more lopsided or something to demonstrate the effect. (I mean, honestly, what are they expecting, a line above 50th percentile? A line with negative slope? What?)

If there were no DK effect, the two lines would be the same.

Instead, if we go back and look at the original data, we see indeed, the two lines are not the same, the average for the bottom quantile is over 50%, there is some small increase in perceived ability associated with actual ability (and not the opposite).

The sin here isn't some autocorrelation gotcha, but rather, DK should have put error bars on the graph. If it was totally random, the error bars would be all over the place.
Elon Musk talks Twitter, Tesla and the future – live at TED2022
very interested in this project, bearssl is released as beta quality, not sure how active it is developed these days but I'm happy to get rid of the heavy openssl when possible especially for embedded devices.
Ah this makes total sense. Other day I read how some factories are dumping pollutant chemicals in rivers. But it turned out to be all fine as there was no wrong intentions it just was not economically viable for them to properly dispose waste.
> NATO has treated those announcements as bullying bluster

You mean Russia claiming it's just doing some military trainings at the border, and then US claiming it's going to invade Ukraine in the next few days?

> If anyone's an idiot, it's NATO leadership

You mean 2 non-NATO parties fighting each other? Seems like good old divide and conquer strategy to me. After this war, Russia won't have much left to fight NATO. NATO is not affected in any way.

> Russia would very much prefer not to have NATO on his border

This is going to double once Finland joins, which will happen this year. All because of Putin's mastermind strategy.

> the cancellation of Nordstream II

This happened after the invasion. One of the reasons why this was a very bad move on Russia's part.

> a mad fool

The best you can claim is that he was misinformed (hence the arrests and layoffs of the FSB).

Putin made a serious mistake. Now they are rolling with it. Anyone who claims this was a good move on Russia's part is just an idiot.
If the state is coercing you to pay taxes for the land you live on, it is a state tax. We can all collectively start referring to chickens as horses, we can even refer to aviaries as a prescient form of stables, but it is not going to change the nature of the bird. The naive idea that exchanging all the taxes for a single land tax will result in anything but all of the current taxes with an additional state tax on land is ahistoric to put it kindly.

As of the time of writing we do pay taxes on land as well as taxes on labor, taxes on commerce, taxes on investments, taxes on inheritance, taxes on imports, taxes on value added to goods, sin taxes, tax stamps for government services, taxes on energy, taxes on roadways, taxes on gifts, taxes to enter or leave airports, and even taxes to live in certain cities. In the US these did not exist until after the civil war and since then they've become the rule and not the exception, to repeal all of them and replace them with a LVT is great, but to expect the modern state to not feature creep every single one of the current taxes back in place within a few decades gives me a huge pause.
Have you considered using HTML based slides? That way the LaTeX math gets rendered at presentation time using MathJaX or KaTeX, so you don't need a local LaTeX. There are many options, my personal recommendation is Quarto (https://quarto.org/). Now when I think of it, I believe that Quarto actually may come with its own LaTeX distribution included (TinyTeX), so you should be able to create even pdf presentations with it without installing separate local LaTeX. I do not know for sure, one of the advantages of using Linux as your operating system is that there is no need to manage a LaTeX distribution, it's just there.
We had SparcStation 1 pizza boxes at my school. Huge black and white monitors. Core dumps as large as your disk quota. So much fun times.