skysight-inc/HackerNews huggingface dataset:
I don't think anyone posted about their particular system, but it's not unknown now. If you google "filesystem as a database" there are some relevant hits. One super simple and probably not ideal, but at least balanced version uses a hash of some primary key like customer row id as the file index, then partitions the items into directories with all permutations at each level (or only populated ones) based on successive parts of the hash. For example an item key that hashes to a32c4214585e9cb7a55474133a5fc986 would be located somewhere like this:

a32c/4214/585e/9cb7/a554/74133a5fc986
a32c/
4214/
585e/
9cb7/
a554/
74133/a5fc986

The advantage of this kind of structure is that you never need to manually scan a directory since you know exactly what path you're trying to open. You still incur the OS lookup time for the inode-equivalent in the directory entry, but a deeper heirarchy keeps that faster. You can trade off time to traverse the heirarchy versus number of entries in the final directories by adjusting the length of the hash chunk you use at each level. Two characters will put vastly fewer entries at a given level, but vastly increase your directory depth.

Basically if you're manually scanning the heirarchy for anything but a consistency check or garbage collection you've already lost.
When I was developing my pet project for Web analytics (https://github.com/dustalov/ballcone), I aimed at using an embedded columnar database for fast analytic queries with zero maintenance, so literally, I wanted ‘OLAP SQLite’. There are essentially two options, DuckDB and MonetDBLite, developed by the same research group. I tried both of them.

DuckDB is a relatively new project and I generally enjoyed its design and code quality. However, I found that its current implementation of storage works better for dense data, which is not my case: https://github.com/cwida/duckdb/issues/632. I think it would be pretty cool to have data compression and more careful NULL handling needed for storing HTTP access logs.

MonetDBLite seems to be more mature in terms of functionality, but it seems to be lagging significantly behind the non-embedded client-server version, MonetDB: https://github.com/monetdb/monetdb. I experienced unexpected segfaults when using the DATE type on any platform and window functions on aarch64. Nevertheless, I am still using MonetDBLite primarily due to the more efficient disk usage. I will be happy to switch to a more lightweight and actively maintained solution.
> I'm just saying that the vast majority of programmers are nowhere near prudent enough to appreciate the strength of a correct/lawful system

That seems like a failure of education. Imagine if we put up with bridges that collapsed because "most engineers are nowhere near prudent enough..."

People use what they were taught to use. Programming languages form part of that teaching. Bad programming languages teach people bad habits.

> after all there are many C programs that are sort of correct but not easily written with standard, total, and sound types

For example? I suspect there's a kind of all-or-nothing mentality behind this. I would bet you can easily write the sort of programs you're thinking of in a good functional language, if you don't get hung up on perfection. It would still be a significant improvement. There are many examples of this - XMonad comes to mind, which you can compare to i3 which is written in C.

It seems to me that most of what you're saying boils down to simple unfamiliarity. I would suggest that you're suffering from a kind of inverse expert blindness. You discount the amount of learning that went into your ability to understand a phrase like "race the futures," and this leads you to reject systems that are different enough that you can't easily apply that existing expertise to.

Your difficulties in reading miso code without, apparently, consulting any documentation is a little silly, I'm afraid. What programming language, that is significantly different from the ones you already know, allow you to read its code without any background knowledge?

If you're actually working with the language, there are easy ways to answer all the questions you're asking. Short of gasp reading the docs, you can query the functions or operators you're interested in at the ghci prompt. For example:

> :t div_
div_ :: [Attribute action] -> [View action] -> View action

This helpfully points out that the first argument to `div` is a list of Attributes. If there are no attributes, that list would be empty.

That wasn't so hard!

You could also read the docs: https://hackage.haskell.org/package/miso-1.5.2.0/docs/Miso-H...

Or look it up in Hoogle: https://hoogle.haskell.org/?=&hoogle=div_%20package%3Amiso

> Similarly, when I look at servant's documentation I wonder how come a such powerful language, but to model 'GET /user/:userid' it can't - or doesn't - use /user/:userid, but "user" :> Capture "userid" Integer

It's expressing the route in the language rather than in an untyped string. :> is just the operator servant defines to separate route components. But here (and in some of your other observations) you seem to be conflating a decision that the servant authors made, with the language itself.

> So, all in all, I'm just a lazy ...

That's your choice. You should just know that your critiques are off the mark - they're the stories you're telling yourself to justify not having to learn.
I'm not aware of an alternative client like on Android, but there are two tweaks that can get you what you want:

- Youtube Tools from this repo: https://jpet26.yourepo.com/pack/youtubetools1

- Cercube from this repo: https://apt.alfhaily.me/depiction/FDXO5R

You will have to manually add either of these repos to your Sources list in Cydia. Try Youtube Tools first since it's free. I use Cercube myself, but I have a grandfathered account from when it was significantly cheaper and that's why I don't recommend it by default any more: https://old.reddit.com/r/jailbreak/comments/bsd9cy/question_...

Cercube does support downloading videos where Youtube Tools does not, but you can pair YTT with DLEasy to get feature parity for just a couple dollars instead of the full price of Cercube.
Show HN: Don’t set your website language based on user location
As bad as it is, I feel like this is our chance to do some large scale norm changes. Eg. Shorter standard work week, more time off. No as some liberal/socialist agenda but as a way to reach full employment again. I don’t think we’re ready for basic income, but whatever the right stepping stone is, I think govt has a big enough reason to address it now.

Edit: our/we = US, habit and context of article
> Aussie devs

Not SQLite itself. One of the DB Browser for SQLite dev's is an Aussie though. :)
I don't if this will help you make that decision, but Fastmail's alias system is a godsend for me when it comes to filtering incoming emails and protecting myself from spam.

With every account you get a finite number of aliases you can create, but in practice that number is high enough that I just use a new alias for every site I visit.

Unlike in Gmail, these aliases don't contain any references to your original address. So if you're signing up for a dogwalking service, you can create an alias for `ilovewalkingdogs@fastmail.com`, and then if you start getting spam to that address, you know where it came from, you know that there's no chance your real address will be reverse-engineered from your alias, and you can auto-reject or sort everything to that address into a separate folder without affecting any of your other emails.

I have separate email aliases I distribute to friends and family members so that if I ever run into a doxing situation or for some reason need to go nuclear on my email, I can turn everything off except for them. I also have my email linked to my own domain of course, but when I sign up for most commercial services, I use @fastmail.com aliases. That way I know that there's no way for those services to track me across accounts/websites via my personal domain name.

And everything gets organized in the same inbox, same account. I consider it to be a killer feature.
I’m glad you appreciated it, but I think it also happened to be some of the fastest-to-deteriorate advice I’ve given :) I should go back and revisit this, as on my system I have it currently stuck in a state where it unconditionally enables private data logging at boot (which mean my crash logs have personal information in them unless I remember to turn it off with the workaround I’ve been using until now…)
But the Icelandic settlers were eventually colonised by Norway. Those settlers may have originally come from the same geographical region that eventually turned into the kingdom of Norway, and subsequently colonised Iceland. But the only topics you could debate there is how much time has passed, and how different the groups are considered to be. After all, there’s reasonably strong evidence to support the theory that both the Icelandic settlers and the Norwegian colonialists originally migrated from Africa. Would the colonization Iceland in the 13th century be considered a significantly different event if the colonizing was being done by the Mongol Empire instead of the Kingdom of Norway? Because the only difference between those two states/empires would be an arbitrary judgement about how different they are, and the amount of time that had passed since they diverged from their shared origin.

