skysight-inc/HackerNews huggingface dataset:
Once upon a time, I wanted to cache large and expensive to pull files on many thousands of servers. Problem is the disk space on these servers was at premium and meant to be sold for customer use. The servers did have scratch space on small disks, but that was used by the OS.

So I wrote an on-disk cache system that would monitor disk usage, and start to evict and shrink its disk space usage. It would take up to N gigabytes of disk (configurable) for the purpose of caching, and maintain an M gigabytes free-disk-space buffer.

Say you had a 100 GiB total space on a partition, with 8 GiB used for cache with a 2 GiB headroom. As legitimate/regular (customer) space usage increased and reached 91 GiB, the cache would see 9 GiB available, and removing the 2 GiB buffer, would start to evict items to resize to 7 GiB, and so on until it had evicted everything.

When this system deployed, it started to trigger low-disk-space alerts earlier than before. At first that seemed like a problem, but the outcome is that we were now getting low-disk-space alerts with more advance warning, and the cache bought some time as it kept resizing down to free up space. It kind of, in a way, served the same purpose as described in this blog post.

Overall this cache was pretty neat and still is, I bet. There's probably ways to do similar things with fancy filesystems (or obscure features) but this was a quick thing to deploy across all servers without having to change any system setting or change the filesystem.

I sometime wish I had done this in open-source, because it would be convenient to use locally on my laptop, or on many servers.
> Non-English Wikipedia communities tend to be much more isolated, resulting in inherent bias on certain topics.

Isn't this just a reflection of the biases of these language communities (usually equating a country)? If so, what are we outsiders to do about it? For example, non-Japanese Wikimedia staff forcing content or administrative change in the Japanese Wikipedia is unlikely to be well received by its inhabitants.
> Or is there someone out there selling/renting a white-label rideshare app/service

Via I believe was involved in something like this.
It seems like this only works in New York, which is probably a much smaller scale than Uber has to serve.
The data has been provided by game vendors (Nintendo and EA). There is a conflict of interest there.
How does seeing source helps someone who is not a developer?
What’s the math like if you use 4 Chinooks? One on each corner. Someone, break down the component forces.
The Skycrane helicopter that OP referred to is a true beast. It can lift heavy tanks and intact electricity towers. I won't be surprised if it gets used to lift the containers one-by-one.

https://www.youtube.com/watch?v=RDQrUiCd61U
I don't know about the US, but in Germany coops have pretty strict auditing guidelines. Since Hollywood accounting would divert money to the coop, which is also owned by the drivers, you would by diverting money from the drivers to the drivers, which obviously doesn't make any sense.

Of course there are also concerns that the coop administration might be too fat and lining their own pockets, but through the auditing combined with the fact that the board is normally elected by the members, the members have quite some control measures to keep the administration honest.
"you can change the fundamental data structure and the algo still works" - it doesn't really pan out, and it's not important in my experience of using Clojure for about ~8 years.

What makes Clojure worth it is the pervasive reduction of mutable state across your program without the cost and rigidity of creating types everywhere. Also great sharing of code across Clojure and ClojureScript:

- You want your dates to behave the same on client and server? You got it: https://github.com/juxt/tick

- You want your logging/debugging code to be the same? You got it: https://github.com/ptaoussanis/timbre

- You want good async primitives? No problem: https://github.com/clojure/core.async

- And many more...

I haven't seen another language that is as good as Clojure(Script) at this. Nowadays .cljc (.clj + .cljs) files really rock.
Railways.
And they are unloaded onto something that can transport them out of the way. Even in the desert, after 3,000 or so containers, finding room in the big pile to unload number 3,001 without moving the crane to make a new pile might be problematic.
I can confirm most of this story. It has been years since I’ve been able to get a quick burrito at La Taqueria. Mi Yucatan, half a block away, isn’t plugged into the system so you can definitely get food under there under 15 mins. They’re also talking about adding an extension down the 24th corridor, east of Mission. There you got Vallarta, Wise and Son, El Farolito, and half a dozen more. I hear they’re also testing rolled papusas
Can someone explain, what are the rules for substring(m, n) given all the madness that's today's Unicode? Is it standardized or it's up to the implementations?
this constant urge to check your phone, I don't think it's much different from an OCD. OCDs constantly interrupt the normal flow of one's thought processes with obsessive, intrusive interjections ("you are dirty", "did I do x/y?", "maybe you are gay", etc).

