skysight-inc/HackerNews huggingface dataset:
As someone in their 40s, that perspective is completely alien to me. As my kids are getting older and no longer need 24x7 supervision, I am getting more free time in my 40s to "waste on unimportant stuff". I'm doing more side projects, more art, more reading, and still getting my job done and sharing time with my family. Combine that time with more experience and a larger nest egg to support time away from salaried work... and any entrepreneurial efforts are not because I am forced into them, but because all the pieces of my life are aligned well to try something new.
Yup, I saw one floating over Georgia recently. It floated over from the Caribbean.
It's pretty depressing that Tokyo is kinda the high point of urbanism and even it has so many issues. The bar is set really low for nice cities

Tokyo has many city centers, but I think it fails pretty badly when it comes to office space distribution. There's still concentration of large companies in a couple central areas, meaning everyone is going into a couple spots every morning, and leaving every evening.

There's a big status thing involved where companies want to be in the good neighborhoods so their address tells people that the company's successful. It means that huge swaths of the city are empty during the day. This compounds into lack of as good public services in certain areas, basically creating dreadful suburb communities where there's nothing but housing and convenience stores for miles, and local businesses can't survive on the paltry foot traffic

Meanwhile everyone and their dog is in the same 5 neighborhoods

Tokyo is lucky in that there's permissive zoning, so theoretically this can be corrected. But there's almost no incentive to do so because there's still a lot of prime construction to be had in other parts of the city

The city is going to end up with a bunch of holes in its urban planning because theres not much glory in developing the less popular places

The dark side of the transit network being in place is that there's not as much incentive to ensure local growth. So everything is a 40 minute train ride away.

(To a greater extent the Shinkansen did this for neighboring cities. You can now get to Tokyo in an hour, so there is less pressure to have stuff in your town. People end up getting used to it and moving to Tokyo)
WinRAR 5.60 Full Keygen Download
In fairness trade protection was an exacibation, not a cause of the Great Depression [1].

1. https://en.m.wikipedia.org/wiki/Smoot–Hawley_Tariff_Act
Also, it's not really removing the `if`, it's just making it into `&&` and `||` instead, which are shorthand conditionals anyways. So a bit misleading to call this a anti-if strategy.m
The Remaking of Class
Show HN: Frock: Clojure-flavoured PHP
Empty container isn't much better communication aid, only in some specific situations. Much better would be for VM to save the stack at the "null" value creation time and later attach that stack trace to the NullPointerException. Perhaps it's finally time to adopt this from Lisp :D
How much did a Lisp Machine cost? With the specs you're listing I imagine it was 10-100x a PC.
I do have a feeling this might be an overreaction of sorts, so yes, you're probably right and my relationship to the origin will relax over time.

Another issue is hidden discrimination or just stereotypes. Continuing with the Muslim analogy, imagine a caucasian non-religious western dude named Muhammad with a weird last name that doesn't sound like anything familiar anywhere on the planet except for one country. This is something I had to live with. When people hear my full name, they usually think of a certain culture and religion, and it has nothing to do with neither me nor my appearance.
Technology in Events: How It Can Save Time and Make Events Seamless
European 'zoning' regulations don't necessarily forbid mixing shops, houses, light industry, bars, clubs, etc. This means that you can often find housing, work, entertainment and food within walking distance of each other. The US rules seem to encourage segregation; not just racial segregation but also segregation of the types of use to which buildings are put.
The "white monopoly capital" was not incited by McKinsey, though.

What happened was that the Gupta brothers and the president received a lot of negative media attention for a series of very serious corruption allegations, so they hired UK-based PR firm Bell Pottinger.

Bell Pottinger spun a story that they were victims of rich white people who spread these stories because their wealth was being threatened. They also hired mobs for protests and ran twitter campaigns.

This did agitate some racial tensions, but fortunately they weren't successful thanks to the dedication of investigative journalists and some heroic whistle blowers.

