HNHacker News
TopNewBestAskShowJobs

tonyplee

237 karma · joined December 14, 2011

submissionscomments
tonyplee··on Tailscale Peer Relays is now generally available
If both sides of your ssh tunnel (pub,private keys) are under your control, in theory, that's "zero trust".

Unless one considers the meta data such as src/dest IP are visible to Tailscale sw.

Right?

tonyplee··on Show HN: ChartGPU – WebGPU-powered charting library (1M points at 60fps)
Works for me too 145/Windows - default settings.

Very cool project. Thanks!!!

tonyplee··on Linux kernel framework for PCIe device emulation, in userspace
Maybe: if PCIe device in on BDF 00AA:BB:00, create the proxy device on 00AA:BB:01 and the typical PCIe utils that talk to default 00AA:BB:00 will stead be config to talk to 00AA:BB:01 node. Some wireshark plugin will get the sniffed data (io, memory read/write, DMA read/write, etc) from the virtual device interface.

Ideally, the setup might be genetic enough to apply to all (most?) of the pcie device/driver....

tonyplee··on Linux kernel framework for PCIe device emulation, in userspace
Can one make a PCIe analyzer out of your code base by proxy all transactions thru a virtual PCIem driver to a real driver?
tonyplee··on ChromaDB Explorer
files in https://github.com/stepandel/chroma-explorer/tree/master/src are .tsx (typescipt) code.
tonyplee··on HP Reveals Keyboard Computer with Ryzen AI Chip
https://www.youtube.com/watch?v=wAIzlGwEAO0&t=300s This seems provide instruction on that. There are a lot of other yt videos on this topic.
tonyplee··on Why is the Gmail app 700 MB?
Wonder if it is better to create separate localized app download such as gmail-japanese, etc.
tonyplee··on C Is Best (2025)
Love to see an AI agent to auto transpile C (sqlite, apache, nginx, mariadb, etc) into rust and run all the regression associated tests and perf benchmarks and produce report on the porting processes and perf delta.
tonyplee··on Texas is suing all of the big TV makers for spying on what you watch
Any good options for wifi/wire gateway (opensource) that can filter and block spying?
tonyplee··on I got hacked: My Hetzner server started mining Monero
If you do any npm install, pip install ..., docker pull ... / docker run ... , etc in linux. It is very easy to get compromise.

I did docker pull a few times base on some webpost (looks reasonable) and detect app/scripts from inside the docker connect to some .ru sites immediately or a few days later....

tonyplee··on SPy: An interpreter and compiler for a fast statically typed variant of Python
The feels like JS -> TS type of change on JS side, except that was done with transpiler (sp ? ).
tonyplee··on This week in 1988, Robert Morris unleashed his eponymous worm
Would be cool if he adds a session on how to hack distributed system in 1988...
tonyplee··on Upcoming Rust language features for kernel development
Are there any researches/works/agents into use LLM to auto covert some/all C code to Rust?

Ask LLM to generate rust code from chat, usb, i2c, GPU drivers - build and test it automatically? Possible?

Or start with other "smaller" projects such as sqlite, apache, nginx, etc - possible?

tonyplee··on Another Ransomware Outbreak Is Going Global
Wonder if they manage to disable the UK's Trident Nuclear Submarine this time.

"Windows for Warship" https://en.wikipedia.org/wiki/Submarine_Command_System

"Want to Nuke someone, please send Bitcoin to unlock the systems."

https://www.theregister.co.uk/2017/06/27/hms_queen_elizabeth...

tonyplee··on Intel discontinues Joule, Galileo, and Edison product lines
Part of the reason probably more biz related.

CEO/CFO of Intel looked at the balance sheet every Quarters and make decision if they should continue to invest in ARM SOC (A few years back before they sold that div to Marvell.)

x86 has 50% + margin, #1 market position.

ARM is #4,5, 6 in market position behind TI, Qualcomm, Freescale and lossing $$$ every quarters.

One need to investment huge amount of $$$ continuously fundamentally at IP for GSM, LTE, Mobile OS Team, SOC team and there were almost zero chance to catch up with #1 #2 players of the time -- Qualcomm, TI, 8-10 years ago.

tonyplee··on AMD EPYC 7000 CPUs: 32 cores, 64 threads, 8 memory channels, 128 PCIe lanes
It looks like this is putting 4 8 cores chips on the same package to scale up the cores counts, etc.

What are some of the technical limit to if AMD to 2, 4, 8x this approach?

Only power/heat? IO should not be hard since pins on MCM should be able to scale out easily, right?

tonyplee··on Yahoo SEC Filing: Name change to Altaba Inc and director resignations
"Jack of all trades, master of none" is probably not a good way to increase share holder value.
tonyplee··on H-1B Visas: U.S. Lawmaker Re-Introduces Bill to Tighten Rules
Sounds more like H-1B is just 21st century legal mean for the company to chain down those employees (like indentured servants of the past).
tonyplee··on Building a Billion User Load Balancer [video]
This also gives interesting overview of SDN, NFV, scale inside google data center.

