Details
-
Skillsphp, javascript, html, css
-
LocationItaly
Joined devRant on 5/21/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
-
I'm gonna register myself as a self-entrepreneur (idk if it's the good term in English) today. I have some pressure, I'm going to suffocate under tons of papers16
-
I've been a user of NetBeans IDE for PHP for quite sometime. I use it both at work and at home for personal projects. Lately I haven't done many personal projects so I fired it up on my Mac only to find it utilising 100% of all my CPU cores. This has always been an issue with NetBeans for years and it just seems like they can't be bothered to fix it.
So now I'm on the search for a replacement. At work now I use PHPStorm, but the $200 yearly license for small personal projects is a bit much. So for the time being I'm going to be trying out Atom with the ide-php package. It's a shame really as NetBeans is one of the good IDEs out there, but it's such a resource hog that I'm not sure how people can do any work on it.4 -
All the cunts with their strong cologne mixed with cigarettes smell should have cut off their noses like Voldemort.7
-
Workplace requires formal dress code. In Italy, in July, with up to 30C (90F) outside. And August is going to be worse.
I have to take a train + walk 10 minutes to get there. And I sweat, like, a lot. I frigging DRIP. It gets embarrassing, and I think I was close to passing out a couple of times in the last few days.
I really don't know how to mitigate the damage. Suggestions?14 -
At my job in the past week there have been at least one 1 hour-long meeting every day with today hitting the record with 3 meetings.
This is fucking insane. I signed to a developer job, not a guy-sittimg-and-listening job.2 -
When you see the deadline approaching but steam summer sale is going strong so you just sit there like1
-
I don't understand people who watch football at all... Yesterday at around 4pm France time, France was playing against Denmark I think, so my boss had the brilliant idea of making some kind of party so everyone in the company would watch that. He brought beer, make up, food and so on.
Guess what, pretty much all my coworkers stopped working on their programming projects and went to watch it, I was the only one who stayed in my office and worked on my project, yeah, i'd rather finish my PHP project than watch a bunch of brainlets running after a ball.
Boss was nice enough to bring me a drink though lol14 -
In a recent venture, I had to use an office suite and a photo editing software regularly. As a Linux user, I tried using Libreoffice and gimp. But that was just a mess. My other project partners were using MS office. Format, image alignments, fonts.. everything was messed up. Same happened wih the gimp. I know Photoshop, learnt while studying. Gimp was just no match to that. I was forced to go back to Windows. And I was surprised that the latest MS office and Adobe Creative Cloud were excellent. MS office was smoother and faster than Libreoffice.
I love linux. I have tried all the major distros and I love all of them. But I would still say that Linux is not the best option for day to day non-dev tasks. Whatever Richard Stallman and the Open Source Community say, Linux lack good softwares, at least some good document, photo, audio and video editing softwares.8 -
Oh god, structure alignement, why you do this... You might be interested if you do C/C++ but haven't tried passing structures as binary to other programs.
Just started working recently with a lib that's only a DLL and a header file that doesn't compile. So using python I was able to use the DLL and redefined all of the structures using ctypes, and the nice thing is: it works.
But I spent the whole afternoon debugging why the data in my structures was incoherent. After much cussing, I figured out that the DLL was compiled with 2 bytes packing...
Packing refers to how structures don't just have all the data placed next to each other in a buffer. Instead, the standard way a compiler will allocate memory for a structure is to ensure that for each field of the structure, the offset between the pointer to the structure and the one to the field in that structure is a multiple of either the size of the field, or the size of the processor's words. That means that typically, you'll find that in a structure containing a char and a long, allocated at pointer p, the double will be starting at p+4 instead of the p+1 you might assume.
With most compilers, on most architectures, you still have the option to force an other alignment for your structures. Well that was the case here, with a single pragma hidden in a sea of ifdefs... Man that took some time to debug...2 -
My dumbass colleague thinks the best idea to a Restful API backend is to store some kind of session based on the token.
It'd be great if that remained as an idea instead of this 11 month-old system he built before I got in.
MOTHERFUCKER.
Yes, it does mean that if the server boots for whatever reason, everyone has to login again to get a valid token LOL6 -
The fact that I have to convert a 90s-ish design into a WordPress theme despite the boss trying to convince our client that WP's shit and we should do it in something else doesn't tilt me as much as it should.
But what DOES tilt me and piss me off is the fact that the shitheads told us to 'make the design better', and so I tried; I made one of their graphics responsive by only designing it with CSS (and for once, I even made it work right) because they wanted a mobile-friendly version but failed to supply a mobile-version PSD so I had to improvise and they had the balls to tell my boss that they're 'disappointed that we failed to follow the guidelines'.
Did you bitchsicles even bother to hire a proper fucking designer who would know how to fucking design a PSD to convert into HTML? There's no fucking grid, the design's all over the fucking place like your mother after a Viagra-fueled Friday night bukakke party at an old home and the colors are an eyesore like your own fucking selves if you ever bothered looking in the fucking mirror. Fuck you all to hell.1 -
I've made an opensource developer angry today by asking if their project supports a particular feature...
☹️11 -
Hey Designer/Developers, I got a question for you. Yeah, you 👇🏽
When working on a project codebase that is expected to grow and evolve heavily. How do you usually split up your CSS (SASS, LESS etc) in a good way to take into account all the different device sizes?
I am not asking how it is done but more about the design of the code. This would be for a production codebase to be released.
Do you use large blocks broken down by media...
(Media width) {
~site code
}
(Other media) {
~same site code with diff sizes
}
Or do you do individual media queries inside css classes...
.className {
(Media size) {
}
(Other media) {
}
}
Or a mixture of both?
If it is a mixture of both then how do you decide which way to go about structuring the code.
I have been endeavouring to greatly improve my CSS and have done so. But this question has been bugging me. Both sides seem to be a bit sloppy and my programmer side is fighting the repeatitipve code.
Note: all code examples are gibberish and only intended for visualization.17 -
Dear people who think Microsoft buying GitHub is fine because Microsoft is more supportive of open source than before.
Here's the facts.
1) Microsoft is a large tech company investing in many things. That's a fact.
2) If Microsoft were to exploit GitHub, it would be a benefit to other departments in Microsoft. This is also a fact.
(For example, if tomorrow GitHub was tied to azure or some annoying shit like that.)
3) If such exploitation occurs, it will most likely be to the detriment of the free community of developers. This is a highly probable outcome.
4) The only question now is this.
"Does Microsoft care about open source enough to cut down on potential profit."
The answer of any sane, unbiased individual had to be no.
This is why people leave GitHub today. It is NOT because some childish hatred for Microsoft. In fact, I would've personally moved out of GitHub if "any" other large tech company had bought it, thereby compromising it's neutrality.
Edit: spelling20 -
COBOL is fun they said.
But writing codes + calculating every space is sooo f*cking hard.
But I'm enjoying it tho.3 -
Nothing makes me cringe more that some dumb fuck jabbing their finger at any computer screen to show me what they’re talking about. DON’T. FUCKING. DO. THAT. What makes you think it’s even remotely good for the displace? Do you see it freak out the way it does, that’s not a good thing. Stop fucking doing that!3
-
Tonight, I gave birth to my first fully functional and deployment-ready dockerized application, "lestadium_web_1"!!
The big baby contains a Laravel showcase website with some React already in production! Big bonus with that, it's connected to a database, and I managed to setup some environment variables so nothing too dangerous is built within the image!
Fuck, that was exhausting but I'm so happy to finally understand how to make my stuff work, how they work and how to find some examples to get inspired from 😍4 -
Just got an internship a few days ago. The manager threw a project at me. I have to do it alone. It's a user-system (registration, login etc.) The front-end is ready. And I have to build its back-end in PHP. I started to draw the project on paper (pseudocode) and then asked a few questions about design patterns to jump into coding. They recommended me Laravel. I'm good at PHP (procedural) and have done some basic OOP. I've actually built a few projects in Python using OOP. But I've never used any framework (yeah, I know). So I started to learn Laravel and realized that it's very different than normal PHP (procedural or even normal OOP). I almost don't write any normal PHP code. This makes me confused. But I have to learn it fast and well, and finish the project to hit the deadline and get the full-time job. I'm desperately looking for any kind of help to learn Laravel more effectively! I've googled and got some recommendations. But I need more live help from devs directly.5