The history of all nations and peoples revolves around claiming land, and then fighting over it.

Even the act of founding a country carries many of the same sins as conquest or colonization. When a country is founded, a person or group of people decides that they are the ruler of everybody within some particular boundaries on the map. The only difference between that and conquest is whether or not those people had an established ruler.
Where I work architects agree with you.

Yet fairly modest requirements like 4000 concurrenct connections or a 16gb cache can be hard to achieve.

We almost exclusivly write for the JVM. I see systems with 20 - 30 - 40 jvms with huge CPU and RAM demands, to meet modest perf requirements.

Sometimes I do wonder if we shouldn't write a little more carefully written C and a lot less memory safe Java.
Nice demo. It works well on my IPhone except that it breaks the back button in Safari. If you are making changes to the page address please use location.replace to avoid extra steps in the browser history.
Because the expected cost of dealing with those security issues has not yet surpassed the expected cost of a rewrite.
Judging from your lol, you must surely remember debian aliot comparison pages, or various coding competition websites ranking the times for java solutions very close to c++ solutions back in the 2000s.
Not bad, though the spacing and kerning are notably inferior. LaTeX would never have that many hyphens, though I suppose it isn't your fault. Nice work!
On a side note, I always wonder how their valuation ($MDB) keeps getting increased!
Make sure you cycle some of those drives in the tote to an off-site location. Your current strategy is not geo redundant!
I do use Linux for some of my work, especially when I’m working with ELF binaries. Just not a comfortable with it.
The main issue with productivity, at least how we measure it for ourselves, is that we underestimate our long-term productivity, and overestimate short-term, which is often a reason for disappointment.
> Would Einstein and Darwin have made it through peer review? I doubt it.

