skysight-inc/HackerNews huggingface dataset:
The feeling that it's just completely impossible to know what's going on in the world is really debilitating.

I spend probably an hour a day reading headlines from major outlets with a bunch of different political alignments, and to be honest, I don't really know why I even do it.

By the end of it, all I really have is a vague silhouette of a picture of what might have happened, according to a handful of corporations whose job it is to turn the smallest amount of factual raw material into maximally entertaining spectacle. The factual raw material can even be done away with sometimes as evidenced by how much of the news is just media reporting on itself (often centering on Twitter!).

There is not a technical solution to any of this. "Decentralization" into forums and social media and whatnot is not a solution. At best it's a good way for some of us to discuss the problem among ourselves as it unfolds. Decentralization is better termed "de-professionalization." The institutions which used to, at the very least, dedicate serious resources to going out into the world and gathering facts no longer function properly or just don't exist.

I remember seeing an interview with Christopher Hitchens where somebody asked him how he informed himself about the world, what news he liked to read. He said, not much. Mostly he relied on people he knew personally in various parts of the world who have firsthand experience and write him about it. Must be nice!
Federal law in the Amazon case, California law in this Apple case.
"Don't go outside, you'll get COVID", sounds more and more like horrible advice. Before knowing the virus died in sunlight, I still couldn't fathom why people were avoiding going out to parks and stuff. It was totally non sequitor.
I think the paradigm of thinking in terms of your data rather than your code is what throws a lot of people off with hooks, but it makes infinitely more sense to me.
I managed inventory at an Apple store and most of our policies was related to this risk. Since as a employee I'm able to mark a product as unsellable its gives the employee a lot of power to try to steal. Thats why if you look at a stores trash you will NEVER see a Apple product. Everything was sent back to one of the warehouses. even damaged cables. A bad employee can steal a lot more than any single customer. Apple just tries to be nicer about it ... positive intent and all that jazz. ....Hell the trash was the only security check that my store did.
Alas, I doubt they care much. Post-Microsoft-acquisition-GitHub is playing a different game.
Another part of the equation is that in many places the threshold for "viable business" has shifted upwards a lot. It's not just increased rents, also what people expect from life in a very general way. (see also other parts about viable business that close simply because they don't find a successor)
Back to School Sale Vue School
Their existing policy has never made sense to me. You can only give away so much stuff on a free plan. I don't think CI/CD is cheap. Buying extra minutes for $10 (not per month) is completely reasonable. At some point I feel uncomfortable using a free plan that is obviously unsustainable.
Heating the air drys it out...

