Skillsc++, java, php7, PostgreSQL, linux sysadmin, python3, c
Joined devRant on 7/12/2016
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Why the fuck is there no proper and maintained reST implementation in any other language than python? I want something working and maintained to work with, and parse, reStructuredText, but all results only hints to this poorly defined, incomplete markdown... I've been using markdown for some time already but reST really has a more complete standard than markdown...2
Everytime I need to work with golang, I feel disappointed.
A language full of good intentions and nice ideas, but the standard lib lacks so many things... For example, for file upload, like for almost every other language, there's at least 1 native way to quickly determine the file's mime type but not in golang, you have to entirely do it by hand, including the mimetype comparison table. Why not use magic like everyone else?
Also the error management is just fucking dumb... Not wanting exceptions may be useful, but forcing you to check for error at *every* function call could be done better.4
I put a very strict separation between work and my own life. At the moment at which I leave work, I'm not at work anymore.
Still, I spend some time discussing common interest topics like photography, motorbikes and such with colleagues
Finally finish my blog's admin panel.
I've started a hundred projects to do it, heavy clients, web apps and more and I always end up abandoning the projects out of boredom.9
Music's pretty much the only thing that keep me from throwing tables at clients or breaking my computer.
A bit of Dream Theater or Rise Against usually follows me.7
A lot of devs says that motivation is key, but as a professional, my work don't expect me to come and go as my heart wants, but to get shit done.
I had a very hard time getting some work done in the beginning of my work, also because my organisation was bad, but mainly because I couldn't stay focused on anything (depression and such shit hit hard). When I started being more rigorous, it immediately came more natural and easier. Still, that's quite a hard way to work.7
@jAsE I've yet to find any "good" proprietary software, except for the JetBrains suite and a few tools for which I haven't been able to find any good alternative. Here, I'm searching for those "alternatives".
@bittersweet you made a valid point by asking me this question, as, even for me, the real need I had was blurry, so I took some time really trying to corner what I wanted.
So, I didn't think about a S3-like storage system, but I wanted some form of centralized storage that I could still access over HTTP too, so Minio seems like a very cool alternative, giving out a simple but functional web UI ! I'll look into the security details, especially around auth and transport cipher still.
Another "requirement" I had when trying to search for alternatives was caldav: I wanted a calendar server that I could just use for all my thunderbird clients on all my computers, I checked Radicale and davical and, while both seemed interesting, I couldn't manage to set them up.
For caldav, I really only need a caldav provider, the web ui is really not needed and only a bonus.
Finally, I wanted some form of online editor (markdown viewer would be a plus !) so I could take notes during class without needing my huge laptop, useful in class when I just can't use my computer.
I checked backdoor, which is a really recent project but seems clean, but I still have to find some editors that would be "simple" and lightweight, but working decently.5
Anyone knows a good FOSS ownCloud alternative that neither uses PHP nor MySQL (or MariaDB, either PgSQL or SQLite3 are fine) ?
I've been searching for some time but unable to find any.
Syncthing is weird, seafile doesn't look open source and is a pain to setup..19
They mostly thought I was playing on the computer but now that I have a job, they always assume I'm working on it, meaning I can finally play peacefully !
I recently posted an article ("Open thanks letter to developers") in which I also cited DevRant, including @dfox and @trogus, but some other users (the ones I could think of at the moment I redacted it) (highlighted in comments).
So, thanks for the good time and awesome community, directly from here !
(plus, my blog seems down, so I can't reach the article...)15
Currently stuck at the Nice's train station, with slow internet. Some gummy bears help me wait for the heavy mongodb documentation to load!10
At school, we were taught Java8. In most exercices for GUI developmeny and containers (GUI development using Swing/AWT, fuck me) we weren't allowed to use ANY java8 feature (why the fuck call this course 8? The professor told me that was because he was teaching java8 (wtf)).
Anyways, we needed to sort a list using a basic string comparaison by hand, so I immediately did it using a basic lambda that's clean, nicely working and easy to understand and this professor comes from nowhere saying that in Java8 I can't do lambdas and I need to make a dedicated class that implements the Comparable interface because when working with other devs they won't understand what I did.
To put it simply, here in french university the only thing we're taught is not how to think, not how to code, but how to work with government offices ONLY (so outdated systems and asshole managers), so the courses are useless if you want to actually make a living and not be exploited.14
Well, let's slowly go away from the keyboard and take some vacation before thinking about fixing these.
(errors come from semantic-ui css library)3
@f03n1x what the actual fuck?
74 total +1s. Did you actually go through my entire profile upvoting everything?65
We had, in france Uni (which is free, so a togo for most), C course which only taught obsolete things. They dropped C++ in favor of java to teach OOP patterns, which is good, because :
I'm working on some student help forums, mainly for C, C++ and Java categories. ALL asks on C++ are showing a totally wrong use of the language : naked pointers, manual dymamic allocation (usually with new, sometimes even with MOTHERFUCKING malloc), most of the time without freeing afterwards, and more horribly stupid shit. Why? Because, from a professor's point of view (note that 99% of our uni professors are dickwits that don't know anything about development), C++ is C, but with class keyword, which means a C pointer and a C++ pointer are the same, for them. So we get all students that don't understand a shit about C++ and learn to code horrible results, just because, for professors, it's "simpler".
Fun thing: I'm not the only helper. The other ones are respectively 2 contributors to the G++ project, 2 professional c++ software developers and a few contributors to the C++ norm. And usually our first response follows the lines of "tell your professor he's an ignorant cunt, then instead of doing *that*, do *this*, there's why...", on which some professors come back to respond that their opinion is a more competent course than the official C++ contributors and the guys that knows the language the most. Fuck france Uni, at least it's free.6
I put them most of the time, but sometimes I don't even feel good enough to put them.3
Not doing proper security to communicate with my database. I should write a script to auto generate all the SSL crap and such
I'm still a student, and this story happened last week, we're currently not coming to her courses anymore and we have a meeting with the department chief about her and a complaint deposit we made. Anyways, good read!
Edit: attended meeting, we don't have her anymore.
We have a usually very bad professor:
She doesn't know Java or SQL, we had her as a java and SQL professor.
Not only she's unskilled, she also have an obviously enormous ego and a serious inferiority complex.
For her, as I have currently multiple years of experience working in Java and following multiple paradigms for a lot of projects, (banana, still reading?) so I can say that I'm clearly not a total beginner and our current courses are obviously quite simple to me ; I do the asked work entirely but after that I work on other course related stuff. I'd like to help others as there is a lot of difficulty in the class, and her screaming at her students helps no one, but we're not allowed to talk or search on Internet. Which is stupid, but at this point I'm not shocked anymore. Anyways, since she already saw multiple times that I'm not only more skilled in that field than most students, but than also her, she hates me and try everyday to attack me verbally. I have a (very sensible) friend who haves a hard time in class, and the day before we decided to say fuck, the professor clearly stated that "because she failed the past semester (the prof isn't allowed to look at our informations btw...) she have no right to complain and must obey silently because she's stupid". If I didn't hold her and went away I'd have exploded her head on the wall behind her.4
This clusterfuck looks nice from the outside, a lot of corps uses it and it's the default choice of most devs. Quite like Wordpress, amirite?
Not only this shit is overheavy and is a frigging tank for driving, heavy and impossible to scale, it's also one of the hardest to configure. The docs are completely empty and unclear.
But suuuure it's nice to learn the basics of ORM and such using Doctrine (once you forget how slow and unpractical it is) but now, once you finished developing your small shitty website, ask me how do you actually DEPLOY it?
After fighting with the framework for hours to get a basic job done you now have to fight to deploy it to production, and lemme tell you it's an obscure bug filled nightmare. At least composer saves you a bit of trouble, but you still have a lot to do.
I dug out my old portfolio and decided to rebuild it and actually deploy it. First thing I did was moving from MySQL to a real database system (PostgreSQL). At least, it wasn't really hard, since I wrote by hand the database setup script.
Next I tried to see how everything was. Got a lot of trouble with some twig generated content and the fucking $container->getParameter didn't completely work for some reason (didn't load every key from parameters.yml). Spent 2 hours debugging that, crawling through all the error logs, reloading cache and stuff. Once that was fixed and I came up with a stable version, I decided to deploy it.
I spent 30 minutes dealing with permissions and the virtual host. At least that part was pretty basic. But production was fucking hell. Throwing errors from everywhere at the same time, errors I never got in development.
After spending a few hours listing every error I encountered, I fixed each of them in production while crying of anger.
Why the fuck dev mode don't show every error or warning but prod mode crashes without warning on them? Who fucking thought it was a good idea?
Also yeah, love that swiftmailer shit. It doesn't work at all, even if I use the gmail smtp and such, and I needed to use my own smtp. Went with mail out of despair after fighting with swiftmailer.
This guy won almost all the fights... But I managed to win this war.
And lemme tell you, never again this will happen, because I won't use this shit anymore.8
In uni, every computer in each classroom is on the same network (logical). But that means that every uni user can ssh to any uni computer and interact with logged users. Which means the write commands would be devastating.
After other students got their ssh course, it quickly became a message spamming chaos.
As I was working on my personal laptop, when logged into the uni network, I could still ssh to any computer using my uni user (logical, right) but they couldn't reverse that back as my laptop don't have the same usertable as the uni computers. I made a propagation script where whenever someone would try to ssh'd into my machine, it would ssh right back to them using my uni userid, copy the script used to detect-and-ssh, run it and forkbomb the guy's computer after that. Quick propagation.
After a few days of chaos, when they finally understood, I never had trouble again. (got a perfect score on my semester for that field btw)6
Even if Gitlab deleting part of their database is a sad costly mistake, I still, and even only with that, trust them FAR MORE than most other services out there. Why?
The fucking transparency. They didn't said some stupid shit like "we're experiencing problems" or whatever. They clearly said "we fucked up" and gave a detailed report on how they actually fucked up, why and how they got away and fixed all this. I prefer to know what happens, even if it's problematic than not knowing anything on the situation at all. So, good call Gitlab. (made that into a rant because fuck it)20
Dark room, some nice OSTs running like the Mass effect trilogy or Ori and the blind forest, kigurumi on and distraction off1
Worst: had to create a software made to generate some exam test copies, soo fairly easy, except it was in full c# and we weren't allowed to use c++ or java. A freaking nightmare, never I'll go back to that hellish language (c#).
Best: actually did the thing in Java, pushed it and got an almost perfect grade as my system was way cleaner and like a hundred times quicker than all other c# projects.1
Hey ! Just received a PIC16F506 and a PIC16F887 chipset, give me some ideas of stuff to do to begin !
Once I manage to do them, I'll post the result here !3
Okay it's been two weeks since I started trying to install and configure a fucking *secure* postgresql database on my server and up to this point I still haven't managed to do this shit. Who the fuck in the entire development team thought it was nice to have such a pile of crappy documentation ? I don't know if that asshat twiddler thought it was "cool" to copy the fucking undocumented shit we find on npm or just intelligent to put a default config in full plain view and recommend fucking md5 as the best "pass hash algorithm" out there, especially considering how so many users are getting tired of using that mysql/mariadb shit but are unable to move in front of such a huge pile of unknown void.
If I had unlimited access to money and time I'd retire in a big house in a forest far away from everything.
Cuz people suck12
No good package manager..
Every time I'm setting up a new project, having to manually download every dependency isn't particularly nice, especially when I'm working with git versioning as I'm working on several different devices.
I found a package manager and I still have to really use it9
Okay I know it isn't the best place to ask that but:
I tried to setup an openvpn server on a CentOS7 VPS. I followed a few tutorials and always ended up having a hard time because things weren't working. Do you know any good working tutorial, or, better, do you know any other system than openvpn ? Thanks !4