HN user

wyuenho

2,022 karma

If you are good at something never do it for free (except for the first time).

Posts51
Comments612
View on HN
www.cl.cam.ac.uk 1y ago

How the Afghan Girl Was Identified by Her Iris Patterns

wyuenho
34pts2
www.thedrive.com 4y ago

China Acquiring New Weapons Five Times Faster Than U.S. Warns Top Official

wyuenho
3pts1
go101.org 4y ago

The Status Quo of Go Custom Generics

wyuenho
2pts0
books.google.com 4y ago

609 Pages of Horse Shit

wyuenho
2pts1
www.bbc.co.uk 4y ago

Ukraine war: Ben Wallace and Priti Patel targeted by hoax calls

wyuenho
3pts0
github.com 4y ago

Select, put and delete data from JSON, TOML, YAML, XML and CSV files

wyuenho
200pts31
www.spiegel.de 4y ago

Open Letter It's Time to Invite Russia to Join NATO (2010)

wyuenho
1pts1
arstechnica.com 4y ago

Booby-trapped sites delivered potent new backdoor trojan to macOS users

wyuenho
5pts0
github.com 4y ago

Step-ca private CA and and ACME server

wyuenho
3pts0
www.bbc.com 4y ago

What does being a 'cultural fit' mean?

wyuenho
2pts0
www.justice.gov 5y ago

Four Chinese Nationals Working with the Ministry of State Security Indictment

wyuenho
7pts1
www.wired.com 5y ago

Researchers Levitated a Small Tray Using Nothing but Light

wyuenho
1pts0
owlink.org 5y ago

Open Wireless Link

wyuenho
5pts0
www.usenix.org 5y ago

Disrupting Continuity of Apple's Wireless Ecosystem Security

wyuenho
3pts0
www.reuters.com 5y ago

China considering new bourse to attract overseas-listed firms

wyuenho
1pts0
hackernoon.com 5y ago

Sorting arrow confusion in data tables (2017)

wyuenho
2pts0
www.lesswrong.com 5y ago

Crocker's Rules

wyuenho
2pts0
www.nytimes.com 5y ago

They Stormed the Capitol. Their Apps Tracked Them

wyuenho
4pts0
arxiv.org 5y ago

Automated Symbolic Verification of Telegram's MTProto 2.0

wyuenho
64pts53
www.businessinsider.com 5y ago

Google's ex-CEO Eric Schmidt says the internet will split in two by 2028 (2018)

wyuenho
3pts2
www.bloomberg.com 5y ago

Arm Accuses China Venture Ex-CEO of Blocking Its Business

wyuenho
3pts1
www.theatlantic.com 6y ago

Hong Kong Did It

wyuenho
5pts0
www.youtube.com 6y ago

The Silent Invader (Westinghouse Broadcasting, 1957)

wyuenho
1pts0
en.wikipedia.org 8y ago

Chesterton's fence

wyuenho
1pts0
www.vulture.com 8y ago

[Spoiler Alert] Let’s Talk About the Ending of Annihilation

wyuenho
1pts0
www.theatlantic.com 8y ago

The More Gender Equality, the Fewer Women in STEM

wyuenho
129pts182
www.edge.org 8y ago

The Science of Gender and Science Pinker vs. Spelke a Debate (2005)

wyuenho
1pts0
managingbias.fb.com 8y ago

Managing Unconscious Bias

wyuenho
2pts0
www.theguardian.com 9y ago

Liu Xiaobo, Nobel laureate and political prisoner, dies at 61 in Chinese custody

wyuenho
104pts42
jimpravetz.com 10y ago

In Defense of COS, or Why I Love JSON and Hate XML

wyuenho
1pts0

HN is full of noobs loudly proclaiming what they don't know is true these days. Ubiquitous HTTPS does not change the nature of private browser caches, and only nullify the proxy related cache headers if the origin encrypts traffic all the way to the client, which is quite rare in real life, unless we are merely talking about a dude serving this blog from his basement computer.