https://www.youtube.com/watch?v=vMgZ_BdipYw

tonyplee··on Reasons not to use Skype (2012)
DOS is a acquired product, for $50k? :-)

They only finally disable cmd.exe in the latest update.

.bat files still run.

tonyplee··on Intel Core i7-7700K Kaby Lake review: Is the desktop CPU dead?
According on this: http://kyokojap.myweb.hinet.net/gpu_gflops/

There were multiple factors of improvements in speed in the GPU inside last few generation of Intel CPU.

Unfortunately, folks who care about GPU performance likely use real graph card in their system.

tonyplee··on Classes Considered Harmful [pdf]
Just challenge the promoter to rewrite a c++ base program in their new favorite method, paradigm.

For example, the author of this paper can try to rewrite the google chrome browser - a huge C++ project in the "non-Harmful" way.

tonyplee··on Lenovo ThinkPad T460 – A Good Linux Laptop for Development
I got cheap HP envy 360 ($699) with convertible design.

Love that feature - use it a few times.

Great to convert it as huge 15 inch, 1080p, 16GB RAM tablet and browse the web/amazon with a few people together. 16GB makes is much better browser experience than ipad and most of the android. The con is that it does weight a lot more than regular tablet.

tonyplee··on Ask HN: Why are flash memory prices going down so much faster than RAM?
Two other factors:

Flash connection protocols (sata, ide) allows much faster evolution independent what's on the other side of interface.

If you have a new flash tech that's 2,3x better in density/speed, you can easily deploy it in current generation of high end server in the next few months.

RAM protocols (DDR2,3,4) must be developed 100% in sync with the CPU vendors. If the major cpu vendors (Intel, AMD, ARM Soc, Qualcomm) decide they don't want your new 2,3x better interface speed/density, you have zero chance to deploy it. It takes years for JEDEC to agree on new memory interface standard. Your new 2,5,10x better tech's deployment is actually depend on your competitors agree to allow it to be the new standard.

Flash can have higher latency as trade off if needed. DDR interface's latency has high impact on the CPU/system benchmark.

tonyplee··on The U.S. Will Surpass China as the No. 1 Country for Manufacturing by 2020
Digi-key, Mouser should have retails office location in Silicon Valley where anyone can order on-line and pickup in person when notified the order is ready via email/txt.
tonyplee··on LineageOS will be a continuation of what CyanogenMod was
Maybe make it a law that company needs to maintain certain level device security via software update for N years for internet connected devices.

Or they are required to release those device's source code to (and pay for) the "communities" for the maintain the security updates.

If they don't do it, they are responsible to damage caused by those devices because of security issue or the customer's loss of data/privacy due to hacking by 3rd parties.

Similar to recent case where "food processor" company is liable if the blade is cracked into pieces into the processed food after a few years.

tonyplee··on Ask HN: What's the value proposition of RISC-V?
Not sure it is really good deal for SOC company in US.

For the past 10 years, I have been working for an ARM SOC company in US. More and more I see zero margin in ARM SOC especially - with $5-15 4 core 32, 64 bits ARM soc in the market.

For Pi-zero, it is $5 for PCB with 512MB of RAM.

There are no $ to be made in SOC HW and board. If there is any margin left, small ARM SOC vendors from China/Taiwan will quickly take them over and make sure nothing is left for US companies.

For these reasons, I don't see anyone can make $ from making any HW SOC/board in US with ARM nor RISC-V type ISV.

tonyplee··on Solar Now Produces a Better Energy Return on Investment Than Oil
Keep hearing about graphene base battery technology that is faster to charge, store more in less volume/weight from time to time for cell phone and car.

Hope that will be true soon.

tonyplee··on Ask HN: Dealing with depression and unemployment: what should I do?
Find a few job posts you really like: can be building website, frontend/backend, mobile app or C++ QT App - instead of just sending them resume. Convert those job post to a project you LOVE to do personally, try also make it part of class/school/open source project.

Spend a few weeks/months work on that. Publish it on github, show it on HN, ask for feedbacks, improve it and put that/them on your resume.

tonyplee··on Microsoft, Rebooted, Emerges as a Tech Leader
Run "netstat -nob" in a admin prompt and you will see what I mean.

I block all those apps now with Windows firewall except firefox, chrome and Windows defender.

Also you can check out the default windows firewall config and see how many out going connections are allowed AND CONNECTED by default.

I always configure my system network security by default disable ALL and only selected app/ports are allow connect to internet.

Win10 firewall is completely opposite - its default configure for outgoing are "Allow ALL".

Page 1 of 7Next →