jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
Amazing write-up, thank you!

For the initial benchmark:
> Over the 2 minute measured timespan, there was only 14% less CPU usage than with 2.9, tested over a number of trials.
> Also, the red dots in the timeline at the top indicate blocked frames, or frame skips.

In terms of power usage, 14% less CPU while instead using GPU for rendering probably leads to
an actual higher power usage. Also, if the frame was skipped/blocked while waiting for the GPU, this can also explain the less CPU usage (CPU was idle as it was waiting for the GPU). My point is, this was not necessarily an improvement, especially considering that frame skips are the worst that can happen.

I think a more fair comparison would have been to compare WebGL in JS vs WebGL through AssemblyScript, not Canvas2D vs WebGL in AssemblyScript, as now parts of the improvements come from moving computation from CPU to GPU, not necessarily from using WebAssembly. This is mentioned in the conclusion: "Are the performance gains of the new version fully attributable to WebAssembly? Most likely not.".

> 65% less CPU used than in 2.9

This is amazing. It would be good to also check the GPU usage delta.

> Don't use unnecessary WebWorkers

The thing about WebWorkers is that you have to be really careful with memory transfer, and use transferable objects only to avoid memory copying.

It would be also interested to see if using OffscreenCanvas can lead to better performance for this high-res image use-case.

> I could gzip them before base64-encoding them

This was a clever solution but doesn't the extra JS parsing (for the new library) and CPU usage (for decoding the file) take more time than the original solution?
Spurring investment in a country whose economy subsists almost solely on oil and coal controlled by former soviet Politburo officials and their hanger-on thugs, who then "nationalize" and otherwise stifle outside competition. Then they all hole up in their high-rise Onion domes in Moscow while the rest of the country fights for the scraps in an all-grey market economy.

Sounds like a sound business plan to me. Where do I sign?
Sorry, I deleted the parent because I replied at the wrong tier, but at any rate. Yes, with pre-fork MPM each connection gets its own process [1]. You don't need a 1:1 ratio of process to concurrency though. That's just silly.

Yes, Nginx is more resource frugal (especially RAM), but you can serve a whole lot of visitors with Apache using 30-50 MB of RAM, which isn't prohibitive, depending upon your needs.

To re-state it: I am not claiming that Apache is a better web server than Nginx, and I do think that every Apache admin should look at and understand Nginx, because it's a different beast, and it just might fit your needs better. But I talk to a lot of really ill-informed people who look at the output of `top` and think that each Apache process is consuming something crazy like 17 MB of RAM a piece. This is generating the perception that default answer is to move away from Apache to something else entirely. That's a wrong-headed way of looking at the problem.

1 - The author's suggestion to turn off keep-alive is a good one in memory restricted environments, btw. This prevents long-running connections that tie up memory.
print 'No, it is never too late to learn.';
Perhaps you're right.. Have they continued to eliminate features they didn't like in releases since 2002?

As far as I could tell, VB.NET wasn't an upgrade to VB6, it was a product introduced to smooth the transition to C#... like Lotus 1-2-3 shortcut compatibility in Excel. VB.NET simply couldn't do what I was using VB for.

It's like if you went to the hardware store and they told you that instead of selling hammers, now they sell screwdrivers. They're better because they're easier to get out, they hold better, etc. That's all fine and good.. unless you've got a truck full of nails and the roofing contract calls for the shingles to be nailed in.
If anyone is interested, I've tested bandwidth performance of all of these CDNs using a CDN speedtest here: http://cloudharmony.com/speedtest

I pay users on mechanical turk to run the speedtest and get about 1000 tests run each month from around the world. The speedtest does a single large file test and another test consisting of lots of small files downloaded concurrently like a browser would download a webpage. The results show that the Anycast CDNs (MaxCDN, CacheFly and Cotendo) generally perform better for the multiple smaller files (i.e. CSS, JS, images) due to usually lower latency, while large files generally download faster on the larger (as in more PoPs) DNS-based CDNs like Edgecast and CloudFront. Overall, the top performers based on this testing are Edgecast and CacheFly. CloudFront does well in Apac, but is only about average in the US. GoGrid or Speedyrails resells Edgecast at very reasonable pay-per-use rates.
If they're doing it now, it might be a good decision. Next time their request for IPs is denied, they will move remote access behind nat, or to a single ip and get new IPs "for free". It's a much better situation than suddenly finding out your request is denied and you can't scale down, because you've got your current ranges tightly packed. It will affect the bottom line much more in that case (deployment delays, higher prices, etc.)
Center for Freedom and Prosperity is not Cato; it is not a Cato Institute video.
Cloudfront is the CDN on top of S3. S3 is not a CDN, just a storage solution. Check out my other comment.
Yes, it's a pretty transparent advert saying "don't be afraid of the cloud, just their cloud"
As someone who is comfortable with TOTP but hasn't tried FIDO-/Yubikey-style devices, I have a few questions:

