skysight-inc/HackerNews huggingface dataset:
It's a nonsense quote.

Regret is the essence of expecting your past self to know the things that only your present self knows.

As long as you don't make a habit of doing things you know in advance that you will regret, then you have nothing to regret at all: all your experiences, good-bad-and-otherwise, make you into the person you are.
This all sounds like it could be done more efficiently while still using excel. It should be possible to refactoring the sheets so that you can just copy past or write tailored tool to compare cells.
Lol, I spent way too much time fucking around with noscript before realizing that this page wasn't a text article
Encoding Tools: FOSS Alternative to Burp Decoder
The single return best practice comes from the old days of C. Back then, compilers didn't inline function calls as aggressively as they do now, and the overhead of a call was a relatively significant fraction of execution time. That led to longer functions being a good idea.

At the same time, C does not have any features for reliably managing resources. No GC. No C++'s RAII. Instead, you have to be careful to release every resource you acquire in the body of a function, along every execution path.

In that world, avoiding multiple returns makes a lot of sense because it ensures every execution path reliably reaches the end of the function so it's easier to ensure resources are released.

We aren't in that world anymore, so the guideline no longer applies. But it wasn't a stupid rule. It's just unhelpful to take it out of its original context and expect it to apply to a new one.

"Check your boots for scorpions before putting them on" isn't a dumb rule in the desert, but it is in Antarctica.
Of all the sharp tools in C, restrict is one of the last things I'd call dangerous (restrict is not a standard keyword in C++, by the way, although most compilers support it as an extension). It's completely opt-in, relatively rarely used, and to even think of using it you have to be already thinking about aliasing issues. If you write a function using restrict and suddenly completely change your intent mid way, I really don't think that's a language design issue. Of course it's still a sharp tool and explicitly meant as such - as a last resort for cases where you can't rely on the compiler to infer the right thing on its own.
Couldn't agree more.

From a usability perspective peak Windows was 7. Despite years of use I still dislike Windows insistence on extreme flatness, and still find it counter-productive. Even with the huge gain from WSL and some other newer features of Windows the horrible privacy model, ads in menus, and a return to commonly occurring BSODs cancel out the improvements.

I could have failing memory, but I don't recall ever seeing a blue screen in 7 across a selection of machines.

Over on the Mac peak seems to have been around Mavericks, most of the changes since have been rearranging the furniture, and adding pointless flatness (thankfully not to the extreme variant of Windows). The number of minor annoyances and niggles has been growing steadily. Reliability has been trending down to the point that High Sierra during my 6 month ownership of a '16 MBP actually felt more flaky than Windows - a first I never thought I'd see. Back on Sierra with a '15 has fixed that.

Like you I'd vote with my wallet for an ESR or Mavericks with security and driver updates. I'll take dark mode on that though. :)
Joe Jackson, Domineering Father of a Musical Dynasty, Dies at 89
How to Install PostgreSQL on Ubuntu 18.04 LTS
Wow, this is pretty neat! Thanks!
It'd be awesome to have generic, ready to fly, probes that could be launched on relatively short notice.
Singly Circular and Linear Linked Lists for JavaScript
> unpatched systems are at risk to cyberattacks.

All systems are at risk, unpatched ones just more so.
Wireless is a pain when you're in an office with 3 square feet per person,and everyone is poluting the spectrum. Wired mice pretty much just work and don't need to be charged or have batteries changed. Getting the cord situated can be an art, but once it's done, it's done.
I have used Mattermost and been pleased with it. It is an open-source Slack clone you can run on a low-end VM or your own hardware.
They would generate some excitement, get marginal marketshare, quietly stop updating the system, let it languish for a few years, then just ghost the system?
Just a Garmin eTrex 20 - OSM maps, runs off (rechargeable) AAs - happily lasts 18 or more hours, although I do have to have a window seat on non-composite airliners.
The NYT has plenty of text content on Venezuela if you are so bothered by this... I for one love experimentation and pushing the envelope.
Do you think she would be patient enough to work with a less than perfect automated voice controlled system?
First world problems, indeed.

