skysight-inc/HackerNews huggingface dataset:
The history on Rust’s todo!() is fun, because that’s actually not the reason why it was first made a macro.

First there was fn std::util::unreachable(). You had to import it, and the panic source printed out was …/rust/src/libstd/util.rs:132, which wasn’t very useful.

I wasn’t happy with this, and so proposed turning into a macro <https://github.com/rust-lang/rust/issues/8991>, which fixed both of those problems. The import thing alone could have been resolved by adding it to the prelude, but the panic message file/line thing couldn’t be fixed at the time other than by turning it into a macro.

At some point (still before 1.0.0) unimplemented!() was added as “unreachable!() but with a different message”.

In 1.20.0, these macros got the ability to take format arguments, because why not, since they’re already macros anyway, and adding an extra message is sometimes quite helpful. <https://github.com/rust-lang/rust/pull/42155>

Until this change, the sole reason for them being macros was the file and line number thing.

Then from October 2019 (though not stabilised until 1.46.0, but the standard library could immediately use it) came the really amusing part: this original reason became obsolete with #[track_caller].

So really there have been three distinct answers to “why is it a macro?” for three phases of Rust’s life:

• Before 1.20.0: “so the panic output gets the right file and line number”.

• Between 1.20.0 and 1.forty-something: “so the panic output gets the right file and line number, and because it takes format args”.

• Since then: “because we didn’t have #[track_caller] before 1.0.0 (since changing it from a macro to a function now would be a breaking change), and more recently because it accepts format args”.

If we’d had #[track_caller] back in 2013 (or any plans in that direction), we wouldn’t have made unreachable a macro, and then unimplemented would have also been made a function, and then format args stuff couldn’t have been added without introducing new macros, and I’m dubious it’d have happened.

Little things in history and how they affect the future can be fascinating to observe. This is a tiny and pretty harmless point, which I largely remember because it was one of my early contributions (and I haven’t made a large number in total, to drown it in volume), but there are many other things in Rust where little pragmatic decisions long ago have been causing all sorts of pain in trying to properly generalise them now. Const generics is far from the worst, but perhaps the simplest to observe, especially in how things have largely eventually been fixed (whereas various others have just ended up dead in the water). The [T; 0], [T; 1], [T; 2], …, [T; 12] implementations and similar have caused quite a lot of trouble.

(todo!() was added in 1.40.0 as a third member of this family of “panic!() but with a different message and intended semantics” macros.)
When I got back into piracy this year, I found out my projector had both Wifi, storage, DLNA sharing and a whole modified Android OS on it

it’s really good! I’ve gone weeks without even using any of the devices connected via HDMI and a lot of the video quality is way better than what the streaming services would send, or what the stability of my internet connection would show, or what that devices version of the streaming app would show

