HN user

tonyplee

237 karma
Posts3
Comments186
View on HN

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....

C Is Best (2025) 7 months ago

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.

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....

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?

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.

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.

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.

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.

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.

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.

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.

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".