That being said, I can't criticize anyone who commented on the article format or method of delivery because as soon as I saw it, I immediately shut the page.
No, we're purists, and we prefer our information undiluted.
The cost of a false alarm for a smoke alarm is borne by owner of the smoke alarm. The cost of a false alarm for a car alarm is borne by everybody in earshot (typically not the owner).

The car alarm owner is forcing an externality cost onto society; there is no incentive for an individual car alarm owner to reduce false positives so it is no surprise the products are so bad.

(Even in the true-positive case, the car alarm is extracting its value from the attention of third parties to the thievery, at no cost to the owner.)

Conclusion: every sounding of a car alarm should attract a substantial tax penalty.
> A DIY kit for those segments of the population left behind by capital owners

Anyone working on something like this?
You propose just to buy servers in 2 locations to keep Slack services up? Doesn't work, when you need to store gigabytes daily and have dozen thousand reqs/sec synchronized.

Geodistributed datacenter requires multiple direct low-latency multigigabit/sec connectivity, special software to manage, test and check it, skilled devops.
Here are some links that may help solve your problems.

Comparing spreadsheets is standard since Excel 2013.

https://support.office.com/en-us/article/compare-two-version...

Power Query may be of use to automate ETL type processes, which is standard since Excel 2016 and is a free add-on prior:

https://support.office.com/en-us/article/introduction-to-mic...
Lithium-Ion Batteries (LIB) don't react violently to water, the lithium contained within them is minimal and disbursed. It's not the solid clump of raw metal form your chemistry professor might have used to demonstrate the reactivity of such metals.

The concern with LIBs is a short circuit to the cell causing a thermal runaway as it rapidly discharges. The heat can cause the battery or surrounding components to combust. A short can occur due to a puncture, rupture, or blunt force (e.g. Samsung Note explosions).

Water is the most effective way to cool the batteries.
What happens if you move/rename a bunch of big files?
The GDPR is quite explicit on what consists of consent

I've had this argument a couple of times and I think it comes down to the semantics, though legal and legislative semantics are a little richer than most.

What I mean is that gdpr makes its intentions quite clear, but that's not how the legal system parses laws. What the consequences of gdpr are, in terms of practice is (1) all website visitors must sign a contract with the site owners (2) there are now some conventions and controls governing these contracts (3) the contracts empower the website owner to do most (not all) of what they could do before gdpr.

Gdpr does quasi-explicitely force website operators to provide "i don't agree" option. There are two potential ambiguities that could nullify this: (1) the exceptions in gdpr are ambiguous enough that all sites/services can claim them (2) dark patterns described in this paper make it so that a majority of users consent anyway.

IMO, considering "click here to agree and continue to the article" a valid consent is ridiculous. Contracts work when they are rare. We cannot solve this consent problem this way.
There is no study which supports your belief that democracy or dictatorship is good/bad for economic growth (or political stability).
You can view it as malicious sabotage, or you can view it as a potentially useful optimization (with obvious security caveats when used incorrectly). Either way, my point is that every major compiler lets you make the tradeoffs that are right for your particular usecase. That's a good thing.
I just installed Dark Mode for Firefox [1], it makes all websites have a dark theme. My eyes are already thanking me.

[1] https://addons.mozilla.org/en-US/firefox/addon/dark-mode-web...
As usual people are taking a comment and twisting it any old way they'd like. Which is fine, that's why we have these communications. To start off, no I am not in aviation. I have run quite a few companies and development departments.

I am not suggesting Slack or anyone else should not communicate at all when they have an outage. A public postmortem, which many people are asking for, is one method. Is it the most effective method? I doubt it. Many people are suggesting that as paying customers they would like to know what happened. Does a public postmortem tell the paying customer what happened in an effective way? Maybe, but maybe not.

