Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Get a devDuck
Rubber duck debugging has never been so cute! Get your favorite coding language devDuckBuy Now
Search - "that's a lot of ++"
A note on devRant community etiquette. I've seen some behavior lately that I want to just mention since it goes against the rules of our community. We've specifically built moderation tools into upvoting and downvoting, and that is how all content should be moderated.
Commenting on rants that you don't think should be posted only gives them more exposure and unfortunately at times people trying to moderate content via comments and rants have gotten abusive towards other members. On the contrary, I've yet to see any of the people these select few members accuse of "ruining the community" act hostile towards anyone.
So with that said, I wanted to make sure this policy is visible, because commenting on other people's rants, especially in a hostile way to stop them from posting, is bannable and we really don't want to see it. Like mentioned before, that's what downvoting is for and it's much more effective since it doesn't boost the content like adding a comment does.
We take content quality seriously and while we haven't been able to eliminate reposts completely, we've made a lot of progress. For directly reposted content, we added the repost detector (https://devrant.io/rants/425054/...) and are still working to improve that and appreciate any feedback/ideas for it.
Like any community on the internet, devRant will always have some reposts and it will always have some content you really don't like. That's what comes along with being an open platform with very little moderation. We get requests to moderate more heavily, but we don't like censoring recent rants and don't plan to do that.
Most of the times people who repost content or an image didn't realize it was already posted. Not everyone uses recent sort and almost always they have no ill intent.
Anyway, feel free to let me know if you have any questions and feedback is always welcome.46
Hey everyone - just a note on rants about politics: we've had a long-standing policy not to really allow any of them. So if you post one and see it quickly disappear from the feed, that's why.
We've gathered a lot of feedback on this and Tim and I both agree that Facebook is ridden with posts about politics and one of the more refreshing aspects of devRant is we've kept it free of that. It's also an aspect of Facebook that many people I've talked to really hate.
Thank you, and feel free to let me know if you have any questions.31
An open letter to the guy that commented on my website:
«Function X does not work. This program is shit. I am going to uninstall it and tell everyone.»
I'm sorry that my completely open source project didn't work for you. The fact that I lost countless days and months and years working on it in my free time, without ever asking for a cent, just trying to do something good for the community, doesn't give me the right to release a feature that may be buggy.
You could have opened a bug report. But that takes time. A whole 2 minutes. I understand the urge to post such a harsh public critic on my website. That's why I was so calm and understanding when I replied to you there.
However, it's a long time I wasn't browsing devRant and I confess I felt the urge to tell you to go fuck yourself. And this is the best place to do it! I'd pay to know you. I'd love to see your face. Oooh you must be so confident of yourself. I'm sure you have accomplished a lot in your life. So here's my message:
Go Fuck Yourself Asshole9
My views on the github/MS thingy.
I've had to explain in at least 20+ rants that some people might have legitimate reasons/opinions for disagreeing with this deal. I find it quite bad that I even have to say this but that aside for this rant.
Microsoft is a commercial company which does a lot for open source, that's a fact.
In my case, I mostly look at the part of Microsoft in regard to how they treat users and user privacy as this, in my opinion, shows for a great deal how trustworthy a company is.
It's publicly known that Microsoft joined the prism surveillance program in 2007 which in my opinion also meant selling out all users.
Next to that, through at least windows 10 it has done quite intrusive user tracking which I also see as a betrayal to its users.
I could go on and on about cases but I've made my point on at least microsoft.
As for github selling itself to Microsoft, this most likely means that it'll also be integrated within the prism network. That's my main point of concern as to why I disagree of this deal and have lost my trust in github for selling to a company which, imo, has absolutely no respect for its users' privacy and has ethics I entirely disagree with.
I still haven't formed an opinion on the rest of arguments out there as, due to a medical thing, I'm hardly able to focus right now.
You might agree or disagree, that's your very right and that's perfectly fine. Just don't say that I haven't come with an actual argument/opinion as for why I disagree with this deal.20
After spending a few months on this site, what strikes me the most, is how unhappy a lot of programmers are.
It kind of makes me sad to see so many of you struggle with office politics bullshit everyday.
I have a confession to make.
I've never had a programming job, or freelanced, yet I have made a very comfortable living with programming and marketing for the past 20 years.
I make my living by finding niches where there is shit software, and creating a better alarm clock.
The first 5-10 years of doing this, I worked my ass off (throughout my twenties)
But during most of my thirties, I barely had to
work to keep it all up. I get residual income still
from stuff I did 10 years ago.
I'm curious if anyone at all would be interested in learning how to do this, quitting their job, for example, or, just having the freedom to write your own code without answering to anybody but your own customers. Many of whom you never have to talk to, they go to your site, they buy, and rarely ever send emails (if you do it right)
Everybody here has knowledge that is so bankable, yet they seem to just surrender to
asshole bosses and clients. It doesn't have to
be like that.
If you'd be interested in this, please ++ this.
I'm thinking of creating an online course about creating and marketing your own software, specifically for programmers like you guys. and girls.
I genuinely just want to see if there's interest. I hope that's ok.66
I have this one friend who thinks he is a tech guru just because he plays video games a lot and started to study cs for one year. Now he got a job as sysadmin and it is funny to hear him brag about the job in front of non-tech people because he sounds like a CSI Cyber episode, just throwing tech words at the people and I know that he talks bullshit.
But I have to admit, he knows how to sell himself. Probably that's how he got the job in the first place because it cannot be his experience.
Yesterday he called me, to help him edit something on a linux server. I told him "To edit the file type 'vi FILENAME' and then you can edit. I have to go now, I have a meeting." :]23
A lot of the people are complaining about working in inhumane conditions. I want to debunk some bullshit that I think is causing this.
Devs are hard to find. That makes you valuable. A good dev that actually works for 30-40 hours per week is extremely hard to find.
The relationship with your employer / client should be simple: you work, they pay. What you do NOT:
1. Do not take responsibility for other people's decisions
2. Do not internalize other people's problems (you've got your own, better stick to them)
3. Do not let ANYONE guilt trip you into anything that you're not indeed guilty of.
4. Do NOT work for an effective rate that's significantly lower than you know you can get elsewhere.
There are indeed some utterly evil assholes out there that will try to manipulate you, into thinking that you're "part of the project", or that "you're all a team". Yeah, you are, but when it comes to making money, you'll only get the salary, regardless of how successful your work will be. THEY have a motivation to stay up late, to work extra hours, etc. You DO NOT. If you do that, and don't get paid extra, you're working for free, which means that you're not a professional.
Are you a professional? Then have respect for yourself, and bill for every fucking second of your time. Don't let the assholes think they own you.
As a professional, you MUST do EXACTLY what you're paid to do. No more, no less. Well, if you're feeling good about it, then you can do slightly more. And anyone that's demanding more, basically has no respect for you, and doesn't consider you a professional. That is the plain truth. See it as it is, and handle those scumbags accordingly.5
There was a previous developer who my managers has told us was terrible and toxic. Yet due to terrible planning, he had everyone work for over 13 hours last Sunday.
I contacted this previous developer to learn his side of the story and learned a lot. I realize between their two narratives is the truth, but I see all the ways we've been lied, the ways this other dev was scapegoated and all the additional work that's sure to come.
I refuse to work weekends again. I refuse to work over 40 hours. I wish I could convince everyone else to do the same. No amount of money is worth making up for bad planning and management.1
That's it. I fucking quit.
Over a month of unpaid work, developing your stupid course, only to get a high-quality outline rejected because "it's not what we wanted" again.
First outline, fuckers ask to do something with a Raspberry Pi and Yocto. Fine, but no Yocto as I don't know anything about it and the coworker doesn't even have a Raspberry Pi to flash the images on. Micromanagement guy (god I hate that word) agrees, fine no Yocto then. So no Yocto it is.
2 weeks later... Course outline is finished. Review stage.. rejected. Needs moar Yocto.
Fine... I'll include Yocto. Coworker was put off the course, I'm exclusively on it now. Time to do it well and get my feet wet with Yocto.
2 weeks later... Course outline is finished and looks pretty good. Review stage.. rejected. Needs less Raspberry Pi. Do it without the Raspberry Pi.
An embedded systems course whose core component is that fucking Raspberry Pi. Omit it they said. WHAT?!!
"Oh yeah but there's this other course that's selling like hot pockets, we can just redo that in videos. Make it more like that course."
You.. you can't be for real, can you? If students want to take that course... What makes you think that they wouldn't just pick.. *that damn course* then?
"But hey" micromanager said, "don't loose hope and confidence, I'm here🤪"
🤪. That describes your level of competence pretty well, you stinking piece of apeshit.
Go back to your micromanaging, at least you don't completely fucking suck at that.
2 times rejected because YOU fucking company's board can't describe your desires in a course properly. You know what, I think I'm starting to understand why web devs keep on complaining about indecisive clients now. Because you know company's board, you seem a lot like those clients from hell. Eat shit.
Stop it with the Linux shilling already.
I'm 27 years old and I love Linux and git and vim just as much as the next guy (yeah fuck you emacs!). I have discovered this place as a room for discussion, advise, humor and rants of course, and I had my good share of giggles.
But lately it seems that every other Post is "look at me I installed Linux" or "hurr durr he doesn't use git" or "windows omfg kill it with fire". And to some degree, those rants have a good point and are absolutely right. However, most of them are not.
This is why you're part of the problem. Constantly shaming and ridiculing any technology that's not hip in nerd culture, regardless of the circumstances. This makes you look just as bad as the peoples you look down upon for writing their code in notepad++ on windows xp with McAfee installed. Even worse, from a professional point of view, it absolutely voids your credibility.
How am I to take you seriously and presume a fair amount of experience and out of the box thinking if all you do is repeat catchphrases and ride the fucking hype train. And yes, I know there are a lot of minors or peoples who are just getting started in the industry. But I have seen enough self-righteous hateful spews from peoples who claim not to be.
Anyway, this is getting long and I think I have made my point. Maybe I am just too old to be joking around that shit all the time anymore. But from what I have seen, I wouldn't hire the biggest part of you. Not because you are bad at what you're doing, but because what you say makes you look absolutely unprofessional.
But then again, this is devrant and I love you all. Have a great week everyone!26
I am starting to get more pissed off than I should be by one particular type of rant on here.
My boss/senior/coworker did not know how to do XXX even though he is supposed to have more experience than me. I had to fix his goddamn problem blah blah blah.
If you'd have that attitude on my team I'd be spending a lot of time trying to get you off of it. A team MUST help each other. If you think you're better than others you either teach them or get the fuck out. If you don't understand or know something that's fine and it perfectly normal to have others explain it to you.9
After months of tedious research, I finally feel like I understand machine learning.
All of my programmer buddies are in envy, but I keep trying to explain that what I finally get is that it's not as hard as it's presented to be.
I feel like a lot of the terminology in machine learning is really pretentious and unnecessary, and just keeps new people from the field.
For example: I could say: "Yeah, I'm training a classification model with two input neurons, a hidden activation layer, and an output neuron", and you might think I was hot shit. But that just gets translated into "I'm putting in two inputs, sorting them, and outputting one thing".
I feel like if there was a plain language guide to machine learning, the field would be a lot more attractive to a lot more people. I know that's why it was hard for me to get in. Maybe I'll write one.28
So today I got let go from my job.
I've worked for this company for about 2.5 years, and soon after joining I became the only IT resource for software. I had to support literally everything after they fired the rest of the team, but I did a great job and have been praised by all the management at the company.
A few months ago, after a salary review and a frank discussion with my boss and his boss, they agreed that I am due for a raise. They had a massive project coming up with a lot of extra expenses, but I was told that right afterward they would be giving raises.
I spent tons of late nights and weekends on this project, and we were able to get it mostly finished about a 1.5 months ago. I was instrumental in the project (the rest of the IT team didn't even know how to set up simple DNS records). An email was sent to the whole company thanking me for all the work I put into the project.
A week ago, I messaged my boss to ask about the status of raises as he had told me they should be going out at the beginning of this month. He said there won't be any raises, and that's all I heard. Then today I get a call telling me that they are letting me go.
Let me get this straight: you led me on with talk of a raise just to keep me here working long hours for your big project, and then you fire me after recognizing what a great job I did? That's just sick. I have watched them treat other employees and partners unethically, but it took getting it first hand to realize how bad it really is. My teammates were in shock when I said I was leaving as they have all leaned on me very heavily.
Fortunately, I have had several offers come in over the last few months (2 this week) for more pay. I only held off because of the lies I was told about receiving a raise and out of a false sense of loyalty. I'm not worried about my future at all, just angry at the way I was treated.30
So, as someone who has spent a lot of time in JS and a lot of time elsewhere, here are my views. Please, discuss your opinions with me as well. I am genuinely interested in an intelligent conversation about this topic.
So here's my background: learned HTML/CSS/JS in that order when I was 12 because I liked computers. I was pretty shitty at JS until U was at least 15, but you get the point, Ive had it sploshing about in my brain for a while.
Now, JS certainly has its quirks, no doubt, but theres nothing about the language itself that I would say makes it shitty. Its a very easy leanguage to use, but isn't overdeveloped like VB.net (Or, as I like to call it, TheresAFunctionForThat)
Most of the hate is centered around JS being used for a very broad range of systems. I doubt JS would be in the rant feed so often if it were to stay in its native ecosystem of web browsers. JS can be used in server backend, web frontent, desktop and mobile applications, and even in some system services (Although this isn't very popular as of yet). People seem to be terrified that one very easy to learn language can go so far. And, oh god, its interpreted... How can a system app run off an interpreted language? That's absurd.
My opinion on JSEverything is that it's progress. Thats what we're all about, right? The technologies already in place are unthreatened by JS, it isn't a gamechanger. The only thing JS integration is doing is making tedius and simple tasks easier. Big companies with large systems aren't going to jump ship and migrate to JS. A startup, however, could save a fucking ton of development time by using a JS framework, however. I want to live in a world where startups can become the next Google, because technology will stagnate when youre trying to protect your fortune, (Look at Apple for fucks sake) but innovation is born of small people with big ideas.
I have a feeling the hate for JS is coming from fear of abandoning what you're already doing. You don't have to do that. JS is only another option (And a very good one, which is why it's becoming so popular).
As for my personal opinion from my experiences... I've left this part til the end on purpose. I love programming and learning and creating, so I've never hated a lamguage, really. It all depends on what I want to do. In the times i've played arpund with JS, I've loved it. Very very easy. The idea of having it on both ends of web development makes a lot of sense too, no conversion, just direct communication. I would imagine this really helps with speed, as well. I wouldn't use it in a complicated system, though. Small things, medium size projects: perfect. Running a bank? No.
So what do you think about this JSUniverse?13
Reviewing coworker's code:
Me: I see you're doing a convoluted sort for every element twice to get your two lists in sync... 😐
CoWorker: Yeah. *straight face, no regrets* That's the only way to do this.
Me:... Uh... No? You can just manage one list with a simple struct and then use the the standard sort.
Coworker: Yeah sure I know. But it'll take time. We don't have time.
Me: *aghast* This is embarrassingly bad code!
Coworker: Don't worry, later on I'll use a hashmap for it. But this needs to be pushed now.
Me: *to myself, no you don't need a hashmap*
Okay, you do you but I can't back you on this. It isn't going to take a lot of time to correct it.
Coworker: Hey can you review my code again?
Me: You've made the changes already? *in a bored tone, knowing that they wouldn't have changed shit*
Coworker: No this is a different file. Our manager agrees that we can worry about performance later.
Me: Sure. *😀🔨🔨*
Few weeks pass by:
QA: The operation takes absurdly long time to complete even with the smallest data. Ten minutes for X is unacceptable.
Me: Who would've known? ☺️22
I JUST FINISHED MY FIRST NEURAL NETWORK!!!
But first of all, as I know you guys, it's spaghetti code and even I as a newb see places where I used too few-dimensional array or passed useless parameters or simply wrote too many redundant lines of code. I know it. I will make it MUCH better next time. Period.
But OMFG this made me scream from happiness today!! Just these few seemingly random numbers... I'm really done.. That's why I jumped into coding year or two ago..
And for some background, I didn't study any IT school, I'm just highschooler (general grammar school) who traded gaming for learning. Also my maths teacher teached NNs on university and is very keen to teach me, so that's that.
Now I wanna make the best out of it and I'm looking forward to write some well documented and flexible library, parallelized and everything (I'm gonna learn a lot in the process of doing this) better then FANN.
Maybe I'm gonna fail(99% probability but hey, I'm programmer beginner, I still think I can code everything I want). But if there is just one moment like when I saw this screen today, I'mma trade my life for it.
Sorry for taking your time guys, I was just genuinely stunned... A lot25
New guy at work asks me for a code review. 16 lines added, and I have 4 comments, all about readability. Only the major stuff because I went easy on him. I even ignored a missing semicolon.
Guy comes to me and explains that code review is about if code works, not what it should look like. "You want me to write it your way, and we'll have endless arguments if that's how you do code reviews. But I'll do your requested changes." Reduces his entire code to two lines, which make a lot more sense.
Later, I ask him why he used "void 0" anyway. I was wondering if he's thinking of security aspects or if there's another reason. His answer: "because it looks cool and nobody else does it".
Oh boy, my fellow devRanters, I just signed an 4 digit monthly salary (that's a lot in Lithuania) job contract, I'm a future Unix infrastructure engineer :o
As per original concept of ranting, it's been almost two months since I wrote for the stickers and didn't get a reply >:(12
Okay so this is going to be a rant.
My exams started last wednesday. I'm doing a study called Application Development and I'm in my 5th year now (out of 4, long story).
This is the stuff that's going wrong at the moment and it's getting FUCKING annoying.
- The windows computers were not installed that well so everyone had to downgrade from the last update which took way too long.
- We have to have at least 1-3 conversations with the 'client' and 'manager' for each document but the waiting lists are so long that we have to wait for about 2-4 hours in general (we had a total of 18 hours for the first task) so a lot of people couldn't even have a meeting about around half of the documentation. Having meetings about everything is a REQUIREMENT for a good grade.
- Some of the teachers are so slow that the meetings take way too long.
- Although documentation is important, we calculated that about 80% of the WHOLE FUCKING EXAMS will be documentation which is way too fucking much.
- Some of the grading points (like chapters you have to write in the documentation) ARE NOT EVEN IN THE TEMPLATES MY STUDY PROVIDES. Already had a moment where a teacher was like 'I'm missing this chapter?' me: 'It's not in the official templates?!?' teacher: 'stop right there. I have to grade you for this so is that your or my problem'? unbe-fucking-lievable.
- Some students get so many 'musts' that we are seriously doubting if we can get this to work within about 2 days (12 hours).
Sorry for this rant but I had to get this the FUCK out.8
The coolest project I've worked on was for a certain country's Navy. The project itself was cool and I'll talk about it below but first, even cooler than the project was the place were I worked on it.
I would go to this island off the coast where the navy had its armoury. Then to get into the armoury I'd go through this huge tunnel excavated in solid rock.
Finally, once inside I would have to go thru the thickest metal doors you've ever seen to get to crypto room, which was a tiny room with a bunch of really old men - cryptographers - scribbling math formulae all day long.
I can't give a lot of technical details on the project for security reasons but basically it was a bootable CD with a custom Linux distro on it. Upon booting up the system would connect to the Internet looking for other nodes (other systems booted with that CD). The systems would find each other and essentially create an ad-hoc "dark net".
The scenario was that some foreign force would have occupied the country and either destroyed or taken control of the Navy systems. In this case, some key people would boot these CDs in some PC somewhere not under foreign control (and off the navy grounds.) This would supposedly allow them to establish secure communications between surviving officers. There is a lot more to it but that's a good harmless outline.
As a bonus, I got to tour an active aircraft carrier :)10
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.5
+++ Thank you for 1000+'s! +++
So guys we did it! We've reached our first big milestone!
This account was created about a month ago, and we are already this far!
Thanks to all authors (@DLMousey, @filthyranter, @baewulff) who are putting a lot of work and time into their articles and help this account to further grow in size!
To make this article at least a bit informative, here's how we publish our posts:
When I started this account, I hadn't thought of how articles were going to be published. Should I give the password to all writers? Should I post the articles manually?
Well, after I've started the devNews Discord Server, @olback suggested making a Discord Bot, that helps us to publish our stuff.
After surprisingly few hours, @olback already got a prototype working.
We have a special channel and whoever writes stuff in it, updates the current article. Later, I took on the work, @olback has done and switched to LowDB, to be able to let multiple users have their own articles they are working on and much more. (Like special signatures)
And that's how it is now.
We have a channel for draft, where we write our stuff and a channel for publishing, where the bot listens to what we write and then publishes the articles with a command.
That's all of it.
Thank you for reading!8
I learned some fun things today!
Fun fact! A lot of things rely on python!
Fun fact! Python relys on a lot of things!
Fun fact! Updating just python and nothing else causes your entire fucking arch to break! ... Wait that's not fun. Shit!
+++ Microsoft switches to the open-source Chromium engine for the Edge browser +++
On December 6th, Microsoft announced that they will dump their own Edge engine and replace it with Chromium, an open-source browser engine developed by Google.
This way they are promising the ~2% of global internet users who prefer Edge over other browsers to experience a better web experience.
The about 2% of market share is one of the reasons Microsoft decided to stop developing their own engine. It's just not worth it.
Joe Belfiore, corporate veep of Windows, said they also want to bring Edge to other platforms, like macOS, to target more audiences.
Web-Developers, like myself, will most likely have the most to gain. Less browsers to target means less incompatibility issues.
There are a lot of HTML5 features that the Edge engine doesn't support...
The new Edge won't be a UWP app, in order to make it usable outside of Windows 10. Instead, it will be build in accordance with the Win32 API, so we can even expect support for older Windows versions, like Windows 7 and 8. A preview release is planned for early 2019.
Because they are switching to Chromium and the Win32 API, Microsoft is hiring new developers! So if you always wanted to work at Microsoft, now is your chance!
Thanks for reading!
A lot of Project managers are idiots.
Here is what happened: I am a backend developer and was asked to replace some images on some website (not even sure this is supposed to be a backend task). So i did, changes went through review and then they were live.
A few hours later they come to me saying i made a mistake because the image has wrong color tone in one of the browsers (internally facepalming myself)... I didn't design the images nor made any changes to them... I just fucking uploaded the files that were sent to me... That's fucking it.
They blamed me for a design issue and how I should've noticed this issue blah blah blah... And i had to spend an entire fucking hour to explain to them step by step what i did, how i did it and why the color tone was wrong even though i am not a designer and my main tool is VISUAL FUCKING STUDIO AND NOT PHOTOSHOP.
The shit part is that the images were sent to us by the client, so really, it is their fucking fault not mine.
Oh, and they tried to guilt me by saying the client won't pay for this since the images are wrong.
Lost an hour to this bullshit.6
Just my $.02:
One thing I think a lot of students/schools miss when learning/teaching, is that your code has to be *maintainable*. Your code is (hopefully) going to be used for a long time, so program it to make it not only easy to upgrade and maintain, but easy for SOMEONE ELSE to upgrade and maintain, too.
The best code to work with is the stuff that's been coded with maintainability in mind.14
--- Github unveils another round of pricing changes ---
In a move that slipped under the radar with some surprising ease, Microsoft-owned repo wrangler Github unveiled yesterday (7th January) a new set of changes to their pricing model. Unlike the last round of changes that saw unlimited private repos gracing anybody with $7 in their pocket each month - The new round sees everyone on the platform receiving unlimited private repos in a move that's been met with some serious scepticism from the community.
The company's surprisingly brief PR emission (via their official blog) states that they've made 2 major changes, "Github Free now includes unlimited private repositories" - the catch being that you're limited to adding 3 collaborators, which appears to be a move aimed squarely at businesses attempting to operate without forking over the cash for an organisation.
In addition to this there's many vague statements about the kinds of scenarios that "are now possible" via "Github free", the kind of vague nonsense that makes trousers considerably tighter in the PR department.
It would appear that anyone who was previously paying the $7 a month is now a "Pro" user, The PR emission states that "Github Pro (formerly Github Developer) and Github team are also available for developers and teams who need professional coding and collaboration features".
It doesn't seem like you're being offered a whole lot for your $7 a month anymore - a move that would be considered by almost any other company in tech as a good thing, but given that it's Microsoft has been met with warranted suspicion and concern.
Or we could just be being a set of Donny Downers about it, who knows shrug9
Stack Overflow. Everyone uses it but everyone seems to hate the community. I very often read about someone getting down voted and they all say the same thing - "I have no idea why".
I have spent a lot of time moderating SO posts, which gave me a lot of reputation and medals. I find it fun to help people and it feels good to give back to the community.
I have asked a bunch of questions and I've never gotten a single down vote, which leads me to believe everyone of you that is constantly getting down voted are doing something wrong. Because the posts I see getting down voted are fucking stupid questions that either lack information or contain too much information.
Server java error
Why is my server not working? I am using Tomcat, port 8080 and I'm getting IOException.
Webpack configuration not working
My webpack is not a working, why?
[entire webpack config]
What the fuck are you expecting asking questions like these?? No one gets paid for answering your questions, so the least you can do is write a CLEAR AND UNDERSTANDABLE question. I'm not gonna tell you how to do it because there's A LOT of information on how to do it.
People devote hours and hours to helping others on SO, and of course they get fed up with the stupid and lazy questions. That community is not about being nice, it's not about making people feel welcomed, it's about QUALITY OF CONTENT. No one is crying when they find a superb question + answer, right? That's the result of a community not accepting low quality content.
So please, the next time you get a down vote on SO - do not come here whining about it but instead take a look at what you have posted there and ask yourself if it could have held a higher quality.
So here it is. I don't know what the f is wrong with you guys but you somehow got me to a whopping 2^12 increments. Thanks I guess. Now I can show off in front of my friends that I have a lot of internet points. Fucking muggles...
Also let me address a rising issue here on devRant and that is:
Stop bloody confusing this place with devHeyGuysWhatsYourOpinionOnXYZ?
For real people. That's not cool.
On every new job, there is always the Impostor Syndrome.
They know each other, they're all having fun and they're friends. They're super nice to me and include you in everything, but still a lot of the time they're talking about shit that I have no idea about.
And professionally it's not better. I'm new, I don't know how things work, yet everybody knows it like the back of their hands.
There is this irrational fear, this feeling, that I don't belong, that I'm an impostor, and someone might see through my mask for who I really am - a guy with no idea about what's going on, that doesn't belong, that's an IMPOSTOR.
It takes time to overcome, especially when in a foreign country. Once it's passed, I become more attached to my colleagues and my job if the hurdle was harder, than whether I felt right at home from the very start.6
I've just disassembled this LED floodlight that I bought a while ago. It's some stupid little cheapie from a dollar store, so I figured that there'd be shit inside. But I wanted that LED cob.. a power LED :3
Well, shit wasn't too far off from the truth. The component choice is reasonable, but the design of the bloody thing.. batshit insane. The LED floodlight is powered by 4 AAA batteries, connected in series. So 6VDC. That then goes into this little tactile pushbutton, into the LED cob and then a 4.7 ohm resistor.
Well that's a pretty easy circuit.. let's remove the batteries and the casement, and put it on the lab bench power supply. Probes connected to the circuit with only the resistor and the LED cob in between (I didn't want to deal with the switch). Power supply set to 6V, current limiting to 500mA, contact!! And it works, amazing! So I let it run for a while to see that nothing gets too hot.. hah. After a minute or so, smoke would come out.. LED cob was a bit warm to the touch but nothing too bad. But the resistor.. I could cook water on it if I wanted to! 100 fucking °C, and rising. What the F yo?!
So I figured that I didn't want to put the resistor in between there. Just the LED cob now, which apparently has a forward voltage somewhere between 3.2V and 3.3V depending on how I set the current (500mA and 600mA respectively). Needed a bigger heatsink though, so I jammed one of my aluminium heatsinks on there. And it worked great! Very bright too, as it takes between 1.6 and 2W of power. Just for a comparison, the lighting in my living room is 4x5W and the ones on top of my dining table are 2x3W (along with some TL bar that my landlord put there.. fluorescent I think). So yeah, 2W is quite a lot for an LED, especially when it's all concentrated into one tiny spot.
That said, back to the original design with the resistor. 2 questions I have for that moron that designed this crap. First, why use a resistor for a power LED?! They needlessly waste power, and aren't good choices for anything that consumes more than 100mA. You should use PWM for these purposes, or tune your voltage on the supply side. Second, why go with 6V when your forward voltage is 3.3 at most? Wouldn't it make more sense to use 3 batteries with 4.5V? Ah, but I know the answer to the second one. AAA cells aren't rated for high loads like this. So that's likely why the alkaline cells that I had in there before have started leaking. Thanks, certified piece of shit!
Honestly, consumer electronics are such a joke... At least there's some components that I can salvage from this crap. Mainly the LED cob, but also the resistor and the tactile pushbutton perhaps.
One last remark that I'd like to make. This floodlight was cheap garbage. But considering that you can't do it well at that price, you just shouldn't do it. You know why? Because consumers always go for the cheapest. Makes a lot of money to build at rock bottom prices and make shit, but it damages the whole industry, since now the good designs will go out of business. That's why consumer electronics is so full of crap nowadays. Some unethical profiteering gluttons saw money, and they replaced the whole assortment with nothing but garbage. I'm sure that there's a special place in hell for that kind of people.17
Fellow Dev: the clients are requesting a gallery on their website with functioning modals.
Me: okay cool
*I googled as much as I could and I made a proper functioning gallery in 2 full days of coding*
Him: okay, so this is great but they aren't really digging it.
Me: *sigh* yes, so what do they want?
Him: have you seen how an image opens in Google images? Like you click on one, the image opens while the rest of the content shifts down?
Me: um... Yeah?
Him: yeah, so they want that.
Me: ... *Scoops the web trying to figure out how Google does it*. Dude, I can't find anything close to it and I've still got a lot to learn. Idk how to do it.
Him: well, you're being paid for that. So, you better do it.
Me: 1000Rs ( approx. 14.58$ ) isn't called "being paid". Gimme a break here.
Him: You're a novice rn.
Me: why don't you do it?
Him: I'm your boss.
*Sigh* (he indeed is my boss)
Him: deal with it.
Me: FU........C.....*suddenly I realized how it's done* OH OH OH OH I just got it, I just got it!
(I actually make something like that)
That's just my best story of a fight. Lol.5
Today I'm going to work on my side project that I haven't touched in weeks.
I want to utilize Angular 2 which means I'll need to learn TypeScript. I also want to use the new .Net Core and EF Core 1.0. Oh and I want to handle authentication using JWT!
Wow, that's gonna be a lot of effort to get things off the ground... maybe instead I'll use this time to learn some new concepts. Maybe watch this episode of Fun Fun Function, or maybe this video on writing Assembly code for an app on Raspberry Pi, that sounds cool!
Actually, you know I should really teach myself dependency injection and unit testing for once. I'm so behind the times.
Well, really I should finish this book on design patterns first. Ok, where did I leave off? Page 20 I think... ehh... maybe I'll just work on my side project.
Tomorrow... tomorrow, I'll work on my side project.9
Visual Studio Code.
I've tried you because of hearing a lot of good stuff about you. I'd switch back to netbeans regardless because I love netbeans and I always try to use as little as possible from companies like Google/microsoft/facebook (and others) but what you're pulling right now is un-fucking-believable.
I've disabled ANY AND EVERY form of calling home I could (find) in your settings. Crash reports, automatic updates, metrics, you name it. I've searched all the fucking settings but I can't find any other home calling thing that's enabled and yet:
I'm monitoring every goddamn DNS request (through my own DNS server) and I'm still seeing calls to a Microsoft owned domain. Closed all my browser sessions and you as well and it stopped. Started browser again but not you, nothing.
Started you again: BAM. Calls to that damned Microsoft owned domain again.
If you can't honour my decision for disabling any form of home calls, go fuck yourself.
Netbeans, I'm back, I've missed you 💜36
Linus won't call out dipshitprogrammers? That's not good. There are a lot of dipsshit programmers out there. :/
This is the one thing about Spotify that annoys the living hell out of me (yes, I use spotify, if anyone knows a good/working self hosted alternative, let me know! I've tried quite a few including funkwhale but they all failed for me).
I'm a raw hardstyle/rawstyle lover and listen to the raw duo Malice a lot. Now, what would the problem be here? Sometimes, there are several artists in different scenes with the same name. This is completely fine.
Spotify, however, mixes up music of the raw duo Malice and the rock/metal band Malice. I keep getting release notifications/news regarding new music/events from Malice but 90 percent of the time this is about the rock/metal band and NOT the raw duo.
It's also very weird to suddenly hear rock music while listening to my daily mix; the wrong malice is mixed in once again.
Yesterday I got an email saying "Check out Malice's newest release on Spotify!"
*OH FUCK YEAH*
*opens Spotify release radar*
That's the other malice 😡
Is it so hard, Spotify? Entirely hiding the artist results in the right one being hidden as well for me 😞15
"There were a lot of complaints about missing grades" well, yes. That's what happens when you make me grade all 60 submissions every week while I work 10-12 hours a day at my other job, on average.20
OH. FUCK. OFF.
Really?? A *gaming browser*??
What a sorry attempt at grabbing your first 10 users, Opera. There's a lot of "gaming" gear out there that's nothing more than a double-price gimmick with RGB lights, but this takes the cake.
Absolutely ridiculous. You should be ashamed for making such an abomination.21
Some of these have been mentioned already but here they are, these things make me be a bit better at programming (at least I think so)
• sleep, I love sleep and I think a good night's sleep can do wonders
• music, music theory which is a language in itself and playing an instrument which teaches hand-eye-coordination and also creates patterns in your head, but certainly teaches us that you need to practice a lot to achieve your goals, that it's hard for beginners but gets a bit easier with time
• solving puzzles and riddles, I've been a huge fan of puzzles from an early age, it is something that teaches us solving problems and creating strategies
• other types of games that are helpful are games where you have to find things in a picture or in an environment, this has trained me a bit on finding nasty bugs in my code or at least syntax errors
• googling: sometimes you find out something that is not really related to your problem, but you remember it nevertheless and later on it can help you with something else
• maths, yes, you read correctly, I'm not a big fan of maths either, but what you learn in maths is that there are certain procedures you're often repeating and that you're always building on your knowledge and expanding it, sometimes solving mathematical problems is fun too ;)
• getting fresh air - self explanatory
• listening to other people's life stories, this helps me generally in life, to know that I'm not the only one struggling with something and so on
And I probably could go on with a lot more things, but I think that's enough for now15
[ Coworker walks up to my desk at 4:15 PM ]
Coworker: "Hey man. We had to make a few changes to the codebase because one of our unit tests were failing. Can you take a look at a pull request for me?"
Me: "Yeah sure, how many files?"
C: "About 600"
Me: [ thinking it might just be a ton of libraries or gradle shit] "...ooookaayyyy... that's a lot but doable... how many lines?"
C: “128,000 lines"
Me: "Fuck you"11
So I saw a lot of people showing off their servers. That's the baby we setup for our uni project. :)8
So I am at the client's location for onsite consultation of their projects.
The HoD asked me to create an application to accept feedbacks from multiple points urgently. Although I was there just for consulting, I thought why not, I am anyway getting bored here.
So after explaining the functionality, she asked me, when can she accept a working app. I told her that it would depend upon a lot of factors, so give me till evening to figure it out.
When she insisted I told her, that it can take at least a month with all the APIs, logins, UI, QA etc. She was surprised and told me that she expected it in 4 days since the requirements can be fit into a single page of her notebook. (That's how she measures project duration).
I told her it's impossible, given that I am the only one working on it. So she told me that her team can do it in two days. I probably have more experience than her entire team combined, but still I thought they might know some simple magic or faster way, that I might not, so I asked her to discuss with the team and then decide.
After explaining the requirements, when she mentioned that it should be done in 2 days, everyone was kinda frozen. One of them said that it's going to take at least 4 months.
I couldn't hide my smirk 😉2
The day I discovered Schrödinger's lesser known paradox of simultaneously being fired and not fired.
This isn't really much of a dev story, but I figured I'd share it anyway.
About two minutes into signing into all my stuff, I suddenly was kicked out of everything. I tried logging in a few more times, and then suddenly started getting the error, "Your account has been disabled for security reasons." I couldn't sign into chat, and co-workers confirmed that I was missing from the company directory. My manager didn't come in for another two hours, and we couldn't get anyone else to answer what the hell was going on. So I was kinda panicking.
Eventually, we found out from one of our coordinators that someone else with the same name as me was leaving the company, and they had deactivated the wrong person.
It ended up getting a lot better. They told me that it could take up to 48 hours to restore my access (it took longer), so I found stuff to do so I could maintain my paycheck. One of those things was assisting someone with data collection and processing, where I eventually said, "Dude, I could totally automate this," and now that's what I'm getting paid to do.1
I used to do freelancing gigs as a kid, maybe 5/6 years ago, I'd remotely fix software issues on fiver for 5€ which would pay for a game every once in a while.
Now, it was pretty common to get customers from all around the world, and I never had any issues whatsoever until I got a message from a potential customer from south Korea...
She had purchased a karaoke machine, but the software wouldn't add anything to its library making the machine useless.
Well, apparently the software was in Korean...
After a LOT of fiddling around I got it to turn into French, and I was able to try a few things and after about 3 hours I managed to "fix" the thing.
3 hours of headaches in Korean for 5€... That's when I stopped doing that and took up an IT education and became a dev, so much better, although I miss the gratitude I used to get from my customers when I fixed their printer connectivity issues from a few thousand kilometers away4
An un-rant on Universities. (UC Irvine)
A lot of my friends and I are about to graduate 👨🎓 from UCI, with Computer Science degrees.
Most of them are complaining that they don't know any current frameworks, and all that we learned is outdated.
And that pretty much any bootcamper knows more tools that any of us do.
I totally disagree. I don't think it's the university's job to teach you tools (node, tencerflow, ...), rather, I think they made us into programming Swiss Army knifes. I can pick up any framework (I wanna be a web dev) real easy, and when shit breaks down, I can easily figure out the issue.
I think that's the major difference between Computer Scientists and Bootcampers/Programmers. We know "why", while they know "how".
What do you think? Is the current price of a CS degree worth it?22
It blows my mind that Google, advertisers, and a lot of companies seem to not understand the concept of a need fulfilled.
Google news: If you notify me of an article, and then I click on that notification, you can assume I read it. And you can also assume that I don't wish to read it again 2hrs later! So stop notifying me!!!
Amazon, AdSense, Facebook, everyone else: just because I bought new headphones, doesn't mean I wanna see ads for headphones. Actually it means the exact opposite. I don't want new headphones. I literally just bought some. And I especially don't want the exact same ones. I already have them.
Somehow, the targeted ads are worse than random. That's annoying.
How is this hard?12
Fuck brand builders, or, how I learned to start giving a shit and love devrant.
Brand builders are people who generally have very little experience and are attempting to obfuscate their dearth of ability behind a wall of non-academic content generation. Subscribe, like, build a following and everyone will happily overlook the fact that your primary contribution to society is spreading facile content that further obfuscates the need for fundamentals. Their carefully crafted presence is designed promote themselves and their success while chipping away at the apparent value of professional ability. At one point, I thought medium would be the bottom of the barrel; a glorified blog that provides people with scant knowledge, little experience and routinely low integrity a platform to build an echo chamber of replayed or copied content, techno-mysticism and best-practice-superstition they mistake for a brand in an environment where there's little chance of peer review. I thought it couldn't get any worse.
Then I found dev.to
Dev.to is what happens when all the absence of ability and skills insecurity on the internet gets together to form a censorship mob to ensure that no criticism, reality or peer review will ever filter into the ramblings of people intent on forever remaining at the peak of the dunning-kreuger curve. It's the long tail of YMCA trophy culture.
Take for example this article:
It's a shit post listicle by someone claiming to be "senior," who confidently states that "you are only as good as the tools you use." Meanwhile all the great minds of history are giving him the side-eye because they understand tools are just a magnifier of ability. If you're an amazing carpenter, power tools will help you produce at an exponential rate. If you're a shitty carpenter, your work will still be shit, there will just be more of it. The actual phrase that's being butchered here is "you're only as good as the tools you create." There's no moral superiority to be had in being dependent on a tool, that's just a crutch. A true expert or professional is someone who can create tools to aid in their craft. Being a professional is having a thorough enough understanding of the thing you are doing so as to be able to craft force multipliers that make your work easier, not just someone who uses them.
Ok, so what?
I'm sure he's a plenty fine human to grab drinks with, no ill will to him as a human. That said, were you to comment something to that effect on dev.to, you'd be reported by all the hangers-on pretty much immediately, regardless of how much complimentary padding and passive, welcoming language you wrap your message in. The problem with a bunch of weak people ganging up on the voice of reason and deciding they don't want things like constructive criticism, peer review, academic process or the scientific method is, after you remove all of that, you're just left with a formless sea of ideas and thoughts with no categorization, no order. You find a lot of opinions and nothing to challenge them and thereby are left with no mechanism for strong ideas to rise to the top. In that system, the "correct" ideas are by default those posited by the strongest personality.
We all need some degree of positive reinforcement. We also need to be smacked upside the head when we're totally off in the weeds. It's all about balance. The forums of ancient Greece weren't filled with people fervently agreeing with one another and shouting down new ideas en masse. We need discourse, not demagoguery.
Dev.to, medium, etc are all the fast fashion of the tech industry. Personally, I'd prefer something designed to last a little longer.34
(possibly political, but not really)
I think there's an under-reaction culture around covid19. People are mitigating it to be "just a bad flu" and keep bringing up the 2-3% death rate.
I see that people may have good intentions but spreading lies just to make it seem like the virus isn't bad is worse than the media overreacting.
I'm tired of people just repeating the same "ugh, calm down, it's just the flu!" Just because they don't want people to worry. While panic isn't good, disregard is worse.
The "bad flu" stage is only the second of three stages. Stage one is minor symptoms (so nobody cares if they are sick at this stage) coupled with patients being highly infectious (you can imagine, this is a bad combo)
Stage two is of course the famous "bad flu".
Stage three is fucking respiratory issues including pneumonia, AFTER you have already gone through stage two, which can be rough on its own.
The CDC (not any media) has issued warnings to those at high risk to stock up on supplies and medication they may need. As usual for this sort of stuff, the elderly and those with pre-existing conditions are in the high risk groups.
2% death rate (low end) is one in 50 people. That could be someone you know. 4% (high end) is one in just 25 people. That's the average high school class size where I live. That's a lot, that's pretty deadly.
Stop calling it a bad flu. Stop listening to people on Facebook, CNN, and devRant. Please visit the CDC, they are constantly giving updates.
devrant is the only community that I feel comfortable in.
I've been browsing since 2000 and been in many communities online so far, so that's saying a lot.
I've seen supportive comments towards me and others here, and that really makes me feel less hopeless.
I think the internet in general makes you feel like you're a number. Click the like and the sub button, just be one more in a million.
But here, you matter.
If you try to post something and you are sincere, but humble people will ++ and say nice comments.
If you get upvoted, you can WHO did it and what their online persona looks like.
It feels very organic and personal, which is saying a lot for a place like the internet.
In the standard online experience, people online take advantage of the anonymity to say shit they wouldn't online:
anything, from troll shit to presumptuous comments.
I don't understand how some people can connect being anonymous with denying themselves as moral beings.
Do these people walk around in real life fighting with every person that has an opposite point of view?
There's actual people out there that will read this post and think "what a fucking boy scout".
Sorry for having emotions.
how many fucked up people are there, so that devrant feels like a goddamn mirage?10
Can't tell what my most successful project is...
But according to GitHub Stars, my
most successful project is my RandomQuote Bot (@RandomQuote).
The story behind it is pretty boring:
One day little Skayo thought: "Hey there is no bot on DevRant yet, let's make one!".
Then he began to think: "But what should it do? What would be easy to do for an inexperienced programmer like me?".
Suddenly he got an idea: A Bot that posts a random quote everyday!
He instantly started making it.
About a day later, it was finished.
"Let's bring this thing to live", he thought.
And there he was, quickly getting a lot of fucking ++'s...
This bot is like my first born child! I am so proud of him!
And that's the story behind the bot.
Very spectacular, isn't it?4
Assigned to a new project team..
Using git, in a creative way. So.. "master" is "dev" branch, usually. Everyone can push their branch to dev server .. so it's "dynamic for us". Production branch is whatever, as long as the branch has the release version. Sometimes, the release comes from "master".. that mean "dev" in normal geek..
That's just Git. The source code is a saturated spagetti of Entity framework and Caliburn. It is littered with antipatterns, especially basebean. Holy Christmas and Easter that baseclass do a lot of stuff that has no place as a base class ..
Fucking frameworks, I'm gonna start to evangelize frameworks as the no1 antipattern.
MS SQL as the main DB, but is dumped to json FILES through a scheduled task to increase read performance on web.
There is a soap endpoint to expose the json files, fml..
I am assuming I was placed here to improve stuff, I have never in my life seen anything like this before.
There is a special place in hell for this repository7
manager: we had great feedback last week, real users were testing our app! However, we have noticed a lot of issues regards database performance and data replication...
me: oh, that's great news!! How many users? Like hundreds?
manager: no, 6 users so far7
My client changed the requirements again. I'm in pain.
- "You want to see pain?" my colleague said. Go read Apple support forums. That's pain.
I became addicted. Every time I died and every time I was born again. Resurrected.
During the night, I was crying in the Apple forums for an official answer that would never come. During the day, I was surfing StackOverflow to fix my problems. You get "single-serving" friends there. They help you, you help them, and then you never see them again.
- "Then you install Stack and boom, you're done. It's that easy to go functional."
That's how I met him.
- "No, why?"
- "So that they can distract you while they put backdoors in them. So that you don't have time to check all of their code".
- "You are by far the most interesting "single-serving" friend I've ever met"
Then, my hard disk died. Of course, I didn't have backups: nobody has enough space for all those node_modules folders. All my addictions, lost.
Then I wrote him. If you asked me now, I couldn't tell you why I wrote him. We chatted a lot.
- "It's late, I should really go search another hdd on ebay"
- "Ebay? You called me so you could have my old hard disk."
- "No, I..."
- "Come on."
He sent me his old hard disk. It was a 256MB hard disk, but it was fine for running Arch. Then he asked me to rant about my problems in front of him.
- "I want you to rant as hard as you can"
- "Are you serious?"
We ranted all night about our bosses and clients and their fucked up requests. We kept in touch, and after a while more people were ranting with us. Every week, he gave the rules that he and I decided.
- "The first rule of devRant is -- you don't talk about devRant. The second rule of devRant is -- you don't talk about devRant."
I like to think this is how devRant started. This might also be the reason why we never see @trogus, only @dfox. A lot of shit still needs to happen.8
Once I've worked in a start-up located in an engineering university "incubator", so we had a lot of engineer-to-be students applying for part-time jobs.
One of these kids was hired by my boss who labeled him "highly technical, very skilled in IT".
One day, while very busy with my own upcoming release, I had to help him finding a bug in his (horrible) code.
Me: Oh, that's easy, you need to load the image from the parent directory
Me: You know how to do this, right? You're 1 exam away from being a computer engineer
Me: Ok, ok, don't worry. Just type "../" right before the path
The guy starts typing, literally, "dotdotslash" into the path.
I immediately stopped him, almost crying. Then, I asked him to go for a walk.
"Don't mind about your bug, I'll take care"3
Never EVER buy a Mac as your primary PC if you're a developer.
Back in 2014 I bought an iMac because I already had an iPhone, and being able to code on xCode and also have a Windows partition seemed perfect. It wasn't.
Soon enough, I started encountering issues. My storage was randomly filling up, my computer started getting slow despite me having a small number of start apps and still a lot of storage available, it was all a mess.
So - I installed Windows 10 using Bootcamp to use it as my main OS. All was great until I wanted a new partition of Windows so I can test some things out without damaging my stuff. I try multiple methods, none of which work because my disk is not in the right partition format, and I don't want to change it because I'd have to format the whole thing.
Whatever - I give up, and try going back to my normal partition, disappointed. Guess fucking what?! My Windows Boot was damaged! Yes, I shit you not!
So - not only was this absolute piece of shit not able to add just one more fucking partition with an OS on it, but it BROKE my main partition, and now I'm trying to recover it.
I've said it once and I'll say it again: Never EVER get a Mac as your primary computer, unless you only work on Mac/iPhone apps.
For paying 1300$, I was expecting a seamless experience with little to no issues - yet all I got is a computer that's fucking broken from it's very core.
Fuck you, Apple.13
The best decision I ever made was moving from a big company to a very small one.
I used to work for a large international consulting firm in the model development team. Everything moved so slowly, there were huge amounts of pointless meetings and other time-sinks, we were surrounded by people who were being paid a lot of money but added little or no value, and the general atmosphere of the company was quite depressing. We spent more time having to make PowerPoint presentations for senior management trying to explain why you can't just hire 100 devs and have a product 100 times faster than we actually did developing a product.
I took a bit of a risk and moved to become the fourth person (and second developer) at a niche software producer to take over product innovation and lead product development. Immediately I felt so much happier and realised how much the previous company had worn me down. Everyone works hard and efficiently because your individual output is so much more important to the success of the company and the work you put in comes back to you financially without being syphoned by layers of valueless management levels or time-wasters.
Having responsibility, seeing the impact of your own work and being rewarded accordingly is so important for your sense of well-being. I urge you all to try it if you're stuck in a big company that's wearing you down. And if you're considering moving from a small company to a big one: don't.3
I hate people who don't value transparent and assertive communication. I'm saying this thinking about an specific client.
This client is a boss of Web agency, and has some contractors working on their projects. I worked for them for a year, doing Web projects from scratch and also maintenance.
Then, one week, the communication stopped. No answers, no feedback, nothing. For months. They ghosted me.
I tried contact a few times with no luck. After 3 months, they started to remove me from slack, git, base camp.
And that's it. I was discarded and it seems I don't even deserved a message to be aware of that.
I don't mind to end business relationship anytime, for any reason. There are lot of reasons a working relationship would not work, and that's OK. We should have partners that are a great fit for us.
But at least say it. Ghosting is something ridiculous and unethical.5
Life is hard.
You are born. DNA gets determined. You go through infancy.
Puberty comes and DNA is like
"uh from now you'll pretty much have strong sexual urges, a huge desire to be sexually prolific, nothing weird like being pedo or into rape though".
me: Uh ok.
dna: oh, also, you're gonna be one of those late bloomers, you know, you talk like shit, you dress like shit, you smell like shit.
life: that's true and also you don't have anyone in your life to teach you about that shit, so forget about kissing, having sex, let alone being in a relationship for a long time.
*a lot of years go by with a lot of missed opportunities, mistakes and regrets*
life: ok, you seem to have become a decent sex partner out of a lot of scarring experiences, but there's one problem: you've fallen in love with somebody.
and you're married
and you have kids
me: well, does that mean I can't fuck other people?
life: yeah, no. I'm surprised I even have to explain that, it's called cheating. It will pretty much ruin your marriage, and fuck up your kids.
me: ok, I guess no then. I'm still fortunate enough to have sex with my wife right?
life: yeah... but you still want to fuck other people
life: yeah, did you think that falling in love would make you not want to fuck other people? fuck no
me: ok, well I'm very grateful that I get to experience sex at all.
life: yes... there's a thing though, your partner has a much much lower libido than you.
me: ok, well maybe if I exercise and dress better that might change
life: that will definitely help, you'll feel more confident and have more stamina, but every time you retry exercising, you remember how much you hate it and how little stamina you have.
oh, I'm sorry, I forgot you had kids and work, yeah no time or energy for that.
me: ok, then should I just embrace a more liberal lifestyle, like becoming a swinger?
life: ha, fat chance, it's a very taboo thing and you're not that liberal, neither is she.
me: uhhh, i guess i can sometimes watch porn then...
life: watching porn regularly will make the only sex that you have worse, according to statistics.
me: ok, I guess I should get ripped18
Agh, holy shit. devRant, I need some love.
I have successfully double-buffered the Windows console (cmd.exe) but all hell breaks loose when you resize the fucking window. The currently active buffer will receive the change in dimensions while the inactive buffer will not, resulting in the window quickly oscillating between the two sizes as the buffers change size.
That got me stuck for about a day. Today, I got it sort of working but it wasn't satisfying at all. I can get it to resize LARGER, but if you resize the window SMALLER, the actual buffer inside the window doesn't change size, so scrollbars appear and I have NO IDEA HOW TO FIX THAT. I somehow need to calculate, or use the API to find, the perfect dimensions (In rows and columns) for the console buffer INSIDE the window buffer for them to not have scrollbars.
And I just - -
I cannot gather the energy to do so right now.
I spent hours finding the solution to this bullshit and ONLY SOLVED HALF MY PROBLEM.
And stack overflow isn't exactly helpful. My problem is so specific that nobody even writes comments on the question.
I guess I need to calculate the amount of characters the screen can hold given the font size and the window size, but fuck, that's a lot of work to do just for something that probably won't even work anyways.
Well, off to the code editor again. Time to inevitably waste my time doing something that won't work.
Wtf bs is this? Can't governments just stop trying to control the internet?
It's literally the closest thing we have to a free and fair society on the planet and that's with all the tracking and abuse of information going on. I think we need to start applying our minds to creating a decentralised network with p2p discovery routed through our phones if we want to keep any semblance of freedom of speech or privacy around for our kids. Routing traffic wouldnt use more than 50-100mb of ram and would probably use a lot less battery than Google does listening to our conversations or transmiting our location data so we wouldn't even notice. If only we could find a cable free decentalized way to get data across the ocean no one would be able to control it again, I doubt we would be able to shut it down either.10
Please, don't take this post seriously. I wrote it from anger.
I hate a lot of humans.
I was at a church today because family ties. I'm agnostic. That sums it up.
And now, I'm at a mall, and it's crowded, and I'm bumping into a lot of people with very low common sense. These fucking apes here have ZERO walk awareness. And a lot of them probably drive, which scares me.
When they make a line in a food shop, and the line gets too big, they curve the line so that the line can continue, like an L, but they leave TOO LITTLE GODDAMN SPACE TO WALK THROUGH!
There's a narrow ramp, next to some stairs, that I use to get to the nursery of the mall, but it also leads to the bathrooms. A lot of these disgusting beings use the ramp. Jesus fucking christ, USE THE SHITTIN FUCKING STAIRS.
tiday I was walking with the stroller the 9 month old which was (thank you alpha omega) sleeping.
I see one of those nice comfy couches, and there's a couple hugging in it but there's an empty spot. I come closer and it's occupied by their trash, some cups with ice cream.
I could not believe my eyes.
That shit's expensive. I would never leave shit with ice cream in my couch, and it's also a horrible gesture because it looks like you're denying it from others with your trash.
I just stared the trash down like really disappointed. They took the trash but I moved on because I was very salty at that point.
I find a seat next to a dad and his kid. I sit down, relieved. His daughter comes over, and almost yelling complains about him buying his brother.
I stared this little shit straight in her face because she could wake up my kid. She and her family was totally oblivious.
These are just minor events, but I come across a plethora of situations like this every day, like people turning on their turn lights 1/2 second before turning, or people that I meet on the street giving me fucking advice on raising kids.
That's the average mall experience. It's a place where selfful people thrive.
I shit you not, sometimes I imagine that a meteor strikes earth and while it makes me sad that all the people I consider kind will die, I orgasm at the thought of these filthy parasites just evaporating.
But then I realize that I'm being very cruel and intolerant. And feel guilty.
Sometimes I think that I should live in Japan or a similar place.
Japanese city people are very organized.
But then I remember that Japan has a suicide problem. And that it has a poverty problem. And a lot of outcasts. And that they barely have sex.
At first, I grimaced and thought fair enough. This is their codebase, it's their choice. I've now been thinking about this for a few hours and have instead decided that screw those guys, I'm adding in a testing framework, a module pattern that's compatible with the existing code, and unit testing the crap out of it. If they don't want it they can refactoring it out, but I can't bring myself to intentionally deliver code I know is crap.
I WILL FORCE CODE QUALITY ON THEM.7
Chinese powerbanks are so fucking dangerous. Cheap price = cheap quality. Alright, I get it, but that's not my point.
Today my dad gave me his powerbank and wanted me to upgrade it.
A 50k mAh powerbank, but it is far away from 50k mAh. He bought 12 6000mAh rechargeable batteries.
Before I started replacing it and resoldering the powerbank, I decided to open up the Chinese 50k mAh battery. A lot of aluminum foils covering the batteries. That's not great. A very high chance for a short circuit to happen.
Anyways, I carefully took the aluminum cover halfway out.
I took a (plier?) with plastic handles and grabbed the pack of batteries with it to not put myself into danger.
And BOOM! A short circuit.
Btw. It smelled very weird when I took the aluminum cover off of the pack.28
Plus looking through the docs and reading up about animations, I thought that was pretty cool and started playing around with it. Eventually I came to a project where I needed an interactive form and so I used jQuery to handle a lot of the UI work. My managers and the client were pretty excited about seeing how stuff can appear/disappear.6
DO !!!NOT!!!!! USE 'X' AND 'P' TO 'CUT AND PASTE' A LOT OF LINES ACROSS FILES IN VIM!!! HOLY SHIT I JUST PWNED MYSELF SO HARD I LOST SO MUCH CODE HOLY FUCK IT'S NOT EVEN FUNNY! WHERE DID AT ALL GO YOU ASK, WHY THE FUCKING REGISTER, OK LET'S CHECK THE REGISTER, COOL THERE IT IS, BUT WAIT, THERE'S ONLY LIKE 20% OF IT BECAUSE WE CUT A SHIT LOAD OF LINES AT ONCE, AND THE REGISTER OVERFILLED.... Ok let's calm down, doesn't Vim have a recovery option? Yes it does, but WAIT A FUCKING MINUTE, MY CHANGES ARE NOT IN THE SWAP FILE BECAUSE IT'S NOT LIKE VIM CRASHED OR ANYTHING, MY DUMB-FUCK-ASS WILLFULLY WROTE THE CHANGES WHEN I SWITCHED OVER TO THE NEW FILE, AND NOW, WELL THAT'S IT, YOU'RE DEAD KIDDO, YOU WROTE THE CHANGES TO DISK, NOTHING YOU CAN DO, AND I AM SO SCREWED I SPECIFICALLY MADE A DEVRANT ACCOUNT TO MAKE SURE NO ONE ELSE PWNS HIMSELF AS HARD AS I JUST DID HOLY FUCK21
Definitely Godot Engine. One of the greatest and easiest Game Engines I have ever used! Lots of great features and there are getting more and more!
The inbuilt programming language GDScript is really awesome too! It's a custom language built extra for the Engine, which makes it super easy to use and integrate! The syntax is a bit like python but better.
Because it's not as old as unity or unreal engine, it's not as feature rich. But I think that's okay. It allows you to get used to the current existing features, and then heading on to the new ones.
What I really enjoy is that, just as in this community, you can just talk with the creators of the engine. Asking questions, suggesting features and discussing things! They'll answer nearly everything!
Not to mention the graphics! They are really good and are nearly able to compete against Unity!
There's also a visual language you can use. Just like Unreal Engine Blueprints! Never tried it tho...
The scenes system is very easy to understand. You basically have a lot of "components" which you can use in each of your scenes. This also allows for making simple extensions!
All in all, a great engine! If you are a game developer I can definitely recommend trying it out!2
This whole experience thing is really killing me.
"We like you a lot and you seem to have a solid understanding of the core concepts but you just lack the experience we need"
I've heard that basic response from plenty of different potential employers. Granted they could be lying just to be nice but that doesn't help the situation either.
Like tell me where I am lacking and where to improve.
Yea I can learn on my own but they're a lot of things I will never think about touching or gain any knowledge of because it's not something I may ever need to dive into during just everyday apps. There is a difference in building a hobby app to learn and what goes into a full blown application handling thousands of users and all the data that can come along with it. Not to mention the kind of things that can go wrong when you have thousands of users on your app at the same time all doing different things. That's not something I can just have experience with. If I could just get in somewhere I can prove myself because then I will be doing it each and everyday.
Gotta keep grinding though, I'll get something eventually.2
Hey, people's of devrant!
You guys seem to know a lot about this, so I'm going to ask this question here..
Can i have some recommendations for apps to use (Android) that respect privacy and are preferably enctypted?
Things I would like:
Google drive / Dropbox alternative
A nice looking image viewer / gallery (I don't like the Samsung one)
An RSS feed reader.
Google docs alternative
Maybe a calendar / reminder app
I think that's it. Also feel free to mention other apps that you guys use on a regular basis32
In my previous rant about IPv6 (https://devrant.com/rants/2184688 if you're interested) I got a lot of very valuable insights in the comments and I figured that I might as well summarize what I've learned from them.
So, there's 128 bits of IP space to go around in IPv6, where 64 bits are assigned to the internet, and 64 bits to the private network of end users. Private as in, behind a router of some kind, equivalent to the bogon address spaces in IPv4. Which is nice, it ensures that everyone has the same address space to play with.. but it should've been (in my opinion) differently assigned. The internet is orders of magnitude larger than private networks. Most SOHO networks only have a handful of devices in them that need addressing. The internet on the other hand has, well, billions of devices in it. As mentioned before I doubt that this total number will be more than a multiple of the total world population. Not many people or companies use more than a few public IP addresses (again, what's inside the SOHO networks is separate from that). Consider this the equivalent of the amount of public IP's you currently control. In my case that would be 4, one for my home network and 3 for the internet-facing servers I own.
There's various ways in which overall network complexity is reduced in IPv6. This includes IPSec which is now part of the protocol suite and thus no longer an extension. Standardizing this is a good thing, and honestly I'm surprised that this wasn't the case before.
Many people seem to oppose the way IPv6 is presented, hexadecimal is not something many people use every day. Personally I've grown quite fond of the decimal representation of IPv4. Then again, there is a binary conversion involved in classless IPv4. Hexadecimal makes this conversion easier.
There seems to be opposition to memorizing IPv6 addresses, for which DNS can be used. I agree, I use this for my IPv4 network already. Makes life easier when you can just address devices by a domain name. For any developers out there with no experience with administration that think that this is bullshit - imagine having to remember the IP address of Facebook, Google, Stack Overflow and every other website you visit. Add to the list however many devices you want to be present in the imaginary network. For me right now that's between 20 and 30 hosts, and gradually increasing. Scalability can be a bitch.
Any other things.. Oh yeah. The average amount of devices in a SOHO network is not quite 1 anymore - there are currently about half a dozen devices in a home network that need to be addressed. This number increases as more devices become smart devices. That said of course, it's nowhere close to needing 64 bits and will likely never need it. Again, for any devs that think that this is bullshit - prove me wrong. I happen to know in one particular instance that they have centralized all their resources into a single PC. This seems to be common with developers and I think it's normal. But it also reduces the chances to see what networks with many devices in it are like. Again, scalability can be a bitch.
Thanks a lot everyone for your comments on the matter, I've learned a lot and really appreciate it. Do check out the previous rant and particularly the comments on it if you're interested. See ya!25
I'm at UNI, but I'm always studying by my self.
I got to the point where I feel comfortable to start learning the BackEnd part.
I did a lot of research, and everyone says different things, and I don't trust them, I would prefer to take the word from someone on DevRant. I really can't decide, not only because of the different opinions, but also because I can't waste time on some language that It's not going to give me future.
How should I go about this? In what language should I start learning the BackEnd side?
Some people say that definitely not PHP, because it's a bad language. But other people say "learn PHP the right way, because It's not PHP that's shit, it's the developers", and they say that PHP7 it's better.
What language should I start in your opinion?
And I'm learning SQL at UNI, so it would be nice to use MySQL or similar as DB.
Thanks in advance! 😀13
How it feels to be an intern : "Omg I helped people making an app in reactJS I feel like I improved a lot in the past months"
How it feels to come back at school : "omg I have trouble writing a simple algorithm I feel so dumb I'm the worst dev in the world"
That's the difference of working in a team with a great mood and close to no-stress AND studying while having to deal with social anxiety.
The conditions in which I work have a huge impact on the way I feel about myself, my skills and basically on my motivation.3
You may remember a super long time ago I double-buffered the Windows cmd.exe using c++
tl;dr, here it is in c!
Anyways, I was still learning c++ back then. It wasn't my first project in c++ but it was close and I ran into a lot of issues. The thing worked... but only if you didn't touch it.
Here's the same project (With a lot less bells'n'whistles) written in c. I used a different approach this time, and other than my function naming convention (Which, I honestly don't even know if it's bad or not!), I think this is some pretty solid code!
In the image you see the header file (I used as a summary of the code) and then three x's in a terminal. To do this, the code:
-Creates a ConsoleScreenBuffer handle
-Creates two CHAR_INFO buffers for drawing & displaying
-Draws three x's to the draw buffer
-Copies the draw buffer to the display buffer
-Copies the display buffer to the ConsoleScreenBuffer handle
I'm thinking about cutting out the middle man and removing the display buffer (which holds what is currently displayed) but I think it may actually be useful, and I don't know.
Anyways, I have no friends that understand this stuff so that's why it's here. Cheers.3
Send over the entire directory for a WordPress site we completely overhauled with new plugins, custom theme, redid content with visual composer, etc. I tell him to backup his site and then put everything I give you as fresh. He tells me he can't just wipe out his entire site that's unacceptable. I ask him what's the problem? he rambles on and says a lot of words that don't really mean anything then says security. so I call him out on it, what security issues do you have? well we have users and permissions setup he says. I explain That I copied his users table over when we did the redesign, so it's the exact same stuff. so I say again, why can't we just replace everything? well that's just not acceptable he says. I ask him again, what EXACTLY is your problem with replacing the site since I already addressed your security concern. he couldn't answer me so now we have another conference call tomorrow morning with more people from their team. I'll let you know how it goes.
tldr; clients are idiots, call them out for the dumb shit they say and have no response.7
I love reviewing code. I learned a better way to write something. That feeling of "hum, that's a lot better than what I have been doing" is great.1
Some people just don't fucking understand that their ideas are shit. Or even if you have a usable idea that you can't make money on it.
I was watching Shark Tank and these guys go on with the simplest maps API app. Pretty much a single table database for where basketball games are. Then putting it on a map. That's it. And they were asked how they plan on making money and the answer was "better user experience". All you have is a fucking map! It's pointless. You're not making money on that unless you do a hell of a lot more!
The thing that really got me was how they were congratulated on learning how to make it. Good for you, it's great that you learned some programming for that. But while you did the simplest maps API plugin, someone with some machine learning junk was told that it wasn't good enough.6
Bunq gave a fitting sentence to a 18 year old for DDoS'ing them.
Fintechbank' Bunq heeft bekendgemaakt dat een 18-jarige man die achter een grootschalige ddos-aanval op de bank zat, zich vrijwillig bij een kantoor van Bunq heeft gemeld. De bank en de man zijn overeengekomen dat hij voor straf een week vrijwilligerswerk bij Amnesty International moet doen.
Fintechbank' Bunq has announced that an 18 year old man has voluntarily reported to be the one behind a big DDoS against the bank. The bank and the man agreed to the sentence of a week of volunteer work for Amnesty intornational.
That's how it can be done too!
It's a lot closer to what I see as just punishment for a DDoS compared to going to jail for years.
Bunq it took balls to show such leinancy and I do applaud you for it.5
A useful guide of general rules for junior devs, while asking questions to senior devs.
1) If you're a junior dev, you're going to not know stuff. A lot of stuff. That's perfectly fine and expected. The more you realise you don't know, the more you move forward.
2) If you don't know something, duckduckgo it. If after at least 1 hour and a max of 2 hours of searching you still don't get it, ask someone.
3) If the senior dev just gives the answer directly, it means they think you should've already known the answer.
4) If the senior dev just gives the reasoning behind it, but not the answer, it means you should know most of it, but you can probably arrive at the answer with a bit more reasoning and it's a unique problem.
5) If the senior dev gives you the answer with an explanation, it's a very good question and you will likely get to learn something you didn't know already.
Replace senior dev with stack overflow and it still works the same.3
The project I have been working on on/ off since Christmas is finally interesting enough to show off!
In short, it's a faux GUI system in the console, with a lot of advanced features that you would see in web browsers and other professional GUI systems.
Most of the core items are now implemented, and it's only time to make it functional in a usability sense.
Here's the tech demo; readme.md is a HUGE essay about everything that's going on. Plus some pretty damn good instructions on how to get it running:
Happy to hear your thoughts!17
IF YOU UPDATE AN ADM PLATTFORM FOR FUCKS SAKE DON'T DO THE FOLLOWING THINGS:
1. ONLY DOCUMENTATE IT IN A POWERPOINT
2. WRITE DOWN IPs AND PORTS ONLY ON A WHITE-BORD
3. MOVE TOOLS TO OTHER SUBNETS OR DOMAINS WITHOUT PROPERLY KNOWING THE WAYS OF COMMUNICATION BETWEEN THEM
4. USE YOUR PERSONAL EMAIL ADDRESS AS RESET OPTION FOR LICENCE-MANAGEMENT ACCESS IF NO ONE KNOWS THE PW
5. LEAVE THE COMPANY THE DAY AFTER THE UPGRADE IS DONE
Because the guy who has to take care of the upcoming problems is not going to like you!
BUT having to deal with all of this at once would not be a problem if your, so called team (30 People who work with those applications e.g. as test-engineers) would actually work together instead of having that "not my daily business, I am going to drink coffee" attitude.
Apparently I am the only one who has enough balls to see, admit, and report a problem to our leadership.
This always leads to Me fixing the issue...
....that's alright I am learning a lot...
...BUT IF A TEAM-MATE, WHO HAS THE SAME DEGREE AS I AM GOING TO GET, LEAVES EARY BECAUSE: "HE DOES NOT KNOW WHATS WRONG", IT TRIGGERS ME!!!
- The apprenticeship guy
PS Needless to say hundreds of clients have access to those systems and I worked through a shittload of official tool docs just to get to know the tools first...6
I "Bought" a copy of O'reilly's Learning Python. How much of the 1200 page monster is actually necessary/good learning material? Anyway, have a snek.2
An online community I've been part of for years has seen a lot of popularity/hate overnight due to a new policy. The influx of new people who want nothing to do with us but just drop by to troll and be cunts is impressive. Also, a significant amount of bots. I want my online home back :( I'm for the new policy and very much against these new clowns who don't really have any reason to be on our page. Before anyone yells gatekeeping, it's a site about knitting and crochet. Why would you go there if you don't know either craft and have no desire to learn or talk about those? So disappointed. I hope it brought new crafters in and that the trolls will go away soon. It's been such a nice place for so long with barely any idiots because it was reasonably small.. And now look at this mess. I logged in to 20 friend requests from people I don't know and am almost certain aren't real people.
Why is it so hard for humans to accept that some people may disagree with them and that's okay?17
I don't know if anyone else here uses kik but there's something that's been bugging me for a while
Occasionally (frequently) bots start a conversation with you (the typical "come visit my porn website etc etc), right? Now, this has happened to me at least 20 times now, and EVERY single time, the bot's profile picture has loads of translucent yellow stars edited in, and I have no idea why
I can't think of a possible explanation for this, and I've put a lot of thought into it
Attached is a cropped version of what I mean20
I know we have a lot of talented people here. Piece of advice, what ever you build, believe in it. See it through. No matter how good of an idea incompleteness won't get you anywhere.
After all every other day we all analyze different successful products and say "huh... that's nothing. Even we can do that".
Well thats the difference "We" can do that, they DID it.
See your ideas through. Stay motivated =)1
I really don't get all the Musk fans. I mean, sure you can find some value in Tesla or SpaceX, sure you can think theses companies are truly innovating. But why give all the credit to the rich businessman who seems to spent more time promoting himself than really working on science stuff, and not to all the ingeneers and creatives who are really putting some hard work on every day ? All Musk is really doing is running a business. He seems to do that pretty well, agreed, but after all it's "just" that: business. He's not the genius, nor the creative. He has money and invests it well, that's all.
I don't get why so many people give all the credit to him, even here on devrant where it should be logical to find more people supporting the real brains behind the tech.
"He has a vision about the future, he's imaginative..."
- Well that's bullshit.
Once again: he has money, a lot, and a certain skill about how to invest it (and about doing some proper marketing too), which companies to buy, etc. That don't make him such a great visionary about the future of the human being, just a great businessman. I'm sure you can find millions of people around the world with better ideas about the future, but they're not in his position. They're not rich, they're not CEOs, they're mostly unknown.
Stop follow the stream by glorifying businessmen just because medias are talking lot about them. Instead, know where the real talent (and work) is. Give credit to Musk employees, not to him.105
//If you dont own TEVO tarantula or 3D printer in general or are not looking into buying one the scroll past. But well if you want to read it go on.
So since some of you may have or may want to buy TEVO tarantula(3D printer for 300$ for those who dk).
I will put here a small list of upgrades that are just must do:
1. Part cooling fan.
I see a lot of people on Reddit and elsewhere with printing on tarantula without part cooling and the resoults are horrible tbh.
It takes 2 hours to print and the fan costs 2$ at most and the quality is 1000% better. Not kidding.
2. Second Z rod
I still wait for my second rod but i have hacked my printer kind of with second rod that's smooth and use that for now and the auto leveling gets precious as hell. And quality gets better too.
The acrylic brackets that come with it are shit to say the least. After printing part cooling get some wood board that's cheap and print brackets and screw the brackets into the wood. It makes the printer stable as fuck. No more weird sounds.
4. This is few upgrades that are not must but help a lot too.
Y and X belt tensioner. Belts are supposed to be tight on X and Y.
Big bed and autolevel. This is just a personal thing but its good to have it as you dont have to level the bed every time and you have bigger space to print on.
Oh yeah replace the green shitty sensor with BLtouch. Oh good 3D printer god is it much better.
Glass bed. I will just tell you to get mirror cut to exact bed size and clamp it on. Really helps a lot since that AL bed on tarantula isnt great.
E3D V6 extruder. One of the WOW upgrades here from my opinion. No plastic leaking anymore. Just perfection. Even the clones are good.
And dammit flash new version of Marlin on that printer. Oh boy is it much better.
With all this put on the printer. Sure its price goes up. But most parts are 3D printed its not much.
Most people i talked to who have tarantula dont upgrade it too much and thats a mistake. they cant go more then 40mm/s and i can do 70-90mm/s with still nice quality. But yeah i keep it at 70mm/s just cause its better.
And yes upgrading motor drivers to the ones on Prusa MK3 help a shit lot with lot of stuff i cant tell anything since i dont have them yet. 11$ per piece and i need 4 of them is kind of pricey.
I hope people will find this useful.7
I used to read.. A lot. Long and complicated stories, where the plot would only unveil itself after a long time. I used to dig myself into a book, learning about the writer's thoughts and mental image, reflecting on our differing viewpoints on the question at hand. I didn't expect action or beauty, merely thoughts which, by themselves, constitued a value to me.
But pulp and especially social media had lowered my attention span to the point that even reading through a short story without getting sidetracked takes a lot of effort. I still value what I used to value, the only thing that's changed is that I no longer have the patience and I feel discomfort due to the lack of sensations.
What do I do? Had anyone solved this problem before?4
why do i have an iphone?
well, let's start with the cons of android.
- its less secure. this isn't even arguable. it took the fbi a month or something (i forget) to break into an ios device
- permission, permissions, permissions. many of the android apps i use ask for the not obscure permissions.
· no, you don't need access to my contacts
· no, you don't need access to my camera to take notes
· no, you don't need access to my microphone to send messages
· no, you don't need access to my saved passwords to be a functioning calculator
- not being able to block some apps from an internet connection
- using an operating system created and maintained by an advertising company, aka no more privacy
- i like ios's cupertino more than material design, but that's just personal preference
pros of ios:
- being able to use imessage, at my school if you don't have an iphone you're just not allowed to be in the group chat
- the reliability. i've yet a data loss issue
- the design and feel. it just feels premium
- if i could afford it, ios seems like a lot of fun to develop for (running a hackintosh vm compiled a flutter app 2x as fast as it did on not-a-vm windows)
so that's why i like iphones
My most personal rant to date...
The company I work for operates in an industry that might experience the next Kodak moment. The industry is really feeling the knife against it's throat at the moment. The company I work for is a dinosaur, so to say. And almost everyone within fight to continue staying as a dinosaur.
I am the sole dev of said company, and I am so alone. Not just literally, but also in thought and action.
I've been flagging the possibilities and dangers of the digitizing aspect we're experiencing for the last six or eight years (yep, I've been around for quite some time), but I feel that I'm not heard. I am that grumpy, sour manifestation of everything digital that they hate so much. At least that's what it feels like.
I am so fed up with this situation. But my options are limited. There aren't many dev jobs around, and those who've tried to hire me offered a salary reduction of about $12K, which is quite a lot. I've been offered jobs in other parts of the country, but I have family matters to tend to, so I can't move at the moment. I've looked for companies offering a job where I'm not required to work from the office, but in my country these seem to be far apart. I could go freelance, but I am too scared to do so. A stable income is neccessary to put food on the table for my family.
My current new boss is pretty awesome. When he arrived, we were a lot of juniors dev crumbling under pressure. He directly went to product team and to sales team and totally reduced our workload to something acceptable.
He values sane work environment a lot, and I think that's what make a good boss
TLDR: new job, lot of pressure and Linux shit
So, I just started last Monday my first real job with my degree. I know i'll learn a lot and I'm grateful for that opportunity.
But now the rant part:
They already gave me the responsability of a medium project, the developper who worked on it is leaving soon, I'll be the only developper working on Django in the start up, it's amazing that they trust me with that but i feel so much pressure because of that, I know that I'm definitely not bad, but i don't feel legitimate to handle a 50keuros project alone with a 3months deadline. I'm 19, that's a lot to handle for me.
And if that wasn't enough I wanted to switch to the last big OS I didn't tried, which is Linux , it's Sunday 5am and I spent the last 5 hours struggling with NVIDIA and my ubuntu which doesn't want to boot anymore 😭 I'm starting to desesperate and I need to find a solution before monday. I'll figure something out but that was a very hard week for me
Sorry for the bad formatting, can't write properly through my tears, next rants (and I feel there will be a lot more soon) will be better10
My problem with a lot of free resources/class assignments is we're being forced to make useless shit. For instance, an interactive textbook we use has some stupid fucking turtle assignments.
Why not make it something relevant? One of the first things i ever made was a Fahrenheit to Celcius converter. That's a real world application, since not many can calculate that math in their head.3
Made my first Node.js Todo list today! Got myself a new front end design tool, Bootstrap Studio (50% off). Learned about REST, using Node as an API and MongoDB and Angular! Had a lot of fun learning and I would recommend it to anyone that's a Node.js beginner. I want to do a video tutorial series on Node.js, is that a good idea?9
A year ago I wrote a SDK on PS4 DevKit, and when I looked at the spec I was like "Wow 8GB RAM, that's a lot to play with".
But then the OS takes about 4GB, and we have some huge textures (0.5GB) , and pretty dense point clouds (some more RAM, ka-ching!), need to leave some memory for the application on top of the SDK...we ended up having about 0.5GB for ourselves.
I was really bummed out, and this feeling is pretty much identical to the one I have when I see my total income, and then what's actually left after taxes and all the other shit.1
It has taught me to accept that I am frequently wrong. Not just when faced with code but with people too.
All the years of "It can't possibly be MY code that's wrong" which of course always turns into "Well, I guess it was my code..." Had helped me think critically in relationships, politics, and many other areas of my life.
Programming had actually heavily influenced my behavior and I would say it is largely for the better.
However, one negative effect it has had on me is that I am less of an optimist. Code is very "cause and effect". This means a lot of my life is "no surprises" and "you get what you give"
So I often feel like the most likely outcome is probably just the one that's gonna happen. There are no surprises, no miracles. Life is cause and effect.2
Finally after a couple of years, we finally finished our game for... Windows phone. When we started the only real choice was to develop in silverlight.
Now silverlight has been discontinued and microsoft released uwp, no real help to convert to uwp (I know mobilize bridge exists, but it is not very good) since many features does not exist yet in uwp :/
But hey that's expected right? But couldn't microsoft at least ensure performance of silverlight apps on win10 mobile??? We have used a lot of time optimizing that the game runs smoothly on crap phones on wp8.1, but highend phones on win10 lags....
Thanks microsoft for taking a change :/4
Damn that's a lot of hours every day. He/she has top 1 on Wakatime leaderboards.
Good job, whoever you are.
(Oh, and guess that a Mac CAN be used as a dev machine 😉)7
I love one particular old game. It's called Port Royale (the first one). Why? Because the game crashes a lot. Players know that, devs knew that. It's so old and unknown to people who haven't played that devs don't even fix it. But, but... why do you write it here?
This game tought me autosaving! Yeah, they have autosaving in [5, 10, 15] minute intervals, but the game is so fast, that even a little change you do will cripple your whole economy. Not to mention the saving mechanism is partially broken (or that's what the log says, fml). By broken I mean it tries to autosave, but sometimes it crashes the whole thing, just because it can. A game with special effects - crashing in _intervals_!
Because of this lovely game I have a habit of saving and staging (or even commiting). Maybe they should be proud for making such a bug. Saved me once again a minute ago when I managed to crash Emacs with Python. :D1
One thing I've learned in the past year. Never start working on a task that's based on a lot of assumptions.3
A colleague just committed his username and password in git. When I kindly informed him, he told me that there are a lot of things on whiteboards around the office that should not be there. Oh, if that's the case, committing your credentials to git is fine.
We all make mistakes. But your response to them is everything.1
Things I wish people had said at my first job (in light of lots of the people I see starting their first dev gig on here). Please add yours.
Take a breath, you will be fine.
If you get frustrated, take a moment to collect your thoughts.
Don't be afraid to say you don't know, you are not expected to know everything.
Your workday needs to end at a decent time. Don't overdo it or you will be useless for more of your hours.
Always take whatever length of time you think something will take and double it. If you think it will take 15 minutes, it'll probably take your 4 hours.
Concentrate on networking and personal relationships.
Pick the smartest people who have moved the most vertically and pay attention to what they say, they might know a lot.
When management makes an "unwise" or "crazy" decision, ask them why or what the context or motive is that made then arrive at that course of action. Some of them might surprise you in their bigger picture motives or dumbassedness.
Six sigma may be in your future, learn what it is.
Automate as much of your own job as possible.
Um, that's all I've got for now. Hopefully that's helpful to people just starting out. Feel free to add yours.5
What's that? No ints? Use parseInt or Math.floor.
What are you saying? == works in strange ways? Yes, that's what we have === for.
Type coercion is wonky? Think it's weird how string + int works differently than string - int? Wanna string with number + - + - - + - - etc? Don't! Don't add strings and ints, don't subtract strings and ints. You can't in statically typed languages and you aren't supposed to in dynamically typed
Adding arrays and objects, arrays and arrays, objects and objects etc. is inconsistent? Why are you trying to do that?
Adding floats together gives odd results? Now we're getting somewhere! And Mozilla responded to that with a method called toFixed.
Declaring variables with var doesn't always work that well? Use let and const
Then there's this weird attitude that some people I've met have, where they will complain about the module system and how "well you rely on the community for those packages" as if it's a bad thing. And then coming with the "well you don't know what the (open source) packages do internally" as if I (for the most part) give a shit. Then they'll swear by companies like Zend or Microsoft as if they can't just stop supporting the languages they use. Maybe it's just because I like community content more because of video game mods.
Wanna criticize JS, then there's plenty to talk about. Like the built in date object is basically shit. Or how in NodeJS you can have node_modules in your node_modules. Or how classes don't really have the best syntax. Left-Pad. And so on (it's too late for me to be able to remember much more).1
TL;DR: What's cool about your company or what you'd like to have in your company?
I work at a small company (<50 employee) but it has some time around (I'd say almost 20 years or so).
The thing is, the boss here is cheap or inattentive or outdated or all previous options. This translates into a company stuck in the 90's management ways. Well, maybe late 90's.
So we don't have a lot of 'cool' or nice things here; and I've been thinking of coming up with a proposal of a progressive update of some things that gives us (the employees) some sort of identity.
For example, I think that small things like personalized notebooks or post-its or t-shirts give the employees some sort of sense of belonging. We don't have any of that. The only thing we have are business cards and I find them completely useless since I don't visit customers and all my communication with them is via email.
One thing I find very cool is when one employee starts in a company, in their first day they get a 'welcome kit' (example picture): notebook, pen, cup, t-shirt... It may look like stupid shit but it's way better and more motivating than the "Sit here and that's it" welcome I got when I started here.
So I wanna do a proposal of this sort of things that we can adopt, and I wanna know what do you find cool in your company or what would you like your company did so you'd feel more confortable or 'proud' (maybe that's not the word) of working there.6
How ignorant we all are about the world. It's not necessarily a bad thing, just a fact. After a four year degree I've learnt so much, how a computer works from the physical phenomena on the hardware level to the inner workings of an OS to the highest level abstractions of modern web development, a wide array of programming languages covering several different paradigms, mathematics from calculus to statistics to algebra, how to work with databases, how to administrate a server, how to build a website, and much more.
And that's just in a degree. I have knowledge in one domain and I wouldn't even call myself an expert in it. Medicine, physics, biology, the hundreds of branches of engineering from civil to nautical to aerospace to automobile, to geology to meteorology to astronomy, to the practical application of this knowledge in hundreds of trades. There's so much more to know in so much depth and only recently have I realized how little we all know on an individual level.
Finding this out has been a mixed bag, on the one hand it's made me value what I know and what others can teach me a hell of a lot more, on the other, knowing that people haven't realized this and adamantly discuss and impose from a position of ignorance isn't very nice.
tl;dr I know that I know nothing3
Rant rant = new Rant();
rant.type = Rant.REVELATION;
rant.content = "
Being depressed with recent stuff about my ex, I've been going out a lot more than I use to, thus engaging in conversation with people I've never talked to before, and it made me realize something. Maybe it's because the world it's more connected nowadays, but I think it's more about our career (be it CS Engineer, Software Dev, Web-Dev, etc...) and correct me if I'm wrong but I think we are the kind of people that knows about everything (maybe not everything, but know basic stuff that can't be considered general knowledge) because that's what we do, we spend our days updating ourselves, growing in knowledge.
What's my point? That, thanks to this ability, we can work, cooperate or even socialize in a rather easy way. For example, I learned bit of color theory and design principles for a school project. Fast forward some months, I meet this girl that had a degree in Digital Design and I could talk to her about her field, and even knew things she forgot.
I don't know, for me, it's amazing how we can shape shift and mold to the situation, easier than any other career.
Am I wrong or missing something? Let me know
Today is the day I try to use single quotes only. Have always used double bc I think they look better...but damn that's a lot of wasted time going to shift! I could've "made the world a better place" already!7
Looks like it's time to update the old CV... Christ have I really been here for 8 years.
It's been fun, the most fun time of my life but with new owners breathing on everything stuffs starting to fall to shit.
To use a SysOps analogy there are category 1 - critical warnings ringing in my ears.
I can accept a lot, but I'm genuinely concerned for the future of this place, and after trying to fix things for long enough to realise the new owners are the ones drilling the holes in the ship it's time to sink or swim, and I don't feel like sinking.
To quote billy Joel,
It seems such a waste of time
If that's what it's all about
Mama if that's movin' up
Then I'm movin' out1
Last night, after reading one of my computer science textbooks, I couldn't go to sleep because I came to the realization that computers will never be able to think like humans. Because a machine does what it's told to do. It is incapable of thinking outside of the box. What will need to happen is that parts of a human or some biological organism, essentially the squishy stuff, will need to be combined with a computer.
What I mean to say is that computers are good at answering questions in an absolute way. Essentially, you give it a problem and it will click away at it until some output pops out. Yes advanced AI exists, like Alpha Go. But again it's only doing what it was programmed to do. Looking at ways to play a game and answering for that question. In this case, playing a game of Go. I'll guarantee you, that not once did it stop to ask **why** it was playing Go. It was simply__just__ playing Go. But that's it. That's the limit. We give machines data/statistics and we let me them give us an answer based off of that data or input.
This is how I imagine intelligent machines will come about. A biological brain will be combined with a machine. The brain will be doing alot of the questions, and the machine will do a lot of the calculations. Together, they'll be able to answer hard questions. The heavy calculations will be left to the machine, and the heavy thoughts will be left to the brain.
I mean technically we're already doing that. But imagine a machine/brain computer that does not sleep, can't get sidetracked and will never procrastinate. That would be a scary machine.25
Sorry if I'm just ignorant but: I see a lot of rants about designers expecting pixel perfect implementations of their designs. Is that for real? In my world there is hardly ever pixel values at all. It's not paper publishing. It's web, things have to scale. For an iOS app where you have a few known screen sizes - fine. But web? Come on...
And that's without even going into CSS or browser quirks.4
Wow, great read for anyone that's interested.
For example, this snippet is very true and I guess a lot of use know it. (It's how I became a programmer).1
Just shipped my old pc off to a datacenter with 28TB worth of spinning platters in there (12 drives) and now enjoying the benefits that ensue. That's a lot of space for a pc I have had for 11 years.7
A lot of devs I meet are pretty cool but a handful, including some on here, seem to think the world revolves around them and they deserve to have the ground dusted off in front of them.
That's fucking narcissistic and you need a reality check if you're like that. It's great you're passionate about your knowledge but you're not out here taking down terries and saving children from burning buildings, like calm down with the self righteousness
Just had to get that out after one too many "how dare anyone looketh unto me unless I request it in advance" posts. Like chill out, you're not that special 🙄14
Tuesdays at work suck. This is something I've put a lot of thought into.
Take Monday for instance, we love to hate him, when it comes to Mondays we all know the score we tell Monday where he can go and he takes that and owns it. He knows we hate him and we all know where we stand.
Wednesday is hump day, not great but we know we're halfway through the week. Thursday gets us a little excited cos we can see the end of the week.
Friday is the one we've been waiting for and we love him, Saturday and Sunday are bliss.
Tuesday... What's Tuesday got? It's just a day, there's nothing going on with Tuesdays.
Well except this week, in the UK we had Monday off as a statutory vacation, so this week, this week Tuesday is the day we love to hate, he's now got all this beginning of the week rage directed at him. The other days are unaffected, Thursday and Friday still have their thing, Wednesday still marks the half way point.
Monday has buggered off and let Tuesday be something for a day, I don't think he can take it. If he could Monday would probably go into retirement. Monday probably has more hatred directed towards it than Katie Hopkins (and that's saying something).
In short, no, no I do not want to get out of bed and go to work today, but I will, cos that's just what we do, but fuck you Tuesday.
Fuck you with a bag of spanners...
...With habanero sauce...
... And a pineapple.1
So there's that project with my coworker. We splitt up the classes, 10 to be implemented by him, 10 by me.
Fast Forward to 4 weeks before deploy.
Coworker: Your stuff logs a lot of stuff. It's not very clear and a liiittle to verbouse. 5 entries per second? Too much!
Me: Okay, you're right. Let me fix that.
2 Days later I look at his logs at runtime. He logs EVRY SQL statement and their results! In a batch that processes a 10'000 of customers!
He points out: That's useful stuff and it's not that much. It's needed for debuging.
My face: 😦4
I see a lot of crap about junior vs senior devs nowadays. I think the distinctions are small.
In reality senior devs have been burnt more in the past by their own mistakes or have seen mistakes by other people. That's about it.
What other distinguishing characteristics have you found?7
So FedEx delivered a 20-30lb package to my doorstep... I had a lot of trouble just getting it inside, I imagined carrying it all the way...
Am I weak or are those guys superhuman? or maybe that's the downside of being too techy? We're soon all become weaklings?30
So I'm coming out of one that has a focus on this stack (JS [JQuery after weeks of Vanilla JS drilling in our heads, React], Java, MySQL, Python [Django, Bottle], HTML/CSS, and a few web security concepts (XSS, SQL injections).
The whole course has been 4 months learning, 3 weeks working on a final project. Next week is the presentation, so I think I can safely comment on the course.
We moved fast, but that's to be expected. Lecture in the mornings, exercises in the afternoons, assignments due at the beginning of each week. Constantly working towards it and improving. I have been working pretty hard. We were given some help, but had to get a lot of answers online (based God StackOverflow), but that's part of it.
We touched on some concepts like inheritance in JS, Python and Java, OOP and to be open to concepts we don't know so we should be thirsty for that knowledge.
In my off time, I've begun texting myself Node and really trying to double down on React because it seems useful. I realized I was more drawn to the backend, but I was comfortable in front end as well. (Just don't ask me to design anything, my eye for aesthetics/CSS sorcery is terrible.)
The overall experience has been pretty mixed, but we were mostly unsatisfied. We weren't given then help we were promised. The explanations weren't exactly crystal clear, so we would have to teach ourselves and each other quite a bit. We worked together a lot. Some people really fell behind, some caught up, some flew ahead and thrived. (I'm somewhere between caught up and thrived, I recognize where I stand.)
I'm happy I did a bootcamp, they aren't miracle programs, but they at least kick you into place that you are learning and need to continue to learn. (Just kinda wish I had done a different one.)
Feel free to ask about anything concerning it!
Guys, we need talk raw performance for a second.
Fair disclaimer - if you are for some reason intel worker, you may feel offended.
I have one fucking question.
What's the point of fucking ultra-low-power-extreme-potato CPUs like intel atoms?
Okay, okay. Power usage. Sure. So that's one.
Now tell me, why in the fucking world anyone would prefer to wait 5-10 times more for same action to happen while indeed consuming also 5-10 times less power?
Can't you just tune down "big" core and call it a day? It would be around.. a fuckton faster. I have my i7-7820HK cpu and if I dial it back to 1.2Ghz my WINDOWS with around lot of background tasks machine works fucking faster than atom-powered freaking LUBUNTU that has only firefox open.
tested i7-7820hk vs atom-x5-z8350.
opening new tab and navigating to google took on my i7 machine a under 1 second, and atom took almost 1.5 second. While having higher clock (turbo boost)
Guys, 7820hk dialled down to 1.2 ghz; 0.81v
I felt everything was lagging. but OS was much more responsive than atom machine...
What the fuck, Intel. It's pointless. I think I'm not only one who would gladly pay a little bit more for such difference.
i7 had clear disadvantages here, linux vs windows, clear background vs quite a few processes in background, and it had higher f***ng clock speed.
Intel atom processors use less power but waste a lot of time, while a little bit more power used on bigger cpu would complete task faster, thus atoms are just plain pointless garbage.
Tested in frustration at work, apparently they bought 3 craptops for presentations or some shit like that and they have mental problems becouse cheapest shit on market is more shitty than they anticipated ;-;
fucking seriously ;-;16
What browsers do front end devs here normally test on? I test on Firefox and Chrome because...that's all I use, but what about Edge/Safari or god forbid IE11?
I'm more familiar with backend dev ops so my testing consisted of checking Firefox a lot. :P6
Me: Let's implement this integration test suite in Python since it has got plenty of rich libraries for accomplishing our goals.
Client: Let's use Node.js instead.
Me: With Node.js, we'll need to handle a lot of it's inherent stuff like asynchronous code flows, promises, etc. That's not what we primarily want to achieve.
Client: Let's use Node.js.
Me: Okay. What potential advantages do you see with Node.js?
Client: Umm.. let's just use Node.js?
Got back home from my last therapy session. Situation was kind of strange. I had only done about two sessions but my therapist told me they wouldn't be a good fit for me as I have a pretty good grasp of what my issues are and what I want to do to fix them.
Thing is, I'm an introverted person. And I work with people who are much more extroverted than me. And that's not really surprising, most Americans are to a fault extremely extroverted and it drives me nuts.
I hate their gas guzzling trucks and suv's that haul almost nothing so they can go to Walmart to buy shit they don't need. I hate our advertising with it's whoring to the public. I hate our media for being shallow as fuck. I hate our politicians who whore out capitalism to the lowest fucking bidder to get elected.
I do like some American companies though, and we have a lot of pretty locations you can see. I like Minneapolis, I'd probably like Seattle and Portland too but I've never been there.
I don't know. I think I'm at a breaking point in my frustration with living in the States, and I need to decide next year if I want to make a call to leave the country or decide on a different state to live in. Someplace that's far less conservative than Iowa. I'm single, I could manage to make a major move change without it affecting anyone but me.
I'm feeling a bit tense. I just want to write code and calm the fuck down a couple levels.
Sorry if I've been pissy. :(18
why the fuck do these mother fuckers have to give information to the ones responsible for designing the fucking application on the approval fase so I have to redesign some areas and spend a lot of time doing shit I could do once...
and that's not new information... no... I could handle it... it's fucking things you know since your fucking birth!!! fuck you and your shit talk!!!1
ok, well, I have a list of worst interview experiences. here is one. This was my very first job interview.
[Things differ with places, but where I live, we give a lot of respect to teachers, interviewers etc]
It was my turn for the interview and I forgot to knock the door. The interviewer didn't like that. But I guess he ignored.
I also forgot to ask to get in. So, instead of pointing out my mistake, he taunted me. When I was already in, in front of him, he looked at me and said "Yh, come in!" as in, you forgot to ask that. But I was already more then, just in.
I felt sorry, quietly sat down on the chair. when I was well settled on my chair, he looked at me and said "Yh! sit down please!". Again reminding me I forgot to ask him to sit down.
Should I have apologized atleast? I forgot to do so! So he reminded me again, "Oh that's okay! don't say sorry."
It was enough embarrassing for me already when I hadn't even utter a word. I don't give a damn about interviews anymore, but well, that was my first one! You must know that feel.
Well, he was quite happy with the rest of the interview, so at the end of it he told me "it's okay it usually happens initially. You'll get used to it pretty soon." I ignored that later but could never forget how it all started. 😂🎃2
We have this system that's being used nation-wide and basically there's a control panel for management (it's a website)) and an app for the regular users.
I just migrated and replaced the guy before me, I'm basically the only one on the project.
The code for the website is a mess, the servers are sometimes slow, and few security problems here and there.
Project Lead comes up to me and says that few of our clients that use the website are saying it works really slowly.
I start by analyzing the networking, and found shocking things.
First of all, let's say there's a messaging option, and the management teams that are our clients can have each a lot of groups, which all have messaging.
Upon first load, ALL OF THE IMAGES, FROM ALL GROUPS, ARE PRE LOADED. It can get up to few hundred photos being preloaded upon first load, which can explain the slow loading.
After discovering that, I discovered that the Administration control panel, which only my project lead can access, with sends heavy requests to the server and loads heavy assets, is loaded every time to every single client, generating heavy stress on our server and slowing everything down.
I tell that to my project lead and say that that's what causing the slow downs, I coded a fix that currently sits and is not being merged to the master branch to be deployed, and somehow I need to find a way to fix the slowness which all comes down to the heavy requests and slow connection with servers... And they won't merge my fix that fixes the loading of the administration panel so the stress on the servers could go down, and everything will be sped up....
Ah damnit.. sometimes I don't understand it..4
Just been offered an almost 30% pay rise from my current shit company. This along with more benefits (equity), time off and the boss being around a lot less along with much more freedom...
... I'm not sure what to do. The pay rise alone is enough. I'm young and in this shitty economy that's no small amount of extra help. I could get a mortgage with that. Finally own property.
Should I take it?7
As a person from low-paying country, how do I reconcile with the fact that for the same work, and the same 8 hours, I get 1/3 of what a person in Germany does? In my previous team (same company), one of my teammates was from Germany. The same team, the same work, but he happened to earn a lot more.
This bothers me a lot sometimes. I have seen people requesting to be transferred to another country, and being denied, presumably because of the salary difference. Then, the person leaves, and someone in Australia gets hired. So, rather than moving a veteran person of whom you know fits your company culture to a higher-paying country, you let him go and hire a newbie in an equally-expensive country? What the fuckity fuck?
And to my friends from high-paying countries, especially managers: you don't have to feel bad, but have some common decency. If you come to my country, do not say "oh gosh, everything here is so cheap," or "the dinner for the whole team costs less than buying my family of four a dinner back home." That's offensive as fuck. If that's the case, fucking give me a raise you cheap fuck!30
We have a new hire, and he doesn't know much so he is receptive when given feedback on better ways to handle a situation...Or at least, he appears that way. Until the next time and he didn't listen at all.
Today I'm working on the front end to match his API calls. I ask him about a list of options for one of the fields, as he didn't provide that info initially. No worries, there was a lot, easy to miss. He responds with a list of ~100 options, which he copied and pasted from, I'm assuming, their documentation. I tell him that's too many options to hard code, as there is an easy chance to have an error or for there to be one added or deleted, and ask if there is an API endpoint to get the list.
He then asks if I need the key and value, or just key. I tell him if he needs the value(human readable) then he can send me just the value, otherwise both. He says he just needs the key, so I let him know that I need both then, as the value is human readable. He says okay.
He proceeds to make the endpoint, I test it. Then I look at the code he wrote. Not only did he not send me both, he just sent the keys, but he hard coded all 100 keys as opposed to making the call to the external API.3
I'm writing a book that teaches everything I have learned in the past 20 years about writing small niche software and selling it.
Need some help from my fellow DevRanters.
Anyone who comments here with something constructive gets a free copy when it's done.
When I say:
"Why don't you just write your own software and sell it to end users"
What is the first thing that pops into your head?
Is it "I don't know how to advertise"
"that's a pipe dream"
"I tried starting my own business, but _______"
"I am doing that, i have this side project "
(how long have you spent on that side project?)
I need to know all your concerns questions fears, skepticism etc around the idea of writing your OWN software.
After 20 years I have like, so much knowledge, but it's sometimes hard to get it all out, UNLESS someone has a question or concern, then, out it comes.
So, I'm going to (hopefully) collect all the questions here ... and answer them, and it'll help me out a lot to extract this knowledge.
A lot of stuff I do without even thinking and realizing all the years it took to even know that.
What would you like to know the most?
You have the skills, you have the know how, you can probably see it in your head, so what's stopping you from making the leap?36
I started to get interested in programming at the age of 13. I was started spending a lot time in our school library and read mostly technical books (beginner/hobbyist stuff) about electronics.
Some book was about Quick Basic (hence my username).
On Windoze 95 in a DOS mode IDE I started trying stuff out and soon I had my first tiny console game.
A bit later I started with HTML and CSS stuff, made a website about ongoing jokes in our class and some rants, later I got into VB6 (I hate VB nowadays!) and wrote for a personal school project a learning software (relatively simple one) to learn vocabulary for foreign languages.
At about 15 I started with C++ and later C# .NET, which I liked the most, and started on some new Windows.Forms stuff, created some small websites.
Now I'm working parttime as a professional developer (mostly web, but VR & .NET too) and studying EE at a university.
My parents had no experience with computers at all, so I learned everything myself an with the help of the allmighty internet (the black box with the red dot on top).
That's my story. ;)
Insert your rant about this below this line:
I have this coworker who praises himself or being vegan an caring a lot about the world and his health, but smokes and drinks quite a lot. He also is very friendly with everyone but then he privately complains about them with me and goes back to be friendly.
I could ignored this behavior until it started affecting me. Now he is just passive aggressive with everyone, including me. The kind of guy who sends a slightly bitter comment with a wink at the end almost everyday. The kind of guy who will talk to you non-stop like he is your best friend and next morning don't even look at you. The one who will try to teach you some lesson whenever you say something publicly (which he did tons of times and ended up fucking up because he had no idea what he was talking about).
I feel like ignoring him from now on no matter what he says, because he is only waiting for the perfect opportunity to make you feel like a not caring human being so he can keep standing out and controlling everyone. Yes, if you ever try to organize something, he will make sure to criticize you.
So... that's it.2
I watched some of markipliers videos back when I watched yt
I felt down and like I wasn't giving my best and stuff
Searched for "markiplier inspiration"
Marks video "believe in yourself" is just that
Say what you want about him, I guess there are people who think he's about the money or stuff, but no matter how you look at it he is a good guy.
He makes you laugh when you need it (if you get the idea of watching his videos)
He has a kind heart, he is a fucking inspiration on himself, inspiration in person.
Comparing myself to myself, I still think I can do better, but that's also what he encourages, set your own goals and just try to be a bit better than yourself
Only compare yourself to your past self.
I may not be as great as I want to be, but I am a lot fucking better than I was a year ago.
And that's what it's all about.
I'm gonna try a bit harder as I go, I wanna BE BETTER as he says, I am going to be fucking better.
It won't be instant, but I'll try.
I hope some one who reads this crap will get inspired a bit as well.
Believe in yourself, and know that others believe in you as well.
...His hair looked better in blue.5
Proxmox team, go fuck yourselves.
Now I'm sure that I'll receive a lot of flack for this, but hear me out.
I've tried Proxmox and was quite pleased with its web UI. But I hate how much it locks me into their own little ecosystem.
I want to use btrfs on my drives. Why is this impossible, yet the hack that is ZoL is your obvious alternative? An alternative wherein I can't even compile and run my own kernel, because then ZoL suddenly fails? And don't you tell me to compile your stock config, when it's well over 15GB large in your source tree.
Proxmox is literally the MacOS of Linux distributions. Which was even more so made clear by me being called an idiot by possibly wanting to run Same on the PVE host. Because why on Earth would sysadmins want to?! Why on Earth would sysadmins be competent for wanting to?!!
You know what? I'll just convert those Proxmox servers to Arch and say fuck you to all the bells and whistles that's Proxmox' web UI. Because at least Arch allows me to make my own fucking choices, limited only by what's supported by the Linux operating system.
Perhaps Proxmox will consider btrfs stable in 2021. Because you know, despite it being stable today in 2018, Debian and Proxmox alike live 3 years in the past, i.e. 2015. I hate the Debian ecosystem because of that, but boy do I hate Proxmox even more so. Bloody fucking piece of shit it is!!! 😡6
!dev but is somewhat tech related
So I was like 7. I was hanging out after school with a friend who's mom worked there. We were in her office. So there was a song l really liked are the time (Song of the South by Alabama) and it was on a CD.
So I put that CD in the computer and play my favorite song. Well literally 15 seconds after a line in the song, which was "Sweet potato pie and I shut my mouth," played, my cousin who was in another teacher's office decided to
prank call us.
What did they say when I picked the phone up and said hey? "Sir your order for 1,000 pounds of sweet potatoes is ready to be delivered."
I nearly shit a brick as I slammed the phone down and started freaking out. I ran to where he was and bust in there to see themn laughing really hard
Now I look back and laugh, but I genuinely
thought that by somehow playing that song ordered a lot of potatoes.
And the wild part of the story is that of literally all the things they could say, they chose sweet potatoes. Like it still blows our minds that that's the choice he made.5
As of two days ago, I no longer use systemd on my Arch system, I switched to openRC.
Basically it all started right around 9 months ago, installed Arch on a new laptop, and whenever I would reboot (which was never very often, mainly kernel upgrades), about 7 out of 10 times it would crash when booting up. My solution for a while was "just don't reboot then".
I spent a while trying to figure out exactly what was causing the boots to fail. I tried disabling systemd units, just trying to narrow it down. I even got the logs from each failed boot, comparing it to a successful boot to find any differences just to have some idea of what the issue was.
One day I figured, it's possible that it could be an issue with systemd itself. So on my day off of work, I figured I'd try using a different init system, just to see if it would work 10 out of 10 times. Decided to try openRC, and sure enough, IT FUCKING WORKS!
Now, I don't hate systemd, I've always been on the fence about it. I feel like it just tries to do too much. I will say, it is fairly convenient to have a lot of things running off of one component, making them all compatible, BUT there's also the factor that one issue could potentially fuck shit up.
Hell, I'll say that it is easier to use systemd than openRC. Enabling unit files is easy as shit in systemd. But I personally like a challenge, and to learn new things, that's part of why I use Arch.
Anyways, I'm done with my rambling for today.5
What do you tell interviewers as a "Senior developer" when they ask you what you do at your current job.
I've been with my current for almost 8 years, since graduating... Few different time but not very well managed (semi/barely agile). Hasn't really provided any skill growth opportunities. Mostly fixing production issues, chasing other teams.
The projects I've worked on are in many different languages either enhancements or some standalone stuff. But nothing that's huge and I don't think I've learned anything from them. I usually apply what I learn and practice outside of work to work.
So to me I can probably list a whole lot of projects but to me their not that amazing, I didn't learn anything from them.
Also about those algorithm questions. I've never used any of this stuff actually at work. Concepts yes but not how do you implement ... And honestly I've never once had a situation that required algorithmic thinking other than maybe writing recursive functions in rare occasions...
But to me I've never once done anything harder or new which I haven't already done on my own....
Sorry for the disorderly rambling this turned into... which is sorta a problem too.
Everytime I think about interviews, I want to give rants about we technical questions are BS, how I probably have enough real experience to tackle any problem and come up with a good plan/solution (in a realistic timeframe, not 20 minutes from design to implementation)2
I think it's time to learn a new language. Python is kind of making me depressed.
Some context. I'm a consultant, mostly in Python and DevOps. I work for a big firm, huge really, great company. Not perfect but definitely no real complaints.
I learned Python about 6 years ago and the first 2 years I did a lot of varied things with it, which was enjoyable but now no one is doing anything really amazing with Python. At least that's how I feel. Compared to DevOps? Which is just taking off and getting more and more complex, Python is still well... Python! It's great but it's not really fulfilling me any more. Maybe it's Coronavirus or maybe I'm just done telling myself the same thing over and over.
Python was the first language I ever learned. I added Kotlin and C# to my toolkit but quickly realised I wasn't going to make any MVVM apps any time soon. In the meantime I also had a love-hate relationship with Unity and the entire .NET framework and Net Core. C# is really good though, I just wish I could warm up to it more. Apparently 2 years still isn't enough and Unity is still really fucking intimidating.
That left me with 3 languages under my belt that I all felt pretty sour about. So I moved more towards DevOps. It's like a reflex and I feel like I definitely made it already in this category.
For me personally, programming is like that video game that you love but suck at. Yet some people are just able to pick up a controller/mouse and kick ass. Of course not everyone is born great and some of the best weren't naturally gifted, they were just insanely determined and had a lot of free time.
If Coronavirus has taught me anything. It's that free time is the most important thing in life. I got everything I ever wanted thanks to free time.
So while I still have some left, I think I'm going to learn C++. Yeah I said it. When I look at C++ projects, they look so much fun. They're fast, impressive, reactive and insanely powerful. Every game I play that makes me say "Wow! It's so fluid, so smooth, what the fuck is this written in?" 9/10 it's C++
Games, apps, mobile, heck even web backend is done in C++ when performance is a huge priority. My car's "computer" is written in C++
So I think first I'm going to read a lot about C++. Something I pretty much skipped over doing when I learned Python and much of Kotlin. I'll read and watch a lot of talks from people who know the language well. Have watched it grow etc. I'll try to use everything I learned from the mistakes I made with Python, Kotlin and C#.
Maybe I'm kind of crazy. Maybe I'm just going to make segfaults left and right for months. Maybe I'll constantly compare it to C# and wish it had "garbage collection". Who knows. But I'll give it my best shot.
Honestly if I've learned anything working with programmers/developers and other consultants. It's, if you are confident with C++, nothing else is remotely intimidating.
Except Perl 😂4
Musk's OpenAI beat the top professional Dota2 players in the World. That's pretty impressive. AI has a lot of potential for the future. BTW, any Dota2 players here? My son complains that he ends up on Teams that don't speak English. Dota2 can be modded. Imagine a mod that interfaces with Google Translate and does on the fly translation. Beyond my experience level. Way beyond.3
not sure if this totally classifies as a rant, but here goes:
so my Pi is giving a lot of problems. can't install software, keep getting weird error messages. so I try DD a new image onto the card. does not work at all. tried on three different machines :D
next I try run rm -rf /
it's obviously totally fucked. nothing works. pull the plug and plug it in again to see what happens.... it boots up again :D all the commands are back. no files are gone.
and that's when I was like fuck this and I returned the sd card :D2
Really pissed at how Amazon is just assing off large chunks of money by offering managed services that use open source projects. Have nothing against Amazon but isn't open source supposed to be left open source, they should atleast setup a ratio of giving back to the community which developed the project, that's not a lot to ask for and to give!14
I was asked to add full page takeover announcements to a website, even though there's a perfectly reasonable announcement system already in place.
I objected on religious grounds - doing that would undoubtedly get me sent to developer hell (also knows as COBOL).
But the client wasn't convinced so I made them a demo. I immediately got a message back saying "wow, that's a lot more annoying than I thought, please remove it".
Of course all of this was done in a separate branch, so this blasphemous code would never be in my master commit history.1
Stop commenting out code blocks!
Either fix your shit or delete it.
I am open to argue what fixing may mean, as it is perfectly fine to make your broken code not reachable, e.g. via feature flags or skipping certain tests. Yet never ever should you comment those blocks!
So you say you want to keep it for historic reasons? You know, that is why we use version control! If you ever need certain functionality back, you can restore that state.
Each decent IDE also offers a local history where you can even restore code blocks that weren't even pushed or committed. So use that!
Commenting out test cases is a really bad habit, as you have no reminder that you shall restore it.
And no, a TODO and a FIXME won't count as a reminder as you have to actively look for them. And we all know how well that goes, don't we? (One time, I found a typo of a `TDO`. So even with a regular lookup for TODO, stuff will slip.)
Each test suite offers you ways to skip tests if there are valid reasons why they should not fail the build temporary and they offer colorful feedback. Yes, that means that your tests won't be green, but guess what: That's a feature! They shouldn't be.
That yellow is a fine reminder, aka warning!, that you should really fix your shit.
Commented code screams: "I DON'T KNOW WHAT I WAS DOING!" and it confuses the hell out of other developers ("Was this commented because of debugging purposes and should be active again or can I safely delete this!?") and adds verbose crap to the code base.
If you find yourself to be in a place that you comment code a lot, I also argue that your workflow is broken.
When you are using a decent debugger, there shouldn't that much of a need to comment in and out a lot of code in order to reason about your code-base.4
Just earlier today I was looking at the hosting packages for a local hosting provider in my country (who shall remain unnamed as I want to work there and criticizing them might not be a very good idea right now) and they start at €250/month apparently. I thought - that's fucking ridiculous!
Like for real, I could literally buy a server for.. I dunno, €600 from the likes of bargainhardware.co.uk with some pretty darn good specs, put it in my home, get a business contract with my ISP for say around €100/month (and use it for my own purposes as well instead of my consumer contract, win-win!), and the server would pay for itself in no more than half a year, probably even less! And you're even getting the actual hardware with it!! And that is for the price of that hosting provider's starting option!!!
Now I know what you're thinking, sure there's more to servers than just the server itself, like redundant power, generators, SLA, multiple routers and switches, and all sorts of failover measures. And you are absolutely right. But does that really justify a rental cost of a server of €250/month?
Not only that, even their shared hosting.. shared hosting, the dreaded, shitty shared hosting! solution is starting at around €10/month. I'm paying about €5/month for 3 light-duty servers and a domain for Christ's sake!
So.. is this hosting provider just expensive as fuck or is this really the industry standard, particularly for the dedicated hosting part? And maybe that's why some services like.. say devRant which apparently gets around €600/month from 299 supporters at the time of writing, yet still has @dfox and @trogus pay from their own wallets for it (if at all possible, please let me know if that's still the case).. I wonder if those costs are all really justifiable?
It just strikes me as odd.. you can get *a lot* of server for a couple hundred bucks if you do it well.. no?21
After I took some time off from work, I decided to accept the offer for maintenance of two projects. Those are from two old clients, so I think I will not stress too much, since I know what to expect most of the time.
The issue is, sometimes I have a hard time to keep concentration. In the past, I could work for 3h straight, totally focused, would pause for 20min for stretch, and then come back to work. Now I can only focus for 30min or 1h, and after a pause, it's hard to concentrate again.
There is a lot going on in my life right now, and I know the worry is probably distracting me. I'm trying to listen instrumental music, drinking coffee... But that's not enough. Somebody has any tip?6
>Discovers a new low level profiling tool that could help us at work with stuck process debugging and gets all hyped
>Installs on test machine, tool doesn't work
>Wonders why. Oh. Needs a kernel module to work, compiled and loaded
>"Well, its my test machine... Guess that's no problem..." but... my hype died down a bit. Kernel module installation just for a new tool that aggregates all other commonly used tools? eh... Maybe it will blow me out of my shoes still
>Installs and loads the module
>Tool works. Turns out its just a htop-like tool, with shortcuts to launch specific other profiling tools like strace/ltrace/lsof/netstat/ss etc...
"Oh... That's boring. Maybe it has all those tools built in at least?"
>Tries to run ltrace - tool exits as ltrace is not installed
>Installs ltrace and launches tool again. Tries to ltrace a process and
>Nothing. Nothing happens. For seconds... Then kicks me off of SSH
>Tries to ping machine... silence
Did... our net go down again? (Having issues due to a storm going over our area these few days)
>Pings google and... gets instant reply
>Pings the hypervisor the machine was running on
Works like normal
Oh... Oh no. Please tell me it didn't!
>Logs into the hypervisor UI, checks machine state
>Opens machine console aaaaand... Yep. Stacktrace as well as a lot of kernel mumbo-jumbo... It took the machine down to kernel panic.
I never went so quick from "We need this tool deployed everywhere" to "Omg I need to get rid of this crap as soon as possible" lol.
And just for those wondering, it was sysdig.1
My head hurts.
I have a lot of new shit to learn (previous rant), processes to adopt, and missing requirements to chase. Last time, we spent four hours in a meeting that's gonna happen every two weeks and now I also have to allocate time to teach this other developer. Who the hell taught me when I was new?! Just kidding, such is my life, teaching despite not being taught.
All of these while I'm working on my own tickets then the scrum master asks me to read up the Confluence pages and build the backend for the new version. Nothing that I can't reason with since I'm working on something of higher priority but all of these are lodged into my brain and it's hurting.
Time to write things down, ignore them for a while, and take one step at a time.
Sometimes life just cracks its knuckles and goes like, yeah let's just fuck this guy inside out.
Everyday is a battle. Cockroaches are my worst fear. Like Orwell's Room no. 101 level fear. My tiny student residence room has so many that I'm sick of killing them. And they just keep coming back.
My worst sorrow is lonliness. I'm the kind of person who's fairly independant and level headed but I just love the feeling of having close ones around. So much that it's a part of my existence and identity. And sadly, that's just not there right now.
My worst misery is unproductivity. Not working on something useful always makes me feel guilty. But all the stress and responsibilities and the above mentioned problems leave me with little mental room to do what I like unless I put in a lot of conscious effort into it which drains me.
Despite all this, I stay happy. I smile at the end of the day and I'm fucking proud of it.3
So, just pulled another all-nighter..
On our platform I switched a quite big customer to another stock keeping system to pull them into automatic FEFO handling etc. Just a better stock keeping system overall.. I made it.. *self hi-5*
Evidently the crons caught that change, and CLEARED ALL THE STOCK LEVELS as they're now managed by said system...
Had to pull the counts, locations, expiry dates and lot numbers from the history table and old database fields, add them to an Excel sheet and then add all gathered locations by hand back into the new system, whilst also setting the new settings for them.
39 unique products that were gathered over 190+ sku objects... (Somebody didn't get object oriented, or was trying to KISS themselves, clearly...)
That's 6 hours of extra work for a stupid fuck up.. Oops? (:5
The company did this thing where you have to submit a form asking for your temperature and other information. You have to answer it everyday and my manager said we should answer it before our shift starts so the fuckers would be able to extract all the data. I didn't follow this, of course. The most I'm willing to do is answer it as soon as my shift starts, not before my shift starts because fuck that.
You may say, "Oh well it would only take a few minutes." BUT THAT'S HOW IT ALL BEGINS, DOESN'T IT? Soon you'll be working overtime without even realizing it.
Anyway, the form has a lot of dumbass questions like "Did you travel outside the country in the last 14 days?" There's a travel ban for months now, bitch. Why is this even a question? Then there are the fields for full name, email address, and employee ID. All of this shit and more, you gotta fill up every day. It makes no fucking sense.
How hard is it that when we click the link to this form, we get authenticated since we're already logged in to the company website? If it's too hard, sure, let us login again. I have low expectations. All of the information you ask for every fucking day that we have to submit before the shift starts, you can easily derive from your own database. I highly doubt you're even gonna use any of this.
Nothing makes any fucking sense.2
Today I woke up from this craziest dream.
We were in France and there was a younger Mike Patton (who was french) speaking and apparently teaching french to an African girl.
The next scene he's in the back seat of what's apparently a taxi, and brags about how perfectly he can speak English. Besides that I see him playing the guitar.
In the last moments of the dream, however - and confusingly - the song Rusty Cage by SoundGarden starts playing loudly in the background. And that's when I found Patton is also a hacker.
Thinking about this part of the dream minutes aftger waking up, I found it to be the funniest, though not the craziest thing I ever dreamed.
Whereas I tried for hours to edit the configuration files of a tractor demolition game (some sort of Vigilante 8, but with tractors), he gets angry on a lady for an reason unknown to me, and in his moment of rage, manages to jump her houses' fence, surprisingly to edit her /etc/resolv.conf file - as if it was the most evil deed in the world.
In this final part, with Rusty Cage still playing very loudly, I find out me and my sister where watching this scene on TV (apparently patton was also an actor). After that, I comment to my sister in a grave tone: "Well, this guy is dangerous, maybe she should build a higher fence".
Then I wake up.
Although a crazy dream, it clearly addresses the fact I sometimes try to be a lot of things at the same time, and how this overwhelms me...2
Sometime in the mid to late 1980's my brother and I cut our teeth on a Commodore 64 with Basic. We had the tape drive, 1541 Disk Drives, and the main unit and a lot of C64 centric magazines my dad subscribed to. Each one of the magazines had a snippet of code in a series so that once you had 6 volumes of the magazine, you had a full free game that you got to write by yourself. We decided to write a Hangman game. Since we were the programmers, we already knew all the possible words stored in the wordlist, so it got old quick. One thing that hasn't changed is that my brother had the tenacity and mettle for the intensive logic based parts of the code and I was in it for the colors and graphics. Although we went through some awkward years and many different styles and trends, both of us graduated with computer science degrees at Arkansas State University. Funny thing is, I kept making graphics, CSS, UI, front end, and pretty stuff, and he's still the guy behind the scenes on the heavy lifting and logical stuff. Not that either of us are slacks on the opposite ends of our skilsets, but it's fun to have someone that compliments your work with a deeper understanding. I guess for me it was 2009 when I turned on the full time DEV switch after we published our first website together. It's been through many iterations and is unfortunately a Wordpress site now, but we've been selling BBQ sauce online since 2009 at http://jimquessenberry.com. This wasn't my first website, but it's the first one that's seen moderate success that someone else didn't pay the bill for. I guess you could say that our Commodore 64 Hangman game, and our VBASIC game The Big Giant Head for 386 finally ended up as a polished website for selling our Dad's world class products.1
Fam-"Woah that's pretty awesome! It sounds hard, do you like it?"
Me-"Yeah I think it's a lot of fun!"
Fam-"Good for you :) anyway, our printer stopped working-"
!dev, depressing topic warning
Thanks for the update and for me to get a new one and it was the same as the one I have is a trial run to the store and get some rest and feel better soon and that is why I am asking for a friend to talk to you about your day and I don't know yet if I can get it to me by the end of the day I was in the shower and then I will be able to make it
Do you ever feel there's like no real point to life, like you could die tomorrow, you wouldn't really care?
I feel life is ok, I've got it a lot better then others in my situation at least financially. But in terms of relationships probably not and I don't have much interest in developing any.
And looking at the future, I just don't see it going anywhere or getting any better? I could be easily replaced, forgotten, not doing anything meaningful.... And the only other people that would notice and remember are my parents.
I enjoy doing things but in the long run they make no difference. I can have short term goals like maybe for the next few weeks, months but if someone asks where do I what to be a year from now, what do I want to accomplish, there answer is "I don't know and I don't care"...
And I guess that's the point, each day sorta just feels like whatever...16
Work expands so as to fill the available time. That's Parkinson's Law.
Or in other words: The amount of time that one has to perform a task is the amount of time it will take to complete the task
So, if you have a deadline, wait until the correct time and then start working. This helps a lot in terms of not over-doing things and will save precious man-hours.3
Not a coworker, but at my college there's this 40+ year old dude that's trying to Get Back In the Industry and he's the most dual Condescending/Incompetent person in the entire Computer Science department. I appreciate his wanting to stay relevant, but he stops lectures every few minutes to try and explain something (usually inaccurately) before the professor does, and loudly critizes things that don't matter, and likes to try and give impromptu speeches in the library and talk to people when they're working. I've never met someone so mediocre and self-centered in my life.
Also, he spends a lot of time trying to talk with some of the younger women in the class and it's super Creepy. So there's the tea on that.2
I'm a C++/Obj-C programmer finding it ludicrously hard to switch to Swift.
I find that the constant ability (leading to very poor programmer code) to reduce syntax and add tokens reduces readability and nowhere is this more apparent that with closures.
I'm working through (to my shame) Ray Wenderlich's Swift course and the closure chapter has this:
PS I loathe K&R as much as I do Swift so it's all in Allman formatting for clarity.
let multiply: (Int, Int) -> Int =
(a: Int, b: Int) -> Int in
// do Something else
return a * b
Why oh why isn't this more simply and elegantly written as:
let multiply = (a: Int, b: Int) -> Int
// do Something else
return a * b
The equals sign shows clearly that it's a closure definition assignment, as does the starting 'let'. But this way all of the stupid excesses, like the 'in' keyword, the repetition of the params / return type only this time with useful labels and additional tokens are removed and it looks and reads much more like a regular function and certainly a lot more clearly.
Now I know that with the stupid ability of Swift you can reduce all this down to return $0 * $1, but the point I'm making is that a) that's not as clear and more importantly b) if this closure does something more than just one line of code, then all that complicated stuff - hinted to by the comment '// do Something else' means you can't reduce it to stupid tokens.
So, when you have a clousure that has a lot of stuff going on and you can't reduce it to stupid minimalism, then why isn't is formatted and syntactically better like the suggestion above?
I've mentioned this on the Swift.org (and got banned for criticising Swift) but the suggestions they came up with were 'use type inference' to remove the first set of params / return type and token.
But that still means the param list and return type are NOT on the same line as the declaration and you still need the stupid 'in' keyword!5
If you can't think of anyone else, does it mean that you are the most incompetent one of the lot? Huh, that's a sobering realization!
Just started as an intern as a web developer in a small company. I have about 4 semester of coding experience and was hoping to learn a lot new things. Well it turns out that the main developer who's responsible for building our product has no fucking clue what he's doing. Our biggest document has about 6k lines and it kills my 8 GB ram notebook. Instead of writing one nice function, solving the problem which is occurring frequently, he wrote the same fucking thing multiple times... In the same fucking document. That's just one of many things.
Well now my job is mostly trying to stay cool, while my notebook gets hot af and somehow keeping my code OCD bearable7
I FUCKING GIVE UP!
Yep I'm pissed of :D I spend the last two months waiting like a idiot some business to answer about their job offers (more or less 3 in my area..)
Well I failed the last test of the first one, it was expected I guess. Lot of things happened but let's say I didn't use the approach that they were hoping me to use (you could have tell me you know...).
So... There is even one of the job offer, I called them already twice. Asking when they will call back. Each time it was : this week or the week after. Yeah I think that makes 5/6 weeks since the first time I called now...
But the thing which really piss me of. Is that I was waiting like a idiot, doing mostly nothing. Like if I couldn't focus on my projects before that I get a job... Well I guess when everyone is asking about when you will have a job or a girlfriend, that's not the atmosphere that I love to work with T. T
Oh yeah, no dev related. But I fall in love with a Russian girl (I'm a French guy btw). I completely messed up the relationship though xD well no way that I'm giving up anyway. And that's mostly thanks to her that I just woke up of that shitty period ^^
Sooo I started to gather people from all over the world on LinkedIn. Checking job offers on StackOverflow. And Monday I'll start writing some post on LinkedIn searching for a job in the whole fucking world. I hope there will have a business who wants a junior C++ dev :P Remote probably, I'd like to travel easily (yeah, I probably want to go to Russia a little too xP)
That's all :D I FUCKING GIVE UP ABOUT WAITING DOING NOTHING LIKE A IDIOT!!!9
So I'm looking for advice.
I'm 16 and I'd like to eventually work at some sort of tech startup, probably doing something like web development as that's what I've done the most of. I have been teaching myself and practicing programming for years and have experience with HTML, CSS, JS, NodeJS, Socket.io etc. but don't necessarily have a lot of experience with some necessary frameworks such as ReactJS or AngularJS, so I couldn't really apply for any of the job listings I've seen so far. I currently work in retail so it's possible that I could work somewhere such as an Apple Store.
What's the best next step? Is a university course the right option or should I be trying to find something such as work experience?
If you got to the end, thanks for reading my long winded and badly written post. Looking forward to hearing the advice of some fellow devs.10
when I was 17 (13 years ago) I was doing my A-Levels in computers and we had to build a booking system using excel. that's when I discovered VBA, I learnt a lot and it made the project so much easier to do and with that I wrote my first calendar which was 365 lines of code. one line for each day of the year. it wasn't until I completed the project and going over some of the code it hit me, I turned 365 lines into 4! I was so pleased with myself. one of my best moments of programming.
Coding is a form of art. Some of my coworkers don't understand this and it sucks.
Coding should be an obligatory assignment in all schools. Not because I love it, but because they will.
Coding is a lot like philosophy, it opens up your eyes in so many ways.
That's it folks. Thank you for reading.2
While sorting through my downloads folder, I noticed the file size for the Atom setup program: 138MB. For a text editor, that's pretty ridiculous and makes its name quite ironic.
I have similar disdain for Piskel (pixel graphics editor) and Etcher (USB/SD card image writer). Though these are all useful programs, none of these ought to be anywhere near the sizes they are.
Meanwhile, Notepad++ weighs 3MB which is a lot more reasonable.
Meetings.. Was I not listening? Blame it on the ADHD (Attention Deficit Hyperactivity Disorder).
Maybe society has AEHD (Attention Expected Hyper-Delusion).
Seriously, who can pay attention to someone speaking AT you.
We have amazing magical devices one can enchant to do their bidding; Contemplating the details of such, often, is more enjoyable than what your rambling on about, talking head.
Not sorry, ;).
Also THANK YOU, you amazing MIT's (Manager of Information Technologies). A lot of you understand and even may use your underling employee's as a vented heat sync for your frustrations. I love what you do and thank the universe I don't have to engage myself in those activities. I have sympathy for the decision to give up your jeans and t-shirts for business attire; keep strong, your role is vital. <3
The insomnia is going to have to give me a break. Work in 3 hrs, time for a nap; and no, I don't take ADD medication (Amphetamine). I don't need a prescription; I can procure my own drugs, thank you.
Nor would I do them to get through work, that's drug abuse.5
I would like to have more time to work on the old, lonely, dust gathering site I started to build. There was a lot of new skills I wanted to test and train. But my personal life is getting stressful in the last time. Wife broke her leg and my son started in kindergarten.
I'm starting a new job in Dec, so I quit my current job. I had to reduce my work hours to collect my son from kindergarten. Sounds like I have much time now? Nope, there somehow is few time for programming. I enjoy bouldering (thats where the leg thing happend 🙄) and that's where even more of my time goes.
I see my project become ugly in the meantime, because there are even more new things I read about and would like to use...
A client decided to give a refresh to his website. So he said he wanted me to take care of it. Curious because he has an IT guy full-time just for the website.
When I offered the hosting service too the IT guy got crazy, he started making a lot of questions like why should I take full control of the website. I replied that's optional, I can just deploy the website in the current server.
The client said, yes I want you to take care of everything.
IT guy again making questions about what database I'm planning to use, what framework, what version, bla bla bla.
At this point I said to my self: Well, maybe this guy made an awesome job. Probably he used a framework that I don't know. The database must be neat and tidy.
So, I go an check the current website... WordPress... Are you freaking kidding me? The IT guy getting crazy for a premium WP template? Why is he full-time anyway? Why is the client looking for someone else?1
So, it looks like I'll be hitting age 30 when I finish college, and my heart is torn in two places. On the one hand, a part of me wants to say fuck it and look for a job outside the US, maybe take up a second language. I have the spare time to work at it a couple of hours per day while in school and working on my capstone projects.
But, there's another part of me that says just stay in the homeland and just find a job somewhere in America. This is a huge country with a lot of options for backend/frontend/fullstack development. But I've been doing the same thing and seeing the same sights forever and I'd like something new. But I'm still relatively young and ignorant of countries outside the US. I could end up in more hot water then I bargained for leaving.
I don't know, and that's in a way okay. All I know is I want something different from my status quo. Something that justifies all the education I had to go through.11
I'm writing all the dev things I know in a docs site as a means to be hireable should I need to switch jobs.
I'm not gonna go too deep on how I'm doing it. One style I'm enjoying is making every article take only one page long, and if they take longer, maybe consider breaking it into another article.
Fuck long articles. Yes, that's a bit autistic.
But I will describe the challenges I'm finding (which are quite many) in further detail.
One of them is that words can be ambiguous. Production can mean the production environment but it can also mean production in plain english.
And there are tons of cases like this.
Because of this, I felt a lot of confusion in my beginner days. So it my objective to write this as to prevent as much confusion as possible.
Granted, I don't want to write "development for dummies". Software is complex. But because it's complex on its own, I don't want to add complexity to the learning process through obscure language usage.
"Fine", I say, "I'll disambiguate". But this means I find myself branching out very often into fundamental or commonly used software terms like "framework", "model", "scaffold", "algorithm", "viewport", "breakpoint", etc.
Another challenge is reaching good levels of completitude.
This means I have to explain that obscure CLI flag I never used in my life.
If I don't do this, then what makes my docs different than these superficial dev.to or medium posts? Nothing.
But trying to explain EVERYTHING about a software can generate a lot of frustration: I never finish.
It also makes me wonder "do I even know shit?". I think some amount of insecurity is healthy and pushes myself forward.
But at some point it's kind of making me feel like shit. Maybe I just need to keep learning.1
Have you ever declined a job offer?
I had an interview a couple weeks ago, got an offer, but I had to decline because the salary was too low.
It would have been my first full time job (after several internships).
I'm not completely sure if I made the right choice. The team was really small, and it felt like I would have had to handle too much other than the responsibilities of my role.
And I have another interview tomorrow. I hope it goes well.
Meanwhile, I'm working as a developer consultant for a client. I'm learning a lot doing that, so that's going well. :)8
1) Learning little to nothing useful in formal post-secondary and wasting tons of time and money just to have pain and suffering.
"Let's talk about hardware disc sectors divisions in the database course, rather than most of you might find useful for industry."
"Lemme grade based on regurgitating my exact definitions of things, later I'll talk about historical failed network protocols, that have little to no relevance/importance because they fucking lost and we don't use them. Practical networking information? Nah."
"Back in the day we used to put a cup of water on top of our desktops, and if it started to shake a lot that's how you'd know your operating system was working real hard and 'thrashing' "
"Is like differentiation but is like cat looking at crystal ball"
"Not all husbands beat their wives, but statistically...." (this one was confusing and awkward to the point that the memory is mostly dropped)
Streams & lambdas in java, were a few slides in a powerpoint & not really tested. Turns out industry loves 'em.
2) Landed my first student job and get shoved on an old legacy project nobody wants to touch. Am isolated and not being taught or helped much, do poorly. Boss gets pissed at me and is unpleasant to work with and get help from. Gets to the point where I start to wonder if he starts to try and create a show of how much of a nuisance I am. He meddle with some logo I'm fixing, getting fussy about individual pixels and shades, and makes a big deal of knowing how to use GIMP and how he's sitting with me micromanaging. Monthly one on one's were uncomfortable and had him metaphorically jerking off about his lifestory career wise.
But I think I learned in code monkey industry, you gotta be capable of learning and making things happen with effectively no help at all. It's hard as fuck though.
3) Everytime I meet an asshole who knows more and accomplish than I do (that's a lot of people) with higher TC than me (also a lot of people). I despair as I realize I might sound like that without realizing it.
4) Everytime I encounter one of my glaring gaps in my knowledge and I'm ashamed of the fact I have plenty of them. Cargo cult programming.
5) I can't do leetcode hards. Sometimes I suck at white board questions I haven't seen anything like before and anything similar to them before.
6) I also suck at some of the trivia questions in interviews. (Gosh I think I'd look that up in a search engine)
7) Mentorship is nigh non-existent. Gosh I'd love to be taught stuff so I'd know how to make technical design/architecture decisions and knowing tradeoffs between tech stack. So I can go beyond being a codemonkey.
8) Gave up and took an ok job outside of America rather than continuing to grind then try to interview into a high tier American company. Doubtful I'd ever manage to break in now, and TC would be sweet but am unsure if the rest would work out.
9) Assholes and trolls on stackoverflow, it's quite hard to ask questions sometimes it feels and now get closed, marked as dupe, or downvoted without explanation.3
I'm too young to have taken my last job...
Enough with the jokes. I have been networking with a lot of people through the years of working at companies and that paid off.
When people trust you for your knowledge, then it's normal to attract business offers. Also, you can partner up with people. That's how my last job started and is still going. At a previous company, I interviewed a guy who had the skills and motive to replace me, but he didn't get the job cause my boss was stupid (he was lucky not to work there, for real).
After I left, he called me to offer me a partnership. One year later and we are killing it, became good friends too.
I already wrote this story in the comments to some other rant, still it's pretty funny.
So, i was modding my wii u by messing with system files, the only way to do this is to run an homebrew that hosts an ftp server so you can connect with your pc, the thing is, this server was not protected and allowed anonymous login, not an issue if you have a firewall.
BUT i had this console in the DMZ on the router for online play.
~You can see where this is going~
While doing stuff from my pc i started seeing a lot of entries on the console's log and i didn't understand why, i thought filezilla was doing some shit so i closed it but the log was still going, then i realized and quickly shut the server down.
Then i disabled the DMZ and went back to check what happened (unfortunately the log was only shown on screen and not saved, by closing the server i lost it) so looks like the attacker uploaded a lot of files with random names in pretty much every folder.
Due to the random names, I don't know which are system files and which attacker's files so i just kept them there. And today they should still be there.
What if the attacker also stole some files, he was hoping to get photos or valuable documents, but just got the console's system files and he thought something along the lines of "wtf is even this".
Also, how likely is that an ip scanner script gets to my ip in the 5 minutes i run the server, and (on the attacker side) how likely is to hack a server just to find out that's a wii u (the least successful console in the last generation)...
Moral of the story: double check your firewall if you are going to run an unprotected server.
That's it, stay safe :P2
This week was one of those weeks were it feels like it's never ending
Monday, delayed trains and the legacy project's new update went live
Tuesday, not a lot of work so I did some self study (best day of the week)
Wednesday, again train delay, and some funny little sh*t ripped the valve from my bike... I mean sure if you let the air out, haha little fun but completely removing the valve? That's just f'n low...
Thursday, the legacy project had a weird bug that I can't reproduce but has to be fixed before the end of this week...
Friday... To be continued... I hope it will be a quiet quick and easy day... 😟3
Today I read a comment on devRant about somebody asking what 1337 means. I think most of us know (almost trivial, maybe?), but what is really great is that so many people replied explaining what it means. Some replies were awesome, some were creative, some were just a basic answer to the question.
But none were hateful. ❤️
DevRant is a place for awesome people like you who understand that every one of us doesn't know something every day. That's developer life. That's devRant life too! The other day I told a senior developer about a Haskell project of mine and he asked: 'What is Haskell?' I was impressed, but it taught me a lot.
On devRant I see no troll comments like 'omfg fucking retard, you must be a faggot and live in a dumpster', which are common on the www nowadays and could have been found under a question like 'what is 1337?'. But not here. And this, while I see the occasional swearing in rants, but never at other members.
So thank you for just being normal people among other normal people. We swear at each other's fugly code sometimes, but we are a creative bunch of smart asses that stay classy at it.
I've noticed that lately I've not been putting a lot of effort in making my code clean, and in learning new stuff, too. If it works, that's enough for me. I just made some endpoints in node and it's the biggest callback hell you'll ever see, but I don't fucking care, tbh. Is it time for me to change my work field? Have you ever felt this way?3
Tl;Dr: Client has no idea how much development costs
(Un)potential client has been asking to develop an AV solution for Android phones to sell on the play store. Problem is I know they're cheap fucks and won't pay for a proper development cycle. Just for an exercise I put together the minimum cost they are looking at if they cut back on a lot of things and purchase lots of things off the shelf and gave them a bare minimum cost of £4350. Which is utterly fucking ridiculous to think you could develop something even half decent for that. I mean we all know that AV is a bit of a joke for any serious threat, it just protects from the billions of pests in cyberspace, but I mean come on.
Anyway, they are freaking out because apparently that's a lot. Out of interest, what would be your ballpark figures for this.9
This week I'm all sorts of determined. It great.
I'm 18. Lived in a commune cult style campus religious place. Homeschooled and never finished highschool.
Just about all of my programming experience is self taught. Currently working as a full stack web developer for the place I'm living at.
I got a hand me down car and got my permit. I'm studying for my GED.
I want to build my portfolio and get an job. A degree is a cool idea but that's a lot of money I don't have.
I'm tired of passively living my life to other people whims. I sound really naive but fuck it.6
Week 1 Day 5 - Week 2 Day 5
"It does not matter how slowly you go as long as you do not stop" - Confucius
He had a lot of great quotes but I think that's one every dev who's ever worked on a personal project can get behind. It's been about a week since my last rant so I've got a lot to cover, I got a little busy so my progress has been lacking but I have two days off coming up and I plan on making all my meals ahead of time and turning my phone off to limit distractions.
So far I've worked my way through the first lesion on layouts and getting/editing views by the id. This seems pretty basic once you get comfortable with the topic. I'd like to think this will become second nature once I start to get into the guts of the course. The second lesson started working with internet connectivity and I've just started working through it. A lot doesn't make sense but at the start of the lesson one nothing made sense so I assume it'll all wrap up nicely.
I wanted to publish this two days ago (January 23) but I closed my laptop and forgot all about the rant so now it's two days later and I've made some progress, things are getting easier to understand and I'm liking it. I've also decided to start making something I've always wanted to while I work on android development. I'm going to start making an RPG I've been working on since my sophomore year of high school. I haven't written any code for my game yet but I've got the world development and story air tight. So as an ending statement, I'd like to ask anyone on devRant with game making experience how I should go about structuring my project, and some of the things that aren't going to be easy to find with google searches. I plan on, to the dismay of many other game dev's I've talked to, write it in Java because it's familiar to me and I would probably make a worse game in C++ even though that is the go to language. I'd also like to thank some of you repeat readers for silently encouraging me to keep going just by ++ing my rants every time, JoshBent and Dfox. It's been really nice seeing names pop up every single time.2
I remember that my granddad and I built a computer with old crappy hardware that we disassembled from other computers.
I mostly used it for playing games like Age of Empires or Rollercoaster Tycoon.
I really don't remember a lot about but I remember I also had internet. Never got any Malware tho haha.
Then sometime my friend came over and he showed me a website named "Scratch". We made a lot of crappy games and a cat that farts when you press a button.
So yeah I instantly fell in love and did a lot of "Scratch"-ing with my brother.
That's was the time I found my love for programming.
I think about 2 years later I got a MacBook (the old from my father) and finally started with real programming!
Now, after 6 years I have an awesome little ZenBook and am programming everyday.
This happened about 2 years ago. My colleague at work, who's a kind and smart soul was actually yelling at the phone. Before that nobody had heard her yell at anyone, let alone a client.
The history was that she found out that the client sent her falsified official documents and she confronted him about that, so the idiot client started laughing then yelling that she had to be 'on his side' since he hired us as consultants. That's when she started yelling.
How can anyone be so cynical?
This is also our job to save your moron ass from your own stupidity.
If she didn't found out and the documents sent to the government there would be a lot of trouble for everyone especially the client.
After that we all comforted her and told her she did right. Unfortunately the client wasn't fired (a friend of the boss) but of course we all declined to work with that client again.1
What would be the best "hot"/upcoming languages for a final year college project?
The project will focus on reverse engineering.
Basic Example: Intercepting signals from products such as a toy helicopters/drones/etc, reverse engineer the signals and try gain control of the device from that.
That's just a very basic function and there will be much more to it, but I'm struggling to decide on a language to pursue hand-in-hand with this project!
I hear Rust, Go, Julia and co being tossed around a lot.
Any suggestions would be helpful!
I'm fed up with my work. I am the only dev so I have to manage everything, from negotiating integration protocols to design and implementation. The field is rather exotic and I don't have much room to grow and develop my skillset. I earn literally 1/4 of what my peers make in other companies doing more interesting things...
But then again my boss (the company is real small) helped me a lot during some difficult times and I don't want to pull the rug from under him. So I'm trying to get things organized and done as much as possible so as to leave everything good for my successor, but that's hard since im the only dev and i have to do everything...
Kinda vicious cycle...4
As the head of the Web Operations team of my college, I managed to compose quite a convincing pitch on college mail, as a call for interns for the team during the summer. The basic idea I explained to people was that even if you aren't a pro, you can still try and apply: you have one week to impress me with your CSS/JS/PHP skills(Really basic stuff in the problem statement; I didn't even make all of it compulsory), and encouraged them to start from scratch, cuz that's how I made it last year.
Last year they had around 30 responses in 7 days - I got 42 responses in 7 hours itself. I could shut down the portal cuz of far more than enough responses, but where's the fun in that. ;)
I'm not a good programmer, I'll admit, but I certainly benefitted in this field of being the head of the web ops team with knowledge and experience my non coding friends keep sharing with me. Not having a lot of code buddies didn't turn out to be so bad.
It's not much of an achievement, geez, there's literally everything left to be done for a whole year, but well, good start!
We had this social network in Norway, called Nettby (similar to MySpace). Where you could write HTML code on your profile page, and add css of you had a premium membership. That's how my interest for web started. i had no idea what I was doing.
Then I made a website for a LAN-party for my hometown, with booking seats and payment, and the works.
Made my first commercial website a year later, I was 12 at the time. 6000 NOK (underpaid, but for a 12y/o it was a lot of candy)
Fast forward to highschool, teachers say computers are a waste of time, and I'll never be successful in life with that.
Turned 20 a few months back, I run my own corporation, and work at mid-Norway's largest production company (web, 3d, video, graphics)
How did your quest into the dev world look like? That's mine:
First time: Age 12, was in a C++ evening class for like 2 weeks, I undetstood nothing.
Second time: Age 16-18
Fiddled with scripts for steam games and jailbroken my iPhone while fiddling with aystem configs. Nothing major.
Third time: Age 19, learned Python in a Cybersecurity course. Failed miserably because the tutors were shit, thought I hated programming.
Fourth time: Age 21, developed a lot of scripts in my sysadmin job, one of them needed a GUI so I leanred C# and WPF. Enjoyed it so much I eventually enrolled in a Java 10 month course.
I still work as a sysadmin though.3
I have a lot of fun during crunch time.
It's like running a marathon. It is both physically and mentally taxing, and I get a rush out of seeing how hard I can push myself.
But like a marathon, it suuuuucks if you are not prepared, or you otherwise didn't want to do that.
You hear that bosses?
Crunch is like running a marathon. That thing that people, who prepare for years to do, still causes them to piss and shit themselves while their nipples bleed. And that's when they are fully prepared. That is what you are asking your team to do without any notice ahead of time.
"Ok Derrick, I know you wanted to visit your family in the country this weekend. But we need you to run uphill, fuled only by diet dr pepper and fear of loosing your job, untill you pass out and need an I.V. to keep you from stroking out. '
Otherwise a lot of fun.
I always hear stories about someone hearing one of our developer friends is a developer and assumes that means they know everything about computers. Hell, I've had it happen to me before (usually the common "oh I have an app idea that's better than facebook! you just have to build it")
A big one I hear if someone asking a developer that has only worked with software to help fix a hardware issue or build a computer. Personally, I'd prefer if someone asked me about a hardware issue (except printers, fuck printers) or to build a computer for them. I've been called a rare breed for knowing about an equal amount about computer hardware and software.
I'd much rather do some physical work building a computer (as simple as a hello world program, a lot of it is putting shit where it fits) than build an entire website or program for someone. But I mean, I might actually know hardware a bit better than I know software, and that's just me. (Obviously never do anything for free when you could be paid for it)
Father bought a computer for the family in 2011. A HCl Dual Core Pentium 4 machine with 21" TFT screen. I was allowed to use it only under someone's presence for at-most 20 minutes each day for the next 6-9 months.
After that we got a network card (plug-and-play internet dongle) for the internet services. That's when I entered the world of internet and made a Facebook account. I was 12 then ¯\_(ツ)_/¯.
After two years or so, we're playing games on it, watching movies and using MS Word for school related stuff. Then my brother entered college, and used it for stuff like coding and image processing on Matlab, while I watched him doing so and getting yelled at for doing what I liked to do, at the same time.
After 5 years or so, I got a personal laptop with decent configuration for college work. The old computer still worked like charm.
Now, the old monk is at rest with old memories, unknown files and lot of bollywood songs.1
"Boss, we have a problem!"
"Don't say that, we call it -opportunity-"
"Boss, we have a lot of opportunities, the server is down."
"Ow..that's a problem"2
So yesterday i upgraded the packages on my pi, docker being one of them. After that all my containers were down and couldn't be restarted. The error message said the container was already started...
Using the internet i found out other people had that problem too after upgrading to docker 18.02. I ended up removing all containers and searching the bash-history for the docker-run-commands to create new containers.
DOCKER, LISTEN UP. YOU'RE COOL AND SAVED ME A LOT OF TIME. YOU HAVE MINOR ISSUES, BUT THAT'S OK. BUT IF YOU CRASH MY CONTAINERS ONCE MORE I'LL GO CAPTAIN AHAB ON YOU.
Oh, and some more armhf-containers would be nice. WHY CAN I ONLY RUN DOCKER-REGISTRY ON AMD64-ARCHITECTURE?
We have this guy at the company who always presents good ideas and always suggests new projects. One day he suggested a great project, our boss really liked the idea and gave me the green light to start creating it.
The guy, seeing the opportunity to promote himself, and without consulting me about the deadline, set up a meeting to present the application to the directors, and only then informed me about the deadline. At that moment I did my part, told him that it would not be possible to meet the deadline with all the requirements, something had to be withdrawn, and that's what he did, took a lot of things from the project and we went on like this.
While I was implementing the application, he was always pushing, asking me to do it faster, asking my boss to put me exclusively in his project, and things like that, the boss was always saying that there were not enough people on the team to devote someone exclusively to the project. The guy of course did not agree with that.
At the end the application, without a lot of the initial requirements, was a really mess but ready, he presented to the directors, who in turn liked a lot, and consequently asked to do all the initial requirements and some more. But now those initial requirements had to be made on top of a mess because of all the rush and adaptations.
A few months later, with the change of the board, the guy turned up being my boss, and I've prepared myself to go back to his project with exclusive dedication.
Then came the surprise, when the guy, in the boss position, realized the limitations of the team, instead of putting me to do everything he wanted in that project, he canceled the project entirely and for all the reasons that had already been said to him by the former boss.
Please, don't be like that guy!2
I just wanted to delete and copy some files :(
...well, a lot of files, but that's besides the point
(Excuse the pic, but as you can see...)3
Sorry for not being active these last couple of weeks... That behavior data app was quite a lot of work in a very tight deadline (two weeks) at one moment my setup was getting out of hand (posted in comments)
But that's finally done, onwards to the next overly tight scheduled deadline!... Yaaaay... ☹️1
I've seen a lot of stuff mentioned here from little hobby projects to Matrix. This might seem unreachable because it's just too utopic, but I'd really love to at least see the world using one single platform for software that would "just work™".
Like, here you have - simple glue lang, SDK with billion _useful_ libraries that also just work™ and no need to change the code too much or select an alternative function for each different platform e.g. via macros and one last wish - it'll work on every machine that's capable of running any code.
Maybe one day...2
Fuck!! I can't sleep because two of my coworkers took vacation and my boss told me this afternoon that he want me to do their tasks AND create a hole new project for the public administration. That's a lot of work!!
I have two weeks but, holy shit!!8
The taboo of not finishing.
(As I prefaced to many posts I made, don't take this too seriously)
It is very normal in the programming world to get recommended to finish projects.
But I was wondering "what if you don't?".
Of course, we can agree that having little patience or persistence is not good for any endeavor.
But what if this recurrent focus on finishing is also bad?
Granted, I have started dozens of things and only finished one or two of them and none have become popular.
So there's not a lot of support to back my take.
But I definitely learned a lot from these projects. And I definitely had a lot of fun at some points.
In fact, I think if I had switched more often early on I would have been less miserable, and maybe I would have learned more by the virtue of not getting stuck with some project.
Of course this applies as long as you stay within the same field; it doesn't help learning gardening one day but karate the following.
But even then, there are so many hobbies in life that the chance of finding the one that you love and are the best at are very slim. So switching out of the least pleasant ones might bring you to a favorite one.
But, let's go back to programming.
Here, people recommend finishing things as means to become profitable. If you want to live as a gamedev, then you need to sell games, and to do that, you need to finish games.
That is understandable.
But if gamedev isn't your main profit, why is finishing games a requirement?
What's the point of publishing a game that you know looks like shit?
Why? Why should you put time and energy, pain and stress, all the way through the end only to finish or even publish a game that you can feel ashamed of how awful it looks? (because most 1st games look awful).
Why would you ever want to finish something that looks horrible?
First tries are always terrible, and that's fine, nothing wrong with that.
What's wrong is this sheepthought that you should publish to the public every turd that you can produce in your early learning stages.
I've been a programmer for almost 8 years now. I'm not the best out there, but I consider myself ok.
And considering I had some pretty deep depression pits thanks to this mentality, here's my advice to folk having stress with unfinished projects: don't give a single fuck.
If a side project has become stressful, shelf that shit, maybe tell someone about your issues with it. But don't care much about it.
In fact, if you manage to finish a project but it has costed you a great deal of stress, maybe that should be the shameful thing.
Life is too short to waste it considering suicide because you're not a prolific programmer.
And i would argue that iterating 100 times on different things is far more productive (and fun) than fetting stuck or spending shitloads of time on the first one, even if you don't finish any of them.3
So today my internship started and I'm to install virtual box and vagrant ok that's simple😊 now it's what comes after that's got me shitting myself laravel/homestead 😟 never heard of it 😨 themosis never heard of it and what the fuck is stylus... I got a lot of catching up to do3
Managing a small team - poorly.
I was in charge of testing a legacy calculations engine together with two scientists, for whom I set up a python and interop environment so they could test the engine easily.
The two were very excited at the thought of validating the calculations and in fact found many bugs.
I was very supportive, told them to fix the bugs and gave them a pet on the back.
All three of us were happy the legacy engine is shaping up, that's until my boss heard of it, and boy did he grill me hard for it.
Turns out our efforts were highly unappreciated by the client, whose only request was that we test the engine and report the bugs. Not to fix them. My goodwill cost the company a lot of money, since the client paid by the hour, and was now due a refund. Crap.
It took me a year to finally understood the moral of the story. Which is to always respect the client's wishes and convey maximum transparency to him.
I recently joined freelancer.com community hoping to find work based on my skills. It is freaking hard to find jobs here. Most of the recruiters are dishonest pricks.
The place is filled with accounts of tech firms who create a lot of competition for independent freelancers.
Right now I am submitting entries to contests instead of taking up jobs. I hope that's a better way to get things rolling.1
I started Aeronautical Engeneering (yes I know, but I love Aviation). In second semester I saw Basic Programming, and then I realized that I had an ability in programming (comparing to my other fellows).
In third semester I was in "Static" class (vectors and a lot of physics) and I thought: "WTF am doing here, I don't know what can I do with a vector in real life." So I decided to switch to Systems Engeneering in other university (I think it had been always in my blood haha).
I saw one semester and this happened: I loved the career, but the university had an old-educational method that i hated. So i moved to another university, and I'm currently finishing at distance.
I'm just tired of university. I realized that the university is about 30%. The other 70% is experience (and of course a little from Stack Overflow hahaha).
Now, thanks to a lot of Google research and experience in various self projects, I'm here in Brazil working as a Web Developer.
I've learned 1000% more here than in the university.
And that's my short-four-years-story7
Need some advice again. I'm a junior backend developer or that's at least what I try to call myself.
For the first year at this company I did a lot of backend which I love and really enjoy, eventually they let me do devops and migrations. Okay, but not really what I wanted.
And fucking today I heard they wanted me on support mostly, isolated from the rest into another room with the (dumb) zero experience trainee.
I honestly don't know what to say? Should I refuse? I do have some power because they accepted 3 other projects which require my expertise with migrations. Like why don't they use me were I'm good at, backend?2
WARNING - a lot of text.
I am open for questions and discussions :)
I am not an education program specialist and I can't decide what's best for everyone. It is hard process of managing the prigram which is going through a lot of instances.
Speaking about schools: regular schools does not prepare computer scientists. I have a lot of thoughts abouth whether we need or do NOT need such amount of knowledge in some subjects, but that's completely different story. Back to cs.
The main problem is that IT sphere evolves exceedingly fast (compared to others) and education system adaptation is honestly too slow.
SC studies in schools needs to be reformed almost every year to accept updates and corrections, but education system in most countries does not support that, thats the main problem. In basic course, which is for everyone I'd suggest to tell about brief computer usage, like office, OS basics, etc. But not only MS stuff... Linux is no more that nerdy stuff from 90', it's evolved and ready to use OS for everyone. So basic OS tour, like wtf is MAC, Linux (you can show Ubuntu/Mint, etc - the easy stuff) would be great... Also, show students cloud technologies. Like, you have an option to do *that* in your browser! And, yeah, classy stuff like what's USB and what's MB/GB and other basic stuff.. not digging into it for 6 months, but just brief overview wuth some useful info... Everyone had seen a PC by the time they are studying cs anyway.. and somewhere at the end we can introduce programming, what you can do with it and maybe hello world in whatever language, but no more.. 'cause it's still class for everyone, no need to explain stars there.
For last years, where shit's getting serious, like where you can choose: study cs or not - there we can teach programming. In my country it's 2 years. It's possible to cover OOP principles of +/- modern language (Java or C++ is not bad too, maybe even GO, whatever, that's not me who will decide it. Point that it's not from 70') + VCS + sime real world app like simplified, but still functional bookstore managing app.
That's about schools.
Speaking about universities - logic isbthe same. It needs to be modern and accept corrections and updates every year. And now it depends on what you're studying there. Are you going to have software engineering diploma or business system analyst...
Generally speaking, for developers - we need more real world scenarios and I guess, some technologies and frameworks. Ofc, theory too, but not that stuff from 1980. Come-on, nowadays nobody specifies 1 functional requirement in several pages and, generally, nobody is writing that specification for 2 years. Product becomes obsolete and it's haven't even started yet.
Everything changes, whether it is how we write specification documents, or literally anything else in IT.
Once more, morale: update CS program yearly, goddammit
How to do it - it's the whole another topic.
Thank you for reading.2
I feel so lost all the time Everytime I think about the future. How are you all going forward?
- What should i be doing ? I used to like computer science when it was taught with lots of simplification and abstraction (in the school level). Now i know there are a 100+ research areas/work areas/branches in it, and i am an average in all of them.
I like most of them more or less, and won't mind giving away my years of life working/learning them. But for what and why?
-- Money? Every profile turns into a decent salary after a certain time. This means i can ride any boat i want.
-- Passion/interest? Now what exactly is this?as i said everything feels doable, given enough time to get a hang of it.
-- Fame? Its rare the developes, testers or other individuals in computer science ever gets a solo credit. Most of the time its either the ceos, the researchers or the company itself. So i guess getting a fame is equal to burning your neighbors by flaunting your cash for most ppl
-- Happy life? Meh, this point is affected by a lot of other factors. Would come back to this point later
- everyday in my feed, there are people showing 6, 7 sometimes even 8 figure salaries. Other people would get inspired with those, but i feel very weird about these.
I never see myself earning those, idk why. Why would someone give me those huge amounts?
How do you find yourself deserving for ythat big ass money? At what point you hit that realisation? Here is a small story :
I did an Android dev course around 2.5 years ago. There was a guy there an year older than me. He was very bad in this, i tell you. Most of the time, i was explaining the concepts to him after class.so last year he graduated, and took a job, We both used to expect a decent salary amount, say x (with me having a little ego that i expect certainly more than him, say x+20% ), but he took a job for half that number , say x/2.
After 1 increment and 1 job shift in 1.5 years, he has now successfully achieved package greater than x. I on the other hand, being still at college and with a lot of bad internship experiences now feel that i won't be getting even x/3 at my start no matter what.
- There is also this thing about people going into more of a management and other non tech roles once they start growing in this field. Why? What did they realized? I am sure not everyone of them would have hit this realization that tech is not what they want to do (which i can't understand why). Maybe its the money and/or happy life expectations?
i have started to feel dumb for not being able to think innovative new ideas and being an average mind :/
And about the happy life, so far its not much happiness for me, and am confused.
I am grateful about the usual things i have (healthy middle class parents, working body, roof , food,etc) , unhappy about the things i don't and see with others (more money, materialistic assets, confidence, siblings, social life, love life, etc) and that's it.
From what i understood of 21 years on this earth is that everyone is running to achieve that list of their desires and wants to move them from todo to done, like trello task. If you can't then keep fighting to achieve or grudgingly accept the fact that you couldn't and be happy about it.
So is that it? That's your happy life goals?2
I've been working in web development and design since 2012 and, while I've worked with others in my field along the way, I've not forged any lasting friendships... maybe I'm just a shitty person? I've burned some bridges that's for sure. Anyway, it all boils down to: I have no one to bitch to when I want to stab someone in the abdomen over frustrations at my current job.
I'm coming up on the year anniversary at my new position and there is still a lot to take in. I replaced a "web guy" who had been doing it for 20 years. Anyway, his stuff is all a mess, and what's worse is that the problems I'm seeing stretch far beyond my own responsibilities. I'm in a group of "tech" people who have all been here for a decade or more, and they're almost all like the guy I replaced: set in their ways and years out of date.
There is one gentlemen who is managing a database application and each site links to his ASP (not .NET) pages. Each of these pages looks like the website they were linked from. He showed me how he achieves this and it's just insane - he uses a bunch of files (basically just text files) that make up different pieces of the page to recreate the look/feel of the website on this his server - just to serve the information from the database. God forbid the website changes 'cause then all his little files need to change.
When I suggested that I can just query the database myself and display all that information on the actual site instead of doing all these redundant steps, I get "I think we should stick with the way we've been doing it for now."
*stab stab stab*4
Hm... so my screen time makes me happy and so does building apps that do work for me.
And when the weather is nice, I go out...
So even though I have a lot of screen time, I am good right?
P.S that's an app I wrote that gets me the transcript since reading is faster than watching a talk (I now watch only if I want to see the slides/pictures).2
I was sitting down at my desk today, pissed due to some more lack of coffee, and wondering about my future.
It came upon me that I absolutely despise what I am currently doing (job wise). There is a part of me that tells me that things are going to be alright, but that is just some nonsense that my mind makes up to rationalise how terrible it actually is here at this company.
I think that perhaps my abhor for my current position is a little more directed to the people and company that I work for, but I am really just fed up.
I have found quite a liking in terms of web-design. The clients and the work is a lot less stressful than what I am doing now - and I actually enjoy what I am doing. It is nice to see something come to fruition.
Perhaps that's the way to go? God decisions are fucking risky.1
Well here I go my first rant.
A little bit of background:
So I started working my first job a little over a month ago. found devrant about a week in. I was lucky that at a very young age I found programming and liked it (about 6 or 7). I went to college just to get a degree (bachelors of game development).
The job that was a "Great" opportunity that would be bad to let slip by (not a game dev job sadly). Well during the interview they asked me simple thing like what programming languages I know and some simple stuff like that, they never did ask me to demonstrate my knowledge though. Then they went to the weirder questions.
Do you know SQL? yeah at a very base level.
Do you know Excel? I mean I used is a bit, but not very much.
A few of the questions felt a little out of place for the field, But it was the only "programming job" that would hire an experienced junior developer, so I took it. Guess I should have asked more questions.
Now I'm here at a job to help replace someone who is retiring. He wasn't a programmer really, but he wrote some code out of necessity well his platform of choice was VBA in Excel. Oh, and that's not the best part, he also dealt with mistakes that happen in the lab (electronics shit). So when ever there is a fuck up I have to go figure out how to search a poorly designed database (that is constantly changing), and today is the day he leaves, so no more help after today. My biggest fear currently is that I wont be able to fill a request that someone makes and I'll be the reason the company is losing money. And with all the stress/burn out that's building up I haven't been working on personal projects, which being my main source of entertainment might be making me depressed. Even when I do work up the effort to work on my projects I don't get very much entertainment. (If anyone has a suggestion for this that would be helpful.)
TIL: Even if the job is a great opportunity don't stop searching and ask a lot of questions.2
Seeing a lot of hate against PHP here. It used to be a shitty language with no decent frameworks, update yourselves please, it's getting embarrassing for you. WordPress, laravel, Zend. That's 60% of the web. We run this shit.7
Since I see a lot of mixed opinions all over the place; is Python considered to be a "douche bag" language? :S
It just makes me feel self-conscious since that's the language I'm by far most familiar with... :( Should I consider focusing on another language instead?9
Finally I have something decent for my résumé.
I was going through some LaTeX hell before someone started a cv tools discussion. It was good to learn that json cv is a thing. But it was too late for me. LaTeX posed a challenge and I was bored. It became personal.
After a lot of kicking around and landing on XeLaTeX, I finally have a decent layout. I had to compromise a tiny bit but that's on me for having little content.
(I wanted a graphic résumé but I'll need to do more to sufficiently fill a page. Besides I'd need to design icons and shit for it.)
Now it's done and my job hunt can start!3
can you recommend a graph database? I already tried orientdb but was really disappointed. The performance was quite good but I stumbled across a lot of bugs during my tests (even managed to corrupt the database during normal operation). So I am looking for a graph database that's a little bit more mature. I heard a lot of great things about neo4j..but I am not 100% comfortable with the license costs. Are there any alternatives?6
It's been 3 days since I started my dev job and it's been pretty stressful. I could have posted at least 3, maybe 4 rants each day. Mainly about trivial bullshit that I let get to me.
Lets just say it came to a head today and that's when one of my bosses, who doesn't even really need to know who I am, decided to help me out. No reason why, just being kind.
I get home to find my other half had been making my lunch for me for tomorrow and had made dinner for me as a surprise. Didn't ask her to do it, she just did it out of the kindness of her heart.
It just made me realise that I'm actually surrounded by great people who I value a lot and appreciate more and more each day.
So...buffered query kept crashing even though I have a row limit of 10001 on my abstract datatables class. I didn't realize it was buffered because I grab the results in a for loop as a fetch. Well, I tracked it down to being the size of the email content that I'm selecting (and then using strip_tags and substring in PHP before returning to the front-end). So it's totally a catch-22 at this point because if I select let's say...substring 500 characters and most of that is line breaks and other html junk, I may only get a couple characters of normal text (or none at all) after stripping tags and doing a final substring to get the 50 characters of text I want to display. I said screw it and took the email content out of the table all together. You have to view it to see the content now. I should probably be storing a text-only version of the email, but argh..that's a lot of extra data.
Long post, TLDR: Given a large team building large enterprise apps with many parts (mini-projects/processes), how do you reduce the bus-factor and the # of Brent's (Phoenix Project)?
# The detailed version #
We have a lot of people making changes, building in new processes to support new flows or changes in the requirements and data.
But we also have to support these except when it gets into Production there is little information to quickly understand:
- how it works
- what it does/supposed to do
- what the inputs and dependencies are
So often times, if there's an issue, I have to reverse engineer whatever logic I can find out of a huge mess.
I guess the saying goes: the only people that know how it works is whoever wrote it and God.
I'm a senior dev but i spend a lot of time digging thru source code and PROD issues to figure out why ... is broken and how to maybe fix it.
I think in Agile there's supposed to be artifacts during development but never seen em.
Personally whenever i work on a new project, I write down notes and create design diagrams so i can confirm things and have easy to use references while working.
I don't think anyone else does that. And afterwards, I don't have anywhere to put it/share it. There is no central repo for this stuff other than our Wiki but for the most part, is like a dumping ground. You have to dig for information and hoping there's something useful.
And when people leave, information is lost forever and well... we hire a lot of monkeys... so again I feel a lot of times i m trying to recover information from a corrupted hard drive...
The only way real information is transferred is thru word of mouth, special knowledge transfer sessions.
Ideally I would like anything that goes into PROD to have design docs as well as usage instructions in order for anyone to be able to quickly pick it up as needed but I'm not sure if that's realistic.
Even unit tests don't seem to help much as they just test specific functions but don't give much detail about how a whole process is supposed to work.9
Soo, lets talk about deadlines and how often I come in trouble when there is one near. This week I have (had) three. So I had a lot of problems this week.
But, after all today was a really good day.
I deleted an production database, fucked up my laravel migrations and tomorrow we have to deploy another application. The app is still in development and the site isn´t finished yet.
Friday I need to launch another webapplication. Because I don't want to deploy webapps and apps on friday and I go snowboarding next week, I somehow convinced my client to launch it next week. He agreed with me, so that's a burden off my shoulder. And I'll have an extra day for fixing the last bugs.
Today I worked really hard and almost finished the last application. So I think after all I'll somehow manage it.1
Hey guys I need your help.
I have developed a snippet manager which currently is used by over 280 users from a lot of different countries on a daily base, which is very nice.
(For those wondering the app is called "SnipAway" just search on it on Google it will pop up)
But my main problem currently are the translations. I've created them using Google translator mostly for the languages I don't speak.
I would like to ask for some help from my fellow devRanters. I would need translators for the following languages:
If you can help translating please comment so I can send you the translation file. The file is not very big so translating it should not take long.
Also if you speak another language that's not in the list above still comment i wouldn't mind to add the language to the app.
In MSSQL, can SELECT JOIN (SELECT ...) queries actually end up using disk space rather just RAM?
I ran one of those last week and now am wondering if that's the root cause of a huge DB file with a lot of unallocated space.
Seems it may just use an existing DB file and expand it (without cleaning it up afterwards) but not sure...
Any ideas on how so this works and well show to make it so disk space used for queries get cleaned up properly or easier to just shrink or remove without touching the DB file there's actually used for persistence?8
Again got an email(pseudospam) from a service I subscribed to (yes I did). It says the email is from CEO and it's supposed to be X-mas wish + invitation to their youtube channel. It was, kind of...
But the words they (or he, but I hope not) used in the email! It was so obviously blank, such uninteresting-president-speech. It was even targeted as a spam by gmail. In a foreign lang.
I mean... if you want to reach to your customers, sit on your ass and imagine _yourself_ reading an email that's long, its point was lost somewhere in the fourth sentence and magically appeared at the end + even default mail filter targets it as a spam.
That's what you get from a service. Motivational crap and blank words. Many thanks, I haven't heard a lot of those lately, eh?!
It seems now that every weekend all I want to do is just not be around people.
During the week I grin and bear it, the fact that I'm going to have to see, be around and interact with people but the one time I don't have to is the weekend, but that's the time that other people always want to do things.
Why? Why is it so hard to explain to people that a lot of the time, I just need to not? I just need to not be around people, to interact with them in any way. I just want to be on my own, away from it all. Why is it such a difficult concept to grasp?3
Today I replaced my Logitech G610 that had a twitchy enter key by a Corsair K70 with MX Silent switches.
It's a whole lot of money, but man that thing is really beautiful. I'm in love with the aluminium top plate and the entire design with raised switches/keycaps.
The G610 is a good keyboard (only missing a palm rest), but the K70 is much more comfortable, and the silent switches are really a lot less clicky, nearly as quiet as a rubber dome keyboard. Really nice for office environment.
The only sad thing is, I would prefer brown switches for regular typing, because of the feedback. But MX Silents are only available as red and black.
So now I have red switches, but that's something I can live with.
I hope the K70 is made to last, I'm not planning to have another keyboard for the rest of my life.2
Tried to install gitlab on my RPi3. Not gonna try this again. Didn't really get it running and lost quite some time installing, configuring and removing it.
Afterwards someone told me that I should have at least 3.5Gb of ram, if I want to selfhost it, for a goodish user experience. Might have been the reason why thay was so awful, but holy fuck, that's a lot of memory. I wonder if that's RoR's fault or simply because gitlab is a such huge software 🤔
I'll try to install gitgud tomorrow and see how that goes 🙏8
It's somewhat nice here. The thing is we have a lot of infrastructure problems and it's hard to implement business here which made it hard to find a job. But if you're working with US clients, it's fine. Internet access and electricity is not reliable, but you can find a workaround.
As a consumer of digital services, it's weird as we're pretty close to the US (2 hours flight) and there's not an embargo against us, but payment processing services won't touch us (legalization is awful for them), so good luck paying with any local issued card. And if anything is country restricted, we're right next to Cuba (Again, legalization). Paypal, Spotify, iTunes, most of Netflix, a few cloud providers.
Yeah, that's it. Right next to the US and no embargo and willingness to learn other languages (Easy to find French, English and Spanish speaker), but with big infrastructure problems (Internet and Electricity) so you can be really qualified and not get a job.
I'm in Haiti.4
We have a notorious question in one of our coding interviews, designed to weed out people who've slapped 'Postgres' on their CV (because that's what we're looking for) when what they really mean is "I've used MySQL a lot, and it's basically the same, right?". People get choked on that about 70% of the time.
If you put something technical on your CV, be prepared to be tested on it in a coding interview!1
woow PHPStorm is such an incredibly buggy piece of shit .... how can anyone work with such a buggy IDE?
It randomly looses settings on restart. A lot of functionality is just so poorly tested. Anyone ever really tried to work with the integrated DB tool?
Or the CSV plugin? there are countless bugs in both usability and function-wise.
But I guess that's because it's just plugins ... you know .. you don't need to use them ...
Is the PHP code formatter a plugin too? Guess I don't have to use it at all, if it randomly scrambles whole lines if I format with a missing } or some other improper syntax. Right, overall it's my fault, right??
Fuck you PHPStorm, and you IntelliJ too. you're not better at all.12
Oh, I've pulled a lot of all-nighters. I love doing hackathons. I find myself most productive when I work on something in a single stretch. I have ADD that way. If I leave a project mid-way, that's probably the last time I'll be working on it; unless someone comes to me and reminds me about it.
Other than attending organized hackathons, I go on personal hackathons. When I'm in the mood to code something up in my free time, I just find some stupid, random idea to code and code it up overnight. (Oh, I have a very long list of projects that I can complete over the weekend)
Other times, I'll just be in the mood as I'm working on something and then lose track of time (and other bodily calls like hunger) as I finish it.
If my weekend looks very peaceful without any distractions, I put my hand in my project bowl and pull something up to finish it off over the weekend.1
I'm not sure where I'm going with this.
Writing open source can be so sad sometimes.
I would like to think of the internet as a place where people can find people, where everyone counts, but that can't be farther from the truth.
When I check a user's profile in devrant and see that they have a github profile, that's an immediate click for me.
But it usually comes with the sad realization that they have dozens of starless projects.
Many stars are not a guarantee of a good project, but 0-3 stars definitely means no one gives two shit about that (except maybe a couple of friends).
I'm totally ignorant when it comes to networking, and presenting a project you've done to communities of said language.
In fact, I tend to dislike communities because there's a lot of assholes in a lot of them, and sometimes, assholes that have more time in a community tend to be taken more seriously when disputes happen.
So I tried to stay away of them so far, but maybe I should engage and just call people on their shit regardless of the danger of getting banned, until I find that community where people are the least assholish.
Even then, I distrust the success rate of that, because I imagine there's a lot of devs out there, so when you join a community, what you notice is that there's a lot of noise so you end up becoming invisible because of that noise.
I'm not even sure of any of the things I'm saying here...3
Hey DevRant Fam, hope everyone is doing very very well of course, once again id like to apologize for my lack of activity, but i'd love to get some great advice from you guys!
Im nearly going into my last semester in which i will be going into my internship!, and recently id love to be open with everyone i got some harsh feedback, which is the first time ever someone opened up to me on this level... i was told that unfortuneately if i wanted to work in such a space as HFT or trading software i really need to up my game in problem solving.. i was told i do struggle to solve problems and personally i do understand how he got to that conclusion because it is the truth that it does take me longer to learn some concepts and its fine :-).
But i'll never give up learning something!, so my internship will be in either Web Development or Front end development, i have not touched base on web dev or front end development because i been heavily working on C# and Java (Android), i'd very much appreciate if someone could give me some great tips of getting back into web dev or front end, im very excited but nervous!.
also guys sorry i do ramble a lot.... but that's just my nature!
Also any advice on internships?, because this is my actual first ever real job in terms of development... :D
I've started to get more into the TOR idea over the last couple of weeks.
I know I'm way to "non protective" of my privacy but changing would mean I'd have to break many habits and stop using things I'm used to.
A couple years back (I guess it was in like 8th grade or so) I had a presentation in German (my first language) for an extra mark. It was about tor. In the process of researching all of it I learned quite a lot about it. All of this knowledge has stuck to me the whole time, unused.
Fast forward to today, I've finally decided to use the couple of bitcoins I have (like 15€ or so) from my home mining experiment to rent a vps for a tor relay. First, I was lucky enough to find a service provider that accepts bitcoin for a 3€. They advertised "Fair use Traffic", later found out, after committing for three months since I was like "yeah... will be fine", in the customer panel there is a graph that shows me that I have used x% of 1.5 TB... I guess the customer support will get an email from me asking what "Fair use" exactly means... But that's fine... Oh... And ipv6 wasn't a thing to be found...
To wrap it up... I've now got a 2 weeks old little tor relay <3
(I didn't wanted to put it on my main vps where I have 200mbit guaranteed at unlimited for 5€ a month since that's where I have my mail server running and a hidden service for my next cloud)1
There are a lot of things I would like to do, but the lack of enough money makes it hard.
My goals are to become more active on YouTube, find clients and hold them, try to learn how to sell products convincingly, become better at web design, understand university-level mathematics, leave Germany (one particular reason for this is the need of the redundant imprint), help people around the world, become more fit bodywise (by doing e.g. swimming, jogging and going to the gym), eat healthy and drink a lot of water, work on my emotional intelligence, learn peoples' behaviours and why they do what they do, write my own book, finally start practicing yoga and muay thai, live on my own, make a world tour for a year, learn the skill of powered paragliding, getting the license for powered paragliding, glide with a powered paraglider the whole day, build a house in the woods, create my own satellite and launch it, develop new things (like building some sort of vehicle that can fly in a special way), learn about biology, chemistry, physics (I hate it, but I believe in the power of what is going to happen once you learn it), become more aware of what is happening, live on the streets with no money to learn the ability to survive in more extreme situations, learn how to use guns, bombs, snipers and knifes properly (don't assume that I am a terrorist now haha, I am just interested in that type of stuff. That's all to it) ...
But all of that, obviously, not in 2020. More like within 10 years.1
I got admitted into University a few weeks back, unfortunately Universities in my country dose not allow students to take CSE unless they have maths and physics in their A levels even though I had computer science in my A levels and did a lot better than my friends who had maths and physics. I asked them if there was any way I could change my major and they said no. So unfortunately i have to study management information system now and that's the closest subject i could find related to computers the i was allowed. I envied all the students I met there since all of them were studying computer science and they didn't even know how to code . These are the very students who change their major from CSE to BBA . The education system in my country is fucked up ;-; . But that isn't going to stop me from coding right now I started learning java and after I'm done with that i plan on starting to learn lua. Anyways I'm planning on giving another A levels on maths which I'm really bad at lol. Also I don't really know much about management information system i just went with it because all the other BBA majors seemed boring to me and I was too bummed out to research on the subject.Anyways wanted to ask if it is possible to get a job as a developer if you're self taught in South Asian countries?7
I fucking hate with all the strength in my body this meme format:
someone: wacky unpredictible quote
fuck that bitch ass, lazy, unfunny, uncreative format. It fucking sucks dick. It's not funny!
Jesus fucking christ, it was funny the first month.
But month after month after month, this fucking thing won't die. It's way way below the average meme format, and that's saying a lot considering what the average is.
I check youtube comments and for every funny and thoughtful comment there's one from these fucking idiots that shouldn't be alive parrotting this unfunny shit.
Just include the goddamn fucking quote, that's it.
Even less points to the motherfuckers that write:
not one on person on earth
not even a single person on the universe
those deserve the worst type of cancers or torture forms described in wikipedia.
This is a stuxnet level post, I need to get a life.6
Something I should've ranted a while ago, it just came to my mind
We had to learn html and css (I knew a lot about it already, heck, I'm building a website for someone)
So, we had to use object tags to embed parts of the page like you'd do with php
The thing that fucking annoyed me was the stuff that's in the files we had to refer to in the tags
The whole fucking header with its title and fucking meta tags and shit
Why the fuck would you teach it like that?!
I would've posted a picture but I was too annoyed by the code and deleted everything I had from that course
Ah yeah, they told us to use bluefish
I used notepad++ since I'm not a noon and I know my html tags and css stuff
OK I just tried to unlock my laptop with my fingerprint a thousand times and the smiley just fucking winks at me.
don't wink at me, fucking LET ME IN
It's dual booted with Linux, to try Linux, I'm actually liking it so far.
couldn't find any drivers for the fingerprint sensor yet, but we'll see
I was a child and I was playing Habbo, I found a friend who was very enthusiast of the Habbo world, exactly like me, and we spent a lot of time among the fansites. So he asked me "why don't we create our own fansite?" and I answered "yes! Of course!" I didn't know what was a programming language or what was HTML, I thought I had just to click some button and that's it. Anyway I didn't discouraged and after 2 months our website, full of tables and .
After the first attempts, our website remained live for other 4 years.
If I didn't play Habbo, if he didn't ask me to create a website, if I gave up I don't know where I would be now1
Interview prep question. My understanding now is, at least in theory is: always use SOLID. I've never really understood it explicitly though I think I follow it a lot in practice, just naturally...
But when I usually program I'm kinda of in between... I don't automatically default to it.
Particularly, I don't always create interfaces, at least not in the first pass unless I know or expect many different implementations of a certain component... Or just because I need some class that does X but haven't quite thought of the implementation.
But I have never created an interface with like only 1 property or method... Kinda feel that's overkill...
I tend to follow DRY more I guess...
What's everyone thoughts on this stuff?
So I found about a possible freelance job I could do. I messaged the person and they asked me to show them some of my work. I went into my dusty wamp server folder to use one of my projects there as an example or w/e. It being old and all and me having not updated anything in the last 2 years, there was a lot of bugs I had to fix. So I did that. I had to change some links and whatnot. Then I tried running the site again and that was where I met the biggest hurdle. None of the user generated pages worked because I used a .htaccess file to vanity the website links (is that a word? No? Well it is now). So I went back into the folder to check the .htaccess file to see if I could fix the issue. Lo and behold the file was empty
I had lost the fucking .htaccess. Now I'm stuck and saying fuck it because I can't be arsed to go through each file and change the links mostly bc I forgot the structure of the links ontop of the other stuff I had in the htaccess file. And yeah ik I'm just being lazy but I'm really just having one of those days
So yeah that's how my day went. Just thought I'd share
During my education there was this "Exception('Smoking hot girl')", and also very kind/sweet I used to help a lot, and tutor best practices on whatever project she would throw herself into.
(It should be noted that half of our teachers where incompetent, or flat out wrong, so we kinda had to use more than usual time helping other people)
But being a shy guy, and having the spine of a worm, I got stuck as a 'personal teacher' for a good period of time. Never had the guts to ask her out.
Not sure if it's selfish to focus your attention on one person because you liked the girl, that's a lot of time I could've used to help others. Or if I should be proud of what I did, I do believe she'd dropped out otherwise....
But nonetheless I did enjoy the time.1
Does anybody else feel a little sad when reading rants or negative comments concerning frameworks you've used a lot or maybe even more in case you're still using them?
In my particular case I just read some comments tackling Angular - and I do not want to say, that those comments aren't justified. We're currently living in a more than ever fast-paced front end framework world and Angular is simply not state of the art anymore.
So I do not want to start a "what's the best framework" discussion here, that's not my intention.
This is more about the feeling you get when you've built a lot of stuff using a framework, maybe you have still projects running on this framework or even contributed.
Either you do not have the time to switch to another framework yet or you're even still somehow satisfied with the way they're working.
However - reading all this negative stuff about such a framework is sometimes not that easy.
..or am I just some kind of strange, sentimental developer guy? ;D10
I see a lot of people complain about uni degrees and stuff because they don't learn how to code etc. Is this really the standard?
I mean I'm only in fourth semester bachelor and had coding knowledge before starting uni. But we had basic to intermediate java in the first two semester, now learning how to write secure code and OS-Level stuff in C++, we had a module with practical Assembly coding all while still learning all the theory.
At the end of the first semester we had to write a terminal game in Java. I mean of course that's not "real experience" but if you dive in you definitely learn the basics you need to get started in real life.
Or am I wrong completely / just in a weird uni?6
From the last 3 years, i have accumulated interest and experience in android dev. Not sure about the future, but that's probably where i will be.
But this fact is moot to our 50 year old grumpy professors teaching 1000 year old rusted computer syllabus, who rejected my idea of a video streaming app as major project, simply because i projected it as a social media app, and "everyone is making a social media app, its such an old topic". yeah right sir, its younger than your daughter that fucks in the lobby
Now we are doing a project on file conversions website, a project suggested by my team member and my good friend. its such a shitty topic, there is no resources available, even the research papers are bad , every search points to a shitty site, and i don't know shit about web dev.
Technically i am the team leader, but my team mate won't let me make the project as android native app, because "Brooo, i am going to make a react app that would be completely offline, completely client side, full secure and shitt small" and sometimes "Bro its my idea" .
Well, 1. the whole point of client side is stupid because the 18 mb jsfile isn't going to get downloaded first in the client's cache(or whatever the process is, idk). The top stack overflow answers i saw told me to buy an ec2 instance and run liberoffice commands on it for every request, and that's SERVER SIDE. even if we could, i am sure its going to be bigger than what i would have made in kotlin.
2. what am i supposed to do? look at you coding while make all the ppts and research paper? you are going to use undocumented libs that "just works" , and i am suppose to curate the theory behind this, looking at all the researches of the world?well i guess okay that's a light job since THERE AREN'T ANY.
And we are targetting all types of conversions, nice. from what i know, handbrake.fr: video conversion s/w = 16 mb. photoshop: image conversion s/w=1gb and ms word: doc to pdf/other formats= 500mb.
Plus all those proprietary and undocumented formats, ugh. Thank you ugly ass companies.
Internet is great but web dev has become a whole lot mess. "I am going to build a software that is going to run in your system only using your device's processor" is a desktop/mobile app, not a website
When I do not have much to do, I like to take a look at apps on Google Play, just see what's out there. Then I start to see the opinions of users and go into anger.
I'm Spanish and I'm sick of all those Spanish-speaking people (mostly latin american... sorry but that's true) who mark only one star and make aggressive comments to developers because the app in question is not available in Spanish.
Seriously, are you stupid or what's wrong with you? If the app is in English, it's free, it's good ... learn English and stop complaining !!
Or better, offer to translate it to reach more people!!
Although this is demanding a lot, since this kind of people don't know neither Spanish grammar nor proper spelling at all.1
I don't like setting up servers and things. I know how to (I spent 1.5 years using archlinux and I know a lot on what's going under the hood). I like the functional paradigm where the same input yields the same result. I don't like having side effects although I know they can be necessary.
I would have to create a script to handle the configuration process instead of spending hours redoing it.
That's what I love about Heroku even if it's pricey. Almost no configuration at all. Attach some addons, configure a few env variables and everything else is in the code.
Experienced devs please tell help me.
Learning software development has been a challenge. Many times it's frustrating.
I also learn languages and I find them to share one trait with software development, which is complexity.
At first I looked at languages the way I'm currently doing with software. I'd look in a new language and after decided it's cool to learn it, I would stare at it for a few weeks trying to realize what the heck I was going to do. I wouldn't even know how to get started.
Eventually this stage goes away and I think that is about to happen with me with software.
But then a new challenge would come, which is me not making progress as I wanted. That's sort of happening with me by learning software as well, bit in language I now know how to deal with it.
That's because I work full time with something that isn't in my interests and when I arrive home Im tired and want to relax. So I decided my language learning had to go slower as long as I have this job, meaning no hours spent in front of books or a pc studying - that's what I could do with English, I was a teenager and had 12 hours a day to do whatever I wanted.
So I usually spent 5 minutes here and there learning something in my target language when I can, no frustration needed, my only rule is: practice everyday, even if I don't learn anything new.
With software, that doesn't apply though.
So, what I mean by tracing a parallel between these to fields is that I have a strong conviction is that once you get the principles on how a certain kind of learning works, you can apply it everywhere in the field. But with software it's been harder.
Anyways, I see that are some principles that apply, cause trying to learn software is changinge and teaching a lot of things like:
*you have to read a lot (of documentation) . At first I thought all documentation was painful to read and understand, but I found out some software are well documented and one can use those only to get used with it.
*immersion / discipline are important. I'm not very disciplined, I'm better with immersion but both are important if you need to acquire complex subjects/skills
*how to deal with complexity. I installed Arch Linux a few days ago. Just to install it I ended up reading more than 20 pages of documentation (install guide, Wpa supplicant, systemd, networkd, xorg, etc etc). Gradually I'm realizing that when you have to install/tweak something in that distro you necessarily spend a bunch of time trying to understand how it works, otherwise you don't get too far like in Ubuntu or Debian.
*and lastly the one that bothers me. Constantly getting frustrated and feeling crap about my poor skills. No matter how much I progress, it still seems like I'm stuck.
(that's when I ask your help/opinion :) )4
I don't have any experience in teaching, but I'd venture to say that teaching anything is hard. For most subjects, teaching has been refined over thousands of years to be easier and meaningful. Not CS. As has been mentioned by many people CS is a very new subject when compared to the likes of maths, for example, and education systems haven't been able to cope with it adequately (nor should they be expected to).
That the CS industry is rapidly evolving certainly doesn't help matters, but in reality that shouldn't really be that big of a problem (at least in earlier years of education). The basics of computer systems and programming don't really change that much (please correct me if I'm wrong) and logic stays the same. Even if you learn stuff that's a bit out of date it can still be useful and good lessons should be able to be applied to new technologies and ideas.
Broken computers is a big inconvenience, but a lot of very useful things can be done without a computer, and I should think the situation is a lot better than it was 5 years ago. What I think would be good, instead of trying to use broken computers would be to get students to set up and use a raspberry pi each; you learn about something other than windows, learn how to install an OS and you don't need that much computing power for teaching people computer science.
I think the main problem is a lack of inspiring teachers. Only a very few teachers will be unable to get you through the exams if you put in the effort, but quite a lot of the time students don't put in the effort because they can blame it on the teacher.
My solution would be to try and get as many students into computer science as possible and the rest will follow: more people will become teachers, more will be invested in the subject, more attention will be payed to the curriculum.
That's not to say I don't agree that many of the problems that have been mentioned need to be fixed for CS education to work properly, just that there is no way that I can see to fix them currently without either creating more problems or some very rich person giving a load of money.
This has gone on a lot longer than I expected so I'll stop now.2
So I've been trying to debug a bug for the whole day. I've been trying and trying to discover why my update method of my User class wasn't working.
I've tried a lot of stuff, searching and searching through my code possible reasons, adding debug prints everywere...
Guess what: it was working. The thing was that I had the user modified in the DB so I wasn't able to modify it since it was already modified. I even tried to find the bug inside the get method saying "hey, that's not the actual user in the DB!"
So I've got this old external hard drive that's on the verge of retirement. I bought a new one to move the content of the old one to, but it's a lot of data. (1+ TB)
Does anyone know of a good program that can do that reliably?28
I heard some of you develop web applications in c# (or think that's a good idea).
Since I like both c# and web a lot, I was wondering: what stack do you use, and how well does that work? Or is it just a pain in the not-to-be-named-rear-end?5
tldr: I am looking for recommendations for a basic website for my parents. GOTO question;
My parents have a small (offline) business. They have a website to give some general information and list their weekly offers.
When I felt that what has come out of the website-building tool (you know, clicky clicky stuff) looked a bit too early 2000's and is a total ripoff for what you get (almost 20€ per month), I created something with Google Sites for them. Feel free to roast me, but web development is not my field and now it looks much more modern, is mobile friendly and does what it is supposed to do. Weekly offers are edited in a google sheets file, which is embedded in the website. Not great, but this way my mom doesn't have to deal with editing a tables on the page - trust me, it won't look good. This also meant they could downgrade the hosting package to discard the clicky-tool and just the domain (maybe 1€ per month). The website itself is hosted for free by Google.
Now to the question:
Can you recommend a good alternative to the current solution (Google Sites)?
It should be cheap (<3€/month incl. domain) and my parents should be able to make some basic changes (just text in predefined locations). I am not afraid to get my hands dirty - I can deal with some HTML, CSS, JS - but I don't want to sink a lot of time into this. No need for analytics or the like. Maybe a newsletter would be cool (with the weekly offers), but that's just a random thought of mine and definitely not necessary.
Thanks for reading :)22
Sadly that's all I've implemented so far and I don't have a lot of time for these things :-/
But damn puppeteer is cool!
shit I mixed up kissmanga and kissanime...
Okay so there are a lot of things that are left by us students as "this would be taught to us on job, why bother now?" So i have many questions regarding this:
- is it a safe mentality? I mean University is teaching me, say a,b,c and the job is supposed to be like writing full letters, than am i stupid to stick to just a,b,c and not learning how to write letters beforehand?
- what is even "taught" on job? This is especially directed towards people in Big firms. I mean i can always blame that small ugly startup who treated me badly and not gave me any resources, but why do i feel its going to be same at every other company?
I guess no one is gonna teach me for 6 months on how to write classes with java, or make a ml engineer out of me when i don't know jack shit about ml.... That's the task for college, right?
I feel that when these companies say they "teach", you they mean how to follow instructions regarding agile meetings, how to survive office politics and how to learn quickly and produce an output quickly. I don't think that if i don't know how MVI works, then they are gonna teach me that, would they?i guess not unless they already have someone knowledgeable in that topic
- what about the things that are not taught in our colleges and we wanna make a career in it? Like say Android. From what i have experienced , choosing a career in a subject that's not taught you in grad school immediately takes away some kind of shield from you, as you are expected to know everything beforehand. So again, the same questions bfrom above
i did learned something from job life tho, and that too twice. Once it was when i first encountered an app sample for mvvm and once when i found out a very specific case of how video player is being used in a manner that handled a lot of bugs.
Why i didn't knew those approaches when i was not in job? Well, the first was a theoretical model whose practical implementation was difficult to find online that time and the second was a thing that i myself gave a lot of hours, yet failed to understand. However when i was in the company , i was partnered with a senior dev who himself had once spent 30 days with the source code to find a similar solution.
So again , both of above things could have been done by me had i spent more time trying to learn those "professional tools" and/or dwelve deeper into the tech. And i did felt pretty guilty not knowing about those...5
Alright so this is just me throwing my thoughts down from today cause I need some outlet.
Gonna start programming a lot more than I do now cause I want to improve and I enjoy it.
I need to practice python (which I'm good with) occasionally so I dont lose my magic touch. I was thinking of doing a project on a raspberry pi that uses a camera for object/facial recognition and picking projects like that and occasional small ones I do in js.
Although theres still a lot I have to learn on the DOM side of js. I dont want to be a front end dev cause I dont have that artistic eye so I'm mostly gonna use it for node and small front end stuff
But mostly I need to be able to grasp more from tutorials, examples, courses, etc. And understand how and when and why I should use whatever it is.
Also I wanna use someones code to learn but it's never documented well enough for me to know what's happening I'm mostly referring to when theres a library or api I'm unfamiliar with.
Also JS is getting a little boring so hopefully python will help dull that feel6
firstly that i relate a lot with insecurities of a lot of people here.
And secondly That i don't know/like js and functional programming, and would be struggling a lot to get a good job.
I once had a choice to choose between trying out native android dev and web dev . I chose the former because i was convinced that i am pretty bad at java(and data structures)
I gave my heart and soul to it . People hate java for its verbosity, but i learned it, looked deep into it , started appreciating it and ended up being addicted to it.
Today, am good at android dev and java, and if given a chance i could spend my life in becoming the best dev in it. But lately i have been feeling a lot insecure about it.
Like recently i started web dev and that's a whole different environment, i am so uncomfortable in it .JS is like a cotton thread and java is like a wire of steel. html,cs and js can build up the whole world of internet, but android can only build a limited number of stuff and is trying to grow its powers.
I wanted to grow with it, but its industry seems to be very small and sharp (sharp as in people building stuff have already grown very knowledgeable and their is a fat chance for truely fresher jobs.) .5
Soooo MY BOSS has proved himself stupid and ignorant.
So he changed the db because he decided after 4months building everything around a db we changed aaaand OF COURSE NO ORM as I already told you.
So raw queries fine. What queries? Well, he decided we dont need delete.
We had a soft delete before where archived was true but the entity still in db.
Fine we dont need delete?!? Ok sure
Today, him:" guys is it ok if I add some stuff to db?"
Me:"Well, taking into account we dont have delete that data will be with a lot of garbage and irrelevant data"
Him:" yes we dont need delete, in the future we will need archived true"
Me:" that's what the old delete was doing"
HE DOESNT KNOW THE FUCKING APP.
He IS VP ENGINEER
COO AND PM THINKS HE KNOWS STUFF WHEN HE DOES NOOOOOOT
FUCK THAT COMPANY.
I'm starting to gain a dislike for OOP.
I think classes make it easy for me to think of the entities of a problem and translate them into code.
But when you to attempt to test classes, that's when shit hits the fan.
In my opinion, it is pointless to test classes. If you ever seen test code for a class, you'll notice that it's usually horrible and long.
The reason for this is that usually some methods depend on other methods to be called first.
This results in the usual monolithic test that calls every goddamn method on the class.
You might say "ok, break the test into smaller parts". Ok. But the result of that attempt is even worse, because you end up with several big tests cases and a lot of duplicate code, because of the dependency of some methods on others.
The real solution to this is to make the classes be just glue: they should delegate arguments onto functions that reside on its own file, and, maybe afterwards emit events if you are using events.
But they shouldn't have too much test code classes though. The test code for classes should be running a simple example flow, but never doing any assertions other than expecting no exceptions.
For the most part, you'd be relying on the unit testing that is done for each delegated function.
If you take any single function you'll see that it's extremely easy to write tests for it. In fact, you can have the test right next to the fuction, like <module>.xyz <module>.test.xyz
So I don't think classes shouldn't be used at all, they should just be glue.
As you do normal usage of this software this way, when a bug is discovered you'll notice that the fix and testing code for this bug is very usually applied to the delegated functions instead of being a problem of classes.
I think classes by themselves sound sane in paper, but in practice they turn into a huge fucking messes that become impossible to understand or test.
How can something like traditional classes not get chaotic when a single class can have x attributes and y methods. The complexity grows exponentially. And sometimes more attributes and methods are added.
Someone might say "well, it's just the nature of problems. Problems can have a lot of variables".
Yeah, but cramming all of that complexity into a single 200 lines class is insanity.12
Hey guys, it's been a while since the last time I saw devRant... I cannot believe that just a couple of years ago when I finished my System Engineering Technician, also was on that time I started to use devRant. Those times I was learning as much as I could and try to find a job while I was starting the university and I wanted to be iOS dev but because of the money, I had never thought that would be possible soon, but 6 months ago I had the opportunity to take a trainee program, but that meant going to live in another city, and leave the university for a while, but believe me, it was the best decision I took, now I'm an iOS dev and I'm Working on that company, and the next year I'm going to retake the university.... I was a difficult decision at the beginning, but I learned a lot, and I'm learning more things while I'm getting a lot of experience and now I'm just back here where I started, I took a look to my old rants, I cannot believe what I have done and I'm excited because of all the incoming things to do and I hope you are achieving your dreams and work hard to get more. Never give up that's the key 👌🏻4
I see a lot of articles/posts about the difficult of CSS.
Finding it hard to maintain, or resulting in spaghetti code.
Is this a common occurrence?
Whilst I've come across it in a few projects before, I wouldn't say it's a regular.
Now a lot of our sites are built on CMS' (Umbraco), but here's my approach.
I'll style the generic elements first across all pages
User generated content is usually in its own CSS class (for nested targeting, e.g. ul/ol tags)
Then I'll give each Document Type (post type/page type) it's own body class and apply specific styling to that page where needed.
Hopefully that's of help to some of you. I'm interested to hear your approaches to it! :)5
As V1.0 I found Allo quite fine. Google assistant is so cool answering a lot of questions that you would rather switch to chrome and browse Google search results etc.. About encryption issues, I'm not a CIA agent and I have no problem if they use my data to improve the app utility. That's what AI and machine learning are all about. And please, don't tell me that Facebook or other services don't store your conversations. What is missing is SMS/MMS support and a Desktop client, that's it.1
seen a number of AndroidStudio rants
i'm wondering if the plethora of android apps is what made caused AndroidStudio
maybe they were just like, "ya gotta get these number down some how. how about we make it so it's insanely hard to use the standard IDE? like, every time you load up it fuks something up on purpose. ya, that'll stop a lot of people from developing a 2-bit app"
that's what i'm telling myself from now on
Why does #Devrant (idk if #'s are a thing here) not have a confirm password field?
Come on... I doubt it annoys users and it saves people a lot of hassle, especially when we are logging in on multiple devices :/ I know lots of people who type their password wrong the first time and later on they can't login and get frustrated and confused then end up resetting via email.
Also why no login with Google etc~ that's kinda annoying too...3
Sometimes I just have a crazy idea for an amazing feature I could add to a side project.
Then my brain goes into a fight with itself over this feature, one side saying "that's a lot of work, not worth it" and the other side "but then we could also do this and that and hey maybe we could even simplify other stuff a little bit" and in the process getting really fond of that feature. After some time, the idea is really optimized because the lazy side of my brain hates unnecessary work.
Anyway, I just came home, created a new branch and deleted a quarter of my code base which is now obsolete.
My biggest problem is my family as gentle as I can put it (wife and 3 kids) which require a lot of attention so it's easy to say "eh that website can wait my family needs x,y,z." I'm no master but I've gotten better at this by leaving my home for 1-2hrs a day and going to my local coffee shop to work. My mind knows now by this point that when I'm there I'm there to work and that's it, has worked wonders for me.1
I wanted to get into programming since secondary school (at around age 14), and I started out with some very basic gamemaker stuff. Later I also started doing some C#, but I didn't have the patience or skill to create anything actually cool or useful. Then at age 18 I went to uni to pursue a cs degree, and that's when I actually properly learned how to program in C#, with a bit of Haskell, Python and C++. A little more than a year after that I got a job as a Java developer (with many many thanks to a friend of mine, @chappio). I already knew how to program but there I learned a lot more about good practices, quality control, testing and so on. Fast forward to now, 2 years later, and I'm almost done with my bachelor's degree (just a few more months) and I still work at the same company with much joy. Pursuing my dreams has worked out pretty well so far, let's hope it stays that way :)
WOO!!! Taking cord cutting to the extreme!!
The dual channel TV tuner arrived, took it out for a test drive by setting up a few scheduled recordings.
Quality isn't as good as 4K TV and it takes a lot of space as it doesn't use a compressed format... But no more Prime, commercials, and now can watch at 2x speed! Plus that's what the 1TB HD is for...
Though now my worries about drive failure are coming back...14
I've done a social anxiety test to find not-so-surprising results. I shared that to a group of programmers then hm, that's a lot of anxious people. Are we socially anxious naturally or what? are you guys socially anxious even?8