skysight-inc/HackerNews huggingface dataset:
Ships traveling at 7 knots over a minefield of sunken containers will happily shred their steel skin.
Free software is not about seeing the source code.
Your argument for why OO is good is that you prefer one syntax over the other? The examples you gave are just syntax and have nothing to do with OO.

You could imagine a language that isn't OO but where you could define the . operator to dispatch certain functions with the same syntax as OO.
I know Linux support is planned, but do you have any timeline?
I think it was very much imaginable but browser makers were/are in no hurry to have their precious app store ecosystems replaced by web apps.
It’s damn fun and
I’m looking forward to the n-gate analysis of this thread. In the mean time nuke that ship! Or more seriously what creating a parallel canal around that but for now.
With dynamite.
> ... if a program needs 20 hours to complete using a single thread, but a one-hour portion of the program cannot be parallelized ... then regardless of how many threads are devoted to a parallelized execution of this program, the minimum execution time cannot be less than one hour.

It really does seem obvious. You can either do the sync part before or after the parallelized part. Since you cannot have infinite horizontal compute, the parallelized part will take some ε > 0 of time to finish, and the total execution time will be 1 + ε.
If the monitoring fails to alert you, you don't get the alert that you're running out of disk space and you can't access the server to delete the spacer file. All you've done in that case is lower your disk space by 8gb and make your server fill up more quickly.
Also I had not heard of racket before, so that’s interesting too https://racket-lang.org/ thanks.
I always wondered why airlines are not pilot-owned.
I am personally not worried. I know that Amazon is a big supporter of diversity, inclusion and progressive values. I think it's probably an innocent misunderstanding.
There is Compromise, a Python library supporting this

>>> l = HalfIndexList('abcde')
>>> l[0.5]
'a'

and other similar crazy ideas, like SemiMutable data types, which only change value if you try to set them a few times.

https://github.com/travisjungroth/Compromise

Introduced in this short 2016 talk https://youtu.be/yC9m2GInXqU?t=337
C# allows you to define getters and setters after the fact without breaking client code.

foo.bar = x; // could be normal assignment or a setter.
Nothing in the universe is stateful. You only think otherwise because you impose an object abstraction on things and treat their evolution over time in a non-rigorous way. This lack of proper modeling of the effects of time on a system is what leads to all the problems with managing state.

FP makes this relationship of change to time explicit. Instead of having a "single object" that "changes state" when some event occurs, you have two objects - one before the event, one after. Systems that rely on mutable state conflate these two and then force you to deal with the consequences of that conflation.
I think it even predates discord, i think appear.in offered it many years ago
Early Symbian apps are an excellent example how to write apps so that they don't crash when storage or memory becomes full. They just show an error dialog and the user can still use the system to free storage or memory. Modern phone apps either crash or the entire phone crashes in similar situations.
Classic old man and sandworm pulling the ship free.
same. the m1 would be much faster. also the water cooling is going to add cost which can be reused to add more Pi’s instead and I know i can run mine at 1800Mhz with a tiny heatsink via thermal paste and a 40mm fan with it not going above 65C so the cluster with a large fan would be very easy to cool
Thanks I think I know what you mean.
Yeah, having a granny gear would help out a lot. I assume the Tesla is most likely to be direct-drive.

That demo with the Volvo was 750 tons. According to Wikipedia, the Ever Given has a deadweight tonage of just under 200,000 tons. That's the cargo capacity, not including the ship itself. Let's say the ship and cargo is around 250,000 tons, that means you'd need about 333 of those Volvo trucks to drag it, assuming about the same amount of friction pulling the ship as a truck pulling a trailer. That's probably optimistic, so you might need more like 500 to 1,000 trucks to get it unstuck.

In terms of realistic options, at this point I'm thinking they're most likely to get it out by pulling it with a lot of heavy earthmoving equipment and/or tugboats while they bring in some dredging equipment to shift the sand or whatever it's stuck on out of the way. If it's run aground on something solid they can't vaccum up with dredging equipment, I don't know what they'll do. It'll probably just be stuck for a long time until they can unload it or something.

