skysight-inc/HackerNews huggingface dataset:
Tourist destinations being overrun predates Airbnb by several decades. Take Venice, it was operating at maximum hotel capacity for at least 30 years. What happened is people stay in neighboring cities and take the train or bus in, or arrive and sleep on cruise ships. It has much more to do with the increased number of people who can afford to travel. Take China alone. In 1990, the number of Chinese citizens who could afford to travel to Europe for vacation was probable in the tens of thousands. Now it is in the hundreds of millions. Add in low cost airfare, things like Ryan Air, and it is simply that more people are able to afford travel.
At a stealth startup, dozens of engineers relentlessly worked 20-hr days
> diminishing 'touristy' places

It doesnt matter. Tourists keep flocking in ridiculous amounts to tiny islands for their instagram selfies. Everyone says they want a "unique" experience, but in reality they don't. There are countries like greece where "unique" experiences untouched by repackaging/commercialization dont exist for decades- everything has been touristified.
Ask HN: Just found out that I’m gonna be a dad
Hi everyone, I just found out that I'm gonna be a dad. If is something I always wanted but my income is unpredictable. Sometimes I make 50k sometimes nothing. It never bothered me untill now. So I'm freaking out. What do you guys did when you have to have consistent I'm income.
Fighting Crime with Statistics
Note that futures, promises, &c. are all about deliberately asynchronous operations, most commonly I/O. Expressed in older terms, it’s cooperative multitasking.

Thus, when you have a CPU-bound function, they are of no assistance in UI responsiveness, unless you deliberately insert yield points; in JavaScript, for example, you might do a unit of work, or process work until, say, ten milliseconds have elapsed, and then call setTimeout(keepGoing, 0). (Critically in JavaScript, you mustn’t use `Promise.resolve().then(keepGoing)`, because that’ll end up in the microtask queue which must be flushed empty before the browser will render, so you won’t actually yield to the UI with this approach.)

So be careful about your DisplayResultsOfSlowFunction(). If its slowness is that it takes a long time to calculate, and it doesn’t actually have any asynchronous stuff in it, async will not help you.
I’ve had no issue contributing to fix small holes in NixOS, and Docker covers the rest. So far the only thing that I’ve found genuinely challenging is getting complex binary software running. I have a Nix expression for IDA free but it can only use bundled Qt. VMWare Workstation I outright can’t use, which is a shame since I have a Pro license, but it woke me up to how great KVM is, so there’s that.

I would not recommend NixOS to everyone, but I definitely would recommend it to the type of person who wants to automate their system.
"Number of people in the city", yes. But the relative percentages of tourists to locals, no. Which tends to be the problem. Tourists spend money differently and create different logistical issues than residents.
Believe me I've tried - I love TV and film, but cannot get very far before the obligatory strong, independent and sassy minority group representative appears to deliver their identity politics sermon. No thanks! It's patronising and boring.

Reminder: The Alien franchise managed to have a strong female lead and be one of the best sci-fi series ever, and all without including the barely disguised sociology lectures. Go back and look at films from the 60s-00s - many were able to integrate minority characters/themes etc. with charm and subtlety, and managed to avoid the contemporary subtle as a brick approach. We're at the point where gems like Blazing Saddles could never be made due to the po-faced, finger wagging authoritarianism of the PC establishment.
not quite. OP described how the world "is" (according to their particular worldview, which is subject to their biases as everyone's worldview is) and then prescribing what one ought to do in the world. The person responding is cautioning readers to consider what fitting in really means if the thing you're fitting into is profoundly malformed.
You’re not the only one. See https://journal.stuffwithstuff.com/2015/02/01/what-color-is-..., discussed in https://news.ycombinator.com/item?id=8984648
I think Rutgers in NJ used Sakai. As well as some other schools. It’s not much better but it’s far cheaper.

Canvas is the new kid on the block. Even Canvas has issues though so it’s great as a replacement for Blackboard, but there’s still plenty more that can be disrupted and improved.
The average user doesn't think like that. They see, "oh in order to get to the next level of farmville I just have to modify this really easy shortcut!"
How to Listen to Classical Music: Motifs and Seeds [video]
On a fundamental level, it's absurd to use the same datum as a unique identifier and an identity proof. The best analogy I can think of is signing up for websites with only a password, and then having to provide that password as an identifier any time you need support.

Oh, and the password is almost impossible to change, and you're required to use it to sign in on a host of other sites.
Best Islands for You to Visit on Your Next Vacation
It isn´t BankID that´s robust. In fact, as a federation service, it is probably one of the worst maintained ones in human history.

The thing that makes identity theft harder in Scandinavia is the fact that Person-nr (SSNs) are public information. I can look up anyone´s SSN via a quick search (using https://upplysning.se for instance). Yet I can do very little with that information (compared to the US). That said however, it is possible to ruin someone´s life here as well if you really wanted to, it would just take a little bit more work.
There is a passport card with a chip, but it is only usable at land crossings. Ostensibly because the world has agreed on what a passport is.
>But it does require knowledge of generators. You're suspending a function during execution; that's what a generator is.

That's like saying "Ordering from Amazon does require knowledge of driving a van. That's how the stuff comes to your home!".
> People will have to move around closer to their work so they can bike or walk.

The corollary to that is people will either be more locked into whatever job they're at because they need somewhere close to home or people will have to move much more often, meaning probably much more renting than home owning. On the other hand it might revive the idea of pensions and unions because people would stay at jobs longer since it would be harder to change jobs (or it would just lead to worse conditions because workers have less choice, the way it would fall kind of balances on a knife's edge here).
The fraudulent activity got his name put on a government watchlist, probably while the perpetrator was still actively posing as him. Once you get on these lists, it can be extremely difficult or impossible to get back off.
It's probably tricky, as thermal noise/shot-noise fluctuations are not on the side of the exploiter.

Interesting idea, though :).
An image gradient then. 1 px wide perhaps, or high. Few problems resizing it (even on client) and it should be reusable.
Can I recommend here John Higgs’ excellent book ‘The KLF: Chaos, Magic and the Band who Burned a Million Pounds’ [0]

