skysight-inc/HackerNews huggingface dataset:
I'm so confused about the heat. The idea that 2D engines are orders of magnitude less complex than 3D engines is ubiquitous and frequently stated by many reputable game devs. Complex game engines will obviously have more complex code. Factorio in particular is certainly pushing the envelope there - with or without a 3rd party rendering engine. A better example would be 2D RPGs.
Research: Impact of Work from Home on Analytics Functions
Ethically, I don't see how this is much different from hiring someone at the lowest possible wage, then using the hours and vital years of their lives to enrich oneself. In the end, one either cares as much about the welfare of those in one's employ, or just uses them as tools in some Pyrrhic victory.
If you're using a Logitech Receiver (small USB type A RF dongle [0]) plugged into a USB-C hub, interference might be causing your problems[1]. I used to have a setup like that, but after switching to Apple's USB-C adapters (USB-C to USB type A and/or USB-C to HDMI+USB type A) solved problems. Those adapters feature a short cable between the plug / ports, I wonder that's because of the interference?

[0]: https://www.logitech.com/en-us/product/unifying-receiver-usb
[1]: https://www.intel.com/content/www/us/en/products/docs/io/uni...
It's a bit like that with every friend that you make. Most people lose contact with firends they made in school. Even family ties seems to be not that strong after all. It's all a matter of context.

That being said, what do you actully expect when spending time with work peers? It's supposed to be just relax after work. If it does not "spark joy" then just don't do it. If it does, then do not expect any other value. Friendship is not about how much you can get from others.
Either if it's for performance, battery life or cost reasons, it wouldn't really make sense:

a) performance wise, they move would be driven by having a better performing A chip

b) if they aimed at a 15W part battery life would suffer. 6W parts don't deliver good performance.

c) for cost, they'd have to buy the intel processor, and the infrastructure to support it (socket, chipset, heatsink, etc)

Specially for (c), I don't think either Intel would accept selling chips as co-processors (it'd be like admitting their processors aren't good enough to be main processors), nor Apple would put itlsef in a position to adjust the internals of their computers just to acomodate something which they are trying to get away from.
This might sound good as a sound bite but offers no thought behind it. One thing that is clear is that we cannot go to extremes on either end.

On one side - we cannot stop the economy to contain the virus, because that would turn into every person having to grow their own food and carry their own water with a bucket from the river. Many many people would also die.

On the other side - we also cannot ignore the pandemic and carry as if nothing is happening because that would over-burden the hospitals to the point that they will not be able to treat people with other issues. Many many people would die as well.

So there indeed has to be a balance. And the question "what price are we willing to pay for saving a life" seems to be on point.
No, not in vain. If you enjoy it, it's for enjoyment. Just don't think they are your close friends. They are working with you and are nice to you because it's more enjoyable for everyone involved. Be nice to them too, but just don't expect big favors.
Yes. That's a very fair point. Most engines I've seen try to implement a general physics model that can handle every genre of games, and there's a lot to be gained by not using that and building something more focused on what you actually need.
Retention offers: yeah. I've been given retention offers twice, and the second time round I explicitly said "I don't want money, I want you to change the way this team and product is managed, like the previous times we discussed this, but that's not going to happen, is it?"

I ended up getting much more money, less responsibility, a nicer less open plan office, and a less dysfunctional process.

Risk: yes, sometimes you just have to go full Light Brigade and charge the guns. Generally the worst possible consequence is you lose your job and everyone forgets it, but be aware that sometimes the consequences are worse and your chances of landing on your feet depend on your privilege level. You have no right to judge people who don't do this.
I‘d like to have an example for this: „In the end, bureaucracies can be at least as insane and deadly as any psychopath warlord kings with little fiefdoms raiding their neighbors.“ as I have a hard time to find one myself.
China Orders TikTok Owner ByteDance to Remove Work-from-Home App
So I take it this article: https://www.euronews.com/2020/04/21/analysis-is-sweden-right...

is either incorrect or the policy was changed very recently ?

This is not a country divided. And we should also be clear that this is not a country that has done nothing. It has banned large gatherings, closed high schools and universities and told elderly people to self-isolate.

But restaurants, bars, primary schools and most businesses are still open.

Which directly contradicts your statement. (Your statement says that bars are closed while this article claims they are open.)
That was probably the last PPC they did and was probably ready when Apple made the announcement. It just wasn't worth for IBM to invest in workstation-class PowerPC chips with laptop power envelopes. The only other use for PowerPCs, from their PoV, was their own workstations and those could use the higher end POWER chips.
It's great you emphasise it and I would generalise it even further. Any perf optimisation should be considered after reliably measuring (controlling for hot/cold cache, overall system load among others) its effect, instead of blindly adding unsafe everywhere.

Similar to people who sprinkle their Cpp code with inline thinking it will force the compiler to inline.