that's what apps have instilled into our minds: a constant urge that interrupts our thought processes, so that we check fb, WA, gmail, etc.

I switched all notifications off and I still have this, less than previously, but still. I am thinking of going back to a brick phone because of that.
I mean, a single Volvo semi was able to move 750 tons, and it's in production, unlike the Tesla Semi.

https://www.youtube.com/watch?v=G3yw4Qp8bX4
This account has been using HN primarily (exclusively?) for political and ideological battle. That's an abuse of HN because it destroys what this site is supposed to be for.

I've therefore banned it. Creating accounts to break the site guidelines with will eventually get your main account banned as well, so please don't.

https://news.ycombinator.com/newsguidelines.html

https://hn.algolia.com/?sort=byDate&dateRange=all&type=comme...

https://hn.algolia.com/?dateRange=all&page=0&prefix=true&sor...
Check this out, its real and not vaporware: https://www.youtube.com/watch?v=G3yw4Qp8bX4
Pi Network: The First Digital Currency You Can Mine on Your Phone
This is a ridiculous statement. I would venture to guess that you have smoked weed in a place where it was still illegal. But breaking that law is not equivalent to rape. That's a total false equivalence. Not all laws are equally just from each person's perspective. Minor corruption like this, while corrosive, is not viewed as negatively by the local population.

I would argue that the US allowing infinite money on politics and our forms of lobbying, regulatory capture, and rent seeking are way worse than this minor corruption.
I came to this purely to do a CTRL+F "explosion" and was dismayed to see all the comments proposing it voted down, whereas comments proposing things like balloons being used to lift the boat were not voted down.

Clearly demolition is one of the things to consider in this scenario, and is at least as realistic as the million-luftballons. It would also make for some fun conversation.
Journalism, a lost art.
The number of thruster used there is more of a limitation in thrust power than in rigidity, grids don't flex and thruster off center placement don't generate momentum
https://en.wikipedia.org/wiki/Project_Plowshare

>Proposed uses for nuclear explosives under Project Plowshare included widening the Panama Canal, constructing a new sea-level waterway through Nicaragua nicknamed the Pan-Atomic Canal, cutting paths through mountainous areas for highways, and connecting inland river systems.
We use it too, with an api on top of it https://github.com/acsone/kwkhtmltopdf
There are a number of companies selling white labelled uber-ish apps. My local taxi company uses this one: https://riide.co/fleetsignup/

It makes sense that there's a big market for this stuff and as much sense that a cooperative would form eventually. Uber didn't invent the taxi, after all.
I've not had any trouble finding help at REI, but it sounds like perhaps you go more often than I do.

The point of the co-op is that it is much better for the worker. There's no inherent reason why a co-op would need to have any different level of customer service than a corporation. My personal worst customer service experience is at Home Depot for example. I had to wait 45 minutes to get a 4 foot length of hose cut, something that would have been under 5 minutes at my local hardware store (and so I go to the local shop now).

Ideally many stores would be co-ops and they could compete on price, quality, customer service etc like any other business.

Perhaps you're satisfied with the customer experience at Uber, but the situation for drivers seems pretty exploitative. If I can get similar service and the workers get a fair deal, I'd be much happier choosing that.
> Amazon does, for example, for their customer facing search as their scalability patterns do not align with either Solr or Elasticsearch.

Can you explain this to a non-programmer?
9. The destination is the Netherlands (Rotterdam).

While we're at it, the 1956 Suez canal crisis marked the end of the traditional colonial powers when the USSR threatened to nuke London and Paris if they don't let Egypt regain control of the canal.

