Readit News logoReadit News
tmerr commented on Ask HN: Share your personal website    · Posted by u/susam
tmerr · 2 months ago
My personal site is tmerr.com

There is one post, and I haven't shared it publicly before so that's something!

tmerr commented on The creator of Claude Code's Claude setup   twitter.com/bcherny/statu... · Posted by u/KothuRoti
tmerr · 2 months ago
This is interesting to hear, but I don't understand how this workflow actually works.

I don't need 10 parallel agents making 50-100 PRs a week, I need 1 agent that successfully solves the most important problem.

I don't understand how you can generate requirements quicky enough to have 10 parallel agents chewing away at meaningful work. I don't understand how you can have any meaningful supervising role over 10 things at once given the limits of human working memory.

It's like someone is claiming they unlocked ultimate productivity by washing dishes, in parallel with doing laundry, and cleaning their house.

Likely I am missing something. This is just my gut reaction as someone who has definitely not mastered using agents. Would love to hear from anyone that has a similar workflow where there is high parallelism.

tmerr commented on I/O is no longer the bottleneck? (2022)   stoppels.ch/2022/11/27/io... · Posted by u/benhoyt
eru · 2 months ago
You can do something like that, but you still need to be able to tell your OS when you want to sync what writes to disk.
tmerr · 2 months ago
Yes the situation sounds similar to regular files to me. Iiuc mmap can implicitly sync to files, but it is only guaranteed after unmapped (akin to closing a file) or an explicit call to msync (akin to fflush).
tmerr commented on I/O is no longer the bottleneck? (2022)   stoppels.ch/2022/11/27/io... · Posted by u/benhoyt
gary_0 · 2 months ago
Yes, I know mmap already sort of allows this (and has for well over a decade). To elaborate: when I want to, say, parse a megabytes-sized file, I don't muck about with mmap(), I just read() into a buffer; it's simple and it's fast enough even though I'm just wasting microseconds waiting for bytes on one fast chip to get copied into another slightly faster chip (and then copied into CPU cache). If I'm dealing with a larger amount of data, I'd be tempted to use database middleware to figure out all the platform-specific shuffling between RAM and disk (designed on the assumption that the disk is spinning rust, cough), but that pulls in yet another chunk of complexity.

Instead, imagine if I could just state in one line of system-agnostic code "give me a pointer to /home/user/abc" and it does the right thing--assuming there was some way around mmap's current set of caveats. Imagine if I could turn a memory buffer into a file in one line of code and it Just Worked. Imagine if the OS treated my M.2 SSD as just another chip on the bus instead of still having a good amount of code on the hot path that assumes I'm manually sending bytes to a mechanical drive.

tmerr · 2 months ago
This has me thinking, it could be a fun project to prototype a convenient file interface based on pointers as a C library. I imagine it's possible to get something close to what you want in terms of interface (not sure about performance).

I suspect in some cases it will be more convenient and in other cases it will be less convenient to use. The write interface isn't so bad for some use cases like appending to logs. It's also not bad for its ability to treat different types of objects (files, pipes, network) generically.

But if you want to do all manipulation through pointers it should be doable. To support appending to files you'd probably need some way to explicitly grow the file size and hand back a new pointer. Some relevant syscalls would probably be open, ftruncate, and mmap.

tmerr commented on Neato vacuum robots to stop working   support.neatorobotics.com... · Posted by u/simonlondon
skrebbel · 4 months ago
Meta note: I think we should be angrier at Apple and Google over this. It’s in their interest to push everyone and everything to the cloud (their clouds ideally) and so they never pushed for great local connectivity solutions in their phone OSes.

There’s not really a good reason why it has to be hard for a device to connect to a nearby phone over some reliable signal, eg a home’s existing wifi network. (HN disclaimer: yeah yeah, i know it’s possible, but it’s a big hassle and the UX sucks so a manufacturer is effectively forced to go cloud if they want a device to be controllable from an app). The industry could have long developed some fancy protocol/system over wifi intended for just that. But device manufacturers aren’t strong enough to push for that in networking land, and Apple/Google/Microsoft have an interest against “local” becoming a normal thing normal people can figure out.

I feel like this is what regulation should be about. Instead of demanding that companies open source their systems if they go under, IMO we should have rules saying that smart devices shouldn’t need internet access for controlling them from nearby. If rules like that are in place, a push for a way to make the UX for that as good as it is via some cloud server will automatically happen.

tmerr · 4 months ago
I mean. I've owned several IoT devices that work either locally or over the internet. Some of this you can just blame on local networks being fiddly in ways that are difficult to control.

Over local network it's an unreliable assumption that device A can discover device B through some form of broadcast. There are ways to intentionally or unintentionally block that. And then even if you know each party's IP, some networks will intentionally isolate different users for security reasons.

Is it an Apple/Android limitation or a more basic networking limitation that drives devices to communicate with centralized servers on the internet?

And yes I agree it does seem ridiculous.

tmerr commented on Show HN: I built a synth for my daughter   bitsnpieces.dev/posts/a-s... · Posted by u/random_moonwalk
Waterluvian · 4 months ago
If I have zero experience designing PCBs but wanted to do a similarly (non)-complex one, how much of a tall order would that be? In my completely made-up mental model, I'm guessing I just take the parts I've already breadboarded, look them up in some sidebar, and drag and drop them around, snapping to nice clean spacing, and then connect all the various pins together and have it automatically organize things? We're not going for perfect here. Just "Baby's first PCB" that at least works.

And then when I have one designed, how much would it cost to get made and sent to me if I was okay if it took a month?

But most importantly: how do I build personal confidence that I'm not shipping a potato off to be printed? Is there a community I could ask for a review from?

