skysight-inc/HackerNews huggingface dataset:
ASCII only source files should be considered legacy in my opinion.

I too prefer having function, variable and keywords in ascii as there is generally little to no ambiguity about what the character is or how it’s typed, but not being able to assign strings meaningful values in source code or add comments with meaningful and readable text for the domain of your program is an unnecessary burden.
CF gives you both behaviors, you have option to select which one you prefer.
I used to think this but I think society has figured out something better. It has figured out that many people can use drugs effectively and many people are worthless on drugs.

So what it does is that it allows you to use as many drugs as possible when you're something like a high-income professional and sort of criminalizes drug use among working class people.

Your "test" for being a safe drug user is to have a lot to lose.

Drug use is rampant in SF for instance. And I know lots of drug users: cocaine, MDMA, psychedelics.

I used to think "why doesn't society just make you post a bond that lets you act in a slightly more unrestrained manner" and now I've realized society does! You just have to constantly be in a state of having too much to lose.

Personally, I use shrooms frequently (I have some in my fridge right now) and LSD less frequently and MDMA rarely. All of these have been amazing eye opening experiences and I am a much better person for them. Thank God.

All a coastal California perspective of course.
Sqlite is awesome and just enough for many many uses. The thing I wonder if it will come or if its deeply embedded in the DB design are column types. Having everything as a string is the main difference with a standard DB for me. Maybe some optional typing could be enforced ? Anyway, I'm not criticising, being more than grateful for this awesome under the radar but cornerstone piece if tech, just like curl
I have zero experience with drugs, so I am wondering if there is a sugar/cigarette industry that put a lot of money into promoting it's products, then what will be different when drugs get legalized?

Won't we repeat the history where companies make billions from this products, put them into ads to spread the use and addict people, suppress research into bad side effects etc,.

Personally I think there are some good applications for mushrooms or marijuana but my instinct is that the greedy people would do what they do best, sucker people and make big money.
The drug has dangers, but they seem small compared to those of alcohol, even if largely orthogonal.

It got banned because it wasn't understood in the best case, to curb the counterculture movement from the 60s in the worst, but it's always been hard to justify it with medical reasons; it's been just tagged along with cocaine or heroin and made bad by association.
What about backward compatibility of games in consoles?
I wish themes showcased C#/C++ examples or basically any other languages besides JS/HTML/CSS combo... Every time I see a theme I'd like to try I proceed to install it, open up a file in both of the aforementioned languages and then I uninstall the theme due to some obvious things missing. For example in C++ very few themes highlight namespaces and their members in different colors. It's a damn shame really.
On the one hand, HN is terrified of brain-computer interfaces manipulating our brains and emotions, on the other hand, they're totally psyched about using mushrooms to do the same thing.
These vanity projects hold the potential to massively improve quality of life for people across the world. Look at the Starlink high-speed satellite internet network, and what that can do for internet access.

Energy generation could also become massively cleaner and more affordable with advances in reusable rockets, as space-based solar power generation affordable.
Sometimes there is simply no better way to convey one's ideas :-D.
But if there hasn’t been significant medical research, how do we know there are no long-term dangers?
Reads-wise I've done tests with up to 48 cores... It scales just about linearly. Writes don't scale much past a single core but really nobody asks for this so I haven't worked on it.

For fun I did a test benchmarking misses, getting 60 million rps on a single machine :) For my high throughput tests the network overhead is so high, that to discover the limit of the server the benchmark client has to be run over localhost. Not terribly useful; most people's networks will peg well before the server software. Especially true if your objects aren't tiny or if you batch requests at all.

I've yet to see anyone who really needs anything higher than a million RPS. The extra idle threads and general scalability help keep the latency really low, so they're still useful even if you aren't maxing out rps.

You can see tests here too: https://memcached.org/blog/persistent-memory/ - these folks might dismiss this testing as "not a cache trace", but I don't feel that's very productive.

Specifically to the cache traces though, that's just not how I test. I never get traces from users but still have to design software that /will/ typically work. Instead I test each subsystem to failure and ensure a non pathological dropoff. IE; if you write so fast the LRU would slow you down, the algorithm degrades the quality of the LRU instead of losing performance; which is fine since in most of these cases it's a bulk load, peak traffic period, load spike, etc.

I've seen plenty of systems overfit to production testing where shifts in traffic (new app deploy, new use case, etc) will cause the system to grind to a halt. I try to not ship software like that.