When I am running a company I care very much what my paying customers think and are feeling about my service. I will communicate issues directly to them. Do I need to explain to the rest of the world in some great technical detail what happened during an incident? Absolutely not. Do I need to have the first post in Google about my company be an outage postmortem? Of course not. I need my PAYING customers to be pleased with the service I offer and to understand how I will mitigate the damage I have done to them. To me, that's a basic principle of business. I don't have to explain to everyone. I owe everything to my paying customers. Gitlab did a postmortem almost immediately after a major outage and some people tried to slaughter them with the information they shared. It was sad and unfortunate. Their openness was met with some horrible results from the community.

Also, I use Slack. My company uses it for everything including ChatOps for my production environment deployment. We have a hundred of so active users. The outage this morning harmed us. But you know what? I don't pay for Slack. I owe a lot to Slack but they don't owe me anything. I can't blame them for my problems this morning. They are a free service to me. I appreciate that their absolutely free service servers my company so well almost all of the time.
Silver lining: let's hope this will weaken the police union?

I'm actually not a big fan of public sector unions (I am of private sector unions) simply because a stronger union in the public sector means the taxpayers have to pay more and it's harder to fire employees that show poor performance at work.
I would pay $20/month for a churn coach

A what?

A churn coach. Helps me swim through the sea of gadgets and entertainment, helps put old stuff on Craigslist or upcycle or recycle properly and every month or so brings some product or service I'll love.

It may seem like a rehash of gift boxes for X Geekery, but the difference here is the cycling at the end and the very low volume.

I've found that for my ultimate convenience and entertainment it's a bit of homework to find the best of the best (movie, laptop, book, kitchen gadget, etc...) A Churn coach would help do that with a smile and a high five, this is truly the golden age.

(๑•̀ㅂ•́)و
I hypothesize it's a poverty thing. When you're poor, why would you care about plastic waste. You're worried about your next meal.
Those of us who lived through the fall of communism in Eastern Europe know exactly what it's like to survive when money is worthless, and it's not pretty.

Worthless money doesn't quite destroy the country's infrastructure, so you have water, and electricity, unreliably. It's good to stockpile water.

Shelter will generally be ok. If you've got a place to live, the economy collapsing around you doesn't remove it - the people who own it or run it have their own worries. You can stay where you are. If you have debt, good news, you can sell a pair of shoes and repay your house loan.

Food is harder, since everyone wants it, but worthless currency doesn't entice anyone to transport it. Farmers do ok, as they grow their own food, but getting it to others is more difficult. You will be paying high prices for food in a foreign currency on the black market, but your idiot local government will try to destroy black markets, despite them being the only real access to goods.

This is unlikely in the US, but if you're worried, put a tiny bit of your savings into gold and silver coins, and have a good supply of non-perishable food, and some sort of access to water. The regimes which cause these kinds of problems collapse soon thereafter, so you just have to last it out. Learn useful skills - fixing cars, plumbing, whatever, and you'll be marketable in such a situation. Higher order skills become kind of useless compared to the day-to-day ones needed to keep stuff working.
Ask HN: Why are status webpages broken?
The first place that I go when there is an outage is the status page of the service. Unfortunately, status pages are outdated and cannot be trusted to represent the status of the service.
Why? Why do companies choose to use Twitter over their own status page or at least not both?
GitHub Status page is 16 days behind https://status.github.com/messages
Slack Status page is saying 100% uptime for the last 30 days while they are having an outage https://status.slack.com/
I would guess many of these 100-plus reservations don't go smoothly. Callers might not speek English so well, or they might call amidst street noise, hesitate on their wishes... It's plausible that a standardized call format from the Google Assistant would be easier for the employees and take less time?
> Could be a big competitive advantage...

The fact that after four decades it has not proven to be so is evidence that either it is very difficult to put into use or not that effective.
Gimme a break.

