skysight-inc/HackerNews huggingface dataset:
I have been thinking about this as well lately. For my app (http://ngrid.io) I'm using a custom built Entity-Component-System (https://en.wikipedia.org/wiki/Entity_component_system) based UI framework in Rust.

In the ECS paradigm, everything is stored as struct-of-arrays as opposed to array-of-structs (https://en.wikipedia.org/wiki/AoS_and_SoA) and as a result, your serialization becomes trivial. You are not chasing pointers to other objects when serializing. Apple's Core Data takes the object graph approach and it's a real clusterfuck.

ECS is very similar to databases in that your data is normalized and things are referenced by offsets rather than pointers https://floooh.github.io/2018/06/17/handles-vs-pointers.html).

Why roll your own thing as opposed to use say SQLite? If you use SQLite, you will probably have some OOP on top of it which introduces a serious impedance mismatch. With ECS, you cut that whole layer out.

I'm guessing that I'm losing on some atomicity but for my use case that doesn't matter that much.
Please stop with the FUD. If you have a substantiated claim, please make it. Otherwise you’re not adding anything to the discussion.
Ah yes, giving bigotry a prominent position and mass circulation is what protects and furthers democracy. History certainly agrees with your sentiment.
I thoughr this trivial stuff like loops doesn't really matter anymore due to compilator optimizations. Isn't that the case?
My target audience is developers generally, not functional programmers specifically, and developers disagree with your assessment. Sorry.
Well, applications that use Sciter UI are native ones: https://sciter.com/#customers

And applications that use Electron are not. Just because the only reasonable option (for many reasons) to write code there is script. And so each such application will have full blown web browser and web server (NodeJs) under the hood.
I don't think trust busting can make the telco problem go away. You can punish someone for their past wrongdoings, but that doesn't necessarily incentivize anyone to become an ISP after the fact. You have to look at how we invest in infrastructure instead. In most of the country, ISPs are responsible for building their own infrastructure; they have to either dig up streets or beg the local power company for pole access. If they didn't have to do that, many more companies would be interested in being ISPs. As it stands right now, it's too expensive and too risky. Sure, being an ISP is 95% profit once you've paid for the infrastructure, but the payoff period is many decades. Nobody has that risk appetite anymore.

In Manhattan, under every street is a subway where you can put power cables, fiber optic cables, etc. The result is that there are a multitude of business ISPs around, because someone already dug a hole in the ground where their cables can go. The actual stringing of cables is a straightforward procedure; sure you need to buy trucks and cables, but that's a lot cheaper than saying "hey we're closing 5th Ave. for 3 months" and digging the whole thing up. The street was dug up once (in 1891!), and now nobody has to do it again. (OK, the tunnels are pretty full, but it's better than nothing.)

If every street were built like this, it is likely that there would be many more ISPs. The big risks are gone. (There is a secondary problem in that many people still like linear TV, and many TV networks are owned by companies that are also ISPs. AT&T owns HBO. Comcast owns NBC. So that would be the sticking point after there is infrastructure, and sure... have the government break them up. They'll probably be dead long before we have the infrastructure, though.)

The short term solution is probably to invest in better trenching techniques. I've heard of microtrenches, nanotrenches, and picotrenches. Maybe we need femototrenches where you just run a fiber to someone's house through their lawn and cover it up with tape where it crosses the sidewalk. It's better than nothing. But probably still too risky for anyone to attempt.
I don't quite understand why. OBS studio runs quite well unlike most electron apps I have used. Why make an electron version?
Within the EU, GDPR seems to have an interesting impact on how companies/organisations respond to cyber attacks like this: if they don't pay the ransom, the data is leaked, and they are now liable under GDPR and will likely have to pay a (very large) fine to the regulator for the data leak. Attackers are surely savvy to this, and should set the ransom to be slightly lower than what they estimate the fine would be, which 'motivates' the organisation to pay the ransom.

In theory however, even if the organisation recovers the data by paying the ransom, they should still report this as a data breach, and would probably be fined by the regulator even though the data was recovered, since the breach still occurred in the first place.

I'd be very interested to know the impact the new California state laws on privacy have had on UC's decision to (seemingly) pay the ransom; I'm not based in the US, nor am I familiar with the jurisdiction, but I imagine that this will have been taken into account and might explain why UC acted differently to MSU here.
Hopefully people will have an open mind reading my comment, however within spiritual circles it is somewhat known that many people can't tolerate doing any type of entheogen too many times; what that amount of times is and dosing where you lose complete connection will be subjective. I'm also not trying to suggest all changes that occur after going through such an experience is the act of "losing your soul or connection to your soul" - however that arguably is possibility at one end of the spectrum of possibilities. Some people seem fine doing Ayahuasca their whole lives, like shamans - whether they are now dependant on it and have regular access to it is another question, however other people through ego mind addiction (entheogens are powerful for breaking physical addictions, however are addictive for the mind) and force themselves into ceremonies or experience that they know they will regularly if not 100% of the time experience pure terror, not listening to their body's fear response for what it doesn't want to experience and is trying to guide them away from experiencing - instead their ego mind maintaining control and tricks them to continue; the body is inherently intelligent and part of the equation that needs to not be ignored to find balance and allowing your body's systems to guide you to optimal health, equilibrium.
JS is already largely a compile target. Aside from ClojureScript, TypeScript, ReasonML etc even human authored JS is usually compiled to more legacy browser friendly JS.
> This argument seems like it could be used to absolve anyone of guilt for using racist terms. "I'm not racist, that person chose to be offended by my statement".

Technically, yes. But what matters (should matter) in the end is the intent. (Did I say that to offend or did I say it because I didn’t know better?) What should matter is the intended meaning of words, not the formal appearance of words. After all that’s what language is about. Now, I realize this gets complicated once you consider that a language use that arose from injustice/bias continues to perpetuate that bias. But that is not the case here.
Learn that i := imaginary unit. From then on, every time you want to write the imaginary unit just write i.

Skip learning that i := imaginary unit. Write "imaginary_unit" every time you want to refer to it, for maximum clarity.

Choose the latter and now you have to write "pow(euler_constant, mul(imaginary_unit, circle_half_turn))". Does this sound "maintainable"?
That's the thing: this isn't "a database" anymore when it's used as an application file format, it's now "an application file format" that is conveniently also a sqlite db file so everything in it is trivially accessible.

Storing huge blobs then becomes a matter of "is this my data, or is this general data that I'm merely also making use of". Examples abound of both:

- Adobe Lightroom (a non-destructive photo editor) goes with "these are not my images" and leaves them out of its sqlite "lrcat" files, instead maintaining a record of where files can be found on-disk.

- Clip Studio (a graphics program tailored for digital artists) on the other hand stores everything, because that's what you want: even if you imported 20 images as layers, that data is now strongly tied to a single project, and should absolutely all be in a single file.

So the key point here is that, yes: sqlite files are database, but because they're also single files on disk, their _use_ extends far beyond what a normal database allows. As application file format, the rules for application files apply, not the rules for standard databases.
I'm just comparing the per stored GB cost of on demand database services vs on demand storage services.
> Fact is that the US government puts money over the very human rights it’s supposed to believe in

Big ol' citation needed.
Seconding Smaug123's question. I read the article through and can't understand what is meant to be insightful about it. Enlighten us?
Storing blobs is good if the blobs are what you actually want to store; the rookie mistake is storing blobs instead of the well-structured, meaningful, indexable and much more compact columns and additional tables that you should be storing but you are too rookie to to design.
My guess is that this was resubmitted due to this opinion piece the Washington Post ran yesterday:

https://www.washingtonpost.com/opinions/2020/06/12/tech-indu...
If you don't have the mental capacity to fill a form, yes I guess they are making it next to impossible.
I don't personally know anything wrong with it, but SQL queries are powerful powerful powerful, so although XML might not have any huge issues, in my personal opinion it is still sub-optimal compared to what is possible with SQL (at least for my uses, which could be very different to yours so take with a grain of salt). In particular, SQLite is a tiny executable with a HUGE amount of tests and is used very widely, so reliable for a lot of tasks as long as the data size stays relatively small and you caste your types properly.

SQLite also has a lot of tutorials and books and language support. I've used it with Python, C#, Perl, TCL, and Powershell with no issues. You can access it via the command-line or you can hook into it with a fully graphical SQL IDE like DB-Visualizer (I really recommend using an IDE for interactive SQL use). If your language doesn't have built-in or library support, even a novice programmer like myself can roll a few functions together to build the tables, update, delete, and run queries to analyze the data if you can run some system commands. It's a wonderful little technology that I feel comfortable reaching to when I need it.

One thing I've shied away from over the years are technologies which require running complex installers as it makes things more confusing and makes it harder for me to share with colleagues that aren't as interested in programming. Both SQLite and DB-Visualizer require zero installation. I just put each in a folder and then run the executable. This is really easy to use to me and easy to get others started too. Note that this is not commercial software, but internal business apps to help people do complex tasks easier. So you have a script that does some data processing pushes that data to SQLite and then the user can bring up DB-VISUALIZER, point it to the little SQLite .db file I created and then get to work. We have a lot of little apps like this and since most of our engineers are really good with SQL, they can do whatever they need efficiently.
> User applications with GUIs are almost never CPU-bound

I watch live streams of music producers working with DAWs and they actually end up needing to offload synthesis and filtering to multiple separate machines as they can't do it on one.

Also if you think things aren't CPU-bound then why do you think people spend hundreds or thousands of dollars on CPUs?
No US president has won the popular vote, because no popular vote has been held. The rules of the contest influence the number of people who vote.

I do agree though, health care data handling is probably too niche to get people diselected, most voters are going to be more woried about other issues.
And people dancing on large doses of Ketamine clearly have little brain intervention.

The K Hole must be the plug hole of one’s mind
This is the point of the Second Amendment: for when people feel safer with random dudes in bulletproof vests and AR-15s providing security than they do with the police.
I was a broke grad student so can't speak much to restaurants, although I know my foodie friends have lots of favorites in New Orleans (I was in BR). I was just fortunate enough to make some local friends with cajun families, and the dinners I was invited to were always a flurry of new foods, spices, etc. I got to try new things I had never had before, like okra or catfish or pecan pie, and there was just a very strong food culture.

This was all very different from the more "corn on the cob & chicken nuggets eaten in front of the TV" USA I had known until then.
Trump is part of a long-term movement to dismantle the press.

Remember when Dan Rather was fired? It was over a story that had been carefully researched, both with written evidence, and with multiple recorded interviews with corroborating eye witnesses.

The excuse for firing him was that out of the 1000’s of documents they’d gathered, a few were forgeries. The reality was that he criticized W within a few years of 9/11, and the press decided that was off limits. We ended up fighting a useless war because no one was allowed to question the executive branch. That led to untold human suffering, and eventually the rise of ISIS, etc.

Anyway, by converting to a propaganda engine dedicated to ousting Trump, the liberal press is actually helping dismantle our democracy. They may as well be endorsing him for a third term in office.
Reminds me how the TRS-80 Level 1 Model 1 BASIC interpreter had just three error messages:

http://www.trs-80.org/level-1-basic/

Error Messages

Level I BASIC had three error messages: HOW?, WHAT?, and SORRY. User’s Manual for Level I described the error messages this way:

In general, a HOW? message means, “I understand your instructions, but they’re asking me to do something that’s impossible.”

The WHAT? error message, on the other hand, means, “I don’t understand your instructions — either the grammar is wrong or you’re using words that aren’t in my vocabulary.”

The third and final error message is SORRY. It means “Sorry — you have run out of memory locations and must either cut down the program size or purchase additional memory.”
Ask HN: What are some legitimate startups working on frontier technologies?
I'm trying to keep an eye on startups that are coming up with some really legitimate advanced tech that solve real problems... I will be maintaining a list here:

https://github.com/nsingla/bookmarks/blob/master/frontier_tech.md
Depends, there is a bunch of Electron apps that work just fine as websites (e.g. Slack, Spotify, Microsoft Teams, etc. As far as I know). I personally prefer running those in a browser tab to both save resources and benefit from privacy enhancing tools like content blockers, etc. I would be curious to know how many of the Electron apps actually need these extra native APIs.
I also received a dose when I broke and dislocated my ankle. The experience was incredible, quite enlightening, despite the fact that most of what I could see was my pain as a sore spot on a multicoloured "wall". To sum up the experience, I felt like "I" was a disassembled geometric form, and my external point of view looked at the form and coldly contemplated, mostly, the pain visible on the wall.

It left a profound effect on me. Gave me a perspective about myself that I can't forget.

If it was legal and there was a safe way to do this again, I'd like to see how it's like when you're not in atrocious pain.
Is there a study or data that you could link to showing that frequently spreading white nationalist propaganda as widely and frequently as possible makes for better voters?
Despite the origin, I would guess most people associate the name to the fact that black holes suck up all light (with the color black being the absence of light), as well as how pictures of black holes show the color as black.
> Because of planned obsolescence.

The TL07x series op-amps along with quite a few others have been in continuous production for over 40 years. They are still manufactured by the million. When is the obsolescence you refer to planned for?
Posted to a site where it’s actually impossible to delete your account.
> (2) protein restricted diet slows down aging.

Protein/calorie restricted diet is observed to slow down aging in rats in laboratory conditions, i.e. which make no other changes to their presumably sedentary lifestyles.

Protein restriction in humans is only recommended if you have some chronic kidney disease. If I remember right, most people don't consume enough protein to need to restrict in this case either.
Sounds like there's some overlap between tinnitus and motion sickness.

https://www.researchgate.net/publication/335159616_We_'may'_...

http://www.tinnitusjournal.com/articles/tinnitus-improvement...
I was a product manager at a cloud computing startup when I decided I would enjoy an IC role more. I applied to a grad school, got a phd in deep learning and now I’m an R&D engineer at a deep learning accelerator startup.
It would probably be a bad idea to apply the criminal justice theory from A Clockwork Orange to the real world.
The Debian experience with this is that browsers have terrible client cert UX and are actively making that worse.

https://lists.sr.ht/~sircmpwn/public-inbox/%3Cf7599ba5de4864...
I am not certain why NYT published those articles but I am glad they did. I see it as exposing the dirt and muck-raking. I think it's up to NYT readers to separate what is a real ideological call to arms and what is giving bastards like Tom Cotton a chance to discredit themselves infront of the whole country.

Not my favorite new institution mostly because their reporting has become too linear and predictable. The articles added a nice twist that increased my trust in NYT.
This is quite a list, I was forced to think back and maybe reconsider at some of the naming choices I myself had made over the course of my career.

I found this guideline doc from Microsoft, linked in the original MetaFilter article quite helpful: https://docs.microsoft.com/en-us/style-guide/bias-free-commu...
Please no. This is an incredibly complicated file format that is not particularly well suited for file saving. It's also very slow ((edit: correction) ~10 transactions per second) if you aim for integrity, or unsafe if you tune for performance (~50k transactions per second, but if your program or computer dies half way, your file is hosed). So, keeping files up to date in place makes your ui janky.

You can work around it by working in memory and writing out a whole new database from in memory structures on save and then do the atomic rename. But if you do that, you are probably better off with json, protobuf, or similar. The libraries around these formats are similarly battle tested, but they fit the needs better, supporting working in ram fully and then saving cleanly and easily.
Seems very hard to seek in XML? And how would you update it in place? Also seems like it would be massive?
Windows has had that feature since at least IE5. The main drawback was that "installed browser engine" might in practice mean "whatever ancient IE version this user who disabled windows update is using". Of course that is now mostly solved, and e.g. iOS offers the same feature.

But if you want broad cross-platform support "just get the locally installed browser engine" suddenly becomes a hard problem, unless this becomes a popular OS feature.
Good tip, but I thought you were going to go a different direction with this. More like:

- Don't bother memorizing trivia. At least for work. Save room for the pleasurable trivia from your private life. Convince your team to set up a knowledge base and use it.

- Learn how to bookmark and reference stuff that is important.

- Almost nothing said in a meeting matters unless it is written down and most of the stuff that happens in meetings immediately evaporates into thin air.

- The palest ink is more reliable than the most powerful memory.
That's a fair point.

I will say that he isn't afraid of calling out the BS on the right.
From what I know, World of Warcraft does something like that on a conceptual level. Obviously syncing game state in non-action game like WoW is probably a little easier than something like a full blown action FPS.

https://wow.gamepedia.com/Sharding_(term)#Behavior
> PostgreSQL has poor performance out of the box

This is actually a valid point. They should start distributing typical configs for typical AWS-alike machines, current default config is for some underpowered machine from 90s..
> But within two minutes of administering the drug, the brain activity of five of these six sheep stopped completely, one of them for several minutes - a phenomenon that has never been seen before.

...

> “A few minutes later their brains were functioning normally again - it was as though they had just been switched off and on.”

Headline seems spot-on to me. What exactly is your gripe?
the reasonable assumption is that the CPU still mmap()es the file into the GPU’s address space, and then the CPU pages in data from the SSD as the GPU generates page misses.

You seem to know quite a bit about this - just wondering - how does this work? The GPU can generate PCIe bus traffic to do RAM reads or writes, but how does it cause a page fault in the CPU? Is this some kind of IOMMU? Is there any place I can read more about this?
Interestingly, dog is unrelated to that root proto-indoeuropean word.
Currently C++ is still a better experience, because using binary dependencies is quite common, so you don't compile the whole world, rather just your own application.

Then most organizations have staging areas where you can share binaries across the company.

And the two package managers that have been growing community support, conan and vcpkg, support caching and distribution of binary dependencies.

No doubt cargo will eventually get something similar, it just isn't there today.
Working copies on network file systems are a horrible idea. You detected problems because you were using SQLite, but are you sure you didn't have silent corruption with older Subversion versions?
An 8-Year-Old Boy Tried to Pay with Toy Money. It’s Now on a Swiss Police File
Ever since I was a teenager I've wanted a one-handed keyboard that I could use while walking around. Of course, at the time, I also had visions of a battery-powered desktop in a backpack and a head-mounted display.

I recall the FrogPad and other chording keyboards that I can't recall the name of, especially one that had switched surrounding each finger giving 3 or 4 switches to each finger without moving the finger position.

Anyway, even though I never got a google glass, the dream lives on. Except today the input interface that I would choose that's just out of reach is a subvocalization interface.
I have the advantage 2, it absolutely stays put thanks to some small rubber feet. It's very bulky, but I like that. It feels solid and provides great wrist support, every other keyboard seems to hit me with some sharp edges or require separate wrist support. I think it's near perfect, I just want them to make a version with blue switches or even better swappable switches.
Is anyone doing this in Javascript (via electron) and encrypting the file in such a way that the data is protected and not an obvious sqlite db?

I have some ideas on how to do this, but I'm curious if there's a "preferred" way to do it.