Show more

Just solved "Search in Rotated Sorted Array" on Leetcode: leetcode.com/problems/search-i

It was interesting to solve it in `O(log n)` time, as I had to use a binary search to find the pivot, instead a specific value. I love problems that take an old tool and use it in a new way.

geemili boosted
geemili boosted

Listen, can we stop already with the master -> main thing, please? The keyboard warriors pining for it would find their time much better spent protesting things like the summary execution of the black population by the police. Our priorities are severely out of order here.

geemili boosted

Made a simple chat app using , SDL2, pathfinder[0], and ENet[1]! The long-term plan is to make a multiplayer game like minecraft.

[0]: github.com/servo/pathfinder
[1]: enet.bespin.org/index.html

geemili boosted

Silly but fun demo of self-hosted Zig progress:

asciinema.org/a/ZZ9h3zM86E9pVC

It compiles a zig source file with 1,000,000 calls to print("hello world") in 0.67 seconds using 471 MiB resident memory. This is 8x as fast as clang on equivalent C code and 3x less memory.

geemili boosted
audiophile, n:
Someone who listens to the equipment instead of the music.
geemili boosted
geemili boosted

@sir It's a couple of craftsmanships (design, implementation, probably something else). So you can make science of it (e.g. what goes fast for what kind of problem etc.), you can use it to create art (just like painting a craft, but the way you do it makes it art) so it may be subject to both, one, or none. But I'd not say it *is* one or the other.

geemili boosted

Computers are more afraid of you than you are of them

geemili boosted

I keep having to re-learn this: queue your yaks, don't stack them.

If you find a new bug while debugging something, file an issue, and continue with your debugging, Don't complicate things by trying to do many things at a time.

@wizard @sir Artists will still be able to sell their work. Removing copyright will change which business models are sustainable, but I bet that independent artists (especially those already on platforms like Patreon) would see no difference to their business model.

copyright 

@LogicalDash@cybre.space @ajroach42 I don't think this is necessary. Artists can still sell their time (i.e. commissions), and can still sell prints or access to the digital art. They can also use Patreon and the likes to get support. But nobody "deserves" money just because they happen to make art.

I'm not against a state sponsered art program, but it would still have to decide who it sponsors. It's usefulness is independent of copyright.

geemili boosted

Jitsi Meet: How many video participants in a single conference room can a self hosted server support? Didn't find a good answer so I tried it out myself:
blog.wirelessmoves.com/2020/03

geemili boosted

@musicmatze@mastodon.technology I've been thinking the same thing. I installed Manjaro on a second laptop, and things just work. I did install nix on it, but having a regular system structure is nice.

geemili boosted

M24, the Sagittarius Star Cloud, isn't a nebula or star cloud, but a hole in the dust of our Galaxy which allows us to see deep towards the core of our Galaxy and the countless stars therein. #astrophoto

geemili boosted

We're thrilled to welcome Mozilla to the Matrix federation! Moznet IRC was disabled yesterday, so come join Mozilla on Matrix! matrix.org/blog/2020/03/03/moz

Show more
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml