skysight-inc/HackerNews huggingface dataset:
You are correct. Now, why wouldn't it apply to any measurements?

With some creativity I believe Nyquist-Shannon can be applied to all measurements. For example you could think of a single measurement as the equivalent of a sampling rate of 1 in the time period in which the measurement was made.
I prefer nature hikes in nearby regions to taking a plane to see X thing that you MUST see. I drive an efficient vehicle, it costs me nothing to get on the trail, and most trails just have friendly hikers, not tourists. This is a far more efficient leisure choice than heading to Paris or Rome and joining the throngs.
why was he stopped at airports? Under investigation but not enough to arrest or what?
AMD EPYC Rome Still Conquering Cascadelake Even Without Mitigations
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.

Although I'm slight worried for the coping ability of highly touristic places, I think it's great that tourism is becoming more accessible to everyone.

There's no reason why visiting famous cultural places should be reserved for the wealthy only. The wealthy have found new places to hide away from the great unwashed anyway.
I'm not sure if this is what you're talking about, or if the scale just wasn't a problem, but anecdotally I've (accidentally) pegged a 5$/mo instance for at least a month without any issues.

EDIT: I do know that DO/Linode/(maybe vultr) have blackholed IPs during large scale DDOS attacks, simply because they don't have the infrastructure to mitigate it, and you affect their other customers.
In addition, the essential ship controls must work in rough weather, so you want something you can grasp to keep your hand steady. So long as airplanes have human pilots, I do not suppose the physical stick, rudder pedals and throttles are going away.
> The world is big, but it isn’t big enough to be everyone’s personal playground.

Sure but people still want to leave. They don't seem to particularly enjoy their local enclaves anywhere (bowling alone etc). Online and offline escapism is on a steady rise this decade (e.g. digital nomads) so how is that going to be handled? Congestion pricing can do so much, there will always be cheaper alternative destinations. In fact younger people may not even want to have a permanent base anymore, so everyone will be a tourist, and everywhere will be a destination.
Thank you everyone for giving very informative and serious replies to my question.
I am a huge Rust fan, but couldn't really articulate why async/await seemed so complicated. You have nailed it right on the head!

This is a exactly how I feel as well and I write Rust code every day.

But no matter, I will suck it up. The language is evolving and I think async/await has, seemingly, been one of the biggest divisive feature the community has faced. I will still use as there are so many other benefits this language brings.
The confluence of lower travel costs, higher individual wealth and population growth is proving also an incredible stress on the cultures and uniqueness of global landmark travel locations. The attraction of tourists encourages the development of hotels over local housing, for real estate companies to put existing apartments on Airbnb instead of renting them, attracts chain entertainment companies who buy out established local restaurants/bars/spaces.

Pair this with the continuing trend of residential population density increase metropolitan areas. As travel becomes cheaper and Internet-enabled connectivity improves, multinational firms expand into more and more regional hot spots, bringing external wealth, increasing the prices on goods and housing in locations where tourism is already decreasing the availability of housing for local / long-term residents.

As these two effects collide, real estate prices climb, and that spike must be attractive to speculative investors -- as in SF, NYC, London, these cities see purchase prices climb faster than income increases. Then because the investment needs to be offset while the value rises, those houses / apartments are also put up for short-term rental or corporate lease.

The result is that the people who made up the city and made it run get pushed out, that it's culture is washed away. Dublin, Lisbon, Berlin, Munich, Amsterdam, Prague all demonstrate this process, and it's likely to continue unless the mass tourism floods can be reversed, and pressures to move into the middle of these cities is mitigated.

I'm actually really excited about burgeoning air taxis, along with things like level 4/5 microbus-augmented public transport, for reducing the pressure of relocating to cities themselves. But travel may also need to get more expensive again -- we don't yet require flights to be offset for their impact on the environment, let alone their impact on local life, and both of those avenues may need to be reviewed.
Same. Plus script to automatically freeze dependencies into requirements.txt after each `pip install/update/uninstall`.
> evidence

[citation needed]

if you give up on _all_ contemporary media as a result of your persecution complex, you might want to re-examine your beliefs.
Is narcisside better?
including every single 1e100 server domain? good luck
"insist"? I've not seen that.

There are obvious significant advantages to prestige, etc but most companies don't insist on it.
> You made a false claim. You referred to Python iteration as not generic, when what you really meant is that Python lacks first class monad support.

Are you really that lacking in self-awareness that you responded to someone annoyed about programming culture by going full "debate with logic, facts and reason" mode?
A Wearable Robotic Tail to Improve Balance
Digital escapism is however way better for the planet.
This looks similar to Monica, a personal CRM: https://github.com/monicahq/monica
Here's the bash script I use to do the code validation. It's called from within my Dockerfile.

