News for hackers. Stuff that matters.

jimmyhmiller

Re:The Magic of Partial Evaluation on Wednesday November 18, 2026 @04:09PM (#50552150)
Comptime in zig is definitely quite cool, but not quite the same.

Consider this example. https://jimmyhmiller.com/split-shot/#/vm

Make the code a comptime argument in zig and you get "store to comptime variable depends on runtime condition".

Re:Untapped Way to Learn a Codebase: Build a Visualizer on Friday February 20, 2026 @04:32PM (#47094275)
I try to explain what I mean the next few sentences of the post. I have spent a good amount of my career jumping into fairly large code bases. I don't need to take it quite so step by step. I have seen enough code to take shortcuts, to guess at what is there.

But telling people that isn't helpful. I try at the beginning to give more step by step of how I would get into understand the code base if I didn't already know these kinds of shortcuts. (I'm not sure I could write those down, they are just know how and heuristics, like how when you are a starting to code a missing ; can take a much longer time to see than as you've been programming for a while)

Re:"We ran out of columns" – The best, worst codebase on Saturday August 03, 2024 @11:05AM (#41146983)
This is something I've had to train myself to overcome. The first step for me was having a place where I clearly signaled that this wasn't my best work. Where the rules were allowed to be broken. That place is my junk drawer of code[1].

I have a zsh alias `alias changes='git add . && git commit -am "Changes" && git push'` that I use for my commits in the repo.

This all may feel silly, but it's what I needed to get back to that time of playing. Where I never worried about the code. But where I also didn't feel I was wasting my time working on code no one could see. I'd definitely recommend trying something like that if you are struggling with it.

[1]: https://github.com/jimmyhmiller/PlayGround

Re:"We ran out of columns" – The best, worst codebase on Saturday August 03, 2024 @10:45AM (#41146861)
As in munching on snacks
Re:What Follows from Empirical Software Research? on Monday April 24, 2023 @11:40AM (#35689028)
Yeah, you could very well be right this is all overkill. But what I wanted to do was handle the general case rather than deal with things on a case by case basis. So to extend your analogy, I consider this blog post a parser generator. It isn't suppose to parse any particular text, but to allow you to create a parser for anything you want.

I've found that my short replies to empirical advocates seem to not connect. There seemed to be an assumption that I just wanted to hold onto my opinions and not think deeply about anything. So I wanted to do the exact opposite. Be as pedantic as I could (in the space of a shortish blogpost).

Re:What Follows from Empirical Software Research? on Saturday April 22, 2023 @11:33PM (#35673078)
I think you missed the point of the article. I actually don’t do TDD at all. I’m actually personally not a fan. So feels a little weird that you thought this was an article trying to justify TDD use.
Re:What Follows from Empirical Software Research? on Saturday April 22, 2023 @09:23PM (#35672473)
The TDD example was just an example. I wasn’t taking the actual finding of the TDD research I was talking about a hypothetical finding. You can replace the examples with AIs like copilot and stipulate a large effect size. Nothing I said would really change. You still have to look at your desires to figure out what you ought to do given that research.
Re:What Follows from Empirical Software Research? on Saturday April 22, 2023 @03:44PM (#35670267)
In the article I’m assuming ideal conditions. So if you think a large effect size is important, throw that into the ideal conditions. I don’t think that changes anything I wrote. Maybe I’m missing something?
Re:HTTPS: //Jimmyhmiller.github/Empirical on Saturday April 22, 2023 @08:22AM (#35665868)
Yeah feel like an idiot for this one accidentally submitted this on mobile without noticing the autocorrect putting spaces. And the missing of io. And the fact that it was the title not the url… I wasn’t actually trying to submit. Just fat fingered it. Made a new post. Would love if this was deleted.
I think all papers are flawed in their own way. So it is not meant as a slight. It is actually my favorite programming related paper. That said:

I think Naur was just a bit to vague and assumed background knowledge of Gilbert Ryle where most people don't have any. I think a lot of people finish reading the paper and don't realize what Naur's notion of theory is or how his radical conclusions follow.

This blog does pretty good job summarizing Naur's points. (My only quibble is equating mental models with theory in Naur's sense, but its an okay approximation). I definitely recommend people read the original paper. It's a flawed but beautiful paper.

Shameless self plug:

We just did an episode on Naur's Programming as Theory Building in the most recent episode of the Future of Coding Podcast.

https://futureofcoding.org/episodes/061

Re:Atlas, a hopefully better engineering IDE on Monday May 10, 2021 @11:39PM (#27113972)
Frink[0] is a language specifically designed for dealing with this kind of stuff. It has tons of units and conversions.

[0] - https://frinklang.org/#HowFrinkIsDifferent

Re:Where Sci-Hub Is on Monday February 24, 2020 @10:36PM (#22410723)
The page was using zeit 1.0 before, which means it was a container and not a serverless function. (I know you know Rauchg, just explaining for other people). This container was actually failing because of rate limiting by wikidata causing an unhandled promise failure.

I had made a fork of this to show it working on zeit now 2.0 with 'stale-while-revalidate' so that it only update once every minute. But obviously I took that fork down once I saw this comment.

Thanks for the reference. Espresso doesn't support recursive records. Does system in your paper allow for those? Is there anything particularly tricky about supporting them?
With Clojure you get that feedback loop by running everything in an open repl. No startup time needed.
Re:Judge Rules Trump Can’t Block People on Twitter on Wednesday May 23, 2018 @02:49PM (#17136937)
Isn't this case about North Carolina (the government) banning sex offenders from social media?
Re:Firefox 50.0 on Tuesday November 15, 2016 @04:10PM (#12962250)
I'm on tree styles tabs 0.18.2016090802 and firefox 50.0 and haven't had any problems.
[Create React App](https://github.com/facebookincubator/create-react-app/blob/m...) simplifies setup greatly. I'd really recommend giving it Ila try.
Re:Show HN: Plain text for the web on Sunday January 03, 2016 @11:32PM (#10834006)
Hey, awesome idea. Can't wait to try it out. Unfortunately I'm getting a 504 when I try to register. If you could let me know when things are back up and running that would be great.
Re:Mancy: JavaScript REPL on Friday October 30, 2015 @01:41PM (#10479265)
I did the same thing and pointed to a node_modules folder on a project I had. Worked fine for me.
Re:Mancy: JavaScript REPL on Friday October 30, 2015 @10:55AM (#10478165)
Well, rather than commenting on download size I'll talk about the program.

This looks really awesome! I've been wanting a nice js repl for a while and this one definitely has a lot of the qualities I was looking for.

Auto complete is very nice. Color syntax looks great. The biggest thing I would like to see is to persist history. I'd love to up arrow through previous sessions.

Overall nicely done!

Boulder is one of the places I was looking to move. But looking at houses there it seemed far from affordable. Is that not the case?
Re:Project Euler Humble Return on Friday August 07, 2015 @10:07PM (#10026067)
Maybe I'm a bit confused, but it doesn't seem by your announcement that you are opening up the source, just inviting people to try and hack. Having the source open would make it much easier to spot security problems.
Re:A first GraphQL Server on Monday July 13, 2015 @03:35PM (#9880480)
How does resolve deal with asynchronous calls? The name almost suggests that you might be able to return a promise?
The site appears to be down. Anyone have a mirror?

Older »