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
Search - "claymore"
-
*burp* Me..Merry Christmas
I made a thing. It's called Claymore.
It's like lastPass, but with a bomb attached to it.
Its *burp* like, if you're like really paranoid about your passwords, you can just, you can just blow it all up.
Pro-Tip, if you run it on port 1337, it's extra sec-*burp*-ure.
Am I kidding? Maybe. I made this w/ booze, so.10 -
For each day on devrant I feel this place more like a community than a social media. And damn thats good. Thank you all for making my day7
-
Steve Wilhite... The man who changed the world with his software: the GIF.
Today, is GIF's 30th birthday (15th June 1987)!!!!
Happy Birthday6 -
I'm in internship, why the fuck am I the one explaining them how to use git, Android studio????? Why am I the project manager?????? I'm supposed to learn from you not the opposite. Fuck this monkey.15
-
When you share some code with someone who knows NOTHING about computers. So frustrating!!
(Not my picture)3 -
This guy is supposed to be a senior dev, he is supposed to have worked 30+ year on this field.
This 🦧 still doesn't know how to read the Doc. I swear he spent the whole day renting about how things are impossible to do.
Last Time setting up a python virtualEnv was an impossible task for him13 -
u is the coordinate of the point u in the u referential. PLEASE THERE ARE 26 LETTER. How about you use differen letter for different thing fuckin idiot3
-
My internship was supposed to be about IA.
Why the fuck am I messing with a video encoder in an Android app6 -
I've never felt that great: just finished school, get my first job, get drunk with friend. Hope it will not end too soon.3
-
I got an interview for a job a NATO, it's an interview with an app called hirevue they send me question and I have 5 minute to answer. Do you have any advice/tips ?24
-
Aka... How NOT to design a build system.
I must say that the winning award in that category goes without any question to SBT.
SBT is like trying to use a claymore mine to put some nails in a wall. It most likely will work somehow, but the collateral damage is extensive.
If you ask what build tool would possibly do this... It was probably SBT. Rant applies in general, but my arch nemesis is definitely SBT.
Let's start with the simplest thing: The data format you use to store.
Well. Data format. So use sth that can represent data or settings. Do *not* use a programming language, as this can neither be parsed / modified without an foreign interface or using the programming language itself...
Which is painful as fuck for automatisation, scripting and thus CI/CD.
Most important regarding the data format - keep it simple and stupid, yet precise and clean. Do not try to e.g. implement complex types - pain without gain. Plain old objects / structs, arrays, primitive types, simple as that.
No (severely) nested types, no lazy evaluation, just keep it as simple as possible. Build tools are complex enough, no need to feed the nightmare.
Data formats *must* have btw a proper encoding, looking at you Mr. XML. It should be standardized, so no crazy mfucking shit eating dev gets the idea to use whatever encoding they like.
Workflows. You know, things like
- update dependency
- compile stuff
- test run
- ...
Keep. Them. Simple.
Especially regarding settings and multiprojects.
http://lihaoyi.com/post/...
If you want to know how to absolutely never ever do it.
Again - keep. it. simple.
Make stuff configurable, allow the CLI tool used for building to pass this configuration in / allow setting of env variables. As simple as that.
Allow project settings - e.g. like repositories - to be set globally vs project wide.
Not simple are those tools who have...
- more knobs than documentation
- more layers than a wedding cake
- inheritance / merging of settings :(
- CLI and ENV have different names.
- CLI and ENV use different quoting
...
Which brings me to the CLI.
If your build tool has no CLI, it sucks. It just sucks. No discussion. It sucks, hmkay?
If your build tool has a CLI, but...
- it uses undocumented exit codes
- requires absurd or non-quoting (e.g. cannot parse quoted string)
- has unconfigurable logging
- output doesn't allow parsing
- CLI cannot be used for automatisation
It sucks, too... Again, no discussion.
Last point: Plugins and versioning.
I love plugins. And versioning.
Plugins can be a good choice to extend stuff, to scratch some specific itches.
Plugins are NOT an excuse to say: hey, we don't integrate any features or offer plugins by ourselves, go implement your own plugins for that.
That's just absurd.
(precondition: feature makes sense, like e.g. listing dependencies, checking for updates, etc - stuff that most likely anyone wants)
Versioning. Well. Here goes number one award to Node with it's broken concept of just installing multiple versions for the fuck of it.
Another award goes to tools without a locking file.
Another award goes to tools who do not support version ranges.
Yet another award goes to tools who do not support private repositories / mirrors via global configuration - makes fun bombing public mirrors to check for new versions available and getting rate limited to death.
In case someone has read so far and wonders why this rant came to be...
I've implemented a sort of on premise bot for updating dependencies for multiple build tools.
Won't be open sourced, as it is company property - but let me tell ya... Pain and pain are two different things. That was beyond pain.
That was getting your skin peeled off while being set on fire pain.
-.-5 -
Back to my parent's home for the holiday, I need to work remotely. And holy Fuck wtf is this connection. I juste spent four jour straight installing Android studio and cloning a github repo. Fuck countryside let go back to the city with all the horrible building and a good internet connection10
-
I'm gonna start my first internship ever in two weeks. Have you any advice to avoid trap and make a good entrance in the company ?7
-
I just got an offer from my school, I can make my last semester in Taiwan. Is any of you living here. How is the life ?
-
Today a lettre has arrived, the compagny hasn't payed the loan for a full year, hope I Can finish my internship before the sink2
-
I'm currently in internship in a little start up, I love work, love my team, my manager IS Amazing.
BUT, I feel like I'm missing somethint, everything is messy and I don't learn a lot.
Sometimes, I doubt, is this job reallu good for, is it juste a big mistakes leading to nothing?1 -
What's the correct way to do an iterator in a for loop?
Some teachers tells me that every iterator be named like line and row and other says i and j are the convention and you should name your iterator like that.8