skysight-inc/HackerNews huggingface dataset:
excellent post.

can i make a (hopefully useful) comment about programming style - something that someone shared with me a long time ago when reading my code that i have found to be very valuable over the years?

it can be incredibly beneficial (for readability, catching logic errors, etc.) to "exit early" from "if" statements. meaning, if you find that you're nesting "ifs" more than a couple of levels deep, the code may be a candidate for flattening.

so - your handleClick function could be rewritten (with stuff removed) as:

var handleClick = function( id )
{
if ( gameOver ) return;
if ( ctrlIsPressed )
{
// do stuff...
return;
}
if ( cell.opened || cell.flagged ) return;
if ( cell.mined )
{
// do stuff...
return;
}
// else do stuff...
if ( cell.neighborMineCount > 0 )
{
// ...
return;
}

// else do final stuff...
}

i may have missed something, but hopefully you get the point. this simple refactoring reduced the depth of the if statements from ~5 to 1. ...many of the other functions could be flattened just like this.

...and how do you know when something can be flattened?

if there is no code after the if statement and the end of the function - just swap the logic and return early.

e.g., this:

var handleClick = function( id )
{
if ( !gameOver )
{
// ...lots of code and if statements...
}
// ...but no code after the block before returning from the function...
}

...turns into this:

var handleClick = function( id )
{
if ( gameOver ) return; // NOTE: logic check change...
// ...do the stuff in the block here...
}

...and this is also a great pattern for checking input variables (and returning or throwing an exception) at the top of the function, ensuring that the code following it has valid input parameters.

since you're sharing your coding projects on your blog (which are excellent) - hopefully you can share this tidbit about coding style with your readers and they'd find it as useful as i have.
> 0 = at most once = server fires and forgets — messages may be lost or duplicated

Isn't "at most once" a misnomer ? By definition if it is at most once it is not duplicated.
A World Without Mad Magazine
I guess "powered by Microsoft" is not what was happening at CERN as nearly all data analysis is "powered by Linux" (there's a reason, Scientific Linux existed) and iirc the ecad-software KiCAD is the only production focused CAD-tool which is good and free (mostly sponsored by CERN too)
well then why did you move in there, lol
Good thread on how railroads in the northern latitudes were designed & built under different climate assumptions, and are now failing in this unprecedented heat

https://twitter.com/alexwlchan/status/1154122791958040581
Any SaaS run out of a first world country is subject to this.

AFAIK its probably not illegal to run your own Git/SVN server...
Okay. So let's do that. Let's let the price of water reflect its scarcity. Appropriate conservation measures will follow automatically without some central bureaucracy having to make uniform rules that are necessarily poor fits for individual preferences and circumstances.
Arguably, your best bet for this kind of test is a very blatantly fake name, like "Zxzxzx". It's entirely possible that there is someone with the last name Smith (since it's very common) who also has those six digits at the end of their SSN.
Hegemony isn't a good reason.
Regular computers can't be exported to ITAR restricted countries generally.
My experience in Nevada and Arizona has been that when it's 40/43 or more, the wind doesn't make it any worse in terms of how hot it feels. At least in regards to normal activity. Wind is a bit annoying - disappointing - when it's that hot, you expect the wind to feel cooling and it's not.
The Meaning of All Caps – In Texting and in Life
Any claims that F-Droid will ban, censor, etc. are wrong and based on misunderstandings. F-Droid will never block the ability to subscribe to any repo that the user wants to, or to install any app from all the included repos. So the user will always be able to get secure access to any software they want to use via any network or even thumb drives:
https://f-droid.org/2019/06/20/two-new-ways-to-get-apps-near...