What are you talking about? Einstein first outstanding contributions (in his 1905 Wunderjahr) were all published in Annalen der Physik , a peer-reviewed journal. Even years after becoming a worldwide-known name, he received rejections (which he was not too much fond of). Einstein was always part of the conventional publication system of physics,

Darwin , and Wallace original papers were read before the Linnean society in London and were published in its Zoology journal. You can read it here: http://darwin-online.org.uk/content/frameset?itemID=F350&vie...

In the history of modern science , let's say from mid 19th century on almost the entirety of solid scientific contributions have been published via the regular channels.
Did the joke just went over my head or "that's nice" is a bad thing for real?
Here in Belgium it's 1.5m
The account asking for the removal being tagged (having their listed dependent tagged,) in a bunch of pictures they want removed gives a pretty good hint.

This system has existed for all of Facebook's history, and doesn't seem to he a huge source of problems. It's abusable, but it takes a decent amount of work, the risk is rather high, and there is no payoff for abusing it. No matter how little we like the system, it functions fine
Performance to do _what_?

To do high-throughput transaction processing involving a mix of strings and numerical operations I'm pretty sure nothing actually beats Java, not even C++.

Numerical computing is a different thing. Low-latency audio as well, etc.
These are database kernels used for mission-critical things with extreme workload profiles. It has to survive longevity testing at saturating workloads with continuous fault injection. If there were memory safety issues, I think someone would have noticed by now.

The reality is that there isn’t much opportunity for memory safety issues to occur anyway, the type system and scheduler do most of the heavy lifting. Similarly, concurrency safety isn’t much of an issue because threads barely interact. Most high-performance server software looks this way these days.

Bugs tend to be of the boring logic variety that can happen in any programming language.
Who, exactly, says every death since January is caused by COVID-19? I cannot find any statistics which suggest that about 20 million people have died to coronavirus this year.
Wow they criticise you when you spend and now they criticise you when you save.
The previous posters were talking about languages available when chromium was started. So while Rust probably would be the language of choice today (see Firefox), it wasn't an option, but Java was already around and mature.
That's the developer perspective. As a user, macOS looks interesting due to the underlying UNIX, the consistent user interface and the high quality applications that are available. I've spend 200€ on Final Cut Pro X and it works very well. There'd have to be some really significant issues for me to switch.

PS: I develop but not on macOS and not for iOS.
What if he had given up and gone on to something else?

