skysight-inc/HackerNews huggingface dataset:
Have any C developers jumped ship to Rust?

I can see C++ developers migrating as the philosophy of C++ seems to be more aligned with Rust than C (C solves problems by forcing you to write more C, C++ solves problems by adding more language features).

I’m not sure whether I would enjoy using Rust as I dislike the verbosity of C++ with its more complicated syntax and multitude of “features”.
The iCE40UP5K is not the main processor. It's the embedded controller. Think of it as a power management coprocessor that takes care of things like managing the battery while the main CPU is asleep. It is packed to the gills, but the iCE40UP5K is low enough power to remain on and not drain the battery for several days.

The main CPU is a Spartan7 XC7S50, which has plenty of space for things like crypto accelerator cores beyond the primary RISC-V CPU.
> a "folder directory" is, or at least used to be, a legit way to describe a folder full of folders.

Thanks, that's interesting.
Those are perfect counterexamples. Although both these artists knew quite a bit about marketing and advertising, which is paramount in art, as noted by Warhol.

> There's more to art than nepotism.

Fortunately yes.
>> India: lowest life expectancy

India is 145th out of 201 nations measured [1]. Not great, but it's not the lowest as claimed.

[1] https://en.wikipedia.org/wiki/List_of_countries_by_life_expe...
I'm not arguing against this paper, or that Vitamin D could be very helpful for covid-19 and other things.

But for casual readers it's good to know that Vitamin D is quite potent (it's a steroid hormone, in the same category as estrogen, testosterone and cortisol).

Too much is also harmful.

https://www.devaboone.com/post/vitamin-d-part-1-back-to-basi...

https://www.devaboone.com/post/vitamin-d-part-2-shannon-s-st...

https://www.devaboone.com/post/vitamin-d-part-3-the-evidence
Most 'sun lamps' do not emit UVB, which is required for your body to make vitamin D.
You can do this remotely.

If in a historic remote team or now, I still encourage this practice.
The reason why it works in China is because, by and large, the people see their life improving and will support the government until there will be prolonged stagnation, if at all.

But yes, I meant it as a figure of speech more than anything.
It strikes me as disingenuous to "cancel" the article based on who funded it, as opposed to the arguments and the evidence that is presented, especially considering that publications that are ultimately funded through the Communist Party of China are not receiving that kind of scrutiny.
I'm 58, and find I don't have the creative fluidity I had when I was younger (I was an artist[0], and a musician[1] -with bad hair), but I find that I have a much more efficient and effective creative process.

Basically, my younger creativity was Jackson Pollock; splashing around a lot, with few boundaries, and my current creativity is a bit more like a scrimshaw artist; carefully making each line count, in a restricted and prescribed manner and medium.

A lot of the stuff I'm working on now, is stuff that just plain wouldn't have been possible -at all, when I was younger.

Basically, I have a great baseline for getting stuff done. I may not have the wild forest of creativity I once had, but what I imagine does actually end up existing, and at a pretty good quality level, and, sometimes, at a pretty sizable scope.

[0] https://littlegreenviper.com/cruft/ArtistWithBadHair.jpg

[1] https://littlegreenviper.com/cruft/MusicianWithBadHair.jpg
As a candidate? Tell them you don't do puzzles before talking to humans and to advance you to the next screen? It's not like those rules can't be broken or changed, they aren't laws of physics.
Joan Feynman, who shined light on the Aurora Borealis, dies at 93
Casting a browser or whole screen can be done with Chrome/Chromium on Linux. Whole screen doesn't work with wayland. Redirecting system audio doesn't work either.

If you redirect a tab which is mostly a single video file, it is smart enough to do the video decoding directly on the chromecast, so you get much better quality/framerate.
And they continue executing on the Mill after the load is issued too. The load is specified with a variable delay and you can keep executing as long as you have work that can be done without it.