The main f-droid.org repo is a contributor-curated collection of apps, just like every other F-Droid repo, so it will never include every single app. This is not censorship, this is curation.
To each their own I guess, but I'm struggling to wrap my head around your QoL judgement. You're lacking fresh air and open space, and the selection of wild animals is really limited. Burn rate, and the fear that it generates, probably ought to count as a QoL factor.
I don't suggest getting AC. It'd be crazy to spend so much money for those 2 weeks it actually gets warm. I don't, however, blame people for wanting AC in places where it's actually warm year-round.
The EU has its own set of restrictions but I'm not sure of the overlap. I'm sure the US could get the other countries on that list.
I would have enjoyed reading the rest of that, but unfortunately a pop up appeared in the middle of the page as I scrolled down. I automatically close any page that does this. I can’t figure out why anyone thinks it is reasonable or appropriate to do that. Would you go up to someone in a library who is reading something and ask them if they want to subscribe to some crappy mailing list? Certainly not!
http://archive.is/VESVr
Addendum to the "or drink McDonalds". Circle-K has very good coffee these days, and you can generally choose between several different roasts.
YouTube keeps sending out weird notices saying that you can't use it if you are under 13 and to send in my driver's license and other information, but then I see all these videos where the people making them are clearly under 13 and targeting kids. Plus, they never do anything when I respond saying that I don't feel comfortable with sending something like that. My daughter has an app called Like and that definitely has a lot of kids uploading videos. I think these companies just need to make it look like they care or are trying to do something about the issue.
Good point.. I tried "potter" and I got Not eligible.

So either I'm a great last digit guesser (Though I'm usually not lucky in things like gambling....) I'll update my original comment.
You're assuming that this site is run by Equifax; it is not. It is run by a "Settlement Administrator", a third-party entrusted by the court to handle the money and record-keeping associated with a class-action settlement. This is to avoid possible manipulation of the settlement by the defendant.
Geez, 33 degrees at 20:23? That’s absolutely brutal. I hope you and yours are doing okay.
I have to note that what you describe is analogous to what many Americans seem to see in the Democratic party in America. That's interesting to see described in another context.
I strongly suspect water vapor from con-trails. The tendency to seed cloud formation is well documented, it's a much stronger GHG than CO2, and coincidently air travel has grown right along with total fossil fuel usage. Oh, and the weather forecasters are only recently learning to get it right in the models.
An A2 card on a host device that doesn't support Command Queue or Cache should be the same from a protocol standpoint as an A1 card. Differences probably come down to firmware issues at the moment in the A2 cards' internal controllers.
Yes, I understand and value that, especially when the "victor" can be learned from, and incorporated freely.
Today when biking downhill the warm wind against my eyes was much more annoying / irritating than 'cool wind'. Can't say if it also made me feel warmer, but definitely annoyed my eyes more.
> windroast

I've been roasted by the Loo winds [0] quite regularly. Not a pleasant experience.

Also see: Heat Index [1].

[0] https://en.wikipedia.org/wiki/Loo_(wind)

[1] https://en.wikipedia.org/wiki/Heat_index
Everyone getting AC allowed the southwest US to populate
The drivers for the radio are generally open, it's the radio firmware that isn't.
Fta: "A full rollback of the share and retweet buttons is unrealistic, and Wetherell doesn’t believe it’s a good idea. Were these buttons universally disabled, he said, people could pay users with large audiences to get their message out, giving them disproportionate power."

Now can someone unpack that for me?
I thought Chai originally comes from the Chinese word 茶 (Chá).
Those do seem marginally better so we swapped out https://onties.com/china/brother-pingtou-released-the-first-... for one of them.
Nobody in GNU is suggesting that all software compiled with gcc must be called GNU.
Join Ordering: The Ikkbz Algorithm
I find pickles to be a great combination of the two since they are mostly water, but with a flavor and texture I quite enjoy.
Yes, but that is not defined by the protocol. MQTT does not have such a mechanism. That’s a custom solution.
The OP-1 is the only device I truly love and want to own but never will. I'm still pissed TE sent out an email after an OP-1 sold for something like $10,000+ on eBay saying "don't worry, we're working on making this affordable, stay tuned" then they announced a price hike! For a 10 year old product that's constantly back ordered!
Or simply charge more for the license itself.
Oh, yes, you are correct!
If you will excuse answering an anecdote with another anecdote: I had a really cool conversation once with someone that does roadside assistance in rural Idaho/Montana. They were telling me about a guy that had them on speed dial because he loved his Tesla and his favorite drive to visit friends and family he drove two or three times a year obviously didn't have enough superchargers along the way. This guy decided it was cheaper to pay for a tow at the end of the range of his car to the next nearest charge spot than to reroute. He was doing it often enough that he would often call ahead by a week or two and the tow truck would just be there waiting in his usual spot. He was doing it often enough that the roadside assistance folks were even looking into ways to do some sort of mobile charging for the guy as just another assistance service they could provide not just to that particular Tesla owner but maybe even for other future users, as that would presumably be a growing mini-industry in rural Idaho/Montana.

