skysight-inc/HackerNews huggingface dataset:
Yes I agree, that's why function outlining is used for hot/cold splitting and partial inlining, in our case Machine Outlining is really dedicated to code size reduction.
Do bandwidth numbers really mean anything in a 10,000 person beta?

Unless they're artificially capping you, that bandwidth number should go down as the user/satellite ratio gets worse, no?
You thought right.

https://github.com/joaoh82/rust_sqlite
Voluntary or not, at least anyone has a degree of control over what governments do... Though that has slipped way too much in places.
Almost nobody has any control over billionaires, not even legislature apparently, much less taxpayers.
Somewhat related anecdote. Whilst we didn't get cut off, we found a huge drop-off in time to receive, and the quality of, support from our live chat/support messaging provider.

Having been a customer since our launch [1], and very early after theirs, it has been really sad and frustrating to see that friendly distrupter energy zap out of the service.

I get why businesses go through that changes like this during growth, but it feels like all the things to let slide, your persona is not one of them!

[1] https://mailosaur.com (somewhat related to the thread we let you test SMS messages)
I Love Irreproducible Research
Out of interest what evidence do you have for this and what would you recommend?
> I wonder if raise-on-== is a java-ism

There are two forms of equality in Java:

- 'x == y' is an identity check, like 'x is y' in Python (are x and y referencing the same memory?). These must be of the same type, or else it won't compile.

- 'x.equals(y)' is an overridable method, like 'x == y' in Python. Its argument is of type 'Object', so it will accept anything.

I don't do much Java these days, but I do write a lot of Scala (which runs on the JVM). One of the first things I do in a Scala project is load the 'cats' package so I can use 'x.eqv(y)' which refuses to compile if x and y are of incompatible types. This problem also propagates up through different APIs, e.g. 'x.contains(y)' checks whether y appears in the collection x (which could be a list, hashmap, etc.); this doesn't check the types, and I've ended up with bugs that would have been caught if it were stricter. I now prefer to define a safer alternative 'x.has(y)' which uses 'x.exists(z => z.eqv(y))'.
I can't say much for wxPython lib, but fixing high DPI support in native controls is the main focus of 3.2.0 and things look pretty good in 3.1.5 already IMHO.

I could understand if you wrote that the layout system is not powerful enough because it's too _simple_ -- it's really just a combination of 1D box layout and 2D grid layout that can be composed -- but I really don't know what could possibly be so weird about it.

Markup support is indeed simple because we don't want to write and maintain our own CSS parser or anything like this, but you can use wxWebView to have all the browser power at your fingertips.

Putting HTML into clipboard is a one liner with wx too (just use wxHTMLDataObject as any other data object).

More could be said about the other subjects, but these ones just seem like very obvious misconceptions, so I'd like to at least leave a record here to prevent the parent post from leaving a wrong impression.
You will need to have the database accessible for the process serving the web page and there's no way around that.

When using a database stored elsewhere, the config file will still contain the user name and password, but the user's permissions could be restricted in order to prevent access to parts of the data in the database.

In the real world though, 99% of all web sites run with a user with full permissions anyway, so if the site gets compromised, you're screwed regardless.
Hiring Senior UX Designer Cycloid
Here in Europe someone gave politicians the idea that they could control a virus. So now we have arbitrary sets of restrictions applied when case numbers of coronavirus go up. If case numbers go down again, they get relaxed. If they go up, add more restrictions are added until they go down. The restrictions are follow the case numbers, but we have convinced ourselves it is the other way around. It's a modern day witchcraft.
The way to get people to agree with legalization is to follow rigorous medical study procedures, not handwave about it being obviously fine.

For the record I think they should be legalized.
LOL So, in which tier do people get the HN support?
if you dont mind sharing, I'm curious what the methods + method signatures are!
I agree wholeheartedly, Mister ButtSpark69. For all our civilization's progress, we still have so far to go.
Rosetta only does user space emulation. Windows for ARM has a x86 emulator too though.
I fail to see how Rust solves any of the issues in ways that don't apply to C++ (the solution largely seems to be "don't use those features").
It will definitely be mispronounced if they misspell it without the accent (Coquí).

