skysight-inc/HackerNews huggingface dataset:
This is one of those great solutions where they got 90% of the value of the Real Solution(tm) with 5 minutes of work.
My Love / Hate Relationship with Jupyter
What do you think people at "billion dollar companies" do in such situation?

Exactly the same thing. Just not on a public board. Just like everyone else is doing when discussing problems they face in any line of work.

Since it's unlikely anyone here has any decision making power relevant to the Suez canal, look at this discussion as an exercise in group problem solving. Sharpening the saw.
Proper Name Detection
In Pittsburgh, it's evolved into the parking chair.

https://en.wikipedia.org/wiki/Parking_chair
And again a strong wind was blamed. Maybe there's a limit to how big these ships can be built?
A Tricksy Look at Outfitting: Kitsune
Except it's a couch with a bulbous bow that got buried into the side of the stairwell, which just happens to be made of clay. I assume the stern is stuck, too.

And all you have to remove it is a pin. So, this is going to take a while.
Such an ignorant comment.
What if we could part the water at both sides of the ship? Would that suffice as makeshift gates?

The Egyptians had a bad experience with that in the past though and lost a lot of gear and many men in an incident. Might be understandable if they didn’t want to do that again.
Julia is a competitor of R, hence the comparison.
Okay hear me out:

Somebody call Elon. Get the TBMs, and set them to work building a tunnel under the ship.

Now fill the tunnel with giant rubber bladders.

Call the Saudis and have them start shipping over helium. Fill the bladders with helium.

Okay, keep the saudis around and get them to bring over one of the high pressure water drilling rigs that they use for oil. Start digging out the sand above the bladders, and float them up to be UNDER the ship.

Okay now call the Dutch. Get them to bring over some MASSIVE water pumps and some damming equipment. The two guys on excavators can help. Dam up the canal on both sides of the ship, and pump out all the water.

The bladders become rollers. Roll that ship back into the middle of the canal.

Okay now repump the canal, and float the ship away. Bam. Done!
Right, but you don't need to leave them there. If it's limited depth you could pull them away with barges.
Maybe supplement the Chinooks with V-22 Ospreys and Harriers?
Nice. I liked the trick in the article, but was wondering if it might confuse the next admin who needs to figure it out.

Was also thinking of customising the login greeting to mention the file (/etc/motd).
R vs. Python vs. Julia: How easy it is to write efficient code?
That ship is never going to fit in that submarine.
Hi all, I created https://www.microapis.io to make it easier to run an API mock server. I'm a full stack developer and I often run the API locally while working on the frontend, but sometimes it's a real hassle to get the backend running when you just want to focus on the frontend. Also for some e2e UI tests it's often more convenient to just run them against a mock server, as they may otherwise fail due to an error in the backend.

I'm familiar with a bunch of libraries and websites that allow you to run API mock servers, but most of them require signup, subscription, or installing a library. I wanted something super simple where you can just put your API specification, click a button, and get the server running. It can also be done with a simple API request and I'll add documentation for this on the website soon.

I've tested with a few different API specifications and I'm currently using it in my own work. However it's a side project and I've been working on this just for a while, so it has some limitations and may not parse correctly some specifications. It's currently running on the Heroku Hobby plan so it may be slow on the first request (I'll upgrade this).

I was wondering if you guys find this site also useful? I'd really appreciate your comments and feedback, feature requests, or suggestions for improvement. Any comments highly appreciated!
You could lose the entire x86-specific part of the die in a corner of a 512x512 FMAC unit. Die cost due to x86 complexity seemed like something worth attacking in 1990 when RISC was gaining mindshare but over the years the complexity of that has not expanded very much while the other stuff on the die has gotten much larger.
How to Introduce Agile as a Tester?
Data validation is a dangerous method to try to prevent SQL injection. The only surefire method is to used parameterized queries, which you should be doing anyways.
My friend had a truck with a reserve tank, but it was the same size as the main tank, so he would just flip the switch at every fill up to make sure they both got used.
The danger is that a developer will use `svelte.each()`, thinking it uses the same rules as normal JS syntax, but it turns out Svelte applies its own rules which _are_ slightly different (hypothetically).