It’s ostensibly a bio of the band The KLF (or the justified ancients of Mu), who somehow had a successful music career by taking discordianism as far as it could go. However, the book widens to Robert Anton Wilson, Timothy Leary, the Illuminatus and most of the second half of the 20th century.

If you haven’t heard of the KLF, they’re well worth looking into: after having a load of hits in the early 90s, they retired by machine-gunning the BRIT Award audience (with blanks), deleting their entire back catalogue and setting fire to all the money they’d earned.

[0] https://www.amazon.co.uk/KLF-Chaos-Burned-Million-Pounds/dp/...
I think this is actually a smart decision. Thinking about it from a systems engineering perspective might help. I spent a few years writing software for NAVAIR. I worked specifically with systems that are on carriers, but I assume it is the same for NAVSEA and destroyers. A touchscreen might be thought of as a COTs component, but there's not many choices when you take into account the mil spec standards that must be met with regards to vibration and salt water. The touchscreens that are allowed to be used are not cheap and if the display breaks, it must all be replaced. The whole monitor itself is the smallest replaceable unit. Physical buttons on the other hand have very cheap versions that have been passing mil spec for the last half century. Stocking LED buttons and non touch screen displays would be the cheapest option.
Being capped at maximum hotel capacity isn't a bad thing per-se because it gives some measure of control. AirBNB blew that up.
>It used to be that only westerners had the means to afford traveling across the world but recently, with the rising income in China and India, they can too and, at least in Europe, you can see this.

IATA forecasts that by 2037 Asia-Pacific will have more air travelers than North America and Europe combined.

Source: https://www.iata.org/pressroom/pr/Pages/2018-10-24-02.aspx
I'm building an async server application (https://github.com/iddan/minerva) with async Rust and I feel the pain of not having await. Every time I'm using a Future I need to care about borrowing and Error types that if it was sync code I won't.
Premium Google thank you, Facebook I will love to see emplode, Twitter will slowly die away and I will be able to go back to RSS feeds to peoples blogs.

I already pay for newsblur.
> What's the point of this kind of safer-than-thou pedantry?

Keeping people from getting hurt and killed? There's a grave responsibility one takes on when handling firearms. If you take on that responsibility, you have a duty to protect yourself and others. If you don't want that responsibility, don't handle firearms.
How would sharing things that make the world better not be for the better?
Cultured Abundance: explaining the science of cell-based meat
Google Warning: Millions of Android Phones Come Preloaded with Dangerous Malware
I agree that keeping the initials is useful. What about maverick-in-the-middle? It has a nice ring to it ;)
If you have inconsistent income you have to have a healthy buffer of cash that you can draw from in times where you aren't making a lot of money. Congratulations on becoming a dad!
Huh? All the Scandinavians flying to Thailand every winter disagree with you.
It appears tho the right tool for the task at hand, as a codebase grows, is NOT Python. A good starting point for someone fresh of off a university campus, and easily impressionable. An "object oriented" language without even the basics of scope visibility is not object oriented. Half done libs are not libs that one might consider production grade. Debugging tools where you need to dive into execution branches and heck knows what other archaic debugging techniques are not debugging tools. Lacking documentation or poorly written readme fiels are not documentation. This whole Python movement is gaining a bit of traction because it became popular in universities. The realities of real life programming will sway many religious programmers towards more suitable languages.