Here are two relevant links:
* https://www.dailymaverick.co.za/article/2017-06-06-scorpio-a...
* https://www.dailymaverick.co.za/article/2017-07-10-analysis-...
We Have Reached Peak Screen. Now Revolution Is in the Air
I've started the process and, except for a few places like Twitter, many online services and communities make it pretty hard to use a pseudonym. Especially when it comes to restoring a lost or hacked account, when you have to confirm your identity.
One of the Unclassified cookes _nauid has its expirey set to 1000 years...
Depends on the person, but for me combining them causes an important increase in anxiety, if you try cut in half the dose of both to be safe. Cannabis when coming down from amphetamines is a different story though.
C++17 Features That Will Make Your Code Simpler
>The mean founder age for [...] is 45.0. [...] Prior experience in the specific industry predicts much greater rates of entrepreneurial success.

To me, "prior experience" favors B2B startups and those tend to be founded by 40-something entrepreneurs. (I made a previous comment about this.[1])

In contrast for B2C, many observers (VCs like Bill Gurley, Fred Wilson, etc) have noticed that experience doesn't necessarily help consumer-facing internet companies and viral smartphone apps. (E.g. Twitter founder Ev Williams started Medium at age 40 but it's still losing money and it's not as successful as Twitter.)

The counterintuitive conclusions about median age of 45 may be happening because the study doesn't group the data between B2B vs B2C. It's the B2C startups that have more exposure in mainstream media and they dominate pop culture conversation. The numerous B2B startups become hidden as a sort of "dark matter" in the business universe because they probably comprise most of the successes but ironically get the least amount of news coverage.

[1] https://news.ycombinator.com/item?id=16902662
One shouldn't linearly extrapolate science.
That's what I'll be calling it from now on.
It's fascinating, indeed... when the US Americans see the fallibility of others but, somehow, forget to see the fallibility of themselves or of their allies:

(1) Abu Ghraib and Guantanamo Bay torture prisons or the persecution of whistleblowers (to name just a few).

(2) US ally Saudi Arabia waging a war in Yemen (to name just the recent one).

Should "something to be done" about these "human rights issues"? I am very curious: Would sanctions on US and its allies have any chance of improving their behavior?

Or are the US Americans "the exceptional" nation? Just like the Germans under Hitler?
Show HN: Football live dashboard in new tab
>For an online identity, do you intend for it to be easily connected to your (new) legal name?

I'm not going to change my legal name any time soon, sorry for a somewhat confusing explanation. I was just thinking if that new online identity is alive and successful (subjectively), then, in the future, I might consider changing my legal name accordingly.
That's an interesting viewpoint to strike a balance between privacy and secrecy.

Can you shed some light on how you share the photos with non-technical family and friends, given that B2 has no app as such?

I have some experience with AWS/Azure and both of them do not support folders, and the workaround is to have slashes in the filename to create a virtual directory. Is it the same with B2?
> Do you know the history of Kubernetes?

Yes I do. Sure it originated from Google and was built with inspired by their internal stack (borg) and a ton of their experience. For a good while though, there was still competition in the form of Mesos/Swarm and unclear what platform would get the upper hand, but k8s emerged as the clear winner here - and in the last year or so - everybody jumped on it.

> And really, Kubernetes uses "Docker Concepts"?

I don't really understand what your problem with that statement would be?
I find this roadmap a bit too focused on web development.

Also I think the biggest problem with many developers today is that they lack proper training and they are self taught.

A senior developer can apply the complete development lifecycle by himself.

I believe that it does not matter how many fancy frameworks you know when you do not know basic design patterns or are unable to create a proper diagram and continue to write unmaintainable spaghetti code.

Some of these are addressed in the article but are limited to a specific language.
So we'd need a debate forum that is deeply integrated into the system that has a forcing function for truth.
I just tried this. It’s so useful.
The tariffs introduced in 1930 could have been a big factor in making that depression Great.

http://americastradepolicy.com/did-the-smoot-hawley-tariff-c...

> The economists argued that the tariff increases would raise the cost of living, limit our exports as other countries retaliated, injure U.S. investors since the high tariffs would make it harder for foreign debtors to repay their loans, and damage our foreign relations. Unfortunately, this is what happened.

