Better HN
topnewbestaskshowjobs
Log inSign up

superdisk

1,626 karma · joined Jun 7, 2018 (8y ago) · 350 submissions

https://nickfa.ro
Submissions

181.

Tar.pl – A tar creator and extractor in ~130 lines of Prolog(github.com ↗)

271 points · by superdisk · 3y ago · 85 comments

comment 3y ago · link · parent

You're probably thinking of the fact that the game was compiled without optimizations. IIRC Giles Goddard who worked on the game said it was likely intentional in order to minimize any risks for the launch title. Later versions of the game were compiled with optimizations on.

comment 3y ago · link · parent

Wow, I just watched the first video and it's, hands down, the most crystal clear explanation of neural nets and backpropagation I've ever seen. Bravo.

comment 3y ago · link · parent

Been enjoying your open source Lisp libraries, congrats on releasing the game! I'll check it out.

comment 3y ago · link · parent

Fair enough, and I've done it just in SBCL like that before, but everyone always sings the praises of Lisp's (+ SLIME's) amazing debugging, and without the ability to stop at a certain stack frame and explore, I feel like I'm debugging with a blindfold on at all times.

comment 3y ago · link · parent

I like Lisp but I've had one perpetual problem with debugging it that makes me feel like I'm doing something wrong. Once I've hit a breakpoint, and SLIME or whatever presents its options, HOW can I get into a REPL in the context of the stack frame, so I can eval expressions that reference variables in scope there? The best I can find is pressing `e` over the stack frame to evaluate one expression, but that's garbage compared to the full repl (and hotkeys that send expressions to it like C-c C-e).

I feel like there must be some way to do this that I just haven't found yet.

187.

Translating song lyrics to code with ChatGPT(nickfa.ro ↗)

1 points · by superdisk · 3y ago · discuss

comment 3y ago · link · parent

Ah very interesting, thanks for the explanation! I'll definitely check out your lib if I ever get around to writing a homebrew NES game, I love quirky audio tricks :)

comment 3y ago · link · parent

Ah sure, but how about just generating a triangle using a small block of code in RAM? Then you're not wasting any storage.

comment 3y ago · link · parent

Cool. Kind of unrelated, but is there anything stopping someone from just generating a sawtooth DPCM sample at runtime and using the channel as normal without having to use crazy timing stuff?

comment 3y ago · link · parent

Cool. I did something similar with an old C program from the 80s by Peter Langston called Riffology, which was the algorithm used to generate the procedural music in Ballblazer.

I pasted the C files into Eclipse, deleted some `register` keywords, made a bunch of tweaks, and it ran fine as Java.

comment 3y ago · link · parent

> without parallelism, each stage in the pipeline would need to fully buffer its intermediate state before forwarding it to the next stage.

That's how DOS implemented the pipe syntax I believe.

comment 3y ago · link · parent

I always thought it was interesting that the original version of Popcorn sounds so much better and more full than the Hot Butter cover which sounds extremely beepy.

comment 4y ago · link · parent

Similar frustration and mind boggling for me when I found that the "custom focus" feature on iOS just does... nothing. It's a feature where you're supposed to be able to select which specific apps can send notifications to you, so I made one which allows Slack to come through (for work) and blocks everything else. Instead, it just allows everything through as if the "custom focus" wasn't enabled at all.

No seriously, I'm baffled. How was this released?

comment 4y ago · link · parent

Doesn't disrupt your hormones though. I'll take it.

comment 4y ago · link · parent

God, there's something uniquely bad about searching for Python standard library stuff. I swear every time I search `python len` or something and w3schools, geeksforgeeks, programiz, and all sorts of other annoying useless SHIT appears I want to scream. Just show me the Python docs!

comment 4y ago · link · parent

libXaw is difficult to use and there aren't really suitable widgets for many purposes-- it only really has buttons and textboxes. It doesn't support sophisticated layouts either, it just stretches the controls rather than letting you define any sort of anchors/margins.

comment 4y ago · link · parent

Someone replied to you claiming he's shadowbanned, and sure enough it's a dead comment and 90% of his stuff is dead as well, despite seeming to be pretty innocuous. Turn showdead on and see for yourself.

comment 4y ago · link · parent

Like 80% of dead comments I see here are actually very valuable and reasoned.

comment 4y ago · link · parent

https://all-things-andy-gavin.com/2011/02/02/making-crash-ba...

Perennial classic.

comment 4y ago · link · parent

I'm currently in Japan and get paid in USD. Prices are insane, you can get a really nice lunch for like 5 bucks. A tall can of coke is 70 cents. It was even more cheap a few weeks ago when 100 yen was 67 cents.

comment 4y ago · link · parent

How did Python go so off the rails? It seems like every month there's more crazy shit being added to it. And I love macros, they just don't belong in Python at all.

comment 4y ago · link · parent

Does it render all that using X or what?

comment 4y ago · link · parent

Love this program. It's by far the most comfortable tracker, frankly I'm not sure how anyone uses anything else :)

comment 4y ago · link · parent

They're leveraging new ORDER BY technology to deliver amazing product experiences.

comment 4y ago · link · parent

The GTA trilogy remasters actually run on the original game engine under the hood, the only thing they changed was the renderer (Unreal Engine instead of RenderWare).

comment 4y ago · link · parent

I think it's just temporarily down due to the load from this post.

comment 4y ago · link · parent

Just tried it, the results seem pretty poor, about on par with Craiyon/DALL-E Mini. I don't think OpenAI should be worried quite yet.

comment 4y ago · link · parent

That name actually was an homage to Gulliver's Travels, where it was intentional.
1
678
12