skysight-inc/HackerNews huggingface dataset:
> we need to implement a caching scheme to at least amortize the overhead of this sort for pathological cases. Still, we will need to trigger the sort even on a single read as you say. So there's a pathological case there -- listing one item from a ginormous directory -- that would run much slower than the native/nondeterministic version.

Actually, I just thought that if you decide to go down this path because of this specific pathological issue -- the cache that you're mentioning could simply be a file that Hermit maintains to represent a sorted view of a directory (and which could be deleted after Hermit finishes running if you so desire, although you could keep it in-between runs with some care!).

So you'd only have to pay the cost of reading the entire directory once per directory that is read -- specifically, on the first time that some program reads it.

You could even pre-generate such cached views for all directories in the container once Hermit starts, if you'd prefer to pay this cost at start-up (although I don't see why).

All subsequent operations relating to a directory could use the corresponding file as a cached and sorted view of it (and such operations that modify the directory would have to keep the file in sync, of course).

So even if a program reads a directory, then closes it, and some other program opens it and reads it, this second read would use the cache file instead, so it would not have to read the whole directory at once.

This would be even better for directories that are created by programs running inside Hermit, since the cache file would be created along with the directory when it is initially created, so there would be no need to read the entire directory at once at any time.

It would also mean that Hermit wouldn't have to potentially use large amounts of memory just because of this cache, or "forget" entries from the cache while it is running (to limit memory usage), since it would be stored persistently on-disk (and would still benefit from in-memory caching from the underlying filesystem / kernel).

Just an idea.
>I really started doing new things with a machine once I had my own and could run 12 hour jobs overnight.

You are exposing yourself to fire risk by running a hobby machine unattended for any period of time, and you are compounding it by not being conscious.
> The problem with the “big switch-case” approach is that C/C++ compilers simply cannot handle such code well.

Is this the case with Rust?
Could use little-endian numbers to avoid this: 0000, 1000, 2000, 3000, …, e000, f000, 0100, …
People will screenshot the ad, and post complaints about it on Twitter. Asking why brand XYZ supports <abhorrent thing> and calling for boycotts. Surely that connects the dots well enough to see why a company would not want this?
while(1) {} is the universal program to do anything. You can then optimise performance later.

Interestingly in Haskell the only pure program of type variable “a”
where a means any type at all is the one that never quits:

myProg: a

myProg = myProg

Which amounts to the same thing: it can do anything - produce any type - but it takes literally forever.
Because there's no intentionality involved, and it's unlikely to escalate into a military conflict. "Ukraine fires an S-300 at a Russian missile but it misses and kills a couple people in Poland" is a tragic accident, probably newsworthy, but not in the same way as Russia or Ukraine deliberately launching missiles into Poland would.

I think Russia deserves most of the blame for this incident, since it wouldn't have happened if they weren't trying to destroy their neighbor.

Zelensky continuing to insist the missile that hit Poland was launched by Russia would be news I suppose. I think that's what he was saying early on, but I haven't been following the story; maybe he gave up on that once more information came out.
Reading the responses to this, its clear this generation of crypto is doomed
I've worked at high-documentation companies and low-documentation companies.

Documentation is hard to create and hard to maintain. It is essentially a simulation of an underlying reality, and that underlying reality *always* changes faster than the documentation can. So the documentation ends up being spotty, except for the parts that you find a way to automate. It's hard to automate all documentation, since so much knowledge is trapped in the analog world, and in peoples' minds.

Companies like storytell.ai are trying to solve the problem of creating documentation and written artifacts automatically out of Zoom recordings, etc. Others, like WeRice, are trying to create it out of videos of maintenance work done on equipment in the wild. I respect both efforts a lot. It's a hard problem to tackle.

* https://www.storytell.ai/

* https://we-rice.com/
What benefits does it bring to writing gems?
Building “CoreTable” and the Our World in Data “Data Explorer”
This is true. If people think their jobs are pointless then perhaps they actually aren't. Also perhaps for some people in a dark headspace every job seems like BS.

But also if people say their job is useless it might very well be.
And maybe people don’t appreciate this but on Twitter, brands are totally dependent on Twitter HQ to moderate this content. That is because all the replies are tweets as well, and you can’t delete other people’s tweets.

On Facebook, in comparison, you can delete nasty comments on a post by your brand. Brand safety is far more in your own hands there. I think this is true on LinkedIn too, although I’m not certain. In general it is a much “cleaner” place because of the focus on real names and career content.
Depends...you could rebalance to stay up forever, but just slow anything new at all.