In fact, sometimes you can improve perf by adding an additional safe operation to your code!
http://troubles.md/rust-optimization/#assert-conditions-befo...

The key takeaway from all perf optimisation articles to me is the methodology used for realiably verifying the effect of suggested changes. It's awesome to see the author include failed experiments.
It depends. There exist the diverse looking, but sterile garden type (who do use pesticides and insectizides of all sorts to keep it sterile). But this is increasingly changing. All the garden magazines are full of it, how to make your garden more insect friendly, insect hotels, leave patches of grass uncut, flowers that have nectar for insects and not just pretty flowers. And people follow it, since years, as far as I experienced.

But even the most sterile looking garden with bushes and trees is far more insect friendly, than a dead field. Because tons of insects are living in the bushes and trees alone. A big tree can feed colonies of bees, when blooming, etc.

But I am of course also with you, that the fields need to get more small, with bushes between them and if possible, organic.
Fresh vegetables are great but yes, mostly water. Beans, rice, lentils, grains (in dry form) cost less per kg than chicken, don't need refrigeration and will make many more meals.
> Does any business operate this way, including the one you work at? That is, selling things to the people who need it most for the amount that "minimizes default" (ie lowest price).

No. But then again, being a businessman isn't seen as unqualified virtue in many places in the world. You'll also note that "selling things to the people who need it most for the lowest price" is literally the justification given for why free and competitive markets are good. It's the goal societies want to achieve. In this, competitive pressure is a hack to force the businesses to reduce prices.
> It’s pretty astounding

It's not astounding at all: the (Catholic) Church very much absorbed quite a lot of Aristotle's meta-physics. He was simply called "The Philosopher" in many writings.

And given that "Western values" are basically Christian values:

* https://www.theguardian.com/books/2019/nov/21/dominion-makin...

* https://historyforatheists.com/2020/01/tom-holland-dominion/

it's no surprise then that you can draw a straight line from the Ancient Greeks to the modern day.
He was on the beach, highly likely that the cable would be going into the sea
> stringsAsFactors = FALSE is now default breaking a lot of packages

I know this is popular on the surface, but it's going to break so many "reproducible" analyses from manuscripts and scientific studies.
I feel the same way. But then it is kind of crazy to me that I am the result of a biological process that's millions of years old, and the untold suffering of that process no doubt dwarfs my own. My immediate circumstances are similar to yours, I've made two attempts on my life, the most recent one being three weeks ago after being isolated in lockdown for a month. A&E were called and the paramedics were in full hazmat, I felt guilty for wasting their time and resources. I don't really know if I will survive this to be honest, I know that despite the loneliness and suffering there are things that really make my life worthwhile, but then at the same time other thoughts will interrupt and tell me to end it.

Modern life can be really lonely, and sometimes it's hard to look around and see all the successful and beautiful people together while you are left alone, but we also have more freedom than our ancestors, more that we can do, we can travel the world if we choose to, there are things to live for it's just that sometimes it's hard to see clearly.

Sorry if this is a bit incoherent... I hope this helps and maybe things will improve for you
Finally, a post that isn't all hunky dory. I'm at the bottom quartile at the moment, so I'm happy to take any reasonable advice that doesn't sound like: study algorithms and get into Google.

Ok, I studied algorithms, got rejected at the paper round. Now what? The tough part isn't passing the interview, it's getting a chance in the first place.

This advice is better. Some points that really stood out to me and that I'll take to heart:

> But if you have an amazing manager at a shit company you’ll still have a shit time.

> “Take any role, at any pay, on a rocketship and everything will work out” is only sort of true.

With that said, a lot of the advice is quite US-centric. Not many Dutch startups would offer stock options as far as I know, for example.
Twitter blocks 5G conspiracy theorists
Also I suppose if you are suffering through a pandemic and are suicidal your first thought would probably be hopefully it will all be over soon and I don't have to do anything but be unlucky.
It seems to be exactly what would be intended. To get people to move to better platforms or improve the current one.
> Payday lenders fill this gap. Everyone hates them as well.

That's because they offer a very dangerous financial tool, and at the same time they work hard to put this tool in hands of people who can't handle it safely. In this way, they make money off destroying people.

> Everyone hates student loans and they fill a different gap.

The problem with student loans is on the higher level in the system; their existence causes runaway cost increase of higher education.
Yes. That's why none of my friends are neo-nazis, for example.
According to https://covid19info.live/sweden/ Sweden had 877 covid-19 deaths week 13 to 15, and according to https://www.worldometers.info/coronavirus/country/sweden/ Sweden had 878 covid-19 deaths week 13 to 15.

Where did you get your 500 number from?
My favorite read on pizza:
http://www.varasanos.com/PizzaRecipe.htm
A game engine is really a project that scales really well with the size of the team. There are a monumental number of things you could put into one so they will swallow any number of engineers you throw at them.