There are stories if you look for them of the same sorts of "early adopters" needing tows between gas stations in those same exact areas. It isn't a "new" phenomenon with electric cars, and there are all sorts of industry solutions if we work together to solve such things.
Yes. In fact I did, yet I'm a mere passive user of FB and have never come across QA messenger bots on the platform before, who uses them? I presumed marketers and advertisers.

Is this presumption incorrect? I'm trying to understand who a potential/target/ideal user of this technology would be from Facebook's perspective-a few sentences about mobile users searching for songs but that's it. That doesn't seem answered in the article, I'd appreciate that in the place of snarky assumptions about my reading skills, please and thank you.
I never said it wasn't useful. Obviously there are people who need it. I just won't pay for it when I already do by paying for house water. Our tap water is clean here in Texas.
An accidental fan art hoax transformed the Dragon Ball franchise
New entrypoints are a change; they're just a change that takes a while to develop fully. More people get into electronic music who otherwise mightn't've, and they bring their perspectives with them.
Al Jaffee's fold-ins were always a highlight of Mad Magazine [0][1][2]. Even now, many years after having been a Mad reader, it's hard to fathom how he put them together.

[0] https://en.wikipedia.org/wiki/Mad_Fold-in

[1] https://13thdimension.com/13-mad-fold-ins-an-al-jaffee-celeb...

[2] https://www.madmagazine.com/books/the-mad-fold-in-collection
> Build some nuclear plants to make more clean electricity. Problem solved.

Funny thing - the nuclear power plant in Grohnde, Lower-Saxony will be shut down for at least the next two days, because the river ("Weser"), which is used for cooling, is too hot.

source: https://www.spiegel.de/wissenschaft/technik/niedersachsen-we... (only german articles, sorry)
Because we as a society have decided that we are all better off if it's cheap enough that poor people can still use it on a whim. Of course this results in some people over-using but we think that's less of a problem.
If you want to build a house properly, you can buy some land and get someone to build it for you, I'm sure there are lots of people willing to build a well constructed house. In general, people just seem to prefer cheaply constructed larger homes over well constructed smaller ones, don't really see what capitalism has to do with it other than giving them the freedom to make that choice.
Russia Gets Its Gold Reserves at $100B Adding in June Another 600K Ounces
>The ability to run a few webapps without having your system drag to a halt is a feature that's important to essentially everyone.

Webapps such as? I have a 4 core CPU from 2014 (i7-4790K) and I can't recall that ever happening to me. Primarily because any modern OS will throttle crazy runaway threads to ensure UI responsiveness, so the system doesn't 'drag to a halt' as you claim.

Also honestly.. how many people are looking at CPU benchmarks to run browsers better? I'd wager a twenty that its mostly gaming nerds who are obsessed with CPU benchmarks. Then.. its also a question of knowing your audience. I'm sure they have a better idea of who their audience is than you or I.
You mean like this?

