Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Any advice on a Symfony update to 4.x? It once was a 2.x which I've updated in the past to 3.3 any pitfalls to keep in mind when upgrading to 4.x?4
Fuck this dieing pice of cheap chinese android crap. Sure it was anly 250 bucks, but holy hell... I could deal with the software side... Android 6 isn't the newest but eh...
But now the fucking hardware is failing too... To be more precise the buttons seam to randomly fire, which is really fucking annoying. Sometimes when both back and the other button fire the touch screen even joins the party of triggering touches in the right upper corner... Why the fuck ever.
Just ordered a pixel 3a, your days are counted fucking piece of trash!
Had to order the new one to a mailbox in germany though, as google doesn't ship them to switzerland (and the few retailers who import them charge like 130 bucks more, so paying the 5€ pickup fee will be a lot cheaper...)8
I'm visiting st. Petersburg in russia. Any devRanters living there? Or can anyone reccomend stuff?2
How would you call this role? Product Owner? Graphics Designer?, Both? Neither?
I work for a small startup besides university and we do need a person responsible for how site looks. But then again we also need a product owner for the frontend. So why not combine these roles? A person who's responsable as product owner for all the frontend related bits plus does the designing. Initially this person would work with just one frontend dev, possibly more over time.
- How would you call this role/job?
- What would be an appropriate salary?
- How would you evaluate an application to this role?3
I've been asked to write a job ad for a frontend developer, as I have never don that, what would you write in there? And what are usual salaries for frontend devs? Also what would you ask them in an interview? What kind of coding challenges would you give them? Also we're not looking for a "code monkey" only but that person should also be responsible for jow everything looks (like the design and UI/UX of the site). How would you call that position? I've for now put "Frontend UI/UX Web-Developer" there.2
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.13
!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)6
Happy first of may, happy international worker fight day to all the devs out there. Unighted we stand, duvided we fall3