Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aappleby
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
181.
▲
by
aappleby
2y ago
I made a proof-of-concept text viewer with this in mind - https://github.com/aappleby/wideboard
182.
▲
by
aappleby
3y ago
30,020 first try. Game seems less likely to get permastuck that it looks at first.
183.
▲
by
aappleby
3y ago
I don't have a good name for it, but I used the same pattern 20ish years ago for game engine stuff. Java folks might have a name. It's similar to the Foo().bar().baz() constructor pattern.
184.
▲
by
aappleby
3y ago
It's an impressive pile of components on one chip, but the lack of pricing and dev board info is annoying. Anyone know if Efinix FPGAs have a decent tool chain?
185.
▲
by
aappleby
3y ago
Having spent a good chunk of my career optimizing C++ game engines - don't do this. If virtual vs non-virtual function calls are causing you performance problems, you're calling way too many functions per frame. Batch the objects
186.
▲
by
aappleby
3y ago
Not if Hancho beats you to it. ;) https://github.com/aappleby/Hancho In all seriousness, I think both our projects are aiming in the right direction, mine is just more focused on minimalism at the cost of having extra-
187.
▲
by
aappleby
3y ago
I recently wrote Hancho ( https://github.com/aappleby/Hancho ) that is designed to be fully dynamic; I thiiiink it would fit most of the desired criteria here (aside from cloud caching) but I'm not positive. I'
188.
▲
by
aappleby
3y ago
I've submitted some of them individually in the past. I thought that a summary of all my 2023 projects would be interesting in itself.
189.
▲
Show HN: One year of full-time work on personal projects since leaving Google
(aappleby.github.io)
17 points
by
aappleby
3y ago
|
5 comments
190.
▲
by
aappleby
3y ago
nice!
191.
▲
by
aappleby
3y ago
I've used this for decades. The sweet spot for ui components seems to be moving 90% of the way to the target every 80 milliseconds.
192.
▲
by
aappleby
3y ago
For loops are one of those things that just don't really exist in hardware. The way I like to think of hardware is as a machine that takes a giant blob of state, applies a pure function to it, and when the clock goes from low to high i
193.
▲
by
aappleby
3y ago
Hancho parses .d files.
194.
▲
by
aappleby
3y ago
You are welcome! Single-file tools please me.
195.
▲
by
aappleby
3y ago
Author here. I hadn't heard of Doit, but it does look similar to Hancho. Hancho pushes much harder on the minimalism side, however. I think I may steal Doit's "actions can be arrays of commands" feature, as that would be
196.
▲
by
aappleby
3y ago
Author here. I do most of my development in WSL but do have a few projects that I want to get working again with Windows/MSVC - I will be using Hancho for those builds and expect it to work fine cross-platform though I haven't tac
197.
▲
by
aappleby
3y ago
License added.
198.
▲
by
aappleby
3y ago
Hi, author here. I'm slightly confused by your bullet points - are you asking if Hancho supports these patterns? - "Execution" of a rule can add new task nodes to the DAG (via Rules with command=<async Pythonfunction> -
199.
▲
by
aappleby
3y ago
Please ping me back with your experience using it for ESP32 stuff. I've already used Hancho to build FPGA bitstreams with the Icestorm tools and it was delightful, but as the author I'm not a neutral observer. :)
200.
▲
by
aappleby
3y ago
True, if you need sandboxing you've already committed yourself to a build system 10x larger than Hancho. If you don't need sandboxing, you can ditch a _ton_ of complexity.
201.
▲
by
aappleby
3y ago
Bazel's "macros" are just Python functions in Hancho. Manipulating the object files directly to link them into a binary can be wrapped up in a 2 line Python function if you want to abstract over how the link rule works. Both
202.
▲
by
aappleby
3y ago
It's not "better" than a Makefile, just different. I find it easier to understand and maintain. I've used Makefiles for decades and I still find myself looking up basic Make syntax.
203.
▲
by
aappleby
3y ago
Tup is interesting, but it requires keeping track of dependencies in a SQL (sqlite?) database - already more complex than Hancho it seems.
204.
▲
by
aappleby
3y ago
License added
205.
▲
by
aappleby
3y ago
?
206.
▲
Show HN: Hancho – A simple and pleasant build system in ~500 lines of Python
(github.com)
162 points
by
aappleby
3y ago
|
56 comments
207.
▲
by
aappleby
3y ago
Bit outdated?
208.
▲
by
aappleby
3y ago
The article is somewhat silly, but there's a kernel of good advice here - To estimate the "complexity" of a codebase: 1. Remove all comments 2. Replace all spans of whitespace with a single space 3. Concatenate all source tog
209.
▲
by
aappleby
3y ago
How much of the global resource pile can you realistically consume in a year, assuming you ate and drank and traveled as much as you were physically capable of?
210.
▲
by
aappleby
3y ago
This is known as the "false equivalence fallacy".
More ›