I understand they don't want non-ascii in the GitHub project name that turns into a directory name, but the one-line description contains an emoji so I would have thought they could have allowed themselves a Latin-1 character there, for the benefit of people who know some Spanish but hadn't heard of the frogs.
Maybe this has something to do with the fact that Windows doesn't have dark mode for the desktop applications in the first place.
It's a nice wrap up of why SQLite might be more powerful than one might think. And actually is suitable for more usecases than testing or client application storage. But imho the title is a clickbaity and not very accurate. The featureset of postgres has so much convenience that I do use in most web applications, like spatial queries and indexes (via postgis), trigram similarity, queryable JSON fields etc. Wouldn't wanna miss all that niceness.
Even aside from deliberate backwards-compatibility breaks in the standard, compilers sometimes break compatibility. Both MSVC and GCC 11 have changed their header file transitive includes within the past few years, causing projects (like doctest and Qt5) to stop compiling because they forgot to include headers, which built fine in the past but not anymore. IDK if it's "very common", but it's definitely happening in the wild.

MSVC: https://github.com/onqtam/doctest/issues/183

GCC:

- https://invent.kde.org/qt/qt/qtbase/-/commit/8252ef5fc6d0430...

- https://invent.kde.org/qt/qt/qtbase/-/commit/cb2da673f53815a...
Ah indeed, I am one of those painful macOS users.. the carelessness with which the mother company changes and/or breaks API's overnight still boggles my mind.
It's funny, I have some experience with Swing, from work, and I kind of like it, API-wise, so I toyed with the idea of JNI'ing my way around it... but it seems such a ridiculous thing to do for a super-simple GUI. Plus missing the chance of actually learning a 'native' (native as in code) GUI toolkit.
I remember playing with Qt (many) years ago and making a mental note to get back to it but a 2020 revisit turned into an exercise in frustration, couldn't get it to build anything (very likely to blame on my ageing XCode installation rather than the Qt SDK). But as you point out, licensing issues & overall maker's attitude need to be considered too.

The imgui's are quite neat. I like the fact that building one of the demo's (with an impressive array of widgets) sort of 'just worked.' That's impressive, these days!
Nice! I liked the GH dark theme, but I’m really digging the dark dimmed theme since it released recently.

I use Alabaster for light [0] and New Moon for dark [1] in VS Code, looking forward to trying the dark dimmed theme!

[0] https://github.com/tonsky/vscode-theme-alabaster

[1] https://github.com/taniarascia/new-moon-vscode
Our company phone system has several VOIP providers (including Twilio) as well as multiple inbound analog lines.

Two weeks ago, all of the analog lines stopped working, which are local numbers, but our main 800 number forwards to those numbers.

Calling the local provider was futile. The provider’s office was also experiencing the issue and could not receive calls.

Although we do have the 800 number on business cards, we quickly updated our website and Intercom docs to use a recently provisioned 800 number from one of the VOIP providers.

It took 2 days for the other lines to begin working again. This is the first POTS outage we have experienced in several years.
Has this happened often? Can you reproduce it?

I was under the impression that it’s very difficult to corrupt a DB file if you are using the SQLite API
I'd be surprised if they let it get much worse than this, because it would be a public relations disaster in terms of user experience. My terminal is in a 'cell' with a number of other ones, the approved locations for beta test sites seem to be concentrated in such a way that they are using them to intentionally stress and make changes in the time-slicing/contention between multiple terminals in a specific geographic area.
Git Risky Using Git metadata to predict code bug risk
If anyone is looking for an open source Windows/MacOS GUI for SQLite, this one has worked well for me:

https://github.com/sqlitebrowser/sqlitebrowser
Yeah, because everyone in the world want to be able to receive emails and not answer them..
Also, I'm getting my mails to their destinations just fine, from my home server, from my home internet, DKIM has made it a lot nicer, even gmail has never even once flagged me.
> In the real world though, 99% of all web sites run with a user with full permissions anyway, so if the site gets compromised, you're screwed regardless.

