HNHacker News
TopNewBestAskShowJobs

yingw787

2,368 karma · joined January 28, 2016

Bytes by Ying: https://bytes.yingw787.com
submissionscomments
yingw787··on Bonhomme Richard, fate uncertain, would be one of largest ships Navy has lost
I think this would be the first U.S. capital ship lost since WWII.

It's also interesting that China, Russia, and now the U.S. have all lost carriers while undergoing construction / maintenaince in just the past few years:

https://www.cnn.com/2019/12/12/europe/russian-carrier-fire-i... https://www.forbes.com/sites/hisutton/2020/04/11/brand-new-c...

Something to bond over, I guess. Dangerous work, and I hope everybody stays safe, better a carrier burns in peacetime than a life lost.

yingw787··on Moving from TypeScript to Rust / WebAssembly
Python folks with their strong + dynamic typing: (O.O')

I will say from exp. that @anyfoo has a point. In the end, even webapp backends are clients, worker nodes within a much larger system infra. Anything that has to do with data that isn't a pass-through entity ideally should be both strongly and statically typed.

yingw787··on Decision for 2020-21 Academic Year
I remember one inspiring story from a few years ago, a student who did janitor work to pay family bills before going to Harvard: https://www.cnn.com/2012/06/07/us/from-janitor-to-harvard/in...

Hope colleges can prioritize students from underprivileged backgrounds. They might even be safer on campus.

yingw787··on Berkshire Hathaway buys Dominion Energy natural gas assets in $10B deal
Oh interesting. I'm part of the Dominion Energy Green Power initiative. I have no idea whether I'm actually making a difference...but I pay more and get a green sticker + pamphlet, so that's cool. Saving one starfish and all that.
yingw787··on New Relic CEO scolds employees in internal memo
I don't think there's any harm in having an internal all-hands where labor and management can discuss how a company can forward social aims. Having a ban hammer come down like this gives the impression the company doesn't care about employees, and while that may be the truth for many more companies, it's never the impression you want to set. Have a chat, blow off some steam (people are stressed about other stuff too), then keep working.

For one, I really like Netflix's commitment to keep $100M in black-owned banks, so they can farm out loans to under-represented communities. Progress is a state of mind, but I think that one move has the potential for a lot of materially positive change.

yingw787··on Persuasion: A Free Society Is Worth Fighting For
I've personally found that once I'm comfortable with something, I don't care for the freedom for something else. If I have a car I like, I don't care for the freedom to get another car. Freedom is really only useful to those for whom the status quo is unbearable, in one way or another.

How much we push for a free society is a measure of empathy for fellow citizens who haven't "made it", and it's healthy long-term planning in a world where the only constant is change and where the status quo stops working for all of us at one point or another.

It's easy to succumb to comfort and think freedom isn't worth it, which is probably why wealthier societies populated with generations that have only known peace begin to rot from the inside out and why civilization ebbs and flows in cycles (bad times -> strong people -> good times -> weak people).

yingw787··on Drug overdoses are soaring during the coronavirus pandemic
Aren't states prematurely lifting lockdowns to horrific infection increases due to budgetary concerns?
yingw787··on Drug overdoses are soaring during the coronavirus pandemic
I remember talking to a technically minded friend about my clinical depression, and I remember how she mentioned building an app to help solve it. I remember thinking at the time how sometimes building an app isn't the solution to a problem.

Sometimes the best solutions are the simplest, most straightforward, and the least innovative ones: voting in policymakers who craft empathetic public policy, donating to charity, being there for a friend.

Hope you all are doing well :)

yingw787··on Moldova Shuts Down Bootleg Helicopter Factory
I've made neither ¯\_(ツ)_/¯
yingw787··on Moldova Shuts Down Bootleg Helicopter Factory
Yeah, a guy from my home high school built a nuclear fusion reactor: https://www.wired.com/2007/03/high-school-stu/

It's pretty cool. It's really cool.

yingw787··on Moldova Shuts Down Bootleg Helicopter Factory
There's some quality (?) bootleg stuff out there today. The other big one I've heard of is narco subs, not semi-submersible, but fully submersible: https://www.chron.com/news/nation-world/article/Ecuadoran-su...

