Details
-
AboutAnalytical Chemist, Backend dev, DBA, QA/tester.
-
SkillsHaskell, Python, PHP, Go, Rust, JS
-
LocationAmsterdam
Joined devRant on 4/13/2017
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
The readme basically states that it handles like Rust, but for people who don't need any of Rust's benefits.
As a huge fan and proponent of Rust, that just sounds awful.
"Here, try this giant aggressive looking pickup truck. It's powered by a 2-cylinder moped engine so it's only useful for people who don't need to move heavy items or go faster than 10mph. But it looks cool!" -
Rubber duck
What the fuck
No such luck
I got stuck
On this bug
PM's a cuck
He can suck
A garbage truck
For a buck
Yuck...
Eh I don't know
Bathing with Rubber Duck
Facing the bugs which bubble up
Deep breaths, this smells vile
Is it flatulence or an XML file? -
I've used calendly in the past. Served us just fine!
-
@badcopnodonuts
Yeah the issue with "internet of things" is that it should be "interoperable LAN of things".
But there's more money to be made in SaaS subscriptions & datamining, so of course vendors want you to use their proprietary cloud service & app. -
@KDSBest
What I was arguing (semi trolling) is that you *could* consider HTML Turing complete, if you wrote a custom interpreter. An interpreter which wouldn't parse a DOM from the markup, but instead would (for example) treat a div as a function declaration, it's classes as parameters, and it's contents as function body.
I'm always in favor of exotic creative stupidities. So when someone says "HTML is not a programming language" I say "your interpreter is just not trying hard enough".
Someone once told me "Bash is of course not a web development language" which was the start of an MVC framework, view templater and SQL ORM written in bash, nc and awk. Which is a terrible idea. But fun. -
Depends on the interpreter.
It wouldn't be hard to make an interpreter which parses a strict HTML document as if it were code, making HTML Turing complete, and thus a programming language.
("Yeah but it isn't a programming language in the context of a web browser" —That just means all browsers are broken interpreters for the goal of executing HTML code 😂) -
@Midnight-shcode
And collect email addresses, to sell other products in the future. -
@iSwimInTheC
Careful what you wish for. She learned Python, and all she talks about is how Python is better than all other languages.
Like, I miss my alarm at 7AM because my phone has crashed, and when I grumpily wake up complaining at 9AM she mutters "that's what you get with a Java based phone. If they used Python..."
It makes zero sense... and I think she's only doing it to troll me, because I've been bothering her with nerd talk about programming languages for years. -
@Awlex
I wouldn't mind smarter appliances if it was standards-based, fully optional, open and well documented.
And actually contributed something useful, beyond just a gimmick, of course.
Sadly, in the world of home automation — those products are rare, don't appeal to people like my sister in law, and tend to have a Gentoo-Linux-like UX.
But I like the ZigBee protocol for example, it's pretty neat and vendor-independent. I've integrated it into various places in my home:
Controlling lights based on time and my location, controlling ventilation ducts, turning an array of displays on when I enter a room, making sure rainwater collection & irrigation stays balanced, switching floor heating, and buffering hot water when there's a solar panel excess. -
@hardCoding
Her most successful project: Our central heating system has a well documented bus, so she made a web panel for the heat pump & water boiler. Which is actually kind of useful.
Her least successful project: A raspberry & motor which fell on my head when I opened the bedroom curtains. Unless the project was to set a trap to hurt me. -
@hardCoding
My wife was there and asked (trolled) the (confused) store clerk whether there were any fridges with an i2c bus she could solder her new rpi zero-w to.
Since she learned how to solder, our house is covered in raspberry sauce.
Which is almost as useless as a proprietary app, but at least it's educational. -
Also, the only thing the app does:
* Show temperature of fridge/freezer (but not adjust it for some reason)
* Show contents of fridge, from a list you completely have to curate and maintain yourself —so it's on par with a basic Note/ToDo app and in no way related to the fridge. -
@kiki
Yeah it's just that this PM seems bipolar.
One moment it's "everyone chill, think about your mental health, don't work too hard, don't stress", the next moment he (and really no one else) gets a panic/guilt attack about his own procrastination, and lashes out at everyone.
The rest of the team is just pretty consistently delivering at 8/10 productivity, while he regularly swoops from zero to 11 and back.
He's also pretty much dead weight -- The team functions despite him. Regardless of his efforts as PM, engineers have grown used to PM-ing their way around him by themselves, doing his work for him.
It's a bit of a sad shit-show, but CTO for some reason likes him, so we have to deal with it. -
@mojo2012
Eh, I'm working on a 4-space indented PHP codebase, and phpstan will disallow you to commit 2 or 3-space indentation, or indent unnecessarily, or not indent, or...
Also, at least with Jetbrains IDEs, there's no ergonomical difference. It detects which indentation is used in the project, and will create a consistent experience. -
@Midnight-shcode
And thus a more interesting topic than tabs/spaces.
Tabs/spaces is like "Fucking pick one. Probably the common one for the language. Who cares"
Monolith vs microservice is indeed a scale, with super interesting questions like "When do we break up our monolith?", "How do we transition without getting stuck?", "How do we identify context borders?", "If we take a hybrid approach, how do we determine the architectural rules we use?"
So, it's an example of a more interesting discussion.
Just like "Does a type system require generics to be considered good?" or "What are the best mitigations for the object-relational impedance mismatch problem?"
Tabs/spaces... Bleh. Not worth the energy. Now that you mention it, I would rather have a discussion about constipation vs diarrhea, than tabs vs spaces. -
There are more important dichotomies.
Like monolith vs micro-service. -
@spongegeoff
I've never found HTML that readable, although readability is subjective.
On complex hand-typed documents with lots of nesting and tag properties, it's easy to mess up, and indentation rules are not standardized.
The repetition in closing tags is redundant, and many ubiquitous elements require verbose boilerplate.
It would make more sense if it was just something like "div (.fooclass #bar) { content }". There's many syntax variants one could think of, the markup could also be 100% json compatible for example.
For human readability, I like a terse format with mandatory indentation, like haml for example.
XML, when used as a data transport or data storage, can just be fully replaced by JSON.
XML, when used for configuration, can be fully replaced by YML, TOML or similar formats. -
@Hazarth I think USB-C is more like having 4 testicles on one end and 2 clitorises on the other.
The closest thing to full reversibility I can think of is the IDSS docking on the space station, which have 3-fold rotational symmetry but are also fully "androgynous" in the sense that both sides are identical and have male and female parts. So theoretically anything can dock to anything if it has an IDSS port. -
The weird thing about XML (and by extension HTML) is how incredibly inefficient it is at structuring data.
And, if you're not generating it using a library, how incredibly error-prone the format is.
The person who thought that repeating the name to create a closing tag was a great idea, was a terrible engineer. -
I've never found w3c validator to be a helpful tool.
It might tell you a lot about whether the output HTML conforms to standards, but it tells you very little about how conforming to or ignoring those standards will cause or prevent bugs in the real world.
<source src="https://example.net/my amateur porn video.mp4"/>
OMG THERE'S SPACES IN YOUR URL THAT'S ILLEGAL!
Yeah, whatever, validator. It works in every modern browser.
So the result is that you spend hours chasing down warnings and errors with zero real impact on users. -
@Hazarth
I'm absolutely not suggesting: "bend to manipulation".
Just: "listen to how statements affect people" —and consider that sometimes, you don't reach your goals by only smacking people in the face with technical truths.
Example: If a "black" person is distrustful of "white" people because of a negative experience (Ugh, words. as "mixed" person I hate these color labels)—you're technically correct in calling that person out as a racist.
That distrust is a form of racist bias.
But is it effective to just point out "SEE! YOU'RE RACIST TOO!"?
Eh, not really.
It's more effective to listen to that person's POV, show some understanding, prove your argument through reflection and relationships instead of having arguments about semantics of words.
I'm not saying: compromise on your core truths —just that there are moments when a stretched out hand is more effective than a drawn sword. -
@Hazarth
You could very well be technically correct ("the best kind of correct"?).
But the reality is that hearing a quote like "It's man's destiny to travel to the stars" might feel jarring to a woman.
Yeah, sure humankind... but the word "man" carries a pretty strong penis-flavored bias.
You could explain to that eyebrow-raising woman that it's all her own fault that she's wrongly interpreting the word man, and go off on a tangent about etymology.
And you could be technically correct.
But are you emotionally correct?
As one autist to another: We don't do well approaching matters of race, gender, religion, etc with impeccable reasoning skills and a "be enlightened by truth" approach.
I felt pretty strong about NOT renaming "master" branch to "main" (because "the origin of the word master is not exclusively used for topics about slavery", etc)
Sometimes you can argue for 10 hours and "win the argument".
But is THAT kind of victory all that matters? -
@PaperTrail As someone whose parents names were all over government agency watch lists due to their 70's-80's involvement in the cold war, and whose current wife had to change her SSN twice due to a family linked to organized crime -- I would probably not find that funny. 😅
-
@spongegeoff @Hazarth
I think it's important to interpret it with nuance.
In the past, men did all the important things (not factually, but in terms of contemporary perception). So the word man was a synonym for the whole species.
That means it's rooted in sexism.
That doesn't mean that every historical figure with a quote about "men" or "man(kind)" had sexist intentions.
Just that society excluded women, and so colloquial language followed suit.
Does that mean we should ridicule or "cancel" people who have used outdated notions? Or censor historical content?
No, of course not.
Does that mean we should change, append and "footnote" the language we use?
Yes, absolutely. -
You can also just name your file "kljsdflkjsdflkjsd.jpg", and then use metadata for sorting & searching.
Most native file browsers allow you to edit EXIF fields -- And there are tons of great photo library managers which make the job even easier.
In Windows explorer you can search by EXIF tags for example using "tag: penis width: >2000" in the search field, and on Linux command line you can grep using exiftool. -
*crawls out of cave, having finished a Factorio modpack*
Ah yeah the world is still having polarizing arguments about about race, sex, gender, religion -- and all the semantics, intentions and assumed powerplays related to those topics...
*crawls back into cave to start a new Cities skylines game* -
@arcadesdude @Demolishun
Vaccinations decrease the chance of SIDS -- Possibly because fewer babies get low-symptomatic viral airway infections, possibly because parents who vaccinate also listen more to other science-backed childcare advises.
https://pubmed.ncbi.nlm.nih.gov/174...
Since I've become a parent, I've met so many other parents who don't take their babies outdoors, don't ventilate nurseries/bedrooms, set thermostat too high in fear of the baby getting cold, and throw 30 stuffed animals in the cot.
The #1 case of infant mortality in wealthy countries is, unsurprisingly, parents literally smothering their kids to death. -
@piratefox
Yeah the difficult part is that a lot of parents will respond to instinct rather than logic.
I actually think that the best way to convince parents that vaccination is a good idea, is to develop vaccines which don't make kids cry.
Parents will most likely stop coming up with ridiculous hoaxes, when vaccines are like Star Trek hyposprays.
As an ex-pharma chemist, I feel pretty strongly about scientific, statistical truths. And I wish all humans responded to hard data.
I wish debunking fake rumors with evidence worked...
But is it a realistic approach?
It's like trying to teach a monkey that refrigerating half of his banana is a good idea to prevent future hunger. I mean... It is, but will shouting the truth at the monkey have any effect? -
@UnicornPoo
Approximately this:
https://immunizationdata.who.int/li...
In most countries, the amount of jabs is relatively low because a single shot will protect against a whole series of diseases.
Here in the Netherlands, a kid will have 8 visits to (our equivalent of) the CDC in total, spread out over 14 years.
The exact vaccinations also depend a bit on the country, general population health and climate. Common cold variants and Varicella are relatively low risk for example so there's a certain "who cares" factor there. Polio, on the other side of the spectrum, is such a fucking terrifying disease that every kid should be protected against it. -
@piratefox
I do get the fear for vaccines.
I mean, my kid is vaccinated -- But seeing my tiny offspring being stabbed with a needle and then look at me as if her trust in me was violated, her eyes tearing up, face saying "help! dad! I'm being hurt!"...
If she understood, I'd tell my toddler "We do this so your body makes antibodies so you don't get awful diseases like measles and even more awful diseases like polio".
Scientifically, it's absolutely justified to vaccinate your child. In my opinion: You are ethically obligated to vaccinate your child.
But I do GET it.
I understand WHY less scientifically-inclined parents start making up reasons why vaccinations are bad.
They feel emotional distress, seeing their kid get hurt.
And then they start constructing arguments around those emotions:
"If I say vaccinations cause autism, I have a semi-rational justification for avoiding a repeat of that emotional distress".
Shortsighted -- But I do get it.