https://gist.github.com/phpdave11/412893f8366cab0afa85e81a7a...
Amazing news. Unfortunately, without HiDPI support, most Linux DEs other than Gnome and KDE have been unusable for years.
“Accountability for thee, not so much for me”
It's a good exercise to test these technologies and how to run things at scale.

A real image from third party is valuable since gradients don't have onload events for example.
If you're talking about a security attack or some other "monstrous" situation, and you're communicating your ideas clearly, then sure, who cares
Show HN: Index and search your source code using this Lucene-based app
This is correct. The new pipes were of a different diameter (problem #1) so there was a water hammer, a pressure wave moving back through the pipe when the tap was turned off. Being plastic pipes, they moved quite a bit when this happened.

The pipes were also installed by non-certified plumbers (problem #2), I'm pretty sure. In many cases, the pipes were not tied into anything in the wall. We had to fix the last couple of these issues ourselves, where the pipe was actually resting against the drywall, and would move, thumping against it. All the while the contractor is saying this is normal and expected.

My wife, a certified Professional Engineer, something in her finally snapped. She said "get in the car, we're going to Rona[0]". I dutifully followed her around with a basket that she filled with equipment and supplies. We cracked open the walls, tied in the pipes correctly, patched the holes, repainted. Home back to normal now.

[0]https://en.wikipedia.org/wiki/Rona,_Inc.
Image resizer scaling is one of the more interesting problems I have worked on in the last 10 years of so. I was part of a small team that designed and built the resizer that powers the nine.com.au network of sites. Modest by USA standards it gets close to hundreds of millions of views a day across the whole network.

We ended up using shared nothing architecture. The whole thing ran on 6 T2 large AWS instances using a slightly modified version of Thumbor where if you rotated the key the disk cache would be shared so avoid a large scale cache invalidation. It worked quite well and we rotated the key every few weeks.

Things I learnt.

Pretty much all image resizers have the same performance as all the good ones call out to C libraries in the end. Akamai (the CDN we used) despite having site-shield on would still hit the back-end ~100 times for the same image on occasion as I suspect all of the whitelisted machines could request the same image if their internal sharing didn't kick in fast enough.

Long tail images were the ones that brought the resizer to its knees. The hot images would quickly enter the local disk cache and were not an issue. Purge the whole cache though and the long tail images would quickly overwhelm the instances.

The last thing I learnt was to have a backup cloud-front ready to flip over to. At one point Akamai had issues and the resizer was facing origin load. It capped out at about 300 RPS which couldn't keep up with what was expected. It got even worse when the T2 instances ran out of credit. Spinning up cloud-front solved that issue once the DNS flip kicked in.

One good thing to come out of it was I helped write the C# thumbor library as we had one site that was using C# and nobody could move over to the new resizer without it.
> How do you handle your own libraries? Do you have one special local directory that you build wheel files to and then reference that library in your requirements.txt files?

We didn't build wheels. We had a centralized git host (Gitlab, but any of them works) with all our libraries, and just added the git url (git+https://...) to the requirements.txt
So many deaths by elephants. I guess they're not the gentle giants I thought they were.
> To that sorry list, I would add medical providers' offices (doctors and dentists), all of which seem to request social security numbers for some reason on their patient intake forms, when all they should need is the patients' insurance information as printed on their insurance card.

Insurance information changes over time though so it's simpler to just request the government issued GUID and use that to make sure you're associating the patient files correctly.

I think the only real solution would be for smart cards to come back into vogue and assign everyone a unique key along with their SSN. Proofs of identity for things that matter ie loans and other financial work could then be secured without significantly interfering with it's use as a unique identifier in cases where it doesn't need to be secure. (As wrong as it is to use SSNs that way it's ingrained enough in interactions and systems that trying to cut that off would be a big pain.)
Not all places have enjoyable hiking scenery nearby.
And they'd still bitch about how everything else still runs on Javascript.
No, but as a French citizen I get my share of headlines about protests and since I am originally from one of the shafted countries I also hear the other side. I am pretty sure that this happens everywhere else too though.
One of the drivers of tourist congestion is the point-to-point nature of air-travel. In the past, travel used to be something for the elite, not only because it was expensive, but because it would take months of travel to actually reach many of the places. Your travel time would be spread over many intermediate places, all of which are now flown over by planes.

Whilst the volume of tourists is a problem, the behaviour of booking a week (or less!) off work to fly halfway across the world and back is of course going to concentrate tourists around "hot" destinations.

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).
It seems okay. It would roughly translate to selfie-kill which is good enough for killed-by-selfie.
You're far less likely to find a cheap counterfeit aftermarket battery than you would Kirkland or Bosch or something, which comes with way more assurance than a random no-name lithium ion battery that has been hacked to appear new and healthy and which is capable of exploding while firmly placed near your waist.
In Soviet Russia, the world eats you.
> Braces define scope unequivocally

So does whitespace, otherwise Python wouldn’t work as a programming language

> they are easy to visually parse

only if you indent properly

> Furthermore, you can copy and paste, say for loop from a method to another method and it will work. In Python you might have to faff about with spaces (I'm sure there must be IDEs that solve this problem but it was no fun on vim or even notepad++)

Shift+V

}

< or >

Hit . as often as needed

Too difficult?

Not to mention you will run into exactly the same problem when copy pasting C unless you like randomly indented code
The sooner that global oil crisis happens the better. Yes, it will cause a terrible economic disaster.

But at the same time it will have positive effects for both global warming and for the fragile eco-systems and heritage sites of the world.
Why does being accidental in nature make it an ill-fitting term? Suicide is not the only word to use the -cide suffix: genocide, regicide, homicide, uxoricide. The -cide suffix regards the act of killing, not of intention or purpose.
Rocket mystery: What weapon was Russia testing in Arctic?
That's interesting. I wonder why we perceived it so differently?

I try to protect my privacy more than anyone else I know in my personal life.

Doesn't mean I can't laugh at myself.

I dropped Chrome for Firefox. I only search on DuckDuckGo. I run my own WireGuard VPN server with Streisand https://github.com/StreisandEffect/streisand. I use Proton mail e-mail almost exclusively. I try my darnedest to not log into google if at all possible & lock down as many settings that I know of. I keep my activity cleared out https://myactivity.google.com/. Same for Facebook. I won't even consider using an Alexa/ Google home/ etc. I'm sure I'm forgetting some things, also I know there is more I could do.

I'm always preaching the privacy gospel to my friends, and I think they are sick of hearing about it at this point. And there in-lies the problem. Many people just don't care, or are not willing to put in the work to defend themselves.

Look at all the steps I had to take. I don't have to tell you folks. Trying to protect privacy this day in age is no trivial task. Especially for non tech people.

I wonder why you thought the author was dismissive? It's okay if you didn't like the style/ tone. But the bulk of the article was promoting tools for protecting privacy. That's a good thing, no?

I learned of a number of products I was unaware of. I plan on trying out Anonyome labs/ MySudo, Burner & the Abine.com products.

The author seems to care and be excited about privacy. But in the end, he resigns to the difficulty and amount of work it requires. I think the point is it shouldn't have to be so hard.

The article make as good point at the end about laws and legislation. Until we convince our lawmakers to make privacy a requirement, nothing much will change. A small minority of people like us will continue the good fight, but the privacy landscape as a whole will keep eroding.

I don't think this article was aimed at hardcore tech people like you find on HN. I think it is aimed at a more casual internet user. A good way to get normal folks to read an article is to keep it fun & entertaining.

If it is to dense or feels brow beating, it will turn people off. Just like I have with preaching to my friends. My hope is that casual articles like this will make people more aware & get more people/ lawmakers on board.
https://www.selfie-deaths.com/

Crazy how many train related deaths are there. When I was young, I used to play around train tracks all the time without my parents knowledge. Back then there were no smart phones but even then its crazy How stupid that was. Its astonishing that I have made it out alive. Those things look like they are far away but you blink and boom they are right next to you.
Yes, but at global collateral damage; mutually assured destruction is still a thing at the moment. They can destroy one another but what would they gain? And of course the resulting nuclear winter would cause a mass extinction event.

That said, the Russians in particular get very nervous about the US' missile defense systems and research; after all, if one party has an effective ICBM detection system, the other party's nukes are no longer as threatening and a counterattack may follow.
This test maybe should not focus on the output being byte-identical to the input file, but to be structurally identical. It's an XML file, with another semi-structured language inside the text nodes. There's opportunity to utilize that fact.
Interesting to see this come up. About 2 years ago I found a similar exploit in blackboard (XSS that could lead to session hijacking) and found that there was absolutely no way to report the vulnerability except through their help-and-support chat.

After reporting it, they thanked me and said they would be in touch when they addressed it. I never heard from them again, and it seems they didn't take security much more seriously.
Those 2 are orthogonal, VR isnt going to replace travel (same way that the internet didnt)
Shows the value of having consistent goals and values in software development. Their focus on simplicity and clarity is inspiring.
Show HN: How to Sell a React Component
Another more obscure one:

https://github.com/pandas-dev/pandas/issues/27206

All of a sudden, a numpy release pulls in a new version for a pandas build (that incidentally breaks for py2)

This without involving a "~=", but rather because pandas needs to build from source, and chooses the latest numpy build to do so.
IT Infrastructure Monitoring with Time Series Databases and Machine Learning
> There's no reason why visiting famous cultural places should be reserved for the wealthy only.

Maybe it should be reserved for nobody at all? Or some lottery system determining who gets to play tourist? All this jetting about to take the 1000,000th identical picture of some landmark just to say you've been there too is a very high cost to both the destinations and the planet as a whole.
You are speaking to someone who grew up poor and could never dream of spending even $500 on a car. This does not need to be explained to me.

I don't claim to have the solution. And neither am I asking anything of anyone in particular.

I am simply staying the facts. It is a crisis situation to be in, and only by treating it as such can it be solved.

This is not advice but fact. Perhaps an individual can do nothing about their situation. Their future light cone may be fixed, like the event horizon of a black hole.

So it goes.
What if nobody is near me? What is your user acquisition strategy, do you expect that random people will just join and start talking? What is the minimal distance to be "near"?
Tinfoily, but perhaps US anti missile systems are more effective than were lead to believe.
I suspect messing around a train in much more dangerous than standing on something high. In statistical terms, the probability of engaging in this behavior on a train is probably lower, but the conditional probability of dying is probably much much higher.
Drinking milk is a Western thing, and not normal in India. Also, vegans don't drink milk at all; they're morally opposed to using animals products like that (eggs too), so they want to eliminate that as a calcium source.
Having written this story out, my inner conspiracy-theorist wonders if they kept it quiet because they were worried I might've stumbled onto something they didn't want the world to know, perhaps some type of financial mismanagement.

To contrast I was arrested and sent to county jail, charged as an adult on a "distrubing the peace" style charge, by the same school for telling an administrator, in-private, to fuck off in response to a punishment levied without being told what I had actually done.

Schools, eh?
https://www.imdb.com/title/tt0126765/
Show HN: Game of Life and AssemblyScript
I don’t think that’s the goal. I think it’s more about a clear user experience for their developers, who used CVS for a very long time. While CVS is more rigid and limited than git, it has some benefits too. I see this tool, got, as marrying the benefits of both tools.
I guess I don't get all this "monad" stuff. This article talks about 3 types of monad. An optional, a list, and a future.

However an optional is really just a list constrained to size 0 or 1. And a future is often called "not truly a monad."

So I question the value of explaining this abstraction in great detail over so many articles when people struggle to come up with more than 1 concrete example of it (Lists), an example that engineers have already understood since our first month coding.

Maybe somebody can speak to this more.
Each location will have to determine when it's seen enough erosion, but places that don't will end up like Venice, or some of the southern North American hotspots for American tourists that only exist now to serve a Disney-like vacation experience.

Cheap globetrotting was never a reality for anyone but the wealthy until the middle of last century. As we're discovering for many other things, being able to make it a reality for the middle classes is something we should have perhaps acknowledged but not acted upon.
The article explicitly recommends avoiding the commons problem via a tax.
Modern Website Framework with Gatsby and Contentstack
All hail Discordia.
Futures are the interface for asynchronous code. You need some sort of executor to actually drive the chain of futures to completion. Tokio is the most popular option, but is not required, strictly speaking. You can whip up a simple executor with nothing but the standard library. It won’t perform as well as Tokio, of course. There’s a good reason it’s a big project.

(Tokio is built on top of mio so if you’re using Tokio, you’re using mio)
Mostly. The lock file format is certainly consistent between platforms, and I've been able to install applications on windows, mac and linux.

But it doesn't handle platform-specific dependencies correctly.

For instance, `doit` has a watch feature, and it will depend on pyinotify on linux and macfsevents on Mac.

If I run pipenv lock on the Mac, it correctly generates this:

"macfsevents": {
"hashes": [
"sha256:hexhexhex..."
],
"markers": "sys_platform == 'darwin'",
"version": "==0.8.1"
},

But it won't lock the linux version. Similarly, if you lock on Linux, it throws out macfsevents. And `doit` is not doing anything strange[1] to report these extra dependencies.

[1]: https://github.com/pydoit/doit/blob/660d3a2e75dc9d861e5a8916...
Python needs FFI, because its native performance is fairly poor [1]. In general, Go gets away with less FFI because it's fast enough that it doesn't need things to be implemented in C to run quickly. This is especially true if you consider "Go" as "Go + its ASM", which is probably what you'd want if you think of it in terms of science programming.

For another example of a similar effect, Rust has great FFI. Yet I would expect over time it will be necessary for fewer and fewer things, because Rust is already roughly on par with C, and over time, a native Rust API will still be preferable to a C API wrapped with a Rust access layer. It will always have great C FFI, by its nature, but the percentage of projects that won't need it is already pretty high and probably only going up over time.

[1]: People seem to misinterpret this statement a lot, as if I'm saying Python is bad or something. No; it is simply this: Python performance is not very good at a very raw level. It is merely one characteristic of a language out of many, many relevant ones, not a full assessment of the language. Python has many other dimensions in which it has superior capabilities. It just pays for that on the performance dimension. (Whether that's an essential or an accidental tradeoff, well, ask me again in ten years; the programming language community seems to be in the process of working that out right now.)