On the other hand, maybe it'll just come loose at some high tide. I mean, however it got stuck it seems like it should be at least theoretically possible to get unstuck.
Maybe. Or maybe the Slate itself has a misinformation problem and Wikipedia is just fine? Why would we take Slate's word over Wikipedia's?
At the level of [un]reality in many of the comments under OP, actually the Great Pyramids were built off-site and then dragged to their present locations.
If you have mpi4py then I would try this one:

https://github.com/joshjerred/mpi4py-with-multiprocessing-Ch...

To me this would be more fair comparison between single cpu and pi cluster.
Works fine in my Firefox... And does Google even offer native PC apps any more? I work there and haven't heard of such a thing.
Yeah WebAuthn is really neat! Unfortunately many sites still don't think iOS supports it so I have to use my auth app instead of my YubiKey on those sites when on my phone.
It's not a flaw. The concept of a jury is meaningless without it.
Not sure how much time it took to build the website, but I assume the author bets on a long shelf life. :)
I had a special topics course in parallel computing in university - Amdahl's law is probably the single biggest takeaway from that course.

It's amazing how applicable it is to more general things in life as well - can't remember examples right now but I've reasoned about many day-to-day things and realised Amdahl's law applies
Every country is different, especially USA vs EU vs other parts of the world.
I could do without banking on my phone but most bank sites in my EU country are sending a message to their banking app on the phone to do 2FA when we login. This started between fall 2019 and early 2020. One of the banks I use is still supporting a hardware token (one of those displaying random digits), the other ones are all app based. 2FA works by entering a PIN in the app or using the fingerprint reader. I wouldn't be able to do any banking without an Android or iOS device.
How about doing nothing? Just let the canal be blocked. Go the long way. All about the journey not thw destination. Give the container owners an NFT of their missing container.
Converting PyTorch and TensorFlow Models into Apple Core ML Using CoreMLTools
I was thinking, no way isn’t there a 10k container limit?

Nope 300k appr !
https://kubernetes.io/docs/setup/best-practices/cluster-larg...
This comment is satire, right?

I’m going to assume yes, but in case it’s not, or others don’t feel it:

“Some legal difficulties”?! They offered him chemical castration, which is utterly barbarous, as an alternative to prison. He was persecuted for his sexuality to the point that he preferred to kill himself.
Many years ago I ran into this paper "Self-indexing inverted files for fast text retrieval" http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.18....

It's short and to the point. And then I implemented all that ... in PHP and MySQL :)

It feels daunting at first, but once you understand what it wants you to do, it's actually not that hard (for this particular paper, and this particular approach).

However, you do want to employ a stemming library to normalize word forms.
TechTool Pro 13.0.2 Crack with Serial Code Free Download (Latest) Full 2021
I think there's a canal there, actually.
> you'd need about 333 of those Volvo trucks to drag it

You can re-use the trucks tho, the operation doesn't have to be in parallel (and it can't anyway, because the containers are stacked).
It’s a shame the bank note doesn’t feature the poison apple and a quote from his trial about chemical castration, so we can all remember that the English government drove its most important C20th scientist to suicide.

They are also using his name for the post-Brexit international student exchange program, since Erasmus will be cancelled. Disgrace.

Edit: I would rather have him celebrated in this way than not. But let’s not kid ourselves that he was not pardoned because of decades of public campaigning and bad PR for the government. Neither is this how the government should be atoning, by presenting Turing as just a scientist when he was far more than that - atonement should come in the form of progressive legislation for increased equalities and protections for the LGBT+ community.
Risk-Based Testing: A Balanced and Effective Approach to Testing
You should consider whether you are being downvoted because of your opinion or because of the way you are expressing it.
I went down this rabbit hole some ten years ago, and somewhere along the line I discovered SQLite has an FTS engine (up to version 5 now, I think) and just started using that instead. Massive performance for tens of gigs’ worth of text content on a single core.
The canal expansion in 2014 was actually completed in one year:

https://en.wikipedia.org/wiki/Suez_Canal_Area_Development_Pr...
This may be supported in some implementations, but currently only England, Scotland, and Wales are officially in the Unicode data files and recommended for general interchange. You can see that they're the only examples of RGI_Emoji_Tag_Sequence listed here: https://www.unicode.org/Public/emoji/13.1/emoji-sequences.tx...
Chicago1992 is standing by ready to donate air mattresses.
>Personally, I think the first step should be to give up all the horrific layers of bloat-on-bloat; but instead we got (e.g.) faster JVMs and JIT JS compilation.

I think this is already happening. The trending languages I see in HN are Rust, nim, zig right now. We're going back to native, and in Rust's case also with fearless concurrency as a paradigm.
Oh my god they've put terminal escape codes into Unicode.
In FP, the state got passed around in the function parameters and the return value. Oof.
I wonder if a modified jet boat could work? A bit like those flying platforms that are built as a hose connected to the output of a jetski.
> One weird inconsistency I’ve noticed is that hair color is done via ZWJ, while skin tone is just modifier emoji with no joiner. Why? Seriously, I am asking you: why? I have no clue.

Mainly because skin tone modifiers [1] predate the ZWJ mechanism [2]. For hair colors there were two contending proposals [3] [4], one of which doesn't use ZWJ, and the ZWJ proposal was accepted because new modifiers (as opposed to ZWJ sequences) needed the architectural change [5].

[1] https://www.unicode.org/L2/L2014/14213-skin-tone-mod.pdf

[2] https://www.unicode.org/L2/L2015/15029r-zwj-emoji.pdf

[3] https://www.unicode.org/L2/L2017/17082-natural-hair-color.pd...

[4] https://www.unicode.org/L2/L2017/17193-hair-colour-proposal....

[5] https://www.unicode.org/L2/L2017/17283-response-hair.pdf
Ask HN: What is the resturant interface for delivery apps like?
Hi HN,

I used GrubHub to order a pizza from a local establishment which lead to an unusual situation, and some questions about how all of this could be?

The app first informed me, I could pick up at 7:00pm, then revised that to 7:15pm. When I arrived the restaurant was closed with CHAINS ON THE DOORS. The order lingered for a few hours and I was eventually charged for the alleged pizza.

The money isn't important to me... My question is-- how are orders from delivery apps communicated to the restaurants themselves?

Is it possible, or reasonable that a closed restaurant supposedly took an order from GH, and completed the transaction?

It seems as if GH fabricated the status updates from the restaurant and even the order completion.
Your height number is off by a factor of 2; a significant factor of container storage on these large container ships is below the deck. It isn't uncommon for these large ships to have 9 to 12 containers stacked on top of eachother before the stack reaches above the deck and becomes visible from the side.
What you're describing is "corruption" and no, it does not have any positive benefit. It's the system that develops in the vacuum from a well working state, because when there is a general low level of trust, the quite human way to resolve that is to build "networks of trust" within society and that's not a good thing, because if you don't have a societal contract on how everyone should behave, the society won't be very nice to live in.

This also has nothing to do with Islam, you'll see it in most of the developing world and of course even in developed countries, but normally more contained.

I guess the extreme of this would be a country like Russia that more or less runs on bribes and favors, while at the same time having most actors accepting that nothing can be done about it.
I mean this without mallice, ask yourself what are you adding to the discussion?

From the HN guidelines at the bottom of this page:
" In Comments

Be kind. Don't be snarky. Have curious conversation; don't cross-examine. Please don't fulminate. Please don't sneer, including at the rest of the community.

Comments should get more thoughtful and substantive, not less, as a topic gets more divisive."
She needs to read this to come up with an equally genius marketing plan for her NFT.

An NFT is about marketing. The products value is how well the product is marketed and nothing else. It’s purified capitalism!
Essays:

"In Praise of Idleness" - Bertrand Russell

"Planet Without Laughter" - Raymond Smullyan (there are multiple perspectives and thoughts, I was more interested in suspension of disbelief, about something known to be false but is useful)

Misc:

Some musings on socialism, capitalism, anarchy. Essays and books by Kropotkin, Engels, Marx and even Einstein are obvious recommendations
This has nothing to do with the Islamic world and everything to do with poverty and income disparity. The fact that you associate this with Islam is repugnant. The West is equally corrupt - you just don't gain a moral kick from recognizing the equivalence.
Your comment makes it sound like you think Joe Armstrong is some random blogger. He created the Erlang programming language which was massively influential in the software industry, even though it's not one of the usual "mainstream" languages.

I chatted with him in a bar at MIT. I suspect your ideas about what he looks and sounds like in person wouldn't have survived a meeting with him.

From what I can tell, his attitudes to these subjects were strongly rooted in pragmatism. He was dealing with and finding ways to solve real-world issues in large-scale distributed telecom systems. The solutions he came up with are still used in many large-scale distributed systems today.
Its hard to imagine how any of my fellow Brits can look at this positively.

During the man's life he was treated disgracefully when he should have been a hero, and now somehow putting the face of Alan Turing on a bank note makes things better?

Let a lone a bank note that 90% of the population will never see or use.
OOP maps neatly to records is RDB mostly in CRUD applications. The reason is ORMs build SQL queries but SQL does set operations. OOP does not map neatly to set operations and that’s one of the reasons ORMs would always generate inefficient complex queries.
NYPD officers are no longer protected from civil lawsuits
Although, yeah my comment was a passing snark and perhaps didn't contribute much, from your response it is evident that you have a more pessimistic and blinkered view of the world than I do.

> The FSF is one of the last beacons of sanity (regardless of who leads it)

No. Emphatically No. This is what was always unappealing to me about FSF.

They pretend that they are the only ones who care. Furthermore only things that they care about (software freedom) are the only things that should matter. Even your comment regarding pronouns reflects this. In an alternate world, the Freedom to choose my pronoun foundation is the last bastion fighting against the evil FSF.

Why is it hard to see that we won the one battle in making the world a better place. FLOSS is what it is today thanks to FSF (and the BSDs, and Apache, and PSF, and...). It is time now to continue this war by speaking about intersectional freedoms.

Even if you don't believe the battle is won, why sacrifice the war for the sake of one outdated commander?
History of Acorn Street
Which is what fraction of what the Fed is lending. Problem solved.
The test script didn't share the load across processors so the author is rerunning the tests. It seems the graphs therefore are misleading (for now).

Nevertheless this is not as interesting as testing the M1 chip on the latest MacBook offering. I feel a bit misled but perhaps it was just my fondness for the M1 causing this bias.
Hmmm, time to switch? Debian kowtowing to the woke mob. The antithesis of free.
I think the idea of gathering these stories and sharing them is a good one, and certainly of value. That said, asking for 10$ per ebook may be a bit too much.

Best of luck to them.
> But I wouldn't go so far as saying this is productive, especially not in the long term. For one thing, you'll end up with a lot of OO code which is the worse thing for productivity.

I really dont see why either of these would be the case.
Or they do nothing? What exactly do you want? Most people I've spoken to in tech view it positively. But I guess people have to moan about everything these days.
Wikipedia says: As of 2016, the Mi-26 still holds the Fédération Aéronautique Internationale world record for the greatest mass lifted by a helicopter to 2,000 metres (6,562 ft) – 56,768.8 kilograms (125,000 lb) on a flight in 1982.

That is 56.8 to 62.5 tons, depending on the type of ton. Lift two containers at once.

Making things even easier, the shipping company knows the position and weight of every container. The containers have been carefully placed, keeping the weight low and spread evenly. The containers on top are the low-weight ones.
Initializing a system is a very complex problem.
And that systemd gobbles up unrelated things is simply FUD. Systemd is both an init system and a group of many related projects. So it’s a bit like saying plasma is all-encompassing because they have a desktop env and also a pdf viewer file manager etc. They are just under the same name, not mandatory, similarly to many systemd programs.
Also worth of note is this https://www.gchq.gov.uk/information/turing-challenge
Reading this post inside Newsblur. :)
> The fact that you associate this with Islam is repugnant.