All said I will probably try the trace at some point. It looks like they did perfectly good work. I would mostly be hesitant to say it's a generic improvement. I also need to do up a full blog post on the way I test memcached. Too many people are born into BigCo culture and have never had to test software without just throwing it in production or traffic shadow or trace. I'm a little tired of being hand-waived off when they run in one use case and mine runs on many thousands.
> Least we forget they promised cheap international travel via rocket, without any safety mechanisms, that takes 40 minutes to get around the world, to start being operational next year.

No, they did not. The earliest date anyone put on that was Shotwell, who in 2018 said "within 10 years". So the deadline to miss is 2028.

I don't think that's particularly realistic either, at least for humans, but let's not invent even more wild estimates than what SpaceX puts out.
What's the tech scene like in aussie? It's very sad in NZ and I'm pretty keen to move somewhere where there's a larger local community.
If you have more demand than supply, you are not "leaving the money on the table" though. You just don't sell all of the company.
You are totally correct (and yay KSP!)

But the danger is the debris that is ejected from a collision at a lower orbit would then collide with debris that is at a higher orbit. The debris from the 2nd collision would have its original periapsis, which may be high enough to stick around for decades.
ULA's Atlas 5 at least has an enviable reliability record, so it isn't all bad.
if you consider the idea(may be its a lie) that everything is predestined than things are just happening its neither your fault nor anyone else's fault it is what it is, you don't have any control over your past nor do you have any control over your future, you can make effort but results are not upto you.
Think about this for sometime see if it makes sense and see if it gets you relief.
Postgres is the database I use for everything.

I find databases of all sorts extremely interesting and I've tried many of them, of all flavors.

In the end, I always come back to Postgres. It's unbelievably powerful, lightweight and there's not much it can't do.

Why not use sqlite? Here's one example - I like to access my database from my IDE remotely - my understanding is that remote access is not possible with sqlite.

Another example - multitenancy is dead easy in postgres, makes things more secure and makes coding easier.

Another is that Postgres had an extremely rich set of data types, including arrays and json.

Also Postgres is designed for symmetric multiprocessing which matters in today's multicore world.
This is the problem with SW developers: when something starts working they want to "improve" it until it doesn't work. See firefox for a nice example (it is so sloooow). (no i do not have an SSD but earlier it was reasonable. Now the change to rust is making it slower without any visible improvement in security- still have to update every couple of weeks because of CVEs)
It's trivial to move to EU but I don't see US tech people actually taking advantage of that, even though large proportion in theory supports EU style policies.
Cool article. I definitely agree that SQLite is the way to go in 99% of the cases you're making some kind of app.

I have often seen Postgres, MySQL and MongoDB in places where they were really overkill and added unnecessary network and deployment complexity. And upon asking the designers it turns out they simply didn't know about SQLite...

Small gripe in case the poster reads this: There's a malopropism in the opening bit:

> SQLite is properly the only database you will ever need in most cases.

Should be:

> SQLite is probably
I wish someone would write a set of shell scripts that overcome the hardships when dealing with SQLite databases.

For example, deleting a column is a pain in the ass.

A single purpose script "rename_column.sh" would be nice, which combines all necessary steps and gives some guidance regarding edge cases.
I don't believe drugs whether prescribed or recreational can cure Mental disorders. yes they may alleviate the symptoms but they don't really work on the root cause which are basically ones mental tendencies, thought patterns or habits acquired over a period of time. here[0] is a different take on what depression is and gives a high level road map to come out of it, for more details this [1] is a book by the same author and for testing out if those methods work here is an app [2] again from the same monk.

p.s i have followed all three & i must say the quality of life has improved considerably

[0] https://os.me/depression-definition-cause-and-cure/
[1] https://www.amazon.in/When-All-Not-Well-Perspective-ebook/dp...
[2] https://www.blacklotus.app/
Significant negative? Proper consent paper trail is derailment now?

Someone unable to handle consent forms should not be anywhere near medicine.

Perhaps someone should reevaluate how things are ran. Wild west ended with company towns and literal slaughter. Perhaps that is a good thing to avoid.
> when users want to go to the PWA, they look around their home screens forgetting that it wasn’t an app.

> users don’t know how to add it to their Home Screen, so they invariably type it in their browser everytime they’d like to access it, adding lots of friction.

Microsoft is fighting this. Google, too, to some extent. Change is coming.
At a wilderness park on Kangaroo Island, they have a cockatoo that has learned the sounds of a toddler crying and it is incredibly realistic. Apparently we were not the only parents to rush outside only to find our toddler and her siblings being entertained by a bird.
This article says you can back up your database by just copying it, as it’s a single file (and apparently copying it while it’s in use is fine?). It also suggests enabling WAL mode. But WAL mode means you now have two files. Does the use of WAL introduce any concerns while backing up?
The second half doesn't exist either. I want to disallow panic and turn it into an error at compile time. The panic unwinding would be replaced with an error check by the compiler.
No need to wait for competition to come along before we try to do things better.
I work hard and plough my own field. I don't concern myself with other people's fields. It took a few years of thinking for me to arrive at this conclusion :-)