> From 1929 to 1933 American exports declined from about $5.2 billion to $1.7 billion, and the impact was concentrated on agricultural products such as wheat, cotton and tobacco. As a result, many American farmers defaulted on their loans, which in turn particularly affected small rural banks.
These Beating Mini-Hearts Could Save Big Bucks–And Maybe Lives
StreetLearn: Learning to navigate in cities without a map
Media is a terrible metric. Their incentive is attention, not truth. The consensus of media is worse than the consensus of the public.
I bet that was both exciting and extremely hard. Glad to hear you did it.
If you are interested in more literary variation of the theme, "His Bloody Project" by Burnet is pretty nice read. It essentially describes the proceedings of (a fictional) 19th century Scottish murder trial. It is well researched, and plenty of things from the article sounded familiar from it.
You mean a light tube? https://en.wikipedia.org/wiki/Light_tube

I think they're uncommon because electric lighting is fairly cheap to run, and there are practical issues with running a big light tube through the house.

There's even a Swedish company doing it with fiber optics: https://www.parans.com/

Their website claims they can get sunlight 30 floors down.
In Times of Crisis Are the CISO and Board Ready to Deal?
F# Async Hazards, Concurrency Concepts and Other Models
Return on Investment: Top Profitable ICOs of 2018
Well, I could do operations for logging that are otherwise not required...

if(log) { logger.write(computestuff()); }
Kurtis under 799
Google's IPv6 statistics (https://www.google.com/intl/en/ipv6/statistics.html#tab=per-...) show that the US is ahead of literally every other country in the world, so I think it's fair to say US ISPs aren't doing too badly.
Ah you're right, I don't know how I missed that! I guess it just doesn't follow the city's main neighborhoods like Tokyo's one does. There goes my theory...
Why do snooze buttons go off after 9 minutes?
Why IS IT SO? – Java Practices by Andri Osta [#1]
I would go with python-requests http://docs.python-requests.org/en/master/
Thank you, this is very helpful.

1) Yes, this was one of the best things that happened to me.

2) Again, thank you for formulating that in such a clear way.

5) Yeah, nothing like that, luckily. No enemies I know of, no debts or hated relatives.

Your comment made me think in a refreshing manner.
KVM L1 guest escape – CVE-2018-12904
I've tried to use onioncat to get from anywhere to NATed home. Performance sucked too much. Switched to an openvpn instance on a VPS :D
No problem!

It seems that the issue is less that the code is made more opaque but that you can quickly think of some counter-examples or nitpicks that make the advice less valid to you?

I think the problem of not being universal is true of most programming advice. So I don't necessarily see it as a reason to discount it. I also think in contrast to a lot of articles the author has done a great job to couch their advice as being contextual. For example for your criticism of Pattern 4 the author does actually point out the obvious solution to these complex expressions. To split them out into several parts. Which is what you get with if statements to an extent but spread out much more with a lot of clutter.

Some of your criticism also seems to be based on a misreading of the authors intent. For example Pattern 5 where the goal isn't to remove the if statement but prevent having to repeat the same error checking pattern everywhere.
No, but:

if (a) return false;
if (!b) return false;
return true;

May be easier to read than:

return !(a || !b);
> people start to get twitchy

You mean all the people who don't have a facebook account?
Hiring Guide for startups
How on earth do you intentionally give yourself a panic attack?
Dear Startup Founders, please join me in welcoming to the world a brand new Hiring Guide (www.hiring.guide). It is still Beta, things will look better. I decided though to release it already now because I believe there is some useful content. And since it's my first website, well, I was also afraid that I will be never done with improving it ;) Enjoy!
A term I had to look up was "SSA", which it turns out is short for "single static assignment". [1] This is where a variable in the intermediate representation can only be assigned to once, and this has to be at the point of definition. It seems that a single variable in the original C++ can (/must) be translated into multiple SSA variables in the IR, representing its value after each assignment to it.

[1] https://en.wikipedia.org/wiki/Static_single_assignment_form
There are cases where that strategy doesn't work effectively (IMO). Consider a social graph or purchase history relationships in a graph database. You could restrict your engineering team to only make entries in a (relational) reference data store and then express those relationships in a graph DB for querying.