So the developer must remember a new rule: "JS rules when calling foo.each(), Svelte rules when calling svelte.each()". A little harder to remember. Having a unique non-JS syntax makes the distinction obvious.

(Just playing Devil's Advocate here)
Or, depending on how quick it really is, it could take months. Its easy to arm-chair speculate.
Is it naive to suggest that they start digging a detour around this roadblock? I feel like it would take less time to do that than to try to move the ship out of the way.

The Army Corps of Engineers can build waterways and levies like it's nobody's business.
Particularly when those firings were a biased process resulting in age discrimination [0].

[0] https://www.forbes.com/sites/sheilacallaham/2020/09/20/eeoc-...
I imagine Apple has a patent on the cute optional TSO memory model that makes it work.
I'm not at all qualified on these matters, but that's one of the better ideas I've read.
Or tear the ship apart :). Which makes me think - why not cut the ship in half? Two pieces will be easier to dislodge and tow away :).
It’s rather arrogant as a species for us to believe that enough evidence remains tens of millions of years after something like that happened that we can come to a conclusion. For all we know, a pandemic could have swept across the globe and killed all the dinosaurs and there would be no way for us to detect it.
I see it as a "Choose your problem." affair.

1. Deal with possibly multiple issues possibly involving multiple people with the politics that entails resulting in a lot of stress for all involved as any one issue could render it a complete failure.

2. Have extra space you can decide to optimise if you want. You could even have politics and arguments over what to optimise, but if nothing happens it all still works so there is a lot less stress.

I pick 2.
The police are "nothing" - they are the default handlers of antisocial behavior, but in no way are they mental heath specialists.

wrt mental health centers: what happens when people don't want to go to those places? Either they'll be in exactly the same position of being handled by the police, or the police will be too busy in which case the public will suffer (which usually changes the electorate opinion on matters).
Really excited for the gnosis + radicle combination, being able to give ownership of a repo to a dao will be cool.

Also https://daohaus.club/ has made it really easy to deploy a moloch dao for $1.

Totally agree with the article though, DAOs are starting to shine and it wouldn’t surprise me if those who went down the nft rabbit hole found their way into daos. we’re gonna see more things like community record labels running this way. There’s a ui/ux curve that needs working out (across all of crypto) but it’s really nice to be finally getting these things we imagined 5 years ago.
Sure there is. It's about to be busier than usual.

https://imgur.com/a/nu0CNPi
There is a key difference in the 'long way' and 'stricky way' example in the readme - the 'long way' doesn't do any allocations and thus has a performance advantage out of the box. Also, where in the 'stricky way' does page get freed? This also needs to be shown in order to be equivalent to the 'long way'.
You know there's probably someone doing the cost-benefit analysis right now to see if just digging a new canal channel around the ship would be faster and cheaper than removing it.
Thank you for all the work you're doing!
but i thought he's cancelled?
I have had an Amex personal card for ~30 years and had a business gold card for about a decade. Almost no problems with the card or getting charges reversed until December 2008. In between all of the financial industry nonsense that fall, one of my clients failed, which caused me to miss a single payment to Amex in November 2008. I was able to cover that payment in early December as well as the December payment. On a cold December night in Chicago, I was standing at the O'Hare rental car counters where I learned that Amex had frozen both my personal and business cards over the missed November payment, even though the business card was allegedly separate from my personal account, and I had made both the make up payment as well as the December payment.