For comparisons you have PICO-8 which is an intentionally super limited but fully integrated game engine made by one person.

Then you have Unity which is a very featureful engine, ported to every commercial platform with a vast toolset and side offerings which arguably has lost sight of a bunch of the game engine part of things because they have the capability to spin so many plates and a business incentive to drive revenue by getting people to sign up to extra services.
Well maybe it's due to mine being gen 1 AirPods ️?
Did you learn R for your own fun or just to upgrade your skill set and get a job?
Most of it is reasonable, if already often quoted advice. But I did not see what does it have to do with the title: "for people with bad luck"
> Oh yes, the random programmer who know public health better than actual public health experts.

Apparently yes, given that it's a bit of a smoking gun. Namely because:

> the Huanan Seafood Market was suspected as a source of the virus but it could have come from somewhere else too.

It was (to my knowledge) the only suspected source for quite a while (up until the later discovery that the currently-known "patient zero" had no connection to it, and even then it's still considered ground zero for the outbreak). If there was any indication that "it could have come from somewhere else", and that "somewhere else" is evidently a place where even fewer patients in common visited ("evidently" because if it was a common factor it would've been mentioned instead of or alongside the seafood market, and yet... no such location was mentioned), then that serves as even stronger evidence that it's somehow spreading between humans, even if the mechanism is unknown.

If even a "random programmer" on Hacker News can point this out, then I strongly suspect there were a number of doctors and nurses and other personnel on the front lines who could have and did point this out, too.

Plus, China knew as early as 31 December that the "novel coronavirus" was related to SARS (leaking that info is what got Dr. Li Wenliang in trouble), which was already known to spread human-to-human. Seems like "it looks like SARS and probably has similar spreading mechanisms" would be a reasonable assumption when information is limited: better safe than sorry (and in this case, 180,000+ deaths later, "sorry" indeed). I obviously don't blame the WHO for the entirety of that (or even necessarily China; my government dragged its feet, too, like most governments), but the WHO is certainly not blameless, either, and that it continues to spread misinformation like how not everyone should be wearing masks doesn't leave a whole lot of room for me to give them the benefit of the doubt.
As we saw with CPU's and VM's those sandboxing schemes are never secure. Eg eBPF arrays can be abused for cache attacks. The white paper and security guarantees never thought of that.
The secure solution is to disable it, as well as hyperthreading. And use a secure, non-backdoored CPU.
Here, here! I love Xubuntu. Of all the lighter flavors like Kubuntu, Lubuntu, Mint/xfce, Xubuntu has been the one I had the best experience setting up for others on old thinkpads. And lately my go-to distro.
See also the recent post on Aristotle's Nicomachean Ethics:

* https://news.ycombinator.com/item?id=22965049

Is it Philosophy Day on HN or something? :)
I think part of the trouble is, our society is built on the radical decentralization of information control during the enlightenment. Our most basic propaganda is based around the idea that we are the successful society because we allow more decentralised information control. The central powers who would like to now have more control over our information are also the primary sources of propaganda which justifies our way of life by saying everyone can make up their own mind.

If I had the skills I would build a strategy game that deals with the new reality - that tribes are nonlocal but often ideologically quite cohesive. Exploring the idea that one's ideological affiliations, rather than one's government or search engine, controls one's thought seems like it would lend itself to the medium rather well.
Popups and videos that don't load. UX failzone.
There is a global option controlling this. So if anyones analysis is broken, they can still set options(stringsAsFactors=TRUE).

Furthermore the functions that are inherently about factors (like expand.grid and as.data.frame.table) still use stringsAsFactors=TRUE.
"Bars and restaurants are closed" is directly untrue. They are open as normal, but are encouraged to follow a 'distance-between-tables' guideline.

https://www.thelocal.se/20200420/coronavirus-will-sweden-eve...
Interesting. What do you use it for in your daily work?
Display Results in Prolog
if twol then twolegs.
if twoh then twohands
if tenf then tenfingers.
if twof then twofeets.
if smallh then smallhair.
if fourlegs and nohands and nofingers and fourfeets and doghair then dog.
if twolegs and twohands and tenfingers and twofeets and smallhair then person.
if fourlegs and nohands and nofingers and fourfeets and doghair then dog.
if twolegs and twohands and tenfingers and twofeets and smallhair then person.

% forward chaining
forward :-
new_derived_fact(P),!,
write('solution: '),writeln(P),
assert(derived_fact(P)),
forward ;
writeln('No more facts').
new_derived_fact(P) :-
if Cond then P,
\+ fact(P),
\+ derived_fact(P),
truth(Cond).
truth(P) :-
fact(P) ;
derived_fact(P).
truth(P1 and P2) :-
truth(P1),
truth(P2).
truth(P1 or P2) :-
truth(P1) ;
truth(P2).