4k rips with latest compression formats are nice
If I do this (and I'm not saying I do) I tend to avoid torrents because I don't want to deal with a VPN to avoid being harrassed. I find a low-quality stream with adblock/noscript on.

Because I'm lazy in the last year I've mostly checked very old movies on archive.org
Why not use “:memory:”?
Thanks,I have read this concern before but was not aware it was part of the design specification.

What gives people, especially in the west, the confidence to use it at all, given all of the fusion centers and likelihood of parallel construction? Perhaps this is a rhetorical question...
>First, this is a controlled panic, not a segmentation fault.

But a segmentation fault is also controlled

>Your use of "exception" suggests you're thinking about it in Java terms however, and Java is equivalent here.

No, I am thinking in Delphi terms. It is overspecialized to Windows userspace. Windows gives an Access Violation, and that can be caught, and Delphi throws it as exception

>Second, you can only encounter this in explicit circumstances, when you have an Option<T>. Wheras in languages with a null type, any variable can be null implicitly, regardless of it's type.

Delphi has both nullable types and null-safe types
thanks for sharing that messed up thought with us I guess
No one really knows where the bottom of that number will be, or even what it will be with autonomy. Whenever people bring up this argument I feel like it’s the same as saying “there will be no human error in plane crashes with an autopilot” when we know that isn’t true.
We're actually to a point where storage bandwidth can exceed memory!

NVMe arrays are weird, can be better to just rip it from the drives if you need bandwidth over latency

Even then, with how easy the memory cache is to invalidate... I'm not sure even that's worthwhile.

The caching isn't some Paragon of performance - there's only so much it can do, when looking at it funny invalidates it.
I didn't realize accumulating a large funko-pop collection was an expression of "man's tendency to actualize himself, to become his potentialities ... to express and activate all the capacities of the organism"
The fact that prices go up means somebody can still afford to pay it. I live in a small, peaceful, free and rich enclave in Europe. People will keep immigrating here.
Also the massive increase of "one-person households" doesn't help the housing stock.

The last time housing prices tanked was in the 1980s and it coincided with a deep recession and high unemployment. So be careful what you wish for.
> numeric column

Worth mentioning that numeric in Sqlite is still just a float.[0] A table of two rows where column a is 0.1 and 0.2, respectively, sum(a) will not yield 0.3.

[0] https://www.sqlite.org/datatype3.html
ehhh maybe. I've been at F500s that are well funded and they were shit-shows, revolving doors of misery.

that said, they paid alright. there is a certain level of misery I'll accept for 150-250/hr TCO
Community Notes is the best feature. I wonder why wouldn't original Twitter implement it. Maybe it would deflate the bias they wanted to project on the rest of us.
Is it slow though? It seems to be going at neck-breaking speed.
Good, I’m not alone. Even in my youth sex scenes annoyed the hell out of me. It’s essentially dead air and bad clichés, bringing momentum of the movie to a screeching halt. Heavens help us if there are multiple sex scenes in one film.
It isn't, I was making the point university degrees aren't the same everywhere.
Your comment implies that running a database cluster is easy, or easier than what OP describes. And while I do not endorse his suggestion of using SQLite in a multi node setup, I can tell you from personal experience that running a multi-node RDMS is hard as hell.

In $oldjob I designed and managed a system that was eventually running many hundreds of MySQL 3-node groups. MySQL in particular has a lot of nobs that you need to understand to set up a cluster that doesn't lose data during a fail over (semi sync, sync bin log, trx commit flush, ....). And then of course: neither MySQL nor PostgreSQL have a built-in mechanism to handle fail overs at all. It's another software stack around that, or even something custom built.

Again, not saying I agree with the author. I'm just saying you're portraying it easier than it actually is.
> Slow to react to inflation

They were slow intentionally. A large subset of the population benefits from low interest rates.

They were reluctant to give up their free money they designed their lives around.

If interest rates were ever to reflect reality long-term, probably ~50% of global wealth would be wiped out. If not for the majority of the population being leveraged on real estate - the ordinary person wouldn't really care.

It's generally not fun when your largest position (your home) goes down ~50% of 5:1 leverage (the average home owner).
Now the print publication has ceased I hope they remove the archaic submission format requirements for the journals which were justified mainly due to the print edition
Vulnerabilities in Cellphone Roaming Allow Tracking Across The Globe
Central banks generally have a mission of keeping money supply growth in line with growth of the economy. They’re not authorized to spend money on a government program (for example subsidized affordable housing) or change local laws (loosening zoning).

I do agree COVID-19 crisis response zero interest rate policy contributed to bidding up the price of housing even further.
I don't think I said I was confused by it? I understand the levers in motion.

But it's clear that in the longer term this doesn't work -- even for the majority home owners like you imply.

a) Just because your home appears to go up in value doesn't mean that your home purchasing power has, if other homes have just done the same.

b) It undermines local business because their workers increasingly cannot afford to live where they work. When rent in a 2 bedroom in an industrial town like Hamilton creeps up to $3000, we've hit crisis proportions.

c) it's not sustainable, and will eventually blow.

What it shows is that there's no leadership at the top capable of making adult decisions.
Perhaps you're high enough up the ladder that those are simply the people you know and interact with?

Move higher up and "personal city on the moon" becomes the status symbol. Move lower down and it's still cars. What type of car, and what modifications it has, etc, become quite important talking points.

A recent SMBC seems to me to explain it well: https://www.smbc-comics.com/comic/esteem-2
There could/can be cases to use SQLite over SQL Server, MySQL, Postgres, etc. It really comes down to reasoning with the problem.

