skysight-inc/HackerNews huggingface dataset:
One reason not to focus too much on his death might be because it seems to have been more "random mistake" than "heroic sacrifice"? The children had already been located, the system for supplying and evacuating them had already been arranged, and everyone who entered the cave had all the supplies and equipment they needed to perform their tasks.

Running out of air while diving is a mistake that any amateur diver with crap equipment can make, but we make it while 50 ft deep in open water, so we just swim to the surface if our buddy isn't close or attentive enough to help us. [0] If you're in a cave you can't do that, but if you're a professional military frogman with fancy professional equipment you probably shouldn't make that mistake. If the global media had concentrated to closely on this, embarrassing questions would have been asked. Therefore it's better that everyone just praise his courage and move on.

[0] I did this, when I was 13 and I was using a system with a bad air gauge. When everyone got to the top, the dive master said "OK, you've done an emergency ascent, now switch tanks and we're going back down to practice buddy breathing." I haven't run out of air while diving since that episode.
I'd rather people do good things for selfish reasons than not do good things at all
I didn't do anything to help- I don't think saving 12 people in a Thailand cave means a lot, globally speaking. Why do you say he was asked to do something? He offered to help. More realistically, however, he should have chosen to stay out of the way- he didn't get his device to the site until the rescue operation was already half completed. It wouldn't have worked anyway- it wasn't fit for the purpose. Getting a bunch of PR for somethign that wasn't really asked for and doesn't work seems pointless attention getting.
Indefensible is debatable. It can be defeated using any of the major 2FA mechanisms (FIDO U2F, HOTP/TOTP come to mind).
my only two issues with couchdb are the query language has some learning curve and it would be nice if they had good support for public/private key authentication like lotus notes had.
all the HHMI people I know were recruited in high school after they won science fairs.
The entire piece could do with a serious re-edit. It left me more confused than anything. Terribly written.
That doesn't follow. Yes, the cache is fast enough, but assuming you really are using every cycle, eventually the CPU will catch up, no?

My metaphor is a tub. If the drain is faster than the faucet, filling the tub before opening the drain will still see an empty tub.

Only way you can prevent that is if the faucet is the same speed as the drain. Right?

Now, again, the cache can help you see more time where you are getting max utilization. Hard to believe it would be a full workload, though.
That seems to be an almost willfully obtuse reading. Yes, obviously, Earth in some form will continue to exist whether we do anything about pollution or not.
Totally, it's not only heat wave but also lack of rain. Normally it rains every 3-6 days in Wales, last rain longer than 3minutes I remember was in beginning of May. Last weather with these temperatures I remember is form 2011, but lasted only 3 days in September.
AgriTech startup wins Seedstars Harare
Thankfully Lord Musk was there to help. Unlike Saman Gunan.

In all honesty, please remember and keep repeating Saman Gunan's name. He gave his life for these kids. Musk reused a part of his rocket that his company didn't even build, in a situation where it would never work. It was so obviously a PR stunt it's disgusting. He even personally showed up to the cave site as if he was ever going to actually contribute something. I can only imagine how much of a nuisance this was to the people running the rescue operation, doing the true blue work that resulted in these kids being saved.

>"Even though their equipment is technologically sophisticated, it doesn't fit with our mission to go in the cave," said rescue chief Narongsak Osotthanakorn.

https://www.bbc.com/news/live/44755093?ns_mchannel=social&ns...

I already saw Musk being referenced in a positive manner in these comments so we're going to put that to rest immediately. The guy in charge of the operation basically called their presence there completely useless in the most PC way imaginable.
Really cool, a bit like shaders for CSS, but I can already imagine the debugging headaches!
If they don't make mobile chips what is their value proposition? They used to be on the forefront of what manufacturing could do and thus the fastest. However everyone is running into limits of physics, meaning their competitors are catching up.