They only restored my personal card once the entire outstanding balance on the business card was paid off (I'd carry a balance on the business card but routinely paid off the personal card).

I still have the personal card but use it sparingly (it has a very high limit that I am unlikely to get on a new card due to extreme fluctuations in my annual income). I closed the business card a few months later (ironically, to move to Capital One).

My advice: either don't run a balance or only carry as much as you can afford to pay off if necessary. If you can get Amex to treat your company as the guarantor you might avoid the personal tie–up I got sucked into (my business was too new when I got the business card so they required my personal guaranty. Oops.).
I've now got the most amazing image in my head of a container ship being fired at the moon.
15,000 Chinooks. Good luck finding that many, though.
More like the opposite. Imagine if real estate was available without trading something of value(like the free space on the drive). I don't see how that is like capitalism, in one case the resource was free and finite and it was almost always taken by those who don't need it. In the other case you have to trade something of value and there is ample land in general to trade. Imagine tomorrow Biden get on TV and says "property rights are dissolved, take what you want", my guess is that in a single short time period all land in the world would be claimed. Now imagine if the users of the shared disks page had to plan and requisition disk space.
I just have a hotkey that opens a Node CLI. I know some people who do a similar thing with Python, but I think JS is better at composing quick one-liners.
Or the super-extra-bad case: The ship breaks while attempting to pull it free. Pieces of ship + 20000 containers in the canal. How long would it be blocked for. Full-spectrum catastrophe!
And when you don't change zoning, the existing houses still get demolished, and replaced with ultra modern McMansions built out to the setbacks, which totally ruin the character of the neighborhood anyways. Then you have this terrible mix of tiny little old houses with yards and great big 3 story Borg cubes scattered throughout.
If you freeze it for 24 hours it will kill them off. Can be a good idea to do that when it comes into the house anyway as they might be in there already.

Easy enough to separate them out of the rice after freezing too.
Lol why does it not surprise me to see this argument here?

/r/the_donald was a subreddit and it had its own rules -- which mandated being a supporter of trump.

You're thinking of a different subreddit, maybe /r/politics as an example, that are pretending to foster a broad discussion and selectively suppressing opinions it doesnt like.

Rules of subreddits are on the sidebar.
To rationalize this phenomenon... They don't warn you about it until they think you'd be worried about it, and they don't think you'd be worried about it until they start thinking about doing it. ;)
No, but there's finally a JEP, which normally means that release is imminent (I'm not involved with that project, so I have no inside information): https://openjdk.java.net/jeps/401

As part of this change, existing built-in primitive types (like int or double) will retroactively become instances of these more general objects.
He was purged in the frenzy to get rid of anything associated with Epstein. Even just attending a party he hosted on his island. I'm suspicious of Epstein's motivations, but guilt by association is contrary to our system of justice. It's how mobs thrive. They also tarnished the name of a prominent AI researcher, Marvin Minsky, who can no longer speak for himself, for things we have no way of investigating further.
Depends if you want things to gracefully degrade because you know you don't have enough RAM or if you'd rather things just straight up die. E.g. for the things I work on my laptop with if whatever I do isn't going to work with 128 GB of RAM (80% of which was meant to be cached data not actually used) then it's because it went horribly wrong and needs to be halted not because I needed some swap which is just going to try to hide that things have gone horribly wrong for a minute and then die anyways. Now if I were doing the same things on a machine with 8 GB or 16 GB of RAM then yeah I want to gracefully handle running out of physical memory because things are probably working correctly it's just a heavier load and it can be better to swap pages to disk than drop them from a small amount of cache completely.
Why dont you just coin a new phrase? Perhaps it'll stick.
How would you acquire that much hydrogen, and how much would it cost?
Drat, we never should have given up on nuclear powered rocket engines in the 50s!
Yes, the characters are in Unicode. Details: https://en.wikipedia.org/wiki/Halkomelem#Phonology
Port of OpenJDK to Apple M1 Merged
I assume you're being sarcastic because I haven't yet thought of a reason why that'd be a good thing. Although I've never been bitten by SQLite's dynamic types, I wish they weren't a thing.

I'm genuinely curious if there are any real use-cases for this behavior.
I mean they could've easily sprinkled in some AI to decide which specific unread items to prioritise, and turned the homepage into a social media feed with sharing and commenting, while presenting RSS feeds similarly to Facebook's pages.

