skysight-inc/HackerNews huggingface dataset:
It’s still foreign. Might be good enough for isolated libraries, but IMO not good enough for the level of integration with OS required by any complex software. Just too much work.

There’s nix::sys::ioctl in Rust stdlib, but there’re also issues with ergonomics, e.g. https://stackoverflow.com/q/51898034/126995 These variable-length structures are used a lot in practice, not just for HID, SPI and USB bulk protocols use similar things. They’re pain to consume from any other language except C and company (C++, obj-c). C# also has very good FFI, but variable-length C structures at API boundaries still require manual marshalling.

There’re third-party bindings for drm, https://github.com/rusty-desktop/libdrm-rs, but apparently that project is not maintained, not sure it works on ARM. It contains more than 3000 lines of code, which will require support. The equivalent C headers, xf86drm.h and xf86drmMode.h, are not small either (800 and 500 lines, respectively), but the important difference is C headers are already supported by Linux kernel so I don’t have to.
Wrong. He got upset because he wasn’t notified of the refund.

Notification of deducted money is something that is quite reasonable to expect.

In this case he was trying to figure out what to do, it was handled by others, and a notification would have let him know that it was handled.
As far as I can find, the military casualties of the (decade-long) Napoleonic wars were around 3 million.

The Crimean war caused close to 1 million casualties in 3 years.

https://en.m.wikipedia.org/wiki/Crimean_War

The war involved Second French Empire, British Empire, Russian Empire and the Ottoman Empire.

Perhaps there are other examples of major wars, but this one seems significant.

EDIT: Outside of Europe, consider the Taiping Rebellion, with the highest deaths estimates at 30 million (or even higher!). The British and French got involved as well.

https://en.m.wikipedia.org/wiki/Taiping_Rebellion
One of the sources: https://journals.plos.org/plosone/article?id=10.1371/journal...

>> This finding implies that individuals with genetic predispositions for an earlier AFB had a reproductive advantage and that natural selection operated not only in historical, but also in contemporary populations. The observed postponement in the AFB across the past century in Europe contrasts with these findings, suggesting an evolutionary override by environmental effects and underscoring that evolutionary predictions in modern human societies are not straight forward. <<

Yeah, so basically we got a simple model by two economists vs. decades of empirical data?

It'd be funny if it wouldn't sound like a scientists version of the "immigrants will have a lot of children and replace us" lie.
US Military discovers flaw in Outlook, warns users to update
If anyone wanted a de facto software monopoly to break up, this would be a good one.
> huge implicit rent subsidy that car parking usually receives

I don't think car parking gets a rent subsidy in Japan. They don't have the US-style zoning with required parking spots per square meter, and when you buy a car you have to prove you have a monthly parking spot (which can be quite expensive due to the land cost)

> Where else can you hire private space in the centre of a city on an hourly basis for the rates that car sharing companies charge

As the article mentions in passing, cybercafes/manga cafes cost around the same as car parking, and you get a private booth, WiFi, sometimes free soft drinks etc. Some have showers and other facilities. http://www.live-matsuya.co.jp/anchor/images/anchor_01.jpg
> If you could solve your problem by filling in a web form, you probably would have done.

How true is this of the general population? I suspect that a significant fraction of call centre volume could be dealt with through a web form.

That said, the rest of the point is true: the lack of agency in call centre employees likely results in a huge amount of wasted time and frustration both for the customer and for the company.
Fighting stupidity, laziness and a misplaced love for typography in software developers
How much does the externality of building and maintaining a railway factor into the net carbon emissions and ecological impact of train travel?
Last year Britain appointed a Minister for Loneliness.
Really cool.
Can you share on what lib/3rd party tool you use on the backend to send WhatsApp messages (such as the automated cart abandoned message)?
Thick forests everywhere also aren’t nature. Today’s wild animals and the megafauna we made go extinct usually pretty well kept the land open.
The saving grace for these online services seems to basically just be that the potential customer base is so ridiculously huge that it still pays vs effort required. Same for the big social giants etc.