It's rather fascinating what the human mind can do with money + necessity. It's a reminder that great engineers can come from anywhere (and hopefully brought to work on nice-people things).

yingw787··on Turkey determined to control social media platforms, Erdogan says
I feel like the more a head of state is punched from below without doing anything, the better he or she is. I think each insult that runs down the back is a great way to measure the worse paths and timelines not taken, a physical manifestation of the ghost of Christmas Future. It's also a great measurement tool because oftentimes things we do are not within our control, but the things we don't do are, because we choose not to do them.

Greatness is a small number of key visionary decisions, and not a bunch of little reactive ones.

yingw787··on Mastering Jq: Part 1
https://jqterm.com is also a good one :)
yingw787··on Show HN: Hacker News front page in the style of a print newspaper
Yup, CDNs and object stores are a dime a dozen these days. If one's too expensive or unreliable just move on to the next one. I believe this free tier doesn't run out after 12 months either.
yingw787··on Show HN: Hacker News front page in the style of a print newspaper
To clarify, the $12 / year would be the cost of the domain name, running the stack should be close to free.
yingw787··on Show HN: Hacker News front page in the style of a print newspaper
This is really cool, definitely see some of the polish come out since the last version published here.

If you wanted to host this indefinitely for $12 / year, you could buy a domain like hackernewspaper.com or something similar, and host the frontend using a static HTML/CSS/JS bundle on S3 + CloudFront + Route 53. For reference, here's a CloudFormation (infrastructure-as-code) template I made for that stack here: https://github.com/tinydevcrm/tinydevcrm-api-docs/blob/a4d29...

yingw787··on Query-Based Compiler Architectures
I think the author linked a Rust example of a query-based compiler: https://github.com/salsa-rs/salsa
yingw787··on Dems pitch $100B broadband plan
How feasible would it be for a city to build publicly available wireless access points so that anybody who wanted to run a WISP can do so? I'd really like the option to walk away from a commercial ISP entirely if it's too painful. Right now I just cancel my Internet for a few months and go to the library before calling Comcast again, but with the current and possible future pandemics that might not be a viable option.

https://startyourownisp.com/

yingw787··on New system76 laptop: Oryx Pro
I have a P1 Gen 2 with Ubuntu installed. My USB-C ports on the left side of my computer don't work for some reason (might be a cable issue). There really isn't any support from Lenovo for Linux. I'm fine with it for now, but I think the certification is for a specific build of the OS + (one? idk) run from Canonical, as opposed to a comprehensive test from an OEM (e.g. like those monitor color/brightness reports you get during unboxing).
yingw787··on New system76 laptop: Oryx Pro
I actually wanted a 1080p screen, because resolution scaling support on Linux may not be all that great. At least it broke somewhat on a 4k laptop I used.

I like the freedom of Linux, but I find the best support to be for the least common denominator of feature sets.

yingw787··on Almost 1 in 3 pilots in Pakistan have fake licenses, aviation minister says
That's great, thanks for the better link! The image did look a bit weird to me (I don't think the facility would be usable in that condition), and it seemed a bit incredible that there would be that much settling after only 10 years, but I'm not sure what to believe anymore and it feels like the worse scenario is always the true one. Really glad I'm just being Chicken Little, we have enough stuff to worry about.
yingw787··on Almost 1 in 3 pilots in Pakistan have fake licenses, aviation minister says
Apparently there's chatter in recent days on China's internet regarding the Three Gorges Dam, and how it's setting / warping due to reservoir backpressure (pictures in link): https://www.theepochtimes.com/experts-warn-of-chinas-three-g...

Apparently there's heavy rainfall this year. 300-400 million people live below the dam. I'm unfamiliar with domestic travel restrictions within China, but I can't imagine it's gotten better with the ongoing pandemic, so you can't really plan ahead and move out of the way until the rainy season ends.

I want to believe there's something wrong with the camera that made that specific image distorted. Or that the government recognizes the problem and is fixing it. I like it when things are boring.

yingw787··on Almost 1 in 3 pilots in Pakistan have fake licenses, aviation minister says
Older article, but apparently Pakistan carts its nuclear weapons around in regular delivery vans: https://www.wired.com/2011/11/pakistan-nukes-delivery-vans/