It had all the potential to become the basis of Google+, but Google just prioritises building products from scratch instead of improving existing ones (hence 50 or so IM / video call apps).
Depends entirely on the design of the file system. In copy-on-write file systems, it's a necessity: you need to at least allocate a new metadata block that doesn't record the existence of some file... and that's assuming you don't have snapshots keeping it allocated anyway.

You can run into real trouble on btrfs if you fill it, it has no reserve space to protected from this scenario. ZFS at least reserves a fraction of the total space so that deletes are allowed to work even when the pool reaches 100% capacity.
Sane answer: No.

The ship is 400 metres / 0.25 of a mile long. With containers, it weighs anywhere up to 199 thousand tons. One does not simply attach a few hundred cables, put some rollers under it, and pull with all the tractors you can find in Egypt.

Also, it's already in the water. It's just turned sideways and buried the bulb (by the looks) into the canal wall.
good point. This is the unfiltered response from the GPT-3 prompt, and the phrase "root cause" is a bit of an overstatement by GPT-3. However the collection of log events that are in the actual reports are far more descriptive. You can find examples here:
https://www.zebrium.com/blog/using-gpt-3-with-zebrium-for-pl...
and here:
https://www.zebrium.com/blog/is-autonomous-monitoring-the-an...
In fairness, the US couldn't ramp up mask or ventilator production very fast when the coronavirus was going to tank the entire economy.
It is one of the largest container ships in the world.

https://en.wikipedia.org/wiki/List_of_largest_container_ship...
> It makes for interesting threads.

The threads are not particularly interesting because people make the same suggestions over and over again.
T-Mobile updated their privacy policy
Why do so many people here think they have some solution that could get this done faster? There is an entire industry that is built around heavy salvage, and their best and brightest are working around the clock to resolve the situation.

Everybody here knows what Dunning Kruger is.

If you have a solution that starts with: "Why don't they just...". The answer is either 1. They will when they can, that kind of operation is very hard to set up in the Egyptian Desert, or 2. That is a dumb/impractical/impossible thing you are suggesting.
i was originally studying computer engineering, then i failed diff eqs and didn't feel like retaking it, so i switched to computer science
She may not need to be elected but there has been on going push to do away with the monarchy for her whole reign. She is still around as head of state only because she has managed to not say anything politically divisive and not stick her foot in her mouth for 70ish years.
...or use services that are run by non profits? there's a lot of funding platforms out there https://www.oss.fund

this type of service should be a public common good imho
That's not a check at that point, though, it's an assertion that the None case is invalid.

I'm not saying you should never use unwrap, but I've been burned by it when treating it a little too nonchalantly. If you're implementing a lower level library, like a dns stub resolver, panicking will bring down the software using your library... which is definitely not something people are generally happy about.

Error handling isn't always the right thing, sometimes just returning Option is the correct thing.
Amazing. This was missing for my use-case and I gave up on LiteStream because of it but now it seems I have to revisit!

Wonderful job.
> to lack of documentation about speculation barriers

Can you elaborate on this? I was having a look at the M1 instructions here [1] and it seems that they implement at least one of the barriers, CSDB, which is actually documented by ARM[2].

[1] https://dougallj.github.io/applecpu/firestorm-int.html

[2] https://developer.arm.com/documentation/ddi0596/2020-12/Base...
I'm playing TuxKart right now. Jealous yet?
In that case... why don’t we get Elon Musk’s Submarine to get it out?
The OP is being generous by leaving open the possibility she was ignorant or incapable of comprehending the quote. There was definitely something more sinister to it.
Go has only concurrency of the features you talk about but is often competitive with Java in benchmarks. In my experience I’ll take administration of go processes any day of the week over Java — I’ve lost count of the number of hours lost to debugging gc stalls, runaway heaps and other garbage collector related issues never once had those problems in go.

Go even reverted a generational collector because it had no performance benefits since most generational objects would be stack allocated anyway — Julia’s JIT and way more advanced llvm backend should do even better than go in keeping objects stack local and inline.
I'm so with you on this. First, you don't need to turn root cause analysis into text like this via GPT-3; there are easier ways.

Secondly, I imagine most cases of "root cause analysis" require you to be very, very clear in understanding the... root cause... So using generalized language models will probably lead to unacceptable errors, which means there are probably better ways of addressing this problem (as per the discussion here on error rates and unacceptable errors in ML-products: https://phaseai.com/resources/how-to-build-ml-products)
At least it’s not a subscription model for £6.99/month like almost all of the apps you find on the app stores that used to be either free or a one-time £X.
If anything no input interpretation should happen, everything should just go directly to the program, and the program should not be capable of file operations. stdin/stdout only.
> Some people have suggested unloading the ship. I don't think you realize the infrastructure required to unload a ship.

It seems, though, that a partial unloading is being considered by a professional in the field according to quotes in an article in The Guardian [1]:

However, Peter Berdowski, CEO of Boskalis, a specialist dredging company that has sent a crew to the scene, said data so far suggested “it is not really possible to pull it loose” and that the ship may need to be unloaded. “We can’t exclude it might take weeks, depending on the situation,” Berdowski told Dutch television.

He said the ship’s bow and stern had been lifted up against either side of the canal. “It’s like an enormous beached whale. It’s an enormous weight on the sand. We might have to work with a combination of reducing the weight by removing containers, oil and water from the ship, tugboats and dredging of sand.”

[1] https://www.theguardian.com/world/2021/mar/25/suez-canal-blo...
A general average requires an imminent danger which the ship is clearly no in, since it's just stuck.

You also can't argue that they have to dump it overboard because of the costs that the delays will cause, because such costs are explicitly excluded in the 2004 rules on general averages [1]

[1] Rule C, paragraph 3 https://shippingandfreightresource.com/wp-content/uploads/20...
Agreed. I’ve thought the same for posting an interesting fact. Anymore, I want to preface every single one by saying, “hey, you may already know this; I’m just sharing it because it hasn’t been mentioned yet and I think it’s neat. If you were implying the fact already, I apologize for overlooking that.”
Drop salt around the ship to increase the buoyancy of the water...
Lloyd's List estimated that every day Suez is closed costs US$9 billion ($400 million per hour).

If it could be done technically and open up the canal, it would be cheaper for insurance companies to buy the ship, it's cargo, buy all nearby property and then blow the whole ship up.
When I start a session, there is a comfort tone in the background. It sounds like static even when I turn my microphone off and there is nobody else there. This fuzzy sound is also one of the most irritating things about Zoom.

Is there any way to get rid of it?
This reminds me of a similar story in a classic Gamasutra article[1] (the section is "The Programming Antihero", and I'd recommend the other pages of the article for a few good chuckles). Apocryphal or not, it makes for a good story.

> I can see how sometimes, when you're up against the wall, having a bit of memory tucked away for a rainy day can really make a difference. Funny how time and experience changes everything.

[1] https://www.gamasutra.com/view/feature/132500/dirty_coding_t...
The only logical conclusion is that this is cheap performance because if they really thought about caring about their own workforce and took their newfound principles to heart, they’d resign en masse.
Definitely a targeted attack.
Hah or if we reverse the polarity maybe we can crush it into something the size of an aluminum can.
> Or just tow it outside the environment...

For those who haven't seen this video... https://www.youtube.com/watch?v=3m5qxZm_JqM
Someone actually is trying that idea in Georgia right now (https://www.thedrive.com/news/34648/capsized-cargo-ship-in-g...) but it really is not easy!

Many likely problems: equipment avilability to do so, time it will take, debris falling off and from the operations, risk of capsizing, probably need to load pieces on barges/crane but canal is not much large
This is a weird way to look at it. China's high-tech cities are what they appear to be, there's nothing Potemkin about them. But it's a country with massive wealth inequalities between classes and between rural and urban areas.

The US must have looked like this once.