No matter how many people know better, there are plenty more that don't.
I clearly get that, but many IDEs use the schema to help you produce valid JSON.
The garlic peeling hack was horrific and involved pushing a blade into your hand.

https://twitter.com/VPestilenZ/status/1140437217619390465

I'm glad the article mentions the danger.

> But that didn’t stop her from stubbornly trying – and failing – to peel a bulb the way the woman in the garlic video did. In fact, it landed her in the emergency room, getting five stitches in her middle finger. So, perhaps Bachkarova-Lord’s method isn’t the right way?

Another example is "avocado hand": https://www.theguardian.com/lifeandstyle/shortcuts/2017/may/...

https://www.cbsnews.com/news/avocado-hand-injuries-on-the-ri...
> The problem here is that decimal is the wrong type for storing money

Note that the code here is .NET, where decimal is a type explicitly for use in financial calculations[0]. It is still floating point, which means you still need to really watch what you are doing, but it's very high precision.

In general though, if your application allows for it, you should store money using integers representing cents (or the relevant smallest unit for the currency).

[0]: https://docs.microsoft.com/en-us/dotnet/csharp/language-refe... (this is a page for C#, but it is more useful than the general page for Decimal)
Valve doesn't think so:
https://steamcommunity.com/games/221410/announcements/detail...
For starters, connect these devices only to a separate network, either physical or VLAN, to make sure they cannot directly reach the devices you manage yourself.

Make sure the devices cannot see things in the physical world that you do not want to leak. Do not point a networked camera onto your sleeping room if you don’t want others to see inside.

Then, take effort so the devices that need to reach the devices that contain your own data are only allowed access you choose. A set top box may need to read your movies but does not need write access. It does not need unfettered access to your home network. You may be able to grant it access your shares but not the internet.

And buy reputable stuff, although the S in IoT is for security and that goes for all devices, some get more support and care than others.
Oh I just remembered! There used to be noname parts - motherboards, PCI cards, RAM. Literally no brand markings, no warranty either.

I remember the RAM in particular - the chips had nothing etched on them, or a single 5char line. Even the firmware was unbranded, with strange timings, too (probably loosened because they would not work at standard specs).

I'm guessing it was Chinese companies buying up "bad" or excess stock and reselling it.

Haven't seen this in a while, either they tightened up regulations or the margins are too low to make a profit nowadays.
Only if those libraries are upheld to a specific quality level and available in every single platform that Rust is able to target.

Here Java, .NET and future C++ are a clear winner, given that they are part of the standard library.
> If I care about the order of operations, I’ve designed the system wrong.

Let's say I have a complex set of components that move robots that ultimately move stuff around. I have tests that simulate the movements and test that stuff actually moves around. I very much care about the order of operations, otherwise stuff wouldn't move around in production.
And the consequences for making the wrong decisions are…?

I’ve been giving this idle thought recently—it feels like what we have worldwide right now is a scaling problem. Forms of government that worked great for small countries are not necessarily adapted to govern countries with tens or hundreds of millions of people. Especially in the era of specialization, there are people who specialize in hacking the government to their advantage. Our only response in modern democracies is—for everyone to make the right decision. Other systems so far are even worse, because they have a single point of failure (the ruler) or at most a few (the central committee, or whathaveyou).

I don’t know what defense-in-depth against government capture looks like, but it doesn’t look like anything we have.
“An intriguing finding from Dr. Pauker’s lab is that kids in Hawaii are terrible at defining other people’s race compared with kids on the mainland. That’s not because they don’t see the features usually associated with race. It’s because, when shown photos, they complicate their answers. Whereas a kid on the mainland might simply say “Asian,” in Hawaii, kids tend to say something like, “Japanese, Chinese, Filipino and Norwegian.” Instead of labeling a face “white” and leaving it at that, they might offer “Scottish, Irish, German and Italian.” They are like fine wine connoisseurs while everyone else drinks cheap beer. From an early age, they see race as something complex and full of nuance, not something simple or black and white.”
Amazon Prime includes a bunch of these movies. From the intro, it looks like “Shout Factory” is the entity with the streaming rights.