https://nationalinterest.org/blog/reboot/yes-1956-suez-crisi...
If Elon Musk solves this with some combination of space gadgetry and boring machines, we're going to have to declare him Earth Emperor.
I maintain a small fleet of CI machines (mostly macs) and run into this issue as well from time to time. The free space idea is nice but I ram into the problem that under very critical disk space I can’t even shh or when delete a file because there is simply not enough space to execute the simple command. A reboot to get rid of some temp files helps me in these situations to get some control back.
And JavaScript is just as bad as ActiveX was. The only difference is that you are expected to have JavaScript turned on.
Gitlab licensed its technology to new independent Chinese company
what surprises me is that everybody seems surprised this could happen. the ever given isn't the only container ship with the potential of blocking that canal.

https://en.m.wikipedia.org/wiki/List_of_largest_container_sh...

I'm not in this business so I personally never thought about it. but it seems analogous to not maintaining backups with billions of dollars at stake.

can't wait to watch the Netflix special about how they did it.
I am not sure I understand. In the `MenuSelect` component you can declare `export let users: Array<User>;` and then pass into `users` anything that has the `User` interface.
Yes, but honestly that is super easy to avoid. We code in Java and pretty much all objects are @Immutable, inheritance is only used when its the right tool for the problem (it really rarely is) and subtyping is solely done through interfaces.

I think the main reason what people get wrong about OOP is that they tend to think everything needs to be models with inheritence, which is completely wrong. Inheritence is BAD!

The rule should be:

1. Avoid inheritance

2. Use interfaces instead

3. If interfaces are not enough, use composition

4. If composition is not enough go through all other similar design patterns that are not based on inheritance.

5. If you really need inheritance, be very careful about which function you make non-final and non-private.
Yeah I agree with the spirit of that. There should be a name for that practice, something that makes it sound as bad as it is but catchy. Maybe, something like webhostaging. Reddit’s webapp on mobile is notorious for webhostaging you into downloading their native app. It’s literally unusable.

There should also be a name for ostensibly public social media sites that webhostage you into signing up. Instagram comes to mind.

It’s a reprehensible dark pattern.
In case you don't already know about it; Handbook of Neuroevolution Through Erlang by Gene Sher is a great demonstration of the approved way of using Armstrong's ideas.
Hmm. Are there magic fish that eat sand what we could release down there?
Emacs 27.2 Is Released
Only from spending big on marketing and lobbying.
We detached this subthread from https://news.ycombinator.com/item?id=26586145.
is this what you mean? FindingPrimesMulti-1.zip
Yeah, lucky you for running six(!) different messaging apps that you do do not trust.

The future is just tragic.
According to data in the UK from May last year, more likely to be in a crash (although total trips were down, as you note). Link below notes crashes around a couple of football events went from 16 (in jan) to 70 (in mar). I don't think pedestrians enter into it.

So perhaps more risky driving occurs when fewer other cars are around? Maybe the risk-averse stay home, leaving only riskier people to go out? Clearly, the pandemic had an indirect effect here though.

https://www.vin.li/era/covid-uk-report/
Barge? Pull it over the edge and worry about it later.

Depending on contents, some might float very well. Or even dissolve away. My dollar store salt-shakers (with salt) came from vietnam.

The top will be the lightest containers, so I’m guessing that’s where your 40 footer of ping pong balls is sitting.
He also worked on the Space Shuttle.

Paul is a fairly prolific commenter on Reddit. Over the years there have been a few hilarious exchanges between him and some unfortunate know-it-alls on the platform.
Can you share more details? Why Mozilla opposed SQLite?
After login the back button doesn't work.