https://www.biblegateway.com/passage/?search=Ecclesiastes%20...
That’s because people live in communities and families, even in the US. People are not just economic optimising units.
My downvote was triggered by calling reusability a business mistake which I find ridiculous. It drives prices down (new business), beats competition (gain market share) while creating a positive precedent (less waste).
Or is just a web-wrapper?

This is a solved problem.
> Rust string-handling which generally works for Europeans will also work for Chinese!

I doubt that is any more true than Java. You can easily write code in Rust that assumes you can split a String anywhere and get two valid strings, that you can compute the length of a String and get information about how long the printed representation will be, that you can find a substring in that string by simply iterating through UTF-8 code points etc. All of these assumptions are about as wrong in UTF-8 Rust as they are in UTF-16 Java.
It's missing quite a few, they may have omitted places which didn't have large sample sets?
It does not help that Middle Ages cover about 1000 years and very different civilizations. This is a huge span of history. From someone who was alive in 1500, the age of Huns, Avars, Vikings and Pechenegs was more distant than first spaceflight.

But Early Middle Ages were pretty bad in a lot of Europe, there is no way around it. The combination of large scale attacks and primitive agricultural technology was deadly.

Last year I read an article by Czech archeologists who excavated two old burial grounds in Southern Moravia. One was dated approximately to 850-950 AD, the other between 1100-1150 AD. They were just a few miles away from each other. Both were peasants' cemeteries. But the average age of the buried adults grew by 11 years in the meantime. That is a big chunk of extra life, caused by "less war" and "more food".
ESA just spent almost 4 billion $ on their newest rocket despite it being basically a incremental improvement over the Ariane 6 will parts that have been in development for decades.

I wouldn't trust their cost analysis. ULA did the same type of analysis as well. Funny how the failing competition is convinced that its the wrong move.

Unlike Arianespace, SpaceX is not a jobs-program. SpaceX is happy if they don't have to have so many people in the production at all times, as they have many other things that need to be worked on. Arianespace is the opposite, they get money to produce jobs, if they have to reduce production because of re-usability then politicians would get angry.

Also funny how ESA is investing 100s of million into re-usability right now and is planning their next rocket to be re-usable.

And at the same time basically all upcoming new launch companies like RocketLab and Relativity have re-usability as a big part of their strategy. Its as if they know that without re-usability they have no chance in hell of competing.
Using a light theme, when working at day and a dark theme, when working at night works best for me, I found.

macOS can switch it‘s theme automatically, depending on the time of the day.

Some editors, like TextMate, support automatically changing their theme accordingly.

If you use it: George Nachman, creator of iTerm, announced it will also be able to switch its theme in that manner.

I'm sure other shells and editors support this feature too or will be.
Europe has long demonstrated that it's uninterested in competing in the economy of the 21st century. This is exactly in keeping with everything else they've done.
This is not about LSP but about Hindley-Milner. The return type influences the choice of function, not the other way around.

This is also not rust-specific. It is just someone learning how a new tool works, by pushing it to a boundary, then writing about the result. Both learning and sharing are a healthy reflex.

In the worst case, the author is one of today's lucky 10 000.Besides, the article made me realize an imperfection in my own understanding, so I am gratefull for having read it'
Less scientific research and collaboration being done is a negative consequence irrespective of any positives GDPR produces.

And company towns were generally good:

https://marginalrevolution.com/marginalrevolution/2015/01/in...
Private investment in public equity. Generally, yes, but it's negotiated arm's length yet opaque; in addition there's various consideration to the legality/optics/consequences of selling a (large) stake at a (material) discount to current market spot rates.
this is better than my fiber internet in los angeles
What can I pay you to help me fully understand if your perspective I'd relevant to my industry?
> most of the benefits of native toolkit like dark mode.