They use an outdated engine design, that can only achieve reasonable HP if the engine has pipes on it that let it 'breathe', not mufflers mind you just pipes.

Maybe if either of Mr Harley or Davidson were brought back to life today, they'd probably laugh at the fact that people still use that design and go on to manufacture electric crotch rockets instead.
Guys, c'mon, Google didn't make Duplex so that it could revolutionize restaurant reservations. Everyone here is getting so hung up on how there are better/other/existing ways to book a table. Of course there are, but that's clearly not the point of Duplex.

Reservations are just a convenient test bed for the underlying technology. And the underlying tech is 100% the reason for Duplex. Not table booking. It's all about training for AI - speech generation, conversation, language parsing. Making a reservation is a quarter step up and long staircase google sees for this tech.
EU Releases Guidance on GDPR Consent
I agree that the situation in Venezuela is dire. I would expect an article about the situation would respect that, and rather than presenting it as some cinematic experience it would present the facts in an easily consumed format. This "article" doesn't do that.
The situation is the result of a corrupt and incompetent government, and short of starting a war to overthrow said government I'm not sure what we can do.

We shouldn't miss the humanitarian crisis, but given that the HN community has a lot more influence over UX than foreign governments, the focus on content format isn't irrational.
> I can't actually see how a civil war would work mechanically.

There is a good deal of discussion of this on the right if you know where to look. The general consensus seems to be that it wouldn't look like the Civil War at all, but more like an insurgency - like the political violence of the 1960s, but with much greater magnitude and frequency.

The thing that scares me is that I'm seeing both sides begin to use tactics that isolate individuals who are vocally opposed to them, track their movements, and organize actions against them. Thus far those actions have mostly been threats and harassment, but it seems a small step between a group confronting someone in a restaurant and individuals or small groups attacking them in their homes in the middle of the night.

> The right side of the political divide makes up almost all of the armed forces, first responders, and police; their civilians also own most of the guns; and they control the food supply.

None of those things matter as much if the left controls the federal government. Obviously they don't at the moment, but to many on the right that's what at stake in the next couple of elections.

Objectively, I don't think there's any real doubt that the right would win an armed conflict. That said, objectively there was no hope for a Confederate military victory in the Civil War, but that didn't stop the war from happening.

> This isn't like the US civil war where it was the North against the South.

I would argue that the US Civil War wasn't a "civil war" at all, but a failed revolution. The US has never experienced a true civil war.

> This would be geographically isolated urban cores versus their surrounding suburbs and rural areas.

Mostly, but not exactly - the divide is between ideologies, one of which is concentrated in urban areas. What's most alarming about that to me is that people are beginning to physically move to areas where they are part of the overwhelming political majority. I don't have the citation on hand, but the number of "toss-up counties", where one candidate edge out the other by only single-digit percentages, declined drastically between 2004 and 2016.
Many are defended by man's best friend

https://ahmedabadmirror.indiatimes.com/ahmedabad/others/stra...
Both are over-abstracted materialist belief systems of how society should function. The new religions.
Jamming - Brazil, Argentina, Russia, China, and there’s a small dead zone in the UK over the Brecon Beacons.
It's quite interesting to see my comment, first got a couple of upvotes and went to the top (because it looks interesting?), then got a couple of downvotes (because my comment was seen as nonconstructive? 0r because it ranked #1 and some thought it shouldn't?), finally got more upvotes.

There must be some misunderstanding. Not at all I'm saying or implying IEEE is being hypocrisy. I just wanted to point out the simple fact that there are still works need to be done to ensure "HTTPS by default" on the public internet. One website at a time. Perhaps we should start with this IEEE website which coincidentally published a pro-encryption statement.
A Stanford researcher says we shouldn’t start working full time until age 40
> in something marked restrict

In C++ there is no restrict keyword. So either you're using and abusing compiler-specific behavior that you decided to do so without any test at all or you're confusing programming languages.

