søren peter mørch

Timeline

Recent posts from feeds followed by sorenpeter@darch.dk

movq (www.uninformativ.de)

@lyse Yeah, the partition stuff with disklabels is what I’m absolutely not used to. I need to invest more time learning this. Not just using it, but how and where is it represented on disk and all that.

I carry my notebook/netbook around a lot. 😅 Watching movies in bed, for example.

I think I’ll stick with NetBSD for a while. It works surprisingly well, it’s new stuff to explore, it’s fast, and then there’s this:

https://mastodon.sdf.org/@netbsd/112446618914747900

Gentoo (https://wiki.gentoo.org/wiki/Project:Council/AI_policy) might be another idea, but I’m afraid that the little netbook might be too slow for that? Or are there binary packages? No idea, it’s been ages since I touched this distro.

(Regarding Linux in general … we all know what Linus said. I’m not sure where this project is heading.)

In reply to: #b5hsevtvq26o 2 months ago
itsericwoodward (itsericwoodward.com)

@prologic I am very interested, but I need to setup a docker-capable machine first (I've always kinda shied away from using docker as it adds an extra layer of complexity to projects). I've got a couple of raspberry pis floating around the house, let me see what I can put together.

In reply to: #nwj5uxdzjm4s 2 months ago
prologic (twtxt.net)

@GabesArcade I plan to oj ly projects 😅

In reply to: #ck7vzqv35ok4 2 months ago
movq (www.uninformativ.de)

@prologic Hmm. 🤔

Okay, suppose you host a project using this new forge, and I want to send a pull request. What do I have to do?

In reply to: #tolmwx5wf6c7 3 months ago
movq (www.uninformativ.de)

@prologic Haha. 😅

I’m not really sure what you have in mind. All I can safe with relatively big confidence is that users hate having to make another account. That’s why GitHub/Codeberg are so successful: One account gives you access to millions of projects.

So, once that problem is solved, anything else will probably just fall into place … ? 😅

In reply to: #tolmwx5wf6c7 3 months ago
prologic (twtxt.net)

@Sumomo if you're looking for a great static site generator/publishing tool by the way have a look at my project ZS

In reply to: #de5djizbcsyp 3 months ago
lyse (lyse.isobeef.org)

@klaxzy Turns out, it's not a cool project. :-D

Can you build from source? Perhaps not if there is just a download link.

It's been a hot minute since I last used alien to convert a Debian package into an RPM packge. Or was it the other way around? No clue.

In reply to: #2j746tmlnae3 3 months ago
klaxzy (klaxzy.net)

when you stumble upon the cool project online and they say they have version for linux, then you click download but only .deb is available, i mean like heh, thanks for nothing

Read replies 3 months ago
prologic (twtxt.net)

And just like that Problem 10 is done and correct whoohoo 🥳 It was easy because in Problem 7 I'd already written an iterator to produce infinite primes. So the solution for finding the sum of primes under 2,000,000 is basically (shortened):

  primes := iter.take_while(iter.filter(prime_candidates(), is_prime), fn(p) { p < n })
  print(iter.sum(primes))

And of course the answer is: 142913828922 which took ~21.ss for the Go Vm to compuete.

In reply to: #tz4dru7nwzct 3 months ago
prologic (twtxt.net)

What's interesting here... Which is the interesting thing about Mu is the dual runtime. So the above solution for Euler Problem 9 finds the solution in ~429ms with the Go VM and ~327ms natively compiled to darwin/arm64. Not bad for a language I haven't really done any optimization work on yet (correctness first obviously).

In reply to: #tz4dru7nwzct 3 months ago
Reply via email