Can they find a next step? I don't know. I'd benefit if they do (faster CPUs would help me), but if they can't I benefit as well (I switch to cheaper mobile chips that are just as fast)
Wasn't it? It got featured in our main TV news multiple times. But frankly, there wasn't much to hope for in that story, unlike with the cave rescue. After the first couple of hours, it's very unlikely that you'd find more survivors.
Well I am not arguing that point because I am not doing unethical scraping anyway. Just trying to explain why most scrapers go to hammering the servers directly.

Additionally, in my local market the owners of e-commerce websites are extremely narrow-minded and have zero tech education so all they will ever hear from you is "I want to steal that guy's data" which is of course not true at all. But try and argue with a 50-year old guy with the mindset of a feudal master who never truly worked in their life but want to control how everybody around them works.

If the survival of my business was at stake, I would just scrape one page every 3 or so seconds as a reasonable compromise. In fact I have done so for my amateur scraping experiments, although there the timeout was even steeper -- 10 seconds per page.
Thermal cameras don't really work through glass
“Women dominate the code and you know it” Vol 1
9 days in the darkness, with just whatever food they brought in and no way to contact the outside world.
How fast you'll learn react depends on your level of javascript(as well as ES6 and beyond). It took me all of 10 minutes to get the basics..

...And then subsequently took me several days to get my currentUser state shared with my userIcon component.

The real question should be, how long does it take to learn Redux and react tooling.
"Rationality" should be pretty obvious ... in accordance to logic. And logic has a very rigorous definition.

> "people mostly use "rationality" to refer to a set of theories, such as mathematics"

Your thinking is flawed, probably by having wrong ideas about what mathematics is. Mathematics is logic, a fact obscured by the math we end up learning all the way up to high school, which does not capture the essence of math. Speaking of which, add the Curry–Howard correspondence in the mix and the plot thickens ;-)

]
Suggesting that they’re “impossible to execute” correctly is a bit odd, as all US technology arose in the context of the patent system (the first Patent Act predates the Constitution).
A report I read said that the coach went in looking for the kids after they had been reported missing — he didn't lead them in. Don't know if that's true or not. I'm sure we will find out in the coming days.
Sure, I know about 10 HHMI investigators. Of that, 8 of them were contacted by HHMI after they won their (regional or national) science fair.

They all became early investigators with funding through college and grad school. Students with HHMI fellowships in grad school could generally join any lab they wanted, because their professor didn't have to pay their salary or support.

Doesn't this make sense? HHMI plays a long game (centuries) and they are competing with other people for the best candidates, so it makes sense that they're capturing hearts and minds as early as possible and investing in them long term.
Nice thought, but it doesn't seem to be that kind of textual browser. Unless it really relies on accessibility to work at all.
I work at a public company that doesn’t offer RSUs. Neither did the last one I was at. You’re plain wrong.
I just wonder if there is a single reason why anyone would use MongoDB over CouchDB/PouchDB.
If he truly wanted to help he would have done so quietly, in contact with the local authorities. But he didn't. He proclaimed in full voice he had found a solution, on twitter. So he doesn't care. He just cares about appearing in front of the cameras.

His idea was stupid and useless anyway. It just came off as if he wanted to play the hero and build a Batsub in his mansion to deploy it and rescue the stranded children.
I think the argument here is that, since it can happen 30s later, you could enter your password, look at the screen, lock your screen & walk away, without being safe. Imagine a location where the mobo itself is secure enough to prevent anyone from quickly inserting something, but anyone could have quick access to the keyboard & monitor.

In that (highly contrived) situation, this attack is useful, since all you'd need is a quick thermal pic, no longer recording needed.
How to Recover MySQL Galera Cluster from an Asynchronous Slave?
Also looking at the side-view diagrams of the cave, if they were running away from the entrance because it was starting to fill up, I'm surprised that very tight hole they crawled through wasn't also underwater at the time since it looks like it is as low or lower than the cave entrance itself. They descended to below the entrance altitude after having gained a lot of altitude. I know there are probably no answers but from the calm, adult, safety of my office I can't wrap my head around the decisions they made at all. Seems like they were running like panicked deer and then stopped because...? They couldn't run any further?
Huh. I stand corrected. I am surprised it's so few. Possibly a shortage of rolling stock as I hear the line is reaching capacity on weekends.