There’s also “Criterion Channel” which has streaming rights for a bunch of Hollywood classics.
Well, the article in question called it an asshole thing to do.

>Publicly calling out and blaming others
> science of science is epistemology

That would be the Philosophy of Science.

https://en.wikipedia.org/wiki/Philosophy_of_science
This is the direct link to their Lamb Meal And Rice Formula dog food. Works really great for itches allergies and et cetera: https://www.sportsmanspride.com/lamb-meal-rice-formula-dog-f...
An unlimited number
In fact, it's a bit weird he didn't immediately refund the unexpected payment. Was he hoping to exploit the mistake and keep the money?
I think the person you’re responding to imagined you went searching for them, found them in the car and left them alone. Whereas you meant examining car after it was returned.
Is it too much to ask for regulations for payment transactions to step in, at least in EU? I know we're not too regulation-friendly here, and I haven't made up my mind yet, but I tend to think it's only consequential that digital payment transactions are considered a field where governments should exercise authority, on similar grounds that give (or doesn't give) government authority over establishing a currency in the first place.

Note this isn't a snark at paypal specifically. I'm just interested if anyone with an economic background has an opinion to share.
Global shortages of software engineers to worsen, says Microsoft executive
A lot of people love to chime in about "genetics" or "heritability" despite having no background in actual genetics (no, evopsych or behavioral "genetics" don't count) and publish in low-impact factor journals that are virtually unknown in the actual genetics community (or derided as a joke, like plos one). I'm not sure what to make of this paper to be honest.
Is commercial surrogacy in India is legal?
Which makes Rust stand out versus what Java and .NET already do, and what C++ will do (even if they are only fully done by C++23).

Standard library executors are guaranteed to be available across all platforms supported by the compiler, with a validated level of quality for production loads.

Random implementation from Internet not so much.
I avoid PayPal, but in the rare case where there is no other payment method possible and i really need something, i simply create an account, do the transaction, and immediately delete the Paypal account again.

I find this the best way to deal with them :)
> I actually made a simulation of this because it seems obvious - you can actually double your bet each time you lose, and this basically guarantees that you eventually win each time!

This is the St. Petersburg paradox: https://en.wikipedia.org/wiki/St._Petersburg_paradox
Twist: Clear and Organized Team Communication
Coastal Route in Maharashtra Is the Most Scenic Drive I've Seen in India
You seem overly active on this thread. What is your affiliation?
China's planting a Great Green Wall [1], with another 66 billion trees. However it's struggling with dropping groundwater and species monoculture [2].

[1] https://en.wikipedia.org/wiki/Three-North_Shelter_Forest_Pro...

[2] https://news.nationalgeographic.com/2017/04/china-great-gree...
You're optimising for the wrong things. An efficient server that vends the wrong data, or that saturates the client's bandwidth, is useless. Facebook invented GraphQL for two reasons:

* It allows rapid product iteration over the "social graph". It allows each product to have unique behaviours and data requirements, and new product capabilities can be rolled out quickly. Facebook's entire data layer (TAO, Ent framework) is optimised towards rapid iteration.

* It optimised performance for client load times. Mobile networks are high latency and low bandwidth. GraphQL allows each application to load data in the most efficient way possible.
By description it looks like Twist[0]
Not affiliated, just happy user

https://twist.com/?lang=en
In rural societies, children are productive members of the workforce and the care of the aged depends on having surviving children. This encourages large families.

In urban societies, children are expensive to rear and educate until they can become productive, and the care of the aged depends on social institutions. This encourages small families.