- Are drivers for this already installed as part of desktop Ubuntu 20.10/Windows 10? Any driver installation will absolutely make this a no-go for family members.

- Is additional software required for anything non-techies might reasonably want to do with this device, including resetting it, adding an entry or checking which entries are already on the device? The ideal would probably be if the device acts like a USB stick, with entries being shown as .bin/.txt files which can be manipulated in the normal ways.

- How easy is it to create a backup? The ideal (for non-techies) would probably be something like plugging a device into a PC and simply copying files across. Ditto for duplicating to another device.

- Is there anything else which would likely stop non-techies from using this for basically everything they care about?
Not a reliable news source....

http://nationalreport.net/fbi-admits-registered-motorcycle-o...

http://washingtonpost.com.co/

^ Isn't it obvious that this is a sort of fake domain? Also, if you read the article, it's obviously written by someone trying to write a bit above their literacy level in order to make it sound more 'official.' A few minutes of looking at the website suggests this entire story is fake, it appears to be poorly-written satire.
You say that as if new books and content haven't been produced since last year. If you asked a bunch of people to compile a list of their favorite video games, it's likely going to change year by year. Not to mention the crowd itself changes so you get to ask new people with different experiences.
> I’m probably trying to hard to come up with a situation but I have a gut feeling that freeing mid scope is important under certain circumstances to keep the code simple and understandable.

I explained in my previous comment that you can explicitly "drop" any value at any time in Rust, if you choose.[0] But if you don't, it will still be dropped at the end of the scope. The developer has control, but the language will watch your back.

[0]: https://doc.rust-lang.org/std/mem/fn.drop.html
And as I said, this is an option.
Oh man, I can't believe we didn't think of migrating our mature 20-service stack with complex hardware, security, and compliance requirements to App Engine. Dang it. I should've known to consult HN first!
I agree that ArgoCD is amazing. What's so beautiful is how well it integrates into K8s. Every element of ArgoCD is a CRD (custom resource definition). It's less of a piece of software (other than the interface) and more of an extension to K8s to provide Continuous Delivery. Saying ArgoCD does not require K8s is like saying you don't need Photoshop to run a Photoshop plugin.

I've used Puppet, Chef, and Ansible in production over the last decade. For me, Ansible replaced Puppet and Chef five or six years ago. For the last two years the only thing I have used Ansible for is to manage desktops and Android boxes AT HOME. Configuration Management systems like Ansible are fun and cool, but have been mostly obsoleted by the combo of Terraform and K8s. If you're on AWS, Kops can replace a lot of what Terraform does.

Kubernetes makes running services easier and more reliable. I've spent more time learning Istio that K8s itself. The learning curve of K8s is minimal compared to Drupal.
> This is why some global apps have different apps for different countries

Do you have some examples? Genuinely curious. To my knowledge, most of the major FAANG apps are single-binary.
Let's say there are a hundred screens in the app and the app is 300mb. Does it really take 3mb of source code, about 3/4 of a bible, to render one screen?