Nonetheless, the capacity is certainly there with low marginal costs now the infrastructure is built. They could run one every 5 minutes if they wanted - think Tokyo-Osaka. Give it time!
Well if you’re going to plain lie about my actions on this site (viewable to all) then what would be the point?
> I think that all patents aren't created equal. We'd have less issues if software patents were only valid for like 5 years.

And we'd have even less issues if software patents were only valid for 0 years (i.e. not exist).
It seems like you're talking about a couple of different cases here.

If you're going to be incrementing a field infrequently, then just resaving the JSONB shouldn't be a big deal. If you're updating a field frequently, having it in it's own column makes more sense and should absolutely be worth the time. It's tremendously more efficient to increment a typed number than it is to increment a piece of a serialized chunk of JSON.

When you create a column with postgres that has a null default, it doesn't allocate space for it. It's one of the things that makes postgres so good for huge databases because adding an empty column is an instantaneous operation, rather than a locking operation. On the flip side, when you create a field in JSON you're duplicating the space used just to name the field in every single row.

But the short version is, if you're updating something often enough that you're willing to fight around upserting into a JSON column rather that just creating that same column it might be worth it to take a step back and re-evaluate why doing it that way is important to you.
Rebreathers are frail and bulky, and not good for cave diving (one of the divers involved had a special front-mounted rebreather to work around this). A lot fewer divers are trained to use rebreathers, too.

Cylinders are hardy and portable, and can be carried with one hand through narrow openings. They can be attached to lines, and stored along a prepared route for other divers to use during a single descent.
The Gitignore.io Community
Could we add a (2015) tag here? Lemur’s been around for quite a while.
...Through the 1950’s and ’60’s Chester Southam, an oncologist at Memorial Sloan Kettering Cancer Center, experimentally injected cancer cells into more than 300 people, often without properly informing them. Some subjects, which included prison inmates, developed tumors from the injected cells. (Southam was never prosecuted and was later elected president of the American Association for Cancer Research.)

Three things struck me as odd about this passage: (1) that I had never seen references to this research before; (2) it seems to have been a key experiment in determining that some forms of cancer are communicable; and (3) the lack of outcry, especially coming so soon after the Holocaust.

Southam later had this to say about what he had done, quoted in the NYT:

"It is not necessary to present [the subject] with what you feel are inconsequential data and [it is] unethical to ram down his throat information which is detrimental to his condition."

https://www.nytimes.com/1964/01/26/archives/many-scientific-...

And later:

Thirty years later, Southam remained convinced his research was both sound and scientifically important. He was unwavering in his belief that none of the patients injected with the cancer cells would contract the disease.

When I asked, “What if they had?” he calmly replied, “If they did, we’d just cut it out.”

https://nypost.com/2013/12/28/nycs-forgotten-cancer-scandal/
Interestingly enough, Micorsoft had been working on Continuum where you could have some of this functionality. Considering most flagship phones are packing as much RAM and processors that are as fast as some laptops, this seemed like a good solution.

The only caveat is the Windows Mobile platform is dead. Too bad really, I thought Continuum had some real promise.

https://www.microsoft.com/en-us/windows/Continuum
He didn't. The authorities said it was useless for that purpose.
And even a good part of those in the offices are contractors. Think Accenture, Capgemini for IT and project management as well as many others, including receptionists, secretaries, facility management, cleaners.
But he wasn't. He was there as a volunteer, he had left that job behind.
I suggest reading the book "Shadow Divers" for a look at some of the professional diving culture. It's super interesting. This death is definitely horrible. However, reading Shadow Divers also made me think that any cave divers take on high risk every time they swim, and that this death - while tragic - is a risk this person confronted long before the incident.
My experience with JSONB is that you should think very carefully before choosing to use it as it can become a real footgun if used inappropriately.

