Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
WTF?!? so apparently I guy I know, knows the guy who built dodeley.com (don't get me started on the name!)
Oh boy... Where should I begin? So besides the fact that I'm pretty sure these newsletters will be classified as spam (aites like mailchimp and so on actually pay large mail providers not to classify them as spam, I doubt they do...), their so called "widget" is just a form, sent to their domain using GET, FUCKING GET, NOT POST, GET!!! The request looks something like "dodeley.com/?action=subscribe&id=xxx&field1=xxx&..." I mean like, WTF? Oh and their solution to not leave the page is simply to add a target="_blank" to the form, that you have to include on your site.
Did I mention, that the form id is static? Did I mention, that there's no validation on what you enter?
Who the fuck programmed this shit? Honestly!1
So, I work for a startup, and I'm officially a fullstack guy, but with focus on backend, thusbour front end is bootstrap. We're currently are looking for a ui/ux/frontend person. Since we're a startup it would only be a 20% position an the max amount we could afford (as we're a startup) would be 800.- CHF a month for a freelancing position.
If you're interested, or would know someone, hit me up. We do have an "entry" test/problem and simply select upon that. The website would be https://reviewed.ch9
Any one running Symfony on a Docker container in production? I currently try to migrate our dev env to a docker compose setup (from a "monolith" vagrant vm). I'm atually not stuck at a Symfony specific thing, but on a, I guess Docker specific one(?), The issue is, I need to read and write with two users to one folder (in my case the /application/var/cache folder). Since I mount my whole code into the docker container (to use an IDE on the local files), I've got a volume (not mounted to the outside world) for that folder. (As far, as good). Now this folder is owned by root and root is also the user I get when I enter the container. When I then run a cli script, that writes to this folder, every thing works (as it's run by root) and the resulting entries in the cache dir are owned by root. Trouble starts when the php fpm process tries to write stuff in there too (as it's run by www-data).
If I add `USER www-data` (or create a new user foobar and add `USER foobar`) the container exits with status 0
So I guess the question is, is anyone running an Symfony app on Docker in Prod, if so how do you solve this? Or another question would be what is the best practice to do this? Sure on dev I could just `chmod 777` the whole folder or run the php-fpm process as root, but if that thing ever goes to prod, I wouldn't sleep very well...
I'm a "lefty", I defended the Python "Master/Slave" stuff, but honestly, what the fuck is this CoC at Linux? (https://lulz.com/linux-devs-threate...)
It it isn't "fair" as people who are indicated don't get a "fair trial", I'm all for enabling women, PoC, and folks of the LQBTQIA+ community, but simply kicking people out you don't like isn't the fucking solution! What a fuckup.
If there are people supporting the CoC, please let me know your views and why, as I simply can't understand it.19
i5 vs. i7?
My old laptop is dying and I've started to look for a replacement. I am used to have an i7 processor, my dev env consists of either vagrant and a VM or a docker-compose env. Plus I use JetBrains IDE. Mostly I do webdev, so not that much compiling going on, however often I need a VM with Windows to have Photoshop or Illustrator running...
So I guess the question is: Is there a notable difference between an i5 and an i7 for development?4
Fuck you guys. Honestly most of the rants i've read concerning python and their abolishme t of sait terms where fucking butthurt. "What virgin suggested this", "people shouldn't be offended, it's just a name" and so on.
I do agree with every one saying a name shouldn't matter (readability is a different story! However parent/child or producer/consumer IMHO preserve that). So why are you fucking offended when it is changed to parent/child or produver/consumer? Does it affect you in any way? You know there's the `sed` command, plus IntelliJ (and most other IDEs) have a quite good support for renaming/refactoring stuff.
By reacting this way, by beeing offended all you do is proving the point. Words can offend people. I personally don't care how it's called. So far I always used master/slave and didn't think twice about it. But then again if someone of my coworkers or friends would feel threatened by these words, I try to avoid them. Naming diesn't matter to me, nor the compiler. So fuck, if it makes people happy or feeling save then lets change it.
What the fuck do you gain by sticking to those terms anyways?19
Do you remember how they say, you won't notice how much you miss something, until it's gone? Well this Island (Guadeloupe) is as beautiful as it can be! However the internet connection sucks. Big time!
Plus the humidity killed my laptop (or at least part of the keyboard including the keys I need for the partition unlock, which means no laptop until I'm home and replaced the keyboard.
I didn't bring it for work but to be able to look up stuff, maybee write some (non dev) stuff and such...
But to be honest since this vacation is so relaxing, I'm not even really mad. Strange.11
Who remembers winamp? Well... We still use it in our bar once a year
Backstory: I help to organize a small openair festival once a year and to finance that we run (amongst other things) a bar once a year.
Music is still supplied by good old winamp! The nostalgia is strong.4
Where to look for an UI/UX person?
Backstory: I currently work at a small startup. So far our website is just a bootstrap theme, slaped together by myself, so you could say, it's far from optimal. Especially on mobile devices.
Where would you guys look for a UI/UX person? Probably on a freelance basis. Did you have good expiriences in the past with a particular site/service?3
Mother fucking SQL, fuck mathematicians, fuck every thing!
Enter SQL, there you need to put `SUBSTRING(input, 1, 1)` because fuck every one! Fucking math guys who developed relational algebra on which (most) databases are based on (I love you for it, but come on you fuckers!), Decided that the first character should be at position 1...
Question & Android
Is there a way on android to limit what apps are allowed to use mobile data and what are only allowed to use wifi?11
!dev random question vacation
So this is completly non dev and off topic. A friend and I will spend our vacation (2 weeks in september) in Guadeloupe (french oversea department). Both of us speake some french and we've got a rental car.
Has any one of you ever been there (or lives there) and could give us some advice on what to do/where to go?
We also plan to go scuba diving, which we'll probably do on the western side of basse-terre.7
Question about permission in `docker-compose`
So far, I've usually used vagrant for local dev. It was nice, as I was able to specify `wack:wack` as owner of all files. However with docker compose, if I connect with exec and use `/bin/bash` I'm logged in as `root`. When I then run composer, it kind of fucks with the file permissions, as after it all new files are owned by root and thus can't be edited with an ide on the "host" system.
One hack that I found suggested creating an user and a group with same uid as on the host and use that instead of root. This just doesn't sound right to me. Any advice on how to handle this situation?6
Any alternative to Googles reCAPTCHA?
Backstory we have a contact form, in a bootstrap modal, loading the form as an ajax request. The form has (as of today) a captcha, as we where getting a lot of spam.
Guess what it does on safari? Right... It renders outside the modal and since there's no need for scrolling, bootstraps modal adds an overflow hidden to the body. Results in non submitable forms on some resolutions.
Any idea on how to fix this, or other captcha systems we could use (it's a Symfony app).4
To all the cheap bastards out there, especially those who are here for a long time, become a ++ supporter and help to keep devRant running! (Okay that might was a bit dramatic, but still, keep it running as it is)
It was mentioned by @dfox here: https://devrant.com/rants/1467574/... that the numbers of the suporters program have gone down slightly and that devRant still looses it's creators @dfox and @trogus money.
If you're working in IT, you can't tell me, that you can't spare this little! Don't be cheap.
It's a different story, if you're still in school. I can even understand, that you don't have a dime to spare as a student. But when you're working (fulltime) as dev, tester, pm, recruiter, whatever and receiving a salary, then you can afford it.
So come on! Girls, guys, this is our home. It's awesome! Show your appreciation and hit that suporter button. It's a tiny amount every month, but if we all pull together, we can cover their server costs! Become a ++ suporter.
(And don't say we should create a crowd funding campaign, where you donate once, otherwise we'll be in the same situation in a few months, a bit every month on the other hand helps in the long run!)7
!dev && rant
Can we talk about banks? Those fuckers! Suposed to keep our money save and be competent... They today gave me the biggest scare of my live and I've run one an update query on a prod db without a where clause! (Okay I knew we had a backup but still pretty scarry moment!)
As a few know, besides being a dev I help to organize a small openair music festival here in Switzerland. The openair was this weekend. Every thing wen't well, until I checked our ebanking account today. There was only 2/3 of the money that should be there. A quick call to the bank and they told me, nope they never received it. As we've thrown it in a secure locker during the night, we didn't receive any receipt or something like that. It took those fuckers 3.5 hours to actually go and check the looker, just to find the remaining money in the corner of it. What the fuck people, can't you open your fucking eyes and not give me a fucking heartatack? I thought you guys are professionals!
Note locker: we get a key to open it from the outside, place our payment during the night, as soon as we close it, it falls inside a vault, so there it's a pay in only system, for lack of a better word, I called it locker.
My heart is still beating like mad, because of them.4
Any Symfony expert here? I've got quite a tricky question, that I'd love to disqus with another dev.
It's about twig within symfony. I'd like to add a custom node parser, but not for an own tag, but to set some value on each template if it's not set (which can't be done with globals in this case!). I've thought about using a visitor, but from my understanding it gets executed to late, as it requires (probably) to modify the twig AST at compile/parse time.7
I've found this tutorial on getting a google free android phone (tl;dr: lineageos, fdroid&yalp, etc.)
It probably isn't news for most of us in here, however a handy beginner friendly guide to give to friends and relatives.
The downside: it's in german.15
!rant this is just a shoutout, how fucking happy I am. Clean code valued over fast but hacky push of features!
Backstory. I work for a startup. Long story short a guy with an idea needed a developer. I've worked for about a year without pay but now since we're live I get paid. Recently a new field of bussiness came up. I told tge guy with the idea (a.k.a. my boss) that we either could just "hack" the current code to just make it "fit" well kind of... Or refactor our main code base, as requirements where changing at least monthly and we just built on top of the monolith.
Don't get me wrong. It still isn't perfect. However I was able to refactor the main business logic for the last few days, as he understood, it's an investment into the future.
P.S. On another note: happiness or happyness? :O1
!dev && education && ~German (survey is in German)
My girlfriend is doing her "A-levels" (the things you do to qualify for university). In Switzerland it's called Matura and in Germany Abi.
However for her final assignment she has to do a survey. Since it's in German, probably only People from Switzerland/Germany and Austria will be able to participate. However if you understand German feel free to participate!
The topic of the survey is "taboo topics" and the survey can be found here: http://we03sl.findmind.ch (takes less than 5 minutes)
Thanks a lot for your time (:17
Always multiply your time estimate by Pi (an Irrational number). That way you're guaranteed your estimate will be irrational! (Just like the clients expection :P)7
Happy first of may, happy international worker fight day to all the devs out there. Unighted we stand, duvided we fall3
It's not a dev quiting but my brother who worked in parcel delivery at that time.
He was hired on a temporary contract but promissed from the beginning and in every discussion they had, that he'll get a permanent position after 6 moth, if his work is good.
Fast forward 6 months. They had a meeting and told him how satisfied they where with his work so naturally he asked about the permanent contract. Fuckers acted suprise and shit. Claiming to never have said any of it. However as they are happy with him and so "generous", they offerd him another contract for 6 months and told him, they could talk about a permanent one after that period.
He kind of has a temprament, so he got up, fliped them the bird and called them lying assholes and went home. He didn't show for the time left on his contract.
The funny thing about it he worked for the swiss postal service (which is owned by the state) but not directly but through this.company providing temporary workers (which is cheaper for them as they get a shitty salary compared to a full time employee with all the benefits).
Nice thing though, the accounting department still sent him a christmas bonus (he quit somewhere around mai...)7
A friend of mine wants to start learn HTML/CSS/JS and ask me where to start.
Since I started to write them more than 10 years ago, I have no clue where to start, what good ressources are today and so on.
Therefore: what would you recommend, I recommend her?9
!dev && !rant
@dfox and @trogus my so was like, wait... Is this like a thing to complain? That's awesome!
Wait let me guess it's for developers only, right? Why can't we normal people have this? :O10
What the fuck! Just witnesed this at university. The guy in question is in the same cs course as me. Using edge, okay. But searching for a picture on google (a icon in that case), copy it to memory, open powerpoint, paste it, manipulate the color aellsettings to make it gray and then save it from powerpoint? That's not how you fucking do it! Fucker!7
Fucking finaly I'm back on devRant after my phone decided to die during the weekend. But why the fuck do I get a light theme again? @dfox, could you save the preferences in the profile? Or at least display the options on first start? :*2