However, if urban societies socialize the cost of rearing and educating children, then that disincentive will be removed and families may become larger. Ethnic subgroups with strong extended families and religious solidarity tend to have larger families, even in urban settings.
Great. What do you propose?
Great collection of useful tools!
I agree, however this doesn't necessarily mean that average fertility will rise again. The environment could keep changing faster than the genes can adapt. Also "desire to have children" might be difficult to encode in DNA so genetic adaptation to the availability of contraceptives might be really slow.
LBRY would be perfect without blockchain. As someone that talks about blockchain since 2016, I see no reason why they need a slow database
I am puzzled, what tool can do anything remotely similar to fzf? How does it reinvent anything?
An entire curated list of useful tech tools for the remote community!
Amazon Alexa keeps conversations forever and shares them
It used to be a national holiday in Korea, and many people still celebrate that day by planting trees every year. [1]

[1] https://en.wikipedia.org/wiki/Arbor_Day#Korea
Some anecdotal data.

My father's parents had 8 surviving children.

My mother's parents had 8 surviving children.

My parents had 4 surviving children.

I have 4 children.

My siblings have, on average, 3 children, and will probably have 3.5 over time.

My cousin's have on average 3.5 children.

Grandparents: Asian.

Parents: Asian and lived in Middle East half their life.

Me and siblings: Living primarily in Middle East.
Bad idea. If you did that you could end up paying back the money twice, once for your own payment and another for paypal's own refund.
I remember when the whole 'CO2 neutral' thing came into my mind, not long ago when I read the article about the 53 year old sealed garden [1].

Definitely interesting, but I think that a fast-growing tree would probably create more O2 (consume more CO2) in its first 10 or so years. I think that big, old forests where large pieces of wood are dropping and rotting, etc, may tend to be on the neutral side of things.

I think that some studying of what type of trees to plant, etc is definitely in order. Certainly some drop less - and quite possibly they determine that the trees need cut down, turned to paper or paper products, and replanted every number of years.

When I think of the situation you are describing (CO2 neutral), I picture a dense, damp forest area. I feel like trees, properly spaced, may lean more toward co2 consumption.

Anyway, just a thought...

[1] https://biologicperformance.com/sealed-bottle-terrarium-gard...
A cave that could fit a skyscraper
Remote.tools has a great collection of tools and a couple of real lesser-known gems. Shout out to @hrishikesh1990!
It's not as simple as "X will make you lose weight or not." Caloric deficit depends on both your intake and expenditure. You can out-eat almost any exercise regime so a somewhat healthy diet and reasonable portion sizes are always going to be important.

Active VR games are a legitimate cardio workout. Sites like https://www.vrfitnessinsider.com/reviews/ have real data if you don't believe me.

As for duration, I've seen people (including myself) happily play Beat Saber for hours who don't last 10 miserable minutes on a treadmill.
100 square meters is very, very big unless you are almost unthinkably wealthy. Or at least it is in my neck of the woods.
This is why people should support real cryptocurrency.
Political extremists

Potentially dangerous science experiments
PayPal generally these days doesn't get hacked. As an alternative to supplying credit card number to a random online merchant, it is infinitely more secure.
I do payment processing for my SaaS products. Have used PP in the past, currently I only use stripe and bitcoin to receive payments.
This is why people should support (real) cryptocurrency.
Go-to solution for remote workers indeed!
Useful tools for the remote community.
Hacker News TV
https://dbeaver.io/
This is incorrect and not how paypal handles refunds.

This is merchant 101: always refund suspicious payments before your payment processor has to do it, it'd be really bizarre if Paypal was somehow the only exception in the industry.
Is it just me? I feel this is confused and adding complexity in some areas, not genuinely optimal for simplicity.

I tend to feel that unexpected, unrecoverable exceptions are best treated as just that -- exceptions. Applying a C-style function return value check seems backwards.

And the "Interpreter"?? Proper purpose of Interpreter or DSL is for dynamic (configurable or user-input) code, not to implement basic sequential flow and the 'if' statement which the underlying language already provides.
This looks a lot like an attempt at greenwashing by Air France-KLM (of which KLM is one brand) — although anything that ends up decreasing our global footprint is okay with me.

What Air France-KLM wants is a reduction in short distance flights in order to remain competitive on long distance ones (which are presumably more profitable). Air France-KLM uses Schiphol Amsterdam Airport as the hub for the majority of their KLM flights, but Schiphol has reached the ceiling in terms of allowed flight movements.