In general, your answer depends on where the TLS cert terminates. In most situation a CDN or a reverse proxy is involved, and the TLC cert you use to encrypt traffic from the origin to the proxy is different from the one the proxy uses to encrypt traffic from it to the browser. Whenever a MITM intermediary is involved, you should read the intermediary's documentation. These usually include Cloudflare, AWS Cloudfront, Akamai etc. With with exceptions, like the Vary header as pointed out elsewhere, these vendors largely follow HTTP caching semantics for proxy caches.

Oh you mean something like active file awareness and selection context? This code seems quite well architected and has websockets well integrated, both features sound like a lunch break’s worth of work if you file a ticket. Other than that, I couldn’t care less about how these capabilities are implemented or whether /ide works.

I swear if I see another "SEO" guy or some rando web dev who joined the workforce after Covid complaining about SPAs by misrepresenting it, I'm gonna explode.

As someone who's been developing web apps since the 2000s, let me tell you the origin of SPA has few things to do with the "false promise of SPAs" he listed, but largely due to companies in the late 2000/early 2010s wanting to go "mobile first". This usually meant they still had a desktop second somewhere, which implied they were architecting the entire system to completely separate the frontends and the backend.

Before, what web devs meant by frontend was essentially server-side rendered HTML templates with perhaps a little bit of jQuery running on the client-side. Now, since mobile and desktop web apps are to share some business logic and the database somehow, people had to rediscover REST by reading Roy Fielding's Phd dissertation that inspired the original HTTP. This meant now every company was moving to service-oriented architecture and started exposing their backend APIs onto the open internet so their mobile apps and SPAs running in the browser can share the same APIs. This was a cost saving measure.

This period also coincided with the steady decline of full-stack webapp frameworks like Ruby on Rails and Django because for a couple of years, these frameworks had no good ways to support an API only applications. Django hadn't even reached 1.0 back then. This was a time when NodeJS was really starting to pick up momentum. Once people had started being more comfortable with JS on the server-side, lots of people suddenly realized they could push a lot of business logic to increasing powerful desktop browsers and phones, application hosts people now call "edge devices".

This is the true impetus of SPA. How is CSS going to kill this need?

Most developers weren’t deploying simple stateless functions. They were building full-stack apps: apps that talk to a database, that almost always is located in a single region.

I wonder if this is true in general for most people on serverless these days. If so, whether this is what the original intention of this movement and whether these people just don't want to deal with docker/k8s.

An equally important but opposite problem with pipes getting stuck is pipes getting broken because some commands at the front of the pipe expects buffering down the pipe. Some years ago I was scratching my head trying to figure out why

  curl ... | grep -q
was giving me a "Failed write body error". I knew "grep -q" would close stdin and exit as soon as a match is found, and therefore I needed a buffer in front of grep but I was on a Mac, which to this day still doesn't come with "sponge" (or stdbuf and unbuffer for that matter), so I had to find a cross-platform command that does a little buffering but not too much, and could handle stdout being closed. So I settled on:
  curl ... | uniq | grep -q
To this day people are still confused why there's not a "sort" in front of uniq and the comment about this cross-platform buffer thing I put in the script.

iPhone since 12 has not used the Intel modem, and while newer iPhones supports Beidou, it’s not clear which chip supports it and whether it is used outside of China, or even iPhones sold outside of China has support for Beidou. Even if it does, its civilian frequency only has a 10 meter accuracy outside of APAC, so it’s not clear to me it is used globally in the sense that GPS is.

Also, Loongson and OpenATOM lol. Are they industry standards?

Bun v0.8 3 years ago

Is that still the case tho? Recent Deno releases have obscured how well it's Node compatibility mode is, I was just wondering if you have more details.

There is this thing called stretch goals in OKR that is supposed to be really hard to achieve. So if you meet all 100%, you either don’t have these stretch goals or the team is lying.

Now of course, whether OKR works depends on culture as well. Sometimes, asking people to stretch amounts to asking them to work harder, so naturally the system will be gamed in that context.

