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 - "ld"
-
API Guy.
He has a serious regex problem.
Regexes are never easy to read, but the ones he uses just take the cake. They're either blatantly wrong, or totally over-engineered garbage that somehow still lacks basic functionality. I think "garbage" here is a little too nice, since you can tell what garbage actually is/was without studying it for five minutes.
In lieu of an actual rant (mostly because I'm overworked), I'll just leave a few samples here. I recommend readying some bleach before you continue reading.
Not a valid url name regex:
VALID_URL_NAME_REGEX = /\A[\w\-]+\Z/
Semi-decent email regex: (by far the best of the four)
VALID_EMAIL_REGEX = /\A[\w+\-.]+@[a-z\d\-.]+\.[a-z]+\z/i
Over-engineered mess that only works for (most) US numbers:
VALID_PHONE_REGEX = /1?\s*\W?\s*([2-9][0-8][0-9])\s*\W?\s*([2-9][0-9]{2})\s*\W?\s*([0-9]{4})(\se?x?t?(\d*))?/
and for the grand finale:
ZIP_CODE_REGEX = /(^\d{5}(-\d{4})?$)|(^[ABCEGHJKLMNPRSTVXY]{1}\d{1}[A-Z]{1} *\d{1}[A-Z]{1}\d{1}$)|GIR[ ]?0AA|((AB|AL|B|BA|BB|BD|BH|BL|BN|BR|BS|BT|CA|CB|CF|CH|CM|CO|CR|CT|CV|CW|DA|DD|DE|DG|DH|DL|DN|DT|DY|E|EC|EH|EN|EX|FK|FY|G|GL|GY|GU|HA|HD|HG|HP|HR|HS|HU|HX|IG|IM|IP|IV|JE|KA|KT|KW|KY|L|LA|LD|LE|LL|LN|LS|LU|M|ME|MK|ML|N|NE|NG|NN|NP|NR|NW|OL|OX|PA|PE|PH|PL|PO|PR|RG|RH|RM|S|SA|SE|SG|SK|SL|SM|SN|SO|SP|SR|SS|ST|SW|SY|TA|TD|TF|TN|TQ|TR|TS|TW|UB|W|WA|WC|WD|WF|WN|WR|WS|WV|YO|ZE)(\d[\dA-Z]?[ ]?\d[ABD-HJLN-UW-Z]{2}))|BFPO[ ]?\d{1,4}/
^ which, by the way, doesn't match e.g. Australian zip codes. That cost us quite a few sales. And yes, that is 512 characters long.47 -
All my works...
G G. O O O. N. N. E E E
G. G. O. O. NN. N. E
G. O. O. N. N. N. E E E
G. G G. O. O. N. N N. E
G. G. O. O. N. NN. E
G G. O O. N. N. E E E E13 -
Example #1 of ??? Explaining why I dislike my coworkers.
[Legend]
VP: VP of Engineering; my boss’s boss. Founded the company, picked the CEO, etc.
LD: Lead dev; literally wrote the first line of code at the company, and has been here ever since.
CISO: Chief Information Security Officer — my boss when I’m doing security work.
Three weeks ago (private zoom call):
> VP to me: I want you to know that anything you say, while wearing your security hat, goes. You can even override me. If you need to hold a release for whatever reason, you have that power. If I happen to disagree with a security issue you bring up, that’s okay. You are in charge of release security. I won’t be mad or hold it against you. I just want you to do your job well.
Last week (engineering-wide meeting):
> CISO: From now on we should only use external IDs in urls to prevent a malicious actor from scraping data or automating attacks.
> LD: That’s great, and we should only use normal IDs in logging so they differ. Sounds more secure, right?
> CISO: Absolutely. That way they’re orthogonal.
> VP: Good idea, I think we should do this going forward.
Last weekend (in the security channel):
> LD: We should ONLY use external IDs in urls, and ONLY normal IDs in logging — in other words, orthogonal.
> VP: I agree. It’s better in every way.
Today (in the same security channel):
> Me: I found an instance of using a plain ID in a url that cancels a payment. A malicious user with or who gained access to <user_role> could very easily abuse this to cause substantial damage. Please change this instance and others to using external IDs.
> LD: Whoa, that goes way beyond <user_role>
> VP: You can’t make that decision, that’s engineering-wide!
Not only is this sane security practice, you literally. just. agreed. with this on three separate occasions in the past week, and your own head of security also posed this before I brought it up! And need I remind you that it is still standard security practice!?
But nooo, I’m overstepping my boundaries by doing my job.
Fucking hell I hate dealing with these people.14 -
There's not much worse than trying to fix your CSS for half an hour, only to realise that it's a cache issue...9
-
. _ _ _ /\/|
/ \ _
| [ o]-[ o] l l
\ ¬ / l l
////////// l l
/ \ \ / l_l
/ \ \ _ _ _ _ l
/ \ _ _|_ |- -| \ /\
| ===== |_ |
D E V E L O P E R
A T
N I G H T4 -
Keeping up with new JS frameworks is like keeping up with celebrity gossip. It really isn't useful on it's own but you can talk to other people about it and be perceived as woke.9
-
"Windows can't update because you don't have enough disk space"
HOW ABOUT YOU STOP FUCKING POPPING UP A GIANT UNFUCKOFFABLE OVERLAY IN THE MIDDLE OF MY VIDYA GAMES FOR THE 10000th TIME?
I fucking know I have no disk space, if you complain one more fucking time, I'll make disk space -- by deleting you.
(I'm joking, linux/mac game support is so fucking trash)17 -
Today was 39 Celsius again....
This time I fucking wore shorts.
I definitely had the sexiest legs in the office.
I may have started a trend again.7 -
*Starts compile*
...
...
can't find function foo
ld exited with status code 1
*confused*
*Reruns qmake*
*Compiles again*
...
...
can't find function foo
ld exited with status code 1
*very confused*
*switches compilers*
*compiles*
...
...
Worked!
*dafuq*
*switches back to the first compiler*
*compiles*
...
...
Worked!
*tries not to cry*12 -
What is this ?
U call this wireless security??
Anyway what is the best way of securing hotspots in the airports , hotels , ... ?10 -
Or maybe I could build a C compiler and be responsible for ";" !
Making programmers cry and scream.3 -
So I disconnected all the other nodes consuming bandwidth on uni's network and it was ALL mine!
(They thought something has happend to wifi cause they were all disconnected )
SO WHAT?! 😎11 -
The robotics proffessor has offered me :
1- joining uni's robotics team
2- joining the startup team
I then asked if I can take both of them and he said this is not recommanded.
So what do you think?
Whick of the 3 items (3- none) fits best?10 -
import datetime
age=19
while not dead:
today=datetime.datetime.today()
if today.day == 1 and today.month == 4:
age+=1
print("🎉")11 -
Have u built your own robo who makes coffee for u while you are coding?
0- yes! // u r cooooool!!!
1- no. // me 2 😸☕
[If you answered yes, then comment how did you ]7 -
Hi hackers!
Just not sure about this one:
Is this true?
The closer i get to the router , the more packets i might be able to sniff.
And something else:
I might loose the traffic sent to the other APs while i'm close to one another.
Is there any way to capter all packets?
(I also have wired access to network but since the socket isolates the traffic let me know if there is any other method)
Thanks16 -
Yay! Passed advanced programming final test at university with grade 20/20 !
The test wasn't a challenge at all but I'm just happy 😀 -
I don't know why quiting vim is such a challenge for new users.
While Quit starts with q , so q is very logical for quiting 😬4 -
Tomorrow is my 19th birthday and I'm very excited about it. 😀🎂
Wanted to do something special as a computer geek but wasn't sure.
Hope you can help me !
Thanks 👍16 -
Lead-Dev: I got a little job for you; put this list of links in the footer of our website.
Me: But... this list of links is a bunch of websites of another company...
why would that go in OUR footer?
LD: Well, Google gives a higher SEO score when two websites have links to one another.
Me: Oh, okay.
LD: Just make the list as subtle as possible. Visitors aren't really supposed to click on them.
Me under my breath: (How are these people allowed to call themselves professionals?)2 -
I finally realized that I need a daily timetable to be able to keep update and learn wahtever I want.
So ... Tommorow is the first day and here is my planning !
TOMMOROW I WILL ROCK !!😎4 -
After 8 hrs of constant coding (inclidin last night's loss of sleep) finally found the solition!
Let me hug the world! 😁4 -
Hi android devs!
As i mentioned in some of my prev questions, i'm trying to visualize a sound file using graphview.
Now the question is:
I need some kind of indicative to show the current frame while playing the sound.
Thanks aloooot!2 -
Can https be decrypted easily?
(Or even by spending some time)
Plus what other security methods banks apply to prevent theft of sensible data?
Do they encrypt data using thair own private key thet is changed automatically?29 -
Minutes away from Ludum Dare submission closing. Finalizing game build to upload and submit and I get this...!!!
FUCK!
I'm too exhausted to give a shit at this point. Guess I'm out. Still pretty happy with what I managed to make. Had a late start, first LD and I actually managed to make something I guess XD
I'm going to bed T_T6 -
Unity is ... shit. Never again for LD. We had so many problems with git destroying scenes files. Anyway if you want to try our game: https://ldjam.com/events/...6
-
Can i train myself to think like a computer?
Means I wont to the best thing i can do in each second without even thinking ! Just like what a computer does13 -
Hey !
A big question:
Assume we got an android app which graphs a sound file .
The point is: the user is able to zoom in/out so the whole data must be read in the begining , but as the file is a little longer , the load time increases.
What can i do to prevent this?3 -
Nooooo !
I fucked up !
Please tell me what is going to happen if a pentester fucks up ?
I was just curious about the codes the developer was typing remotely while they were containing important datas :/
Fuck me ! I thought it would be nice if i take some pictures of that amazing code so the other employees misunderstood !!
They think I was stealing data ! 😭
What should I do ?
What can I tell them ?21 -
"Intense coding. A day passes. Wait, how the fuck did my code work? It doesn't make any sense!"
It happens so, so often, God why 😐1 -
Wanted to kick off my causine from the network (he keeps downloading and eats all the traffic) with my kali.
Guess what?
I forgot to bring my wifi adapter and my kali was installed on vm which means no chance to send deauth packets!
Allright! Maybe next time 😬 -
I was highly impressed by this qout so I wrote it on a sticky note just to be able to see it any time I am about to give up 😎1
-
The project I accepted for measuring heart sound is giving me a heart attack 😬
I have only 10 days left the deadline 😭6 -
"Sudo rm -rf / "ed my build server at work today... Died of laughter when i found out there was no snapshot.
We all had a good laugh. 😂😂😂2 -
Today I had my first :
root@DEC:~# echo "hello World"
in my linux terminal ! :)
Just knew some commands but finally wanna master that !16 -
I'm getting convinced that some areas are not teachable. You have to learn it by yourself. Databases (sql), for instance, the teacher never manages to get the class attention. Even I that consider myself a very interested guy can't handle 2 hours of his explanations. I tried to think in a better way he could teach the content but don't really think there is one ..Do you guys faced issues like that in school?3
-
Not quite a interview question, but in a competition (I had build a compiler) the jury (they all told me they had all studied informatics) asked me what a compiler is... Not in a "lets try to catch him off manner" but rather in a "i am too stupid for this world manner" he asked me what a compiler was... And it got even worse: my compiler is based on linuxes utils (nasm+ld) the guy didnt know about linux. Assembler was much too much for him and when my compiler threw an error (I wanted to show them the error system) he told me I shouldnt present unfinished projects... Atleastthe other two were really nice and i still got 2nd place (behind a person who prorammed an Nxt thingy)7
-
I was trying to understand the source code of aircrack-ng which is written in C today.
Suddenly I saw sth strange !
WTF !! what is #ifdef ??? I've never seen that before !
So I told myself : hey ! You have to download a complete C programming course!
so I did , but when I skimmed through the titles , again:
WTF ! I know all of them! So why the fuck I could not fully understand the code ? Where can I find anything I missed ?
So... I'm asking U :)14 -
Hey devs!😀
Will drinking coffee help you reduce your sleeping hours?
I'm used to sleep 6-7 hr but still need more time , wondered if I can reduce it to 4 hr with drinking more coffee.
Any pointers?42 -
I was wondering all day:
Can machine learning really teach a machine how to think?
I mean in a real unexpected situation that even a human may be confused , how a trained bot would react?17 -
Fuck you apple, and fuck your god damn shitty documentation.
Working with NFC enabled passes, their documentation says "payload max is 64 bytes"
What they ACTUALLY fucking mean is 64 ascii characters.
Also, the way they handle date time formats is fucked. They say they support W3C formats (iso) but what they actually mean is, they support a half assed version of a subset of it.
I told their chief engineer over a phone call and his response;
"I agree, our documentation is lacking"... HOW ABOUT YOU FUCKING UPDATE IT!
Also, how they handle json is just bad.7 -
Hi devs!
I've seeked the world but found no answer to this:
I want an android code to convert double[] to a sound file and be able to get that double[] from the file.
And yes I've tried stdAudio library but it did not work as I expected.
Give a replay, save my life 😁5 -
Some programmer forget to put ; at the end of their commands,
My problem is that i forget not to put ; while coding in python :/4 -
In the worls of coding what matters is the algo and it's optimization
Any recommandation for proving my skills?
👑
Thank a LOT. 😊4 -
Can U decode this secrate message?!
(Too easy don't panic!)
ehiiHGdDByDy4wfm8zNyYVCllF0vkKqqBLGXZ/cZyn/7xo2KfD8/qDsMJm3IK3oE7 -
Have u ever thought 24h is not enough?
I wish i 48h or even more but wishing won't change anything :(8 -
Honestly ...
Am I a simple man ?
I had a small convetsation with a stranger and he suddenly called me "a simple man".
That made me wonder for 3 days and i thought i can ask U .
U can see my prev posts and share your thoughts with me .12 -
Is it usual in your university that students don't come to classes for no reason?
Or just seeking for a chance to cancel the class?
Or I'm just the only one who can't wait for learning new things?7 -
I was trying to crack my own wifi using airmon-ng but found out applying brute force will take up to 237 years!(11 lower case character password )
Is there any other way to crack my WPA2 (psk) more efficiency?9 -
The best boss I ever had was my father .
He wanted a C# application for employee management with some specific features so I accepted and did the job. -
Watched an action hack movie
Then designed a scenario to sniff around a bank and get the encrypted key and finally extract the key and omg!
I've broke into the bank !!!
But seriously, is it worth trying?
I'm not going to do any thing stupid like even taking a dollar , but is it just the way I thought it is?
Will anything unexpected happen?16 -
Seriously what's wrong with the market right now, this is basically what some job ads said. They were even from the same company
Frontend job ad: are you a rainbow rockstar developer who just loves to code OwO(unpaid overtime) [buzzwords...]
Embedded systems job ad:
Serious job description
Required experience in c/c++
Other non bs stuff8 -
A developer said to me: developers may hurry to finish the project before deadline that they might miss many security bugs specially in the updates. That a creative hacker will later take his time and exploit them.
Is it correct ?3 -
Project deadline = 7 days
Day 0: start coding
Day 1: few bugs and crashes
Day 2: fixed those bugs project is 30% done
Day 3: ok I have time... sleep
Day 4: sleep
Day 5: sleep
Day 6: 48h coding to finish the project on time.4 -
Migrating to another sub domain for the 4th time.
First they say 'oh this sub domain is just for demo and you can freely test your code on it .
Few days later they say the same thing to another team and then :
- 'dude ! Is the website down because of your code ?'
- 'The code is not complete yet ! I've been adding some features! '
-'Is it possible that you migrate to another demo sub domain? Content production team wants to upload more content on that sub domain '
-'Sure ! Why not :('2 -
I'm performing a pentest for my client.
So after scanning my client's network I understood they're using IIS 4.5 and windows server 2012 (or 2012 R2)
I know the systems are real old.
And there are known exploits for them.
The tricky part is I have to stay hidden and I only have my own credentials for logging in to the asp page. (Uploading a script is almost crossed cuz it will reveal my identity)
Also I have access to the local network with some of the other employees user/pass.
Any recommendation for exploiting and staying hidden at the same time ?
One more question : will exploits for newer versions work for the older ones necessarily?8 -
A: "It would be great if we can add a snack bar in our office."
B: "Why?"
A: "It makes our developers smarter."
B: "Why??"
A: "Jobs said 'stay hungry, stay foolish'. That's why we shouldn't makes our developers fool."1 -
First day of holiday - manager messages that about small issues, ignored that.
Second day of holiday - received a message that everything is going wrong. Apparently I can't take any holidays as the world will burn in the meantime...3 -
Wait this is crazy!
Well I'm not an anxious or depressed type.
But no melatonin pill = no sleep
Worst part is no sleep during the day cause of sun light.
Even taking pills won't guarantee my sleep .
Yes I told my doc and he said "just relax , limit your caffeine "
Have you experienced this?31 -
Just in case any other devranters are in China, here is this morning's updated chart if you have wechat you can follow this account, stay safe and wash your hands5
-
I am pulling my hair out on ducking low level stuff. This is why people (more importantly me!) should have the chance to learn, rather than assume how things work.
Has anyone of you detailed resources on how linking objects into shared libraries really works ? Especially Name Resolution. All those ducking tutorials and bloody blog post just have simple examples and explain shit not in detail!
Even ducking man pages on gcc/ld don’t help me out! Maybe I’m too dumb to type the right words into me search engine. I’d even love to read a bloody paper book.16 -
Working at least 12 hr a day is in my daily routine.
Each minute must have an exact purpose and should not be wasted
(That is just a theory and does not mean that I actually manage to do it everyday) -
Joing a company was the biggest mistake i ever made!
Wondering what was wrong with my career as a free lance android dev that i decided to accept the project ???
All those beautiful days coding all day long without any stress or deadline now gone!
GONE !!!2 -
He he he!
Matching software version and vulnerabilities in NIST then exploiting it is not HACKING !
I wanna find new zero day vulnerabilities that no one ever noticed before!!5 -
Not a vary technical question but I wanna ask:
What do you do to avoid backache and neckache after a few hours of coding ?7 -
Finished my first year of Software Dev. today. It's been tough but I got through it. Does the questioning of this career path ever stop?5
-
Today i went to winter seminar series of the university.
Mostly about machine learning and lots of topic i have no idea about :/ and a few about security which made me feel a lot better :))
Feeling so dummy and i decided to work on machine learning.
✌😃 -
I'm kinda freak about my knowledge.
When i find out i've missed an epsilone of a topic , i start that all over again to make sure i'll cover everything !
New reads: C programming language by ghanaian and ritchie2 -
systemd is like: this service/process is throwing warning during boot, so let's wait 120 million seconds and hope the warning magically goes away because fuck you user who wants to get to his desktop. what's why!3
-
So I wrote an algo in python3 for a challenge in codechef.com but it raised this exception !
If I put the input() built-in method in a try/catch , how do i know what the input was in order to pass the test case?3 -
Samsung has a bug in their galaxy software that essentially makes you unable to store anything that's not in the root folder on an additional sd card. After 2 years, they still have the bug. Additionally some phones will shit themselves if you try to format an sd card with it
How the fuck can they just leave significant bugs. The whole just get a new phone every other year mentality/industry style is both wasteful and seems to contribute to garbage software7 -
I've caught cold yesterday and I've slept for more than 6hr today :/
Going to sleep agsin just wanted to tell it to someone -
What the hell is WRONG with Windows 10. Why does it need so much storage space? I get to only use 219+38.6+13.8 GiB and Windows gets to use 564 GiB of data to piggyback on data and storage space to push nonsense updates to user who do not want them. Use your own fucking servers, MS. I wish this fucking OS burns in hell.10
-
Didn't even ask for 2 sets, the devRant team is just awesome! Thanks!
On and @localhost, it seems like people are sending their setup, so here's my student one :)1 -
Hi everyone! (Specially pentesting masters!)
I got a question:
We all know the Nmap's abillity for detecting os using 1 open and 1 closed port,
Is there any way or method to detect os without any closed port ?(open ports exist)
Thanks alot 😃4 -
I was wondering !
As a computer geek I would like to know everything from mathematics to programming , robotics and machine learning but as I go , new technologies appear and it's
just like an endless while loop!
I don't mean I wanna stop learning new things but just looking for a more effitient way for doing this!
Any idea about this?1 -
I 'm working with python 3:
Was about to make my app print a text letter by letter (same as somebody's typing the text) and read it at the same time.
I wrote a method for typing and works fine but cannot find a solution for the tts and make them run at the same time.
Can U halp me please ?
Thanks in advance 😊2 -
Wanna develope an android app which plays and graphs heart sounds send by a blurletooth module!
Any helpful link ?5 -
Learning rust with a very tight deadline. Not something I'd recommend since you will be likely to spend more time trying to get your project to compile than getting on with your project.
In my case the project was a compiler(in hindsight I'd have picked ocaml or scala instead).4 -
I was working on a simple notebook project in java (console app)
But I think I need a little help :
When user wants to edit a note , he should write the note all over again!
How can insert the current note in console(like user input) so that the user can iterate and modify the text ?
Thanks3 -
I work in huge corporation. Got an offer for smaller company and gave 2 week notice. My corporation offered me better base salary and retention bonus to stay. I accepted (mistake) and now they are not coming back with retention bonus or salary increase. I found out they did same trick with different person. Wtf... huge corporation is doing those kind of shenanigans?6
-
My personal top 4:
good tea,
good booze,
time with gf,
time with friends,
Just clears my head, but doing any of my other hobbies can really help because it just gets me in a different headspace -
I was searching for an optimized daily timetable which includes programming , learning new stuff , etc.
It would be great if you share your daily routine with me so I can maximize my performance.
Thanks 👍10 -
!rant :) FUUUUUUUUDGE YEAAAAH!
it's so satisfying when you've been working on a huge ass thing(when maybe you should have tested individual parts) and it just fucking works as intended amazing, I love it!
It's so beautiful to see your own compiler(jk just scanner+parser atm) compile code successfully -
This Monday I start my first job as a junior web developer and a coworker already my first two hours will be free time, don't know how to feel 😓2
-
Haha ! Can't balive i fanally broke this chain and joined a group for statistics final project !
It was soooo difficult but i did it 😎2 -
Okay so for all of you who think that you can't do shit without stackoverflow. I'll tell you this, fuck SO. There's this ancient technique of programmers of old probably just about 20-25 years ago called RTFM. Why bother copy pasting some one else's spaghetti(that you might not fully understand) when you can write your own better code! (said in good faith). When something is behaving strange or you don't know what something requires just hit the docs or manual and read about the api because it is describes not only what it wants and needs but also what it does. So try this because it might have more information that you need than stack overflow might tell you12
-
I left my previous job being disgruntled over insane hours and being underpayed.
Took a 3 month break, whilst shotgun blasting my CV and Resume at places. A few stuck. I chose the one that had the best passion to pay ratio. -
That awkward feel when I ran into an issue on one of Azures SDKs and find the pull request is open and not merged for a few months...
The even better feeling when I realise that particular product SME is _literally_ in the room behind me.
Chocolate is an alternative form if bribery right? -
Besides firefox and emacs there is also Linux, the library emacs uses to interact with the computer hardware
-
Devrant works surprisingly well here in China, except for saving pictures everything else works(mostly) but it's still nice to be able to use it here
Anyone else have similar experience in their country?11 -
Emacs, once you gotten familiar it's just the best and there's lots of packages to make everything easy to do from emacs. Also it's very configurable
-
Please be gentle, first rant. :)
Can you please provide me with literature recommendations:
1. Books about software architeccture, design patterns and best practices in general.
2. "Relaxation" books related to developer's life experiences, something like "The Phoenix Project" (https://amazon.com/Phoenix-Project-...). I really enjoyed that. :)
I am aware that this is not best use of rants, but I would really like to hear this community recommendations. Thanks in advance. :)9 -
!rant
Today I took a taxi to work.
I put on my hands free on my both ears and started watching an online course.
After a while I payed the driver with a bill expecting him to give back the rest.
He started whispering sth (but I couldn't hear him!) Then he started looking at me!
Oops! Looks like he was talking to me...
I took of my handsfree and he started talking about young people have became deaf these days ! They have lost their minds !!! (He repeated these all thr way !!)
I did not know what yo say, so I stayed silent and just smiled :)1 -
I just finished my second semester of computer programming. I then say to myself : "Let's use my new knowledge to make the program I worked on for fun two years ago better and more efficient!".
It was a bad idea. -
Yo, so does anyone here have any experience about using Windows or mac printer drivers on GNU+Linux? So far my strategy has been to try to extract a ppd file from the Windows/mac drivers. It's an epilog fusion laser printer/engraver5
-
Just started to learn to properly use a linker and honestly...
linker scripts really aren't that great 😐3 -
Which one will be a better user experience ? A or B ?
0:
A ) user scrolls in the main activity for most of the features
B ) user selects very basic features in the main activity and finds the others in the sub menu
1:
A ) long text in one page
B ) shorter text in number of pages
2:
A ) brief walk through at the beginning
B ) very clear and detailed labels
C ) complete help section
3:
A ) separate rating section
B ) ask the user for rating every time till the user rates or presses dismiss
4:
A ) inappropriate billing
B ) show ad11 -
Rust is a nice language but the learning curve is quit steep so if you don't have time to pick it up I'd suggest using another language especially for assignments if they give you the choice. Otherwise you might like me and my classmates spend more time fighting the rust compiler than doing the assignment7
-
I'm a Python programmer and I've been asked to build API's using Nodejs. It's been dofficult to even get the API running. Any advice on how to start? I am familiar with JavaScript7
-
Is learning VIM worth it?
I have some (probably unjustified) prejudices to it - I find it rather visually unattractive. But it seems to me also that it boosts productivity.
So do you recommend it and what is least painful way to learn it?5 -
Dear community,
Could you please recommend me some (free if possible) sites for SW skill assessment (for example: sites with quizzes, problems, exams etc.)?
Thanks. :)5 -
4am writing an assignment about the ethics of anonymity tools (TOR, VPNs, brown bags to put on your head)
I love the subject – I picked it – but these written assignments for peripheral classes are the most soul sucking part of studying software engineering2 -
```
section .text
global _start ;must be declared for linker (ld)
_start: ;tells linker entry point
mov edx,len ;message length
mov ecx,msg ;message to write
mov ebx,1 ;file descriptor (stdout)
mov eax,4 ;system call number (sys_write)
int 0x80 ;call kernel
mov eax,1 ;system call number (sys_exit)
int 0x80 ;call kernel
section .data
msg db 'Hello, world!', 0xa ;string to be printed
len equ $ - msg ;length of the string
```
I've never seen such a terrible way to print "hello world"8 -
It's been a few months I became a freelancer, the cool thing is I still have no sleep but this time it's not for deadlines! ... XD
It's for ...
You complete the rant !2 -
!rant very happy to see a development at my uni towards having programming(+related courses) being more and more examined throughout the course through assignments and seminars where you have to explain what you did and why. I think this is a much more suitable solution for some courses best done with practise than having a paper based exam.3
-
How do you know that you are stuck in a job without longterm perspective (besides some undefined gut feeling)?
And what to do then? It seems to me, only possible action is to change job. Is there any, less extreme, alternative? -
Started my very first (summer) job as an IT agent in customer service for my city less than two weeks ago and finally moving out from the formations to answer the phone alone.
I must've listened to around 30 calls and already there's stories I could make tales of.
I now understand the job of customer service. -
My dad showed me vb.net when I was 13 or something and just went ahead to try to make different types of games with Windows forms, it was a lot of fun even if the games were garbage(I had a gazillion buttons on one because I couldn't figure out how to make the logic reusable with the hp bar); it is what put me on the programmer/engineering path1
-
Any tips for doing well on the technical interview?
It's my first time doing a technical interview so any tips are welcome. It is for a (paid) field application engineering internship. They said it would mostly be regarding electronics10 -
I have been coding exclusively in Python on competitive programming websites. So far I haven't faced any issues w.r.t timing. Is it worth switching to c/c++?5
-
Difference between security threat and programming bug ?
Found a cool paper about format string attacks which mentioned buffer Overflow is a security threat while format string is a programming bug.
Had no idea what that really meant.
Tnx1 -
!rant
Follow up to the rant before.
I fucking fixed it. And lo and behold, it was a goddamn linkerscript issue.
I FUCKING HATE THIS
AND I LOVE THIS. -
If I manage to complete my current project as intended then it will be my most successful project so far
-
Suppose you wrote a library for some purpose in a language. How do you get other devs to use it? How does it become known among the devs, assuming it follows proper language guidelines and fulfills it's purpose?2
-
Do you have a programmers union in your country?
In my country we have a general union for all different kinds of jobs and a engineers union. Maybe if developers had a dev union there would perhaps be less bs11 -
In recent time, I'm thinking about to start freelancing (or at least start preparing for it).
Problem is that I'm completely new to it. In following weeks, which steps should I take to successfully introduce myself to that market? Which mistakes to avoid? Which sites do you recommend?
Thanks in advance for contribution. :) -
Fucking linker options on Ubuntu. Somehow it seems to have --as-needed turned on by default. This leads to stripping libraries we had referenced in our target_link_libraries. Then our application won't start because of the unresolved libraries it cannot find in the Rpath, although they would be there. Thank you clever fox.
Now we have to add another stupid linker flag, just to run again. -
A genuine question
How can one achieve the following with ld+json schema, it really looks cool or is it done with something else?10 -
Not dev related, assuming that here is a lot of people interested in history , philosophy, books I would like to ask for recommendations for:
YouTube channels or site related to history, books reviews/recommendations (dev and non-dev related), philosophy.
Thanks. :)6 -
I've started looking into stuffs like GraphQL and Linked Data (though I've used Micro Data before on websites) today and while fiddling with stuff, I found this handy tool:
https://search.google.com/structure...
I'm trying to create JSON-LD data and it's really helpful to have something validate my test data 🙂 -
Those of you who wants the bleeding edge of technology, here's the one for YouTube:
https://youtu.be/addme/...
This unlocks the sharing tab on YouTube's mobile app, like in the screenshot below. Make sure you are on your mobile device.
Enjoy sharing! :D
//Oh right, it's supposed to be a rant -
Gosh I hate when I ain't in the new technologic stuff already 'ghah 😡 😋1 -
I keep getting emails from people I don't know that are like conversations, leading me to believe they aren't sent to the rightful owner. Most of the time, I see the email has uppercase at some places (when mine doesn't).
I just wish the companies could put a mark somewhere in their page when entering an uppercase email that mentions the fact that it doesn't change shit, getting really annoyed from receiving these mails not directed to me 😒 -
I have multiple ones, my uni has for one several amazing professors that I admire. Then there's there's the classics Thompson, kernighan, djikstra et al. T.A.D, uncle Bob and last but not least Stallman
All of them has provided insights, knowledge and a better way to view code and software -
So I was building opencv some time back.
Nice enough package, like most python linked packages I'm finding though I know you can use it via c and its meant to be but why would you want to ? .. it contains a whole bunch of half finished crap that is actually useful in part including the capacity to tear apart video files and manipulate frames one at a time and then rewrite them back to a file. about the only lib that's easy to use that I saw that does that. hell I can even compose my own video frames. also the only other lib I saw that does that thus far.
so...
I post a bug, because of FUCKING CMAKE NOT WORKING. not conforming with the well thought out build environment that most GNU style c packages use.
you know like when you need an upstream source package to build the code, or a downgraded package to build the code and don't want to fuck up your host environment so you have to specify a bunch of lib paths and the like so that ld and gcc work correctly etc etc etc from your custom build location and so you can later use these same values to find the compiled lib and build software against it.
fucker closes my ticket saying i hijacked the c environment................
no.
its because cmake sucks.
they're using and i don't know why a module specifically written to find libtiff.
specifically written but doesn't find the only source on my system that provides tiff which my env variables point directly to !!!!
lazy fucking cocksuckers !
I want to code a solution this issue.
something that translates ac files and am files and cmakelists into something intelligent and easy to follow that doesn't sacrifice the flexibility of make and gnu shit and unfucks cmake based projects !7 -
What do you think about Udemy?
And if you took it, which courses did you find most useful - not only related to programming/development but in general?
Thank you in advance. :)3 -
What container/virtualisation technology do you guys prefer?
Also I've been thinking of picking up either k8s or docker, mainly docker for ease of deployment or do you think it's wortb learning both perhaps? I do know they have a bit of different use cases6 -
I believe that there's some evil dark magic in the BEAM that detects if the user or developer is on a non *nix machine and then purposefully throws all kinds of strange errors or just fucking blows itself up for no reason. Take the shit to a *nix machine and it just works like magic and is easy to work with which is part of the reason why I love it and the ecosystem.
-
Does somebody know Cognos TM1 from IBM and TM1 perspective...
Designing front ends with excel???unbelievable awful!!
Dear internship,Why you do this to me?????
Luckily my new real frontend developer internship starts in June 👍 -
Anyone know why the fuck ld would fail with undefined references on a file it's told to include by wildcard? Do I have to manually order all these fucking .o files?6
-
I need some recommendation for Web UI components framework which could be relativity easily integrated/used on Play framework web application.
Something like Primefaces or old Richfaces (but those are for JSF).
Thanks in advance. :)2 -
I need recommendation for site/community to improve my (clean) code style?
And, in more general, what are your ways to improve code style and programming way of thinking - more oriented towards bigger picture of application/systems (patterns, architecture, etc.)?3