skysight-inc/HackerNews huggingface dataset:
If your server or API can be exploited, it doesn't matter whether there's an auth layer in between. Your SQL server runs as a service to connect to, your sqlite3 file is a file that you need access to. They're the same kind of layer: you need to break through the server's security to ever get to them directly, and if your app gets hacked such that the hackers gain file system access, then:

1. You're fucked. The end. It doesn't matter whether you were using mysql, postgres, or sqlite3, or S3, or Redis, or any other server your app was connecting to: they can just look at your environment vars.

That's not going to happen "because you're using Sqlite3", that's going to happen because you used some obscure server software, or worse, rolled your own.

People really do seem to put too much faith into "it has a username and password, it's more secure". It's not: if someone has access to your actual server, they have access to everything your server has access to. Sqlite3 is no more or less secure than a dbms daemon (or remote) in that sense.
There are no conservative teachers who teach gay people do not exist.

There are very few conservative teachers who teach the Lost Cause version of the civil war. There are some debates within the historical community so it isn't really fully settled though. Many in the North were talking about the federal government trampling state's rights and they weren't talking about slavery so it isn't quite as simple as you make it out to be.

I assume you are talking about slavery when it comes to your last point? If that is the case there are no conservative teachers denying slavery happening in the US including the fact that some of the founding fathers had slaves.
> I've helped build sites for Nazis

Very weird to lead with this and then expect anyone to take anything else you say seriously!
New Miniature Heart Could Help Speed Heart Disease Cures
feeling bad for the employees who will have to work under Dogefather now.
> So if you should only marry to reproduce

Who said this?
Relationships are important, but this importance varies from person to person. What would break one (long absence of such) is a negligible detail for another. Its true that most folks are wired for some form of them, but some actually thrive in their absence and focus their energy easier towards their goals.

I personally am somewhere in between. I can handle loneliness remarkably well, way better than most if not all people I know closely (and this allowed me to do hard very positive actions in life), but that doesn't prevent me from enjoying occasional family or friends reunion. But I don't thrive on them and I am not sad/depressed when lacking them. I love my family just to be clear and especially my parents, very little to complain about.

For example serious adventures can fill this hole more than nicely. But now my kids are doing their best and the hole is overflowing a bit.
Right, yeah a new programming language is like driving a new car, you check for how it does all the primary concepts and learn about the one or two new concepts

Lots of recruiters and hiring managers dont see it that way
Personally speaking, I think it's kind of silly that this article neither mentioned screen resolution nor the font rendering differences inherent to various operating systems.
Nobody ever said it wanted to be mainstream. It targets a niche, quite blatantly.
But all browsers can already do this. Most people don’t enable that setting, however. Could either be because they prefer to see the site as it’s intended to look, or because they’re unaware of the setting.
I have nearly the same experience, but because I moved to a new company/job I had to make my change permanent. My jokes were getting in the way of being productive and so I started to bite by tongue when I think of something funny.

