skysight-inc/HackerNews huggingface dataset:
Great thread covering all of the volunteers here: https://twitter.com/duduang2/status/1016301667380224000

Highlight:

> "This man...drove more than 200 km just to give ice-cream to the rescue team"

While this level of selflessness and generosity can be found almost anywhere, the Thais are truly some of the most gracious people you'll meet. That country is a gem.

The society is currently torn apart politically (similar, but different, to the polarization in the US) so good to see something unite the nation. And with such a happy ending, too.
I don't know the details, but the article describes them as simply walking to the location they were found in. I wonder if the route they walked is now impassable due to flooding, but wasn't at the time, and whether the rescue route was simply the least worst path...
Wholesome Learning – Python
I havent had the time to do it. I will try to in the upcomjng week
Why? Is there some physiological factor? Blood flowing too much to the head? Allegedly the hydrostatic pressure is lower, breathing is easier due to lack of bending on a recumbent bike, so it should help endurance, as long as the bikes are the same weight.
Um.

1) I'm not suggesting on device for everything. I'm suggesting that having 3-ish devices where the only major difference is the interface is: stupid, wasteful, reeks of FW consumption, etc.

2) Put another way. You seem to have A LOT excess capacity just collecting dust and becoming obsolute while most of the time it's doing nothing.

Given the state of the world I find that mindset rooted in the 20th Century, and bordering on offensive.

At some point anticipating tomorrow will have to become more important than the convenience of today. Apparently that understanding is currently unevenly distributed.
Debos, a versatile images generator for debian
Isn't Windex bad for computer screens?

https://news.ycombinator.com/item?id=17416298 says "no Windex, as tempting as it might be!"
> THERMANATOR - The hottest attack of the summer! Coming soon to a computer near you!

Are our jobs really this dull that we have to give our projects stupid hollywood names
Too bad a adding a couple of 8-inch floppies to that would blow your budget.
For others wondering: Just click on some empty background, a text prompt will appear. Start to type.
Well from the beginning. The bikes were left outside within the entrance of the cave. That's a pretty positive indicator for searchers.
The Human Eye Could Help Test Quantum Mechanics
Yes. Hundreds - maybe thousands of them.
That's a very useful tool! Part of the reason that we launched the Atomwise AIMS program http://www.atomwise.com/aims-awards/ was to address the cost of compounds, in addition to the cost of equipment. We use our deep neural networks to pick 72 compounds (out of millions) that we buy, QC, plate, and ship to the PI for free.
usually, when i have the time for it ( ask management ) i start by writing missing tests for the legacy codebase ( which, more often than not, have very little automated tests ).
Then, isolate and encapsulate the hell of it, to the point that it can be replaced more easily, if/when needed.

OTOH, when there is no time available for this kind of care, i just go rodeo-style, guns blazing, code crashing and long nights... fixing the most low hanging bugs, or the most critical.
But then your assuming that the person will have a headset, or worse have the call come through the speakers connected to the computer.

I imagine that currently 99% of phone calls are answered by the person picking up their phone, breaking this pattern would be difficult.

If it was a purely enterprise device then maybe it could work, as you could make assumptions about headsets etc, but I still don't see it being better than what we currently have.

Also if I have a desk, I have enough space and power for a high end computer, a mobile computer unit that could convert into a phone would never compete in terms of power with a desktop (or even laptop). Why restrict yourself to your most limiting use case? If you need a mobile computer/phone with a tiny processor that sips at the battery use that, then if you need a huge multi CPU multi GPU system that knows it will never be unplugged from its 1600W power supply use that. The mobile compute unit will be compromised in both these use cases.
A story Mark Wahlberg will be happy to tell.
The big sea change for me over the past four or five years is the number of games that are getting a simultaneous release on Steam.

I play mostly fighting games (when I can find the time), and those, for the most part, used to be the exclusive domain of consoles.