I personally think this is a bad idea.

yingw787··on An even worse anti-encryption bill than EARN IT
Have you tried absentee voting? It's honestly pretty great. I spend maybe three hours at my computer googling the people I don't know, then send it back.

Not sure if it makes a difference in the end but it's cool to know who's claiming they represent you.

yingw787··on DNS Push Notifications
The more I think about this the less it makes sense to me.

My understanding of UDP is it's supposed to be for heavy, lossy traffic where late traffic is pointless or harmful (like video streaming frames, if your frame is late better toss it out than keep it). But I kind of want my notifications even if they're late. I think I'm missing something in my understanding. I was thinking if you can stream using DNS, and cut out something like Kafka, that might be a big deal, but on second thought it doesn't make sense because DNS is more about service discovery than it is about piping load; you want an alias to a server that does the heavy lifting.

Brain messy today.

yingw787··on Show HN: Query 1.6B rows in milliseconds, live
Nice! It'd be cool to support everything from PostgREST, that way people can build API-based tools on top of it and directly take advantage of the performance increases: postgrest.org/

I'm working on a...spreadsheet thing or something that requires PostgREST and it'd be really nice to simply direct the PSQL_URI configuration underneath the hood to whatever database has my data. Then there's no need for ETLing back and forth.

yingw787··on DNS Push Notifications
What’s the difference between this and server sent events in http2? You don’t need a live persistent connection to issue events?
yingw787··on Show HN: Query 1.6B rows in milliseconds, live
Very cool and impressive!! Is full PostreSQL wire compatibility on the roadmap? I like postgres compatibility :)
yingw787··on What ‘less lethal’ weapons do
A police officer's job is keeping order, and they're paid by the state, not directly by taxpayers. So they're enforcers for whatever order the state decides works for them. If left-wing groups paid police officers to run long-term private security, and infiltrated law enforcement, and did all the stuff right-wing groups did, police officers might start espousing more left-wing takes on matters like treating protesters with respect as fellow citizens.

I don't like how things are, and I don't agree with right-wing groups. I'm pointing out a hard truth. I think it's great that people are out on the streets asking for what they want, and that more and more people are listening to them. But I'm pessimistic that anybody in power will enact meaningful change, because the protesters don't act by the laws of power. That will become ever more important, and the failings ever clearer, the more and more people in power respect only power and not substantive public policy.

yingw787··on What ‘less lethal’ weapons do
You bring up a great point. Right-wing groups are highly proactive about using every lever at their disposal to advance their agenda, including infiltration of government agencies. I don't think it has to be strictly right-wing groups, though. Scientology, whose political leanings I'm unfamiliar with, infiltrated a variety of government agencies, and as far as I know only paid a one-time price (short prison terms for leadership) for long-term gains in unchecked reach and influence.

All of which brings to question what moderates and left-wing groups are doing in order to secure their own future in this country.

As an alternative to committing crimes, I found South Korea's protest model fascinating: https://en.wikipedia.org/wiki/Park_Geun-hye#Choi_Soon-sil_sc...

1 million people sat in the government square for two whole months in winter in order to force the president of South Korea to not just resign, but forcibly impeached. When was the last time we in the U.S. did that? MLK's million man march comes to mind, but I think that was only one day. Going back further rings no bells for me.

I don't think you have to rely on the police to be sympathetic to your cause to get what you want. You do need to exert material losses on certain levers of power. Cause enough pain to certain keys, and they will unlock the safe for you, doesn't matter what they believe in. Right-wing groups bomb and shoot people, because their numbers are low and they need disproportionate acts to get the respect they want. South Korea shuts down the country, because consistently doing one act is easy when many people are on the same page and want the same thing.

The great thing about powerful people is there's so many different ways to hurt them. It sounds sociopathic because it is. Waving a sign for one day used to work because for most of our history we had leaders who genuinely wanted to work for us, they just didn't know where it fell in terms of priorities. For those who crave power and nothing else, us waving a sign does absolutely nothing.

← PreviousPage 2 of 18Next →