Your biggest issue is the data center. A lot of folks forget about this stuff, but hard drives are constantly dying, servers go bad or crash, heck even the ac needs maintenance (though that's contracted out I'm sure). None of that is glorious, but it's critical. The major systems are very very reliable in the face of a few hardware failures, but give it a couple of months of falling behind on maintenance and it would all crumble.
This appears to be a Jetbrains equivalent to the aforementioned VSCode plugin (I haven't tried either so can't speak to feature parity):

https://plugins.jetbrains.com/plugin/17756-copy-git-link

Edit: I just tried it, works great! Happy to have found this plugin via this post as I often open up Github just to link someone to a particular line of code I'm looking at in my IDE
If I've got something that needs an hour of care every week by a sales person, https://xkcd.com/1205/ puts it at about 10 days (two weeks) of work to make it more efficient.

However, if shaving that 1h a week off takes more than 10 days of work, it is probably better to leave it as it is.

https://www.fincher.org/tips/General/SoftwareDevelopment/Bug...

This bug tracking works on Pain / Effort / Frequency and Risk / Effort / Verifiability

Realizing that I'm making up numbers here (and you can make them up too for the story we're telling each other):

Pain : 2 (low pain)
Effort : 2 (low effort)
Freq. : 4 (fairly often)

We've got a PEF of 8 there. Note that this is the pain for the hypothetical sales person - not the pain for the end advertiser who the sales person works with.

So, what's the risk of making the change to make it so that the sales person doesn't have to do that 1h/week task? How much effort does it take? How easy is it to verify that its actually working?

And so now we've got bugs where we can put them on a grid and say "these fixes are the low hanging fruit" while "these other ones are risky and don't get us much."

Its quite possible that that this issue would never get into the "this is painful and so we need to do the analysis for it" or "this is low hanging fruit that can be fixed and have a big impact on 'stuff'".

Nonetheless, you've got something that takes 1h/week from someone who knows what they're doing with their accounts... and they're not working there anymore. Even in a perfect org, this could fall apart rather quickly.
This post seems to suggest that the demand for Elon-Twitter failure continues to outstrip supply.
Oh my god, that font.
People should be able to do anything they want as a job especially if they have a predisposition to that thing as a deep interest. Coaching and mentoring and psychotherapy can get someone like that to be a very reliable employee but that never happened for this person.
It looks like a bankrupt Twitter, most likely.
I don't know what to tell you.

Can't let them get away with it!

Who is them? Who is this collective them?
They had figured it out to the extent that there was moderation. I’m not saying the old approach was the right one, but brands need to understand what will and won’t show up next to their ads. Right now, could be almost anything.
You should read about what happened to the Dixie Chicks in 2003. It'll blow your mind.
Yes. In some competitions about ten years ago in ex-USSR it was typically Windows + Far Manager (maybe some other stuff, but not always), in international competitions it was some flavor of Linux with a stock KDE (hence Kate) or GNOME (hence Gedit).

No professional IDEs almost certainly (no license to use), and the set of free IDEs depends on what organizers like: some installed NetBeans, some installed Eclipse CDT, some did both, some did neither.

No external resources like configs and plugins are typically allowed either.

Of course, it depends on a competition. I'm mostly talking about IOI (International Olympiad in Informatics for school students) and ICPC (International Collegiate Programming Contest). Online competitions are another beast.
Spoiler: He mentioned the old Visual Studio (not VS Code).
How is this "safety net" relevant? Literally millions of people in America have same or better "safety net". Are they some kind of lazy losers because they haven't earned billions like Elon had?
The power use could be something like less than 1% battery a day though - I have smart home thermostats that are “on the network” all the time but run on battery for months, and that’s a much smaller battery.

That’s a reasonable thing to think about if you’re a wifi driver engineer. It’s not reasonable if you’re a hobbyist responsible for a single install in one laptop. It’s not really advancing the state of the art here.
I generally agree that a positive culture lets people focus on their work.

I don't agree that a negative outlook should automatically dismiss someone or their ideas. That's seriously crazy toxic. Some of the best work comes from frustration and it's totally worth it to dig into that resource when you have problems being swept under the rug by maliciously cheery people.
Hoover dam kind of gets hit twice; not only is there less water moving through the system, but they've let the water levels drop to the point where the energy they could get by running, say, three gallons of water through the system now requires them to use four gallons because the altitude difference is less. (I don't know what the exact numbers are.)
Twitter had whole teams who did nothing but make brands happy, including dealing with their many requests for moderation.

Needless to say, those folks did not write much code and many got laid off. Others quit.
MacOS and iOS/iPadOS come with both Notes and Reminders, free, sync across devices. Works great for me.

Windows and multiple mobile platforms have Microsoft To Do, also free.

Google offers Tasks, free, cross-platform.

An easy Google search will find many free to-do list apps.

Where are the "great apps?" I suppose that depends on your definition of "great." The apps I listed and many others easily available do the job of maintaining lists. A spreadsheet can do that as well.