Yeah, I was kind of working under that assumption.
I tend to believe that unless proven otherwise, substances should be legal. The burden of proof IMO is on the folks who want to restrain behavior.

[edit] I don't think that producing a study that shows a lack of harm is going to change anyone's mind. The prohibition is puritanical and ideological, no amount of evidence is going to change that. I think if this was based on a genuine fear, the study would have preceded the prohibition. This feels more like running ourselves in circles to collect evidence, Lucy and the football style.

We already know the LD-50 of mushrooms is 17kg of fresh mushroom for an average size human lol.
Measures to contain COVID-19 exist globally and if you have great cosmic insight into the fact that they don't work, perhaps you could share that instead of sarcasm without any basis.
a { outline: none; } - Don't Do It
Ring tone as Morse code would be useful;
I've never experienced this within my 10+ years of working with SQLite. I've seen it a fair bunch with MariaDB though.
Most likely because they have done normal or high doses too frequently.
Nicely summed up
Friend was treated for "mental disorder". She was fine, except food allergy. If she followed this "bro science", she would be dependent on God knows what, with real mental problems.
I disagree. C++ often removes language features, standard library features (std::random_shuffle), etc. Also object files compiled with different standard versions often are ABI incompatible with each other, which means you can't just pick new C++ for new code, but its rather all or nothing.

You can argue that when it removes features it provides a replacement (sometimes), but that does not change the fact that if you have any reasonably large project (>1 million LOC), every standard upgrade will break your app.

One of the main reasons we write all new code in Rust and are migrating the C++ code base step by step to Rust is because Rust offers infinitely better backward compatiblity guarantees than C++.

Rust never ever breaks your code, and you can opt-in to newer Rust editions for new code only, and these are ABI compatible with Rust code written using older editions.
> It seems at first that it proves your point, but note that not everyone is vaccinated against HPV

The efficacy of the HPV vaccine in preventing throat cancer doesn’t refute the observation that practicing oral sex increases one’s likelihood of contracting throat cancer.

> I put this onto the high vaccination rates in that population.

I don’t think you can draw that conclusion from this data.

> The data is only from 2016, and in the 2013-2018 period there has been a big jump in vaccination rates in the 18-26 population

Can you provide a source?
> Eviction takes YEARS and it's just impossible in some situations (kids in the house), healthcare is free for all, personal debt is not as aggressive as here, unpaid debt is a nightmare to go afer.

That may be, for now, but the problems are real. For young people with degrees, wages are not comparable with those of Nothern Europe, and many end up living with their parents for years, in between poorly paid, insecure jobs.
Besides, in Nothern Europe also, the social benefits and indeed the whole economy can deteriorate.
Reminds me of the documentary about Addreal and it's prevalence in tech and other high-functioning people. It quickly mentioned (anonymously) a SV tech person that switched to microdosing mushrooms rather than Addreal, and how that made everything better for her (but the documentary cut short on following up her case).
If you wanted to recommend a less descriptive yet more commonly known word, why not use "error" or "mistake"?

Typo literally means the opposite of what the OP wants to convey.

A typo is when you pick the right word, but type it wrong.

A malopropism is when you pick the wrong word, but type it correctly.
> Is it me (...) or is Linus' tone vastly (...) different from what his previous persona is known to be?

Indeed, and I hate it. It's actually very scary, a creepy change in personality. Like the last scene in "one flew over the cuckoo's nest", where the main character is lobotomized and loses the spark on his eyes. Deeply, deeply troubling to behold. I wonder if the real Linus still exists behind all this or he's gone forever.
Since yelp and Amazon reviews are known to be mostly fake anyway, it might be a good idea to stop them. People can just go back to purchasing a testing magazine and reading the tests.
https://archive.ph/zgRUw
From what I can tell, Pylance is proprietary and intended to "extend/extinguish" the open-source VSCode codebase with Microsoft's proprietary VSCode binaries, but Pyright is open-source.
A web based desktop environment
my 10 months journey working on my own desktop environment for the web!
Again, these are not distributed high throughput applications. This is a database as a bank-end for single user applications or otherwise small-scale usage.
Would love to be able to have a database file system and be able to use standard Linux tools to query and make changes, back up, etc.