Now I save my humor for times where productivity is not an issue, nor is decision making or in the presence of others making decisions or being productive. This is the nice balance I have found. (it's been better for me at work in every way to make this conscious decision on a regular basis, still not easy, but worth it)
> A Russian submariner probably won't make a move without orders not because he doesn't know what to do but because there might not be a direct electronic report back at the command as to what is happening.

I don't know that much about submarines, but culture of following orders and not showing any initiative is so hardly entrenched in Russian military that it might be the other way around: culture influencing boat design.
> I promised to meet my nephew I never met before next Tuesday at 3 Av/E 117 St I never visited before.

You don't work with that as a single packet, it is just many tidbits of information. I learned you have a nephew, that you haven't seen this nephew before, that you never visited that place, that you promised to meet them at a specific location. So you add all of those things to your brain, that is equivalent to the sentence.

Storing that as a single sentence instead of breaking it up and storing the chunks seems inefficient, how is your brain supposed to find information like "when was the first time X visited 3Av/E117 st?" when you haven't filed it properly? And if your brain files the information properly, why do you need that sentence?

The recent cache can find those sentences, but your long term memories wont find it without proper indexing, you will forget a lot of things if you try remembering everything like that.
OpenAI's Contrastive Language-Image Pre-training model[0] used in constructing DALL-E family, but on its own generates NLP descriptions from images.

[0] https://openai.com/blog/clip/
The poison pill is the name of a corporate strategy that prevents Elon from just buying 50% of the shares in the stock market and doing whatever he wants. It doesn't mean the same thing as the board saying they would rather swallow poison than deal with Musk.

Therefore, the board engaging with his bid to buy twitter, and the two of them only negotiating that way, was the goal. So it's not a 180.

The board was originally hesitant to engage because even Elon Musk could have a lot of trouble raising $44 billion in cash. They didn't want to agree to a deal that didn't go through (like trying to buy a house without cash or preapproval). He seems to have secured loans to actually pay for Twitter, so now they are seriously engaging.
Yep it's about latency. Even 1ms can be unacceptable depending on the situation. We currently don't have an option for that other than going native.
What high-level language feature causes inherently increased register pressure?
For a cloud native desktopless system I was thinking it should not be remote desktop based. Is there a cloud desktop, that is a bit more like NeWS? I mean text rendering client side as HTML/CSS, image and video view via img/video tags. A sprinkle of JS to make it smooth and dynamic. With normal windows and maybe even a taskbar would be splendid. Possible X or Wayland integration, but as separate windows in such a system. Is there something like this?
Ask HN: What would you use for a Python REST API in 2022?
I've heard a lot of good things about django-rest-framework.

However:

1. I've used SQLAlchemy in the past and I liked it, and I'm not sure how well it works with Django or if the Django ORM is as powerful. Though at the end of the day I just want a simple mapper and SQL query builder, not necessarily the super high level DSL.

2. How useful is the rest of Django when only the REST API parts are needed? Is it easy to disable the unneeded parts? Is it easy to completely remove them from the distribution (primarily for security concerns)

What would you recommend for an average Python dev team?

Some of the requirements:

1. authentication/authorization with support for IdPs.

2. paging.

3. built-in security features preventing various injections and web attacks.

I know about Flask but it seems like a more barebones solution that has a longer ramp-up time, in order to find the right libraries that go together and make them work well.
Only he knows what he really believes. My point is merely that somebody can disagree with their spouse's politics without hating them for it.
VLC, fine. How do you transfer .ogg or similar files to your iphone?
Nah, you wouldn't have to quit. If you've got 5 years experience, even on non-cutting edge projects, the PhD won't matter. Sure, you won't be able to get any job you want, but there are lots of ML jobs that list a PhD requirement that will nevertheless jump at the chance to hire someone with practical experience.
No, it doesn't.

Boring Co's tunnel machines are just customized versions of existing machines. At best they are slightly faster than they base machines, and only in specific soil conditions.

However, as demonstrated by the Hawthorn and Vegas tunnels, the Boring Co machines are, in practice/in the real world, no faster than the non-customized machines, while at the same time yielding significantly lower quality tunnels (referring to the concrete shell built to protect the excavated portion of the tunnel).

And here's the crazy thing: if Elon had actually done his research, he would have known that the "automated digger" Boring Co plans to build already exists. They're just really expensive, because digging machines are built to-spec for each project based on soil conditions. These existing machines can be powered by multiple sources, though generally they aren't electrified due to the demands on the local power grid. In a nutshell, you'd have to build a dedicated substation to handle the electricity draw; the only reason Boring Co's tunnel machines don't is because they dig small utility-sized tunnels rather than large transit-sized tunnels.
Thanks! After I wrote that, I was thinking "more likely I missed it, than that this is the _one_ example where it doesn't exist" :P
I wish more "self-hosted" open source projects would support sqlite out of the box. It's honestly a little ridiculous to, for example, stand up postgres for a 1 person blog on a personal domain. Or even a 10 person mastadon or pleroma instance or whatever.

That said, sqlite used 'badly' can be quite frustrating. Home Assistant, for example, is usually set up on an sd card in a raspi and then runs an sqlite database on it that it dumps massive amounts of very redundant data into as json blobs. Pretty common to have it just randomly lock up because the sd card has trouble with that frequency of writes.
This is a great reply actually and does help to make me feel better. A lot of history's imperfections become lost in the distance.

Although I should say that my list of idols is short for this very reason. I don't think I ever imagine that the real people behind historical figures were as perfect as we imagine.

I think there's also an argument that we live in a time where a single person's failings have an outsized impact on the broader world because of how quickly their words travel. But the real impact of this is debatable. It's probably been said in every era that "this time is different."
Pay definitely doesn't increase by 600k+ as you go from senior to staff. Yikes. Are people larping on HN?
I agree, labelled loops are fantastic.

I don't know for sure, but I believe the JavaScript feature was inspired by Perl, which has had them since at least the v4 releases (1989-1993):

https://www.rexswain.com/perl4.html#flow
I've been disappointed after following scientists/engineers who's work I respect to find that they consistently tweet cynical, negative takes on inconsequential topics. For better or worse it really degrades my respect for them intellectually and has been one of those "don't meet you heroes" moments for me.
> If someone offers to buy all the stock and it doesn’t shift up to at least close to the offering price, then something is wrong with either public perception of the company or the entire stock market

There were doubts about the bid. Musk had no financing. Now he has financing. The market has moved.

If he’d come back last week with a “tee hee jk” tweet about buying Twitter, everyone would have taken it in stride and then mocked those who bought the rumour to get run over by the news.
It wasn't a troll, that is true. It was an attack. He wasn't making a generalized accusation, he levied it at an individual. Someone who had been critical of him. The saddest part is that he got away with it.
I don't know if that seems obvious. They were talking about twitter the social media platform... I can't think of a single thing twitter has got going for it outside of the size of the message, and the size of the message isn't a huge advantage considering often times users use image macros rather than text (which completely destroys the space efficiency) and you could easily just have, say, size limited facebook posts or something similar.

Honestly, I stand by my estimation that interplanetary communication will probably primarily be done over email.
Trolls, disinformation spreaders, and "free reach absolutists" are going to be thrilled with the megaphone Musk will provide them to drown out their enemies.

Welcome to Voat 2.0.
For my personal project I'm planning to use a VM with an SSD. Manually I'll use caddy to switch over to a new running backend service with readiness check.

As for scaling if I need it I can increase disk space for the app server or scale out horizontally/vertically. Don't need that yet so I'm waiting for more details in the future to decide how to handle that.
This is essentially the opposite of everything he's said about why he's looking to buy Twitter. It's all about him complaining that the "trolls and extremists" are being unfairly censored. He's all but said he wants to reverse Trump's ban.

There's no world in which Musk is going to be anti-trolling. The dude literally started this whole thing BY TROLLING.
Depends on the use case.

MS Office is just reskinning of older versions, so yeah an older version is fine, you can do okay if you are a music maker too I suppose. But when it comes to say video editing, you do need the new stuff.

A perfect use case for old hardware and software today is banks, some in my country still use XP and IE 6. It just works, and it is not connected to the public internet so there is no issue of security.
I'm not saying he would be able to tweet however he wants, but perhaps a desire to do so, aka, to not have the SEC tell him how to communicate on a platform he bought for ~$43B. I just see it as a potential escalating standoff between the SEC and Musk.

Perhaps I'm looking too deep into this and he really does care a lot about other people having freedom to tweet whatever they want. I think there's just a good chance that the SEC ruling telling him he needs to have his Tesla tweets reviewed before sending them could also be motivating him to buy Twitter.
on the contrary, I think it's great. But I don't think it's beneficial for anyone when it's phrased as "looking for the best X", especially on things that are obviously not going to have a "best" thing, like fonts. Tradeoffs everywhere.

Don't you think a title like "A comparison of fonts for online reading" or something would be more fitting?
It's not being charged with terrorism, but you can go to jail in the Netherlands for insulting the King: https://www.bbc.com/news/world-europe-36799639

> The Netherlands' lese majeste law dates from 1881 and carries sentences of up to five years jail or a fine of 20,000 euros ($22,200; £16,700).
But it undeniably misleads the reader into thinking this person has held senior responsibilities since 2016, which is outright false, and may instill in the reader more confidence than is due.
I don't think he's that incomprehensibly stupid, really. The only question is whether the SEC has the authority to actually create pain for someone whose wealth is so outside of the norm.
Here is some more information, including a map with the camera positions: https://kontakt.svt.se/guide/den-stora-algvandringen
And it gets way more interesting when every care itself is a cluster, or node of sensors, and all of these sensors of the same type can form telemetry fabrics of all the families of sensor-types across the nodes.

Each a plane, and then ultimately being able to see the relationships of patterns of sensor groups. I wonder how that information will become useful?
True. I suppose he's stretched a little thin to continue chasing subsidies and needs them to come to him now.
> Welcome to Voat 2.0.

Or Reddit 1.0? That's what reddit used to be, and reddit got quite popular when it was like that.
Interesting rabbit hole, I can't find any detailed reasons why co2 is better or not to use LN2.

LN2 might also then be too cold and affect the temper of the steel, or it might evaporate too quickly, requiring a lot more mass than co2. Or maybe it could be a perfectly fine alternative but the co2 pellet systems have market advantage.
I've seen two options floated:

- replace RSUs with cash payments on same vesting schedule @ equivalent of final sale price

- keep RSUs despite being private (apparently SpaceX issues RSUs just fine & has regular liquidity events)
> No disinformation about a global pandemic

And what exactly constitutes misinformation? I think this is the problem.
You don't see the problem in working 16+ hours a day considering the average person needs 8 hours of sleep and needs to ingest food?
I have bought synergy, and it's great, but as you say, it doesn't meet my needs anymore. I would really want to keep just main monitor(s) connected to the main laptop. Good suggestion though, I wonder if something could be worked out with it.
No, it's not. If you get lucky with stock market movements, that might be your total annual comp, which is not your wage. I made close to what you're claiming at senior level, at the recent peak of stock market insanity, but I'd stick to the dictionary definition of "wage."
There's no amount of subscription revenue that will approach even a small fraction of ad support. That's a pipe dream.
yes exactly!
China’s lockdowns could help Europe’s energy crisis
I think it was more than just they didn't believe Elon had trouble raising the cash. They liked being in control of Twitter and getting easy money as board members, and didn't realise that they can get personally liable for billions of dollars of loss for shareholders and go to court for years if they don't at least consider the offer and seriously evaluate whether the offer is worth taking for Twitter shareholders or not.
> Most other CEOs speak corporate lingo. Have you heard Satya Nadella or Sundar Pichai speak? It's like their words make a visit to the PR office before leaving his mouth.

Sure I did. I also use their products every day and so do billions of people ranging from Downtown Manhattan to subsaharan Africa.

Meme Lord Enron Musk instead managed to get Tesla to account for a paltry 1.3% of all cars globally sold in 2021. He won the lawsuit to obtain control of Tesla in 2002. That's 20 years. 80 quarters. If my math isn't wrong that's 0.01625% per quarter growth rate. Amazing.

Oh an there is a small detail that they are rich people's toys. Badly refined rich people's toys I should add.

But hey at least he post memes just like all of us plebs /s

Look, it's fine if SV wants a politician they can identify with, but at least you guys should come out and say it openly instead of hiding behind the veil of him being a "businessman".

Businessmen don't behave like Musk, politicians do. Autocrats to be precise. He's SV Donald Trump.
And the new concept is property owner can be of any gender so change the word that points out to one particular gender. When did change become so difficult in this society? Ha!!
I'm definitely not in the "seen it all" phase but I recently, on a whim, got out a pen and paper and started what I thought would be a quick one page letter. 8 pages later I realized the act of writing was as important as the content itself. And the receiving side seems to have shared the sentiment; the interaction, slow and async as it was, had a depth of meaning I wouldn't have anticipated. Kinda hippie dippie and all but true nonetheless. :)
Even more obvious: Good relationships provide for a higher level of care and support. When health trouble arises, a devoted partner's presence (to identify issues and encourage action), care (when self-care isn't possible), and advocacy (within our challenging healthcare system) can make all the difference in the world.
One thing that really excites me is concurrent writes -- I was poking around the project, and I've seen drh has been working on this for a bit now. [1] [2]