What makes a to-do list app "just bad?" You should list your requirements, what you've tried, and why those don't work for you rather than just dismissing every app in what looks like a pretty full stable.
I believe this is added with the "GitHub Pull Requests and Issues" extension.
I usually find what I want, but I think it's interesting that they have started to weave in kinda-irrelevant stuff--videos I've already watched, and other classifications like "Channels New to You", even stuff that's completely unrelated to the search term in many cases.

It seems like they are now treating the search results page as an interest-capture page, rather than just a query-results page.

So: I wonder if people on the YT team realized that a certain number of users are, for example, bad at searching. Or they just don't find what they want. So they're more likely to leave maybe. In such a case maybe they like seeing something they _like_ in the results anyway, and they stick around longer as a result.

Or IOW, maybe they were losing traffic because, broadly speaking, a lot of people search, get the traditional query-style results, then leave.
And likewise, it's easy to keep a service "Up" if you don't deploy any code changes. Unfortunately, feature launches, bug fixes, one-off backfills, and all the other nonsense that comes with actually running a business tends to require deploying code.

You can fire everyone and fully re-staff the firm, and eventually get to the point where you can do all of those things safely. But it's going to take a hell of a long time and downtime to shake out all the things that can go wrong in the myriad of unplanned interactions between different services.

I don't expect Twitter to crash and burn in the sense of the website being down and not coming back up. But I do expect feature velocity to grind to a halt, until all of these self-inflicted wounds are staunched.
Judge rules Jen Psaki must be deposed in lawsuit over 'collusion' with Big Tech
Sure, it is easy to invent fantastically silly uses of money. Is that what is at issue?
And for those on Windows and Linux, a somewhat close alternative for Preview is Okular - https://okular.kde.org/en-gb/.
The spike of the virus was always a bad target and that was known at the beginning. Some have posited that it was an "easier" target for which to create a vaccine but I have not seen compelling evidence why. Others have suggested that it was chosen because no one gets rich selling a vaccine that actually cures a disease after the first dose.
/unsubscribe from response evaluations
Hm. Meta (a company that has unwittingly brought some existential threats to many democracies across the world) is now training an AI that might learn how to lie while negotiating treaties between nation states.

What could possibly go wrong?
If we use natural gas to cover the occasional demand-supply gaps, we can end up needing only 10% of the natural gas we need today. If that's all the emissions we produce, we are well into negative net emissions territory.
It can, yes, but the snap back should always be accompanied by feedback to allow the user to understand what happened.

There are pitfalls (what if the user thinks a setting saved and closes their browser, but it failed after they closed the tab?) which are addressable but it takes work and complexity. I think optimistic UI can be helpful. Generally speaking it’s a layer of complexity I’d tend to try to avoid, though.

Tools like Relay for graphql come with excellent implementations of this which I’d say are worth using if you’ve adopted the library, for example.
I wonder why the target was 5.1 since 5.4 has been out for a while now?
Ah, yes, that belt sander is totally out to get ya if you don't have gloves, and that nail gun is gonna kill you without googles lmao.

> Also the structural integrity and endurance of those constructs seems a bit questionable.

Eh, I've seen shacks built worse in worse climate that are older than me.

Aside from some things being a bit weird (why those protruding concrete blocks for wood beams instead of just digging a hole for concrete + sticking beam deeper ? Humidity maybe ?) I don't really see an issue, it looks like it is in place that won't exactly experience hurricane winds

> This seems very staged to me anyway, with the result not matching to the process shown.

Well, it was probably like a week long build so some things were skipped
Something like Twitter can run with 100 employees and a few thousand offshore content moderators.
I don’t understand why more companies don’t just go all in on Slack as the interface to their knowledge base. There’s tons of integrations to enable it. Every place I’ve worked at with Slack has the standard 90 day retention policy in place which makes it impossible.
This is exactly what someone says before building their own.
A lot of this is a self fulfilling prophecy. There are many people who don’t want the “new” twitter to succeed and being vocal about it will result in advertisers leaving the platform making the whole thing collapse in on itself.

Twitter doesn’t have a valid competitor though (no mastodon is not it) so Elon might end up pulling it off. I hope he doesn’t though and I’m going to do what it takes to influence that decision.
Idk, I think I use bookmarks similarly to how you use tabs. I don't organize them but I do eventually delete them, just as you eventually (I assume?) close tabs.
Hey, what's your gaming niche?

I've been trying to hunt down decent iPhone/Android games with decent polish/production values and no sinister monetization, but it just isn't working out.. Not counting Apple/Google/Netflix subscription options, I've only found maybe half a dozen games that are high enough quality that they could make it on a game console or PC.