For me personally, I have only used SQLite for 2 scenarios.

1) When developing. SQLite is a simple method to getting something together, before building a proper MySQL/SQLServer/Postgres one.

2) Client software. Some client software needs a temporary data store and find SQLite great for this. These are not complicated databases. They barely have about 5 tables. Nothing more than a Queue system than anything, which goes over the wire via Rest API to a Messsaging Queue. Once sent over with a reply of "success" - it is removed from SQLite. It is a nice, simple system.

There can be a few other reasons.

Other than the above, I don't think I would be confident of SQLite file for a moderately sized database, likely to be used for some web portal or CMS system we created where more than one request could be talking to the database at the same time. This is why you should stick to those central, relational databases.

MySQL and Postgres, especially, are not that difficult to install, whether on the same system or its own dedicated server.

I hope my comment is not seen as a negative for SQLite. If anything, my attitude is the opposite. I really like the work and effort that has gone into SQLite. A virtual pat-on-the-back by those involved! It is a great approach to having data in 1 file, rather than writing your own.. or having lots of "records" in their own files (in a directory) which I have done.
It's funny how Christians were so horrified by Mesoamerican religion while they themselves ritually consumed the flesh and drank the blood of their god every week and wore a symbol of gruesome torture and execution around their necks.
I’d say because you can lose context more easily when having to move to a separate browser tab / window to complete a task? And I suspect the multi-window paradigm is also harder to navigate for keyboard / screen reader users (as opposed to an in-page modal which correctly captures the keyboard focus while open).
No you aren’t misunderstanding, that is directly mentioned in the docs. I think a lot of new Django devs get tripped up by that.

> The admin’s recommended use is limited to an organization’s internal management tool. It’s not intended for building your entire front end around.

https://docs.djangoproject.com/en/4.2/ref/contrib/admin/
The new hot computer at Rose-Hulman in 1982 was the VAX 11/780. I always wanted to have one ever since. However, I've been through hording, and having had to purge things, I realize that it would be quite silly to actually own one.

So, I've done the next best thing... Thanks to Termux and SimH, I run one in my Android phone. I can telnet into it and log in, not quite the VT100 experience, but close enough. So for the low price of about 4GB of storage, I have a VAX 11/780, running OpenVMS 7.2 in my pocket. ;-)
I think the issue is just that they kept rates too low for too long and failed to rein them in a bit when things were recovered from 2008. A little extra boom probably is a net positive long-term since it facilitates innovation and growth for a time. But if you selfishly leave the spigot of free money on for too long you get complacency and bubbles.

The whole concept is intimately related to the keynesian idea of stimulus spending. But even keynes thought that the government needed to walk things back when things were booming.
He also runs the world's largest commercial property empire. No bias here.
Yeah, however there have been other cases where the outrage was ignored, like on how the modules story went.
I've been thinking and doing this for many years - I've tried very hard to do it with one diagram without luck

if you want them to look nice (and I do try to make them as artistic as possible) then I've found that the best/ only proper way to do it, is to do multiple diagrams for different groups of people.

complex/ messy one for infrastructure - showing interfaces/ IP address/ security zones/ resiliance/ physical locations/ application binaries/ OS info etc..

sequence diagrams for logic flow of applications

basic fancy ones for stake holders/ less technical ppl - crayon type of diagrams

for all the diagrams:
I find using matching colours (but try if possible, to consider color blind people) and levels of grey (try not to use black) work best...
try to group interfaces close together...
try not to have crossing lines...
symetrical as possible...
lines and boxes all aligned with something
>(2) Systems like this already exist. They can be induced rather than emergent.

No they don't and no LLM we've seen has anything resembling free will. Emergent or induced, it's not even the case. Saying it is right now based on any measurable evidence is a case of just ignoring evidence and using bad reasoning.
"1 year" updates from X/Twitter Engineering
The article eloquently highlights how many managed work, homeschooling, child care, and a barrage of Slack messages simultaneously. So never worked harder.
Imagine how hard it would be to manage SQLite clusters ;)
I'm pretty sure some states (conservative) reject federal medicaid dollars simply because they are ideologically opposed to government funded healthcare.

