skysight-inc/HackerNews huggingface dataset:
Credible research suggests that levels of honesty differ across countries:

Gächter, S. and Schulz, J.F., 2016. Intrinsic honesty and the prevalence of rule violations across societies. Nature, 531(7595), pp.496-499.
Hugh-Jones, D., 2016. Honesty, beliefs about honesty, and economic growth in 15 countries. Journal of Economic Behavior & Organization, 127, pp.99-114.

NB: I'm the author of the latter.

This doesn't have to imply racism, there are numerous reasons why people might behave differently in different environments. Different culture, different institutional incentives, a different economic environment....
I live in Hungary, the country where a new empty soccer stadium is built in every month.
Not a lot of people these days care about portability, unfortunately. You'll be
lucky if your project's build scripts run the same way on both Debian and
vanilla macOS. And when they don't, the answer people will give you is probably
something like “Just install GNU tools!”. *BSD? Forget about it.
A bit of topic but: I write a lot of C and lately I've been using 'bool' as my error handling type. This probably sounds stupid to many people, but I'm a minimalist. If a function has an error -> return false.

In the past I would have returned an enum or just int with values for every error that could occur. But I realized that I almost never actually handle the error cases differently. I just want to know whether an error did or did not happen.

This style gives me 99% of what I need, and it's so god damn simple.
failure prototyped changes that ultimately ended up in the standard Error trait. anyhow builds on the new standard Error trait to provide everything failure does but without the non-standard Fail type.
Do you have a source for such a direct claim?
Also error-chain, which is more or less replaced by thiserror.
I suggest the 15 year limit and other requirements in Mexico:

https://en.wikipedia.org/wiki/Supreme_Court_of_Justice_of_th...

I'd add the requirement of at least a year of criminal defense experience since this is almost completely lacking currently and it shows in the horrible decisions the court makes.
Interestingly, real disposable Personal Income per capita is actually up in the US. See eg https://fred.stlouisfed.org/series/A229RX0
Ah gotcha y’all mad about the 3080 fe. Makes sense.
Thanks, this makes sense
1. A modern filesystem will stop the filesystem getting corrupted by power loss - but a file that was mid-write, or an install process that had copied half the files it needed to, will still leave that thing incomplete.

2. SD cards can wear out (i.e. too many write-erase cycles) regardless of the filesystem.

3. SD cards have controllers running firmware, doing things like write levelling and bad block remapping. Some cards have bugs, and if the card is lying to the OS about a write completing, or if the remapping table is less resilient than the filesystem's journaling, you get problems even if the OS and everything on it is perfect.

4. Problems like pins with poor connections and power supplies not providing enough current are exacerbated, as microsds have no space for power capacitors and few SD card holders are rated for hundreds of insertion cycles.

5. SD cards start out a lot cheaper than SSDs (easier to find a sub-$10 SD card than a sub-$50 SSD) and the market is awash in fakes

All these problems look very similar - "My RPi stopped booting, I replaced the SD card with a freshly written one and it started booting again" - making forum anecdotes and user bug reports hard to rely on.
This is a project group under the "libs" team (ie, the team responsible for the standard library).

So I don't think language changes are going to come out of it.
It's not the presence, it's the operating mode of your Smartphone...namely Airplanemode, which is my main-mode.
Rebalancing to cash would seem to make sense if you expected a crash. I gather that this doesn't happen because no one wants to pay a money manager to not invest their money.
They only live for 4 years?
If you're interested in human octopus interactions I recommend Sy Montgomery's Soul Of An Octopus.

http://symontgomery.com/soul-of-an-octopus/
Shouldn't they just postpone the proceedings until the "technical issues" are fixed?
When you work as hard as he did you don’t want to finish 20th.
I’m going to ignore all the subjective incendiary rhetoric and focus on this (slightly edited) line:

> [Those] who uncover state crimes are the enemy of the state.

This is an interesting point, considering Snowdon made public improper behaviour, which resulted in him fleeing the country, while (at least some of) the improper behaviour has been declared illegal behaviour by a court of law. Meanwhile Snowdon remains persona non grata.
Did asteroids, comets and planetesimals bring water to Earth? Small Worlds Guide
Compare the moonlanding poster in https://slatestarcodex.com/2019/03/04/prospiracy-theories/
What is "medium"? I know median and mean.
meme