https://github.com/intel-aero
Isn't for kids? The reems of kid and toddler focused playlist that show up on YouTube say otherwise. They're trying to hook them when they're young.
Where I am gets quite hot in the summer (at least for me!). This can be offset by having shower facilities at work. Gets rid of the sweat, and turn it colder to lower your body temperature back to normal.
Even with curtain walls, as long as the windows are made with low-E glass and are well insulated, then they will provide a lot of protection from heat and allow AC to work efficiently.
As a big tea drinker, my solution to this when I've been on long road trips has been to use a car-outlet-powered water boiler (the coil kind). You can get them on Amazon for under $10 and they work alright. Though it's hard to do without a passenger unless you're willing to pull over and wait 10 minutes for the water to boil. And where I've driven (up the 15 from Los Angeles to Montana), there are somewhat-frequent Starbucks, though I like my own tea better.
Handling the massive amounts of brine resulting from desalination could end up costing a lot. They’re already having issues with it.
This is only going to grow more extreme in the years to come. We finally have a generation in this country that actually gives a shit. DoorDash didn't invent bad labor practices. They weren't even part of the first thousand companies to bilk workers out of tips. But now we have a critical mass of people who notice and care and are even willing to act (or at least be outspoken). The apathetic and irrational reign of the boomers is finally, finally coming to an end.
If this breach affected 147M people (which is what I can find from various articles), and $700M was set aside (before attorney fees), and most claims will be $125, that's only ~4M people who will get $125.

Are they expecting very few people to file claims? Or what am I missing?
In the Netherlands we are moving from gas powered heating to heat pumps that, with adequate design of the rest of the house (so only for new buildings) can keep a house cool for the fraction of the electricity of AC. It's honestly one of the reasons we are considering buying a new home (which are massively overpriced). I think the climate will only become more extreme.
Superconductivity at Room Temperature Pressure
I assure you that you will have a very difficult time enforcing permit rules anywhere that is not dense enough to have town water.
I suspect muzani was referring to it as an investment vehicle, not a rating on the food.

How often do you see a McDonalds closing for good?
So have we started to do the easiest most obvious things to save energy? Commercial building rooftops that are black in Winter and white in Summer--this would require little more than a special tarp. Food stores that do Not have wide open refrigerator aisles. Hot water piping insulation--both on domestic HW and heating lines. Use of shades to difuse or block sunlight in Summer and alow it in during Winter. The answer is Nope we have Not... so until we get serious and consider the easy things that will add up to a huge cumulative gain--how can we hope to convince Joe 6 pack that he should plan his trips out to the store for beer in an economical fashion?

I known everyone is swinging for the fences here in terms of getting off fossil fuels--but hey lots of times a single is what is needed to win the game. Just sayin.
If you invited me to your library, where you have books you have paid for, I would not consider it rude if you interrupted me for a few seconds with this request.

Heck, if you DEMANDED I give you my email before coming in, I think I would accept the exchange.

Just click the X and be on with your day. This does not seem like a ridiculous request at all.
Yeah I performed a bunch of live shows in Mojave with just a monotribe I had an op1 but the USB on it snapped off during a show and it killed it. A painfully expensive loss compared to a $60 pocket operator being broken.
Do we really need an article to say that the people who pay a company have more influence than the people the company pays. This is pretty much always going to be true in unspecilized labor.

Also, if their new system still has something like the "call option" to guarantee minimums it still seems like it's in everyone's best interest to not tip and get DoorDash paying as much as possible.
I'm assuming this has resurfaced in light of the announcement that Amtrak is launching nonstop DC-NY service (https://www.usatoday.com/story/travel/news/2019/07/25/amtrak...)

The new service will run one round trip daily (southbound in the morning, northbound in the evening) and take 2 hours, 35 minutes - which is what the OP says was running in 1969.
They can keep the $125 (although, I wish I could direct it to a charity). I don't want to submit all of this information to an entity who's data security is probably worse (hard to believe) than Equifax!
Solar power?
If YouTube isn't for kids, why do they host videos that are clearly and explicitly targeting toddlers? For example: https://www.youtube.com/results?search_query=videos+for+todd...