That is not likely to give you the same pace of development as a competitor who chooses to use a graph DB natively while your team goes through a labor-intensive translation or impedance-matching process for each change. If they're able to outpace you in development/innovation, you are more likely to lose in the market.
Personally, I find

return (foo && bar) || baz;

The most readable.

The top version just has too many curly braces and parentheses. I can keep each branch in mind easily, but keeping the whole program flow at once requires me to first parse it and translate it.

The last version, I can read as "either baz, or both foo and bar", which is easy to keep in mind at once, and would be much easier to pattern match for errors ("Oh no, I wanted foo and baz, not foo and bar") than the top version, for which I would possibly have to iterate each potential execution path in my mind to spot a mistake.

Consider, more concretely, (since I can't think of a better example), knowing whether to give someone an alcoholic drink. Let's go US style. Either they order a soda, or they are old enough and have ID. Three variables: isOver21, isSoda, isIdPresent.

(Putting aside the fact that the order here is weird and it could be designed better) we can either go:

if (isIdPresent) {
if (isOver21) {
return true;
}
}

if (isSoda) {
return true;
} else {
return false;
}

Or we can go:
return (isIdPresent && isOver21) || isSoda;

Now what if we accidentally swapped two variables:

if (isSoda) {
if (isIdPresent) {
return true;
}
}

if (isOver21) {
return true;
} else {
return false;
}

vs

return (isSoda && isIdPresent) || isOver21;

Note how in the first case, if I am tired, I could miss it. Most of the code paths seem correct. If someone is ordering a soda and has an ID they should get the drink. If they are not ordering a soda, and they aren't over 21, they shouldn't get anything. If they are over 21, they should probably get something.

In the second case, I can see all the logic in one line, and I can say "hold up, why are we asking for soda and ID, or age? Something seems off." Not that I can't do that with the multi-line if, just that it might take a bit longer.

Source: I've been bitten by multi-stage if statements on a few occasions.
By putting your drive in a safe, you now have to unlock it, take it out, plug it in, sync, unplug it, and lock it away. Which is a hassle if you want to stick to regular (hourly? daily?) backups.

It is proven that if you introduce friction into process, over time that process will be followed less.
But is it easier than

!a && b

? :)
am I reading this right? it seems number 3 is suggesting I accept Optional as function/method parameters? That is an anti-pattern if ever there was one, and it also adds another layer of if's instead of removing it. an empty collection is fine, but if I accept an optional, I need to first check that the optional isn't null (because it can be!) and if its not, check if the optional has a value(basically another nullcheck, jay!). optionals should only ever be used as a return-type. I hear a lot of people say that they should be used as parameters to indicate that one parameter is not necessary, but that's what overloads are for!
Or perhaps the reason they didn't mention the USA is because they just weren't talking about the USA?

Not every discussion is about comparing things to America.
Michael Stonebraker, Uğur Çetintemel, "One Size Fits All": An Idea Whose Time Has Come and Gone: https://cs.brown.edu/~ugur/fits_all.pdf
Fighting ISIS with the B-2 Bomber
The Hidden Index Bubble
Fair point. It's basically syntactic sugar.

Hard to say how to properly refactor out the if statements without knowing the problem domain. And I guess that's basically the point - using if statements means that you are writing imperative code rather than modelling the problem. You are specifying to the compiler how you want things done, rather than what it is that you want done.
Why not also include Linux in the list, to show that it is indeed possible to get "all green" score..
Belgium (50.02%) is ahead of the USA (37.19%) on that chart, although you may have missed that as it's quite a small country. Click "Europe" to zoom in a bit.

Alternative data from Facebook -- https://www.facebook.com/ipv6/?tab=ipv6_country -- is quite a bit different but shows Belgium (50.45%) and India (50.27%) are both slightly ahead the US (49.28%).