n. (1)

A unit of cultural information, such as a cultural practice or idea, that is transmitted verbally or by repeated action from one mind to another.
Evolution of Metro 2033 Games 2010 – 2020
Nice work! Visiting on a mobile device:

Remove the whole header and top branding. It's too small and just adds noise.

Instead, add a fixed hamburger menu.

Branding could be fixed as well but only shown on scroll.

Also, the big emojis take up precious vetical space. Make them inline like the rest of them.
That works until you find out that you just wrote one of those godawful pieces of software that say "An error has occured" for everything that goes wrong, including wrong password, network connection issues or simple misconfiguration.
99% SV startups are scam. 99% VCs are Ponzi Schemes. So getting fucked by this CEO is nothing. LPs are lured by VCs to invest on scams. Ahahah God Bless America!
Schaeffler Bio-Hybrid
That may work for most cases (and is what I myself often do), but it's worth keeping in mind that it won't work in general. There are many situations where closures are not a replacement for imperative blocks, because the compiler has an understanding of exclusive paths in imperative control flow that does not apply to closures. Eg:

fn foo(cond: bool, s: String) {
if cond {
drop(s);
}
else {
drop(s);
}
}

... compiles file even though `s` is being consumed in two different locations, because the compiler is aware of the control flow of if-then-else so it knows only one arm can be executed.

If you tried to replace the bodies of the two branches with closures, it would not compile, because both need to consume the String. That is,

fn if_(cond: bool, t: impl FnOnce(), f: impl FnOnce()) { if cond { t() } else { f() } }

fn foo(cond: bool, s: String) {
if_(cond, || drop(s), || drop(s));
}

... won't compile. Even though only one of the two closures will be executed, both closures need to be created regardless, which means both need to own the String, which is not allowed.

This problem came up all the time in pre-async-await futures 0.1 code because async code had to be written with futures combinators that all used closures, so even in cases where the programmer knows only one closure will be invoked, they would still need to clone their values so that each closure could own them. Even in regular non-async code, it often comes up with the combinators like `Result::map_err`, like:

enum Error {
Io { path: PathBuf, inner: std::io::Error },
Deserialize { path: PathBuf, inner: serde_yaml::Error },
}

fn read_config(path: PathBuf) -> Result<Config, Error> {
let f = std::fs::File::open(&path).map_err(|err| Error::Io { path: path.clone(), inner: err })?;
let c = serde_yaml::from_reader(&f).map_err(|err| Error::Deserialize { path, inner: err })?;
Ok(c)
}

Notice the `path.clone()` in the first Result's map_err closure, which is needed even though the programmer knows there is nothing else that will use `path` once that statement executes. That's because, once again, both `map_err` closures need to be created regardless of whether they execute or not, so for the second closure to be created it must own `path`, and thus the first closure needs to clone it. The equivalent code with explicit `match` statements for each Result expr would not need to clone. Compare `read_config` and `read_config2` in https://play.rust-lang.org/?version=stable&mode=debug&editio...
Show HN: I made a scraper that finds the Best Remote Jobs Every Week on the web
Drama? Inattention? Could you explain that a bit? Do you mean twitter drama and FB racist uncle drama, and lack of faceless "happy birthdays" on FB? Or the lack of validating likes on instagram?

Because I found that to connect with people to learn FB is a complete nonstarter, instagram and twitter are both hopelessly trash due to their write-only nature. It's very hard to learn just by observing. (Sure, there are a few counter-examples, when you ask some expert/authority on some subject and they reply and many other folks too, and you might get some insight. But usually those are shallow, lacking detail, etc.)

Also, just being on these platforms doesn't mean you have to use them. (I mean I use FB Messenger all the time, but it's completely silent, I don't even get notifications - I have no idea why, I tried to somehow enable them, but they still don't show up, so if someone wants something they have to GSM call me.) So, just have a profile, fill out your about/bio, and so recruiters/HR will be at ease.