The most egregious thing, in my mind, is that YouTube wraps toddler videos in ads for things like the John Wick movie and local breweries in my area. The fact that this isn't a difficult problem to solve is the strongest indication that A) YouTube knows exactly what's going on, and B) they frankly do not care because they can make a buck off of showing shockingly inappropriate content to children.
A lot of people (at least in the PNW) just let their lawn go dormant in the summer rather than water it. Since we'd be using city water in most places, it is expensive to dump that on grass.
The sinkhole above it can hold houses though!
Every Marvel Phase 4 Movie and TV Show Announced at Comic-Con 2019
Interesting. Can you say more about that? People have lived in hot environments like Arabia for centuries.
Hmm - I had to disable uBlock Origin on that site in order to submit a claim. Hate it when that happens.
is the proposal for the billion euro funding for HBP public? it would be interesting to see.
OpenCTI: Allowing org to manage their cyber threat intel knowledge
Tulsi Gabbard sues Google for censorship
Why compare it to Equifax? I'd just assume it's an unrelated malicious opportunist. I'd rather compare it to JND to have evidence towards proving that it's legit. Anyway it is legit since it's mentioned on the FTC site.
> On a large enought scale, it creates global warming on it's own.

Any amount of energy we can ever generate from nuclear is trivial compared to the insolation. Average daily insolation on Earth is 6 kWh/m^2. Earth area is 5.1e+14 m^2. This means we get 3e+15 kWh daily from sun, or 1.1e+18 kWh annually. On the other hand, we produce 2e+11 kWh electricity annually. This means that solar insolation is 7 orders of magnitude larger than our electricity production.
I like this and I see the use cases, however why would I use ChaiScript over Lua for example?
Seems obvious to me. Most companies will take the most unreasonable customer complaint and ask how they can fix the customer's boo boo, with a smile.

Meanwhile, a reasonable complaint from staff could be seen as an uprising of the working class.

You can also think of it this way: when 15% of your staff leave, you at least don't have to pay them. You get a 100% discount on 15% of your old headcount. Maybe you take some of those savings to bribe other staff to pick up the slack before the replacements come in.

If 15% of your customers leave, that's just money gone and you're stuck holding the bag on everything from inventory to leases, to salaries, and your own idle time.
Surely that’s fixable with some fine pliers and a soldering kit? Or that caused some other electrical components to fail?
I'm not even sure where the notion appeared that they have a systemic, large scale labview dependence. I always thought their data acquisition pipeline was a lot of custom electronics, piping data into fibre-channel? Not exactly sure, how labview fits in there?
I have to question the overall quality of the article when it repeatedly uses the term "channel" to refer to the well-established concept of a "topic" in MQTT.
They fit a little easier into certain audio chains too. The POs have an in and out audio jack and use them to synchronize with a lot of other small instruments so they all play at the same tempo and can start and stop all at once.
In my city they cut down 10 meters of gardens around blocks of flats to make room for parking cars. Nobody bats an eye because parking is a bigger problem for them.
Trees don’t produce CH4 (except in decomposition).
Why doesn't YouTube community-source the content tags? I see a "report" button, but nothing that allows me, as an audience, to decide what category this video belongs in. I see tags such as "gaming" but no other tags to further delineate to sub-groups of "gaming". For such a large platform, I don't see a way to filter content accurately. I wonder if they rely too much on "recommended for you" algorithms.
I got this site link directly from the FTC's settlement announcement, or I would have worried about that myself.

https://www.ftc.gov/enforcement/cases-proceedings/refunds/eq...
Contrast DoorDash's behavior with Postmates:
https://blog.postmates.com/postmates-pledges-2-per-drinks-or...
https://blog.postmates.com/taking-a-stance-to-defend-our-val...
https://www.americaninno.com/chicago/postmates-will-deliver-...

It really helps when a company makes a choice between them and their competitors even easier.
Thanks, I am fine, had a hard time concentrating at work today, but except for that I am doing well. I worry about the people with heart or circulatory conditions though -- not everyone is equipped to handle these temperatures.
You're not asking, "Does this card exist?", and sending a 404 if you have no record.

Doesn't this depend on the nature of the REST API? (Though putting a credit card number on the path doesn't seem like a good practice.)
I other words, trees dying...