skysight-inc/HackerNews huggingface dataset:
Who Wants to Return to the Office?
Who wants to return to an office or do you prefer WFH?

If you prefer a hybrid, what % would you prefer in and out of the office?
No locks. https://twitter.com/MKBHD/status/1232708514625310721
> The simple reason is that that illustration shows how we regularize models conceptually, with hard constraints, not how we actually implement regularization, with soft constraints!

Note that these are equivalent. In particular, assuming the two problems are (for some loss "l" and regularizer "r")

minimize l(θ) + λr(θ),

and

minimize l(θ)
subject to r(θ) ≤ M,

for every λ there exists an M and for every M there exists a λ such that the resulting problems are equivalent, in the sense that a solution for one is a solution for the other. (Of course, under some fairly general regularity conditions, but these hold for all given examples). I agree that this is not often stated in many introductory texts, but the intuitive image is the same.
That's.... Something I've never even considered. Thank you for pointing that out. I wonder if the pressure difference adds to the irritation as well.
Apples & oranges.
That shouldn't matter for the factors you're describing. The number of floats between 1 and 2 is the same as the number of floats between 2^-30 and 2^-31. Until you hit denormal numbers and start overflowing or underflowing your exponent, it doesn't have any effect on precision.

If you have a process that converts floats into other formats with more restricted exponents, like human readable strings, it might matter.
Fear mongering at its best. No causation, just correlation. And the correlation is imperfect, kids who tested negative for covid also had the illness.
> I am confused.

Probably as a result of a poor vegan diet. Your brain is probably starved of the nutrients it needs.

> The animals killed in slaughterhouses... don't they also eat vegetation before they are killed?

Yes, just like in the wild? And the vegetation they eat are vegetation that can be grown in poorer quality land.

> That vegetation doesn't need to be protected from insects?

Yes. And?

> The way you described it, it sounds like a cow appears out of thin air -- poof!

No. They don't. That's my point. Vegans make it seem like their "healthy" meals appear out of nowhere. Not only is a vegan diet the worst diet for humans ( no human can survive on it in the wild ), it's the worst for the environment

> It's the people who step on insects while they water the salad who are the true monsters

Really? Not the trillions of insects/rodents/etc killed by pesticides? Not the trillions of animals killed to clear the land for farming? Not the countless animals killed to harvest the vegetation?

> But how many insects does the cow step on before it grows up and gets killed?

You are right. Cows are evil, lets have some burgers.

Frankly, if you truly care about animals, then you should be arguing for a hunter gatherer diet. That's the most environmentally friendly and most humane diet on earth. Think about it. No farming, no raising livestock. Just gathering and hunting what is available. But I highly doubt you'd advocate for that since virtue signaling vegans don't care about the environment or animals. They care about attention

It is a fact that the hunter gather lifestyle is the best for nature. Then it's the current system. And the absolute worst for animals, environment and humans is the vegan diet.

But like a typical privileged vegan, you probably never set foot on a farm or knowing anything about agriculture. Good luck with that.
As posted by someone downthread [1], there's an ongoing effort to update the OAuth 2.0 spec with changes since, lessons learned, and best practices [2], in what's currently being called OAuth 2.1. Some more rationale and resources on oauth.net [3].

[1] https://news.ycombinator.com/item?id=23083245 [2] https://tools.ietf.org/html/draft-parecki-oauth-v2-1-02 [3] https://oauth.net/2.1/
good point, i got a little bit caught up in the argument there :)
I doubt you would want to be dragging a $50k Mac Pro around the block.
Depends on what you are measuring when you say beter.
Flops, USB ports, design...
Nice approach - for cold storage what do you mean exactly? Manually rsynced backups or something? Most aws services I’ve used that have backups built in I don’t recall having cross account writability.
UV damage accounts for 80+% of visible signs of aging. The difference between daily protection with sunscreen and not compounds over years and you can find plenty of pictures illustrating the sharp divergence in end result.