The article is about Japan. I would expect Korea has a different climate which means different considerations. (but I'm not an expert in climate)
I used their paid product once and failed to buy it two times after that.

They tried to move up-market and did it in an unreasonably difficult way in my opinion. It was easier to do business with ORACLE and then Google. The sales folks didn't listen, their proposals ignored our requirements, it was a mess.

I hope the staff got something.
Funny - I worked for two SaaS businesses that at one point used Optimizely and loved (and I mean LOVED) it.

But I distinctly remember at the second job, that incredibly rough transition to that vague enterprise pricing structure along with the software getting clunkier and clunkier, which led us to abandon them and never look back.

I think at one point they were trying to get us to go from paying $99 a month (!!!) to like $3,000 a month for virtually the same service??
For starters, I'd suggest going through Rodrigo Pombo's walkthrough "Build Your Own React" [0], my post "A (Mostly) Complete Guide to React Rendering Behavior" [1], Dan Abramov's treatise "A Complete Guide to `useEffect`" [2], and Shawn Wang's talk "Getting Closure on Hooks" [3].

I also have additional links on both React's internals [4] and React hooks specifically [5] that should be useful.

[0] https://pomb.us/build-your-own-react/

[1] https://blog.isquaredsoftware.com/2020/05/blogged-answers-a-...

[2] https://overreacted.io/a-complete-guide-to-useeffect/

[3] https://www.swyx.io/speaking/react-hooks/

[4] https://github.com/markerikson/react-redux-links/blob/master...

[5] https://github.com/markerikson/react-redux-links/blob/master...
The use of disclaimers to suggest real events is discussed here:

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

Also

https://tvtropes.org/pmwiki/pmwiki.php/Main/DanBrowned
Azithromycin is a common antibiotic, not an anti-viral drug. This is an important distinction. Also hydroxychloroquine is an anti-malarial drug, which is also not an anti-viral.
> The article you linked says that compilers can prove a lack of overflow in this example, so UB is not necessary to assume here.

It's trivial to prove in that particular example because it's assumed that count is also an int (both i and count are in 32-bit registers).

> It also claims that the compiler cannot prove this in more complex examples (but gives no explicit examples).

The example doesn't even have to be that complex; you just need sizeof(n) > sizeof(i) and i to be signed (godbolt example at [0]). In that example, if the compiler can assume signed overflow is UB, then you get fairly sensible code generation. If the compiler cannot make that assumption (add the -fwrapv flag), then you get that movsxd instruction in the middle of the loop body. If you use -O2 instead of -O1, then -fwrapv prevents loop unrolling.

> What I'm saying is if the compiler cannot prove a lack of overflow in this way, that should be a warning.

I'm curious how frequently this warning might fire in real-life codebases, or when it does fire how frequently it's something the programmer can actually fix. Clang does have -Rpass-missed to emit some diagnostics when an optimization cannot be performed, but it doesn't emit anything in this particular case (though I'm not sure whether it's supposed to).

[0]: https://godbolt.org/z/abq3n9
I went to a French baker in Dallas when I lived there, his breads were the most amazing food item I think I ever ate, everything was amazing and made in a very traditional French way. Not sure if its there any more (been 5+ years).
Sure, and I won't defend cable news at all. The 24/7 realtime nature of what they do is set up to be superficial and error-prone.
I don't feel that way. Social media circulates a lot of weird takes. For the many, many hot topics of 2020, I hear a lot of opinions that are something like, I'm bored of this so it's not important and it's all fake news anyway so I can make up my own story. That's a take that sounds like it should be quiet but it's instead really noisy.

Not really a replacement for quality journalism.
Right, or we can just link to the physical law itself: - Lorentz force - the force on a current carrying wire. No need for a long wire. It's in the range of micro-Newtons for few Amps, for 10cm, at earth magnetic field:

https://en.wikipedia.org/wiki/Lorentz_force#Force_on_a_curre...

"When a wire carrying an electric current is placed in a magnetic field, each of the moving charges, which comprise the current, experiences the Lorentz force, and together they can create a macroscopic force on the wire (sometimes called the Laplace force)."
Crikey. Higher order functions are rare or niche?

To my mind they are oftentimes magic pixie dust that can turn a hideous, verbose and inflexible API into something humane and readable.
You can also run your own CI/CD runner for free and use their platform for coordination. I do this and it works well, as easy as running a docker image. Runs on my homelab.
Here is the Yale press release:
https://news.yale.edu/2020/09/02/asphalt-adds-air-pollution-...

And the paper:
https://advances.sciencemag.org/content/6/36/eabb9785

I'd also like to point out that road wear is approximately proportional to the cube (^3) of the weight per axle on a vehicle, so cars are probably responsible for a minority of this pollution.

*edit: some are pointing out that the relevant road wear is proportional to the 4th power of vehicle weight, see the comments below for details.
All patients received hydroxychloroquine and azithromycin, i.e. the control group also, meaning the difference in outcome between the intervention and control groups is not due to these drugs.
the bummer about reagent is that it allocates so many immutable data structures on render. I've not figured out a way to ergonomically write hiccup without paying this constant performance tax, which is felt on a lot of large reagent apps.
>This is proper "don't be evil" territory.

It's a bad look, for sure, but common in high end retail.

Proper evil territory featuring cardboard cutout evil capitalists looks more like this:

>Google, facing an advertising slump caused by the pandemic, has rescinded offers to several thousand people who had agreed to work at the company as temporary and contract workers.

https://www.nytimes.com/2020/05/29/technology/google-rescind...
Sadly that way it's just too easy to start using more modern solutions bit by bit and suddenly you are in object-oriented hell or worse.

Sometimes I've found that it's just easier to stick with plain C that way you don't ever feel tempted.
The good things about raqote is that it's a Rust library so it may be safer than Skia. Raqote is also easier to compile than Skia.

The downside is that it's slower than Skia [1].

But, it should be possible to modify skia-canvas to work with raqote. The JS API would stay the same.

[1] https://twitter.com/pcwalton/status/1252281006263988224
Now I have a tense headache!
The roads near my house - https://economictimes.indiatimes.com/videodash.cms?autostart...
Are there server side webgl implementations as well? Either GPU accelerated or pure software.
Disagree, as Apple, it is in their best interest to fight this.

For apple, employee are expenses, reducing expense and increasing profit is what a company should do.
Show HN: Docker Build Volumes
Because the parks have people in them not wearing masks?
That's the phrase I was looking for. Their sales process is impossible.
Webs of fungi protect some forests from drought
I like to run fail2ban in conjunction with a non-standard SSH port on which only public key auth is available.

This way, most of the junkware that does rude things to port 22 is banging on a closed door; the slightly more effective junkware that actually finds the SSH port gets banned immediately, because I know anyone trying to log in with a password is full of it.
Is that what you think of Python?

How can this be: C has a standard, when many other languages do not. Thus C is "more defined" than other languages. Yet somehow it ends up being less defined.

If C had no standard, it would be defined by its implementation, just like many other languages. But because it has a standard, it has undefined behavior.

The real trick is that without a standard, implementations have to be bug-compatible. They're too defined! The purpose of a standard is to define them less.
...was it worth the legal costs?

By this logic they might as well try not paying their employees at all and letting that go to court too.

(To clarify, it's not that I necessarily think there's anything particularly egregious about the original practice since it seems commonplace, but the replyee's sentiment that they should've just given in is absolutely correct.)
A related aspect is that a nice, solid, impartial fact-based news organization will often report on what various public figures have said. Since they are impartial, objective, and just reporting the facts, they will of course refrain from commenting on the truth of said declarations - that would be the reporter's biases showing!

"X says Y" is objective news. "Y is actually not true" is journalists showing their biases!
Insulation and ventilation cold/heat recovery is more important yhan central vs per room heat pumps.
Ah, you're saying that you would,

select {
case send <- x:
...
case y := <-recv:
...
}

Ambiguous because the select() syscall is also relevant to the discussion.
The original hubris was thinking we could put all these greenhouse gasses in the air and do climate change and fk the consequences.
Can confirm that Formik's hooks API is really not very good. Any change to any form component results in the entire form rerendering when hooks are used to connect to Formik context. Lost months of time in last gig to the choice to use Formik.
It definitely seems rail might be lower polluting in this respect.
It runs multiple expressions. That is

sed '/pattern1/d
pattern2/d'

is the same with

sed '/pattern1/d; /pattern2/d'

and

sed -e '/pattern1/d' -e '/pattern2/d'

I believe those are portable across all `sed` implementations, and they at least work with GNU `sed --posix` and plan9port's sed.
That honestly sounds terrible, and apparently only works on ECS. What a shame. I was thinking that AWS was actually going to provide something useful to the open source community.
Accepting My Fate as a Millennial Software Engineer
Let me tell you a story. 25+ years ago there was a bid in my city about how to renovate the main postal office. Architects all over the city did their bid, as requested by law, including the biggest of them all who had basically the entire local council in his pockets.

At the time I was a student, and was working as simple designer (AutoCAD) for an architect teacher who just opened his private architecture firm (6 months prior only). But the guy went to the board in question in last day, with a different bid. He proposed them bigger changes, not just renovation of exterior walls, but also design changes of interior space. Now doing that he made them go back to Ministry of Internal Affairs where the entire project instead of being billable as simple renovation, was changes and the entire budget would qualify for a superior plateau inside the Ministry levels of budgets. It jumped the qualification from (roughly estimated for today's $$$) $1M to $5M. And my boss at the time won. For next 6 months I worked my ass in AutoCAD to do all the changes and I am very proud of it even today, as it still stands as is currently.

Now here's your take of my above story. Get interested in their proposals, see what is about the projects and see if they can't actually be helped to jump to a bigger plateau of prices within government. You have the technical expertise, maybe it's time to create your relation expertise as well. They will jump through hoops and all if you bring them something to bill to something much higher their client (the defense department). Then you can really enjoy a bigger pay. Good luck and have fun.
Wow, thank you so much for taking the time to share this and your analysis, Pete! I was wondering if that is the case...

Love HackerNews and the fellow tech nerds on it!
Will also run on a Synology NAS using Docker (I do this).
Facebook Connect (September)
Someone on my team actually did that, so far I'm the only one who noticed. I privately asked him about it, we shared a laugh.

I'm no narc, tho :P

He's also got an animated background that appears from time to time of himself walking into the room, seeing himself on a call, and slowly backing back out of the room and closing the door back behind him. That one always gets a chuckle from attendants who notice it and realize it.
Oh, that seems conveivable.

I used Formik long before hooks, then later, after hooks. I remember hesitating a few times because some of the exceedingly neat pattern/syntaxes were impacted negatively by hooks.

I still "happy" with both, but my team is all quite senior and I feel for jnr teams trying to grapple with React AND hooks at the same time.
Setting this up makes much less sense than setting up a tested vpn, such as wireguard or open, or even a persistent ssh tunnel using autossh to your home rpi.

I would never allow my prod systems to be potentially exposed by an api that runs as root. (And the documentation is incorrect on that; it should run as an unprivileged user with sudo privs to only run a wrapper script that runs firewall-cmd).

This also makes little sense in the context of configuration management, which should be enforcing a static set of iptables rules.
As noted in the article I posted earlier, Ada isn't that difficult a language to compile, it's just that early Ada compiler developers assumed it was hard, so they made it hard.

The GNAT Ada compiler is OSS, so you can look it yourself. It has a hand-crafted lexer (for speed), but otherwise it's not complex. It uses recursive descent (for good error messages), but lots of compilers do that & it's not hard to understand either. (If you don't understand creating a recursive descent parser then you'll need to learn that, but it's a one-time cost to learn about that).

Ada is really easy to parse compared to C++. There aren't the backwards-compatible-with-C historical stuff that makes things complicated.

Ada has built-in support for tasks, including safe communication mechanisms for them. Many other languages today do too, so that's not such a big deal today.

Generating very good code is hard in any language. GNAT "cheats" by building on gcc, which already works on this problem. GNAT parses source code & then generates the internal structures needed for gcc to do its thing. Many language implementations parse & then pass things on to an infrastructure (gcc or LLVM), so that's not unusual.

PL/I is complicated in part because of its baroque "automatically figure out all the conversions" rules. Ada in general makes you be explicit about types, so that is a non-issue.
Adaptation will happen for sure. Here are some examples of things that we should expect to see in the coming years:

* No more building in flood-plains or low-lying coastal regions.

* Flood insurance in those areas will lose their subsidies and will become expensive.

* Areas in Florida, Louisiana, etc will become poorer as those who can afford to relocate do so.

* Farming will slowly move north; southern areas that are currently farms will dry out and become non-viable.

* Alternative energy might take the place of farming in the south. Solar farms? Wind Turbines?

* Inland cities will become more popular because of their reduced risk of climate-related events. Denver, Phoenix, Dallas, Washington, will likely all get net-positive migration.

* Conversely, the big coastal cities will become more expensive and cause people to start leaving. NY, LA, San Francisco, Boston, etc.
I'm conflicted about the decision for a few reasons:

1. The "off-the-clock" mandates came from individual managers, not from Apple corporate so Apple corporate should have addressed that immediately. Unless that's been changed recently, this could have been nipped in the bud from the start.

2. The store policies do outline that personal bags must be inspected before employees leave the store but it doesn't mention anything about whether that needs to be done after they've clocked out. I used to work with/in an Apple Store and even we were required to do this but it was always done before we clocked out for the day. I know the article says that employees were required to clock out prior to the bag check but that was not my experience.

3. Retail employees should absolutely have been paid by those managers if they were mandating this and it should never have gone to court in the first place. The decision is right but I feel like most of the costs are going to go to lawyers and that rubs me the wrong way.

4. Policies also spelled this out before employees came into the stores. If I knew I wasn't getting paid for this, I feel like I'd be less inclined to bring a bag with me. Not sure if that's right but it feels like there should have been some pushback from employees to higher-level people. It sounds like an HR issue from the get-go.
Business models which leverage network effects often subsidize things to build out a network. I wouldn't feel bad about it.

That said, this move seems 100% reasonable. I care about having a free tier. If they were killing the free tier, I'd be sad. But if I'm not paying anything, I'm okay being required to make my CI/CD pipeline efficient for my benefactor. I'd even take less than 400, gladly.
If they won, yes.

>By this measure they might as well try not paying their employees at all and letting that go to court too

If they can figure out the way to do that, they should.
I know this isn't new information, but lately I've seen a lot of people here lamenting the lack of Build Volume support in Docker, when it's been supported since Feb 2019 (albeit "experimentally").

Hopefully this can help a few of you speed up your build pipelines.
You don't need masks if you are maintaining distance of 6 feet. Masks are for situations where distance can not be maintained such as trains and stores.
Maybe I'm really way more removed from tech than I thought, but isn't there a difference?

Apple: Not paying you for mandated time spent at work for the employers benefit.

Google: Cuts temporary and contract workers because of budget problems.

What makes the first regular retail action, and the second evil? Because I would argue that both, while garbage, are, in-fact, pretty standard things that bad people do. Contract and temp employees are the first to go when times get bad. That's true across industry, correct? What am I missing?
Score matching with Langevin Sampling: a new contender to GANs
Will these changes come to aMule for Linux as well?
I honestly don't understand what he is complaining about.
To be clear, all patients received these supplemental drugs, as at the time they were considered the best standard of care. (Also to be clear: they're not anti-virals.)

Of the 75 patients in the trial, 50 people received additionally Vitamin D3 supplementation (in the form of calcifediol), and 25 did not.

Notably, though, diabetes and high blood pressure were substantially more frequent in the control group, which are HUGE risk factors. Also they didn't track BMI or obesity.

Still, check out table 2. Even with these limitations, seems powerful.
reclaiming the term a little to be closer to the broader "pertaining to public affairs", it's hard to see how public health could be anything but.

I hope for, and am prepared to pivot my career in support of, a resurgence of public health work opportunities. (which atul gawande points out in an earlier column from april or so)
> Some unions are also just in the pocket of management.

I honestly believe you on this point, but that is just so crazy that I'd be curious as to the turn of events that would turn out to the union selling out its soul so completely. Unless, of course, that was their intended goal. It just seems so antithetical to the theoretical principles of a union.
Except for all the skin cancer, right?

FWIW, I was told that when the Sun is above 45 degrees over the horizon you will accrue DNA damage, and it stacks up over your entire lifetime. There is no "reset" or "heal", it just adds up.

For that reason I'm doing my darnest best to stay in the shade between 9am and 3pm. Or covering clothing.
But with shitty stuff like this you don't want to be the company that loses the case.

Apple needs a new HR director
By going outside you are likely to spread the virus.
i wonder about the brake dust in not only cars but trains as well. maybe where trains don't decelerate much there is less pollution?