It’s even funnier when it’s apparent that company isn’t really doing OKR. First of all, the Os are supposed to be somewhat resistant to change in direction. Second of all, you shouldn’t be doing KPI on top of OKR. If you set the OKRs right, you’ll set stretch goals so ambitious, even if you game the completion percentage, the simple answer to whether you are doing the right things or performing should still be immediately answerable.

It appears to me this is another case of the slow evolution of European businesses and management practices.

There exists a practice called OKR. Intel has been using it since the early 70s, Google since year 2, and pretty much everyone in SV has switched over since around the time that John Doerr book came out. It’s designed to solve exactly all the problems of KPI. You shouldn’t spend much time figuring out what to measure and whether you are measuring the right thing or how to put what you measured into context. You should be defining simple objectives and key results what will give you a binary answer at regular intervals. Practicing KPI solely is putting the cart in front of the horse. You should know your objectives and milestones before you figure out how to measure them.

I’m pretty sure your contact in a major company will be even more shocked if they knew what all these European FinTech companies do with their customer’s data.

All the important things such as purchasing habit that used to require indirect guesses are now directly available in their databases as essential functions.

800 you put in at the beginning, 50 you have to chip in at the end, you just paid 850 for that mixer.

Honestly, if in 2 years you still haven't managed to save > $800 worth of your time with the stand mixer, you probably shouldn't focus on that $50 of depreciation.

The amount of what you owe is fixed at the time of a 0% interest BNPL purchase, just like a real purchase. Even if the interest rate is not 0, it’s still fixed.

It’s not a margin account where you have to call it if the value dips too low over time.

What in such simple concept is so hard for you to understand?

If you parked the money and it lost value, it doesn't matter, because that's only relative to everything other than the stand mixer you bought. The price of the stand mixer is fixed at the time of purchase, it doesn't go up as time goes by.

We are talking about a configuration language here, which is never about markups. Also, most of the so-called whitespace problem in Ansible or k8 configs comes from embedding config that's not YAML. In these cases you need a path or URI for the processor to resolve before applying, not inverting the entire configuration language to cater to 1 uncommon use case.

So you buy a stand mixer, make a bunch of dough, bake some bread and sell them. Plenty of ways to offset the cost. The how is not important, the important thing is you can. The worst it can happen is you have to pay exactly the labeled price some 3 months later.

Just because you are financing, doesn’t mean you are buying things with money you don’t have, only financially illiterate people of a particularly dim nature would say that.

There are plenty of reasons to delay paying for things as much as possible, especially if the financing has zero cost. Say you bought a new £800 stand mixer on Black Friday. Splitting the costs in 3 allows you to deploy the funds elsewhere, such as investing in an index fund, buying bonds or put into a CD account or anything productive to offset some of the cost or if you are lucky, cover it. A dollar today is not the same as a dollar tomorrow.

Another common reason for that is to stretch your credit limit without affecting your credit score. Say your credit card has a £30k credit limit. There is an expensive 4-5 figure gift you want to buy for your girlfriend for Christmas or take an expensive holiday to some exotic location. You can afford it, but it’s going to cost a few months’ salary and a dip in your credit score. You can pay for your purchase with BNPL without leaving you nothing at the end of the next few months and have no impact on your credit score.

BNPL is a great financial buffer for everyone, as long as you have some baseline discipline to pay off what you owe.

I consider this a fallacy. The condition you are given is not a common occurence. In the event they do occur, the solution can be found in your editor or viewer. It does not make sense to inject spurious junk into what is designed as a data interchange format, in which includes network information interchange.

There's probably a name for this kind of fallacy that exaggerate the effect of a problem and the resulting contortions that were engineered around it.

XML is a mistake. 80% of every XML document is just redundant noise because the IBM lawyer who invented the SGML syntax had never heard of S-expression.

For a block that won't even grant a rocket launchpad permit, I'd say this timeline is probably optimistic.

  If we look at how other permit processes have worked within our industry, it will be at least 10-15 years before we can actually begin mining and deliver raw materials to the market.