%database
solution(person, addressx, idp1, house).
solution(person, addressy, idp2, house).
solution(person, addressz, idp3, house).
solution(dog, dogaddressx, dogid1, doghouse).
solution(dog, dogaddressy, dogid2, doghouse).

I have this code in prolog using forward chaining. How to display the result "person" like "address, id, house" from datababase??
To do a release, create a new serverless function with the new code. Initially, no traffic routes to it, all traffic goes to the old function. Change things so 1% of traffic goes to the new function, and see if it looks okay. If it does, make that 2%, then 3%, or 4%, or 10%, etc. Once it's 100%, delete the old serverless function.

The provider hosting your serverless functions might not give you that much control over routing. In that case, you would need to write another serverless function which sits in front of your serverless functions and does the routing. If you ever need to update that, well, then you have to cross your fingers.
It more like lots of genes affect apple flavor, so the chances of getting something viable from a non-clone is slim.
Further to that very few engines are developing their own general purpose physics solver and are using middleware. Bullet, PhysX and Box2D are the most popular.

Roblox is the only really big engine company I can think of that actually develops their own physics tech (because they started off doing it).
N.b. CUP has made an upcoming Elements book, “Aquinas’ Ethics”, available for free[0] until mid-May. (Aquinas draws a great deal from the Nicomachean Ethics.)

[0] https://www.cambridge.org/core/elements/aquinass-ethics/6E12...
Male infertility treatment though targeting an enzyme
I need to share any subset o values.

Otherwise there's no space for dialogue. I believe this is the norm.
Strapi, hasura, fauna etc comes to mind.
Web heads urged by browser devs to embrace modern CSS
> Please note that the activities contained here in are intended for children ages seven and above. Adult supervision is recommended for all projects.

Explain it to the adults, so they can make sure the children will get a success?
You can save the life of a child for like $3k so the life of a diseased old person should probably be worth either that or lower.
I've been using Hugo, but the template syntax is a pain to learn/get right...
Perhaps this is an idea for a bookmarklet: for any Wikipedia article, click on the bookmarklet and get the HN comments related to it.
Netherlands commits to Free Software by default
> Users with AMD graphics may experience significant graphical issues

Then, in the bug (https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video...):

> This only happens when the secondary external display is operating at a different pixel width to the internal.

Isn't this a fairly common usecase? My whole company works on high-density laptop displays connected to cheaper 1080p displays. It surprised me to see this kind of bug in a final Xubuntu release, although the bug report says the issue is in the AMD driver.

*

I love Xubuntu, I´ve always appreciated its stability, simplicity and flexibility. It has gotten a bit behind in features, when I use it now I miss a good Exposé-like feature, but it´s not that big of a deal.

The thing that keeps me on Mac or Windows most of the time is solid support for high density displays. I can´t get Linux to look quite as good as Windows, and nowhere as good as MacOS, on a 4k display or retina display, without having to go very deep into experimental features and patches... and I don´t want to do that.

Have you noticed that experience improving lately?
Perhaps a better source in English, the EU policy advisory report from the European Academies Science Advisory Council from 2015 on Ecosystem services, agriculture and neonicotinoids.

https://easac.eu/fileadmin/Reports/Easac_15_ES_web_complete_...

Most neonicotinoids are now banned for outdoor use in the EU:
https://ec.europa.eu/food/plant/pesticides/approval_active_s...
My experience has been this idea has largely been a myth pushed in conjunction with the community reinvestment act and the financial crisis, When. Looking at numbers, most of the subprime mortgages were originated by institutions not subject to the CRA and we had decades of banks complying with the CRA without giving out subprime loans. The financial crisis was largely a system repackaging loans they knew were bad and then claiming falsely they were good using voodoo math. And the CRA didn’t force them to do that.
On a similar note: some people seem to think immutable is slower than mutable. I have seen this many times, especially in my language of choice (scheme). A lot of people coming from python or c write loops using (while ...) and mutation, which in most schemes (and in many dynamic languages) is a nice way to get boxing penalties. Instead, a recursive function is almost always preferred. I have since since long preferred recursion.

Which (not strictly relevant) leads me to my biggest gripe (which is pretty small) with rust. I like rust. I really do. But a couple of times a week I have to use loop when tail recursion would have been a lot clearer. In debug builds , rust disables sibling recursion (a less general form of tail recursion) which means I have to either use a trampoline macro (simple and slow) or some kind of syntax rewriting macros (complex and fast). Neither seem like a good idea.

Should I just accept the ugliness of loop+mutation or is there a nice alternative?
I typically buy my dough from Trader Joe's but what to start doing it myself. There's a recipe in the article, but anyone else have a goto recipe they love?