skysight-inc/HackerNews huggingface dataset:
> It had nothing to do with commercial crew,” he said. “It had to do with moving fast on Artemis, and I don’t want to characterize it in any more detail than that.” Artemis is NASA’s program to return people to the moon.

https://www.washingtonpost.com/technology/2020/05/19/nasas-h...
A big problem with that is long lifetimes and nice non-poverty level retirements basically require that there be more young people to support the older population in retirement because most people do not make enough to pay for their own retirement through savings.
> Because you'd have to download an app like this and then trust that it won't install malware or spyware or do anything else malicious.

How you would check that web app, which JavaScript/WebAssembly source/binary should be firstly loaded into your browser from 3rd-party website, would not "install malware or spyware or do anything else malicious"?
Right, and that's why the otherwise learned people who have been predicting, incorrectly, for thousands of years, that the earth was at/past carrying capacity have been wrong: more people means more human capacity, and that has outweighed having more mouths to feed.
I last used these in 2014 for a mobile web app that tracked muscle soreness. Worked like a charm, and I was also able to handle responsiveness with viewport aware JavaScript. I had to dig up an old copy of Fireworks to generate the polygons easily too.
Last time I bought a generator I used it once. Two years later when I needed it it wouldn’t start.

You’ve got to also invest effort in taking care of the thing. Oil changes, don’t leave fuel in it, run it every two weeks.
Not “everyone”. Imagine the economy like a tank of water, and each person a single molecule of H20, and proximity to the top of the tank represents relative wealth. So all the water molecules are constantly shifting a bit, but mostly stay in place unless something shakes up the tank.

If you sprinkle water on the top, those molecules stay mostly at the top: rich parents’ kids mostly stay rich. If you feed water in through a pump at the bottom, most of those molecules will stay at the bottom: poor parents’ kids usually stay poor.

In general, the closer you are to the top or bottom, the more likely you are to stay there. Adding from the bottom pushes the people at the top even higher, yes; but those in between the bottom and top mostly just shift around as the middle gets wider.
I briefly looked for numbers around the Spanish flu but couldn't find any.

My gut says you will see a mini-boom though. A lot of dogs are getting adopted right now, and adopting a dog is a gateway drug to children for a lot of couples. Would be interesting to see how many kids are "happy accidents" vs intentional though. Oh, I just looked it up and one article says 45% in the US... yeesh.
Show HN: Our daily learning site, TIL, is five years old
For getting a users homedir I fall back to POSIX[0] (which windows follows in this instance fwiw).

There are some things that I'm bitten by as a rust newbie though; strings are definitely one of those, since it's more difficult to reason about strings as they're heap allocated, where as most "normal" types are not, thus to use Strings you have to learn the borrow checker..

Another issue I have is crate versions, and compiling and including _multiple versions_ of the same crate, because that crate is also a dependency on one of the crates I'm using.

Yet, another is crates that only support the nightly compiler, which you're not supposed to use for production, there needs to be some way of delineating the "stable" version of a crate with the "potential future" version of a crate.

Even if you stick to a version and the nightly compiler supercedes then you end up with the same error:

------8<------

Caused by:
process didn't exit successfully: `/Users/dijit/projects/rust/Rocket/target/debug/build/rocket_codegen-6474f79f6391da32/build-script-build` (exit code: 101)
--- stderr
Error: Rocket (codegen) requires a 'dev' or 'nightly' version of rustc.
Installed version: 1.43.1 (2020-05-04)
Minimum required: 1.33.0-nightly (2019-01-13)

------>8------

[0]: in POSIX the OS _must_ set $HOME: https://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd...
Alternatively are you saying that people moving to less carbon intensive economies would also be a “good thing”. Get as many people from the developed world to move to places where they’d have less environmental impact? Though I’m sure there would be massive resistance from the affected people as well as from the destinations as they would upset the order on those places.
Their maintenance policy seems great: DIY for any minor repairs, with manuals being provided to all service shops. Repairs of critical systems and high voltage parts to be done via "a well-known European service provider".

Being able, and even encouraged, to fix minor things myself instead of going to a shop for everything would be more than welcome.

But I don't get their "solar panel in every body panel" approach. They say it provides 1.2KW peak but at any point in time only half (or none, in indoor parking) of the car is getting any sun. A thin layer of dust or light scratches will lower the efficiency further. And it also means any side scrape or fender bender would not just scratch the paint but damage the panels, especially on the doors. This makes repairs far more expensive and lowers the charge capability even more. And it looks like it only works with black paint which increases cooling requirements.

I take it more as an emergency option. I'm not sure if the electricity they provide outweighs the added cost, complexity, weight, and perhaps increased consumption.

The repair policy, small battery, large cargo space, and added solar panels might make it a good fit for professionals like plumbers or electricians only driving through the city for interventions and perhaps even leaving the car on the street.