Either way, you're trying to pin the blame on C++ for something that has nothing to do with C++.
An appropriate typo:

"Our computers will become more capable in terms of the rage and complexity of the tasks that they will be able to undertake."
I don't think we can.

Any attempt to do so will be resisted by the government as the meddling of the imperialists, to be opposed at all costs. We either have to invade to remove the government by force (and kill a bunch of the army), or we can do very little.

One thing that we might, in other circumstances, do, is to tell Columbia, for example, that any refugees that come over the border we will take, so that they don't need to try to keep them out. But under current political circumstances in the US, even that seems out of reach...
Could you please stop with these off-topic insinuations? They're rather unscientific. If you have concerns, the guidelines ask you to email hn@ycombinator.com so we can look at the data.
Having the courtesy to be wrong
30 years ago I could open a locked car, and get it started and driveable in sixty seconds (the steering wheel lock will be collateral damage). Not a car thief, but I was a mechanic. But now there are better door locks, a lot of cars don't even have a key-locked wheel lock, and you don't just short two wires under the dash to start it like the movies. Granted, a career thief probably has quick workarounds for all of this, but the bar for quick car theft went up from "low-life with a slim jim", I think.

Point is, yeah, car alarms likely had some effect, but was it more or less than the fact that cars are just generally harder to steal now? And I have no idea what the answer is.
This is a popular misconception. All societies including feudal ones and modern socialist societies have private property. What capitalism means is that the people who own the places where people work, and the people who do the work, are not the same people. An alternative might be a society in which all the businesses were worker owned; it would still be a free market society, but since the businesses were all owned and controlled by the employees, there would be no stock market and would not be capitalism.
Summer Weight Loss Strategies for a Successful Slimmer You
I found this maddening to watch from a technical perspective - it was beautifully produced, subtitles, video and audio - but it didn't work right in my browser! (latest chrome on win10)

- the audio and subtitles didn't sync

- if I touched the scroll wheel on my mouse it would rapidly generate events that caused the 'next' action

- if I click on next after the audio was complete on one page there was no audio on the next page - just the subtitles.

..so I struggled through it and wondered how this was tested before they pushed it out.

finally, getting to the end - I didn't see anything that actually discussed how people are actually surviving!?

I lived in the USSR in the early 90s while crazy inflation was starting to happen; here are a few strategies people used in those days (in fact I and my family used too). Note that inflation got even crazier after I left - and I'm not sure what other things people did to handle that; but I suspect friends/family/connections continue to be extremely important.

- they kept dollars or other western currency and traded for rubles as close to purchases as possible

- everyone would use private connections with others get access to goods that we're not readily available. didn't seem to be at lot of bartering here - but taking very good care of those connections and reciprocating whenever possible.

- people would grow food at their datcha - and share with their friends and sometimes sell it at local open market / bazaar.

- finally, you take on any work - and I mean any work - to get a bit of extra cash - especially in foreign currency. You're not like "I'm a doctor, I've above doing ______" if someone will pay you to do ______; and you can do it - you probably will.
Well, it depends; if you can employ locality of code, cache lines etc. to your advantage it might pay off doing crazy things to optimize the innermost loop and similar. Though as you said, you'd structure whole blocks of functionality more higher-levelish. On some embedded systems it still pays off to modify code during execution, e.g. replacing a constant in innermost instruction by pre-computed value from higher level to avoid memory access penalty.
The title should read Google bought a seat at Linux Foundation board of directors for $500k.
I remember that the last time I read about an ATM hack in India, the M.O was that the attackers were simply putting a matchstick under the "*" key which made the ATM stuck so that the victim left the ATM without collecting the money which the attackers retrieved afterwards. The whole MO is explained here (1). It could be because of outdated systems.

(1) http://www.dnaindia.com/bangalore/report-school-dropout-tric...