For example, having a folder of contacts with each file named after the person and having key/value pairs. Similar to how static site generators use YAML/TOML/JSON.
FWIW updating from 3.1.4 to 3.1.5 (and then to 3.2.0) should be pretty seamless.

The documentation does need work, but it's hard to find people volunteering to do it (although a few people do contribute to the docs too and this is something that is always very much appreciated). Any concrete suggestions for improvements are welcome as reports on https://trac.wxwidgets.org/newticket and, as you might have already realized by now, PRs to the docs on https://github.com/wxWidgets/wxWidgets/pulls are even more so.

Finally, asking questions (on the forum, users mailing list or SO) seems to work pretty well for most people.
If you're going to be this reductive about things, you might as well say every antidepressant and apparently also psilocybin does the exact same thing. Of course, being that reductive isn't useful and ignores a lot of the nuance that actually exists around the subject. Much like what you're saying.
Is there a tl;dr?

I honestly tried to go through this but didn't manage due to time. Truly interested in learning what's the essense and I will revisit another time

Edit:

I saw the author has put this outline

- Renaissance Life was Worse than the Middle Ages (super-compressed version)

- Were did the myth come from in the first place? (a Renaissance story)

- Why is the myth of a golden Renaissance retold so much? (a post-Renaissance story)

- Conclusion: We Should Aim for Something Better than the Renaissance
You misread. I didn't say that critical acclaim or popularity are measures for whether a book is good, whatever that means. I said that critical acclaim and popularity are distinct.
I agree but I’m talking tactically. Legalization requires convincing people that don’t think the same way, and the best method for doing that is by rigorous medical study.

The prohibition is puritanical and ideological, no amount of evidence is going to change that

Your insistence that this is the case is itself ideological.
How much of that went into their domain name?
> Several processes or threads may access the same database concurrently and read accesses can be run in parallel. Because the database consists of a single file, a write access can only be satisfied if no other accesses are currently writing to the database.

Which is perfectly fine for many of my sideprojects. I use SQLite and quite happy with that, but when I need to write to the DB I still prefer PostgreSQL
>HN seems to be OK with this.

They do seem to be judging by your (and my) downvotes.

It's not like anything ever went wrong in the past with things pushing experimental vaccines onto children.

https://www.sciencemag.org/news/2015/07/why-pandemic-flu-sho...

Add into this the fact everyone is basically being coerced into taking it by threatening not to be able to do things, the way this pandemic has been handled is an absolute disgrace. I have lost a lot of faith in the scientific establishment, and big tech even more as a result of this.
Thanks for providing a source, I was unaware that this was a recommendation by the WHO.
Perfect example of System D.

https://en.m.wikipedia.org/wiki/System_D
Judging by studies on long term use of other mind-altering drugs, I would expect psilocybin to similarly cause decline in cognitive abilities after prolonged use.

Unfortunately (or maybe fortunately), I could not find studies on effect of specifically psilocybin on cognitive abilities.

And please, don't bring up EmoIQ and other non-reasoning related stuff. This is not what the concern is about.
That's 99% of why I'm generally trying to avoid SaaS. I always run into some bug or nuisance or there's some account trouble and unless you're spending insane amounts of money, I've found support to be severely lacking, often answering support tickets with canned responses without reading the issue, or not answering at all.

I'd rather spend 100 hours upfront to have something that I know and can maintain than using a service, running into trouble and spend 50 hours chasing the support around to see whether they'd fix it, or worse, rely on their system, have it fail or be banned, and then having to spend 100 hours building a replacement, often while things are exploding left and right.