You should use sunscreen with a minimum SPF of 30 every day on your face and neck. Reapply with every 2 hours of direct sun exposure, accounting for things like being in the shade or behind windows (most windows filter out a significant proportion of incoming UV). This is easily the smallest change you can make to get the greatest return on anti-aging and, reiterating the above, the difference produced can be astounding.

For purposes of vitamin D 'intake', leave the other exposed parts of your body unslathered, as long as you're not deliberately increasing exposure (e.g. hitting the beach). Easy fix.
You can't just pop them off, they're screwed on from inside the case.
Ask HN: Best to collect system metrics (Linux/C)
I'm writing a distributed system on Linux using the C language. I'd like to collect the cache misses, page faults, and so on that are indicative of bad CPU/memory/machine sympathy by Unix pid. What's the best way to do this?
This looks amazing, but the fact that it is implemented in an entirely new compiler (atop LLVM, sure) is a major turn-off. Would be more useful if it were implemented as a meta compiler instead.
Uber already issued a statement that he’s a contractor not an employee.
You accomplish a small thing, but a socially valuable thing.

You communicate that you do not approve of the behaviour and will not help. By staying, you accomplish the opposite.

It's a small voice. But a society valuable voice. Society is a number of small voices.

The reason MLKs need to exist is because fewer people raise their voice.
Art All over Front Page of the Today's Newspapers
Well here's to hoping that we ARE out of this mess even if it costs me my airbnb deposit.
Ask HN: What pays more, DevOps vs. WebDev?
My current role is "DevOps/Platform Engineer". I write a lot of glue code that hooks different Cloud services together. CI/CD, Docker, Config Mgmt, etc. It's fun and it pays the bills.

Recently, I've enjoyed learning Ruby on Rails outside of work.

I like the fact that everything is contained in a monolithic application VS tiny microservices scattered across different cloud providers. It's less mentally taxing I believe.

So I'm curious about salary/job growth of DevOps/Platform engineers VS Full Stack Web Devs.
Does one pay more than the other? Does one have more or less competition?
One particularly nasty annoyance I've discovered recently is SoundCloud, which describes in great detail how to use their API and how to register applications, except when you actually try to do that, you discover that they "temporarily" disabled application registration several years ago and never re-enabled it.
> I guess in the case of publicly traded companies, it's a kind of plutocracy? Control ultimately lies with the shareholders.

With the voting shareholders of whom are in many cases dominated by super-voting shareholders of which the control often lies specifically in the hands of a founder type. Could go in many directions but plutocracy would be very common in this conception. Interestingly, with the rise of index investing this could even be thought of as arising to a democracy in some sense.

> Dealing with bad actors and community management without any kind of hierarchy is very much an unsolved problem, probably unsolvable.

