skysight-inc/HackerNews huggingface dataset:
From the article:

Furthermore, some of the world's main waterways such as the Suez Canal and Singapore Strait also restrict the maximum dimensions of a ship that can pass through them
Suburban areas are not free of homeless people merely because of zoning. The suburbs have a police state that harasses, tickets, fines and/or arrests people for homeless activities like illegal camping, being parked too long, public urination and panhandling. Big cities tend to be more permissive (or the police are focused on bigger crimes).
Comprehensions in Python are pretty handy, but they can look weird sometimes. This is filtering out `None`, empty string, etc values from a list.

It is iterating over a list (tokens) and creating a temporary variable (token). It tests the truthyness of it (if token), which means None and '' will return False and thus be excluded, and then returns it (the first token).
Thanks again for your work. I very much appreciate chisel.
I don't think that's true. You are thinking perhaps of the SUMED pipeline.
you are on to something. It is really interesting how much double standard I see on developers forums: "oh it is not open source, why?" "oh it is open source or free, and you raising vc funding...probably gonna end up acquired"
It is sad.
I was actually beginning to think that letting off some kind of bomb in the water would create a mini tidal wave, preferable to endangering more ships.
Quite the arrogance here of mostly software devs trying to out -solutionize marine/shipping experts who undoubtedly have been consulted and are already looking for the quickest way to resolve the situation. With billions of dollars in stake, I'm sure even the most expensive experts are involved.
Egypt is bleeding money right now. It earned roughly USD 15,360,000.00/day from Suez passage fees in 2020.

https://en.wikipedia.org/wiki/Suez_Canal_Authority#Revenues
Can someone explain why dredging alone isn't sufficient? Is it too slow?
> at nausea

In case the error was unintentional, _ad nauseam_.

[1]: https://en.wikipedia.org/wiki/Ad_nauseam
Looks fantastic, shouldn't be 'too difficult' to port to web via WebAssembly. There goes my weekend! Keep up the great work :)
This was Feynman's superpower, too.
Weeks? My 0.02 is dig a bypass using dredges/pumps, then it's a 'days' problem.

Of course it won't help this ship, but at least the canal functions.
> In the same way, I believe consistency is probably a more important thing than actual indentation and spacing. If it sees it often enough, the brain can pretty quickly adapt to about anything.

Sure thing. The author just argues that we can help the average brain doing it quicker by adhering to some simple rules.
But yeah, consistency is the main factor - takes off a whole bunch of cognitive load.
The 200,000 metric tonne figure was derived from the deadweight tonnage, which is the weight of fuel and cargo a ship can carry, but excludes the weight of the empty ship itself. Wikipedia doesn't list displacement (which is weight of the ship plus cargo) for the Ever Given, but empty weight of modern container ships is on the order of 10% of their capacity, so ignoring the ships empty weight isn't the worst approximation used.
Ha ha! I get the reference:

http://people.cs.uchicago.edu/~wiseman/humor/ai-koans.html

Moon instructs a student

One day a student came to Moon and said: “I understand how to make a better garbage collector. We must keep a reference count of the pointers to each cons.”

Moon patiently told the student the following story:

“One day a student came to Moon and said: ‘I understand how to make a better garbage collector...

[Ed. note: Pure reference-count garbage collectors have problems with circular structures that point to themselves.]
Lost this guy way too soon :(
I see download options for Mac and Windows. Is Linux support in the works? Slack and Teams have us covered.
There is somehow related posting from 3 years ago: https://news.ycombinator.com/item?id=21906727
> The turning radius of large ships is, well, astronomical, we're talking miles.

But do the ships actually have to turn? As long as they are floating instead of stuck in the sand, can't they be dragged sideways, either by tugboats or by stationary winches on land?

Of course, the ships would have to stop first, which would take miles of slowing down, and it would probably still be faster to fully dig the stuck ship out of the sand than to dig a diversion channel.
Oh it's totally dead, completely useless now. There's no hope. Massacred by capitalism.

The current effort that seems to have some popularity is keyoxide[1]. Good folk, doing good work. It's also aggressive-of-the-aggressive-most copyleft, AGPL, which seems like a real sincere barrier to it becoming a bigger thing. But there's probably enough protocols & ideas here that an inter-operable re-implementation would work fine.

[1] https://keyoxide.org/
E) Because they are doing things nobody else is allowed to (extending the ARMv8-A instruction set outside of the implementation-defined register mechanism, and blatantly breaking ARM architectural requirements like hard-coding VHE mode to on), and ARM lawyers are on the edge of their seats.