The plan was to offload Schiphol's low-cost holiday flights to the newly built Lelystad Airport, which should have been opened by now. However, Lelystad Airport's opening has just been postponed for the third time (and may never open at all), because it will likely exceed legal limits of nitrogen oxide emissions (amongst other issues, not all environmental).

Instead, they appear to wish to replace short distance flights with long haul ones (at least at Schiphol).
Google suspends New Zealand 'trending' emails after suspect's name released
SEEKING WORK - Remote
Location - Ukraine

I have 8+ years of experience with Android. I have experience in developing both native and hybrid applications. Modified AOSP to extend functionality. Solid knowledge in Android Enterprise / Android for Work.

More about me: https://stackoverflow.com/cv/vandalko

Contact me at rivne2@gmail.com

LinkedIn: https://www.linkedin.com/in/vandalko/

Keywords: Android, Java, Kotlin, Python
GraphQL is still an API that sits in front of the business logic. E.g. fetching a like count on Facebook might map to a cache lookup or a complex query, and everything fetched respects the privacy business rules. Queries shouldn't map directly to a SQL query.
I just got an invoice from Google Account. Basically, scammers send people invoices stating that they exceeded their 5GB and people have to pay $120 not to lose their Google account. I'm sure there are tons of rich idiots who will pay $120, but I wonder why:

- There was no merchant contact info. They managed to upload Google's logo and use Google Account as the merchant name. Isn't PayPal doing any basic blacklist check, etc. or check against stock logos (there are tons of companies now, which provide logo by provided company name).

- There's not way to report the invoice as scam attempt - I can only "cancel" or "archive", which sends the "merchant" an email and they can know that my email belong to a valid PayPal account after that as the email is sent by PayPal.

In general, after so many in business, PayPal is a lazy, slow, and stupid company. I am sorry to say that, but it's the truth. Their developers are a bunch of old timers, who have entrenched into the company and there's no innovation going on. There are many, many, many complains about PayPal, which I can list here. Most of the are very simple to spot and fix by PayPal, but, no, they are untouched for years.

I feel like their dev teams is maybe a dozen people who just do maintenance of critical issues and that's it. Their recent interface upgrade took years and it still sucks and feels like in the dawn of DotCom. Compare PayPal to Stripe, let's say - there's no room for comparison! Stripe innovates at a huge pace, they provide a much better DX (Developer Experience), and are so much nicer to work with!

PayPal recently acquired Xoom - a very expensive and shady money transfer company. Compared to TransferWise, they are a total joke. In general, I think PayPal is managed by technological morons!

P.S. PayPal Here is also a disaster compared to the rest. I bought the device (as PayPal gives nonprofit discounts like Stripe but unlike Square) and many of our transactions failed, so, we switched back to Square. Now we're integrating with Stripe's reader, so, we'll get the best of both.
Learned the hard way you make a separate bank account to link to PayPal. You turn off overdraft and you keep that sucker empty.

It's like living with a drug addict. They may be family but you sure as hell dont leave cash or valuables laying about...
> It is probably hype, but if that sentence is taken literally it would be huge.

It's not really that hype but it's also neither that novel and results in this type of domain still have to be verified through other means. $foo2vec papers have been doing this for several domains, framed as text retrieval and link prediction / knowledge base completion, for a few years now.
very puzzling indeed that it's Nature worthy. The authors used Gensin word2vec to extract embeddings from a custom corpora. Well I did that twice last week for my application.
Technical Documentation vs. User Documentation
Well for one thing Europe relies on immigrants to keep it's population from declining and if the whole world becomes like Europe in this regard we're gonna quickly run out of immigrants.

ETA: I see from your other comment that you meant "stopped growing" so my comment doesn't really apply.
It doesn't alter the outcome. It causes it to decohere into a particular outcome. There is no way to force a particular outcome, hence it being non-deterministic.
Sure, I get they wouldn't have been transporting the stone around the world, but why was it not a stopping off point for further investigation, why did they not experiment with different stone or materials.