Dominik
@chrastecky.phpc.social.ap.brid.gy
14 followers 1 following 140 posts
[bridged from https://phpc.social/@chrastecky on the fediverse by https://fed.brid.gy/ ]
Posts Media Videos Starter Packs
chrastecky.phpc.social.ap.brid.gy
I'm not sure, but the code might do something with UUIDs.

#programming #golang #uuid
A screenshot from an IDE with the following code:

func Uuid(uuid uuid.UUID) UUID {
	return UUID{UUID: uuid}
}
chrastecky.phpc.social.ap.brid.gy
Another day, another sand art on #oasismini

It's really calming just watching the ball draw stuff.

#sandart #kineticsandart
chrastecky.phpc.social.ap.brid.gy
I've decided not to renew the domain, so if you want to check how many #porn actresses per million people does your country have, now would be the time!

https://pornstars-per-capita.com

#pornactress #stats #czechia #czechrepublic
Pornstars Per Capita
pornstars-per-capita.com
Reposted by Dominik
chrastecky.phpc.social.ap.brid.gy
@preslavrachev Show a programmer a pull request with a hundred line changes, they'll find 60 of them wrong.

Show them a PR with 6000 line changes and you'll get a "looks ok".
chrastecky.phpc.social.ap.brid.gy
It took me almost 10 years of #opensource development, but I finally managed to accidentally commit passwords and secret keys publicly!

#leak
chrastecky.phpc.social.ap.brid.gy
Nice, @element! Though that was just me walking.

#element #matrix
A screenshot from the Matrix client Element saying "You seem to be shaking the phone in frustration. Would you like to open the bug report screen?"
chrastecky.phpc.social.ap.brid.gy
My new phone just arrived. Gonna switch to that as soon as I #3dprint a nano SIM adapter.

I wanted to do some #digitaldetox and thought I might as well go with some classic.

#nokia #nokia3310 #dumbphone
Old school Nokia 3310 with screen on saying "Insert SIM card" in Czech.
chrastecky.phpc.social.ap.brid.gy
Wow, I learned so many exciting things!

- you can't do insider trading, guess someone should make it a law or something
- bribery and corruption are not allowed, wow!
- conflict of interest is also disallowed, double wow!
- you can't disclose private information publicly, triple wow!
chrastecky.phpc.social.ap.brid.gy
Corporate instruction videos be like "person does this extremely bad and illegal thing, was it okay?"

#corporatebullshit #corporate
chrastecky.phpc.social.ap.brid.gy
@Linux I disagree, if everyone who's not from UK pretends nothing changed, people will perceive it as nothing changing.

If all UK people suddenly start seeing that everyone and their mother is blocking UK because of the stupid law, some change might come of it.

Simply "not complying" as you […]
Original post on phpc.social
phpc.social
chrastecky.phpc.social.ap.brid.gy
@Linux Wtf, there's already 9 billion of us? I remember 7.

IMO, geoblocking is the correct answer to this, that's why I did it (though I'm under no illusion that my tiny website being geo-blocked will change anything).

If every non-UK service blocks UK access, people will get angry and […]
Original post on phpc.social
phpc.social
chrastecky.phpc.social.ap.brid.gy
Time to get funky:

final class GoUri implements UriInterface
{
private FFI $ffi;
private RawHandle $handle;

public function __construct(string $uri)
{
$this->ffi = FFI::cdef(
file_get_contents(__DIR__ . '/../../uri.h'),
__DIR__ . '/../../uri.so',
);

$this->handle = new […]
Original post on phpc.social
phpc.social
chrastecky.phpc.social.ap.brid.gy
#chatgpt is strangely incapable when it comes to pointer ownership and memory freeing responsibility.

That's kinda unexpected, I thought this would be the exact use case where #ai can shine.
chrastecky.phpc.social.ap.brid.gy
Got hired in an #enterprise after a long time working for small companies and god, the introductory videos are extremely cult-like. And I'm convinced #scrum is a religion.
chrastecky.phpc.social.ap.brid.gy
Finally tried out #frankenphp and the (mostly) effortless speed up it provides is pretty great! Thanks @dunglas

#php
chrastecky.phpc.social.ap.brid.gy
I love it when I have to fill out my email for an anonymous poll.
chrastecky.phpc.social.ap.brid.gy
Guess I was wrong, the #stopkillinggames passed eventually even though it seemed kinda dead and out of breath!

Did some YouTuber or somone famous bring attention to it?
chrastecky.phpc.social.ap.brid.gy
Playing #vr every day has multiple advantages:

- I exercise in a fun way
- I have to tidy the living room to have space for playing

10/10 recommend
chrastecky.phpc.social.ap.brid.gy
@manyfold @3dprinting Is your federation documented anywhere? I've been thinking of starting a similar project for a while and would love to federate with you.
chrastecky.phpc.social.ap.brid.gy
The #wood PLA filament smells so good! I don't print it often because it's a pain in the ass to work with, but damn, it always smells like Christmas.

#3dprinting
chrastecky.phpc.social.ap.brid.gy
What's your record for changing a single line of code?

Just today it took me over 4 hours for a single line change, but my actual record is 4 days, give or take a few hours.

#programming