(I do understand that source code isn't what ships in the binary, but for the sake argument let's say they're 1:1 in size.)
No, but you have a compatibility mode.

And the 3.0 version still exist.
Cost of living is lower too. Prices in USA are easily 10 times higher than in other parts of the world.
love scheduling theory
> The data from this study doesn't support your statement.

I think you're wrong.

> The increased energy intake during the ultra-processed diet resulted from consuming greater quantities of carbohydrate (280 ± 54 kcal/day; p < 0.0001) and fat (230 ± 53 kcal/day; p = 0.0004), but not protein ( 2 ± 12 kcal/day; p = 0.85) (Figure 2B). The remarkable stability of absolute protein intake between the diets, along with the slight reduction in overall protein provided in the ultra-processed versus the unprocessed diet (14% versus 15.6% of calories, respectively) (Table 1), suggests that the protein leverage hypothesis could partially explain the increase in energy intake with the ultra-processed diet in an attempt to maintain a constant protein intake (Martı´nez Steele et al., 2018; Simpson and Raubenheimer, 2005).

https://www.cell.com/cell-metabolism/pdf/S1550-4131(19)30248...

Yes, they matched the meals, but the meals weren't made of homogenous goo. Participants could eat as much as they wanted of the parts they wanted.
I disagree. If you're not doing hardware-level hacking, a cloud IDE like Cloud9 (https://c9.io) beats any fragile client-side workspace I've ever used.
> From those datapoints, I'm supposed to conclude that deflationary at 25/700 is the 'natural' state of things, rather than exceptional, and additionally that it's a good place to be?

I'm not sure what you're supposed to conclude. It appears, from my rough estimation, that as economies develop (as Japan's did, as the rest of the first world is currently) they'll reach an economic equilibrium which appears to be deflationary in nature. If you continue to become more and more productive, and there are only so many consumers and so much to consume in they physical world, prices should go down.
>I mused about what a damning report this must be

I think you mean darning.
Well, for the academic insuccess of men I have an easy explanation: nurture.

Look at any movie, telefilm, sit-com ecc where the main character is a youg boy.
He's always a good-looking,athletic, funny,street-smart guy. And at school sucks.

The smart guys are always nerds, losers.

The girls are always pretty, shy, serious and very good at school.

I think that for a school boy there is a lot of social pressure to be good in sports, get many girls and be the leader of your class.
They can't afford to lose time studying.

For the "good" girls there is social pressure to be more serious and academically good.
Wow, Twitter just picked up an awesome tech team, and the services are nice also. I don't use DabbleDB very much (only a free account, years ago), but it was very well done. Avi's work and writing on Seaside is also great stuff.
off topic, but speaking of movie displays:
This has always bothered me, as both a hacker, and a filmaker: Why do we focus so much an 16:9, 16:10 is mathematically superior to 16:9 [1], why don't we make movies in 16:10?

[1]http://en.wikipedia.org/wiki/Golden_ratio
I've had a number of really negative experiences with MS evangelist - I generally see them as a sales tool, especially on the dev-side of things (I can't think of a single good developer that I know who would want to become an evangelist).

Anyways, in my ever-lasting cynicism, this is what I got from the blog post:

-There's a bug in IE

-IE bugs are hard to debug

-There's a bug with MSDN downloads

-It takes "a lot of help" for an insider to figure out how to report an issue and identify the people to report it to

-It took 20+ days, and numerous attempts to get help from Microsoft

-When the IE team says its "tracking it", you shouldn't expect any resolution
It's easier and cheaper. Apple's higher-margin prices allow them to spend more on things like design, usability and really great marketing.

If you're selling commodity products, the best you can do is make it difficult to compare to the other products. Go mattress shopping, you'll see what I'm talking about.
The argument as laid out may in fact be misleading, but the issue of fragmentation is not just screen resolution and memory differences, either.

It's at least also:

- display aspect ratio (far more important than resolution - worst case scenario with a "different resolution but same ratio" situation is that some things look more fuzzy than they ought to)

- OLED vs LCD (colors can look substantially different)

- hardware keyboard or not

- hardware buttons: which ones are available and where they are placed

- other hardware control availability / location / responsiveness - trackballs, non-screen touchpanels, etc

- sensor availability

- sensor quality: touch screen resolution and stability of tracking vary considerably

- how quickly OS upgrades are made available per device / vendor / carrier and how quickly they spread across the user population

- CPU speed

- GPU speed and capabilities

- different base applications installed with differing capabilities and UI appearance / feel

Some of these of course exist in iOS world too, though not a few of the most important ones and on many of the less important, there is much less variation.

One last note on iPad: few apps should have the same UI on phone-sized devices as they have on tablet-sized devices; if one is to include this as a count against iOS fragmentation, one has to also keep in mind that iOS device displays only come in 2 (radically different) physical sizes / aspect ratios whereas Android is intended to run on devices scaling from smaller screens than iPhone to larger than the iPad and everything in between. Which leads me to a question: iOS has a system-wide attribute that specifies whether the type of device is a "phone" or a "tablet"; is there a similar concept in Android?
An the lawsuits are there because people recognized that if the place were left as it were, discrimination would persist.
Learn to manage other developers.

If you do that well (and it's much harder than programming) then your upper salary is unbound.
Darn you're right :)

To defend myself (feebly) I can say that you can max out the after-tax 401(k) to the $49k a year limit, then fund a traditional IRA with $5k per year, then roll it over to Roth IRA after quitting your job (or even right away, if your employer's 401(k) plan supports it). That way $162k out of $250k will be tax-sheltered. (Of course, you can't take the money in Roth IRA to Vegas, but as I said with carefully tuned investments you can have the same risk-reward line-up). So you will only own taxes on $264k so the taxes will be in the neighborhood of $100k. So I guess you have to save a bit more than $250k or accept a bit worse odds.

One problem with money in Roth IRA, of course, is that you cannot take the earnings out without paying the tax and penalty, until you're 65. But if you plan to use your $1M to live modestly off of it (as opposed to buying a tropical island), then you can get around this by starting a SEPP program.
The main danger with using the mod operator is that you can get an off-by-one if you aren't in the habit of using it and forget the exact definition. If that's in doubt, rolling your own thing with a division or a while/if makes for a stronger guarantee of success on the first try.

In an interview you could explain your reasoning for such a detour as well, which might work out better than just "knowing the answer."
I didn't like it. Rowe has a disingenuously self-deprecating speaking style, where he says again and again how much he "got wrong", but the subtext is how smart he is for realizing certain things that the rest of us supposedly haven't. And his big insight is that for every Steve Jobs, we need a bunch of workers to actually build the iPods? Wow, golly.

I also hate the verbal tic he demonstrates, which is becoming depressingly common, of saying "right" after every few sentences in a story. For example: "I was working on a crab boat, right? And this big wave comes over the side, right?" Etc. It's a lazy way of trying to psychologically condition the audience into agreeing with you without actually doing the hard rhetorical work of convincing them. Drives me nuts.
non-competes don't hold up well in court.
A petition seems sort of useful, at least to get the ball rolling, I guess. It would be nice to have Google put more people on it.

But it seems worthwhile to note that if you don't like Chrome's accessibility, you can do something about it yourself. Google Chrome is just a corporate-branded release of Chromium, an open-source project that anyone can contribute to - and Chromium has had a call out to work on accessibility for a while now:

http://www.chromium.org/developers/design-documents/accessib...

Nothing like diving in and getting our hands dirty, eh?
You're missing a few things:

1. There is a range between being a cold, distant disciplinarian and trying to be your child's 'BFF.'

2. Connecting with your kids means forming a relationship with them, it does not define what that relationship is supposed to be.

3. Those first 10-12 years are the more formative years of your child's life. Those are the years where just being present in your child's life can make the greatest impact (vs not being present in your child's life).
I almost guarantee that when you need to make a change to your home server in 10 years, docker compose will no longer be able to pull any images from docker hub without being upgraded, and upon upgrading you'll find all your config is now invalid and no longer supported...
VR glasses also. I love the Quest despite it being half a kilo and barely staying put witout holding it.

People have shown time and again they will adopt something they love, no matter how grotesquely bulky, like brick cellphones
You do grow up with them though.

I'm pretty convinced that I have ADHD, will be seeing what I can do about it when the doctors are less stressed, one of the things that struck me recently is that almost everybody I meet causes me to think "wow, they're organised" - even to the point where someone who I know very well even has the piece of paper to prove he has ADHD is like a scheduling algorithm compared to me.
"The ants, queen or regular worker, are all complete organisms, so the explanation falls short."

Yes, but they are not "individuals" as we commonly reference.

It's loose, but the best analogy for an human individual is the queen ant/bee/termite and the entire hive, or nest - with all the workers, etc. - are part of that queens own "extended phenotype":

"After the gene-centered view of evolution was developed in the mid 1970s, non-reproductive individuals were seen as an extended phenotype of the genes, which are the primary beneficiaries of natural selection."[1]

An individual worker ant is, to the queen, better thought of as one of your hairs or one of your tastebuds.

[1] https://en.wikipedia.org/wiki/Eusociality#Paradox
> I'm giving the argument to remove the income tax, not to remove government completely.

Then maybe you shouldn't be calling other people "statists". Especially you shouldn't be using it as a put-down or a condescending dismissal.

> Before the income tax & before the FED, the world had unmatched growth.

It also had unmatched financial crises every decade or so. (Yeah, I know, we had the Great Depression with the Fed existing. We also had the mess in 2008. That's one and a half in a hundred years. That's a far cry from where we were without the Fed.) So maybe don't trumpet how wonderful everything was pre-1913, because it had a downside that destroyed a lot of people.
I honestly think this is great. We can precisely write, but cannot precisely voice. Auditory communication through mouth and ears is low bandwidth, has high dependency over who has more testosterone, energy, enthusiasm, listening skills, attention, retention and record, etc. Writing has a permanent record, you can take time to form your opinions and respectfully argue.

What are the downsides? I think immediate feedback, and fast back and forth in voice communication is what I miss the most. And ofcourse, bonding with people.
No, GP means, literally, who put the cage policy in place. It was not the Trump administration.

People are only cross about this because it's Trump.
More like, if it's that A and B are collectively sufficient to guarantee C, and A and B are true, then you know, visually, that C is proven. If one of A or B are contested and (validly) claimed false, then the truth/proof state propagates and you know, visually, that C is not proven.

And then yes, C can be used to support something else, so you can chain multiple together. Kialo - and really, the whole warrant/claim method of argument-mapping - doesn't have the concept of truth (or sufficiency, or necessity) built into the machinery.

It goes deeper than that, there's a distinction between syntax and semantics (or form and content) - all of these design decisions are driving exactly how the project evolves.
Say you put a single type Foo in its own package to ensure that nothing ever — intentionally or unintentionally — touches its unexported (private) fields.

If "Dot Imports" are frowned upon, it means that your other code using that type is always going to have to refer to it as the stuttering "foo.Foo" rather than "Foo". That's not great.