[0] https://sonomotors.com/en/sion/
I thought much the same for the longest time... until we had one by accident.

Rearing a child grounds you in a way you cannot imagine at this moment. Looking back, I realize not having a kid was just me trying to avoid making any hard choices in life.

Now, when I interact with colleagues who don't have kids, I see a certain shallowness of perspective that, in retrospect, I myself was guilty of. None of them ever really grew up.
Couchsurfing cannot fulfill financial obligations
The Xpeng P7 also has a 220V output.

I guess this can be useful for a lot of things.

https://en.xiaopeng.com/p7/configuration.html

(Also a great looking car imho)
Show HN: Tool to discover rising trends amid Coronavirus
I should have mentioned the bicycle setting in my link; Panama and the canal seem like a good example to illustrate how the shape of isochrones can change based on geographic and transport conditions (most cities will probably result in fairly concentric circles for walking, cycling and driving).

Anyway, glad to hear that the routing takes those road usage restrictions into consideration :)
CDC staffers say White House putting politics ahead of science
Author here: I agree that they make sense!

I think the nuance is between "makes sense" and "fits into the mental model Rust otherwise encourages," i.e. thinking about `T` and `&T` as the fundamental building blocks for ownership semantics. In that context, being unable to directly instantiate a `str` (or having `&String` be a thing that you can occasionally produce when you mean `&str) is deeply confusing to newcomers.
And that’s a statement that’s already accepted, but you stated it as something new, bold thought. Bravo on your ignorance.

> As a human, based on your country, you will emit a certain amount of fossil CO2 over your lifetime.
Having a balanced age pyramid is not a Ponzi scheme: it's natural and healthy and as old as hunter-gatherer society itself. You want youthful energetic members, optimistic innovators and learners; middle-aged strong leaders, fighters, and innovators; and you want elder wise-people. There's actually a reason humans are long-lived past menopause: the old/grandparents provide a lot of value in social groups.

The one way I agree with Ponzi Scheme... in the USA currently, at least, there's been a massive transfer of wealth to Boomers from everyone else via SS, Medicare, pensions, and all the cheap education and services that have since evaporated. I doubt these conditions will exist for anyone else...Boomers really got an amazing deal.
Atomic Habits Book Summary
Half of Wall Street bets made photoshop money. Few there actually makes the trades they claim.
It's more like a pyramid, where the people at the top of the pyramid go farther up the more people you add to the bottom. The size of the whole pyramid increases over time, and some people might move up or down a few levels, but the majority of people will spend their whole lives near the bottom.
I would think the closest analogy would be to the death penalty in the USA surrounding lethal injections.

Every company that is knowingly being used for the cocktail to kill someone has made the supply gone. They refuse to supply to any state that diverts to executions. Sure, the executions are 'legal' (removing jurors who are ethically against death penalty is a whole different issue).... But the companies manufacturing these chemicals don't want anything to do.

I wonder how Zoom is going to handle this in the future? Even though they obviously had 0 input for Singapore executing a citizen, the article makes it sound like Zoom was somehow, peripherally complicit with state sanctioned murder.
I got used to browser-based plugins early on, and have been stubbornly resisting change.

Sage was great on firefox (for me, at least) for a long time, but got abandoned, I have found "drop feeds" to be a good replacement.
Hi, this is Mike and I'm the founder of Treendly.com, where we discover and monitor rising trends.

I thought to measure what the impact caused by this global economic downturn is in different countries and industries.

There are some new opportunities arising because of Coronavirus, and we wanted to provide insights into what people are doing and NOT doing in this strange time.

We mainly wanted to answer these questions:

- What are some growing trends amid Coronavirus?

- What are the most impacted industries?

- How are companies adapting?

Let me know how this tool can be most useful to you.

Hope it helps!

Thanks, Mike
Stretch Opportunities for Engineers
>with how expendable engineers are these days

I have never heard anyone say that. What kind of engineers are you? There should be demand everywhere.
I deliberately didn't want to get into Kay argument and the debate, because it is irrelevant to my point, if you don't want to call whatever Java/C++ is doing OOP, that is fine.

But if you have to ask, I think Kay is wrong too. I appreciate his vision, which is inspired by biology, but I think it's not the right way to go about building software systems, either.
How common is it to be able to read/write another program’s memory space? It’s not something I’ve ever done before, but it doesn’t seem like it’s a very good idea from a security standpoint. Are there other use cases that I’m missing?

Still, this is a really cool hack.
A trick if you need it in a pinch to start a device with a motor from an undersized generator:

Wait 10 mins for any heat/pressure inside the fridge to even out. Hook the fridge up to the (stopped) generator. Hold your finger on the breaker to force it to engage, even though the generator isn't running yet. then start the generator with the pullcord. It'll be very hard to pull, so you need both hands...

As the generator splutters to life and accelerates, so will the fridge motor. Since both are accelerating slowly, the starting current is far far lower than would happen if the generator was already running when he fridge was connected.

Also works for escalators, vacuum cleaners, blenders, angle grinders, etc.

If the generator doesn't get up to operating speed within ~15 seconds, stop and give up or the generator coils will burn.
We have solutions to that. The biggest remaining problem right now is a few vested interests who don’t like the solutions we have because their wealth is tied to lots of people burning lots of stuff.

There are other reasons not to follow this path, but that isn’t one of them.
iOS: Match a view's shadow to the Sketch shadow
These were external scans - see if the visitor's IP is running an open SOCKS or HTTP proxy for example. Many IRC networks still port scan you on connect for the same reason.
I have been involved in a slow-rolling project at work to migrate a fair number of administrative screens and their data (written in the late 80s/early 90s) off of the existing zOS mainframe, primarily because of the costs (management doesn't want to pay IBM anymore for the limited set of things it's being used for and finding devs is expensive too). The project has already run way past the original estimate, no major surprise.

Our new APIs and web UIs are nice and all and offer a number of advantages for today's users/admins, but sometimes it feels they take more babysitting and fuss (updating deps, etc.) than the old mainframe code did - I'm not confident that an Angular SPA running for 20+ years would still work the same, so we have tried to take that into consideration while designing replacements.

I'm not complaining about one or the other but rather I feel lucky to have experienced tradeoffs and learned about how some of these problems were solved 20-30 years ago, while I was still in grade school.
As the backlogged IRS struggles, taxpayers face long delays
It's unlikely humans are the only life in the universe and beyond that why does it have to have a purpose.
what's the purpose of a universe without elephants?
I setup Wireguard using Algo on a home server I kept behind a home router with no problems. It was definitely a dynamic IP because Comcast doesn't provide static IPs for residential connections.

Am I misunderstanding the limitation you're claiming?
Ask HN: any hackerlike ways to train your singing when alone with no feedback?

I will try to search algolia and come back to you with my research
It all comes down to what a chipmaker is willing to spend to get that sale. Some manufacturers do prioritize good software and I do see that they benefit from that in the long run.

I also suspect some new designs are never realized due to bad vendor code - seems like a missed sale opportunity.

A very astute observation. Why not start a hardware company and seize that opportunity?
The Cold War was crazy and we all almost died
Superspreader Events Offer a Clue on Curbing Coronavirus
This sounds great in theory, but eventually there will be many businesses paying for the top spot and a standard listing will become irrelevant.
Covid-19 Vaccine Candidates
It's not the transmission through the cable that matters, it's the fact that you're using a long cable to put things far enough apart that the speed of sound matters.
Figuring out how to structure society in a way that doesn't require the young to outnumber the old is a band-aid the species will have to rip off eventually.
extensive "exploration and backtracking" (what the community calls bifurcation) is generally avoided when setting puzzles

there are more advanced patterns and techniques that can be used with sudoku, but this puzzle doesn't feature all of them
I have the same problem with strings as well. I think I understand the difference between String and &str but I wish it’d automatically convert String into &str when a function expects it.

Example: `std::env::var(“SOME_PARAM”).unwrap_or_else(|_| “localhost”.to_string())`

It just seems odd to me, something tells me there is a better way to do this but I couldn’t find it.
> Creating another person is one of the most carbon-intensive actions anyone can do, you're literally spawning a lifetime of energy use.

Cutting back on energy use is the most regressive way of solving climate change. We will almost certainly use more energy in the future, regardless of the population.
No, absolutely not.

It shouldn't matter what malware is on a client device as long as the client has authenticated; the server/company/ebay should be protecting their API from abuse at the API layer, not the client layer.
It's terrifying to me that selfishness and self-centeredness has apparently taken over that generation of young people. Our society and culture are doomed if this doesn't change.
That's as trustworthy as your web browser, which is pretty good at sandboxing nowadays.
My biggest gripe with Rust is that is doesn't spark joy. I intellectually agree with a lot of its goals but every time I write some Rust I just find it dreary. Maybe it's the ugly syntax, maybe it's the "code feel" of interacting with a grumpy compiler.

That said I know a lot of folks really dig it and think it's a breath of fresh air; more power to em'.
The `dirs` crate has been recently forked and revived - the new home is here: https://github.com/xdg-rs/dirs (and the crate is named `dirs-next`).

Given the relatively sparse nature of the standard library, and the cost of making mistakes (std::sync::mpsc, anyone?!) I can see why this is omitted. IMO it’s a fair criticism that pulling in lots of crates is less than ideal, though.
The two most crucial focuses would be to decarbonize carbon intensive economies, and throwing massive amounts of money at education and healthcare for women in developing countries.

Developed countries already have total fertility rates at or below replacement rate; it's all population momentum now, so you want to reduce the impact of everyone living a first world life for the remainder of their life span. Less combustion vehicles, less unnecessary air travel, fossil generation plants, meat heavy diets, etc. We're already headed in this direction, we just need to invest more heavily (Green New Deal, ESG funds, etc).

Regarding education and healthcare in developing countries, educated, empowered women with access to robust healthcare have fewer children [1] [2], and this data holds true across the entire world, even in countries that attempt to use generous subsidies to encourage higher fertility rates.

Moving folks from the developing world to the developed world, or vice versa, wouldn't have a meaningful impact IMHO.

[1] https://ourworldindata.org/fertility-rate#empowerment-of-wom...

[2] https://ourworldindata.org/grapher/womens-educational-attain...
I think it's possible to have a system where lesser-known products can pay to get reviewed, and have the review still be unbiased and truthful. The probably is that it's impossible to know where that stops and "pay 1x to get reviewed, pay 2x for a good review" begins, and I think the vast majority of people would be immediately distrustful of any system where I can pay for my brand new, single-customer startup to get reviewed by a giant like Gartner.
A four year degree shows a man can be trained.

After guiding in the low hundreds of employees from a place of no experience to being competent in technical roles, I've learned that the outcomes of training are a test of management and leadership. People you might avoid in passing on the street, whose life circumstances you might disdain, who have succeeded nowhere else can be trained to do immensely complicated and valuable things and make a career out of it.

If you don't want anecdata, then look no further than the success of the US military. You might have fewer teeth than fingers, but they'll find a place for you.
>I'd expect this to pick back up barring any adverse economic conditions.

I expect that it won't pick back up because adverse economic conditions have already arrived.
The intent is that collateral damage from such actions is so enormous that they become unthinkable. "We'll just block all of Cloudflare's IPs" is like "We'll just ban all Chinese products". OK, so now your economy is in ruins, what next?

China's great firewall for example degrades access to some popular web sites, but it doesn't do a lot of IP blackholing because that hurts China more than they'd like.
There are legitimate reasons for port scanning, but I'm not sure most websites out there are using it for noble purposes.
I guess browsers could allow it based on explicit permission from the user, just like it's already done for microphone and camera.
I should have said Vandals instead of Visigoths. The Vandals ruled over Africa during and after the end of the Western Roman Empire.

Later in one of the most dashing military campaigns, the Eastern Roman Empire(Byzantines) forces under Belisarius captured most of the territory of the former Western Roman Empire, including the African provinces after defeating Vandals. The African provinces were then organized into the Exarchate, which is what Muslim armies eventually overcame in the 690s AD.
They're both empires of more people than most human beings can hold in their heads as anything but an abstract concept, and the needs of an empire that oversees the welfare and fate of so many people actually tend to converge: they need energy. They need things for people to do. They need relative internal peace to preserve their territorial and legal cohesion.

And both China and the US go to great lengths to achieve their respective paxes, in different directions; China clamps down hard on information flow, the US launches aggressive extraterritorial military campaigns to "fight them over there so we don't have to fight them over here." China's surveillance state and incarceration polices may be more overt, but the Snowden leaks revealed the massive extent of passive surveillance of its own citizens the US engages in. China has its problems with "undesired" minorities; the US has a citizen-condoned police state of immense scope and violence... it imprisons more people per-capita than any other country, and has had several high-profile instances of police and "citizens watch" murdering innocent citizens who looked like they were in the wrong place at the wrong time.
Oh, thanks. Yes it is.
That would be great. It looks like the graphhopper project (another OpenStreetMap-based routing service) have done some research there:

https://github.com/graphhopper/open-traffic-collection
I gotta be honest, delivering a sentence over Zoom isn’t an issue for me. Amnesty International is right (IMHO) in arguing that a death sentence for a drug offense is extreme, but let’s not pretend that the judge being in a different room somehow changes the nature of the sentence. It’s not like the judge put on a clown costume or told jokes during the sentencing.

Maybe there is an argument that a trial conducted remotely loses some human emotion and makes a court more likely to find someone guilty of a crime, but the act of delivering a sentence after all that could just as easily be done via a letter in the post.
IIRC you can just use WM_SETTEXT message instead. Don't know about FPS, probably in between of the two methods you used.
Well I suck. I'm honestly not sure how I got so wrong on this issue.
The Unhidden Lives of Jean Vanier and Franz Jägerstätter
Debuggers.
Oops, that should have been "would shop at Whole Foods or Costco or boutique retailers look down on Walmart"
I used Rock Band for this for a while.
Maybe not now, but the generation coming of age now seems very different from the generation aging out. I think we could be in for an even wilder ride, politically, in the coming decades.

But, I am an optimist.
>They'll have someone to take care of them later....

Meh. This is overrated. Lots of kids hate their parents, and never see them.