It's very hard to measure IPv6 adoption. I would personally go with Google's measurements as I suspect the numbers are higher on Facebook because fewer people access Facebook at work, where those networks tend to have less IPv6.
I think it's fine. It's just probably 10x easier to get 80% of what you want if you aren't as strict about doing away with your old one. You can do a name change and all that without completely vanishing. Does the odd obsessed fan or hater really matter?
They already do this (with a one-week exclusive) on the very good music/lyric analysis podcast Dissect (https://dissectpodcast.com)
But European companies regularly play the national interest card and block foreign takeovers.

France famously used that with Dannone a yogurt maker to block a take over :-)
So it is not really a "problem" for workers after all.
The GPS app that can find anyone anywhere
When we used PCs for AI development in Lisp in the end 80s/early 90s, they were large Compaq PCs with disk, large screen, backup, graphics card, lots of RAM, Lisp license etc. -> 25k$ or more.

A Lisp Machine new in 1984 would be around 80k$. Prices were then coming down a bit for delivery systems and also for embedded boards. But you could think that end of 80s a large Lisp Workstation was three times as expensive as a high-end PC or Mac. But for PCs RAM was still expensive and the 32bit Intel processor wasn't really that good running Lisp. RISC systems (SPARC, MIPS, ALPHA, ...) were better at that and their Lisp systems were better than the ones for PCs. But the real good Lisp systems (Allegro CL, LispWorks, Lucid CL) for RISC appeared or matured only end 80s/early 90s. 64bit Intel is okay nowadays, too.

Some Lisp systems were also stretching PC/Workstation capabilities, since they were large memory-hungry applications - they triggered specific bugs in larger configurations. Imagine in the early 90s a CAD system written in Lisp running in hundreds of MBs of RAM, where each CAD workplace cost 1-2 million... stuff like that used by FORD for example to design cars...
Interestingly, there is a mall underneath the Manhattan bridge overpass in Chinatown NYC. It's a pretty cool place:

http://bedfordandbowery.com/2016/12/your-next-favorite-book-...

http://gothamist.com/2014/11/18/dim_sum_dance_party_you_guys...
I don't think it's a binary. The state claims some power over over it, and it claims a fraction of the profit. But not all of it. So you don't fully own it, but you kind of own it.
Same goes for real estate where they reserve the right to tax it and impose restrictions on what you can do with it.
I use Backblaze now and once I get my NAS, I’ll probably end up using a B2 based backup. But let’s make an honest comparison. Backblaze does not replicate your data across data centers. The standard S3 storage class does (0.23/gb). The comparible storage class for S3 is one zone infrequent access (.01/gb). B2 still comes out ahead, but I wouldn’t use either one for primary storage. For thier suggested “3-2-1” backup strategy, sure.

Then again, just for backup, I could use S3 glacier for $.004/gb. That’s cheaper than B2 and I get multiple AZ storage. The data charges would be higher - but its backup. If catastrophe struck and I lost my primary and my local backups, getting my data fast is the last thing I would worry about.
We weren't talking about "human rights issues" either, yet OP started talking about it.

And when the OP moved the discussion in the other direction, one must also look at the track record of the USA in that particular area.
Can I ask, what makes that setup "not cloud" vs Amazon S3? Amazon doesn't make public their hardware setup, merely that they offer various "9s" of reliability against data loss.

What if, for arguments sake, Amazon's secret setup is exactly the same as Hertzner hardware wise, with Amazon merely putting a number against the reliability that setup offers?
Three facts from “Our World in Data” that everyone should know
Have you ever tried a low dosage via vaporization?

Smoking itself, because of carcinogens and oxygenation, will lead you to the sluggishness many people associate with kush.

Fuck smoking. /rant
Gtfobae Поет Hari: Gwiyomi Song Anime
I didn't see any link to anything of the sort, but I'd love to have a large print of one of these maps.
Ask HN: Anyone sucessfully migrated from Slack to Basecamp?
Migrate as in data-wise as well as process-wise. What was your experience? Our current issues with Slack are
1) keeping track of previous discussions and
2) Abandoned impromptu discussion threads without a proper conclusion
looks like you can find out and monitor those apps that consume the most
UK Tech Events Guide 2018
It depends on the language. Languages with pattern matching usually solve the problem with code like this (pseudocode)

fn box(status=checked)
do domething

fn box(status=*)
do something else

My Elixir projects have 0 to 10 ifs and they do solve real problems. I use plenty of ifs in other languages but I follow some of the advices of the post.
It is. Having to choose between a competitive salary or leaving your country sucks.