Login -> GCP -> back button -> page crashes
I mean, heavy-lifting choppers are something that I'd also expect the average NATO or (former) Warsaw Pact nation to have, and it's arguably in their best interests to make sure a key shipping route is operational (and in Egypt's best interests to accept any help possible).

Hell, Israel's close by, and I'm pretty sure they've got this sort of airpower in droves and are probably pretty heavily reliant on the Suez Canal; maybe instead of fighting with Egypt the Israelis could, say, pitch in and foster some good will? And further, it'll make up for the time when fighting between the two countries caused a Suez Canal blockage ;)
I think that in your case, allow yourself some time for unproductive rest and relaxation. I don't mean this as a joke. I means this as a "it is ok and beneficial to just chill for some time" and "it is ok to spend time in an unproductive way". Because I noticed that your fulfilling hobby is also basically work.
Mario has what to do in pipes New Level
Interesting - that backup camera mandate does explain it a bit. I wonder if the EU has something similar.

It still doesn't excuse the lack of care with regards to design, but I now have a bit more understanding on the matter. Thanks!
Next subsidized Elon venture: The Dragging Company.
All of you are missing the real issue. The rideshare companies like uber should mandate or even issue bottles.

Here in the big city (Los Angeles) for the past five years its been Uber drivers just pulling over and pissing either at the curb or, late at night, just whipping it out in the middle of the street.

So I see the use of bottles as a measure of more civility and generally more regard for fellow citizens.

Amazon is being unfairly fingered here, and I am so chapped I may just boycott cheese and lobby Amazon to stop service in Wisconsin due to this arbitrary and capricious witchhunt.
The best part of using a flip phone is that you slowly realize that none of the notifications we are constantly distracted by are that urgent. It's a good way of cutting down the social media fat. Most of the digital interactions we have in our day-to-day are really because you were online at the time, which could be interpreted as you are available for some têtê-à-têtê.
A country where everyone is equally poor is going to have more corruption than a country with high inequality between the middle class people and the billionaire oligarchs.

I'm not saying everyone in Egypt is living in poverty, while no one in the US is. But the poverty rate in Egypt is something like 30%, vs 10% in the USA.

Having said that, the US has tipping, so there's that.
The main reason why you'd use Treeved is: Currently, there's no platform where you can share resources that you are passionate about, like movies, art, technology, medicine etc.

Tbh it looks like Pinterest and Twitter had a baby. There are many collections/social tagging sites and while this looks well put together I'm not clear what distinguishes it from from any other.
I suspect that might very well be on the table.

Hell, a big enough explosion might prevent ships from ever getting stuck at that spot again.
That’s interesting: did you use Flux?
the problem was the slow speed. i think even a small ship gets pushed by the wind at slow speeds. however a small ship can speed up faster, and it doesn't cause as much damage if it does crash into something.
This is one point. The other point is hiding in real life usage.

User is derived from human, that from lifeform, that from cell,dnk,(...) each of those is derived from molecule, that from atom and then goes into quantum physics parts. And is_blocked is implemented on higgs bozom, which has method is_blocked and in case of error throws it from there. Surely is_blocked is also implemented on all other levels, each adding just a small information to the result. /s

OO is elegant. Even C++ operators overloading is great (MFC CString is a nice example). The problem is that people who think what they are doing based on what they have learned in school or some "pattern" (with not enough mileage - I am talking about 15+ years that you have spent doing OO monstrosities before you reached the enlightenment) don't understand that you don't need higgs bosom in user object. And that someone searching for an issue in this architectural beauty represented by user object is going to start scratching his head when is_blocked is called and catches higgs_bosom::exception. Even more when encounters god_factory.

Once someone figures out that there is a need to understand the universe to be able to handle a bug in otherwise simple is_blocked function the obvious and rational reaction is screw OO. But the problem is not in OO but rather in people using it to express their philosophy of life that needs to be infinitely ad absurdum reusable,...

I have seen this everywhere, from most prominent libraries for C++ to java where this is seen at its worse. I dont dislike OO. I dislike people making lasagnas. Unscrupulously patternizing everything and everywhere for the sake of doing it.

And I havent even started with patterns, refactoring once you figure out that scope has changed,... will rather use an example:
https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpris...

At the end. I love OO. But I prefer a language where you cant inherit. Cant throw exception. As this prevents people from over complicating the code for no reason and helps me to not read their whole epic architectural poetry to use a simple function.

