HNHacker News
TopNewBestAskShowJobs

yingw787

2,368 karma · joined January 28, 2016

Bytes by Ying: https://bytes.yingw787.com
submissionscomments
yingw787··on What ‘less lethal’ weapons do
I think the reason police treat right-wing groups far more leniently than left-wing groups is because right-wing groups are much more likely to be armed and resist violently. Ruby Ridge. Waco. Oklahoma City. Right-wing groups have consistently demonstrated their ability and will to resist encroachment on their rights and freedoms. Whether those rights and freedoms are morally legitimate is irrelevant on the streets, especially for those with skin in the game. At the end of the day, the police just want to go back home to their families, and being shot isn't a part of that.

Meanwhile, left-wing groups don't resist to the same degree and in the same manner...because not blowing up a daycare with a truck bomb is the responsible thing to do. Hence they get stomped on.

The right understands and has always remembered what the left has forgotten. Freedom isn't free, and the price is much, much, much higher than going out and waving a sign for a few days.

yingw787··on nCino S-1
I <3 MicroConf / TinySeed / you guys!
yingw787··on nCino S-1
Oh yes, definitely :D
yingw787··on nCino S-1
This is the first time I've heard of nCino. I haven't seen it mentioned on HN before. Yet it's probably more successful than many of our own ventures might be. A good reminder to stay humble and to always keep business fundamentals in mind.
yingw787··on Most employees of NYT won’t be required back in physical offices until 2021
For a contrary opinion, see this famous Hacker News post:

https://news.ycombinator.com/item?id=18451311

https://news.ycombinator.com/item?id=18442941 (parent)