It's not hard to imagine these same states make the bureaucracy of obtaining low income healthcare benefits arbitrary, difficult to navigate, and counter-productive as way to 'prove' government healthcare doesn't work.
ETH FTW!
No one is going to get re-elected if they pop a bubble on purpose.

The system is pretty much designed not to make "adult decisions".
> The goals of my NAS setup are:

> When hardware breaks, I can get replacements from the local PC store the same day.

That wouldn't be my M.O. I don't want to go to a local PC store. The ones remaining are all either expensive, sell shit, or do both. I'd order from Amazon or whoever is cheapest according to a local price comparison website, and receive a replacement next day. It also costs less time having to do shopping (heck I even order groceries online, saving time). Besides, with warranty, it'd take longer than same day replacement.

Now, if the guy was running mission critical data solely I'd say 'OK', but nope:

> For over 10 years now, I run two self-built NAS (Network Storage) devices which serve media (currently via Jellyfin) and run daily backups of all my PCs and servers.

As such, it seems a silly requirement for the average content someone serves with Jellyfin.

I use 4x 4 TB HDDs in ZFS RAIDZ2 (running Ubuntu under Proxmox) with one enterprise grade SSD for OS and ZFS cache. All that Jellyfin data doesn't have to reside on any SSD. Not in this setup, and in most setups for home users: neither. You also don't require HA for such, to the point where even RAID is kind of silly.

I use restic for daily backups to a NAS in the same city, a Synology with RAID1 btrfs. But I don't back up any media served via Jellyfin. Seems silly, and I don't have fiber upload speed as of yet. The internet has backups of that. Usenet servers, for example.

None of these servers have a UPS, but in case a power cut the enterprise SSD (a Samsung NVMe costing more than 2x as much as a consumer version of same amount of storage) ensures the data is consistent. Both systems use FDE.

I also have an offsite, offline backup of our most important data. It is encrypted at rest but not I don't regularly rebase which is kind of stupid. But that is on me.

Either way, this fellow wants to have some kind of silent setup (for reasons) and yeah then SSDs make sense. But if you want value for GB/EUR or akin, even with the extremely low SSD prices of recent and even with the higher energy prices, then HDDs are still worth it. Especially for data as content served via Jellyfin.

I'm pondering about upgrading to more than 1 gbit for LAN but for now I don't see it is worth it. Also given my server (MicroServer 10 Plus) only has two PCIe and one is used for PCIe to NVMe and other for iLO I don't have the bandwidth available, a disadvantage of my current setup. I suppose I could use a USB to 2.5 gbit converter if USB could saturate it but then I'd use USB for high data transfers. It appears to me that because my switch is managed, pair bonding would be a better approach. Which the Synology also supports.
Rental income from his real estate interests.
Sure, if the website is a basic one.
> They’re not authorized to spend money on a government program

Not sure how you got the idea I was advocating for that. I clearly pointed the finger at prov/fed gov't for that kind of thing, not the BoC.

My problem is with holding the rates. It sent the wrong message. Inflation on basic goods remains high, and the housing market has not stabilized.

In my opinion, the BoC responded to political pressure, and should not have.
i can confirm that this works on Kandalov's site, using axiom A and angle 90:

A => BF-F-BFFFD-F-FD+F+BF-F-BFFFD-F-FD
B => BFFFD-F-FD+F+B
D => D+F+BF-F-BFFFD

maybe i'm hitting a fractint bug or unexpected behavior

this recipe does work in fractint to produce the triangular shape:

debug {
Angle 4
Axiom A
A=AFFFB-F-FB+F+A
B=B+F+AF-F-AFFFB
}

and based on that, this produces the whole cycle:

simplified {
Angle 4
Axiom AF-F-AF-F-
A=AFFFB-F-FB+F+A
B=B+F+AF-F-AFFFB
}

and accordingly this works on Kandalov's site with the same
axiom:

A => AFFFB-F-FB+F+A
B => B+F+AF-F-AFFFB

oh, now i know what the problem is, D is a drawing command in fractint; i had too much D, the opposite of the usual problem. so this works:

hcurve { ; by oneearedrabbit.net. See
; <https://news.ycombinator.com/item?id=38029945>. Based on "an obscure
; paper by Rolf Niedermeier, Klaus Reinhardt, and Peter Sanders that
; introduced a rather peculiar curve with an unfortunate name: H-curve
; [1]. The paper mentions that H-curve preserves better locality
; properties compared to Hilbert curve. It fills the space with H-like
; shapes, hence the name. Also, like the Moore curve, it generates a
; loop."
; <https://www.sciencedirect.com/science/article/pii/S0166218X00003267>
Angle 4
Axiom A
A=BF-F-BFFFX-F-FX+F+BF-F-BFFFX-F-FX
B=BFFFX-F-FX+F+B
X=X+F+BF-F-BFFFX ; C and D are reserved in Fractint
}

but i like `simplified` above better

incidentally the paper seems to call it 'h-indexing'
I have a billionth of a data center in my “home office” that I sometimes use to copy data. No, not absolutely free but effectively so for my uses. I’m certainly not charging people money if I seed a torrent.
Drivers who kill pedestrians or cyclists don't consciously decide to murder them (at least not in 99.99% of cases), they do it out of negligence - opening a door without looking into the mirror, turning right at an intersection without looking for pedestrians or cyclists, not stopping at pedestrian crossings etc. etc.
Mongo DB Is Web Scale: https://www.youtube.com/watch?v=b2F-DItXtZs
I never understood the longterm logic of protecting jobs by not using tools.

Any tools goal is to reduce work.
React Router changed heavily every major version and I had a bad experience using it. Maybe Remix will be stable than that considering it's backed by Shopify.
They're both a superset of the problem space: safely navigate from A to B.

And broadly speaking, with more varied training data you can achieve better out of sample results.
How easy is easily? It seems like you would either be able to buy something or not...
Perhaps the incentive is to reflect the world we live in?
> sqlite is awesome when you run it in one instance on a VM or something,

This article really needs to be taken in the context of the author’s target audience: He sells courses that primarily target web dev juniors doing learning projects and small projects. That’s why he includes the “most of you reading this” disclaimer in the article:

> So, can you use SQLite? For the vast majority of you reading this, the answer is “yes.” Should you use SQLite? I’d say that still for the majority of you reading this, the answer is also “yes.”

Pushing strong contrarian opinions is part of his social media marketing style. He’s also pushing a “why I won’t use next.js” article and opinion on his social media, while conveniently omitting the obvious conflict of interest that he sells courses that don’t happen to cover Next.js.
Turbocharged 2.0-Liter Hydrogen Combustion Engine Concept
>I do agree COVID-19 crisis response zero interest rate policy contributed to bidding up the price of housing even further.

Something known beforehand and by deign.
I'm surprised more people don't talk about this. Roundabouts are murder for pedestrians. I have to say many stoplight crossings aren't much better, when they simultaneously allow for pedestrian traffic and vehicle traffic, which you do see.
Wait. Like iron, or like an iron?

And what's the difference between "irony", "ironic", and "ironous"?
Convoy's shutdown exposes the desperate state of trucking
It likely has more to do with the “data” team being different than the “application” team at a lot of big companies. It leads to many handoffs and inefficiencies and so people do a lot of things to route around it.

Not a knock against SQLite at all, I use it in production for my own projects and some professionally as well.
Just a quick point: community notes existed before the takeover. It was called birdwatch but got rebranded.
this phenomenon exists outside Twitter/X as well you know, Youtube is an example
> Your comment implies that running a database cluster is easy

You obviously don’t need a cluster if you’re considering SQLite as an alternative.

Comparing a full database cluster to SQLite doesn’t make sense.
Original Twitter did implement it. Musk renamed it a month after finishing his purchase.

https://blog.twitter.com/en_us/topics/product/2021/introduci...
Is this because not everything has rounded corners?

Only one rounded button?
protecting jobs lol, you can only find a taxi at the airport satellite parking lot, they’ve given up completely!

LA could use robotaxis in some hot spots

I could see independently governed cities like West Hollywood or Glendale getting robotaxis
Evaluating RAG/LLMs in highly technical settings using synthetic QA generation