On which OS does dark mode work with wx? Certainly not with Windows... (which, as VZ points out, isn't wx's fault, it's just that no APIs officially exist for this - explorer.exe has dark mode, but that uses completely private, undocumented APIs).
"the most obvious and powerful tool we have." is not the same "if it worked then it would be useful in some cases".

Author makes extremely strongly claim and expects to believe it without any support.
Mostly luxury goods? I strongly disagree. For example - many industries use/depend on machines and tools made in Germany.
I’m no expert, but isn’t having your entire DB as a single file on the same machine as the application a security risk for a web service?
It temporarily breaks you out of your established mental framework. It's as if your raw consciousness viewing the world without any of the filters that we all use to tune out the noise. That's why the experience can be overwhelming and chaotic and it's useful to be in a safe place with a trip sitter.

I think the magic comes when you discover that something your default mindset was filtering out as noise is actually signal. With that insight, you can more easily make changes to your sober mindset.
Record yourself talking, watch, repeat.

It won’t fix everything you talk about, but it will certainly give you material to actually work with.

I spent several years as an english teacher and I coached people to learn how to speak publicly with confidence.
Why was it deactivated?
Right everyone who moved to SF obviously optimized for family
and quality of life.
If you want an super easy way to back up your sqlite database, check out https://litestream.io/

It will continuously backup your database to an S3 compatible service. There are very nice detailed instructions for various backends (AWS, Minio, B2, Digital Ocean) as well as instructions on how to run as a service.
They could. But there are also large potential benefits from state funded basic science, which all of these startups depend on, incidentally. Musk, Bezos et al are doing cool stuff, but they are basically parasitic on a system which provides the people and conditions in which they can operate.
Of course. And when multi billion dollar marketing budgets are put to work for weed and psychedelics, you can expect the same situation to occur as with tobacco or alcohol.
Perhaps, but it is a lot easier to take long term action on your mental tendencies if you don't feel the blackness closing in every second.

We have a long century ahead of us to pull out of the mental health slump we are seeing (similar perhaps to the physical health slumps following industrialisation). We will need many tools in the kit.
Why would you compare it to the US? The US has an order of magnitude more people. California is comparable in population. The right thing to do would be to compare the locales where you would spend time in each place, e.g. the violent crime rate in your neighborhood or would-be neighborhood matters most, then city, and maybe state.
> You just don't sell all of the company

The other option (more often used) is that you can raise more money at a higher valuation. You dilute yourself by the same amount as the initially planned raise, but you get more money and don't end up selling more/all of the company.
The latest version (3.35.4) adds `ALTER TABLE DROP COLUMN` https://sqlite.org/releaselog/3_35_4.html
Why, the next best thing after significant medical research, anecdotal research!

So far so good.
I think that's more true in America than it is the world over. Even in Europe where Mario is still iconic, it's not as pronounced as in America. Furthermore it wasn't always that way. Particularly in the 90s and 00s when games were really mascot heavy.
PhpStorm Crack v2021.2.1 and Activation Code [Latest] 2021
Unscarcastically. :)
Even with proper UTF-8, you'll get situations where you can insert a space in the middle of an emoji and split it into other emoji + unprintable characters. The encoding is irrelevant, you need proper Unicode support to avoid these problems.
Blindly concatenating any two byte-streams, irrespective of encodings, would also be an invalid assumption; however at that point you've got massive design issues.

You cannot concatenate any random 16 or 32 bit character sequences as the underlying byte forms might be Little or Big Endian stored. UTF-8 does not need that consideration, BUT you must know (or at least contractually expect) valid UTF-8 input; anything else is garbage in garbage out.

The LTR RTL issue... depends on if all RTL strings _must_ end with an LTR character; in your use case. https://en.wikipedia.org/wiki/Bidirectional_text

Your suggestion of delegating all concatenation operations to that is a safe default. Other options might also be valid, depending on the exact context of inputs and use case.
The exception should be gone, as it is literally empowering government . We do not have such exception in GDPR, and neither should we for police systems.

If the statistical or AI system makes a serious mistake in this area, consequences are even more disastrous. Their usefulness is dubious anyway.
Of course there is a way, but to be honest, I'm tired of dongles and converters and cables and chargers and such. I have so many of them.
So far in this topic, it’s been research of the “my friend said” kind. Which is even less reliable than direct anecdotal research.
Wait until you learn some history about how regressed!
That's unrelated to the fact that we are better off having these projects than not.

As for being 'parasitic', that goes both ways. Taxes are not a voluntary system, and much of the resources extracted are wasted and/or used to enrich rent-seeking insiders who are close to the government.
I mean, Minecraft was purchased for what 2.5 billion... And that was just 1 game, that had no monetization in it. Coinbase...these fuckers charge an arm and a leg in transaction fees. I believe the hype, that company prints money (and you get to pick your choice)....
The .wal file comes and goes, so occasionally things like rsync will fail if the file no longer exists by the time it tries to transfer.