I feel like this is an untapped market again, since some of the most successful and most popular games out there treat their customers with respect. Or at least, did at one point. The issue is that there's no way to discover games like that for customers, and no funding from publishers to make them.

(I wish I had some clever idea about what to do to re-energize that market.. I was thinking to make a review site a la TouchArcade, but I have no idea how to get it to take off and there aren't enough games to fully populate a site like that)
To be fair, you can pretty easily destroy any size speakers by overdriving them. Your amp doesn’t magically know what’s on the other end of it.
Do :sp and :vsp work?
So many things to try. Many good suggestions already. A couple more:

I meet with an adhd coach, he essentially plans my week for me. The plan often falls apart after the first 2-3 days but it is enough to keep my life from falling off the rails. Something to consider.

I see in some of your other comments that you have a caffeine sensitivity — I do too; I started diluting coffee to something like 1:50 and taking 2-3 sips in the morning. Otherwise I get in a stress spiral all day.
I personally have not had a lot of performance issues with the base RimWorld game after a patch that was released targeting performance a year or two ago. Much more often it’s a poorly optimized mod that causes issues.

I don’t often play very far into the insane late endgame though (200+ colonists/raiders on the map at once etc). I could easily see it being a problem at that point.
Turns out I have access! Here is an answer by text-davinci-002:

There are a lot of factors that go into choosing a database, but the two most important are:

1) How well does the database scale?

2) How easy is it to use?

Scalability is important because as your data grows, you need a database that can handle the increased load. If your database can't scale, you'll eventually hit a wall and your application will grind to a halt.

Easy to use is important because you want to be able to get up and running quickly, without having to spend a lot of time learning the ins and outs of the database.

With that in mind, here's a look at the major databases and how they stack up:

Relational databases:

MySQL:

MySQL is a good choice for small applications that don't need a lot of scalability. It's easy to use and there's a lot of documentation and support available.

However, MySQL doesn't scale well. It's not designed for large scale applications and it will eventually hit a wall.

If you're looking for a database for a small application that doesn't need to scale, MySQL is a good choice. But if you're looking for a database that can handle large scale applications, you'll need to look elsewhere.

PostgreSQL:

PostgreSQL is a good choice for small to medium sized applications. It's more scalable than MySQL, but it's not as easy to use.

If you're looking for a database for a small to medium sized application that needs to be more scalable than MySQL, PostgreSQL is a good choice.

Oracle:

Oracle is a good choice for large scale applications. It's very scalable and it's easy to use.

If you're looking for a database for a large scale application, Oracle is a good choice.

NoSQL databases:

MongoDB:

MongoDB is a good choice for small to medium sized applications. It's easy to use and it's more scalable than MySQL.

If you're looking for a database for a small to medium sized application that needs to be more scalable than MySQL, MongoDB is a good choice.

Cassandra:

Cassandra is a good choice for large scale applications. It's very scalable and it's easy to use.

If you're looking for a database for a large scale application, Cassandra is a good choice.
Those teams help grow revenue. The more help they give, the more the advertiser is likely to increase their spend. They do a lot of heavy lifting to help educate ad teams about about new ad products and software changes.
They are arguing that C89 is better because it's supported on more platforms (curl is used on all sorts of oddball embedded systems), and that it's easier to get a new platform going with C89
There's not enough information here, and I also don't know how trustworthy it is.

One way the AP could handle this situation is to bring in an outside investigation panel of impeccable credentials.

Outside journalists could also investigate without approval (that's one of their capabilities), but access to information might be harder, and then there's the question of why AP isn't driving that.
> and so that begs the question why not make twice as much working as a software developer and not have to sort out these types of messes?

You partly answered your own question: perhaps you pay the librarian/documentation writer too little? ;-)

Seriously: letting the documentation to be written by such a person won't be as much a cost-reducing measure, but instead mostly an approach to improve the documentation quality.
Moving to America from France, one of my biggest surprises was how poor the average engineer (person really, but engineers affect me directly at work) is at summarizing concepts clearly.

I learned a little later that "summary" exercises are not a thing taught in school here, which surprised me. In France, "le résumé" is an exercise that they constantly drill into students (particularly technical ones), in which you take a 3 page paper and condense it into 100 words. I really hated doing it back in the day, but as an adult I now am very grateful I did and wished other countries made this more prevalent.
One of the guys who created this also created Pluribus, the AI that learned to bluff to win poker games. That's Noam Brown.

https://www.cmu.edu/ambassadors/october-2019/artificial-inte...

High-level, you need three things for AI to get "ex machina"-level creepy:

1) the ability to successfully manipulate humans to attain its ends

2) the ability to rewrite its objective function; ie to redefine its ends.

3) a multi-modal understanding of the world (that goes beyond, say, text)

I would be very curious to hear how close AI researchers think we are to those three things being individually achieved and collectively combined.