No, really, Apple are going out of their way not to document certain details about the M1, and this is almost certainly the reason. ARM are scared to death of fragmentation, Apple somehow managed to get away with doing it anyway, and ARM do not want anyone else to get any ideas.
Related HN submission: https://news.ycombinator.com/item?id=26576416
This is the correct URL:

https://www.wsj.com/articles/microsoft-is-in-exclusive-talks...
The problem is that this uses your new custom language which is not yet documented. I had seen this, I asked for alternatives because it doesn't seem to be an option yet.

The examples in your README also seem very limited, with no guards/actions/recursion/parallelism (correct me if I'm wrong). The last two I can do without but it seems overly simplistic as of now.
Who said anything about shrapnel? There's another comment in the thread making the case that "we don't want to just tug harder on the boat, because that might tear a hole in the hull". That could destroy the boat, but... so what?
And the vast majority of that is built on top of typically well maintained by a small number of people libraries and tooling.
Let's not forget, much of the "non-toy open source by big corporations" is increasingly becoming Trojan horses either by sheer complexity making it all but impractical to run on anything other than Big C's cloud OR computational resource hungry allowing you to "toy" locally but again need Big C's cloud services
We're kind of like physicists: https://xkcd.com/793/
Dredge a new passage? These ships do not turn on a dime, it would have to be started way before this blockage, and end way after the blockage so that the entry and exit are shallow enough of an angle for even the largest ships to handle with easy.

You're basically asking why can't they just make a whole new canal in less than a week?
They don't. A few other ARM CPUs implement TSO already (by default, due to their design), it's just not an architectural/standard feature that software can rely on.
Data Breach: Billions of Records Exposed in Online Trading Broker Data Leak
A failure would mean all the water bursts out and the ship is stuck again. I don’t see how that would set us back much?
Using a single write thread and multiple readers gives perfectly sound and high performance concurrency in SQLite. Of course the particulars of how one actually does that depend on the language in use.
Hospitais DE Campanha Política
Well, according to[1] elsewhere in this thread, we can use 130 tons as an approximation for lift capacity. So for 200000 tons, that would require 1500 ICMBs connected to the ship and launched at the same time.

Probably more expensive than most other solutions, and I doubt that the Evergiven will be in a good condition afterwards.

[1] https://news.ycombinator.com/item?id=26586189
Site author here, I guess this is why the New York Times API keeps hitting rate limits.
There are limits to how big a ship can be and still transit a specific route, usually defined by the radius of curves in a canal or the length of a lock.

In this case, 400m is the max length required for the Suez (https://en.wikipedia.org/wiki/Suezmax)
As soon as someone identifies an enterprise programming paradigm that is better for 100+ software engineers touching the same codebase, OO will be replaced.

Many of the theoretical advantages of OO in low level programming low level don't apply to modern, high level languages, however the encapsulation, convention, and principles (SOLID) of modern OO development are unassailable by current alternatives as the best way to throw that number of software engineers at a single project.
Nope, only Germany had the fiber machines, the reason they take a year to build is the global supply chain is so distributed, and you have to build many parts in series.
It's truly a shame that Web SQL was opposed by Mozilla. The web would be a better place if a tool as powerful as SQLite was available by default on billions of devices.
I like Elixir and Erlang so agree with the the typical arguments against OOP, but I actually think value-based (as opposed to reference based) OOP works quite well and jives with functional programming. The best examples of this, that I know of, are LabVIEW, with its dataflow and value-based OOP that includes interfaces, and F#’s object programming, where immutable types such as records and discriminated unions can implement interfaces.
I'm surprised that the swap implementation (or distros swap configuration) is so bad on Linux. I have a fresh Ubuntu 20.10 desktop installation and a few times it has come to slow crawl where you can't do anything, can't escape to tty or ssh, reboot is basically the only option.

I recently learned searching the internets that it was the swapfile configuration. My 16GB RAM machine got a 2GB swapfile from the default installation so I doubled it to 4GB, but today it almost got full again, luckily I was just about to close a big memory hog and that saved me. I have now increased the swapfile to 6GB.

If Ubuntu is giving default installations 2GB of swapfile on 16GB of RAM, shouldn't this happen to lots of users quite frequently? How many users are technical enough to understand this and fix it? How can this be a good solution?

I can't recall that I ever got in trouble on Windows because of the swapfile.
I'd be interested in hearing more about this design.
Have a pair of uncommon disease.

Between them, I was losing my mind.

Was very close to being on the street when I finally got a correct diagnosis. Got treatment, and my mind cleared up. It wasn’t a mental condition, but every doctor wanted to treat it that way.

This was with great insurance and lots of money. Doctors just don’t like complex cases.
It's less about "one true way" and more about "pick a way and stick with it".

Almost none of this matters until it's not consistent, then it makes everything harder.
Can use this to avoid radiation :]
https://en.wikipedia.org/wiki/Father_of_All_Bombs
> you can have any number of concurrent readers, but only a single writer

Only if your readers and writers are cleanly segregated.

Most languages and web frameworks don't have SQLite drivers out of box (or have extremely bad ones). Unlike SQLite, most databases don't really care about distinction between read-only and writable connections. So there is a good chance, that you will always open writable connection by default, because this is what your framework/ORM does. Furthermore, seemingly read-only web middleware often ends up writing to database on each request for one reason or another. If you try to reuse/pool connections (which is also important under high load), you need to be wary of keeping open writable connections in cache — again, something that does not matter to all major databases other than SQLite.

I was involved in maintenance of a small web app (db size < 5 Mb), written in Django, that had to serve ~1000 dynamic requests per second (the contents of each response were dependent on IP address of caller). The app worked with PostgreSQL, albeit poorly, but immediately ground to halt under load with SQLite — which was our default database choice for historical reason.

We ended up briefly caching results of most database queries in memory, which removed most of load from database (we also did a lot of other optimizations, but this was the decisive one). Eventually the app was able to withstand up to 9000 requests per second, but none of that was an achievement of SQLite — we just evaded database, Django and Python altogether on majority of requests.

While we are on this topic, the most widespread OS in the world, Android, also has extremely low-quality SQLite drivers — despite shipping SQLite as default database for many years. Android has a broken-by-design Cursor implementation (the devs admitted it themselves [1]), that always tries to count query results, even if you don't call getCount(). And a broken connection cache, that does not support read-only connections [2] (that method used to have a "TODO", but eventually they forgot, why they wanted it, so they removed it).

1: https://medium.com/androiddevelopers/large-database-queries-...

2: https://android.googlesource.com/platform/frameworks/base/+/...
Cool! How much traffic are you handling at the moment / at peak?
Does it look like I made a mistake to most people? I've never received a comment in a PR about it and I observe other developers using the same technique, so I'm surprised to hear this, do you feel very confident in this assessment? Just trying to gather feedback here.
The Suez Canal took 10 years to build, with > 30,000 people working on it at any given time and over 1.5M total laborers, thousands of whom died.

I don't think we want to be waiting for 10 years. Cheaper to blow up the ship and its cargo than to re-build a whole new canal.
Yeah they flew in a 10 man team from Netherlands pretty much immediately
But is it limited by good enough, or is it actually limited by approaching the plateau of what is possible? (this is where a presentation would silently flash a picture of a B52) My bet is on the latter, because if you could build a decisively better aircraft you'd own a massive market and all the old stuff would lose any semblance of good enough in a blink.

Consider high bypass turbofans, the most important change of the last fifty years (change, not innovation, the turbofan principle had been studied since before the first turbojet took to the air). If we had airframe geometries supporting arbitrarily big fans, would we eventually see bypass ratios that could only be accurately described with the term ferris wheel? I highly doubt it. Diminishing returns, maybe even some identifiable theoretic optimum long before (just guessing, I might be wrong).

Thought experiment: imagine Star Trek engineering (recent-ish stuff, not Kirk), if they had a competition in building the best airplane without star trek energy sources and all that force field stuff. I'm not sure that the winner would look much different from what we have, if the goals are consistent with those of our designers. Some things are just mostly find. There'll still be development because in a market of a plateauing technology even the tiniest refinement can separate winners from losers, but there wouldn't be a meaningful increase in innovation of you funneled half of the world's economy into r&d. (until some day, maybe there is a sudden major jump, think of foiling in sports sailing)

The single most amazing aviation innovation by the way is the bug wiper. Amazing stuff. Unfortunately no English language Wikipedia, Google it if you never heard of it.
Hm. I live in Long Beach and those guys are definitely used to working at night
Would argue the effect of cultural homogeneity is the same
This requires your supervisor to think about what they want you to do for more than five minutes and send you an email defining what they want, which can be used as evidence when it turns out it's not what was actually needed.

There's lots of human behavioural issues that need to be sorted out.

But the idea that someone in Burkina Fasso can do a job like this for US$1 a day is nonsense.

---

On the other hand, rather than work from home, I'd much rather walk or cycle 10 minutes to a generic secure, shared office space overlooking a local park than commute through a large city for an hour.
One would expect lightest containers on top, heaviest at the bottom. CH53 can lift 15ton, so probably it can unload several top layers.
And have it sink there permanently?
if we keep going then the other ships can just duck.
> Drop-shadows, rounded corners, borders, colouring, fades. All extra work, all a pain to look at.

i have it on exceedingly good authority (as the one who implemented it) that the look and feel was about 90% personal preference and 10% feedback from other project members during development. The "extra work" you mention is relative - with modern browser dev tools such things can (with a bit of CSS know-how) often be completely styled in a matter of minutes, then copy/pasted over into CSS. The much more time-consuming part was getting the messages to pop up from the bottom, but the difference in readability between that and top-down posts made that effort well worth it.

There's obviously no accounting for taste, but (A) you're the first person i've seen actually complain about the CSS styles and (B) any given fossil site can restyle be restyled to do its admins' personal tastes - they're not stuck with mine.
I believe it depends on libinput which is a heroic one-man project.

It can’t possibly be good on every device ever created, but it is pretty good I would say. Four-finger swipe up down works on gnome 3 already and it is a smooth motion, not a binary recognized thingy fortunately.
Suez Toll Calculator
I don't want a Linux phone because I don't really need a terminal on my phone, I have other devices for that, and the rest of the Linux ecosystem is built for server/desktop, so I don't need that on my phone either. Canonical made the best attempt at getting Ubuntu there, but it started to impact the desktop users and Canonical has limited resources. Apple is trying to converge iOS and MacOS with their iPad Pro and Apple Silicon, we'll see how that goes in the next decade.
Considering HN, it would probably wouldn't happen
I guess you’re referring to me, and I guess it’s fair. It has nothing to do with git though, I’m triggered when it comes to arguments that I feel like aren’t being made in good faith.

Serious question though: what do you do in Mercurial, or Fossil, when someone accidentally checks in SSH keys? I’ve watched this happen in companies multiples times.
The existing canal is largely straight, so any detour would inevitably involve at least 3 turns..
Your described scenario is no different than when you would have set your first warning at 16GB disk space, except that you won't have to scramble to delete the roadblock halfway between here and the crash zone.
> proprietary licensing agreements + a broader anti-freedom assault

sure lets go full tinfoil hat ^^

I agree with your ideal of the freedom of contract in principle, but that only exists between equals. Wage slaves sign away exclusive rights to megacorporations and those do not negotiate licensing contracts with individual human consumers either. The contracts on both ends of the value chain are dictated by the corporation. Take it or leave it. Between the workers and the consumers a "right to reverse engineer" or a "right to repair" could be agreeable, but business is not going to let that happen. It will instead pressure any workers union to sign away all intellectual property rights the law allows and agree with denying the consumers every right that can be denied, arguing only then slave wages can match bread prices and every bit of idealism is going to take away from that.

So this is big tech trying to get rid of all the counter-culture ideologues so the FOSS communities can be ruled by docile councils of pushovers that offer no resistance against turning FOSS into feature incomplete community editions packed with telemetry and designed to harvest free work from young people eager to raise the value of their curriculum vitae. And even better all those undergrad engineers learn to keep their mouth shut, fall in line and never dare to argue against the social contract. Perfect mindset to get into negotiations for a wage slave position with corporate. Their ideal "community edition community" is not lead by radical free thinkers and it is not inclusive but instead managed by people who studied social science and are willing to sell out for scraps, the power to shush others and an idiotic believe that they in some way are helping to improve humanity by furthering the gleichschaltung of all aspects of culture and community into one big gamified social scoring system, when in truth all they do is crack the whip on the galley of totalitarian surveillance capitalism.
Really deep keel in not much water. At shore zero water. Ie It’s properly stuck
Blowing it up isn't really a solution either, that still leaves the canal blocked, as it was for 8 years after the 6 day war.

https://en.wikipedia.org/wiki/Yellow_Fleet
I actually have no idea. It was just a bit of fun so I haven't got any logs/analytics set up at all.
Apparently Falcon Heavy has 5 million lbs of thrust, so about 88 Falcon Heavies?

SuperHeavy will have 17 million lbs of thrust so if Elon could deliver 25 SuperHeavy boosters with a total of 700 Raptor engines it could lift the Ever Given? Someone should simulate this in Kerbal.
Surprised nobody has suggested blowing it up yet haha
I find the Apple watch to be the least intrusive notification method. Its just a light tap on the wrist. And it uses different taps for different things. Receiving a text message is different to a call and different to the message telling me to stand up for a minute.

It also doesn't make any sound so its not distracting others in the office and it can always be felt while vibrations in my pocket are not always noticeable.
The default iphone notification sound is so incredibly loud. Especially when someone sends multiple messages its like its striking a bell inside my head.
The links posted were all very interesting. Great comments like those are the reason why I visit Hacker News.

On the other hand, your comment is the one adding nothing to the discussion and derailing the thread.
I've been working commercially with Clojure for ten years.

My gut feeling is the language is well subscribed and growing at a flat rate. That's fine by me.
The Costco I shop at only seems to sell the good Charmine toilet paper (the red stuff that doesn't leave lint and TP balls everywhere) during February. If I want enough to last, I have to stock up for about a year's worth at once. As you might imagine, this figure is rather difficult to estimate for in advance.
I'm wondering about the perception of the majority of people who are privy to nothing other than the public image of these executives, not those who do have information on how Gates did/does business, or those who know Dorsey in your circles. If you were to see them through the eyes of that majority, what would you see?
Wow that link - well thats a clever system! I would have never come up with something like that yet it's so simple in hindsight!
Attribution and reproduction of license are literally the only conditions that MIT has.
https://www.jooq.org/translate/ This does simple syntax translation, have not used it though.

Combine with a Golang AST lib and you might be able to make a CLI translate tool like `fix`.
WAL is journaling mode set on the connection. It’s not a db level setting.
> This move also blindsided higher-tier employees who communicate with warehouse workers on a daily basis, and threatened to impede daily functions for onsite medical and security staff.

This cannot POSSIBLY go wrong in any way, can it? I'm struggling to understand how that could ever have been approved.
Reliza Jenkins Plugin and Remote Trigger
It also took many years.
Or the modern equivalent, subvolume quotas.