I believe the high level approach he's taking is essentially:
1. Concurrently execute the multiple write transactions in parallel.
2. Sequentially write the changed pages to the WAL. *[3] If a previous transaction causes the next to compute differently (conflict), then rerun that next transaction & then write.

The way to detect if were conflicts is essentially:

1. Keep track of all the b-tree pages accessed before running the transaction
2. Check the WAL if any previously transaction modified one of those b-trees. If so, this means we have to rerun our transaction.

I've seen it done in software transactional memory (STM) systems as well. It's really beautifully simple, but I think there are a lot of devils in the details.

[1] https://github.com/sqlite/sqlite/blob/9077e4652fd0691f45463e...

[2] https://github.com/sqlite/sqlite/compare/begin-concurrent

[3] * Write to the WAL, so that parallel transactions see a static snapshot of the world.
I see a lot of it in the academic AI world, mostly because as students move from Python (study) to real-world deployments, they need to convert to C++ for performance. Hence, over the past decade I've seen C++ start to look more like a transliteration of Python, and be used that way.

The fact that TensorFlow on Python can use GPUs/TPUs is a no-brainer, but that only works in the server center and not in the field.
The Poison Pill plan was from the Board, to stop Musk from following through with a hostile takeover. But Elon reportedly convinced numerous large shareholders of his plan[1]. Even if the Board isn't a fan of it, the Board of a publicly traded company is ultimately beholden to their shareholders, so if the shareholders are convinced, they need to consider it.