So yeah, fantasising about how Python "is eating the world" is a good dream, but the only thing that Python is eating is dust left behind by far more developed programming languages, surrounded by far more modern ecosystems around them.
they are a few decades late in taking action, but still welcome. let's hope it's not too late
It may be the case they did not all choose to be together, but were grouped randomly or in the order they were waiting.
I haven’t used LXDE/LxQt in several years but this has been my experience as well. XFCE feels like an intentional, designed singular “piece” where LxQt feels stitched together.
http://zerodium.com/
I took a cheap MIDI controller and wrote some software to control Photoshop with it so that I can use dials for brush size, zoom, etc. Feels so much more natural.
Is this not how it works already? I'm not a darkweb participant, so I'm pretty clueless - I'd have assumed something like this exists.
I like the "do" notation in Haskell because it boils down the meaning of monads to the following:

Monads let you break the functional programming paradigm that a function should have the same value each time it is called. e.g.

do {
x <- getInput
y <- getInput
return x+y }

here getInput is called two times and each time it has a different value. When you now think about how this can happen in a functional language you have to understand what a monad does.

The heureka moment came when I learned about the flatMap in scala which is nothing else but the bind function in haskell ("just flatmap that sXXt") and voila thats how to use monads.

See the following explanation:

https://medium.com/free-code-camp/demystifying-the-monad-in-...
If you enjoy multiplayer games, the Battlefield games could scratch that itch
Not gonna happen. But enjoy Bloomberg Spin.
Mc.js: A Minecraft clone built entirely with JavaScript
Useful collection of statistic functions in JavaScript
The main thing that popped out for me was seeing the sheer number of gun related deaths coming out of the US.

Sure, other countries had some as well, but if you scroll by country, it seemed like every US related one involved a gun.
If you would provide the same, but still random, SSN to the insurance company and hospital, what that be a problem? How would they ever find out it is not your real SSN?
>You need to test anyway.

Actually, if your type system is powerful enough, you don't need to test. That's the source of the "if it compiles, 99% of the time it works right" people mention about Haskell (and even more so languages like Idris etc).

Type systems are tests -- just formal and compiler-enforced, not ad-hoc "whatever I felt like testing" tests, like unit tests are.

From there on it's up to the power of the type system. But even a simple type system like Java's makes whole classes of tests irrelevant and automatically checked.

A programmer can also leverage a simpler type system to enforce invariants in hand crafted types -- e.g. your "executeSQL" function could be made to only accept a "SafeString" type, not a "string" type, and the SafeString type could be made to only be constructed by a method that properly escapes SQL strings and params. Or the same way an Optional type ensures no null dereferences.
>I predict that long, slow, possibly "eco" trips will become fashionable as a new way to signal wealth (much in the way that travel to far-flung corners of the Earth used to).

the way to signal wealth now is taking ur yacht to obscure places and not telling people where these places are located to combat congestion.
C++ Programming Language Tutorials
You're absolutely right.

SSN's were only ever meant to be used for identification (as in a username). In the beginning the worst that could happen is that someone else would file their payroll taxes with your SSN, and make you eligible for more Social Security benefits when you retired. It was never meant to be a password.
Nathan For You proved the lengths that people will go to claim a rebate: http://www.cc.com/episodes/z5sar1/nathan-for-you-gas-station...
> really nothing stopping places like that from changing themselves to make themselves

you'd think, but places dont change themselves - people change them. And when these people have left, it would take exceptional circumstances to reverse the trend.
Unless we eat the moon and Mars and the rest of planets like Pac-Man pills.
Has Sony Captured 30% of VR Hardware Revenues?
I lived in Asia for nearly four years. Since 2015 and came back home a few months ago.

It was surreal to see the level of tourism increase between my favorite places. And I am convinced this is a bad thing because it steals the soul of the said environment.

People become more comfortable with greed. I was in Cambodia in late 2015,and was quite happy with pricing of things, even if often charged a premium. Then, I returned earlier this year for a holiday and quickly learned that prices have soared, and sellers don't care if you put your fruit and vegetables back. This was a huge warning for me personally.

In short, a lot of these places are becoming the exact same thing anywhere you go. An opportunity to grab money from foreigners, whilst putting culture as the very last thing for others to see and experience.

Anyway, I am probably just ranting. I do love Asia but the effects of mass tourism are very real.
Here's some rational "hate" for Python then.

I just returned to Python for the first time in a little while to collaborate on a side project and ran into a few tricky-to-debug errors that caused a fair bit of lost time. Know what the errors were?

In one case, I was iterating over the contents of what was supposed to be a list, but in some rare circumstances could instead be a string. Instead of throwing a type error, Python happily went along with it, and iterated over each character in the string individually. This threw a wrench into the works because the list being iterated over was patterns, and when you apply a single character as a pattern you of course match much more than you're expecting.