Yes, highly agreed. There is likely a broad truth regarding the justness of organizational systems and I'm very interested in exploring possible proofs of such impossibility but have yet to have the time. There are interesting tangential concepts such as Arrow's Impossibility Theorem (https://en.wikipedia.org/wiki/Arrow%27s_impossibility_theore...) in the realm of Social Choice theory.
Well I don't know what to tell you except this is how real production compilers written by experts work in practice.

https://github.com/oracle/graal/blob/4553ea71f15c9e4721565e9...

You can argue this is a bug and they shouldn't write like this, but they don't consider it a bug and they do write like this.
Wondering what that means for their new Montreal office. They erected this whole new building in a trendy area.
Indeed; lagrange multipliers are your friend! My problem initially was just the disconnect between the picture and the soft-constraint lagrange multiplier. Just couldn't figure out how that thresholded like that. :)
The original RamanPI project looked interesting but doesn't seem to have gone anywhere after several years, unless I'm mistaken. If there's any actual data from it, I couldn't find it.

On the other hand, Luc's results are drop-dead awesome: http://www.thepulsar.be/article/some-diy-raman-spectra/
RDS snapshot copying, EBS snapshot copies, S3 cross account bucket replication, etc. Write only with no entry points into that account from your other accounts. (Preferably its own locked down IAM role with MFA required)
Webinar featuring startups solving Covid-19
To help get the world excited about Silicon Valley's response to the COVID-19 crisis, Rebel Fund will be hosting a webinar "Technology Startups Solving COVID-19"

If you're working on a startup that's tackling this crisis and would like to be included, please complete this brief form: https://airtable.com/shrMH7GF3IUlvN1em

We'll choose a handful of founders to speak about their startup live on the webinar, and will also speak broadly about the startups that we're unable to feature individually. Nothing specific about your startup will be shared without your permission.
AWS AppSync offline reference architecture – powered by the Amplify DataStore
I am skeptical that the kid is only 5 years old. Certainly I've never seen a kindergartner anywhere near that large.
كوبون سنتربوينت
احصل علي افضل قسيمة باقل الاسعار و اقل التكاليف و احصل علي احدث صيحات موضة
A new Coronavirus mutant has emerged, scientists find
Creating Toon Water on the Web with PlayCanvas
No more than human veganism in nature...

No more than industrial farming and globalism.

So how about we go back to nature and live a hunter gather lifestyle? Or are you against that because you want to live a selfish and destructive vegan lifestyle just so that you can virtue signal?

How about this, go learn a thing about agriculture and how destructive that is to the environment and animals. If you truly care about the environment and animals, I guarantee you that vegans will be your #1 enemy. Good luck.
This gives me nightmares about having to retrofit GDPR requirements into a complicated system with many data stores and applications. Not only the difficulty of ensuring data is deleted but tracking data lineage so you can delete derived data too. Fun times!
Honestly, I respect any five-year-old with this much determination and drive (no pun intended). He's going places (okay that pun was intended)...
100% WFN since 2013: never want to go back.
Can we change our climate future
UBI for the USA too.

When you take ownership of all the land and leave many landless, you owe them compensation. When you reserve the right to conscript people against their will to go to war, you commit yourself to their welfare.
"Family members told troopers the boy had gotten upset with his mother at some point earlier when she wouldn't let him buy a Lamborghini"

Source: https://www.ksl.com/article/46749182/uhp-5-year-old-boy-pull...
Towards electric cars recharging themselves wirelessly
I have often wondered if masking personal images you want up on the internet but don't necessarily want tracked or liked back to you via facial recognition could be done using a neural net mask of a different object.
My first thought was... why not just wheel the computer out?

My second thought was... comes back to find computer up on cinder blocks, wheels gone.
AI-Enabled, Loyal Wingman UAV Revealed by Boeing
> I don’t think it is an exaggeration to say the amount required to learn to distribute software exceeds the amount I needed to know to write the first beta of HyperEdit! I wonder if it would have gotten off the ground if I started today.

This mirrors my feeling. It might be easier to learn to program say TypeScript or Go today than it was to learn php or C in the late 90s, but actually creating a complete program, distributing it, having it run or accessed by users is much harder than when I learned to program back then.
The officer thought the same thing apparently.

"At first, he thought the boy appeared to be 8 or 9 years old."
Show HN: Make a QR code with your domain spelled out in the code pattern
You own a factory. Your employees don't. There's a power imbalance in the employment relationship.

Most people (who don't own things like factories) need a regular, predictable, stable income to survive, and finding new employment is not always easy.

Therefore, people in most developed countries have agreed that by taking on an employee, it is contingent on the employer to provide some guarantee of stability. This is borne out by laws restricting firing in many cases, and requiring severance pay in the event.

The USA is an aberration in this regard - even the workers seem to value the rights of the employers far above the rights of the employees. I'm not sure why this is.
I made very small contributions to Yuzu (switch emulator), and there's an extremely strict anti-piracy stance to the entire dev process.

The entire dev discord is entirely anti-piracy as well. Anything linking the source code to pirated code would "taint" the whole project legally.

So while you can theoretically read those leaks on your own and use that acquired knowledge to contribute to the project, there has to be a hard stance against tainted contributions to protect the project legally.
You’re being downvoted by others but I thought that was pretty funny :)
Holy cow - I am a regular user of Firefox on Android, and I just installed Firefox Preview - it's obviously a stark improvement. The lack of noscript and darkreader kept me from trying it before, but now I'm wishing I had tried it earlier.
Any book you'd recommend to get a quick general grasp of accounting? Aside from the one referenced in the parent, which I'm probably going to buy.
I don't think that is deep enough for the mac pro to be stable front-to-back-wise, and it also only holds 60lb which is a little weak for a 40lb machine. Can't imagine it would last long if ever rolled around on carpet.
This is so wonderfully excellent. I can't wait to use it.
IMO calling someone your direct report carries with it the connotation that you also have non-direct reports. Maybe I’ve been misinterpreting but I’ve been hearing it as a subtle way someone can bring up how high they are on the org chart.
> They could even do this accidentally/nonmaliciously

Designing a development process that naturally achieves a malicious outcome is just as bad as actively making malicious decisions: https://www.zdnet.com/article/former-mozilla-exec-google-has...
Fun Fact: The first two games actually give the date as 200X.
Opening Inform (2019)
From Utah to California? He went three miles. Just more fake news.
> who is hiring now?

Facebook and Amazon, to name a couple that have contacted me in the last week.
Very cool, uncovering game development history via the source code.

Thanks for this!
in the early aughts I remember "mega" menu's were all the rage. Most have been abandoned because they were too hard to make responsive. Cool to see stripe went for it utilizing some pretty interesting CSS properties. It's cool they were able to keep it responsive down to 670px.

I also liked your analysis of how the perspective property worked in this case.
Fixed in the 2019 model.
Also https://github.com/RainwayApp/spitfire if you're making C# apps
If that was all it did, fine. It also does the suggestion list on focus rather than after you begin typing, obscuring the page. This makes click-and-copy to get the current URL a destructive action - you need to click outside of the address bar to see the page you were already on. The new "equivalent" is using the tiny ellipsis menu, a Fitt's Law fail.
Google Interview Questions for Software Engineering Roles
I looked at the asm generate from my original example and they generate very different codes, gcc applies other optimization when compiled with -O1.

I've been fighting the compiler to generate a minimal working example of the subnormals, but didn't have any success.

Some things take need to be taken in account (from the top of my head):

- Rounding. You don't want to get stuck in the same number.
- The FPU have some accumulator register that are larger than the floating point register.
- Using more register than the architecture has it not trivial because the register renaming and code reordering. The CPU might optimize in a way that the data never leaves those register.

Trying to make a mwe, I found this code:

#include <stdio.h>

int
main ()
{
double x = 5e-324;
double acc = x;

for (size_t i; i < (1ul<<46); i++) {
acc += x;

}

printf ("%e\n", acc);

return 0;
}

Runs is fraction of seconds with -O0:

gcc double.c -o double -O0

But takes forever (killed after 5 minutes) with -O1:

gcc double.c -o double -O1

I'm using gcc (Arch Linux 9.3.0-1) 9.3.0 on i7-8700

I also manage to create a code that sometimes run in 1s, but in others would take 30s. Didn't matter if I recompiled.

Floating point is hard.
I was not in on the joke.

That doesn't stop me from laughing at the hack that it is :)
Personally I don’t think this is true. The entire sales team where I work is itching to be able to travel to potential customers again. They’re not at all satisfied with Zoom as a replacement.
Very interesting. Thanks a lot! Firefox did really well, that’s cool to see.
I do. My desk is small and I don't want to put the tower on the ground/carpet.

I have a cheap $20 stand with wheels. The wheels help me move it around in case I'm cleaning the area or need to disconnect/reconnect cables (which I do frequently).
Same story in cloud. It takes less effort to write the program than to properly set up CI/CD, permissions, auth, auto-scaling, backup, monitoring, and so many more.
Maybe demand increases as the price increases?

A Veblen good is a type of luxury good for which demand increases as the price increases, in apparent contradiction of the law of demand, resulting in an upward-sloping demand curve. A higher price may make a product desirable as a status symbol in the practices of conspicuous consumption and conspicuous leisure. A product may be a Veblen good because it is a positional good, something few others can own.

https://en.wikipedia.org/wiki/Veblen_good
The subsidies only make it a less-worse bad idea. Particularly when you take into account things like predatory car leases many drivers take out.

Like, I think there are interesting broader questions here about regulation and the social safety net -- but I think we need to be clear that Uber is basically a payday loan on your car's title. People are bad at understanding depreciating assets.

Maybe if there were a stronger social safety net there would only be a labor market for drivers for whom Uber is actually a good fit? It's certainly possible.
I'd go a step further and say trying to learn all the convoluted language and terminology actually does very little to understand the benefits of functional programming in the real world and it should best be avoided.

It's, in my opinion, better to just grab a functional language, built some software with it, and learn about the benefits and disadvantages of functional languages by interacting with them.
You are saying this in a very heavily moderated online forum. So HN would be better without this censorship/deplatforming/moderation?
The USA's unemployment rate in March 2020 (4.4%) was lower than the EU's unemployment rate in January 2020 (6.2%) according to a very casual Google search. I'm curious how you're drawing this. Are you saying the EU has lower unemployment today than it did in January?
> In 2020, distributing requires learning the intricacies of certificates, code signing, provisioning profiles, hardening, notarization, .dmg creation, gatekeeper, and paying a $99 per year fee.

I had to manually create, sign, and notarize a Mac app the other day and it was total madness. It took multiple tabs of Apple documentation (new documentation, I might add, created this year because everyone complained last year about how the process was impenetrable) and back-and-forth with some seasoned Mac devs before I had something that would launch successfully on a fully updated, GateKeepered system.
I moved to Canada for a job and month later disbanded,told my job went to India and not paid my outstanding wages. So yeah pretty generous.
yes and i wouldn't have to live in a "country" run by a fascist cheeto
sorry I didn't mean to connect those sentences.

I just view Skyrim as sort of a high-point in big budget single-player games (1/2 billion dollars at launch time).
> How did we get through the Neolithic Era without sunscreen? Actually, perfectly well.

I have to suspect that this logic won't apply if you're a light skinned person in a place where the natives are all fairly dark skinned.
"It is impossible to get someone to believe something when their salary depends on them not believing it" and all that.

It's exactly what you should expect.
It's not skipping managed services but using the managed services which are relatively interchangeable: e.g. if you use AWS RDS Postgres or MySQL, ALBs, ECS containers, etc. you get the security and ops benefits, along with being able to use tools like Terraform to manage it, but if you ever had to switch you haven't built semantics into your application which aren't provably available elsewhere.

If you build the app around e.g. Lambda and DynamoDB, in contrast, you're going to have a harder time both because you need to restructure the code but also verify that what you switched to doesn't have key differences in how things operate.
This is also why I miss my f keys.
It would be interesting to know the fair market value of their next 409A valuation compared to the previous one. The reduced FMV could shift the equation and help those laid off employees exercise at least a portion of their shares when otherwise they would be unable to responsibly do so. Oh, and it would reduce taxes on vesting RSUs for remaining employees too. The worst hit may be those that receive RSUs or exercise options before the write-down, huh? Airbnb should hurry then...
> If you don't understand the concepts of C - things like pointers - then [...] you're probably not a serious programmer.

This is true, but doesn't actually require knowing (or even having heard of) C specifically.
Marx the Journalist
Yup we covered Enron.

It's pretty interesting to study the mechanism of the fraud. Enron did a lot of things, but one of the big ones was how they booked revenue. Since they were a middleman, they should have booked their cut (i.e. fees) as revenue, but rather they booked the entire purchase as revenue, drastically inflating their growth.
Religion-Based Ecommerce Successes
Same on my Pixel 3a when rendering 2,000. two.js is faster. At 1,000 they're neck and neck.
The problem is that it can be and is used in other contexts. It's a dark conversational art.
If Lamborghini wanted to boost their sales, there couldn't be a better product placement than this.

" Our cars are so amazing, even a five year old would drive by himself on a highway to buy it."
I just spent the last year or so doing WCAG2 work for a large government project. Everything you point out is something we got dinged for and had to change in the app we were building.

There was a lot of myself and the other dev saying to each other, "Really? Is this really a big deal?" Now you just see it all over the place because you have an eye for it.