Maybe he would have accomplished even more?
A factor of 2 is a lot. Especially when considering that web browsers are already memory hogs and aren't all that fast.
Phrased as a restriction, the requirement for masks is a limit on how many droplets of saliva can fly out of your face in public. If it's worded that way, are you satisfied?
I just published ScrapingMonkey API on RapidAPI. So happy about it
Apple was the first major HEIC adopter, but it’s not really something proprietary they came up with: https://en.wikipedia.org/wiki/High_Efficiency_Image_File_For...
Ah, cool. Good luck to you all. :)
Ice age: Off-grid ways to turn down rising heat for the poor
California doctors see more deaths from suicide than coronavirus since lockdowns
SipHash is considered acceptable even for cryptographic use cases (MACs)
Okay, let's take another thing turns out fine by itself but might cause harm with irresponsible behavior. If I discharge a gun at my spacious property while pointing it at someone and miss, should I be punishable for attempted manslaughter or a similar offense?
I think the discussion is in danger of going the way of a Möbius strip... Language features originating in FP have been adopted by GP languages, which was the point :)
> Indeed, people would probably be more likely to wear seatbelts and helmets under such a regime than they are now. Now they're just risking a fine. Under that regime they'd be risking, for example, not having their medical insurance cover the costs of treating them.

That is not how people work. They never think it will happen to them.
Netflix competes with cable TV which has famously infuriating billing practices. they also compete with any “digital entertainment” you might choose to spend money on instead of Netflix: Xbox live, Spotify etc
It might help to mention the past actions of Urusla von der Leyen when she was in the German Government:

“Zensursula is the online nickname given to Ursula von der Leyen, the former German Minister for Family Affairs who came under media scrutiny in 2009 for her strong advocacy of censorship laws against online content that may be deemed "inappropriate" by the federal government, especially on the issue of child pornography.”

“In January 2009, Germany's Federal Ministry of Family Affairs launched the first government initiative towards more strict censorship of child pornography on the Internet. Formally known as the Access Impediment Act, it was drafted under the leadership of the Family Affairs minister Ursula von der Leyen[1], one of the staunchest advocates of Internet censorship in the federal government.”

“The Act proposed a mandatory blockage of online child pornography by Internet service providers through a blacklist of illegal websites maintained by the Federal Criminal Police Office of Germany (BKA). In the following days, the legislative proposal sparked a political debate among German Internet users about whether the state may or should have an infrastructure to censor the internet.”

“While the initiative was mostly geared towards taboo topics like terrorism and child pornography, the scope of online debate became focused on general censorship of content on the web. Due to her vocal support of the censorship laws, the critics dubbed the Family Affairs minister "Zensursula," a portmanteau of the German word "Zensur" (Censorship) and her first name "Ursula." The nickname quickly gave way to a slew of parodies including original songs and remixes.”

https://knowyourmeme.com/memes/zensursula

That does not mean that the intention is to copy China, but it does indicate her propensity to favor limiting access to information by the general population.
There was one article published on this, I'll link to it when it shows up again.

Likely he's one of the few people with access to that much antenna data of various designs and powers.
A Failure of Imagination
This seems to be it:

https://youtu.be/Jib2AmRb_rk?t=675
https://news.ycombinator.com/item?id=23278629
Very cool. I wonder how skin color is handled in algorithms like these.
Where are the majority of Japanese indigenous to?
One important note: make sure you carefully consider using atomic renames and such for manipulating the files! Overwrite in place is a great way to end up with a corrupted item if something goes desperately wrong and you're not protected by COW or data journaling.
Control is a huge part for some companies, yes. Those companies are actively evil, IMO.

I believe that most companies are just cheap-ass bastards that don’t know any better. They do it because everyone else is doing it, and they believe the lies they’ve told themselves about how everyone loves it.

Welcome to the jungle.
New UIs are worse because of screenshot driven design.

