Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
davemp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
121.
▲
by
davemp
1y ago
I’ve seen and had ‘make -j’ dos machines enough times that I consider it a bug.
122.
▲
by
davemp
1y ago
> …to me it looks that in the next century or so humans are going the way of the horse, at least when it comes to jobs. I’m not sure. I think we can extrapolate that repetitive knowledge work will require much less labor. For actual AGI
123.
▲
by
davemp
1y ago
I find these type of efforts somewhat disappointing. So much OS research boils down to “We’ll handle scheduling and rudimentary peripheral multiplexing good luck on rest”. These basics are so far from a useful system that you’d have to slap
124.
▲
by
davemp
1y ago
When I was last working with machine code, I found capstone to be very useful. Even just reading the source was helpful for some of the conditionally present amd64 fields. https://github.com/capstone-engine/capstone
125.
▲
by
davemp
1y ago
What I’m thinking is more like the Gov being able to furnish key designs to organizations that can plausibly iterate on them. So orgs don’t have to make massive investments to catch up to and integrate SotA phased array radars, flight contr
126.
▲
by
davemp
1y ago
I’ve started to think that the Gov. needs to act more like a pseudo open source maintainer rather than customer or designer. Competition helps on many different axis, but the gov not owning the designs (whose R&D we paid for) drasticall
127.
▲
by
davemp
1y ago
Not sure I agree. If you’re going zig->C->obj, you’d still have to fix the zig source if you find an issue in the C level. If you don’t want to learn or debug in a new language then you should probably just stick with C? The goal of z
128.
▲
by
davemp
1y ago
So you can just extern the functions you want, handle all the errors internally, and stick it into your makefile with? %.o: %.zig zig build-obj *.zig -o *.o Not sure I get OP’s complaint then.
129.
▲
by
davemp
1y ago
I’m using zig for embedded builds currently. All of the mcu files are still in C (arm thumb isn’t first class supported in zig) but the host software is sometimes zig. Being and to easily develop on and for any host platform is such a pleas
130.
▲
by
davemp
1y ago
Replacing C != coexisting seamlessly. Exposing an idiomatic C interface by default would handcuff Zig’s own design. > Having to know the full set of Zig sources in advance due to error types You can just catch all of the errors and trans
131.
▲
by
davemp
1y ago
My current project is a huge C++ physics sim written over 15+ years. The most common and difficult to diagnose bug I’ve found is unit conversation mistakes. We likely wouldn’t even find them if we didn’t have concrete data to compare agains
132.
▲
by
davemp
1y ago
I would consider a PCB schematic to be part of an electrical schematic. Even if you don’t, you still have to consider final layout because some lines will need EMF protection. The linear equations and boolean algebra are just a (extremely u
133.
▲
by
davemp
1y ago
Not entirely true. Routing is a very important part of electrical schematics.
134.
▲
by
davemp
1y ago
The US has really poor highway policy that encourages speeding. Many highways have a speed limit of 55mph (89kmh) left over from some ancient oil rationing law. [0] So folks are conditioned to think that speed limits are stupid, because fra
135.
▲
by
davemp
1y ago
I’m not much of a gear head but I believe that a car would perform much worse at 0-80mph if it couldn’t physically reach 120mph. You can artificially limit it and I think that’s what folks take with.
136.
▲
by
davemp
1y ago
The problem is resistance and parasitic capacitance scales with wire length, e^(-t/RC) is going to limit your max frequency.
137.
▲
by
davemp
1y ago
Computer scientists continue to pick terrible names. Pipelining is already an overloaded concept that implies some type of operation level parallelism. Picking names like this does everyone in the field a disservice. Calling it something li
138.
▲
by
davemp
1y ago
I’m not sure. Command based editing opens more doors than just optimizing keystrokes. There are edits I somewhat regularly do with Vim macros that save me minutes of typing and cognitive burden of examining refactor locations. It’s probably
139.
▲
by
davemp
2y ago
Yeah, I’m leaning towards zig but I’m a bit on the fence still. For Rust, I kind of got tired of writing unsafe rust for embedded, but that’s addressable afaik. The real dealbreaker was that after 10k+ lines of code I still will pop open th
140.
▲
by
davemp
2y ago
Let’s not pretend that Apple could come up with some sort of dual windowing system (or just dual boot) scheme. We’re not limited by drive space anymore. They don’t because it would hurt macbook sales.
141.
▲
by
davemp
2y ago
“You will own nothing and be happy.” includes public ownership through your government I guess.
142.
▲
by
davemp
2y ago
For sure. Maybe less accidental complexity. Embedded has been doing asynchronous IO since before it was cool. You also have distributed computing if you’re doing something like sensor networks.
143.
▲
by
davemp
2y ago
> I'm curious if the algorithm for reusing memory is smart enough to handle something like manually allocating the maximum amount of memory needed for the lifetime of the program up front and then re-using that for the duration of t
144.
▲
by
davemp
2y ago
> Since programmers these days typically read their code on-screen, not on paper, it's not clear why the size of a sheet of paper is relevant any longer. Folks spent a while (centuries?) iterating on the standard page and character
145.
▲
by
davemp
2y ago
> At this point, optimizing compilers are excellent and probably have more architecture details baked into them than I will ever know. While modern compilers are great, you’d be surprised about the seemingly obvious optimizations compile
146.
▲
by
davemp
2y ago
Well it’s working in practice so I don’t really know what to tell you. > because each projects needs a different toolchain Not true. > Different languages I don’t think a caveat for C/C++/zig source files was needed… > Di
147.
▲
by
davemp
2y ago
While I don’t think we should be hoarding vulns, the idea of the government having huge budgets to find and disclose software defects is a bit strange to me. Seems like another instance of socializing bad externalities.
148.
▲
by
davemp
2y ago
I don’t have a review, but here’s a significant project using it in a complicated cross platform build with different systems dependencies: https://github.com/raysan5/raylib/blob/master/build.zig They al
149.
▲
by
davemp
2y ago
I’ve written a fair amount of Makefiles and bounced off of cmake. Recently I’ve started using zig to build some C++ projects and will not be switching back. Having your build tool just be a library in a good general purpose language is the
150.
▲
by
davemp
2y ago
> even the most hawks Americans can only think about how to defend and A2/AD if the Chinese intervene in taiwan Works both ways.
More ›