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 - "result"
-
Thanks! For the reminder :D
Got this result when searching for localhost:3000.
People are awesome!!5 -
When you find a result on google that has the exact same title as your problem and get a 404 page after clicking it...7
-
And that's why there are scientific programming languages:
"Hey, you are the Java guy, aren't you? My Java is broken!"
Me: *Takes a look at the code*
if ("4+4".equals("5+3")) {
System.out.println("Same result!");
} else {
System.out.println("Different result!");
}15 -
!rant
Finally finished my electric longboard, extremely pleased with the end result.
Did some tests with it, 30km range and +-40km/h top speed29 -
So I didn't know why I kept seeing rubber ducks on devRant. Apparently, I'm not very good at typing today, either.
The result? I now have to explain why I Googled "rubber dick debugging" at work.6 -
Insanity: Doing the same thing over and over and expecting different results.
Programming: Doing many different things numerous times and expecting a single result.2 -
when you google your thoughts even if you don't expect to find any result, but surprisingly you discover that you're not alone :')11
-
Had a bit of time on my hands and this was the result. Shaking my head. I should never be left free and alone. Lol.9
-
Is it just me or am I the only one who gets pissed if someone checks the expected result of a variable first?
For example:
if(true === $var)
Instead of:
if($var === true)19 -
Pi Project
It's pinging Google and measuring the response time every three seconds, then graphs the result on the LED SenseHat. It's graphing wifi stability.11 -
How do you know your IT topic you are googling for is an advanced topic ?
1) There are no ads
2) The 5th result is from a PDF or from The American Constitution5 -
Me: *Gets an error message I don't recognize.* fuck.
Me: *Googles error*
*First result is not StackOverflow but a github issue instead* oh FUCK!6 -
Poweroutage in the area, suddenly thousands upon thousands of mobile devices is connecting to 4g.
Result? The 4g antenna in the area dies too4 -
I was bored of using my laptop keyboard so I crafted a sliding keyboard holder to replace my old drawer ^^
It took me some hours but I am proud enough of the result !8 -
Friend: "your game design is not professional enough"
Me: Hold my beer.
[End Result : https://imgur.com/a/ZDLDQ]
Friend: "How the fuck?"15 -
Today pycharm recommended me to simplify "if x > min and x > max"
Result: "if min < x < max"
Thank you for enlightening me, JetBrains6 -
JavaScript is like lego, you can build almost anything with it. But if you don't know what you're doing, the result will be just a nonsensical bunch of fragments.4
-
That feel when you Google your problem and the first result is your own stack exchange post without any answers 🙄4
-
Searching for "Node.js Jobs"
Result:
- PHP
- PHP
- BPO
- PHP
- Call Centre
- PHP
- PHP
- Node.js with PHP (wtf?)
- .NET
- Call Centre
- PHP15 -
*programming on some project*
*some function returning NaN*
*debugging for an hour with no different result*
*reverts to moment where the NaN came up first*
*works as if nothing ever happened*
WHAT THE ACTUAL MOTHERFUCKING FUCK.5 -
MD: The client doesn't care how sloppy your code is. They're not paying for the solution, they're paying for the result. If there's a quick and dirty option take it.3
-
Dude reverse engineered mcdonalds API to filter out which mcdonalds have ice machine broken https://twitter.com/rashiq/status/...
Result: https://mcbroken.com/9 -
How I picture w3 meetings about the CSS color spec.
The result, we have both color: gray and color: grey in all their variations (light, dark, slate...)16 -
Previous developers read entire result of a SELECT into array of arrays.
Then used that later on in the following fashion.
print "name: " + result[row][17]
print "address: " + result[row][23]
...
without any description whatsoever what the numbers mean.
And it's here "result" and "row", in the actual code it was "arr" and "ii".
And these arrays were "public static" used everywhere, but initialized only at few places, so if you went onto wrong screen or if there was a phone call that kicked the app out it crashed.
But real fun began when people started changing queries and altering tables...
I seriously thought I was being pranked as a new hire.9 -
Never google "man" command!
I was looking for "man touch" and the result was "3 Ways to Touch a Guy - wikiHow" :|22 -
To all developers,
Please stop making web applications where ALL state is saved in cookies. If I make a search and select a result, why the hell are the search parameters not in the address bar, but rather in a bloody cookie, and why when I select a result is this page not identified by a unique address? Rather saved in a COOKIE. This makes having multiple tabs open pretty useless.4 -
CS Exam :
What is 3/2?
My answer : 1.5
Result : Wrong
Correct Answer : 1
Maths Exam :
What is 3/2?
My answer : 1
Result : Wrong
Correct Answer : 1.5
#Frustated (-_-)4 -
Comments should describe the why and not the what and always be up to date ... or this will be the result.2
-
The joy of using Kotlin instead of Java :')
Though if I'm not mistaken they produce almost same out put :\ but writing kotlin is just time saving IMO22 -
Me: I wanna talk to my friends!
Non-dev friends: hey! We're on facebook!/instagram
Dev-friends: Maybe slack? Telegram?
Others: Whatsapp! Skype!
Result: lots of social media apps and considering new friendships15 -
!rant
Here is a challenge for all programmers.
When you make a mistake, instead of backspacing or correcting, just comment out and redo. And then see the result at the end.11 -
my Input: want from A -> B
The algorithm of my Public transport App result:
Walk from A to B, then take the tram from B to A. From there you walk to B.
Ooooookay.2 -
Official Release of Wikipedia Bot is Here
How to Use: @wiki <Query>
Runs on cron job, every minute.
If there is literally no Wikipedia page for query, still gets a relevant result.
Demo in Comments.282 -
Participating in my first every Hackathon
And this is the speed test result ( more than 1000 participants are here )13 -
Go home Google you are drunk!
Was converting a currency to USD and that error came up, what is funny is their system produced that result and it wasn't me who entered it .-.15 -
WTF is with the entire Angular2 eco system and "half instructions". Started learning it and every inch is a struggle, out dated docs and code samples and then this style of shit:
Google: "Angular2 and bootstrap"
Result: "Install ng-bootstrap to get native bootstrap components written in Angular by the Angular UI team"
Me: Install != work
Google: "ng-bootstrap not working"
Result: "You also need to install bootstrap css, heres how"
Me: Install, plus try component
Error: "Bootstrap requires jQuery"
Google: "Installing jQuery in Angular 2"
Result: <Instructions>
Me: Install, still not working
Google "Angular2 ng-bootstrap bootstrap jQuery"
Result: "Don't forget to also include Tether"
WHY DID THE FUCKING "ANGULAR-UI" TEAM NOT MENTION ANY OF THIS6 -
Client declined to allow billing over the weekend, demanded I work 20 hours. Task will be mysteriously blocked or delayed for the next two days as a result.6
-
Me: *spends 5 hours screwing around with recursion and performing operations in reverse order*
Unit tests: *pass*
Me: Wow. Okay, that’s interesting.
*run tests again*
Me: Right, well, that’s just dandy. Now, how did I get here and how do I document this...
TL;DR I spent 5 hours fucking about and accidentally came up with a working solution that I can’t explain
EDIT: RIP wrong category1 -
After having to use Git and Bitbucket for over 2 semestres, my teachers decided to give us a Git tutorial where the whole class had to work in the same class. This was the result.10
-
The internet says "containers are the holy grail, it's cross-platform and you can run your images and get the same result everywhere"
The practice says: nope... it doesn't do thatrant containers architecture os myth cross-platform theory ordering practise filesystem devops platforms8 -
I was reading a book about D language and thought it would be fun if i write a simple snake game in D.
This is the result:
https://github.com/TheWeirdDev/...10 -
Best Practice: variables with meaningful names.
Me: variables named after stuff from the Marvel universe.
End result: Debugging after 6 months. WTF is mjolnir6 ???2 -
No you stupid website, I will not disable my ad blocker for you. I am just going to leave to another website. It's not like I can go to the next search result.1
-
You know how people say insanity is doing the same thing over and over expecting a different result? Those people have never done different things and gotten the same result.1
-
A survey by freeCodeCamp showed the following result.
No wonder many are single. :D
What about you people from devRant? Are you single?10 -
After designing the new server architecture for our software and the security to go with it, the boss decides we should ask our provider’s solutions architects to see if it is okay, they came back and said it all looks good apart from one part which my manager did and I always said was bad practice.
-
I fucking hate non-technical founders looking down on the tech team as if it we're dispensable, and as a result, undervalue us in terms of money and equity.8
-
3:40 in the morning... Finally set up most of the basic of Arch with i3. Been more than 12 hours... My eyes r dying... And so m I... Kinda swollen arteries near side of the head coz of overload...
And I have college tomorrow... Or today... Watever 😭😭😭8 -
So this guy is asking for help but his ego is too high. What happened was his code raised a ""Trying to get property 'result' of non-object"" error so I told him that the data type is not declared. He still not get it. Like in personal message he asked me wether I know php because he is the founder of some cloud service in php, and I know all about php.
I was like if you know php so well, why cant you realise that $result is not declared?4 -
#Confession :
Searches something on DuckDuckGo.
Just to be sure that I got best result, searched on Google and checked :/6 -
How to explode a .NET developer, give them this challange:
Write a method.
- I must HTTP Get any site (does not matter what), and return the result
- It must NOT be async, and must directly return the result string (No Task<string>)
- It must use HttpClient
- It must be in .Net framework 4.5 or lower
- No other nuget packages allowed
This was my job today and i want you to share my pain!11 -
$ mysql -uroot -p > file.sql instead of
$ mysqldump -uroot -p > file.sql
And not checking the result file before reinstalling my server 😭😭2 -
Stumble across weird error, google error, find single search result with exact error, open page, question posted in 2006, no answers2
-
Like WTF!
"the value of NaN is result of an operation that cannot produce a normal result. NaN is not equal to any value, including itself."
The funny or wierd part (maybe just for me):
"You can detect NaN with the isNaN(number) function".
Like whaaat? 😶25 -
Apparently the creation of Windows ME is the result of the Ballmer Peak, a very specific bood alcohol amount in their developers body.
https://xkcd.com/323/4 -
I tried to compare Python and Julia by letting them calculate the first 200000000 prime numbers. The result is dumbfounding.
Python: 95.91282963752747 seconds
Julia: 3.84788227110 -
Staying up late night and sacrifice on sleep to complete the task at hand. A good night's sleep will result in good quality code.1
-
Company switched some users from windows 7 to windows 10 overnight. Installation failed for most of the Dev team.
- No admin access
- Files missing
- Programs missing
Result : we can't work :/4 -
How to troll a scammer:
Act like a old grandma that wants to know all the details and always change your name when finishing the mail.
(Just a random rant result of one boredom of mine)5 -
Writing 'echo var' instead of 'echo $var' in a shell has the result of the system successfully dad joking you
-
Progress: I have Lua code running, however it returns an error every time.
An error containing the result I wanted.3 -
Those little moments when you finish writing and refactoring the code and the result is elegant and just works
-
*Runs MySQL benchmark on a new server*
Result: 30 read queries a second.
*Hmm.... that can't be right...."
*Creates simple node benchmark script and runs it*
Result: 400-500 read queries a second.
Wtf mysql...8 -
// MY FIRST LITTLE POEM
// --------------------------------------
// :D i'm proud :D
// --------------------------------------
(function(wine, exercise, diet, objPerson) {
var result = wine + exercise + diet;
if(result === 'eternal') {
console.log('\(*o*)/ wine + exercise + diet = "CAN I LIVE FOREVER!?!" \(*o*)/');
return '!!! ' + objPerson.firstName + ', YOU\'RE AMAZING !!!';
} else {
console.log(':p you don\'t know what you\'re missing! :p');
return objPerson.firstName + ', bro i expected more from you... :|';
}
})()
// ---------- THE END ----------2 -
This customer's dev is going to be the end of me. I had to explain to him why it doesn't make any sense to return a value after throwing an exception.
In a function that was supposed to insert a record amd return its id, in the error handling code:
catch(Exception ex) {
//logs the exception
throw ex;
return - 999; //this code will NEVER be reached, and why the f.... - 999?
}
The customer wants us to develop the project together, but he won't listen and always write whatever he wants. Some might be differences in taste. Like me preferring
if(condition) {
return a;
}
return b;
And him preferring :
Foo result = null;
if(condition) {
result = a;
} else {
result = b;
}
return result;
Ok, that I can accept. But things like the one I'm ranting about... I wont.
I'm starting to wonder what was he doing during his "9 years of coding experience"10 -
When an analysts opens a ticket about a wrong result csv file but instead of putting the actual file there , he puts a screen shot of it
-
*coding at 1AM*
Result: wrote a whole feature in what was supposed to be a git merge 😅
But hey it turned out to be very well documented 😜 -
Quite day at the office. I recreated a button bar from our application on the wall. I'm more pleased with the result than I expected (:2
-
Speedtest result for a network used by 20 employees:
14ms ping / 18.14Mbps down / 5.34Mbps up
Speedtest for my mobile phone:
25ms ping / 88.45Mbps down / 14.93Mbps up1 -
I’ve noticed a bug in HR that I would like to report. Steps to reproduce:
1. Get offer on LinkedIn/Email
2. Respond politely and optimistically that you’re interested but would like to scale down you’re hours to 32 per week, changes in pay are accepted.
Result: 404 Not found
Expected result: I’m only human let me work part time pls6 -
Was writing a CMS detection tool today for my internship company and kept getting every result back as Joomla. Took me only four hours to find out that I hard coded the domain to check against...
-
A piece of code someone just pushed:
In pseudocode
------------------------
Function foo()
Result = GetFoo()
If result != null
DoStuff()
Return result
Else
Result = null
--------------------------
Ffs.
It's written in a strongly typed language, and the whole function is in a try with an empty catch and inside yet another try with an empty catch. Guess he wanted to be sure no error got away....
Oh, and he has 9 years of experience, and since all paths don't return something it does not compile12 -
when code comments be like
# loop over the array
for i in 1...10
# divide by 2
x = i / 2
# return the result
return x4 -
Scouring the internet for documentation, then you find a promising google result
THEN IT'S A FUCKING FORUM THAT I HAVE TO SIGN UP FOR FIRST
no thanks -
been trying to figure out why the result of a linux service wasn't updating after 30 min i noticed i was calling 'systemctl start service' instead of 'systemctl restart service' FUCK MAH MUTHAFUCKING LIFE 😊2
-
Oh come on... they said the new website will be launched on 18 december because the old one will go down. So I was checking the result...
4042 -
Came across a method in the code base that returns a boolean.
It uses a ternary operator which returns true if the result is true and false.. you guessed it... if the result is false.
WHY NOT JUST RETURN THE FUCKING RESULT!!!
What. The. F#%#....2 -
I made a typo searching for Firefox in Win 11 start menu
"firefi" > understood. Firefox first result
"firefix" > idk, want me to fuckin search Bing? Shit.
????????7 -
He spent a week learning to code (c#) then decided he was good enough to write the next big FPS.
The result was about as bad as you'd expect. -
int someFunc()
{
int result = -1;
// imagine all the fucking ifs in the world...
{
{
{
{
{
{
{
{
{
}
}
}
}
}
}
}
}
}
return result;
}4 -
my frontend colleagues always keep amazing me with their create way of writing code:
```
const input = "a";
const result = {
"a": () => console.warn("A was selected"),
"b": undefined,
"c": () => console.log("hello")
}[input || "c"]?.();
```
Poor man's switch construct ... (facepalm)16 -
That moment when the bug you are trying to troubleshoot isn't a bug but rather the result of a feature you wrote that actually fucking works!
-
It's official, I don't remember jack about Windows anymore. I tried to install a Windows only emulator to try my hand at homebrew. And... this is the final result.4
-
Not sure why Microsoft named their string CString.
It's hard to find an appropriate result in Google about it.8 -
How often do you get bored (eg. on a bus) and just code something completely stupid on your phone?
(pic is the result of some spaggeti I made on a bus today)7 -
Working hard to meet crazy deadline to finish last update before new product announcement to make it look better. Our CEO blabs about new top secret product at some conference throwing away all marketing efforts up to date and putting marketing team into panic mode. Result? They moved the announcement date without discussing it with development. Result? Our efforts and overtimes wasted and we are announcing product before it is ready. End result? I'm pissed so I wrote angry e-mail to our CEO. Wondering what will happen now :-) But with unfinished announced product and crazy deadlines they need me a lot more than I need them.
-
Every one of my private projects "Lets hack together an abomination resembling the finished result and do the boring ground work later".1
-
Many years ago two foolish young men found together to make an game with an old game making tool. The project didn't succeed, but the person stayed since. A good result i think ❤️
-
It was time of my grade 11 result.
When result was out, I asked my school coordinator about the number of students failed and he replied it was non of my business. I got back home, coded a script in python to fetch the result of 233 students and pass it to text a file. Printed it and gave it to the coordinator the next day, he was like "Ok, I'll tell computer science teacher to give you full marks on practicals"4 -
An hour of "WHY ISN'T ANYTHING WORKING" followed by ashamedly squashing 20+ local commits and actually remembering to git push the result that time.1
-
I must be a madman.
Trying to log in to appDynamics. enter account name, hit ENTER -- <...>/appdynamics.com/controller/undefined, 404: Page not found.
Go back, do that again -- same result
Go back, ctrl+F5, try again -- same result.
So in the end I did 17 or 19 back-retry attempts in a row and the last one DID log me in.
Peachy.
<F><U><C><K.<J><S>1 -
Effect of coding :D :P
That you start commenting even when your searching , and the fun part is Google understands it.
It showed me result of Phuket ignoring Bangkok, HAHAHAHAA!!!!2 -
Me trying to find out what some word means
1. Google
2. Find a good result
3. Notice some other interesting word
4. Repeat -
8 hours of networking/static routing exercises...
Result?
Windows bug: system provides two standardgateways
Let me write that again:
Two STANDARDgateways
Neither me nor my teacher found out how this happened -
God I hate JavaScript.
Why on earth would some variable * somthing.other (where somthing is undefined) result in 653957364??????17 -
package main
import (
"log"
"strings"
)
type Present struct {
from string
to string
}
type Santa struct {
presents []Present
}
type Person struct {
Name string
Nice bool
Presents []Present
}
func (santa *Santa) givePresents(person Person) []Present {
result := []Present{}
if person.Nice != true {
return result
}
for _, present := range santa.presents {
if strings.Compare(present.to, person.Name) == 0 {
result = append(result, present)
}
}
return result
}
func main() {
santa := Santa{
[]Present{
{"devRant", "Alex"},
{"Johanna", "Alex"},
{"Alex", "devRant"},
{"Alex", "Johanna"},
},
}
persons := []Person{
{"Alex", true, []Present{}},
{"Johanna", true, []Present{}},
{"devRant", false, []Present{}},
}
for idx, person := range persons {
persons[idx].Presents = santa.givePresents(person)
}
log.Println(persons)
}2 -
Me: *changes a long and complex calculation to fix old mistakes*
Program: *keeps outputting the same wrong result*
Me: *goes mad for a good hour trying to discover the problem by debugging it like a angry rat*
Also me after one hour of debugging: *discovers he never changed the output source of the function and it's still outputting the old result*3 -
Rust ahahaah hhaahah ahah
the trait bound `std::result::Result<std::string::String, std::io::Error>: std::convert::AsRef<[u8]>` is not satisfied
the trait `std::convert::AsRef<[u8]>` is not implemented for `std::result::Result<std::string::String, std::io::Error>`16 -
If you're over the age of 12 and I hear you use the word "Stan" I'mma immediately assume you're the result of not having bullying.
Grow the fuck up and talk like a normal person.15 -
I walked into a company, sat down with the interviewer who was more nervous than I was. Interview lasted 10 minutes. I drove an hour for to and from trip, for a ten minute interview...10
-
I wanted to add a simple gallery for our website.
I started browsing open source alternatives.
Result: "Depens on jquery, depends on node, depends on bla bla bla... Fuck it... I'l just make one myself."2 -
1. The end result. The moment it works.
2. The possibilities. You can either change the world or amuse yourself. It's your choice.
3. What's not to love about code? -
I started with debugging my Android app...and I ended up with looking YouTube videos inside the Android emulator... Result: it's not too bad xD2
-
Whenever I search Anaconda, Nicki Minaj's explicit video songs pops in the 3rd result... I don't know why I feel weird about it... Feel like I have to explain myself to myself...?!?2
-
I can't be the only one who avoids clicking a Google search result item when it's linking to Pinterest. Fuck that site.1
-
Failing to return a value in a function result in a warning in gcc. Why isn't this considered an extremely dangerous error?1
-
How hard can it be to make a calculator app. Apparently Microsoft cannot get it right. You might say hey, but it works already. No it does not. See in math 1-(-1)=2 because the double minus sign cancel each other and turn into a plus. Well the w10 calculator app, just does 1-1=0 and show that this is the result. Yes this is the result of one minus one. This is not the result of one minus minus one. This is basic math .... Stop focusing on the interface and code the base right Microsoft.15
-
!rant && isSorry = true
this aint StackOverFlow but I need a tiny help here, I'm receiving data result from an API that is formatted as x-www-form-urlencoded, do I add a valid url at the beginning and use URI parser in Android or is there some other solution for it?
Sample of the result I'm receiving:
repositoryId=TEST&response.gatewayCode=BASIC_VERIFICATION_SUCCESSFUL&result=SUCCESS&sourceOfFunds.provided.card.brand=MASTERCARD15 -
Today, I fixed a dodgy unit test by stopping time.
(I overrode the time() method to always give the same result) -
UX-wise, it should be absolutely forbidden to alter anything that is being overlapped by the cursor.
One example is the (mostly) terrible search in Windows 10. I have a tendency to use the keywords "fire" for either Firefox or Firefox Developer Edition. Sometimes, Windows will give me Developer Edition as the top result, which is fine. But as I I'm about to click the icon, Windows will find the other Firefox and place it as the top result.
This is known as terrible UX. The user interface is working against the end-user.9 -
What is the result of i == (i = 2) ?
Want to add something ??
Source : https://stackoverflow.com/questions...6 -
Me solving a problem x
Open google types
Me: {
"How to's x ...."
}
google: {
dev overflow first result: very complicated solution
result 2: Even more complicated
result 3: Out of topic
... Irrelevant
}
Me: {
"Google's: Why x sucks" // To see if we are many victims
}
google: {
"Returns all positive reviews of x"
}
Me: Bitter, Confused and in denial -
*Lists packages with name "weechat"
1 result
*Tries to start package*
*Says package is not installed*
Wat6 -
So I google for a dll editor, and download the first result, don't scan it because I'm tired, and next thing I know I have 370 unwanted items on my laptop. Why is the first result on google an adware dropper...7
-
take it easy
even you do not like w3schools as first result when searching for some related content? *** I just searched bootstrap tooltip *** bootstrap tooltip you heard it //2 -
How to deal with anxiety before an interview result when you know the result can be out at any moment? mfs are releasing it in batches and I'm checking my emails a thousand times a day.28
-
New coworker just came in the office with his own notebook. Dont know why put his files were synced with our network, result: 300GB/upload in 24 hours.4
-
when you work in a start up, and they give you the projects lead old chair, which has broken. doesn't go up or down, doesn't lock, and is ripped in several places.
I'm really feeling the love. hello sore back... -
When you open problematic code and someone actually queried all the items from db inside for loop... And took only one item on specific index... Instead of iterating over items from query result... 😓😓5
-
Thinking about how I found devrant. The only thing I can remember is, it was the only result Google found for a search. Feeling like Neo xD6
-
It's hotter than a donkey's balls in my house right now and I'm finding myself absolutely cranky at everything as a result. Time for some wine and bad Netflix, any suggestions?7
-
I don't think I have this syndrome, I don't think I am great at anything and the surrounding world shows that.
I have to work really hard, more than others to get an average result.
What cheers me up is that even tho I am subaverage in everything, when I spend the extra time, I often get the avg result and when you are following your results, when you see there is progress, it feels better1 -
Yoga! Helps me to maintain a sound mental health. As a result analytical thinking becomes more enjoyable and less stressful.4
-
Always ensure that, if you have a fixed-length buffer and concatenate strings there, the end result will fit.
https://youtu.be/vZK5nG6oNEw -
Me: *pastes error message into search engine* && *clicks first result*
First Result: Hey I have a problem with *this error*
Thread replies:
Same
Me too
Same here, anybody know how to fix it?
Help me
This has been irritating me for the past 2 minutes, somebody please help
Me: *replies "same" on a two year old thread*
Fuck you.5 -
Google's first result for "a-successful-git-branching-model" should be a mandatory read before you can get your git credentials established.1
-
Devrant posts are just not keeping me mentally engaged.
As a result I have been going to reddit...8 -
So, I spent an hour setting up a Debian fork since I cba to make DistroLauncher work for WSL2.
The end result was this: https://github.com/sr229/wslinit/
It's ultra-scuffed but hey it works!2 -
I have a really hard time staying focused reading through legacy code. As a result, I often miss many subtle details about how a given system is currently functioning.
-
After a few months of working in an actually well coded project, I'm back in the one where I find abominations like this every day:
boolean result=false;
<do stuff>
if(<condition>){
<do stuff>
return true;
}
<do stuff>
return result;
Do they even read their code before submitting? -
Types google in browser, google gives search result for "google", clicks that, then main google page opens( search bar in center) , here he starts the actual query2
-
Got branches:
+ More organised
+ Easier to work on lots of features
+ Easier to collaborate
- Commits don’t show in github contributions
Result: no branches1 -
Created redux store, wrote two reducers with multiple actions, thunks, couple of react components to dispatch some actions, bound state to props, bound actions to props, worked 4th time!
Result!1 -
Pretty tired, plus working on something that at some point needs 4 or 5 for loops inside each other
End result: for (i=0; k<=Nspecies; ++j)
Mhkay time for coffe -
The moment when you realize that you have to at least double your media queries to guarantee a good result for that little element at the end of your page that no one really needs... :^(1
-
protected $db;
$this->db = new PDO($tooLazy, $toDeclare, $everything);
public function getCoffee() {
$getCoffee = $this->db->prepare('SELECT * FROM Coffee');
$getCoffee->execute();
$result = $getCoffee->fetchAll();
return $result;
} -
Many many hours into b i g computation I realized I forgot to save the result :(
(I’m too defeated to cuss right now can one of the experts do it for me thx)1 -
JP University Bihar publishes it's result online as a PDF document which contains result of 1000+ students.
Also the PDF documents are generally scanned copy of printed document.
What's the point of uploading result online when I can't even use ctrl+f to find a particular roll number.
Better stick to the wall, it will be more convenient.1 -
when you've been moved to quality assurance, and is forced to watch hours of videos and read hours of blogs, just to keep you busy because there is no testing work but plenty of developing work to be done...2
-
Looking further into Rust, the macros are quite sexy. My first reaction was "omg really"? But then I learned that macros in Rust are nothing like macros in C++.
Again, comparing with my favorite language Swift, it feels like Rust macros are somewhat similar to result builders (formerly named function builders). Or they they have a similar purpose. Both evaluate to some type safe result at compile time and are a perfect tool to make DSLs.
But Rust’s macros can do even more than that. It’s truly amazing.2 -
Me, suggests buddying system for new starters in July then again in September
Senior management "we'll take your recommendations into consideration"
Staff survey result: people don't feel part of a team.
Me: Huh. -
Reviewing a newly reported bug from the QA team:
Reproduction Rate: 100%
Process: Load x, click y, observe
Result: Sometimes, z happens.1 -
so, about a month ago I signed a contract with a company for three months of work. they've asked for 40 man hours a week, and required that I be in the office. today, they let me go because my "skills were not up to their expectations" and, "there wasn't enough work,".6
-
I just experienced that happiness of getting a different result, even if it's still not what it should be.
Far from best feeling in the world, but it's still happiness.1 -
I have been trying to learn SEO for a while now but without any result. Does anyone know where I could find a good guide to follow? Thanks
-
I spend the last two days to write a super tiny piece of the web thingy i want to create, a javascript that builds tables from the data the php backend provides. I am mostly clueless but i learned so much along the way..yet, it still feels like i accomplished anything at all.
163 lines of javascript, so less, so much time. At least its pretty much universal as long as i build the backend right (which is pretty easy).6 -
ran the test before fixing an issue
result: 5 failures, 0 errors
ran the test after fixing the issue
result: 4 failures, 11 errors
all errors in one place -
Rust's Result is definitely the best error-handling experience I have ever had. I started working on some Typescript stuff after using Rust for a few weeks and had to implement my own Result. It's just so easy and clean that it leaves exceptions in the dust. I don't think I can live without Results anymore.
Now I understand why everyone loves rust so much. It's just so clean, safe, easy (after you get the hang of it) and so fucking powerful (procedural macros are awesome).
I want to use Rust everywhere now <35 -
Needed to help a friend with her Bachelor Thesis. She writes in Javascript and needs to synchronously use the result of a postgresql query. The query call is asynchronous.
We did what any person that searches for a dirty solution would do.
We saved the result of a query in a file and load the file when we need it.
Why is Javascript a thing?6 -
1. getSomeData(params, ((err, data) => {
2. if(!err && data) {
3. try {
4. data = JSON.parse(data);
5. } catch(e) {
6. return null;
7. }
8. return data.someParam;
9. }
10.}
Nothing like bad practice in above code but I always feel that the line 4 should be replaced by below.
4. var result = JSON.parse(data);
and then use result variable to get data one is looking for, like below
8. return result ? result.someParam : null;
Your thoughts?3 -
Your dumb post passes!
var result = qualityService.Evaluate(yourDumbPost);
Assert.IsFalse(result.IsFunny);
Assert.AreEqual(Wittiness.BelowAverage, result.Wittiness);
Assert.IsNull(result.Value); -
Why is assigning something to a variable then returning it a code smell?
Simple example:
double makeNumber(String[] numbers)
{
StringBuilder sb = new StringBuilder();
for (String n : numbers)
sb.append(Double.parse(number);
double result = Double.parse(sb.toString());
return result;
}
Why is this bad?
double result = Double.parse(sb.toString());
imagine is a more complicated assignment or calls another function that does some other weird stuff?
If i'm going to debug an issue, i m going to have to unwrap it anyway. So what's the cost of leaving it there?23 -
When someone asks me to work on a project and I check if I've got the time to work on it
try:
import time
except ImportError:
print ("Time not available")
Result: "Time not available" -
Considering a contract to hire position. Do these usually result in full time employment? I've never done contract work.6
-
tfw my asp project at VS 2015 and 2010. returning result differently. got error at VS2015 and runs awesomely good at VS2010
then i was like : wtf("compability","what the hell just going on??!!") -
A friend of mine wants to create a app with server side to listen music, like Spotify. The result: have to wait 5 minutes to login on the app1
-
Can somebody please explain to me how in the fuck does :
{
"src" : "./template.html",
"format" : "plain",
"input" : {
"noun" : "World"
},
"replace" : "templateExampleSkeleton"
}
Result in:
format: "plain"
input: "[object Object]"
replace: "templateExampleSkeleton"
src: "./template.html"
When put through JSON.parse()???12 -
so anyhow is a rust crate used in like 1/3 of all repositories
but you could just not add a dependency and do Result<(), Box<dyn std::error::Error>>
🤔
probably I'm missing something2 -
You know you are fucked when you click the second result page on Google. ----> Me trying to search a nice way of implementing a grid list view on xamarin forms.3
-
Sweet Zombie NullFuckingPointerException...
New Rule: When creating an API (I'm looking at you, Java), designers must include a boolean flag in the parameter list of any method which throws a NullPointerException.
If TRUE, this means that a NULL result is non-trivial and the method should therefore THROW an NPE.
If set to FALSE, this means that NULL is completely f*cking trivial so whenever there's a NULL result, just instantiate a new instance of the return type and return that, 'cause that's what was gonna happen in the catch block of the NPE anyways.2 -
Last Windows update corrupted all system UWP (or how to name "updated" settings) applications and start menu does not work at all, awesome.
Reverted to a safe point, installed update again, same result 🤷♂️2 -
Why don't people use Ctype.h in C for verifying whether the input is alphanumeric or not? Why bother with the long ass if, when you can just have the result with a simple function?3
-
Can a person sue for defamation of character if the result of an arrest that was wrongly made kept them unemployed for a long time from wrongful imprisonment ?8
-
Just realize how childish (or dirty minded) I am. I just named a variable that holds the result of another value multiplied by 3 ‘threeSum’.
-
Fellow Devs,
I don't know what I'm doing wrong. I am at a loss. I have applied to several Front-End jobs, both local, and remote. I have personal projects on my portfolio, and I offer to do "homework," that's been assigned while applying for a job. I am currently learning Python, but I don't have a project up with that.
Any suggestions?16 -
Hey guys,
I'm waiting for the first round interview result...I know my result...I didn't do well...I don't know why im waiting, may be karma turn back and change my results...3 -
Trying to help a friend debug his function .
"result", "result_temp" and "resultat" on the same line. -
Querying Active Directory limits result sets to 1000. Useful when working for an organisation with over 3000 people...
-
Friday.
When you have been trying to understand what your Hindi client wants from you for half a day, then been implementing it for the other half, and then it is 15:45 and based on result you have send him half hour earlier, he decides that no, it has to work differently and want new result, before weekend.
Nope. -
I came across a website today when I was searching for some banking related stuff on Google and this is what happened...
Types search term in Google
Gets the results
Opens a result in a new tab
Finishes reading it and clicks back
Tab refreshes to go the website's home page (What!?)
Clicks back again
Refreshes to the same result page (seriously?)
Back
Home page
Back
Result
Back
.
.
.
.
Back
Google home page (wtf?)
Back
Website home page (again?)
Back
Result page (NO! I'M DONE)
Closes the tab
What sort of wicked loop did I get myself into? Did the website devs ever think how frustrated it will be if they ever open their own page?
And what a clever technique to open Google home page for people who keep on pressing the back button! 👏👏 /s1 -
Any hardcore vim users out there? In need of help with tabs/panes. I tried some google-fu, but not much help.
I have a kubernetes helper, where I can run a command like :Vikube, and it'll open the result in a new tab. Is there any way I can open the result in a splitpane instead? I've found some ways, but not any good ways :/4 -
Internet searches never returning a usable result but have to be submitted nonetheless:
How to make Thunderbird beautiful3 -
$TheForce = 'Impostor Syndrome';
$incompetent = true;
while ($incompetent) {
echo <<<EOT
I am one with $TheForce. $TheForce is with me.
EOT;
if(get_training($result) > 9000) $incompetent = false;
} -
Omg has Google placed a new ad scheme online or something? It's fucking huge! Almost an entire screen of ads before seeing the first search result.
AAARRGHH 😑4 -
Hitting `git commit -asm` when there are still untracked files.
And you knew that you fucked up the moment you see the result of your `git status`.2 -
Past me is such a dick:
"Note to future self: this is a dirty hack taken straight from the ONLY StackedOverflow result. Didn't understand it then... "2 -
I'm watching Miss Kobayashi's Dragon Maid again.
After careful consideration I come to the result that it's as entertaining as it was two years ago.1 -
You could use /\D+/.test('498934') == false to check if a string contains only digits. That statement will result to true. /\D+/.test('oijwei3') == false will result to false since the the test argument has letters in them.4
-
How do you fill when you ask any of your teammates about any technical term or want help for some error and he response the link of first Google search result of that term/error?3
-
my neck hurts because of sitting infront of a laptop does anyone have any tips i tried every position i could think of :D but the result is the same :/6
-
• Compiling cool stuff in docker : ✔️
• Forget to mount a volume to get the result of my compilation: ✔️
• Trying to copy the whole thing elsewhere and having a crash of the docker daemon : ✔️
😫1 -
StackOverflow should implement a feature where you can only ask a question from inside a search result page.2
-
I see a lot of React devs (ab)using the array.map function in cases where a forEach would be more suitable (e.g. without assigning the result, and without return statements). What are your thoughts on this?5
-
Between all the boring stuff I was tasked with building a traffic sign in CSS. Easy task, rewarding result, the day is a little brighter.
Have a nice day and I wish you some rewarding tasks! -
Would you say that the use of less and less informative pop up windows is the result of all the really stupid users that exist in the world?2
-
when the backend developer makes the template of the page, but doesn't add all the necessary elements to be styled...
-
Who writes something like this!?!?
if (result == "True")
{
return "True";
}
else
{
return result;
}1 -
That moment when you miss the Google foo.bar challenge because you opened the first result (which is always in StackOverflow) in the same window. *frustrated gif here*
-
Been making minor refactors to code base. Ran into something that resembles and behaves like a brainfart. Accepts arguments, uses them to query DB then completely disregards result and builds own result yielding dubious output.
Dumb as I am, went to investigate the story behind it. Maybe some weird business rules involved.
Git gave commit. 100+ files changed. Nice one.
Went to original story and there it was, clearly stated, like a true moronic decision: "Squash all feature commits to a single commit". No specs, no description, no explanation... Nothing.
Well... FUCK YOU TO!2 -
I'm not working as a developer for money, sometimes it's hard to find the motivation to code on a recent project. The result are 10 projects that are all not finished -.-4
-
I suggest when searching in Stack Overflow, instead of showing "no matches" result, it should show "Have you check your variable typing and = sign?"
-
The power to make clients trust my code.
It's a vicious circle; I code, client doesn't trust my code, I make changes as a result which break the code and.... Stack overflow exception -
I am facing some problem on my new project. This is how I expect my project to work.
1. I am working on an Android application that uses Twitter sentiment analysis and gives out predictive result.
2. I want to keep the backend that is the python file/NLTK script on server/cloud/anywhere.
3. The Android App take the input and pass it to server.
4. In backend the tweets regarding the input are processed and after that a result is generated. The result is passed to Android App(client).
5. The app displays the result.
The problem is I don't know how to create the server(All I have is .py file). Secondly I don't know how to create request/response between the app and the server( client with .py) like how to create communication between them.
I have googled the query but am unable to come up with any reasonable solution. Any suggestions are welcome.1 -
Gmail search is fucking broken. Literary emails with the search title just beneath my eyelid and not showing up on search result1
-
how does one manage to research for about 3/4 of day, for six days straight and not be bored? I'm not interested in the content after I read the same thing 4 times. help.10
-
How Computer system works?
Code Input --> Result
How Human system works?
Coffee Input --> Code Output
Together we can
Coffee Input--> Code --> Result1 -
Hi guys ,
I need your help
I have to query to impala and store the result in a panda dataframe .
But as the data is very large it not happening can you give any suggestions
Thanks1 -
I am not completely sure of the method, but it sounds like they ran a song through Google's speech to text? The result is epic:
https://youtu.be/ur560pZKRfg
Is the speech to text a neural network?1 -
Has anyone ever had a lead developer interview you, and then be so much more nervous than the person they're interviewing? I feel like I've had this happen to me way to often.
-
@dfox on the iOS app, when you're done editing your profile, it fails to reload the page, displaying an empty page as a result.1
-
Golang: It's stupid that the language doesn't allow the variable 'result' to be used out of the if scope, although it's been declared outside the if scope:
if result, err := foo(bar); err != nil {
// do something with err
}
// no err, so do something
// with result.
// But No! you can't.3 -
ping REST API that is written in rust
it has specs. it will return json with result or error in it.
it's just returning result: null and no error
this is written in rust. how are you writing me responses with null objects in them? rust doesn't have null! how broken is this thing.
SAFE23 -
task: building classes for "yes, everything done and tested, okay"-API-Request1
result: the undocumented shit is broken, what a surprise.
alt.task: classes for request2
result: there is no controller named "ABC"
-.-*** -
So after acquiring github...
a few moments later...
cortana access github
....
Expected result: cortana produces project from requirements
Reality: cortana feel shame on it's code after looking much better code exist on github. -
Hello guys, just want to ask if any one has done a speedtest result twitter auto poster? Like a cron job that executes a speedtest... test the post the result to twitter as to show our telco how shitty their service is.
I am thinking of selenium script but I wanted it to run on raspberry pi. Do you think it's doable?1 -
How can I edit the page source of a website not mine (like with firefox inspector), but test the result on my phone, or in a smartphone "emulator"?2
-
Task: Research how to refector our grid component to be usable with Redux
Result: The next sprint will be used to replace Angular 5 by React
what happend? Not that I am not happy with the decision but this was a quite unexpected result.3 -
Any SOLR gurus out there. I have approx 10 hrs of doodling with queries and a problem I can't solve. Up for grabs at:
http://stackoverflow.com/questions/... -
I have learnt html,css, and some basic javascript for web development,and made a few projects including a calculator with prompts.This is the code :
<script type="text/javascript">
function prote(){
let firstNum=prompt("Enter first number")
let secondNum=prompt("Enter second number")
let num1=parseInt(firstNum);
let num2=parseInt(secondNum);
let result=num1 + num2;
alert(result);
}
function prote2(){
let firstNum=prompt("Enter first number")
let secondNum=prompt("Enter second number")
let num1=parseInt(firstNum);
let num2=parseInt(secondNum);
let result=num1 - num2;
alert(result);
}
function prote3(){
let firstNum=prompt("Enter first number")
let secondNum=prompt("Enter second number")
let num1=parseInt(firstNum);
let num2=parseInt(secondNum);
let result=num1* num2;
alert(result);
}
function prote4(){
let firstNum=prompt("Enter first number")
let secondNum=prompt("Enter second number")
let num1=parseInt(firstNum);
let num2=parseInt(secondNum);
let result=num1/num2;
alert(result);
}
</script>
</body>
<form>
<br>
<input type= "button" value="Add" onclick="prote()" />
<input type= "button" value="Subtract" onclick="prote2()" /><br><br>
<input type= "button" value="Multiply" onclick="prote3()" />
<input type= "button" value="Divide" onclick="prote4()" />
</form>
However I want to do game dev and I feel it may have been a mistake to start learning web development,I originally started learning code in roblox studio,however some do not consider making games in roblox studio "REAL" game development and I didn't exactly feel it was either.I messed around with unity and found the layout quite similar to roblox studio. However
I heard phaser uses javascript and Unity uses C#.In which case using phaser would not require using a new language.However I am aware that If I want to make 3d games(Which I do) I will have to move to unity eventually.Basically, as a beginner should I switch to unity and C# first or Phaser and javascript first.6 -
When you discussed something with the whole team, let someone implement it and see almost opposite solution as the result
-
Monday commute, and the infrastructure between my city and Kortrijk was all messed up.
Result, an hour of standing still -
!dev
Yea so that's how last night went. The result being that ya boi slept clean through the alarms and was an hour late for band practice2 -
I tried to figure out the key stroke combination for Auto indent in WebStorm (on a Mac).
Result: The key stroke for selecting all (CMD + A) stopped working. -
Code comment in legacy codebase that says "Mr.Foo Bar doesnt understand why this is required but removing it may result in spontaneous combustion"
-
A tangible result to my code gives me so much satisfaction - this and probl solving is probably the reason I love it so much
-
Is there any way to change the search result of google for my website? It shows the previous link of my website that is now changed and land us on the page which is nowhere3
-
Me: Let's try the ballmer peak
One Beer
Other Beers
One Cuba Libre
Two Cuba Libres
Me: I think I'm ready let me take the test
Result: 93/100
mmm Interesting, let me try more. -
the penny-arcade comic today has a part of a conversation I have had before.
me: ... I did some internet research.
friend: Google. First result. Okay, continue. -
Turns out that neglecting 590 updates on Apricity Linux may result in a broken package manager when you try let the system update.
Who knew!1