(or at least it's famous to me)

yingw787··on Quit whining about Apple and just stop using them
PWAs are going in that direction, but they don't have access to native storage, notifications, and other stuff. They're still mostly webapps, which is great for portability but not great for mobile UI/UX. I want the "native-ness" of React Native (or really, true native) combined with the flexibility of a webapp. Reduce mobile down to another build target, but still not give up access to native APIs.
yingw787··on Quit whining about Apple and just stop using them
I really like the iPhone. Maybe not the full Apple ecosystem so much (everything else I own is Linux), but that's only because I think Linux is the best fit for me. iPhone is the same way, and Apple's business practices don't change my fit with my phone, no matter how disappointing they may be. I think that's why many of us use Apple.

My happy place would be something like "Heroku for mobile", where you can jswrap a React.js app into an HTMLView or something like that, and do 'git push ios master'. Notifications API, localStorage API, and maybe authentication / session persistence API are all I really care about natively (like Firebase); React Native is too heavy. Add in a TestFlight "permanent beta" invite, or the ability to build the app from a remote mac (https://www.macincloud.com/) with a lambda and transfer it to my phone (...somehow), and I'll just use the app store for things I don't make myself (which hopefully should be less and less).

yingw787··on AWS Snowcone
This is nice! I want a homelab for my data, but I like AWS. It'd be cool to run my own personal database on this, and only run pg_backup to S3. RDS is too expensive for personal projects, but I'm not sure if free Heroku dynos and such aren't enough for raw data processing. So yeah, I guess if AWS had tiny RDS with primary node as Snowcone, I'd buy one. Otherwise I might buy one later and install my own database on it.

Not sure where AWS is going with this, but I'd like to see AWS offer a tiny version of AWS Outposts, where you can get any kind of AWS service in a box.

yingw787··on Apple, ARM, and Intel
Yeah, that was what I was worried about. Given how the past four years prove you can purchase a major U.S. political party for clearance prices, the bilateral security agreement underpinning Taiwan’s freedom may be gone when it’s needed most. Beijing is much richer than Moscow is, and smarter too. I sense the opportunity is just too good to pass up.

I love Taiwan and its people, and I hope everything stays peaceful and will do my part to keep it that way like voting and writing policymakers, but if I’m an expat I wouldn’t be emotionally invested in a total war for survival.

yingw787··on Apple, ARM, and Intel
Sorry, pineapples, not coconuts. I don't remember having coconuts but the pineapples had no bitterness and the mangoes melted in your mouth!
yingw787··on Apple, ARM, and Intel
What does the security situation look like in Taiwan, and how might it change within the next decade or so?

Besides that I <3 Taiwan!! As a tourist I loved pineapple cakes, beef noodle soup, night markets, high-speed trains, and plenty of fresh mangoes and coconuts!

yingw787··on Zoom's (Over)Valuation?
I purchased Zoom during its IPO, then sold half my stock @ 105, then sold the remainder @ 62. My thinking was, "if the stock is this volatile, how will it do during a recession?"

Sigh.

Right now, I think buying Zoom is, even with the outrageously high P/E ratio, might still be worth considering. I would look at growth and profitability over P/E. Zoom's breaking into Fortune 100-200 companies with strong momentum, and there's really no structural issues it needs to deal with. The current stock price makes sense if you take into account future growth; worst case scenario, it corrects and it'll make it up after a few more strong quarters.

yingw787··on Zoom Acknowledges It Suspended Activists' Accounts at China's Request
I'm not sure I agree with Zoom's strategy here. Adtech can get away with compromising user's privacy because users aren't customers, they're eyeballs for advertisers. Zoom by contrast does primarily B2B sales, and calls do need to have some semblance of privacy. If a Western-based multinational corporation competes with a China-based company, Zoom suddenly looks a lot scarier.

People sometimes say nothing came of the Snowden revelations. I think they're wrong. When the NSA mentioned connections between datacenters were tapped, I believe FAANG immediately end-to-end encrypted links between datacenters, because otherwise your business secrets depend on how cozy you are with the government.

I'd even say it may have played a role in Google Fiber. I don't know about Google laying its own fiber because it wants to be nice or because it wants to roll in the mud with Comcast. But if Google was suspicious that ISPs could get Google data by tapping end users, then it makes sense to keep up the pressure, and less sense after getting everybody to use HTTPS. Timing seems to work out.

Might be a load of conspiracy hogwash, but it fits the laws of power.

yingw787··on Show HN: Marple – Visualising millions of datapoints for engineers
Ooooooh interesting! Does it integrate with streaming or realtime services / db solutions? What's the max load you've tried out so far? Would you offer on-prem like Metabase?
yingw787··on The antitrust case against Google
"Why cut my fingernails? They'll grow back."

- Ephraim, "Munich" (2005)

yingw787··on Capitol Hill Autonomous Zone
I wonder if it's bigger than Sealand: https://en.wikipedia.org/wiki/Principality_of_Sealand

When I look at the list of demands I'm pretty quick to dismiss it. Then I remember how I dismissed the 1999 WTO protests in Seattle too, and how many of the fears those protesters had were realized over the next two decades. I might be too hopeful, but I really think the city leadership should talk to them and hear them out, instead of just trying to push them over.

yingw787··on Show HN: Jqview, a simple native GUI for inspecting JSON with jq
Oh cool! Kinda wish you had url params vs. having to curl with request data (kinda like https://cors-anywhere.herokuapp.com/), but wayyy better than nothing!
yingw787··on Show HN: Jqview, a simple native GUI for inspecting JSON with jq
I think `jq`'s syntax is a bit different than bare JSON (I do basic stuff like `echo $CHANNELS_RESPONSE | jq -r ".public_identifier"`), I think it'd be like running a bash script as an input to a query :)

Also not sure whether to start repping TinyDev (my project) but I can pass in an arbitrary read-only SQL query via HTTP to create a materialized view from table(s). HTTP + local procedures is like a very simple RPC :)

yingw787··on Show HN: Jqview, a simple native GUI for inspecting JSON with jq
I started using `jq` for my API project and I have to say it makes JSON munging much nicer on the command line. I think it'd be really cool in order to have a `jq` based redirection service, where you can paste in the URL of the API you want and a query parameter of the `jq` query you want to create.

Something like:

https://jq.io/https://myapi.com/endpoint?jqparams=$PARAMS

So like bash via HTTP :)

yingw787··on Ask HN: Are my expectations on code quality and professionalism too high?
I'm on sabbatical right now because I get how frustrating that can be. That being said, maybe me sharing some points about my sabbatical can help put things into perspective:

- It's taken four months since my project (a personal-use hybrid OLTP/OLAP streaming BI framework) has started, and I'm only wrapping up the development now. I'm fine with this because I know what I want and I don't want to deal with users while things are in flux, but if this was a business, I'd be out on the street by now.

- Engineers are paid well because there's not that many of us. It's not because we're important. Sales is what brings home the bacon, marketing kicks off the sales funnel, customer support closes the sales loop, product management translates sales' requirements to engineers...and engineers just build the thing according to requirements. Many one-person startups don't have engineers, or even anybody technical, they just use no-code tools and pay contractors and they do just fine.

I'd consider broadening your options in order to grant yourself more agency, especially paid solutions that you can form a demonstrable ROI-based argument for. Terraform may seem like a bit overkill, esp. if you don't have serious cloud charges. Maybe managed APIs as a service makes sense, like Netlify, that have CI/CD and can spin up various apps for money. Then you can say "for $25 / mo. we save X developer hours, which @ market rate saves us $XXX per mo. which increases our runway by this much."