An example of a (possibly) good use case would be e.g. user preferences/settings - there is often a lot of them and the relationship between them is often hierarchical. You could use e.g. a junction table that maps users to settings, but this can be unwieldy. A JSONB value can just be sent directly to client. It is possible to be reasonably certain that you won't want to do aggregate SQL operations on the entire table and thus just being able to do CRUD operations on single rows of the table avoids the pain of JSONB aggregate queries. For the record, I would probably still use a SQL solution in this case.

An example of a bad use case (which I saw in the wild) would be lumping entire user conversations (think Facebook comments) into a single JSONB value. This might naively seem like a time saver since you don't need a 'conversations' table, a 'conversation_messages' table nor the JOIN to aggregate the required data to reconstruct an entire conversation. However, as soon as you want to do _aggregate_ operations across several/all conversations it becomes a real hassle. Say for example you wanted to gather all messages that had been sent in the last hour - using a traditional SQL solution, this would be trivial and highly performant. With a JSONB solution you have to hope you have a JSONB index on the timestamp and then you also have to work out the correct JSONB syntax to do the query. Constructing non-trivial JSONB queries can get really gnarly - trust me, I've been there.

From my (somewhat) limited experience with JSONB I would now generally avoid it except for the cases where either the user wants to quite literally store JSON (and now we get some nice JSON validation for free) _or_ for the case where I am absolutely 100% sure I will never need to do any non-trivial aggregate operations on the JSONB and that the upfront implementation cost of a SQL solution would be stupendously high compared to JSONB. An example that comes to mind would be an Evernote style application where the user data is semi-structured and we don't generally speaking want to run aggregate operations on it (it's their private data).
Oysters themselves have been at high risk, at least where I come from (Virginia): http://www.virginiaplaces.org/natural/oysters.html
Yeah the last I saw Continuum seemed dead. It made sense when Jobs took the iPod to the iPhone. It makes sense to scale back the OS and make the Phone the only desktop you will ever carry. Unfortunately I have to pay the bills and MS does that here right now.
IMHO, this is more of an indictment of the ORM (sounds like sequelize) than anything else.
It was. We are very lucky there was never a direct confrontation between the different sides at the height of their strength. If the USSR and China had been able to create a common cause and gone fully aggressive in the 70s, there would've been a good chance of either a nuclear war or WWIII sweeping the world. That is a hot war.
Is the link down due to the HN hug of death?
Edit: Seems back now...
Are we going to play empathy Olympics?

The problem is that you can't decouple commodity needs from the market because life is suffering.
It looks very nice and appears to have great quality, but I'm not sure why a 10 inch device is better than a regular 13 or 15 inch laptop? What's the use case for it?
It was the top trend on Twitter the night (U.S. time) that it happened. Many news outlets covered it:

https://www.cnn.com/videos/world/2018/07/06/thai-cave-diver-...

https://www.nytimes.com/aponline/2018/07/06/world/asia/ap-as...

https://www.reddit.com/search?q=saman%20gunan&sort=top
How did you start that conversation with your uni? I completed most of a degree and now the thought of retaking all the basic classes is a large hurdle to me going back to actually earn it.
My normal at 18 saw summer trips that included stops to wipe the wildlife off the windscreen or visor. I can't remember the last time I did that - sure there's a few bugs, after a hundred miles or more.

I think it needs a multi-pronged approach. Inspiration is a great start, but it's fairly weak against a marketing machine spending billions inventing more nonexistent problems and needs.

We need to rediscover collective action, activism of the get off facebook and into the street to make someone's life difficult variety, regulation as a good thing (food safety laws, clean air acts, child labour laws etc), and stop pretending the market has the solution to everything.

That's a slightly challenging wishlist especially if we don't want to give up all the lifestyle in the process. :)
Neofetch: A command-line system information tool written in bash 3.2+
Apologies. I don't usually lose it like that online but this person is an obvious troll. I like that HN is one of the more civil places online and don't intend to be the one to spoil it.

