Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "col"
-
*listens to music using Samsung earphones*
Person next to me: Nice song
Neighbor: Nice song
Aliens: Nice song14 -
"I'm not paying for a website that's going to be free to visit, that doesn't make sense"
-A million $ idea guy28 -
That moment when you make your code such that even dummies can understand it, implement smart ass algos, do all those comment line things for definitions. Then you show your project to your teacher who has this to say :
"Why are you showing me copied code?"
I am like10 -
When people say: "All you do is sit in front of your PC doing stuff. Get a life"
Me: This is my life!5 -
/*
It's a pretty long rant. Hope you didn't get bored :P
*/
So I have this friend of mine who has learnt Python at good level (that's what he says) and is with me in all classes in college. I have worked with C, C++, C# and Java only and hated Python when it was taught (wk44).
So the following happened in the last 2 weeks:
Once he wrote a Python function in terminal just returning a hard coded string (lame right) and will show me how cool is it and that it is sooo much easier.
Whenever we do a mini project together he will force that we use Python. Even in Image processing when everyone is ready to work on Matlab, he insists that Python would be a better option.
We asked that this XYZ is very easy to implement on Matlab.
We then had to listen about the large and great community of Python and that it has Libraries for everything and that it is the greatest programming language ever.
One day he saw my C# project for DFA and NFA simulation which was the greatest project I have "completed" myself, and went like "Hmph, if I was you, I would use python and make a more "professional" code" (then went on arguing as always)
This happened today in Networking lab-
(Sockets was taught and we are expected to learn its programming aspects)
All students: Open linuxhowtos.org and start reading on socket programming
He : Opens some websites and downloads books on Networking with Python or someting
Now while I am reading the documentation of sockets and bind, he opens spider IDE, copy-paste the code in the book and start bugging ME that he is getting all these errors like literally showing me those errors and whining about all those problems.
Me: We are supposed to learn this in C. Here take a look at this link.
HE: No I'll use Python cuz it is better than your C. It has libraries for everything and is much easier.
Me: Alright whatever I am fed up, do whatever you want11 -
Now I lay me down to rest,
I pray I pass tomorrow's test.
If I should die before I wake,
That's one less test I'll have to take.6 -
Today when showing a game that I made:
X: So you used Unity, it's so easy
Me: Yeah I mean compared to....
X: Thus since you used a game engine, I can't say your game was completly developed by you.
Me: So you are saying that since a builder didn't make bricks thus he can't claim credits on the building he made?13 -
Do the 'best' programmers use fewest lines of code?
The best programmers write the appropriate number of lines of code. No more, no less.10 -
That moment when your password is constantly rejected and you realize that the fucking NUM LOCK IS OFF.
(ノಠ益ಠ)ノ彡┻━┻
(⌐■_■)–︻╦╤─ 💻6 -
I now know another person's password without even wanting to.
He was sitting in the row in front of me, logging into our course page and then *brrrrraaaaapppp* - ran his index finger along the top number row and hit enter.
1234567890
I don't even know what to say.12 -
I get really tired of people shitting on php and getting greated with immediate laughter when I say I work as a full stack LEMP/LAMP dev. I work just as hard as you (ruby/python/node devs) do and feel like I make some pretty cool shit.
Why can't we all just agree we do great things with our tools and while I may use a different hammer than you, we still use the same nails!!!19 -
Me: *opens up a test script*
> only http response code is checked
Me: hey, coleague from qa, why didn't you also write response body checks?
Col: I had then implemented but removed them later.
Me: ?? Why??
Col: because tests were failing
Crickets: *chirp chirp* .... *awkward pause* [in high pitched crickety voice] what the fuck?!?!3 -
Just tested my GPU code vs my non-GPU code.
Its a simple game of life implementation. My test is on a 80 x 40 grid running for 100,000 cycles.
The normal code took 117 seconds.
The CUDA code took 2 seconds.
Holy fuck this is terrifying.3 -
Programmer one-line horror stories? A few off the top of my head:
Segmentation fault (core dumped)
'Undefined' is not a function
Unit test failed: expected '0' but got '-1'
Connection to 'localhost:8080' has been lost
Malformed JSON string at col: 46,372. Expected '}'7 -
That moment when your marketing manager makes technology decisions for your project and says "let's just use WordPress" ...3
-
You know whom I hate more than apple fanboys, "language" fanboys!
Yeah...that's a thin now.
(I'll post the whole story when I reach my room)8 -
Any code of your own that you haven't looked at for six or more months might feel as it has been written by someone else.3
-
me: I will major in CS so I can work with computers, not people
narrator: But little did he know...4 -
I have been hassling a client all week for some stuff. I asked my colleague if I should hassle them again today.
Me: Should I check in on them?
Col: Yeah just put a reminder in the chat
Me: i was nice
Col: wow you really were
Me: yeah I can be nice
Col: Did you wikihow?
Me: just went to stackoverflow4 -
Telling an Arch beginner to try Gentoo is same as telling someone who switched from Java to C to try assembly.3
-
Remember the time when someone appreciated your code and praised the implementation, said that your code was better??
Yeah, neither do I.1 -
Saw one of these in store today.
Who designs these "Ergonomic" things?
My fingers starts aching just by looking at this..13 -
We're digital plumbers.
90% of this job is figuring out what thing to connect to what thing and then figuring out how to connect them.
Writing the code that goes in-between both ends of the pipe is easy if not trivial 90% of the time.
Meaningful change in this industry is centered around endpoints: contracts, deployments, etc. Nobody needs yet another way to organize and import their leftpad().10 -
This is What which happens when client appreciate your efforts but your manager takes them all in his account. 😑1
-
21 lines of business logic (including whitespace and comments)
9 lines of build config
386 lines of tests (and tests for the tests)9 -
POV: You fixed a hairy bug at a FAANG as a:
L3: "You're a technical wizard!"
L4: "Good job."
L5: "Why did you allow this into your team's code base?"
L6: "Why didn't you delegate that?"1 -
Today I gave my Network assessment (code) on an A4 sheet as told by the professor. He will later type the code and check if runs or not and award marks !!
ಠ▃ಠ 凸ಠ益ಠ)凸 Where is my stress ball?4 -
He couldn't sleep for 2 days because he missed her.
I couldn't sleep for 4 days because I missed a stupid ";" in my code. 😟 -
Best laptop to run your linux distro
"Razer founder and CEO Min-Liang Tan has announced that Razer is soon going to support Linux distros on its Razer Blade laptop series officially. To welcome the suggestions from the community, Razer has created a new Linux Corner hub"5 -
Gahhhh!
Just inherited a HR backend written in Laravel. However, ALL database interaction is done using DB::raw() i.e.
$results = DB::select( DB::raw("SELECT * FROM tbl WHERE col = '$fromThe QueryStringLOl'") );
No models at all :(
FML.3 -
Changing the native browser scrollbar should warrant the death penalty.
Do not make it narrower. Do not make the colors blend with the background. Do not hijack it its functionality. Do not minimize it until I hover.
I am so fucking tired of websites that think they are in charge of my browsing "experience" and hide or otherwise marginalize the single most useful part of the page's UI.4 -
Web class(html)
1.how to create table
2.how to use Colspan
3.how to use Rowspan
4.Col+row
5.(O_O)
*cant use css*annoying but at the same time awesome..next class gonna be javascript cant wait 👌🏻👌🏻
#Student #Html #webprogramming5 -
I can't tell you how many hours have been lost because I have accidently clicked and dragged a file in to some random spot in the solution explorer!
-
Can anyone recommend a nice set of DnD dice for a gift? It's for my boyfriend's younger sister. She's just getting into it and we're all playing on her birthday.
There's cheap sets everywhere and I'd like to get her something of nice quality.8 -
Sprint 0: This design is the appropriate amount of engineering abstraction.
Sprint 2: This is over-engineered, too much work
Sprint 5: This is under-engineered, too many edge cases
Sprint 10: This is over-engineered, component Foo could be replaced by a bash script
Sprint 42: Foo is now the cornerstone of half our business logic2 -
sudo rm -rf *
Just started out on linux, learning the ins and outs. All I wanted to do was remove two directories. Thankfully it was a fresh install, didn't lose anything important.
A valuable lesson was learned that day. 😂2 -
Yesterday my tests caught more typos in copy/paste test cases than in actual logic.
'twas was a decent day.2 -
Fuck me why do my unit tests pass with garbage input.
I can't go into a long weekend with this shit in my head rent free.3 -
The worst interview, I'll say the worst questions I ever being asked by stupid interviewer is "Where is your remote server located?", well I said "are your kidding me???" 😂 😂 😂2
-
So, whenever I delay windows 10 update restart a few times, things start breaking. Wifi doesn't work, 100% cpu, ram or mem usage, sound problems etc. And all this goes away once I submit my soul and update. I'm sick of this shit 😡. Today I got a BSOD after which it updated and things seem fine FOR NOW.
Does this happen to other Win 10 users?8 -
I spent hours trying to support \n, \r and \r\n in my algorithms to convert between utf16 line/col and utf8 absolute indices to comply with the LSP, before realizing that
- Orchid itself doesn't support \r
- There is no established user base
so I'm in the best position to reject all files that contain \r and offer to convert them instead.10 -
Frustrated... had a signed job offer disappear right before start date after jumping through a ton of hoops, turning down a competing offer, and wasting 3 days of PTO on their process, so back to interviews again.
How do you all determine what salary to ask/look for? Current job has pretty concrete pay bands that I'm pretty sure aren't market, but most of the site (glassdoor, etc) are all OVER the place, as titles can get so fuzzy from one place to another. From people I know I've heard everything from 20k less than I make to 70k more than I make (moderately high COL area, but not CA level). Levels.io seemed promising, but the one FANG offer I had didn't nearly match up with there, so I'm not sure how much of that is bluster or whatever... Blegh. I absolutely hate job hunting.6 -
So...Microsoft is releasing a Linux based IoT OS. What does devRant community has to say about it?9
-
This was in 1st semester and our CSE course went under some major course revision. Python was to be taught in place of C. Now the professor we had was very famous and we were excited to be in his class. But little did we knew he had no knowledge of Python at all. He used to tell the lab assistant to teach.It was so bad that I lost all interest in programming!!
But we all studied python later in our winter holidays for further courses.
Next semester we had OOP and this is what happened:
1st lab:
Professor(different): I expect you have basic knowledge in programming so I have uploaded.
Every question was related to structures in C.
In the same semester, we had data structures where we were 'expected' to know C or C++.
Later we came to know that Python was not going to be of any use in any course ! First semester went into dustbin.
/*
It was pretty long rant. Hope you didn't get bored :P
*/ -
So today morning I got a driver related BSOD after which during restart, my pc went into windows update. Everything was going fine when power failed and it shut off. Now I am stuck with this...
Good thing I have linux in dual boot so work is getting done. -
So, if I was to emigrate, should I come to your country?
I'll finish my bachelors in Comp Sci next May and Ireland isn't really livable right now with property rental prices. Time to look elsewhere I think.18 -
Currently working on a GUI config generator using MFC in VS.
Firstly, fuck sake Microsoft. Why can't I just use a normal string? The amount of times I've had to do god awful conversions to/from CString using their numerous typedefs L, _T and don't even get me started on LPCTSTR, LPCWSTR... It's just ugly and tedious. I've gotten used to it and all but still, ugh.
Secondly, some of the functions are just stupid. Want to disable a control? Hmm, we'll there's a function called EnableWindow, but no DisableWindow. How did I do it before? Oh, so to disable the control it's EnableWindow(FALSE). Of course it is, duh. Why am I so stupid?
Let's use the GetWindowText function. Simples. CString something_txt = GetWindowText().
Nope, it takes the CString as a parameter and copies it into that rather than just returning the text. Now one line becomes two. I get that this is a really small semantic thing but it irks me.
I just want to go back to my fedora partition. Wah.
PS: I'm sure there's good reasons for what I'm ranting about, but I really don't care. I just need to rant about my frustrations. 😂1 -
You know prior to becoming a dev and learning the ticket system I never had a dislike against any number now I hate most of all of them
-
A shitty internet connection and visual studio make the best of fucking friends. This is going on a half hour now.
Had to switch to my windows partition for a project and I'm not happy.
Cry for me Fedora. -
Frontend Developers
checkout this awesome vanilla frontend boilerplate.
I always wanted something like this and never found one.
the main feature is -> PHP's include like feature. eg. create nav.html and use it in multiple places.
other notable feature -> bootstrap's grid (only grid, not whole bootstrap shenanigans) for responsiveness eg. .row, .col-11, etc
and npm install to use packages within the project.
plus more checkout.
https://github.com/MinSomai/...6 -
When debugging, why oh why do I forget that multiple browser consoles can be open and then get frustrated when refreshing the tab doesn't show my changes?!
-
Salesforce Lightning Component
I am creating a salesforce lightning component to list the leads of the current logged in user.
I have managed to write the following code, but when i add the component to the page, and preview it, I dont see any leads.
<aura:component implements="forceCommunity:availableForAllPageTypes" access="global" >
<div class="slds">
<table class="slds-table slds-table--bordered slds-table--striped">
<thead>
<tr>
<th scope="col"><span class="slds-truncate">Company</span></th>
<th scope="col"><span class="slds-truncate">Annual Revenue</span></th>
</tr>
</thead>
<tbody>
<aura:iteration items="{!v.leads}" var="lead">
<tr>
<td>{!lead.Company}</td>
<td>{!lead.AnnualRevenue}</td>
</tr>
</aura:iteration>
</tbody>
</table>
</div>
It will be great, if someone could tell me what is that I am doing wrong. Visit here! https://goo.gl/7jNnWu
Thank you3 -
Rough night yesterday for my coworker who has forgotten we can't write code past column 72 and that col 80 is the end of the line.3
-
I know we all start from the bottom but for fuck's sake some people have no fucking clue what the are doing.
I saw this in a previous senior of mine's stylesheet.
.col-sm-offset-1 { margin-left: 0%; }
I cannot believe that a person can be this stupid. -
Fucking group projects fuck them oh so much fucking fuck fuck fuck.
What's that? You want to basically ignore the spec and do something else? Fuck.
Wait, let's not use the great resources given to us? Fucking fuck.
Oh, you're just going to ignore the fact that everyone else disagrees with you? Fuckity fuck fuck.
I am so angry. You don't get to railroad your team.
You fucker. Ugh. -
Recently briefed a manager that we need to adjust Q2 plans to address the institutional knowledge lost during layoffs.
Yes, I know, write documentation, etc. This is reality, all our shit ain't documented.2 -
It is this time of the year that I get to work on a shitty project to add some new functionality to it, it is a front end part of the project which before was externally developed, so now I have to deal with this BS Marionette mess where nothing they wrote comply to standards, like the fucking router.js doesn't look anything like the Marionettes doc, the bootstrap they used they fking decided to override classes in custom css and turn the 12 col grid system into 5ths or shit, then they created some autmated tests with bunch of intricated selectors selecting by 'labels' instead of !!!!FUCKING WHAT ARE THIS FOR IDs!? - fuk me - so I better decide to procrastinate on this project since luckily enough we don't have a deadline and I wouldn't care if we had either! My job is java developer, and yes I feel good about learning new things and learning front end. BUT NOT THIS CRAP DEPRECATED MttehorseShit!
-
Not learning to unit test as I was embarrassed that'd I'd missed it in college.
Now, thanks to a great ruby module I've taken this year, I'm leaning towards TDD. I really enjoy it. -
!rant with a l'il rant at the end.
Anyone have any Android games they would recommend? I just want something to help me unwind, without being baited every 10 minutes into buying upgrades or coins or whatever.
In app transactions have ruined Android games for me. It drives me insane, but, I still would like something for when I'm not bothered to boot up my ps4 and spend hours living in The Witcher.4 -
!rant
Avatar request: separate colour choice for beard.
... I'm not exactly in the 99%, but my beard hair isn't the same colour as my head hair. 😂5 -
I work so hard to name things well and yet last year's code is always full of esoteric and misleading nonsense.2
-
Was using an open source piece of software for data storage and visualisation to work with the loggers my company makes. When importing old data for historical views, some of the csv imports would fail without any specific error messages.
It took me a couple of hours but after looking at their csv parser and making my own little one to test with, I eventually found out that it was all down to the way datatime (I think it was?) in java deals with DST, which apparently was to just fuck shit up.
Anyhow, a few simple lines added into the parser later and it all works just fine.
Was super proud of that one as it was the first time I actually looked somewhat good in front of my senior dev. -
spilt coffee on my good mechanical keyboard and it fried something because it keeps typing random letters... I've been reduced back to working on a membrane keyboard and my God is it less satisfying...8
-
!rant
Tablet recommendations? I know this isn't really the place to ask but I trust you devs.
I'm just about to start back college and I'd like to have a light carry around for days I don't need my laptop. I love my 17" Dell, it's a beast and that's why I bought it but damn it's overkill for taking notes and running little things through a bash terminal. A tablet and keyboard seems like a nice idea.
Ideally, I wanna run Linux. But I'm not sure if there's a commercial tablet that facilitates OS changes easily out of the box.
No iPad. Not an apple fan, and it's just not what I'm after.
The MS surface seems pretty good, but I haven't looked too deeply into replacing the OS.
I just want a nice Linux tablet. I dunno.
Thanks!5 -
UK/EU Devs: other than healthcare issues, is there any other reason keeping you from going to US? The salaries there are far higher and I've compared the CoL, you still have much more left over.84
-
Statically linking to qt5 is quickly driving me fucking insane.
I've a list of unresolved dependencies during linking longer than a really long fucking list. Ugh.
Cmake, why can't you save me?
Think I'll just go back to dynamic and build on each needed system.1 -
Our #bigtech repo is like 19 billion LOC so how am I the first one to try to do simpleThing with obviouslyRelatedThing?
My search foo yields nothing and I fear its not supported yet.
fml4 -
Is the current humble book bundle of any use? Dev ops by Packt. Lots of docker and kubernetes stuff.
https://humblebundle.com/books/...1 -
I'm supposed to QA/fix/debug someone else's work and this is just a sneak peek of what/who I'm dealing with. No appropriate use of classes, using ~, +, > everywhere that `!important` is used constantly. `col` directly after `col`, not to mention other disastrous html structure.1
-
I try to find new stuff which is related to what I already know or is close. I like learning new technologies and techniques 😄. By this I continuously gain more knowledge thereby making me a better developer.
-
Becoming a real piece of shit.
When a friend who has no responsibilities and no costs gets a higher paid dev job than I've ever wanted, in an area with a lower CoL.
A normal decent human being would be happy for his friend. I however am not. Guess I deserve what happens1 -
Behold, the code submitted by user Hecker:
(Quote) > writing html like a pro:
from typing import List
class MissmatchedRowsAndCols(Exception):
pass
class HtmlTableBuilder:
classes: List[str] = []
identifier: str = ""
rows: List[str] = []
cols: List[list] = []
def add_row(self, name: str):
self.rows.append(name)
return self
def add_col(self, fields: list):
if len(self.rows) != len(fields):
raise MissmatchedRowsAndCols(
"The given fields are not matched 1:1 with the rows.")
self.cols.append(fields)
return self
def build(self, indent: int = 4) -> str:
html = "<table border=\"2px\""
if len(self.identifier) > 0:
html += ' id="' + self.identifier + '"'
if len(self.classes) > 0:
html += ' class"' + (" ".join(self.classes)) + '"'
html += ">\n"
html += (" "*indent) + "<thead>\n"
for row in self.rows:
html += (" "*(indent*2)) + "<th>" + row + "</th>\n"
html += (" "*indent) + "</thead>\n"
html += (" "*indent) + "<tbody>\n"
for col in self.cols:
html += (" "*(indent*2)) + "<tr>\n"
for field in col:
html += (" "*(indent*3)) + "<td>\n"
html += (" "*(indent*4)) + str(field) + "\n"
html += (" "*(indent*3)) + "</td>\n"
html += (" "*(indent*2)) + "</tr>\n"
html += (" "*indent) + "</tbody>\n"
html += "</table>"
return html
builder = HtmlTableBuilder()
builder.add_row("index").add_row("language")
builder.add_col([0, "Python"]).add_col([1, "Kotlin"])
print(builder.build())6 -
!rant
Soooo, badges. They seem to have some prevalence in the open source community. I'd love to earn some from fedora. One day!
Anyone have any fun ones to show off?2 -
!rant
Just did some really satisfying refactoring. Much happier with my work now. Its a little cli app to poll M-bus devices and write the data to file if the user wants. Can scan the whole range, search for specific devices and VIFE codes, parse an input file for lots of the previous data and one or two other things.
How's everyone's else's weekend? -
Effective 1:1s are perhaps the most important soft skill that no one teaches you.
The HR onboarding section for 1:1s is only chapter one. But your manager won't teach you, your skip level won't teach you, and your mentor won't teach you. At best one of them even has an effective 1:1 skill set.
90% of 1:1s become operations: What went wrong this week and what needs to happen next week. Basically a private standup.
You attend 1:1s all year and yet somehow your manager doesn't know the difficulties you overcame, what you'd like to change, or how you're pushing yourself to grow. Then you get re-orged to a new manager.
If like to meet someone with effective 1:1s *and* low job satisfaction.3 -
While developing whatever website that uses Boostrap, my boss always says:
"PLEASE JUST USE BOOTSTRAP CLASSES to make it easier for everyone else to actually operate on that after you're done"
I'm now working on a project started by him and OMG the mess.
The only bootstrap classes he's using are col-* and text-*, the rest is all custom classes like nopad, which is the equivalent of p-0 m-0.
I mean, I might get you use less bytes writing nopad, but be consistent with what you say7 -
A system to build note-taking systems. tatatap dot com.
It’s the most successful for a few reasons: it got launched, people find it useful, but most importantly it’s been fun and continues to be fun to work on.
I think the fun-to-make factor is massively underestimated as a success indicator. Working on the right product (whatever that means) that is unenjoyable is like using an amazing computer with a broken keyboard. It’s never going to work.
Sure, with any project there’s annoying stuff, but it’s the trend overall. Is the core functionality fun to work on?
In the case of Tap the core component is a notation parser, open sourced called sowhat, github dot com/tatatap-com/sowhat
That was super fun to make and learn about lexing and parsing. It’s pretty far along but there’s still a lot I’m planning to add. -
line 8426345 col 4575 Expected an identifier and instead saw 'catch' (a reserved word).
Now all my promises be:
deleteUser()['catch'](() => {});1 -
I have been arguing with my company's analytic on bootstrap grid system for two days now. The guy doesn't understand what is so wrong about hardcoding bootstrap column percentages when in our company's layout rules it states we use the col 12 system
-
Those who are Software Engineers in the Bay Area or other places with high cost of living (COL), do you think living in that area is worth it? Or would you rather work remote somewhere that's cheaper even if that means taking a slight pay cut?
I was born and raised in the Bay Area and want to own a home. The Peninsula is just so fucking expensive. No way I want to shell out 500k for a condo with a $500 a month HOA fee. What gives? I'm not looking to make money on a home I'm looking to have a place I can call my own.1 -
Recent Software engineering graduate. (NO RELEVANT JOB EXPERIENCE also not a great programmer)
Most of the software engineers I have met are working in web development and mobile dev, I understand web and mobile I understand they are hard and require a lot more with APIS CLI and all the other things but I don't understand where is the engineering part in them. I also don't know what am I supposed to do as a software engineer.3