There's been some newer OoO cores that'll speculate on the data contents of the load, but you'd be surprised how little that helps all things considered.
This Week in Virology, Episode 664, where virologists discuss this paper. Get an expert opinion. (https://www.microbe.tv/twiv/)
Since the Senate was held by a different party, senators could have voted against Obama's candidate, couldn't they? But they didn't; rather, Garland wasn't ever brought to the Senate for a confirmation vote.

Because McConnell didn't care a bit about the people expressing the next Justice, he was more simply scared as fuck of losing that vote despite theoretically having a majority.

Since this is HN I will paraphrase Bryan Cantrill: "Do not fall into the trap of trying to anthropomorphize McConnell. You need to think of him the way you think of a lawnmower".
Stateless countries are also those that cross state borders. Example: Kurdistan, Ireland.

And conversely, there are states spanning (parts of) more than one country: The UK with North Ireland and many others (perhaps England, Scotland and Wales if you consider them separate countries).
> the main reason React was created in the first place.

VueJS has first class support for this use-case while React has "well technically no ones stopping you from figuring it out by yourself" support.
Regenerative CO2 scrubbers exist: https://en.wikipedia.org/wiki/Carbon_dioxide_scrubber#Regene...

Sounds like aquariums sometimes use CO2 scrubbers, so regenerative CO2 scrubbers might be commercially available for that market: https://www.youtube.com/watch?v=5_GM5ZBzvdk
To a point, no all nighter benders will be possible or at least easy.

And then you'll find much fewer people interesting, and more people annoying. That's a function of knowing more.
Almost 1/3 of Covid deaths in Jul and Aug 'primarily caused by other conditions'
According to some "scientists", if you sailed looking for India and found the Americas your experiment failed and you should go back and now search for the Americas.
For me the attraction is a reasonable screen and keyboard - that sort of interface is by far the most difficult part of hardware projects.
JavaScriptin30days.com

If building little games and tools is fun, there might be a future,
why were you resistant at first?
Shutting down would mean regulation worked. Sadly I expect the opposite, something as brazen-faced as establishing a fake insurance company in one of tax heavens like https://en.wikipedia.org/wiki/Action_Park
You'll also end up with 15 fps, high CPU usage, and random hangs... It works, but isn't really usable...
This is the key question. Even if nuclear is made ultra safe, a single bad event (which is likely if we build hundreds of thousands of reactors world wide) can raise so much paranoia that future investments in nuclear can be affected.

I have no idea how you could solve a problem like this.
Attempt to Learn Elixir: Thinking in Elixir
This has been posted on /r/sysadmin on Reddit:

https://www.reddit.com/r/sysadmin/comments/i7yh5d/cve2020147...

Twitter post explaining it:

https://twitter.com/RyanLNewington/status/129344415164462694...

Blog post explaining it:

https://www.tenable.com/blog/cve-2020-1472-zerologon-vulnera...

POC:

https://infinitelogins.com/2020/09/15/abusing-cve-2020-1472-...
Increasing O2 has physiological effects different from the effects of decreasing CO2. It is not just the ratio or difference between the concentrations that matter.

For example, a major effect of increasing CO2 is to make the blood more acidic (or to put more stress on the homeostatic mechanisms that maintain a target pH), and my guess is that no amount of increasing O2 will cancel that out.
Second this. Been doing a variety (16:8, 18:6, OMAD, 36/48/72hr) of fasts for nearly five years now and it has been a life changer.

For those interested, check out The Complete Guide to Intermittent Fasting by the Canadian nephrologist (Jason?) Fung.
I’m aware that race is not a strictly defined category, and that racial classification is arbitrary to a large extent. However, this doesn’t answer my question.
I mean. On the Windows side, you can actually try out the real Windows 10 on your Raspberry Pi and actually run full x86 Windows programs on it. [0]

So looking at this, it is more like a re-heated version of Lindows.

[0] https://www.windowslatest.com/2020/02/09/heres-how-windows-1...
People can vote, but the are lots of things out of control. In my country people can do squat about the government actions for example against organized crime, as much as all common US citizen could not decide whether invade Iraq or not after 9/11. Many actions by governments lie outside of any control by the people, which I concur very often a good thing, but when things end up really bad and the government becomes an alien entity with its own agenda, then calling it democracy doesn't help much.
As one who wrote a couple hardware simulators in Haskell and otherwise, I have to disagree with you.

The very immutability of Haskell values means one has to use transactional logic - given current situation, compute situation at next step. C++ and many other languages tend to update values in-place and that brought me a lot of bugs to debug and, subsequently, made me use Haskell.

Laziness plays a critical role in free composition of parts of the system.

Let me present you some examples.

Single clock domain computing hardware can be thought as computations that compute values for every raising edge of a clock. It can be described as a function from infinite list of inputs to infinite list of outputs. The adder, for example, is just like this:

adder :: Num a => [a] -> [a] -> [a]
adder = zipWith (+)

The register is a thing that produces values remembered from the previous clock cycle. The very first value comes from reset:

register :: a -> [a] -> [a]
register = (:)

Mealy machine allows you to apply a function that transforms input and internal state into output and next internal state. Mealy machine can be used for description of all kinds of things, from register files upwards.

mealy :: ((input, state) -> (output, state)) -> state -> [input] -> [output]
mealy f resetState inputs = outputs
where
-- here comes shortcircuiting that relies on laziness:
outputsAndStates = map f (zip inputs (register resetState states))
outputs = map fst outputsAndStates
states = map snd outputsAndStates

That's it!

Using regular map and other list functions and these two additions, one can simulate single clock domain hardware which amounts to almost anything that computes on silicon - within bounds of approximation; basically, one need to add delays for slower hardware somehow.

The trick with shortcircuiting above allows one to freely compose hardware simulation from different parts. You just put blocks there and they start to work. The function in Mealy machine is pure and total and can be tested (or verified) thoroughly in standard simple way.
Submodules: A Git repo inside a Git repo
> I've not even seen VueJS used once in any serious project in the industry.

I've been paid to write Vue code for at least 4 years.
Is it only me, who think this is kind of cynical? 1M over the past 4 years and a CV that probably gets you back on the track, if everything else fails. Or am I just negative?

I understand his motivations and I second them, I even share kind of share them; but I don't want to read such stories from people earning almost a fortune. I want to know, what people with an average income would do.
Why couldn't the feedback bubble up to someone who has enough authority to improve the process? No one expects recruiters to fix the company by themselves.
Real-time search using basic JavaScript
> Make a triangle with side lengths 7,8, and 9.

p, q, r = params("side1", "side2", "side3")

pq = arccos((p^2+q^2-r^2)/(2*p*q))
pr = # ... similar
qr = # ... similar

assert pq + pr + qr == 360, "Side lengths invalid"
pside = line((0,0), (p,0))
xy_qr = (r*cos(180-pr), r*sin(180-pr))
qside = line((p,0), xy_qr)
rside = line(xy_qr, (0,0))

triangle = sketch(pside, qside, rside)

Or whatever this fictional API is to look like.

Obviously to do generic constraint solving, you need a generic constraint solver. My point is that if you have fixed known constraints, and a programming language, you can just compute what you want explicitly.
Are you thinking of the long-delayed DragonBox Pyra from the Pandora community?

https://pyra-handheld.com/boards/pages/pyra/
There is nothing silly about this “diet”. Don’t let anyone make you feel bad or silly for it. This is how humans evolved. There are dozens of health benefits to eating once per day (or less). We are chronically over fed and under nourished. Fasting or OMAD like you describe is about as close to a cheat code for life as I’ve found.
Plex does
Hardware and software co-evolve. But they are also co-evolving with the structure of our economy.

Today machine learning is used to inside servers to provide multiple responses at the same time.

This batching is because it's easier to gain more money by selling plenty of low quality decisions (ads), rather than a few good quality one.

But to grasp the bigger picture, there is also the fact that silicon chips are hard to develop in a DIY fashion. Our economic models have made it so that the whole silicon industry is based on trade secrets to create barriers and incremental improvements following Moore's Law for more than fifty years.

You see, to build a chip, you need to have everything perfect ; Pure sand crystals, dangerous chemicals, very small features. Everything engineered to the atom and orchestrated to perfection. It makes great product to sell for years.

But you see, this perfection has a price. Everything must lay flat in 2D. Everything must be built. And this is where the flash crash happen. Because the alternative route is vastly superior and evident in hindsight. So vastly superior and evident that the secret is harder to keep. We are even purging our biological ecosystem to keep the secret.

The technological future of computing is in self-assembling nano computing units. You tell the computer units how to build more of themselves. That's how nature has done it for millions of years. Science-fiction call them nanites. You can even reuse existing DNA factory. Or you can bootstrap from scratch. When you see that a typical virus is like 32kb. How can you imagine that with the right resources, you can't write a self generating 3D grey goo liquid.

If you need more computing power it's just a matter of giving it more energy and material. Chemistry scales a lot better. And in the battle of exponential curves, it's a winner takes all market.

Computing power is a resource the same way oil, rare-earth minerals, steel are. It has been managed to be kept under control for fifty years. You need to understand that there is a balance to be strike between enjoying the benefits of technology and the stability of the economy.

That's why Moore's law died, we killed it to keep control.
I understand that some networks might require the compute power that you mention, but this just seems like an average CNN mapping images to Disney characters. And I don't have much experience on that front, but like qayxc said, this should run fine on consumer hardware.

And yeah, many journal papers suck specifically for the reason that their results are not reproducible.
It’s oshiri, not Siri.
Ask HN: Are works created in Lego copyrightable?
My understanding is that Lego bricks are a system. Their website footer says LEGO System A/S, DK-7190 Billund, Denmark.

And that in the US systems are not copyrightable: https://www.law.cornell.edu/uscode/text/17/102

Example 1: If someone views https://www.lego.com/cdn/product-assets/product.bi.core.pdf/6259467.pdf (generic airplane), and physically creates the model with Lego bricks, is there copyright infringement?

Example 2: If someone looks at a picture of LEGO bricks: https://www.flickr.com/photos/shamisenfred/50193102497/ and builds the same result, is there copyright infringement?

If there are no trademarked or registered copyrighted works present in the Lego bricks, is it infringement to then sell that collection of Lego bricks and/or custom generated instructions that use no LEGO brand assets or trademarks with a disclaimer that it is not an official Lego product?
(People are doing this, but the part that’s unclear is “is there copyright on the Lego creation itself, or just the “cookbook” that is the instruction manual and graphics therein?)

It is 1000% clear that you cannot reprint LEGO group or anyone else’s instruction book as that would be clear cut copyright infringement. My understanding is that two people could produce instructions that generate the same result as they describe a system for building.

So Lego Group and anyone else who creates their own custom instruction manual can have copyright over the manual as an expression, but not the system it builds is my understanding.

If you are a Lawyer or know a lawyer who'd be interested in talking more, I'm happy to pay for your time. Make sure your email is on your profile or link to it here. HN has all walks of life so there may be one here!
Show HN: Find missing/stale translations for Android app using GitHub actions
> A Pi is always going to be a Pi. Its always going to be a Linux thing (Debian IIRC).

Or any compatible Linux Distro: openSUSE, Ubuntu, Windows for IoT, and so on....
It's 'shone' no? Or is that another one of those UK Vs US English things?
Top-1 results are much harder than top-5, so the fact that they are bumping up top-1 by a few percentage points is pretty significant IMHO. Also getting 1 to 2% bump for the segmentation task is nothing to sneeze at.
I've been a multi-decade notebook user and and recently been using an iPad to take notes.

Just the default Apple notes app recognizes my cursive well enough to make my notes searchable and I don't feel any slower than with a traditional pen.

It's a nicer experience than I'd been expecting, TBH.
What's it like to be old?

My boss is younger than I am and is absolutely sure he knows more about my job than I do, even though I've been doing it since before he was born and he never did it at all.

People on TV keep trying to sell me stuff like Metamucil, some new kind of cane or similar silly gadget, or a scam investment, none of which I want.

My grandkids can't understand why I can't read things they're holding right in front of my face until I've spent twenty minutes finding, then cleaning, my glasses.

My wife has heard all of my jokes and all of my excuses. She now criticizes the former and laughs at the latter, instead of the other way around.

My friends sound like cranky old sticks-in-the-mud who wish they could turn back the clock to a time that wasn't nearly as wonderful as they claim to remember it was.

A trip to the supermarket now tires me out and instead of going out with (surviving) friends, I really look forward to taking a nap on the couch. Really.

The celebrities I recognize are senile and/or decrepit. The ones who are currently popular are appalling.

I don't have enough money to retire but dream of it every day (See the above comment about my boss).

Life is fantastic, except when it's not. Whichever it is now, pretty soon, it will be the other one.

My advice: Pay attention.
I hope that FOSS can converge to a single build system as much as possible, because it's not very convenient to learn them all.
Specifically, that was Jim Keller who gave the "we've got this" response to that. I've been grumbling about moore's law for some time, but if Keller says that it's possible, I'll believe him on this.
First thing is to ask this teenager why do they want to become a computer engineer? What do they think computers engineers do and why do they think they will enjoy doing that for a living?
How do you calculate the clarity score?
> Morocco has a very mean and torture-happy secret police, and tourists are one of their main sources of income

I initially interpreted that sentence differently than how you probably intended it.
There have actually been a lot of really good independent audio dramas in recent years. To name just a few:

Edict Zero - A police procedural on a far flung colony planet.

Orphans - A group of people with no memory crash land on a mysterious planet where they're being hunted.

Archive 81 - Starts as a story about a guy investigating paranormal tapes, then eventually moves into more of a dark fantasy type setting.

Theater of Tomorrow: A SciFi anthology series, with some relatively long multi-part stories.

StarTripper!! - Lighthearted show about a desk clerk in the future who grows bored of his day job and buys a spaceship to travel around the galaxy.

Our Fair City - Set in a futuristic city standing alone in a post apocalyptic wasteland, it's a bit of a screwball comedy/drama dealing with the various residents who reside there.

MarsCorp - SciFi comedy about a woman who's been reassigned to assist the Martian colony effort and finds the entire project on the verge of collapse.

As you can probably tell, I tend to listen to shows in the SciFi/Fantasy genre. There's a lot out there, but I picked ones that are relatively well written (in my opinion) and give the feeling of a big production (full cast and sound effects).
IANACognititive scientist, but:

Yes, I don't think anyone in AI research believes human-style self-awareness is needed for those tasks. Well, putting away clutter might be tricky, just in getting human definitions of "put away". Most of the rest of them are just high-level pattern matching.

I think consciousness is worthwhile for communicating useful thought patterns to your peers. This is consistent with the modern perspective that "consciousness is just stories you tell yourself" and even the Watts perspective that it's inefficient. Those stories about yourself are in fact useful if they make your tribemates more effective, and (as anyone knows who has thought about communication overhead in a large organization) the individual inefficiency is offset by the power to harness a hundred or a million individuals to the same task.
They joined FT in 2018 from what I can tell, so meeting everyone would have been entirely normal. In a remote working model, you could obviously do it over VC.
>otherwise the club would have faced a €200 fine

means pure political spectacle
AKA the dark army :)
> However, I wouldn't take the pope's words as a sign of that change. I have friends who are gay or lesbian and formerly part of the catholic church. When he says that god loves them, I assume it is in the sense that god loves everyone, even sinners.

It's pretty clear that Francis himself is not interested in doctrinal change on this issue, but in changing focus and pastoral approach.

OTOH, historically that's where change often starts.

> From what I understand, gay people are seen kind of like drug addicts by the church. People who are worthy of pitty, but are still considered "sick".

Doctrinally, this is no more true of people who have a homosexual orientation than of people who have any other source of temptation to behavior that the Church sees as sinful.

It's true that, pastorally, lots of people in prominent positions in the Church have focussed on this a lot with regard to homosexuality, but that pastoral approach seems to one thing that Francis wants to change.
Direct democracy always beats representative democracy. In the representative democracy, people have not voted for the content of the laws that the law makers pass. That's why Rousseau calls "representative democracy" slavery.

Direct democracy can work in small countries. Will it work in a country with 150M or 300M people? Will it work? Maybe, one has to schedule voting every 6 months, just like a train schedule.
1. Ever heard of Nights and Visual Studio plugins?

2. OpenCL 2.0 was a failure, so OpenCL 1.2 got renamed as OpenCL 3.0. C++ bindings were dropped and SYSCL is now backend agnostic.