HNHacker News
TopNewBestAskShowJobs

xiwenc

415 karma · joined August 30, 2013

Tech is life
submissionscomments
xiwenc··on NASA Open Source Software
Really cool! Wish more government funded organizations publish open source software.
xiwenc··on We have reached an agreement in principle for Sam to return to OpenAI as CEO
No idea what these 700 employees were thinking. They probably had little knowledge of what truly went down other than “my CEO was fired unfairly” and rushed to the rescue.

I think the board should have been more transparent on why they made the decision to fire Sam.

Or perhaps these employees only cared about their AI work and money? The foundation would be perceived as the culprit against them.

Really sad there’s no clarity from the old board disclosed. Hope one day we will know.

xiwenc··on Sam Altman, Greg Brockman and others to join Microsoft
Care to elaborate? Microsoft funding OpenAI doesn’t grant them right to just grab intellectual properties.
xiwenc··on Scaling Knative to 100K+ Webapps
Really nice write up.

This reminds me of my time building a similar platform back in 2015-ish. It was also a free tier for back then 40k apps. Built on top of cloud foundry. Before k8s was GA.

We also suffered from scalability issues which required creative solutions.

Good times.

xiwenc··on Slack’s jarring new design – can you go back to the old one?
I seriously do not understand why Slack decided to have workspace level design settings. I use 6 workspaces of which 2 have decided to switch. Now this mixed up workflow is driving me insane.

The design switch should be on app level. I rarely say this, but this is just retarded. Multi-workspace workflow is a core use-case in Slack.

xiwenc··on The ReMarkable Streaming Tool v2: Elevating Remote Work Efficiency
Lack of full device encryption is also a no-go for me.

I can’t imagine loosing such device that contains confidential data.

The difference between this and a piece of paper is that this could contain your whole stack/library. Not just a single piece of paper note.

xiwenc··on Ways to shoot yourself in the foot with Redis
In the past i used SQS where the client can extend the TTL of a given message (or lock in this case?) while it is still alive. Isn’t that possible with Redis?
xiwenc··on Google Calendar and Assistant Reminders Will Migrate to Google Tasks Soon
Ah if i recall, in the past timer based triggers cannot be run automatically. It required manual confirmation.

That has changed it seems. Thanks for pointing out.

xiwenc··on Google Calendar and Assistant Reminders Will Migrate to Google Tasks Soon
Thanks a lot for the suggestion! Not sure if this was a recent feature/trigger in shortcut automations.

Will update the article soon with this addition.

xiwenc··on Google Calendar and Assistant Reminders Will Migrate to Google Tasks Soon
Thanks for pointing out the dark mode issue. Hope to address it soon.

Regarding trigger i meant there is no standard scheduled system like a cronjob.

The article is meant to inspire others. It solves a very specific problem i have. It’s far from perfect but does the job.

Will take a look at your WFH mode suggestion. Timer/alarm based triggers require manual run confirmation. Allowing non-interactive run is a must in my case to avoid distractions.

xiwenc··on Google Calendar and Assistant Reminders Will Migrate to Google Tasks Soon
Not related to google but for my personal workflow i like to manage my tasks in Apple Reminders apps and see them in one unified view in my Apple Calendar apps.

Details can be read and implemented following: https://cinaq.com/blog/2022/11/22/the-missing-link-between-r...

Just yesterday someone out of nowhere contacted me while he was trying out my setup. He loved it. Hope this helps others here on HN.

xiwenc··on Prime Video service dumps microservices, cuts AWS bill 90%
If i recall one of the biggest selling point of lambda (serverless) was the “infinite” scale. Sounds like the “cash cow” for cloud service providers when used in efficiently/inappropriately.

Besides the lower maintenance efforts.

xiwenc··on A WiFi color eInk picture frame
I also created something similar: https://www.linkedin.com/posts/xiwen_color-e-ink-photoframe-...

Didnt get a chance to write an article about it. My original goal was to create a bunch of these (30x40 units) and hang them up on a wall like a large tile screen.

A controller would update this tiled wall dynamically.

Also the look of the frames were intended to disguise as regular photo frames.

xiwenc··on The weird world of Windows file paths
Recently we had a bug in an electron app that couldnt call exec on a filepath that contains a space in windows. After 2 days of researching and trying, i still don’t have a solution. I reckon adding nodejs to the fantastic world of windows file IO does not make it any easier.

Gonna give it another try this weekend.

xiwenc··on De-Stressing Booking.com (2019)
Specifically regarding booking.com i try to book accommodation way in advance with free cancellation until X date. When the trip gets closer i always review my booked accommodations at least X-1 days in advance for better deals.

Sometimes i do find better price and location. I have started this strategy recently. So not much empirical evidence yet.

xiwenc··on ARM64 Linux Workstation
> In some cases, it is too fast. When I installed K3s, all of the containers in the kube-system namespace kept entering the dreaded CrashLoopBackOff state (something I’ve never seen before outside a production container). After some investigation, I found out that the Mac Studio was just too fast for the Kubernetes resource timing, and I had to add resource limits to each pod to remedy the situation.