The designer and execs only look at new screenshots of the design, and ignore usability. Maybe a few minutes of thought and review are given to how a user interacts with the site, but only to talk through a narrow set of interactions that the designer took the time to bother with.

Site keep getting less functional (reddit, linkedin, yelp, twitter) and slower (everything google). All these companies encourage short-term thinking, and incentivize whatever looks good on a powerpoint or checks a box on their year-end goals.
I think the point the parent was making is that many of the people who died in the last 2 months would likely have died in the next year anyway - so although there's clearly high numbers of excess deaths today, we may actually find that many of those deaths are just brought forward by 6 months. We won't know whether that's true for years though.
I never used Chrome and never encountered a website that didn't work on Firefox. I think this concern is a bit overblown.
Another thing is to stop tying healthcare to employment via tax benefits for employers.

So many people are stuck in less than ideal jobs because the employer-provided healthcare system is nuts. On top of that many of these plans aren't even that great any more.
Oilpan: A C++ garbage collection library for Chromium
Well, smart pointers will still result in a more predictable program. Modern GCs are amazing. But it's hard to be super predictable with them.
This, or a union of access rights in a case where roles may be defined in a database.
A lost struggle to mine Afghan gold
Tribute to Black Patients Who Died from Coronavirus After Being Denied a Test
The original poster wanted to test something. Apple actively makes that difficult. Microsoft makes it very easy and actively supports it. Ex:

https://developer.microsoft.com/en-us/microsoft-edge/tools/v...
I spent way too long after Win 98 came out messing around with the gradient on the window border. Then Win XP came out and that was crazy.

Then I tried Gnome and it was superlative in comparison. Honestly, maybe it was because we had nearly nothing. Everything was new and magical.

Now we start with a high baseline. Everything is already pretty good. A redesign rarely gives me more.
The tech we know in general isn't the tech this site thinks of when it says tech. Set up a qPCR run? Yes we got that. Anything information tech related? Ehh, not so much
No, of course I wouldn't, but my understanding is that Google (unlike any other company I know) will "pierce the corporate veil" and ban people not accounts. It's not hard to correlate accounts, my chrome is logged into both my personal and work accounts. My computer has a unique ip address. My phone has both accounts logged in as users.

Is that enough for the ban to follow through and hit both?
These all have a lot more network overhead than an RSS reader that only has to periodically fetch a bunch of xml files. I feel like optimizing these kind of apps is a whole different problem space and a "native" app is probably not going to change that so much.
And there are memory-safety bugs on the CPU level, as we had to learn. However, "safe" languages cut the risk of a memory-safety related bug down by orders of magnitudes, in most cases to practically zero, as the Go example require quite an effort to create the situation. You don't end up in such a situation just by a programmers or logic error, and thats what the memory bugs are about.
We're using it in Quassel, and as soon as you go over ~3-4 parallel write/read threads, it starts locking up completely, sometimes taking 30 seconds for simple queries that should really take milliseconds.

The big issue is that sqlite does full db locking for any operation, so during any write you can't just easily read at all.

This can be fixed with WAL mode, but WAL mode is broken in uts early versions, and new versions of sqlite aren't in all disteos yet, despite being out for almost a decade. And even WAL mode gets abysmal performance.
So stim everyone again. That's just a tax on the entire population that will give the poorest some spending power. Stim everyone really hard. Consumer-level QE, HM, whatever. Apply stim to forehead.
Demand doesn't necessarily have to be US demand, though.

For the past few decades US consumer demand has done a lot of heavy lifting for the global economy. Why can't more of this come from other big markets like Germany or China?
Show HN: Gastby plugin to showcase code blocks in carbon or Ubuntu terminals
Java when written like C is within a factor of 2 at best. Java when written like Java isn't anywhere close to C/C++.

And the gap is getting _wider_ as Java is an increasingly bad fit for modern CPUs due to the heavy pointer chasing nature of it. It desperately needs value types to stay competitive in a performance battle.