Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
codebje
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
361.
▲
by
codebje
5y ago
The eZ80 is a better Z80, but it's still a Z80. It's worse in pretty much every way to a modern MPU. The STM32 line is my preference for performant parts - there's an STM32L0 on the board doing USB to serial. I could likely e
362.
▲
by
codebje
5y ago
The board runs at 3v3, the CPU consumes around 140mA, with SD and Ethernet off its just memories and LEDs adding to that, so typically not much higher than 150mA sustained. It's likely a bit less than that over USB Vbus but it's j
363.
▲
by
codebje
5y ago
You can buy brand new 20MHz Z80s, but with the multiple clock cycles per instruction they'll still be slower overall than a 20MHz AVR. The later chips in the 8-bit family are much more power efficient; I built an eZ80 board whose total
364.
▲
by
codebje
5y ago
Turbo Pascal used to support building your program as multiple executables with a shared data space, so you could chain from one part of your application to another.
365.
▲
by
codebje
5y ago
Absurdle is static - once you get a word in four it's beaten forever. The spirit of Wordle means it's better to always re-use your successful guesses, but Absurdle has no target word. It's a game of filtering the word list do
366.
▲
by
codebje
5y ago
A dependent type is a function from a value to a type - where a value is a runtime value, not a compile time constant. Can you do 'MyType<n> foo(int n) {...}' ?
367.
▲
by
codebje
5y ago
If package A depends on package C at version 1.0 but package B depends on C at version 1.1, what version of C will be pulled in? Dependency management is not as simple as only upgrading one direct dependency at a time after careful review.
368.
▲
by
codebje
5y ago
Doesn't that make Twitter the central authority providing the trust framework required for it to work?
369.
▲
by
codebje
5y ago
I do love a good pedantic correction, thank you :-)
370.
▲
by
codebje
5y ago
Because 'coding' is just slang for 'programming'.
371.
▲
by
codebje
5y ago
Are those results useless? The question posed early in the blog was whether Duff's Device is still relevant in 2021. The fact that the compiler can completely elide the loop without it but cannot with it is a pretty good indicator that
372.
▲
by
codebje
5y ago
#41 - if you write a system that can accommodate all 40 previous examples, you can still integrate it with the popular brand customer management system your company wants to use.
373.
▲
by
codebje
5y ago
Perhaps we could alter government policy then?
374.
▲
by
codebje
5y ago
It sounds exactly like a DikuMUD zone, where each place has an exit to another place in four cardinal directions plus up or down, but those exits do not need to be symmetrical. Loops, warps, multiple exits into the same place. The graph is
375.
▲
by
codebje
5y ago
It wouldn't (likely) be the main way you program a device so much as an interpreter available on the device for interaction. I last used it on an ARM micro. Building and deploying a new image to flash is substantially slower than using
376.
▲
by
codebje
5y ago
I used uLisp in a project. I had no available non-volatile storage so I handled persistence by writing my code on the laptop and sending it serially to the micro. When some functions proved to be stable and useful I ported them in as uLisp
377.
▲
by
codebje
5y ago
ZSDOS provides replacements for two of the three parts of a CP/M system: BDOS and CPR. The existing BIOS should work perfectly with these replacements, and the BIOS is the only part that is machine specific. IOW it should run just fine
378.
▲
by
codebje
6y ago
The assumption would be the limit you actively test for.
379.
▲
by
codebje
6y ago
Wouldn't a partial order be possible using logical clocks? Vector clocks probably don't satisfy "practical" but a hybrid logical clock is practical if you can assume clock synchronisation is within some modest delta.
380.
▲
by
codebje
6y ago
I don't know of a competition, but there is an 8-bit retro discord server: https://disboard.org/server/643973143358341151 Various projects get shown off, plenty of boards built around retro (and quasi-retro) CPUs,
381.
▲
by
codebje
6y ago
The MUD I think will be fine, it's my interest in playing it that I'm not so sure about :-) As I said in the other reply on this thread, it's RavenMUD, ravenmud.com 6060.
382.
▲
by
codebje
6y ago
RavenMUD. It's now running on ravenmud.com port 6060.
383.
▲
by
codebje
6y ago
This week I reconnected to the MUD I used to play 20 years ago. I'm amazed it's still running. I've forgotten nearly everything. I've been having a blast these past few days exploring the vast world. There's nothing
384.
▲
by
codebje
6y ago
Aren't culture and cuisine arguments exactly "I like it, and I can" ? Morality changes in time and space, and is a product of culture. Consider what other behaviours have been or still are a strong central part of cultures th
385.
▲
by
codebje
6y ago
> As insanely inefficient as this all sounds, it was actually done back in the day. Java, Python, Perl, Ruby, and a host of others say this isn't a dead technique. Another reason for it back then was to only need to port the interpr
386.
▲
by
codebje
6y ago
Ah, I'd missed that you're supporting the 8080. I don't know of any others, no. Just in case you get the wrong idea: I'm very grateful that you put CP/Mish out there. My Z80 retroboard project benefited from it (I u
387.
▲
by
codebje
6y ago
I've ordered boards made with Eagle, KiCAD, and EasyEDA. I'd recommend KiCAD of that list, but the first board I did with it suffered from the bad defaults for mask distances, and none of the fine pitch parts had mask between pins
388.
▲
by
codebje
6y ago
I've used JLC for PCBA. They use LCSC for parts, and have a separate inventory. You can only get parts that LCSC stock assembled, which is a pain - I ordered and soldered a QFP-144 part myself because it's not in their list. But A
389.
▲
by
codebje
6y ago
Making the highly custom build scripts work for your homebrew Z80 is usually more trouble than it's worth. CP/Mish uses a niche (like, niche even compared to compiling for Z80 at all) compiler and Lua build scripts. Many of the ap
390.
▲
by
codebje
6y ago
The upper bound on environmental harm is the damage that would be done by the most harmful energy production method used: any renewable energy spent on mining could be used instead to replace that harmful production. (It's only an uppe
More ›