Posted by david927 6/29/2025
Ask HN: What Are You Working On? (June 2025)
Since TP 3.0 does no optimisations, and looking at the progress so far (~25% decompiled), it seems like matching decompilation should be achievable.
If/when I get to 100%, I hope to make the process of annotating the result (Func13_var_2_2 is hardly an informative variable name) into a community project.
Good luck!
It's similar with Turbo Pascal 3.0, but there's only one segment since it's a good old COM file. The compiler just copies its own first ~10000 bytes, comprising the standard library, and splices the compiled result to the end.
I can see how this makes transcompilation relatively straightforward, although the real mode 16-bit code is a bit unpleasant with all the segment stuff going on, so you might as well just decompile :D. It's very possible that similar instructions will be emitted in 3.0 and 4.0 for the same source input.
My program also has the stack checking calls everywhere before calling functions. I think that people using Pascal weren't worried about performance that much to begin with, so they didn't bother disabling it.
Although it has cult status in Israel for some reason.
For my 3D audio project I need an affordable way to make plastic cases. I felt like injection molding services are way overpriced, so I decided to make the molds in-house. Turns out, CNC milling is overpriced, too. As are 5 axis CNC mills. So in the end, we built our own CNC machine.
And like these things always go, I found an EMI issue with my power supply and a USB compliance bug in the off-the-shelf stepper control board. But it all turned out OK in the end so we now have the first mold tool that was designed and machined fully in-house. And I learned so much about tool paths and drill bits. Plus it feels like now that everyone has experienced hands-on how stuff is milled, my team got a lot better at designing things for cheap manufacturing.
It is easy to select multiple holes/pockets at once so if you iterate, you don't spend time redoing CAM! It does traveling salesman to solve for efficient paths which even the expensive packages don't get right. Calculates v-bit paths too.
Also, in the video where you cut out the circular logo coin:
https://youtu.be/mGd7EIkCK3g?feature=shared&t=108
it looks to me like you're using a metal cutter bit (with corncob grinding surface) on wood. You might get a lot less burr (that furry stuff on the sides of cuts) by using an asymmetric one-blade bit. They look weird, but they'll cut the wood fibers with a carbide blade instead of trying to rub them off with diamond fragments. You usually want separate tiny chips coming off the material. If it starts stringing - like in the video - then usually it's either the wrong bit or too fast spindle speed (and material melting rather than cutting).
I'll have to keep an eye out for a bit like that. I usually use my 30 cent eBay bits with blue tape to avoid the frizzies. But i didn't want to hide the workpiece with tape in the video.
Wood be good to not have frizzies in the demo videos!
Why do you need to make so many molds?
* https://trosko.hr (HR, Android/iOS app) - super-simple receipt/bill tracker (snap a photo of the receipt, reads it using Gemini, categorizes and stores locally - no accounts, no data gathering)
* https://github.com/senko/think (open source) - Python client library for LLMs (multiple providers, RAG, etc). I dislike the usual suspects (LangChain, LLamaIndex) but also don't want to tie myself to a specific provider, so chugging on my on lib for this.
My day job required me to go into office frequently, and I'm really feeling the reduced social connection of being fully remote in a small company. Any suggestions how to deal with this? I'm planning to reconnect with old friends, surf a lot, go rock climbing, and maybe take dance / music / other classes. Would also love if anyone wants to work together in the same place (library, coffee shop, etc). I'm in Escondido California, but happy to drive ~30 min to meet folks.
Check out Eventship. Hussein is local to SD. You should also meet Fred for press.
I’ll try and remember about these in the winter. I need new booties anyways. How many mm? 2 plus 2 so 4?
Ya exactly, 2 layers of 2mm each, for a total of 4mm. They’re less warm than most 4mm booties would be though, because they’re intended for the protection. If you’re in SoCal that’s a feature — your feet should stay warm but not overheat :)
I have been lucky and haven't been stung in 30yrs of going to the beach here. As far as I know it's a bigger danger when the water is warm, but this might be just a myth.
But if you want a balance of flexibility and stopping stingray stings, we really are the best. Nobody else is even trying, lol, the other options pretty much do nothing, or are encased in steel and not flexible at all.
I do plan on open sourcing more of the code over time. I also have started working on other sites using the same algorithm implementation (music, movies, video games)
This has just been a side project over the year generating passive income. I get around 250,000 page views a day, and with ads, memberships, and affiliate links I make around $2,500~ a month.
Tech stack is ruby on rails 8, postgresql 17, opensearch, redis, bootstrap 5.3 hosting on 3 servers on linode.
A couple questions:
* Is this primarily intended for discovering new reads, or for people who've already read the books to debate which is greatest? I found the book descriptions sometimes give away too much, to the point where I stopped reading them for any book I might be interested in reading for pleasure. Examples include The Great Gatsby and Madame Bovary. Perhaps you could have a concise description that stays far away from plot points, and a more expanded description behind a "more" link.
* What dictates whether a series has one place on the list or separate places? Narnia has one for the whole series but Harry Potter has individual listings per book.
* Are ratings and reviews from your own site taken into account in the rankings?
- Series have always been a problem. Some book lists will include the entire series, and then some will have individual books. If the series is sold as a single book I'll often just include that. Like Lord of the Rings. Sometimes I will include only the first book in the series on a list, to prevent always adding every single book in a series when a list mentions "harry potter series".
basically I don't have a perfect way of handling series'
for the last point, kind of. If you add a book to the default "My Favorite Books" user list, it gets aggregated and used for this book list which is included in the rankings. https://thegreatestbooks.org/lists/463
But, I'm determined to see its completion even if there is just one user. I didn't take the Wordpress fiasco and how they handled it, lightly at all and it only fueled my motivation even more. ETA is by end of this year right on time for Christmas.
If you'd like to read more, here's an article about my CMS: https://medium.com/creativefoundry/what-i-learned-as-an-arti...
If you'd like to get Beta access, my email is listed in my profile.
I started on a Zig one and nope'd right on out of that after a few hours of fighting the compiler.
I'm currently working on porting a bunch of my Rust mini-games to other languages. [3]
[0] https://github.com/Syn-Nine/odin-mini-games/tree/main/2d-gam...
[1] https://github.com/Syn-Nine/c3-mini-games/tree/main/2d-games...
[2] https://github.com/Syn-Nine/freebasic-mini-games/tree/main/2...
[3] https://github.com/Syn-Nine/rust-mini-games/tree/main/2d-gam...
It seems like everyone just wants to make the next big popular engine with Rust because it's "safe", and few people really want to make actual games.
I also felt like prototyping ideas was too slow because of all the frequent manual casting between types (very frequent in game code to mix lots of ints and floats, especially in procedural generation).
In the end... it just wasn't fun, and was hard to tune game-feel and mechanics because the ideation iteration loop was slow and painful.
Don't get me wrong, I love the language syntax and the concept. It's just really not enjoyable to write games in it for me...
1) Highly Sybil resistant. Neither the keypair owner nor anyone else can re-use the same underlying ID to link to another keypair.
2) Very high anonymity. While the Sybil resistance requires a nullifier representing the underlying ID to be present in a database (or stored in a public, decentralized form for blockchain use), there is no way to connect that nullifier with the keypair. Even if someone were to use brute force to successfully connect the nullifier with a specific underlying ID, such as a passport, there is no way to connect that ID with the keypair. (In the passport case, even merely brute-forcing the nullifier could only be done by the issuing government, someone who has hacked the government database, or someone with physical access to the passport. This is due to the fact that other passport information than the passport number is included in generating the underlying zero-knowledge proof.)
I understand that other technologies may have similar end-functionality, but this has the advantage that most of the functionality is encapsulated in a single Rust executable that could be easily used in any context, whether distributed or decentralized. (If anyone would like to know more, my contact info is at garyrobinson.net.)
In fact, now that I think about it, zk-proof identity will be required in the near future since so many poorly run organizations are leaking ID documents.
Beyond the landing page (built with Astro), I've been building all of the route optimization, the delivery and warehouse management systems. A combination of go and java has allowed me to write a few microservices in the past 6 months to handle all of my logistical processes, and I'm just testing the mobile app in the field as we speak! I hope to make some of the code open-source one day!
Brief backstory: While visiting us overseas, my in-laws were in a very bad car accident. Everyone involved is alive and going to be okay. But what followed was a series of emotional, physical and logistical challenges that pushed my wife and her parents to their limits.
During this time I found myself (shamefully) hiding on my phone. I was obsessively refreshing for updates from insurance/hospital teams, sending empty messages, and mindlessly scrolling feeds. My screen time was averaging 12 hours a day. Time I could have spent being fully present with my wife and her parents.
I finally accepted I have a serious phone addiction. I tried Apple Screen Time and a few popular screen time management apps, but found the blocks were too easy to bypass, and some apps were as useful as they were distracting depending on the context (e.g. YouTube). I didn’t necessarily want to use my phone less: it’s an incredibly useful tool, and the distractions were sometimes helpful.
What I really needed was intentional stretches of time spent away from my phone. I built touchgrass.fm as a simple way to record and incentivize those stretches of time. It’s not quite finished, but it’s been helping me stay present for hospital visits, meals and important conversations.