* Also please monitor this user's posts. He has a history of posting fact-free racially inflammatory comments that would be more at home on a forum like 4chan. It would be nice if someone kept an eye on this account. A few examples:

https://news.ycombinator.com/item?id=16071344

https://news.ycombinator.com/threads?id=jogjayr&next=1744780...

https://news.ycombinator.com/threads?id=gspetr&next=16069082

https://news.ycombinator.com/item?id=15624778
Security Firm Sued for Failing to Detect Malware That Caused a 2009 Breach
Btw, Hola VPN is actually Luminati so it's a big risk for safety here (http://fortune.com/2015/05/29/hola-luminati-vpn/)
> fixing bugs or adding workarounds for deficiencies in the SQL abstraction libraries and ORMs

TBH I had same experience with all ORMs I have used sqlpp(c++), odb(c++), diesel(rust).
Yet there are still people claiming the site is not good for anything. Of course, you shouldn't base your phd paper on it, but I'll use it for any information first checkpoint, all the time.
I seem to recall there's a certain type of bivalve (clam? oyster?) that suffers it too.
Ah, I missed the previous HN discussion. Sorry for the dupe!
Week/ends are all the same for me. I have found it personally challenging to be on two different schedules and switch between them every week.

I go to bed between 10p-12a and wake up between 5-5:30a.

Even if I go out for a night of drinking with friends and don’t knock out until 2a...I still wake up at 5 :/ Not too popular with the ladies...
Random Number Generator library with logarithmic time state generation
I had a look at Lemur a couple of months ago for certificate orchestration, but settled on Hashicorp Vault as it has a more solid API and seems more active community-wise. It's fantastic for managing a PKI with an external (offline) Root Certificate Authority.
A hierarchical structure is simply not sufficient to express the various overlapping relations that exist in code. Having to apply a single tree structure is always going to be painful somewhere, even with an optimal solution. You're likely to get more payoff from reducing dependence on file system structure than from optimising said structure.

> But since the file is not located near the change, you need to search through the entire code base to see where the changed function is called in order to update the calls.

You can't really rely on all change being locally restricted, so you have to check the wider code base, anyway. Search through the entire code base should be easy, simple, and fast. If it isn't, that's a bigger problem than the directory structure of the project not being ideal.
I’m not a local or an expert in this area, but do spend a week or two at least once a year in the mountains, either the Lake District or Wales, so have had a few conversations about this in the past.

> ”as the trees were felled thousands of years ago”

Might you have a source on this you could share? I was under the impression that at least the majority of the deforestation happened in recent centuries or even decades, rather than thousands of years.

I did a quick google and didn’t immediately find much detail, although this [0] article from the Independant claims “half of its ancient woodland lost since the 1930s” talking about Britain as a whole.

Maybe it happened much earlier in North Wales?

Anyway, wherever the line is between natural and man-made, I still really love Snowdonia - was there most recently two months ago (staying quite near you as it happens, a few miles inland from Conwy), it’s such a nice place to get away from city life for a little.

There’s a guy who has been campaigning / writing a lot about this subject (I think specifically about the Lake District but might be wrong) pushing for more tree planting, but I can’t think of the name right now... Edit: George Monbiot. I don’t have time right now to revisit his writing but just remember he’s interesting on the topic.

[0] https://www.independent.co.uk/environment/nature/worrying-sl...
Detroit is using this type of bike lane on all newly renovated roads. Most notably East Jefferson which was just finished.
Horses were a cause of celebration back then
I thought that the walking parts were only after pumping a lot of water away and previously it was all flooded?

Or maybe the water level fell after that first rain stopped.
In terms of designing solutions, I would say that "correctness" is relative to the problem statement at hand. It's also a degree and not an absolute. It may be correct and incorrect at the same time, depending on the context. From this I would prefer simplicity over correctness to allow for ease of optimization.