Better HN
topnewbestaskshowjobs
Log inSign up

dom111

147 karma · joined Feb 5, 2021 (5y ago) · 44 submissions

Submissions

comment 7mo ago · link · parent

I always wondered if the "radiation hardening" approaches of the challenges like this https://codegolf.stackexchange.com/questions/57257/radiation... (see the tag for more https://codegolf.stackexchange.com/questions/tagged/radiatio...) would be of any practical use... I assume not, as the problem is on too many levels, but still, seems at least tangentially relevant!

comment 1y ago · link · parent

I had this article show up for me today and thought it was interesting: https://glassalmanac.com/china-confirms-covering-deserts-wit... so shared (what I believe is) the paper cited within.

Apologies if this is a repost, a quick search didn't yield anything relevant.

3.

Environmental effects of large-scale solar development on desert (2024)(nature.com ↗)

1 points · by dom111 · 1y ago · 1 comment

comment 2y ago · link · parent

Exactly the tools that inspired me:

https://github.com/dom111/gut

comment 2y ago · link · parent

I think most of the stuff I make falls into this category...

My favourites are probably these two:

- a tool I made called gif-to-ansi (https://dom111.github.io/gif-to-ansi/) which converts an animated GIF to a stream of ANSI escapes in a shell script. I made this because I wanted to loop a GIF image in terminal when I mistyped a command to train me to do better typing.

- a 26 "language" polyglot (https://codegolf.stackexchange.com/q/209669/9365) where each starts with a different letter of the alphabet and prints out the alphabet less it's starting char (e.g. Bash prints out ACDEF...). This was just a puzzle that nerd sniped me, I really enjoyed it though and even got to learn a little APL for it, as well as brush up on shells. I highly recommend using sites like this if you want to explore a languages depths, I used it to learn Perl for a previous job and still play around in Perl today!

6.

Vehicle speed compliance statistics for Great Britain: 2022(gov.uk ↗)

2 points · by dom111 · 3y ago · discuss

7.

The forest knows: the Amazon village with a message for the world, a photo essay(theguardian.com ↗)

2 points · by dom111 · 3y ago · discuss

comment 3y ago · link · parent

https://archive.is/9iRSL

9.

Evidence that the Neanderthals were the first seafarers?(thearchaeologist.org ↗)

74 points · by dom111 · 3y ago · 40 comments

comment 3y ago · link · parent

Relevant: Build a working game of Tetris in Conway's Game of Life: https://codegolf.stackexchange.com/q/11880/9365

You may already have been aware but sharing in case others aren't!

comment 3y ago · link · parent

Years ago, on an old (~2000/2001, AMD K series maybe?) system, I was doing some patches for a friend of mine and noticed there was an update for his BIOS. Went through the normal process of backing up to a floppy (luckily, I didn't always do this on my own upgrades before this point!), began the flash process and it all appeared to work fine. Rebooted and the machine didn't come up at all. Blank screen, nothing. I totally panicked. He came to check in and I must've been profusely sweating by this point and we chatted it through, but I noticed, on reboot, the floppy drive gave a tiny click, not like the normal exaggerated one it would do when normally booting. I had a glimmer of hope that it might still read a boot record from the disk, which it did. When the floppy stopped grinding, I carefully typed in the commands (even though there was no output to screen), I knew were on the disk (after running back home to build a bootable disk with a flasher and the BIOS dump) managed to restore the BIOS back to running perfectly with the old version!

Was absolutely terrifying, but very rewarding to get back a machine that we were both sure was bricked!

comment 4y ago · link · parent

I always took it to be because he didn't feel like he'd done anything wrong either, so he was acting out how he experienced it. When he "returns" from his trip his dinner is waiting, perhaps (because of where the story takes place) this is also reconciled after the effect?

I do love the artwork and so do my children!

comment 4y ago · link · parent

archive.org mirror: https://web.archive.org/web/20221014021506/https://www.sledg...

comment 4y ago · link · parent

> DOOM ported to emoji

Makes me think of Fontemon:

https://www.coderelay.io/fontemon.html#player

https://github.com/mmulet/code-relay/blob/main/markdown/HowI...

Perhaps combining this COLRv1 spec and the prior art it's doable today!

https://github.com/mmulet/font-game-engine

comment 4y ago · link · parent

Oh I'm an idiot, my first cURL had a browser user agent so I got HTML then never cURLed it again without the code!

comment 4y ago · link · parent

Not working for me :( Only get:

  Sorry, game OZQTYAJL not found or long expired!
Tried a couple of browsers but always get the same code...

comment 4y ago · link · parent

Similar to most other posters, I have a dotfiles repo, most of it isn't particularly novel, but I have a light wrapper around `git` that after a successful clone, will add custom identity information to `.git/config` so when I commit, I won't inadvertently use my work author string vs my personal author string:

https://github.com/dom111/dotfiles/blob/master/bin/git

which when combined with files like:

    $cat ~/.gitidentities/github.com 
    
    [user]
            name = dom111
            email = dom111@users.noreply.github.com
means I don't accidentally leak email addresses etc

Also, not entirely related, but I wrote a small tool to add some animated GIFs to scripts: https://dom111.github.io/gif-to-ansi/

comment 4y ago · link · parent

For learning a new language, I've enjoyed code golf problems. You are unlikely to use any of the same syntax/approaches in "real-world" applications, but it gets you to use the compiler/interpreter a lot and you learn about all different parts of the language.

For a project though, I think anything that you know the domain of really well and are interested in so that you are happy to complete it/go back to it makes sense. I find I often like to build some sort of crawler (APIs or page data) that can then be consolidated and distilled into concise information.

comment 4y ago · link · parent

Out of interest, what other language learning apps are you using? I'm going to Portugal nest year and learning Portuguese through Duolingo at the moment. It's ok and some stuff is sticking, but I can't help but feel some of the why is missing and I'm just learning how to interpret their questions, rather than learning the language (I guess that's your problem with it?)

comment 4y ago · link · parent

If you like this, you might also like Retina[0]!

[0]: https://github.com/m-ender/retina/tree/master/Examples

comment 4y ago · link · parent

I've been thinking about this for a while too.

I think that making editors do this is within the realms of feasibility. Most support auto-formatting to your preferred style so it doesn't feel like a leap for it to format to your preferred style but keep the file on disk the project owner's preferred style. I haven't looked extensively to see if this already exists though but we chatted about this at work as I was advocating for use of prettier on a front-end project!

comment 4y ago · link · parent

Fun, but definitely hard! Love that fact it has touch friendly controls, of note though, I needed to two finger tap to rotate which wasn't clear to me from the help text!

comment 5y ago · link · parent

Also like this and second the other comments about different source code options.

I would also like to suggest that the side-by-side panes scroll together too, so that the comparison is easier to track.

comment 5y ago · link · parent

I'm afraid not, it's all internal and not open-source. :(

comment 5y ago · link · parent

We recently switched on a few of our project from Webpack and the difference is incredible. Running a watch using this is practically instantaneous compared to our previous setup. I've been recommending it to all my colleagues and we're replacing Webpack slowly but surely.

The main draw for me is the simplicity of the config too. Webpack config (even using things like Symfony's Encore) is pretty convoluted and confusing to track. This, at least in my experience, has greater readability and is simpler to understand.

comment 5y ago · link · parent

https://archive.is/OuoeZ

comment 5y ago · link · parent

Ahh, amazing! Thank you!

comment 5y ago · link · parent

"Ooga chacka, ooga, ooga, ooga chacka..."

comment 5y ago · link · parent

I have a vivid memory of an ad for, I want to say a joystick, from when "force feedback" concept was quite new, it's stuck with me since the mid-nineties perhaps?

It was a picture of someone putting a fork into a toaster with the caption "there's an easier way to get force feedback...". I want to say it was for something in the Microsoft Sidewinder range, but I can't find it! It's stayed with me though as I thought it was both clever and terrifying!

Might even be in that collection somewhere...

12