Face it. Most programmers cant code. They are terrible at doing it. And the more powerful tool that they get, the more they will abuse it and not even know they are doing it in most cases.
Surviving Covid 19 .by Evon Latrail 02/28 by
"It's A Real Drag(TM)"
The original post says the following-

> I don't think most people who buy a Linux phone actually want a Linux phone. They want an open-source phone. The Linux philosophy isn't important to them, they essentially want open-source iOS

Seems like the phenomenon of people choosing Linux, only to choose a windows manager that makes the entire thing look like a non-open OS, fits this same line of thinking. At the end of the day, most people don't care about the particulars of Linux, or its ideologies. They just want an open and customizable OS, and if there's a variant that looks like a more widely-used OS, so much as the better.

If there were more open OS's that were as far along as Linux, it would likely be less popular. The important thing is open-source phones or computers, not Linux ones.
Sunsama (YC W19) Is Hiring a Growth Lead
well, I'm pretty good at all the non operations aspects of ElasticSearch, so in my experience if you have ES in some sort of managed cloud instance - like searchly, doesn't have to be AWS or elastic - it's a one man job - and also in my experience not necessarily full time devoted to just es.

May vary dependent on if you have a lot of data, but if so you probably have people to handle lots of data problems anyway.
I casually browse with Js disabled. Everyone should. It’s a security nightmare to casually surf the web with Js enabled once you realize the frequency of WebKit/blink zero days being disclosed per month. iOS watering hole attacks are especially prevalent, even if those exploits tend not to be persistent. They just need to steal all your info once. Exhibit A: https://www.bleepingcomputer.com/news/security/google-warns-...
For fluid dynamic reasons those sort of thrusters are only effective when the ship is stationary
Drivers don't have an incentive, but car manufacturers do. The dream for Uber was a robofleet of driverless cars, which can still happen; it'll be General Motors getting into the taxi trade if such a thing ever became feasible.
Except everyone is forgetting that I also mentioned Dylan, from Apple, and whose goal was to be a system programming language for the Newton OS, with the Dylan team winning over the C++ one, but internal politics made the decision to go with the outcome of the C++ team alongside NewtonScript.
That company is the same one that raised the Kursk!

https://www.youtube.com/watch?v=uQJ6IMREvz8
Building the Global Address Standard
> To point directly at the problem: Does the car contain me or am I riding the car? How do you describe this concept using objects? When you think of the car as a tool rather than a thing it becomes obvious: The car is a function which transforms some data <me> by changing the position from one place to another. With this approach I am no longer stuck trying to work out if I the car object has to have a add_driver() method or if I should have an ride_car() method.

Both and as someone who has implemented vehicle logic in a game before you usually want to model both.

You’ve done the classic programmer thing of creating an abstraction over the grisly details with ride_car which is great if you’re just representing the fact abstractly but if not someone still needs to care about the details and model them. An abstract version is great then for example if you're planning but it doesn't remove the need to build the details out.
It's extremely standard for user space only emulators to not attempt to hide themselves from the emulated code. Every implementation I can think of that derives from HP Dynamo ideas doesn't attempt to since fundamentally you need to have the translated code cache mapped anyway to be able to execute it. You're never going to be able to hide yourself completely wiht any useful perf without transmeta like special mmu hardware that has completely separate translations for I and D fetches.

You can see how the build directories for qemu are {architecture}-softmmu for the full system emulators, and {architecture}-linux-user for the user mode emulators for another example of this but with Linux binary emulation.
To me US 'tipping culture' is very much the same in experience as bribes like these in non-western countries.

I think that basing the definition in bribe on what feels uncomfortable to us personally not a good way to define it. I'm from the Netherlands, and I have heard it said that Dutch corruption exists as much as anywhere, the bribes are just always 0 euro, to ease our consciences. I wish I had a reference or two, but maybe these things are understudied.
Karma - H&M running shops in China, manufacturing clothes in China and troling about rights in China.