And another one, I typoed a variable name as groups_keys instead of group_keys (or vice-versa, I don't remember). Instead of just throwing an error, Python happily went along with it, used an uninitialized value, and then all the logic broke.

There's entire classes of errors you can cause yourself in Python that aren't possible in stronger, statically-typed languages. For a large project, I'd pick the old and boring Java over Python every time.
Link to actual content here:

https://github.com/maddiestone/ConPresentations/blob/master/...
For Embryo’s Cells, Size Can Determine Fate
Getting Started with Kontena Lens on Minikube
> this is definitely one of those places where [liberals] seems they can't make up their minds

It's as if the world isn't black and white after all and there is no single right solution for everything.
It’s a fact for certain types of radiation exposure. Unhelpful for others.
I believe the risk of governmental litigation (with a lot of zeroes in it) seems to have increased lately.
For dependency management needs, 99% of what you need can be done easily with vanilla virtualenv, vanilla pip, vanilla setup.py, and a Makefile. A small shell wrapper that sources bin/activate and runs your Python app is all you need to allow anyone to run your code without additional steps.

The biggest problem with Python packages isn't a dependency manager, it's that Python developers don't reuse and extend existing projects. They just keep churning out new similar projects with different features. All of the most commonly used Python packages are basically one-offs that use a bunch of other one-offs. This creates a cycle of reinventing the wheel and friction in ramping up on existing technology, due to all the extra integration work and split development, and later lift-and-shift into completely different dependencies that implement the same thing. PyPI is awash with duplicate abandoned one-offs to the point that just trying to just find a useful module to do what you want can take a long time.
OpenCensus Web: A tool to trace and monitor user-perceived performance
in 2007 USA there were a half-dozen "major" frameworks for reporting risk and establishing a profile of a company; many professional papers and presentations. This sort of business-press cheer leading is necessary but insufficient.
As a pure C & C++ programmer, I was amazed of the (to my eyes) incredibly clever little trick that is the Duff's Device [0], and started using it right away to provide embedded programs with easy to write "concurrency" [1], [2].

Some time later I had to dip my toes into the world of Javascript, learning first about Promises, and finally reading about async/await. I just realized that it is basically the same trick I had been using all along. And now it's coming to Rust, neat!

[0]: https://web.archive.org/web/20190217162607/http://www.drdobb...

[1]: http://dunkels.com/adam/pt/

[2]: http://dunkels.com/adam/pt/expansion.html
>Soros

Strawman/10
The problem is that you don't always know beforehand whether you'd like to perform a task synchronously or not.
I feel like I missed the boat on seeing world before tourism overran everything. Bummer.
Strangely it did not happen in France[1], we do not use as much corn sub-products in our agriculture and food, I think it's mainly used for feeding our poultry; still a bad idea as corn is not really adapted to our climate (not enough tropical rain I suppose as corn is a tropical plant coming from Mexico), most of the farmers crying when there are water restrictions are corn farmers in France.

Biggest french region cultivating corn is Les Landes which was a big swamp before the 18/19th century, maybe because it's more adapted to corn as it rains often (oceanic climate) but is hotter than Brittany.

[1]: https://www.agro.basf.fr/fr/cultures/mais/basf_agro_et_la_fi...
You’re correct, but they also have a strong desire to replace these if possible. There was an old effort to replace gcc with the old pcc before they eventually settled on clang.
pipenv really solves the Python version problem, IIRC. I don't actually use pipenv, myself, since I haven't had time to thoroughly figure out the new magic and I prefer to know exactly what's going on with my Python's.

npm doesn't solve the duplicating of deps any better than python/pip, as far as I know. The react-native app I'm currently working on has a node_modules folder at 960Mb. That's probably bigger than nearly every virtualenv I've ever seen. A react-native node_modules on a bare project with `--template typescript` is at least 350Mb (created one a few minutes ago). I'm using nvm for node version management. No problems so far.
It is strange indeed, given that this is not the first time lots of people die via missile explosion in Russia (see Nedelin catastrophe[1]).

[1] https://en.wikipedia.org/wiki/Nedelin_catastrophe
I think monads highlight something underappreciated about programming, which is that different people regard very different things as "intuitive". It almost seems that modalities of thinking about programming are bigger, external things than programming itself. Certainly they're barriers to learning.

Like Lisp, there seems to be about 10% of the programmer population who think "ah this is obviously the clearest way to do it" and the remaining 90% who go "huh?", and the 10% are really bad at explaining it in a way the others can grasp.

The two monad explainers that really resonated with me were:

- How do you deal with state in a language that would prefer to be stateless? Answer: wrap the entire external universe and all its messy state up into an object, then pass that down a chain of functions which can return "universe, but with some bytes written to the network" (IO monad)

- If you have a set of objects with the same mutually pluggable connectors on both ends, you can daisy-chain them in any order like extension cables or toy train tracks.

(It's a joke, but people need to recognise why "A monad is just a monoid in the category of endofunctors" is a bad explanation 99% of the time and understand how to produce better explanations)