tmerr · 4 months ago
For another data point: last week I ordered my first PCBs from JLCBCB. 2 fully assembled (parts already soldered) and 3 bare. $40 for the boards themselves, $40 for shipping, and $20 for US Tariffs, for total $100. Should take a week to arrive, shipping's cheaper if your willing to wait a month.

Re help: I asked for some help on libera ##electronics. I think there are larger communities on reddit that would also take a pass over designs.

My impression is that for straightforward circuits (not very high frequency or high power) you can get away with almost anything as far as layout goes. You punch in some generous setting for spacing of traces etc in the CAD software and it does some basic validation. (Are all the parts connected, not too close?).

I used KiCAD. It works well, though for assembly EasyEDA is probably lower friction. I had to dig around to find the right footprints for certain parts.

tmerr commented on Ask HN: Who wants to be hired? (July 2024)    · Posted by u/whoishiring
DrMiaow · 2 years ago
Location: Beijing, China

Remote: Yes

Willing to relocate: Yes, but.... due to my unique diplomatic status, I cannot relocate unless the price is right. I don't need to work, but I will for the right project or company.

Technologies: C, C++, C#, TypeScript, JavaScript, Node.js, React, WEBASM, NGINX, SQL, Redis, Python, AWS, Docker, Kubernetes, Ansible, Terraform, CUDA, Video Encoding, Jupyter, PyTorch, LLMs, MPEG (Low-level video encoding), Linux, TV and Mobile development. HbbTV, ATSC 3.0 (NextTV). OpenTV. Design: Figma, Balsamiq, Adobe CS.

Hi. I'm a highly self-motivated builder and problem solver. Nominated for multiple technical Emmys. You name it, I have built it, at scale. Give me a team, and I will teach them how to do it right and efficiently. My previous project was a Twitch-killing streaming system for 200M+ simultaneous viewers. I can build anything. I can find a solution to any problem. I specialise in building streaming services. If you own a TV you are likely using my software already. For money, I design and build national-scale broadcast systems. Do you want to build a Netflix? I can do that from the ground up. For fun, I am currently building a large-scale AI project in public. ( https://www.youtube.com/watch?v=sqvHjXfbI8o )

Résumé/CV: https://blog.metawrap.com/1994/12/28/resume-of-james-mc-parl...

Email: james@metawrap.com

tmerr · 2 years ago
Heh, I'd recommend replacing dead links on the blog with https://web.archive.org/ ones.

Based on how broken the site's external links were I incorrectly concluded the whole blog was created by genAI. Then I thought to check web.archive.org and found they're legitimate links & it's just internet bit rot.

tmerr commented on A curious phenomenon called 'Etak'   maphappenings.com/2024/04... · Posted by u/MBCook
gizmo · 2 years ago
One the one hand this is a cool story about real technology pioneers. On the other hand, this is a story about people building technology that was so ahead of its time that it had no chance of turning into a good product. Too expensive, too unreliable, too complicated.

I think there are some obvious parallels here to General Magic and the Apple Newton. Very cool technology. Impressive demos. But ultimately the products didn't deliver on the vision. It wasn't until the iPod and capacitive touch screens and tiny hard drives came to the market that the iPhone became possible. Being 20 years early doesn't help.

Similar catastrophically flawed research projects get started today. In the past couple of days the Humane AI pin has been in the news. It's a wearable AI gadget that seems cool but it doesn't work. The tech has to catch up to the vision. It's at least a decade ahead of its time.

tmerr · 2 years ago
A more optimistic takeaway is that if you set out to solve a hard problem then you might be surprised about your tech's applications elsewhere. Between 1983 and 1989 they built a company that they went on to sell for ~25 million, or ~64 million in 2024 dollars. I don't know how much went into it but it doesn't sound like an obvious failure.

http://pqasb.pqarchiver.com/latimes/access/60130710.html?did...

tmerr commented on Go: What we got right, what we got wrong   commandcenter.blogspot.co... · Posted by u/veqq
norir · 2 years ago
> Also, writing a compiler in its own language, while simultaneously developing the language, tends to result in a language that is good for writing compilers, but that was not the kind of language we were after.

I have seen this sentiment a few times recently. First of all, it raises the question is a language that is not compiled in itself a bad language for writing compilers? My intuition is usually yes. Secondly, the implication is that a good language for compilers will not be good for other applications. I really don't understand this because a compiler will use most of the same building blocks that are used for other programs.

I would really like more context into what the author is trying to say though.

tmerr · 2 years ago
The ideal set of building blocks depends on the problem.

If the building blocks make it easy to write concurrent code (Go, Erlang), then it becomes easier to write a server. If they make it easy to represent "A or B or C" and pattern match on trees (ML-like languages), then it becomes easier to write a compiler.

Add to that: if you are trying to make an easy to onboard language, you want to look at how beginners use it, not experts. Someone writing a compiler for language X is certainly an expert in X.

tmerr commented on Backward Compatibility, Go 1.21, and Go 2   go.dev/blog/compat... · Posted by u/philosopher1234
KronisLV · 3 years ago
I wonder why Go isn't the new Java/.NET (yet?).

Clearly a lot of tools and APIs have been written in it, many would describe not needing a separate runtime on the target system as a big plus and the language seems simple enough to learn and utilize (with VSC support and GoLand both being good), even the typical complaints like the error handling don't seem like dealbreakers.

I wonder what's missing for Go to become a mainstay of development for the decades to come, or at least take up a huge chunk of the job market instead of being considered a niche language in some places.

tmerr · 3 years ago
Maybe the decline of desktop applications (Java, C#) and Android (Java)? And then Go coming out with some killer frameworks? I have to stretch my imagination to imagine anything causing Go to outpace C# or Javas ecosystem.

u/tmerr

KarmaCake day501October 4, 2012
About
github.com/tmerr
View Original