yingw787··on Show HN: Grid.js – Advanced table library that works everywhere
I am so glad I put off making the frontend for my project. It's literally all tables, and I didn't like how DataTables functioned. So glad you made this and looking forward to trying it out!!
yingw787··on Facebook will block ads from state-controlled media outlets
I wonder how much money Facebook will lose by simply not running ads for say one week. One week before the election, turn off all ads to a particular area, then run ads made by FB marketing for everybody to say vote in the election, I don't care who.
yingw787··on Blur Tools for Signal
...isn't the whole reason of this discussion revolving around events causing "ridiculous paranoia" being realized? No, I don't think I'm being too paranoid. Even if Signal is open source, it means smack if you don't know what's actually running on the servers, or what's in each AppImage and running on your phone.

If you have your servers and employees where the government can reach you, you can be compromised, because ethics and morality go out the window when it's about your safety and that of those you love.

Analog is always safest, because it's what the world is grounded in. If you don't like inking over an image, then burn the faces of it using a blowtorch, or if you're worried the ink is still there, you can stamp out the faces using a hole punch.

yingw787··on Blur Tools for Signal
As a software engineer: screw software-based solutions. Too hard to communicate to people, too easily compromised without notice, just blegh for things like this.

I remember the Mueller report being printed out, inked over, and then scanned before exported as PDF just to make sure there's no software shenanigans. I really like this idea.

If you wanted to implement that in the field, you could purchase a Polaroid camera, ink over faces manually, and then use your iPhone and take a picture of that picture and destroy the film afterwards.

yingw787··on Millions of Americans skipping payments as wave of defaults and evictions looms
I've heard that all that QE and tax cuts from '08 and '20 goes into assets that are valued by rich people. Healthcare, real estate, college, financial securities, which drives up prices due to inflation. I'm not sure if I'm totally right, seems a bit too simple, but it makes enough sense to me. That money has to go somewhere, right?

Add that demand with demand from rich people from other countries for the same services (who might just loot their country and therefore aren't subject to the same domestic economic pressures) and prices keep going up.

yingw787··on What a typical serverless architecture looks like in AWS
I'm using Lambda@Edge for static site auth, so I just need to pass some HTTP headers, and it still seems a bit overkill. I really like the ability to integrate with a CDN, I don't think I want to move away from that to something like nginx that could fall over and be more expensive, but being billed for every signin I do is a bit nerve-wracking. Maybe it's just new and I don't have enough experience with it yet.
yingw787··on What a typical serverless architecture looks like in AWS
I've only used Docker w/ ECS and EC2 task definitions, but creating and draining instances is pretty time-consuming and I'm guessing not responsive enough for serverless-specific workloads. If you use Packer and lock down your AMI and atomically update it, I don't see maintenance as being that big of a hassle, but I don't have too much experience in this regards and I value optionality to a high degree. I guess this would also depend on how many microVMs you might be able to reliably stick on an EC2 instance.
yingw787··on What a typical serverless architecture looks like in AWS
Hmm, you make some good points w.r.t. the custom runtime. I do kind of wish that AWS would maintain its own LTS releases of things like node.js, but I guess it's difficult to say whether that would require source mutation from the user.

I do wish there were more examples of Lambda functions, like a marketplace of some sort. I'm using NodeJS only because certain tutorials offer examples in node.js (like static site authentication): https://douglasduhaime.com/posts/s3-lambda-auth.html

I actually logged into CloudWatch just to see that point on 50ms vs. 100ms and yeah you're right, it's 100 not 50. I'm pretty new to Lambda, and wonder whether the billing insights dashboard will give me the breakdown b/w duration and memory.

Thanks!

yingw787··on What a typical serverless architecture looks like in AWS
I don't get why you have to go with .metal EC2 instances only, can you elaborate?
yingw787··on What a typical serverless architecture looks like in AWS
I wonder what the difference between managed serverless and having an EC2 instance w/ Firecracker loaded up on it would be.

I've used Lambda and I fear maintenance burdens due to the underlying environments migrating; they'll keep the runtime for a running function for you but if it's old I don't think you can update that without having to upgrade runtimes.

Also you get billed in 50ms increments at minimum, and so beyond that there's little incentive to make a function faster / a lot of incentive to stuff more logic into a function and make it less composable.

I think I'd rather define an AMI w/ Firecracker using Packer, and stand up a box with Terraform, and write logs to CloudWatch, and have a much more predictable billing cycle / greater control.

← PreviousPage 3 of 18Next →