paleBlue boosted

I'm compiling a collection of software engineering principles. The idea is to have them in a document with longer explanations and examples. Other than that, they're meant to be cited as justifications for this or that choice we make and left as comments in code or in conversations. Some are special cases or consequences of more generic principles. Here's what I have so far:
- simplicity
- least surprise
- separation of concerns
- design for the worst-case scenario
- explain the intentions behind any piece of code
- minimize future maintenance efforts
- minimize time to fix future problems
- no code duplication
- fail early

Note that this list is limited to "technical" principles in the sense that they're valid even for a team of one. There are more principles and guidelines for the interactions between team members but here I'm limiting myself to what could be or should be written down as part of a code base.

paleBlue boosted

@Adam_Cadmon1

I don't have a phone number, use anonymous email that doesn't require one. Don't have apps for a bank, stores and will not even give my ID to a gas station to buy cigarettes (they are scanning IDs into a corporate database here).

I see people using the phone and/number for credit cards, public transportation and everything you can imagine.

I keep begging people to not do it. They are just asking to have their identity stolen.

paleBlue boosted

Hunting is only fair to the animals if you do it naked.

paleBlue boosted

It’s Tuesday. Grab it by the neck and show it who’s in charge.

paleBlue boosted

My best life advice:... Figure out that thing that scares you to death, and dont just face it, conquer it, destroy it. Then when you finish, find the next greatest thing you fear.

Its remarkably freeing to have things that used to be fears for me being source of joy (SCUBA, heights, and at a young age, talking to women and even just people would all fit the bill).

paleBlue boosted
paleBlue boosted

@freemo
I like the one in the 4th quadrant (circle with white bg).

paleBlue boosted

Law Case: Creative Commons (CC) licensing... contested in court... 

Law Case: Creative Commons (CC) licensing... contested in court... :cc:

"In February 2006, Adam Curry sued the Dutch tabloid Weekend for reprinting photos from his Flickr page and publishing details about his daughter.[25] The photos were released under a version of the Creative Commons license that forbids commercial use and requires acknowledgement, but the tabloid printed a few of them without contacting Curry.[26] The verdict did not award Curry any damages, but forbade the tabloid from reprinting the photos in the future, setting a fine of €1,000 for each subsequent violation. It was one of the first times the license was tested in court.[26]

In May 2009, Curry posted on his blog that another Dutch tabloid had published another Creative Commons-licensed photo from Curry's Flickr account.[27] After Curry asserted Creative Commons license requirements, the publisher settled on Curry's terms."

paleBlue boosted
paleBlue boosted
paleBlue boosted
paleBlue boosted
paleBlue boosted

Trying to please everyone and being nice to everyone, I find, is the easiest way to guarantee you are surrounded by the worst sort of people imaginable. I mean sure, they will like, or at least tolerate, you. But you will have to deal with their constant drama and demands.

Now not giving a fuck and telling people they have dumbass ideas and flipping them off when they start drama, thats a sure way to guarantee you're surrounded by cool people who wont fly off the handle at every bit of nonsense.

Start living a life worth living, embrace your inner asshole.

paleBlue boosted
@freemo @Raccoondude he has a segment in the incerto series that basically tl;drs as you can tell how free someone is by the amount of cussing they do.

> hello sir yes please see the following section if you would sir
corpo slave

> fuck all of this fucking god damn bitch-ass bullshit :blobcattableflip:
self employed
paleBlue boosted

Just when I was getting depressed about my job hunting, steps up and gets back to me about my application. I am now officially having a good day even if I don't get the job! It feels nice having someone acknowledge you.

paleBlue boosted

Amazing how easy was to write an android app for sending files to and then retrieving the link.

The answer is: you don't do it. You just use the excellent (from fdroid) with the URL (0x0.st), the method (POST) and the expected form data (parameter "file", the contents of the upload).

This creates a shortcut that you can select in the share menu of any app, and then you can share back the result URL to any other app.

Furthermore, you can use for customize further some parts of the process.

paleBlue boosted
paleBlue boosted
paleBlue boosted

I want to see a programming language where keywords are meow, nya, suya, nini, *hugs*. It would look something like that

nya val = 5 //creates value meow fibo(val) { //creates function if val <= 1 { nini 1 // returns value } nya prev = val - 1 nya prev2 = val - 2 nini fibo(*hugs* prev) + fibo(*hugs* prev2) } nya result = fibo(*hugs* val) //pass by reference umu result //prints suya 10 //sleeps 10s

Show more
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.