1. https://www.reuters.com/business/exclusive-twitter-under-sha...
I see it as a workplace version of a lot of the underpinnings of Strunk & White's Elements of Style:

Strive for clarity and unambiguity.

Jokes are by definition, the opposite of this. The humor of many jokes is found in the ambiguities of language and circumstance.
Ford is on track to deliver 1.6 million cars this year. Tesla is doing 300k a quarter with two factories and about to open two more factories. Volkswagen is targeting 2.4 million this year. Consensus from the street (not provided by Tesla) is that Tesla will deliver around 1.5 million as it works through the Germany and Texas ramp up.

You may want to true up your perceptions.
Don't reverse an argument and expect it to still hold up, because it doesn't. It's the other way around: if you don't have lots of money, you don't have this kind of "toy" gear (because this is a --super cool, wish I had a use-case for it-- "because I can" piece of kit). You first buy the stuff you (or your band) actually needs. Including a decent mixer that doesn't break the bank. There are lots of perfectly decent <$400 mixers to be had.

And if you are a professional (EDM or otherwise) musician and you have regular gigs, you probably already spent some money on a better-than-$400 mixer and you're still not going to use this device because you have more a reliable TRS+XLR mixer for your live gigs.

This device is just for "toss in a backback, and have fun" (either alone on the go, or hanging out with other musician friends). Unfortunately, and necessarily, very expensive fun.
I have tried that too. my issue is that I would prefer some work to be done on another machine. in that case, the "work" would be just 5 electron apps and some extra apps just running.