Outside of some first party exclusives (like Nintendo's Smash series), just about every major fighting game franchise outside of Virtua Fighter (and who knows, that might even show up hidden in a release of Yakuza) is now on the PC. They're coming out so often that I can't even keep up now. And while I know there are Steam haters out there, it has been great for me. I buy games only when they're heavily discounted, so I now have a huge library that is a fraction of the cost of some of my old console purchases.
The difference between the divers and Musk is that the divers did it without announcing their plans on Twitter. They just when there and helped. I think it's good that Musk tried to help, but the publicity he got with it makes me question his motivations.
There is also no need for personal attacks
It's fine for CRTs as far as I know. And even if it's not, it's probably an improvement on tar.
> Every MongoDB project I've touched has run into a schema version issue. Sure, you can put freeform data into Mongo. But when you're querying your database, will a record made yesterday have the same shape as one made six months ago? How do you ensure that? You write model level code to normalize your data at run time, or you write migrations.

While our project found that Mongo wasn't a good fit, this was a big reason why we leaned towards Mongo. We had log data that evolved over years and has lots of weird quirks over the years so having one place to deal with all of those was great. Ultimately though we found Mongo's scalability in its batch processing to be lackluster (there's only so much you can do with a small cluster of machines) and fell back to Hadoop.

I can't speak towards Mongo vs. Postgres, but coming from a hacked up MariaDB-based sharding system I loved how easy shard management was in Mongo and felt Mongo had a lot of tools for prototyping and allowing me to try something in a new paradigm with fairly low effort. Overall I found Mongo pleasant and flexible but it was a real PITA when you were trying to optimize for a particular use case
I guess it is related to the overall success of desktop Linux.

So instead of giving money to OEMs producing Linux tablets like the now missing Vivaldi tablet, they complain about Microsoft.
Interesting stories (like this) are extremely valuable to our species. The movie about the Chilean miners [1] being trapped was an amazing film and I learned much about the conditions of miners and mine safety from viewing it and reading up on it later. It also shined a light on the local Chilean politics at the time.

It's hardly just mere Hollywood money grabbing IMO.

https://www.imdb.com/title/tt2006295/
If he is, I am sure he thinks in larger terms - helping humanity out more than dragging it down.
White House earmarks over $1B for quantum technology research
Bashing Silicon Valley is the new political fundraising pitch
I've read somewhere they thought it was quite shorter than the 9-10 days. Which is the opposite of what I would have thought.
I'm guessing this was a while ago when screens were still glass bubbles
You still build the jar and then you wrap that in a docker image so it can be deployed in a standard way just like all other (non java) services in the cluster.

Assuming you run container infrastructure like Kubernetes or Mesos or what have you
It's not a taboo topic but quite a few of those read as indictments rather than support. Though some of them are definitely advocating for freely sharing research and using 'piracy' sites.
Why was Elon Musk at the Thai cave rescue?
Socket Programming with ESP32/LwIP and an HTTP Client
I'm confused:

Some subjects, which included prison inmates, developed tumors from the injected cells.

and later

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

So did they or didn't they?
I also agree, and would further that any relatively technically involved concept tends to contain the most complicated form of that topic, for example the wikipedia page on lift goes into some pretty intense detail.

This is the natural result for a website written by users (those with lots of knowledge write it for others who have lots of knowledge). Even simple wikipedia is not immune to this, due to explaining the concept theoretically instead of taking example problems.

I do not mean to say that I think wikipedia is bad or that others do better. I'm not even sure such a problem is solvable at all (making it useful for both beginners and experts)
Future Quantum Computers Already Threatening Today’s Data
That’s the point: what makes “innovation” so good and noble, and duplication so bad? Why is originality the measuring stick?

I happen to think an inexpensive copy of a useful product is far better than a newly invented product that’s expensive or less useful.

Example: Cheap generic drugs vs expensive patented name brands.
Ping, Pong, and Unresponsive Bitcoin Nodes
One of the sites to buy from that is not listed in this article is govdeals.com You generally have to go pick up the item so a lot of it is regional but you will find lab equipment there from universities, k-12 schools, and other government programs.
Qubits as valves: Controlling quantum heat engines
Back in the day, before WordPress sadly became dominant, I made my own static site builder with Perl and Make. Yes, feel free to point and laugh. But it was awesome. It’s nice to see static site builders like Hugo gaining momentum. With so much going on on the client these days, having a static back end is a great idea (again).
I didn't used to think I wanted a single device, but not worrying about synchronising documents between different computers makes life easier. Even just little things like getting home and wanting to finish reading the web pages I was reading on the train at my desk are nicer when it's the same computer rather than tab syncing - and for most kinds of files I might be working on, syncing is less advanced than in the web browser.

> In living room, an iPad for Netflix, light games and light web surfing while in sofa. I don't want Windows for this purpose either.

The current windows UI for this is alright, and there's a decent number of light touch games around. It's not quite as smooth as a dedicated tablet UI, but it's close enough that the pros of single-device outweigh the cons IME.

> Kids room - gaming computer. Windows. Version 7. It's good at this. Best device for powerful gaming.

The surface book I mentioned is actually the 15" surface book 2, which handles every game I've thrown at it. I used to use a desktop, then a luggable 18" gaming laptop, but if the gaming power can be packed into a device that can also function as my travel laptop then why not? And for some modern development/computing tasks you want the same kind of powerful GPU you want for gaming, so it makes sense to use the same device for both.

> My work room. Linux laptop and a MacBook air. The macbook is great for banking and other tasks where Linux can't do it. Otherwise I enjoy Linux as my daily work horse.

I used to use linux and my home server still runs FreeBSD, but almost all the things I actually want to run - IDEs, rendering tools - are available on windows. The current "ubuntu/debian on windows" is good enough for the times when I want to play with some linux-only tool. I could use a different device with a different interface but why make things harder for myself?
How Buddhist meditation kept the Thai boys calm in the cave
So freepdfs.org is 404 at the moment.
If the reassociation returns multiple accounts, then it should get both the main and the throwaway. Unless it is over fitting to the main somehow.
Ask HN: Need an Idea for a simple Java project
Hey,

I am looking for a good idea for a simple Java project.
We have been learning Java in the bootcamp for only 2-3 weeks and are supposed to write a small program. We have about 3 days for this task.

Does somebody has any idea? I can hardly guess what would be feasible.

Thank you for your ideas!
It seems to work now, thanks!
> Everything acts as a spring, and performance bicycle engineering goes to great lengths to make them as as hard as possible.

Indeed. So if you use a shaft to drive the rear wheel that would definitely be part of the equation, I note they are using a hollow carbon fibre tube, which in that particular dimension is likely not ideal for the application unless it is given some more cross section. Even so, it is an interesting development.

> Replacing the chain with something more springy?

Chains stretch quite a bit, you'd be surprised.
Because iOS and Mac OSX don’t enroll you in 99 types of on-by-default “telemetry”, tracking, and ads built into the OS. Because I can trust iOS and Mac OSX almost as much as Linux to respect my privacy, whereas Windows 10 seems to be aspiring to model its “privacy” (or lack thereof) after Facebook (the opposite direction of what most people want from an OS).

I turn all the telemetry and tracking features off when I install Windows 10, and it takes a good 30 minutes to an hour to turn them ALL off. And that’s just the OS — any apps within by Microsoft will all report back what you’re doing constantly, and some won’t let you turn this off at all.

If you think just selecting “no thanks” to Cortana on install disables all of Windows 10’s telemetry and tracking features, you’re sadly mistaken thanks to the UI dark patterns.

Windows 10 was a huge step backwards for privacy. Fortunately, Microsoft is moving to be fully GDPR compliant companywide, so I think things will get much better soon. But even there, I’m not sure if GDPR covers telemetry the company claims is “anonymous” (it’s not anonymous if it comes from my IP address, as far as I’m concerned).

What Windows 10 really needs is a “don’t EVER automatically phone home in the background, unless I am explicitly prompted and approve this in each instance”.
Yeah, and just use lots of characters. And at least one use of the shift key :)
And all of that thanks to its painstaking manual curation which is interesting in the current context of automating everything.
This is mostly on Trump and company:

https://www.npr.org/sections/thetwo-way/2018/05/07/609225537...

There are weekly outrages because these people are shitty, dishonest, incompetent people.

It's not just a minor disagreement in some technical bit of policy that causes an arch-conservative like George Will to urge people to 'vote Democrat' come November:

https://www.washingtonpost.com/opinions/vote-against-the-gop...
Yes.

I think the major advantage of NoSQL databases was easy horizontal scaling (shard + scale + seamless failover) at a time when it was difficult to do these things with SQL databases. However, NoSQL's original advantages have started to fade with db's like Citus and TimescaleDB, and even FB's MyRocks.

NoSQL databases are optimized for straight data retrieval and horizontal scaling. If you want to dump lots of naturally unstructured or semi- or variable-structured data (like logs) into a distributed data store and retrieve them quickly without doing any non-trivial manipulation on them, Mongo will likely fit the use case. It's fast, strongly consistent, supports secondary indices etc.

However, as soon as you need to manipulate your data (i.e. analytics use cases), you're much better off doing a bit of data modeling up front and using a SQL database.
Oh look some of my previous advisors are on that list they're the people who told me that.
Nice library - I agree with you, learning the syntax shouldn't be considered a downside of an otherwise novel feature, my concern is mainly around the appropriateness of the feature in the context of problems that already have well established relational solutions
The Bay Area and the surrounding tech hubs are very important to California as is So Cal with it's entertainment and media delivery. If California wants to grow the state and the country as well with good ideas and affordable housing, A new type of transportation infrastructure has to be thought out or invented.
Say Goodnight Privacy Shield…
We've crossed the point where running Kubernetes on CoreOS was easy.

Maintaining Kubernetes on Ubuntu with docker (vs rkt) is now just easier to handle.
> "[Google Analytics is] assembling data profiles on your website visitors, which they can then use for better targeting of advertisements across their network."

I'm pretty sure this is misleading/false. I don't think Google uses Analytics data from your site to target AdWords on other sites.

Maybe it's true in a general sense that GA gives them lots of aggregate data which they can use to make smarter business decisions about other products including ads. But it is a myth that Google Analytics data feeds directly into any Google ad-targeting platform.

I think the main thing Google gets out of free-tier Analytics is it encourages small webmasters to pay attention to their traffic and makes it easy to demonstrate the value of buying ads from Google.
If flagging is against the site rules, why can everyone do it?
wow, some actual good news for a change
[pdf] If You’re Not Writing a Program, Don’t Use a Programming Language
I posted one of these that I found interesting and woah, did I get an outburst from an acquaintance that had not appeared to even read the essay. It included things like, "you should talk to some of the trans and nonbinary people you know about your deep prejudice against them," and "think about whether you have some issues with feminism that you need to work out," and "every one with any knowledge of intersectional feminism or any respect for the humanity of gender-fluid individuals knows better by now so you sharing it now really says quite a lot about you that I don't want to be associated with."

Careful, everyone.
Yes, this is silly. And while they address it, and admit that using that field alone basically results in perfect classification, they don't do the logical thing and give this whole exercise up as pointless. Instead they just break the Account Create Time up into individual features: "Account Creation Hour", "Account Creation Minute". Seriously?

The reality is, the inclusion of that field in the metadata means that identifying a user from metadata is trivial and no interesting case for ML. In order to publish, they "degraded" the data until it was just interesting enough to be headline worthy. Insulting.
Please don't do this kind of thing. It's rude and offers no insight.

https://news.ycombinator.com/newsguidelines.html
That couldn't be farther from a solution. Boycotts do next to nothing in the face of collective action problems.
(Could not edit)

% of foreign born in Sweden is highest in Scandinavia, 17%. In Finland it is lowest, slighly over 5%.

In the USA the number is roughly 13%.
>> It's called "The Cloud".

> And it's shit.

Perhaps the answer is "the cloud" but not the way you see it now. We're at the point where streaming games running on a remote server is actually a thing (it's still not great, but it's a start).

If bandwidth gets fast enough, maybe the future is you running desktop apps using a super fast remote desktop that's in the cloud, and not the overglorified web apps that we currently think of as "the cloud".
A good friend of mine is heading to prison for a car accident in which one of his friends died. He wasn't drunk or texting, just unlucky. The family of the victim is horrified the prosecutor is doing this.

This is an ugly and poisonous attitude. I don't usually downvote for pure spite... I did just now.
Yes, basically, the name of the company. And that is an intangible asset worth entirely whatever people think it's worth. The only place where you can make any guess as to what it's worth is in the room when the deal is being done.

As you say, if you have 1% of the company, then you could have 1% of $1 (which was a serious offer for the same business made 3 years ago) or 1% of $5m. The big difference is not in the 1%, but in the sale price. To get the same difference from share structure, you'd need a variance in shareholding of 1%-1000%.

Though I'll grant you that share classes and preferences can reduce your value to 0, but it's a lot harder for preferences to raise the value an order of magnitude.

Again, if you're not in the room when the deal is done, you have no idea what anything is worth, or whose interests are really being looked after. There's all sorts of shady deals and backhanders that can go on with bonuses and commissions that mean that everyone except the shareholders come out good.

It's kinda like the old poker saying: there's always a sucker at the table. If you don't know who it is, it's you. Same for acquisitions... if you're not in the room when the deal is being done, then you're the sucker.
Isnt that mostly in the US? Here in Norway, you'll get punished if you DON'T help in some way, which can be as little as calling the authorities.
2013 I used knex and had no problems whatsoever interfacing with postgres from node.
> I'm more surprised by the fact that they went that far into the cave in the first place! The coach should be in prison now for putting so many kids in danger and be the cause of a rescue diver death!

I would at least wait to know if he endangered them or if he actually saved them by taking them that for in. For all I know if he hadn't been there they might've drowned in the flood trying to get out rather than go deeper inside.
The overconfidence of learning. How to finally retain knowledge
How the Tech Giants Created What Darpa Couldn’t
Thanks! I had (and have) the same feeling of missing some classes. That's why I was very happy when MOOCs appeared a few years ago. I've taken several courses there, for example on algorithms, databases and SW security. I've reviewed the courses on my blog: https://henrikwarne.com/tag/coursera/ and https://henrikwarne.com/2011/12/18/introduction-to-databases...
I think that qualifies as a homage rather than a simple "clone".
For me whether to use Mongo or an RDMS is dependent on what I see the need to be for the data.

If I see using the database as only backing storage for a domain specific microservice where all access should go through the service, I will probably use, MongoDB. C#/Linq/MongoDB is a powerful, under used combination. You get your data and model consistency via C#'s strong typing and it feels more like you are working with everything in memory even though your LINQ queries are being translated to MongoQuery.

For instance, in C# with Mongo you're not working with an amorphous blob of weakly typed data. You're working with a Collection<Customer> and an IMongoQueryable<Customer> where you can write standard LINQ queries....

var seniors = from c in Customers where c.Age > 65

For storing data you can't put an Orders object in a Collection you defined to hold Customers.

You don't get the whole object/relational mismatch with Mongo and as good as Entity Framework is, it's still brings along all of the issues that are unavoidable with an ORM.

On the other hand, my experience with large Mongo clusters is write once/read many. Meaning once the documents got stored, they were never updated and it was very much a document store. I would still use an RDMS most of the time. But why choose? In the age of domain specific services and polyglot persistence, do both.
Not ad-hominem but what do you know how to do?
Package other peoples stuff in a config + install
and then run scans against it?
Anytime I work on a new web project, the first question I ask is how can I make this completely static. Hugo is my first choice to make it happen. It's REALLY nice not worrying about databases / programming environments / user accounts.