You should consider to submit a bug report to k8s project.

xiwenc··on ARM64 Linux Workstation
> Honestly who at Apple signed off on Stage Manager before basic window snapping?!

Or UX testing. I gave it a try for a week. Gave up. It’s one of those few features that is not intuitive at all.

And it was supposed to help with productivity. Epic fail.

xiwenc··on Be Careful Using Tmux and Environment Variables
The default behavior seems logical to me. At least I think it’s normal for general use cases.

I’m curious what was your case that triggered you to dig this up.

xiwenc··on GitHub staff are required to use Teams by Sep 1, 2023
Have the same experience:

- ms teams on my windows laptop turns it into a raging heater. While i dont even have my webcam on.

- ms teams is so multi-functional you can do anything with it. Office suite, create polls (that are very laggy). It is so bloated there’s clearly no straightforward UX flows. Buttons all over the place. Desktop UI feels terribly slow.

- typing in chat boxes is laggy as hell.

I’m not alone. My colleagues experience similar issues as me.

xiwenc··on Poll: live lockscreen impacts iPhone Performance and Battery Life
Yes, check here: https://www.macrumors.com/how-to/set-dynamic-weather-lock-sc...

Apparently it’s called dynamic lock screen wallpaper

xiwenc··on Spotify reducing employee base by about 6%
Spotify should serve both audiences: consistency and discover new ones.

I think Apple Music got it right. I like how you can start a radio of any song. Or just play your own favorites.

xiwenc··on CircleCI says hackers stole encryption keys and customers’ source code
As someone from the security domain you should know there is not one single tool/service that will solve all your security challenges. I did not claim VPN will.

Your example of employee laptop getting infected with malware should be remediated by proper device management. Which should include policies like forced updates, prevents software install, uses corporate firewall, up to date antivirus, etc.

Since you mentioned you work for a company that sells zero trust, your response sounds like your solution would replace VPN. Don’t get me wrong, but feels like you are wearing the sales hat now.

Yes, old fashion VPN appliances will be probably seize to exist. Replaced by modern equivalent like tailscale. Layered security is the answer.

xiwenc··on CircleCI says hackers stole encryption keys and customers’ source code
The difference, hopefully, is that private Jenkins installation is behind corporate network. So for attackers to reach it, either they need to breach the network first or it’s an internal employee.

Personally i’m a big proponent of both cloud services and privately managed services. CI is one of those i think are better kept private due to its sensitivity.

xiwenc··on I Lost over $200k
It’s not clear how this 200k was spent. In terms of team composition, age of your startup.

So some more context would be nice.

xiwenc··on Tell HN: I just received my Equifax breach settlement check
Wouldn’t it make more sense for these payouts to be consolidated and donated to a non-profit (humanitarian) org? Considering the overhead of processing all these “micro” payments. Assuming most people got few dollars payout. Or at least give people the option to opt out of the payout.
xiwenc··on Golang disables Nagle's Algorithm by default
Nice finding. It would help also to suggest a workaround. Perhaps “overloading“ the function? Not a Golang expert here. But providing a solution (other than waiting for upstream) would be beneficial for others.
xiwenc··on Writing a Mini-CDN to Learn Nginx/Prometheus/Grafana/Lua
We have been using prometheus at a client for little over a year now. Since we need to keep metrics for years, prometheus cannot seem to be able to deal with it well. One behavior we observed is it crashes consistently in k8s. We couldn’t pin down the root cause but suspect it’s the amount of metrics we collect continuously and keep (archive).

Now we are considering to switch to thanos or mimir.

xiwenc··on Devpod: Remote development environment at Uber
At my current startup we are doing something similar. Perhaps as inspiration for others without the huge budgets.

From very high level it works as follow:

- developer logs in to AWS cli

- executes: dev/01-start-env.sh

- prepare infra services: dev/02-base-platform.sh

- code can be changed and run locally. But if they need to test in the bigger system: dev/03-deploy-code.sh

There is dev/99-delete-env.sh

An environment is a personal ec2 spot instance that auto shutsdown if there’s no developer activity for over an hour.

The idea is that all developers work (program/code) locally as much as possible. But deploys changes to their own private environment in a much heavier VM’s that runs all services in containers.

Also there is a dev/tests.sh that executes the exact same test cases as in continuous integration. In fact, we try to bring all checks enforced during CI to be available to developers in their semi-remote-dev area environments for quick feedbacks.

xiwenc··on Vulnerability scanner written in Go that uses osv.dev data
I like trivy[1] a lot. Nice to see more alternatives like this.

1. https://github.com/aquasecurity/trivy

xiwenc··on Nimo Planet – Your new computer designed to work anywhere
I have a hard time believing in this product also. I like tech but this type of product like smart glasses and VR headsets are not my thing.

I do however like to have a monitor that projects in the air. Or on some translucent surface. Kinda like holograms.

← PreviousPage 2 of 5Next →