Focused, moderated subreddits are usually okay. Plus now thinking about it, reporting GitHub issues and trying to fix bugs helped the most with learning something. (Unfortunately it only works for code related things, but usually there are open communities for other domains where one can participate and learn from others.)
Can you please elaborate on who your "nobody" actually is?

Because the amount of partnerships nVidia has kinda makes your point suspect.
Yes, that's true. But it's important to note that Republicans deviated from this process 4 years ago and will now just resume business as usual while being a lot closer to the actual election than in 2016.
People were already quite unhappy with Google since the ads performance, especially since the start of the pandemic, was already subpar and the ROI was very bad compared to other platforms. But, sure, why not upset them further..
Sure, and controversial laws were submitted for constitutional review everywhere around the world (where there are constitutional courts). And picking judges was always a political thing. Just as picking the top prosecutor. And so on.
> Just look at nvidia's past behavior with Linux.

Hmm, you mean like nVidia being the only company providing fully featured 3D support for more than 2 decades before the Linux kernel team decided they'll start demanding one-sided changes from them?

I distincly remember years and years of using Linux on desktop where nVidia was the only hope of getting the same OGL features than Windows users were getting. Even when Linux was an irrelevant blip on everyones radar.
I wouldn't say this is the main selling point of Vue. For me Vue is superior exactly in the opposite scenario: when one has to build a complex SPA. State management, routing, and the like is all well integrated in the Vue ecosystem whereas, for example, in the React world it's a pita. I like React's simplicity, but I cannot deal with any of its complementary libraries for state management.
CascadeTabNet: An approach for end to end table detection
>>>Media and narratives matter. Fascism has succeeded in the past at murdering millions of people. There is no fundamental reason why it couldn't happen again.

Always interesting that stifling the fascists and Nazis is so popular* but no one ever mentions the ongoing need to silence the communists, who are in the same "ideology with a 7-figure body count" category. Why is that?

*Also in thread: https://news.ycombinator.com/item?id=24515338
but it seems you can either use `Result` to handle errors (and force the caller to deal with it) or crash with `panic`

To me, there is a large difference between them.

Result is for computations that can fail, such as opening a file or reading from a socket. Computations that fail should be handled by the caller (e.g. report a nice error which file could not be opened or attempting to open a new socket and retry the communication).

panic, in particular through assertions, are for catching programming errors, such as violation of invariants. These are cases where the program should just crash and burn, because it would be in an invalid state otherwise. E.g. splitting a Vec at an invalid index is a programming error. If a program attempts such a split, it is already in an invalid state, so it should crash and the bug should be fixed.

What I usually do in other languages is use exceptions as assertions, when it is just a simple one-off app, but then go back and catch the exceptions when possible to make it more user friendly and robust.

The Rust equivalent is letting Result::Err bubble up the call chain and have a

fn main() -> Result<(), Error>

or even nicer:

fn main() -> anyhow::Result<()>
Hey people!

Some months ago I posted about a bot I made that scrapes 1000s of jobs every day and posts them on a bunch of Telegram channels https://t.me/NoiceJobs

Now I've made a blog so that people that don't use Telegram can see them too. The best jobs in 50+ categories every week will get posted on the blog, and people can also subscribe via email

What do you think, what's your least favorite part about it?

Cheers!
Are you comparing USD and EUR prices? Because VAT is a larger difference than import duties, and GF Berlin won't help there.
I guess in embedded, C is still strong?
I also use vimium on Chrome, but I never knew about any functionality for searching tabs. What key is it?

Also I'm not sure if it would be helpful for websites like github where I disable vimium to be able to use the website's hotkey functionality.
Well thats not a very sporting attitude
Safe Qubes OS screenshot tool with active VM detection and window border removal
Yikes. Corruption in an organization at Amazon-scale, economically, is a totally different beast. More like corruption in a governmental organisation than a private one.

"$100 million of competitive benefits to those accounts, harm to competitors, and harm to consumers."

