AboutLinux/FOSS, cyber sec, privacy and programming guy. Hardstyle/rawstyle freak.
Joined devRant on 5/14/2016
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Trying to setup a local Overpass API and Nominatim server (OpenStreetMaps data stuff).
The docker overpass image has been downloading a 38gb file for a little more than an hour now and it's coming closer and closer...
*docker continues to initiate the download of a new file*
"Hmm this can't be THAT bi......"
Let's wait yet again..... I was so excited :(7
What can you say for certain about your argument when you bring it to a discussion and you pretty much lose but it still stands?
It's not sitting down.
I'll leave now......6
Recently had an interview with a company. At some point an SELinux question came up and while I didn't provide the best answer ever (I'm hardly familiar with SELinux and mentioned that as well beforehand so they knew), it was technically correct and the reaction of the interviewers was funny.
TI (technical interviewer): say your php script isn't executed and after a while you find out that SELinux is blocking php script execution, how can you fix that?
Me: setenforce 0...? (essentially disabling SELinux at all)
TI: disabling it entirely for getting php execution to work?! That doesn't sound like a good solu...
HRI (HR (non technical) interviewer, also present): *turns to TI* - but, would it solve the problem?
TI: 😐 well, yes, but... That's a bad thing to do so I wouldn't count is corre..
HRI: *still aiming towards TI* but you simply asked him for a way to solve the php execution issue, would his answer work? Regardless of whether it's the best or worst solution, would it be a solution which works?
TI: well... yes...
HRI: then he answered correctly I'd say, next!
(yes, I'm aware that my answer wasn't good as for security at all but it would have solved that problem which is what was asked)13
Dear Dutch, Belgian and German (and possibly other countries) devRanters, a devRanter is organising a meetup so if you're interested, see this rant:
Thanks! (All credits to the organising person, this just might help to get more reach)11
I ordered a second hand mini laptop. (Mini as in 8 inch)
Now I obviously will put some kind of Linux distro onto it but I'm wondering which one I should choose.
Debian based is a must, except for that I don't know yet.
The moment that I finally understood OOP.
Several teachers had already given up explaining it over and over again but one classmate took a few hours to explain.
Suddenly, after a few hours, that AH-HA! moment was there!
I've done as much OOP programming as possible since then and have explained it to others who were struggling with it as well 😊34
So, as some people here probably know, I don't use any of the mainstream, mass surveillance integrated social media and messaging services. Since I'm located in the Netherlands especially whatsapp is nearly a life requirement but Facebook and such come close as well and I don't use anything related to Facebook, Google, Apple and any of the other companies related to mass surveillance programs which often puts me in awkward positions.
Every time someone wants to stay in touch and the fact that I don't use whatsapp comes up again, it usually turns into an explaining session with much disbelief from the other party but more and more often, I'm getting rather tired of that.
Recently, I had one of those moments and instead of saying 'sorry, I don't use whatsapp', i went for 'sorry, I'm old school, i only do texting and calling!'.
No discussion, just got a "ah, fair enough!"
I started doing this more and more and I get the same response every time!
I find it quite astonishing how bringing something another way can get one a completely different response, especially in this context.42
Colleague was doing something with a switch, wasn't working, he went to get another one:
C: hmm, this one isn't working, I'm gonna get another one.
Me: so you're gonna SWITCH them?
How do you call it when production breaks and a programmer has find out what went wrong/fix it as soon as possible while the client is breathing down their neck?
He's going through a rough patch.15
That moment that you come across a domain name which you thought would have definitely been taken already.
Came across strtoti.me. (php function for converting date/time strings into unix epoch's). Quickly wrote an api for it and put it online because fuck it, why not!
Feel free to use it as much as you want, I can't guarantee its availability unless it would become really popular but I can't imagine that.
API example: https://strtoti.me//... 20 20:15
API example (url encoded): https://strtoti.me//...
API documentation (not that good yet, might improve it..): https://strtoti.me
Well, let's see how this goes. Feedback appreciated but I currently have a shitload of projects to it doesn't have the highest priority right now!13
Spend half the day setting up a dedicated server at work (including getting all the hardware together) and installing CentOS and tweaking around.
For a client? Oh no, there just literally wasn't anything else to do and I didn't want to sit around doing nothing or working on shell scripts AGAIN. (working in support (+ linux server management) and due to the holidays hardly any support requests come in)
*Hmmm, lets install nginx for fun*
"yum install ngi..."
*wait, let's compile from source and make it more fun!*
So yeah, that was my day, I guess.5
Don't really have one but I've git to say that I find it rather cool that Linus Torvalds thought "fuck it, we need an open Unix alternative" and that a very big potion of the world runs on the kernel he wrote for a big part, now.5
Why should you sing RAID controllers a soothing song before turning off the lights?
They're afRAID of the dark.9
I find it so infuriating when someone uploads a lot of data containing other people's data as well without asking those people if that's alright with them. (Contact information, address book, etc).
That you don't care about that/privacy is your choice, even your goddamn right but then please don't take other peoples right to privacy/their own choice away in the fucking process.6
Anyone who creates a Facebook Libra account and puts money in it and uses it to buy stuff/for transactions should have their fucking voting rights removed and be submitted to a mental health institution.
Just my personal opinion.26
Mother of fucking god, its astonishing to see how difficult it is to entirely block out Google from your computer.
Actually, its very easy and I wrote something to automate that but the second you block out that goddamned mass surveillance network, every login page of every goddamn site with a fucking recaptcha just doesn't work anymore.
Google, go fuck yourself and with that, every motherfucking site which uses recaptcha.21
This one project at my study.
We always had to do quite some documentation, even some in a way that works the opposite of how my brain works.
That's all fine if you can agree on doing it differently.
Had this teacher who valued documentation above anything else. The project was 10 weeks, after 9 weeks my documentation got approved (yes, not a single line of code yet) and I could finally program for the remaining 5 days.
Still had quite some bugs at say number five, the day of presentation.
I imagined that'd be okay since I only had 4 full days instead of the 5-8 weeks everyone else had.
Every bug was noted and the application was "unstable" and "not nearly good enough".
At that moment I thought like "if this is the dev life, I'm out of here".8
Literally translated from dutch but I think you'll get it:
(Debugging stuff with customer)
Me: alright so in what area are you now, our customer panel or your hosting control panel?
Client: Rotterdam, why?
Just wrote a (PHP based) proxy which can cache resources being requested and serve them to clients.
The idea is that (I'm going to write a firefox add-on for it too, yes) you can install the add-on and any resource (js/CSS, general web resources which would be downloaded off of googleapi's etc) hosted with Google would be proxied through the server running the proxy, meaning that one wouldn't have to connect to the mass surveillance networks directly anymore as for static resources.
I think checksum verify stuff would still work as the proxy is literally a proxy, the content will be identical to the 'real' resource. (Not sure about this one, enlighten me if this isn't true)
"Oh no this platform is serverless"
I hate this "serverless" term.
How does a cloud platform run serverless?
"yeah but like we don't have to run updates and manage the underlying stuff and can thus deploy stuff serverless"
THERE ARE ACTUAL SERVERS RUNNING IN ORDER TO RUN THIS PLATFORM.
YOU CANT RUN THIS FUCKING PLATFORM WITHOUT ACTUAL SERVERS.
HOW WOULD IT RUN THEN, ON FUCKING STARDUST?!
IT. IS. NOT. SERVERLESS. AS. LONG. AS. SERVERS. ARE. INVOLVED. AT. SOME. LEVEL.73
First internship (ranted about it before).
- Had to google translate their entire internal crm.
- pointed out major security flaws and got a speech saying that "I shouldn't think so high of myself and I didn't have the fucking right to criticize their products"
- every time the boss came to the office after a failed sales presentation, we (interns) got called the most nasty stuff. Yes. We didn't have anything to do with that at all.
- I had "hygiene issues": window to the south with 35-40 degrees (Celsius) feeling temperature and no airco. Deo didn't really make a difference but wasn't allowed to use it there anyways. Details: I have a transpiration issue so I sweat shitloads more than other people, that didn't help at all.
- nearly got fired because I had to to to the doctor in company time for a serious health issue.
- was (no kidding) REQUIRES to use internet explorer and we were monitored constantly.
Self esteem dropped through the fucking ground there.15
devRant meetup in the Netherlands yesterday was awesome! Hereby a group picture we took.
Thanks for the amazing evening, people!66
Finally got my nginx config to work properly (it shouldn't work but it does so I'm not fucking touching it).
Request with curl: check, right http code and getting data back properly.
Request with any browser (with and without incognito): right http code, AND ONLY SEEING DATA WHEN I ECHO ANYTHING BEFORE SENDING THE RESPONSE WITH PHP. When I don't echo whatever before sending the response, the browser doesn't see the data but DOES see the http status code.
Manager (walking in in the morning): ey linuxxx, looking good today!
Me: w-what? I'm not wearing much special, what's so great about my outfit? But than....
Boss: April fools motherfucker!
Well, I had it coming .______.10
I think in my case its a monitoring system I'm still writing which does already work (just far from done).
I got this as a crazy idea while thinking that it would be impossible to make and then thought fuck it and I wrote it.
Written in php, and as long as you can write a module for it, you can pretty much make it monitor anything you'd like.
I'm using it to monitor a few websites and servers I run :)5