Relying on SaaS feels incredibly fragile to me.
I'm preparing it into a minimal open source project over the next couple of weeks. I'll post to HN when it's ready.

The simple explanation is that you set a postgres environment variable prior to each query. The Postgres row level security system looks at this variable and returns nothing if the ID in the variable does not match an ID in the table.

So I wrote a function in Django which intercepts every database query and prefixes each query with a postgres environment variable set command.

That's pretty much it.
So basically the first successful front/back submarine transplant?

tldr: They basically "stitched" one half of another decommissioned sub to this one to salvage it.
What's being taxed is the market valuation of the company, not its actual assets/equity.

You're taxing people of what other people think the company is worth, not on what the company has.

A good example would be McDonald's, its got a 170 billion market cap, but if you were to liquidate the company it would still owe money to creditors and shareholders would get zero
guayadeque https://github.com/anonbeat/Guayadeque

It looks different but I always found it to be very similar.

Haven't used it for long though.
One of postgres's most underrated features. RLS is amazing, can be unseen/basically work silently if your programming language-side tools are good enough, and is documented well (like everything else):

https://www.postgresql.org/docs/current/ddl-rowsecurity.html

But the power of PG is that it doesn't stop there, if you combine this with a plugin like temporal_tables and you can segment by user and time:

https://github.com/arkhipov/temporal_tables

All of this mostly unknown to the thing that's accessing the DB. If that's not enough for you, why not add some auditing with pgaudit:

https://www.pgaudit.org/#section_three

All this value is just out there. There's even more if you can stomach browsing "ugly" sites like PGXN. Most of it works out of the box, though you may need to tinker for performance and some edge cases but it's there.

I think it might not actually be hyperbole to say that Postgres is the greatest RDBMS database that has ever existed.
Yes probably, but the most upvoted example in this topic is about curing depression from lockdowns.

I don’t want to live in a world where the cure to depression caused by forced lockdowns is to take psychedelics. That seems very dystopian.
> Coming back to Umberto Eco writing, he described in "The Name of the Rose" Dominican friar Bernard Gui as some bloody, mindless, cruel madman, medieval version of Doctor Mengele. While the truth was exactly the opposite - he was a decent and educated man.

Education and cruelty are not in opposition. And decency toward some people or in some situation is not in opposition to cruelty toward other people. The same guy who was great diplomat and writer, could also convict 636 individuals of 940 counts of heresy. And that involved torturing quite a few people.

So even if he was more lenient then some other guys, if you are around the situation where he is torturing, he will come across as cruel, cause that is what he does.
Follow These 101 Self Help Tips to Find Your Motivation
I think the difference of a Database and a Filesystem is:

In a Filesystem you know where the Data lives, in a Database you know that it lives...but yeah with stuff like Ceph that view gets a little bit foggy.
I think this is a bit of a case of "Why use many word when few word do trick?"
New management badmouthing previous management, old story ...
If only they had usable C bindings so it could be used from more languages. Such a shame. Making it possible to use from Rust, Nim, Go would really give it a second wind of users.
> Having to kick up a fuss on social media in order to get service, how very 2021..

I'm kinda sad that the thread is about Twilio and not Google - my GMail account is blocked and I was hoping I could jump on the bandwagon.

Someone here should make a startup out of it.
I'm still amazed by this decision that dates from last year, and wondering why not re-use the full Saphir: if part of it is re-usable like this, why not use the full of it instead of cutting it and trying a challenging engineering repair of the damaged one.
Not all depression is attributable to environmental factors. If it is, the environmental factors is what a psychologist looks at with you. If it's not, you use some sort of medication to solve it. Reducing every kind of thing that you can get medication for that isn't entirely physical to a "mental disorder" is both dismissive and kind of insulting, which really doesn't help the point you're trying to make here.

Which appears to be that some random book has all the answers that somehow nobody else has really figured out. Oh, and there's an app!
My answer at https://stackoverflow.com/a/19358996/15275 dates from 8 years ago but it's still relevant.
The Newline Guide to Bash Scripting