Pinned toot

I do a social media fast sometime in the summer where I try to take my internet usage down to the absolute minimum. Only work-related internet usage. Nothing else. Minimum of a month, but I have done it for the entire season as well.

Was thinking about skipping this year. But on second thought, I might as well keep it alive.

So if anyone wondering what happened to me, I'm going dark until the HOPE 2020 conference on July 25. See you there... (online that is)

Pinned toot

New for 2020 and

I'm a remote software engineer working the various F/OSS web-stacks from my remote cabin at 8,500 feet in the White Mountains of Arizona -- I'm prone to wanderlust and often grab some batteries, solar panels, and head out to work from my truck from whatever corner of these great open lands has cell phone reception.

Posts often about the trials and joys of remote work, venting about development (since I've got no watercooler coworkers), the usual consumptive vices of our age (film, video games, books), and chatter about returning to a more open web,
culture and society.

Oh, and I hope to meet plenty you at Defcon 28!

I do a social media fast sometime in the summer where I try to take my internet usage down to the absolute minimum. Only work-related internet usage. Nothing else. Minimum of a month, but I have done it for the entire season as well.

Was thinking about skipping this year. But on second thought, I might as well keep it alive.

So if anyone wondering what happened to me, I'm going dark until the HOPE 2020 conference on July 25. See you there... (online that is)

I Don't see why this:

<?php
use Doctrine\ORM\Attributes as ORM;
use Symfony\Component\Validator\Constraints as Assert;

<<ORM\Entity>>
class User
{
<<ORM\Id>><<ORM\Column("integer")>><<ORM\GeneratedValue>>
private $id;

<<ORM\Column("string", ORM\Column::UNIQUE)>>
<<Assert\Email(array("message" => "The email '{{ value }}' is not a valid email."))>>
private $email;

<<Assert\Range(["min" => 120, "max" => 180, "minMessage" => "You must be at least {{ limit }}cm tall to enter"])>>
<<ORM\Column(ORM\Column::T_INTEGER)>>
protected $height;

<<ORM\ManyToMany(Phonenumber::class)>>
<<ORM\JoinTable("users_phonenumbers")>>
<<ORM\JoinColumn("user_id", "id")>>
<<ORM\InverseJoinColumn("phonenumber_id", "id", JoinColumn::UNIQUE)>>
private $phonenumbers;
}

Is preferable to this:

class User
{
private int $id;

private Email $email;

protected Height $height;

protected PhoneNumberCollection $phoneNumbers;

public function __construct(
int $id,
Email $email,
Height $height,
PhoneNumberCollection $phoneNumbers
) {
$this->id = $id;
$this->email = $email;
$this->height = $height;
$this->phoneNumbers = $phoneNumbers;
}
}

My solution:

1) Isn't injecting knowledge about the structure of the database into the model layer which doesn't/shouldn't need to be aware of the structure of the contents of the database in order to function.

2) Uses types to validate the information, so User is no longer in charge of validating Email and Height but the types themselves are in charge of validating that they represent a valid Email or Height.

3) I can easily unit test this by just calling the constructor instead of relying on some reflection magic to set private properties on an object.

But of course, everyone is allergic to ever calling a constructor anywhere. We'd rather do a bunch of reflection magic to discover the private properties of the class and then magically inject them into it.

Show thread

central park was built on top of a vibrant black and irish community who were forcefully evicted despite owning the land themselves

Me: Now that PHP has strict types for method parameters, returns, and properties doctrine and all those other silly libraries can get rid of their annotations and just use native constructors and properties.

PHP: Nope. Let's just encode that behaviour into the language. wiki.php.net/rfc/attributes_v2

Humm.. found another company that's caught on to and blocked my tactic of including their domain name in my e-mail address to track whose selling my info.

Democrats that are now free to relocate away from metro centers are going to majorly fuck up Republican districts.
Remote work is going be fought tooth and nail by Republicans, federal employees being their primary target.

Now that I've spent the entire afternoon tracking down every variation of the Bodhisattva precepts that I could find online... because that's just what the old brain decided was most important today... I guess I'll actually do some work.

OK so I just made my first order from bookshop.org. I'm not 100% certain I like this model as the ultimate way to support local bookstores. It's still better than Amazon.

reminder that means testing is some BS right wing ideology. you end up cutting many vulnerable people in the margins out, social programs should be available to all of society regardless of income levels, means testing ends up hurting way way more people than the hypothetical 1% who are getting a free lunch they can afford

Here’s some Hanoi for you. An old door with style. Some city streets I love to walk down in Truc Bach neighborhood and a beautiful afternoon sky that may just promise a wondrous sunset tonight #photography #vietnam #hanoi

So I started reading Hardcore Zen the other day which sent me off into digging up recordings from the different punk bands from Akron that Brad Warner mentions...

... and I'm rather amazed at the wide variety of sound and style that actually fits under the punk label in the '80s.

So I posted a bit of a rant about work last night that I think got lost in the void. The upshot is that I'm definitely looking for another job.

I'd prefer remote work / WFH. Salary or hourly, doesn't matter.

In the past seven months at this job, I've worked at operations monitoring, data loss prevention, phish research and prevention, Tier 1-2 internal service desk, and documentation.

If anyone has any leads, or even any ADVICE for a beginner (resume writing, networking), I'm all ears. Boosts and DMs welcome.

Show more
hackers.town

A bunch of technomancers in the fediverse. Keep it fairly clean please. This arcology is for all who wash up upon it's digital shore.