At this point, there are "officials," with rubber stamps that are worth millions to a large number of businesses. Google, and facebook too. The difference between doing well or poorly on the ad marketplace, adwords, feeds, results, and such can be the difference between a business worth a fortune and one worth nothing.

It's similar in scale, incentive complexes and such to whatever public body approves real estate development plans. Friendly decision makers are worth a fortune. No details on who the culprits were, but it sounds like corruption near the ground level.... $100m. Different beast.

At this point, expect less criminally blatant forms of corruption to emerge. Hiring former facebook & adwords people as "consultants with contacts" is already a meaningful sized thing. Sound familiar?
> Nvidia is notoriously hostile to open source.

Nvidia was the only provider of fully working OGL drivers for Linux and BSDs for decades, so this narrative is just pure FUD.

They're not "notoriously hostile" if they didn't choose to throw a wrench in their drivers and whole business just because Linux kernel people decided to trash the driver APIs one-sidedly. They're also not "hostile" because they refuse to be bullied by Linus' middle fingering into the solution that doesn't work for them.
Next Level of Mobility – Ottobahn
I wonder if we can manipulate trump into freeing Assange and Snowden under the narrative “These heros exposed Obama’s crimes, you can be the hero who frees them”

(I know they are not “Obama’s” crimes but that’s the only way to get trump engaged, or maybe just “democrats” crimes)

I think he would run with it if only it didn’t set president for whistleblowers to blow the whistle on whatever he has done...I dont think he thinks deeply enough to consider secondary effects but those around him may
The folks working on the Mill seem to disagree. They have a VLIW-style architecture (up to 33 sub-instructions in an up-to-512-bit instruction) that they claim does not have the same drawbacks. That at least means that someone is still chasing the VLIW general purpose CPU dream.
That's interesting! I had the opposite experience with Rust

With 5 years in PHP, 9 years in node, a few projects in Haskell and sporadic rust usage in the last couple of years:
- PHP was great until they added autoloading and everyone started using a half assed package manager
- node was great until everyone started using babel and they broke requires / import
- python was ok until they split the ecosystem in 2 vs 3
- Haskell keeps getting better (stack, solved record name clashes) because things are rarely broken. It's too bad adoption is limited and there's not much commercial interest
- Rust is my new favourite technology, it learned package management from node and functional programming from haskell. New features have been painless and easy upgrades
What is not available in Ubuntu that precludes it from "power" usage in your opinion?
I think I had this exact same debate with you about a year ago. Trying to find it in my comment history, lol. But the ID3 is finally on the road, that is great.
>>>I also don't get the "You have to fit in a bucket" theory. What's an example you've experienced?

Straight from the mouth of Joe Biden: "If you don't know whether to vote for me or Trump you ain't black." Yeah, because a near-80yo white man is obviously the final arbiter of my ethnic identity if I don't conform to his politics.
Thats pretty much what I meant with "funny".
Foone is into such fun things, but I absolutely can’t stand how everything is “stupid”, “the dumbest thing ever”, “what were they thinking?”, etc. It must be exhausting to hate everything so much. It sure is exhausting to read about it.
What do the military use?

Should it not just be very similar to them?
The low reputation IP rules are a pain in the arse -- and I say that as someone who frequently falls foul of them. I often have to use tor to get around government blocks. The fact that Google and cloudfare hate tor users is just an extra kick in the teeth.

If your web app is vulnerable being brute forced, fix it, don't blame the users...
Unable to read past the abstract here, so I'm guessing that the the mere presence of the smartphone causes an unconscious distraction because the phone might "do something".

Is it possible the that simply switching off the device will eliminate the distraction and impact on attention?
Sure. It’s just not very likely Biden will win, since Trump is a better campaigner with the EC arithmetic tilted in his favor.
Diffbot's Natural Language API
Could you raise an issue on github.com/raspberrypilearning
The repo name will be the project's URL slug. The weekend has started now, and I know I'll forget this by Monday.
I agree. This sounds pretty awful. I've worked everything from camera drivers to distributed, and I can't think of a single interface I've used where only having a "Something failed" signal wouldn't drive me up a wall debugging.

Opening a file is probably the most mundane thing I can think of, and there's at least two situations I want to log/bubble up - file not found vs some other i/o error.

Oh, setters and getters I guess return bool works ok.
Absolutely. Would be nice to know the bandwidth.
The Guide to Moving Averages. From Basic to Advanced
I do get this, but i also get the other side. The sense of entitlement inherent in the requests, the frustration of people who can't be bothered to read before posting

(I am btw, a serial offender of this, in FreeBSD land)
How to Raise Money from Friends and Family
This is a dishonest comparison. A more appropriate analogy would be you were deliberately trying to run someone over with your car and you ended up hitting a pregnant woman as well. Then your defense is "I'm not a monster, of course I didn't purposely hit a pregnant woman."
Sea Shore Line
What is the best shipping company in Iran?
Emby also offers the ability to control and play stuff on other Emby devices on the same network. LibreELEC/Kodi + the Emby plugin [0] on a Pi makes it appear as an Emby device on other devices. Been using that for more than a year an it works like a charm. Plus the data is fetched from the Emby server and not device to device, so you can play something from your phone to your TV, then continue to control from your tablet while your phone is off.

[0] http://kodi.emby.media/
Typescript allows you to have massive gaps in your types.
I've been bitten by it so many times.
As a huge proponent of types, sometimes I think it would be better not to have it, because of the trust you put in your type system and the mental load of always keeping in mind "oh wait, maybe someone is using this as any somewhere".
Node event loop GC pauses are also a problem and they contribute to instability and timeouts.

Rust can make app performance easier to reason about, improve performance, bring a real type system and all of this with a language which is just marginally harder to learn.
I'm aware of the mill and that it's VLIW-ish. You're right, I will do some (re)-reading on it to remember how it works around that (although in a video ivan goddard does say if you hit main mem randomly, no architecture can save you, mill included).

DSPs, and of course GPUs, do exist and again you're right, for special purpose but important niches of course, but I was referring to general purpose CPUs but didn't make that clear. Thanks.
> 5) If the interception fails, the attacker still ruined the transfer. (DoS)

Worse, because MW is so happy to reuse channel ids, with some amount of luck, one can ruin multiple transfers in one go:

• Alice runs "wormhole send foo", which generates code "1-revenue-hamlet".

• Mallory runs "wormhole receive 1-bad-code-haha", ruining Alice's transfer.

• Bob runs "wormhole send bar", which generates code "1-enchanting-drunken". (Channel id 1 is now technically free, so why not.)

• Alice's friend, unaware of Mallory's malfeasance, runs "wormhole receive 1-revenue-hamlet", inadvertently ruining Bob's transfer.
For graphics use GPUs perform a very significant amount of work in hardware (rasterization and texture interpolation being the two computationally most intensive [probably followed by ROP, which blends pixel shader output into the framebufer]; you can easily calculate that the ALU bandwidth of the TMUs is about the same order of magnitude as all the shader cores), which gives them a huge efficiency lead over anything purely done with programmable hardware only.
Youcanhack.com/?667313
How does Italy test for Covid-19? [video]
Building a mass market EV five years ago would have been suicide for any existing manufacturer

Indeed, but they all had to pretend it was right around the corner to keep their shareholders happy while Tesla sped ahead with a genuinely very difficult mission.
>we'll be trying for a kid

Please consider this carefully. The coming decades will not be pleasant to live in.
I do not understand why the list of available imagery disappears when I zoom in. I would expect it to show images that include the area I am looking at.

I checked to make sure that the small area I was looking at was covered by at least some available imagery.
I switched from Google to DuckDuckGo a few months ago. I always found myself switching back to Google, whether I was looking up some news info or tech-related or programming hints. I switched back to Google. Any one experienced the same thing? What did you do?
“Winning isn’t everything it’s the only thing, whoever said winning isn’t everything never won anything.” etc

It might be cultural, but that attitude strikes me as the very heart of sport in all honesty.
I'm basing it on Musks statements that to get the cars as cheap as possible they need to be manufactured in the appropriate continent. Thats the point of the German gigafactory.

But indeed who knows what the eventual UK Model 3 price will be. Better than it currently is for sure.