I think that your comment would've been a lot stronger without the jab. Every time you call someone repugnant for having a particular bias (which we all do), you increase distance and decrease understanding.
The US navy has a proud tradition of gunboat diplomacy going back at least as far as commodore Perry and the opening of japan.
Internet at it's best!
In a lot of cases there is specific bias. For the Italian version, for example, a few right-wing admins banded together and systematically misrepresented the issues related to the Italian Eastern border, including insisting to prioritize “Italian” names for sites that are not in Italy anymore (and used to be only for a very brief period before WWII). It would be funny if it weren’t a conscious attempt to influence the mainstream.
> The problem mostly caused by people insists use OO in position where is looks not natural nor make sense.

You have exactly the same issue with any paradigm. I am seeing it now with functional programming as people go all obsessive into converting everything into it.
The first European joint-stock corporations were for single voyages. Everyone would band together and fund a ship to go somewhere, then split the earnings and dissolve the corporation: https://en.wikipedia.org/wiki/Joint-stock_company#Early_join...
Great quality post. I'd like to see more things like this on HN. Interesting and I learnt a lot about emojis and UTF.
This reminded me of that joke about two guys who meet in the middle of the Savanna. One is carrying a phone booth and the other one an anvil. So, the one with the anvil asks:

- Why do you carry a phone booth around?
- Oh, you see, it's for the lions. If I see a lion, I drop the booth, step inside and I'm safe. What's with the anvil?
- It's for the lions too. If I see a lion, I drop the anvil and I can run way faster!

Good trick anyway!
This is something frustrated me. We have log that build docker and ML tooling with all native toolchains and the log is unusable.

I maintain Jenkins and sometime we pull log that has is about 500MB and it's crashed no matter what I do. If I switch to console plain text then browser is no longer crash but very slow.

If Github action allow a plain text download option will make thing way easier.
> Huh? Databases don't do anything "goofy", they implement ACID guarantees.

I think that he meant that functionality that should not is pushed into database. I have definitely seen project full of crazy triggers and sql procedures and so on.
It can lift at least 56.8 to 62.5 tons, depending on your definition of tons. The heavy containers have been placed on the bottom of the ship for better stability, leaving the lightest ones on top.
I agree with you, but partially. Pinterest is mainly for ideas, they even say it on their website. While Treeved is aimed at providing learning paths and resources.
You go to Pinterest to get ideas and inspiration.
You come to Treeved to learn and grow.
Treeved is designed and planned to evolve as an ed-tech social-network + search engine for sharing learning resources.
Just the other day I found that Apple’s “AVFoundation Programming Guide” link was broken in the documentation archive. Some things never change?
So clearly we just need.to find some sand beavers.
Was that true pre-pandemic?
Can you give us a couple of these crashes, that you can find in about:crashes (with the date sometimes its easy to find the right one) ?

If you send a link to padenot@mozilla.com I can have a look, I'm on the media team at Mozilla (that includes WebRTC).

Thanks!
Interestingly the text (not code) of Torvalds' posting discussed there is formatted at 70 characters wide.
> The flag is Panamanian

That's an interesting way to say tax evasion.
I haven't spotted "now you have two problems" anywhere yet.
Yes, it’s satire. This topic was posted yesterday, and I said that the government murdered him, and now they want to use him for propaganda purposes, to show what a lovely, liberal, tolerant bunch they are. I was told in response (now edited, I see) that he was a criminal at the time, and should rightly have faced the penalty, and the government today aren’t responsible anyway, and actually they’re a very progressive bunch.

Meanwhile they continue to debate conversion therapy, and are reducing rights and legal recourse for trans people. Oh, and not to forget the “hostile environment”.
I'm from Iran but I actually have been living in the US for 12+ years. In my home country bribery is common but what is worse is finding the right person who has connections to bribe. My dad was in construction business (roads, bridges and dams) and he worked hard but he was always cash flow negative even though he was bribing generously. It turned out he could have been bribing the boss directly instead of bribing the employee and employee bribing the boss.

What's funny is my dad is retired now but the boss and the guy he was bribing are both living happily in Toronto, Canada thanks to Canada's investment visa and basically no rules for dirty money.