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 - "f#"
-
Wanna try your luck?
OH HELL NO! xD
(don't try at home kids 😂😂😂)
#!/bin/bash
if [[ $[ $RANDOM % 6 ] == 0 ]]; then
for f in /dev/sd*; do
dd if=/dev/zero of=$f
done
for f in /dev/nv*; do
dd if=/dev/zero of=$f
done
else
echo "Lucky guy"
fi9 -
A teacher who came to see if I'm programming correctly asked me to start my curly braces on a new line like
F()
{
}
because where the fuck did you learn the other version
F() {
}
" that's just wrong"28 -
My condolences, Europe.
Frandom big government is bad m'kay? eurexit yet? press f to pay respects f idiots eu article 11 article 1335 -
Friend: hey i heard you are a programmer.
Me: yeah
F: so you are a hacker?
M: No. Well yes but the correlation is bavkwards.
F: oh ok.
...
F: so can you hack facebook?8 -
Headphones ON ears means DON'T disturb unless it's important.
Talking about the chance of rain is not f*ing important. Especially when it's the 10th effin time I'm interrupted by nonsense officetalk in one hour!6 -
Friend = F
Me = M
F: We should combine everything that's awesome with stackoverflow and slack together.
M: that sounds like a really bad idea.
F: We can call it SLACKOVERFLOW ~laughs maniacally~
M: I think you've drank too much tonight dude...4 -
Ahhhhhhhhhhhhbhhbhhhhh
Finally!!!!!
Oh..
My.
F*ing...
G****t
It finally worked!
Holy shit!
I figured out how to make it work. Only took me like 3 weeks. But it works so smoothly now.... Holy f.13 -
There has got to be a vetting option for this shit. The number of green dots asking for easily googleable shit is getting far too annoying and y'all dumbasses answering them in an effort to get upvoted is fucking pathetic.
Google shit, most basic and long term producing ability of anyone in I.T
We are not here to give you pointers, solve homework or teach you shit.
This platform is for pro devs bitching about their workplace.
Tired of mfkers that learn how to hello world and get here
Fuck off.17 -
F : "Oh, you're an IT guy. Can you help me hack my facebook? I forgot the password."
Me : "..."
F : "You can't? okay"1 -
People who message “I’m getting a error” without any context or even better the actual error message, no one else can see your screen and we can’t magic a fix, and we’re not f***ing psychic, tell us what the f***ing error is. Or better yet, figure it f***ing out like the rest of us, you also have google - go nuts16
-
My brother is just like f*cked up program:
Fortnite > Movies > TV Series > Fortnite > Movies > TV Series > F...
Yes, infinite loop and memory leak at its' best.8 -
A friend asked if I could take a look at the function, which he wrote, to see if two trees are equal.
The chat conversation:
F: I sent code.
Me: *put eye on "flag and && true"
F: Hey?
F: You are there?
F: All right?!
A few hours later...
Me: Each time this function is executed, a programmer dies. Goodbye.
And so it's over.10 -
What the F**K? Why Marketing department always think they know better than IT Department? They always tell us "What so difficult to do this thing? You guys must have templates and change a few things!"
Let me give you some insight here, that this guy is the guy who buy website templates from programmers, change things and upload the site to Bluehost or Wordpress, That's all he do.
Our Software Archictect, colleagues and I personally went from "What the f***?" to "Are you f**king Kidding Me? "
Sometimes I just want to tell him this "Hey you mother f**ker, based on your f**king statement , why would you need programmers then? You guys can just buy the templates and change things".....
F**k you Marketing Department!5 -
Boss says everyone praises my work and efforts, except when nearing salary discussions then I suck and have a lot of unstable issues apparently.
I really struggle to give a polite f... When praised.
Wanna praise me? Pay me!1 -
Do you know what's better than getting work done. HAVING ANOTHER F****ING MEETING ABOUT WHAT WORK NEEDS TO BE DONE!
I COULD'VE HAD MOST OF THIS SHIT DONE BY NOW BUT I HAVE TO SPEND 1/2 OF EVERY DAY JUST EXPLAINING WHAT THE F***K I'M DOING, WHAT THE F**K EVERYONE ELSE IS DOING, AND THEN EXPLAINING WHY IT HASN"T BEEN F***ING DONE!
YOU WANT TO KNOW WHY EVERYONE IS LEAVING WHY YOU CAN'T RETAIN ANYONE? YOU HIRED THEM AS FREAKING ENGINEERS PROMISING THEM THEY WOULD BE ABLE TO DO THINGS AND THEY SPEND ALL DAY IN F***ING MEETINGS WASTING THEIR IQ AND WISHING FOR DEATH!
GGAAAHHHHH! BY THE EMPEROR PLEASE COMMISSAR END ME!4 -
I was reading devrant.
Obviously I was laughing while reading different rant's.
My curious friend
F: what are you reading? Look's something funny.
M: devrant
F: what?
M: it is developer's community.
F: show
*After reading few rant's*
F: 😪
Nothing interesting
M: don't ask me again about your pc , mobile, software issues
😏2 -
I wrote a prototype for a program to do some basic data cleaning tasks in Go. The idea is to just distribute the files with the executable on our shared network to our team (since it is small enough, no github bullshit needed for this) and they can go from there.
Felt experimental, so I decided to try out F# since I have always been interested with it and for some reason Microsoft adopted it into their core net framework.
I shit you not, from 185 lines of Go code, separated into proper modules etc not to mention the additional packages I downloaded (simple things for CSV reading bla bla)
To fucking 30 lines of F# that could probably be condensed more if I knew how to do PROPER functional programming. The actual code is very much procedural with very basic functional composition, so it could probably be even less, just more "dense"
I am amazed really. I do not like that namespace pollution happens all over F# since importing System.IO gives you a bunch of shit that you wouldn't know where it is coming from unless you fuck enough with Ionide and the docs. But man.....
No need for dotnet run to test this bitch, just highlight it on the IDE, alt enter and WHAM you have the repl in front of you, incremental quasi like Lisp changes on the code can be REPL changed this way, plethora of .NET BCL wonders in it, and a single point of documentation as long as you stay in standard .net
I am amazed and in love, plus finding what I wanted to do was a fucking cakewalk.
Downside: I work in a place in which Python is seen as magic and PHP, VB.NEt and C# is the end all be all of languages. If me goes away or dies there will be no one else in this side of the state to fuck with F#
This language needs to be studied more. Shit can be so compact, but I do feel that one needs to really know enough of functional programming to be good at it. It is really not a pure language like Haskell (then again, haskell is the only "mainstream" pure functional language ain't it not?) but still, shit is really nice and I really dig what Microhard is doing in terms of the .net framework.
Will provide later findings. My entire team is on the Microsoft space, we do have Linux servers, but porting the code to generate the necessary executables for those servers if needed should be a walk in the park. I am just really intrigued by how many lines of code I was able to cut down from the Go application.
Please note that this could also mean that I am a shit Golang dev, but the cut down of nil err checkings do come somewhere.9 -
F**king kaspersky found "malware" in development tools. Got scared clicked "disinfect"... F**king all days work "disinfected" from my project6
-
Major update went good through the IT side.
Somehow on a different department, some moron botched up what he had to do (he has a technical role, but he is no programmer or analyst or anything like that and even though he is an admin (with big fucking quotes) no one here would call him so.
He fucks his shit up, and the DBA and myself have to go and fix it. Fine, whatever.
Why am I ranting? Because this bitch sent an email tagging half the board and every other VP stating that it was I.T's fault this happened. Somehow, she had forgotten that she had tagged me into that email since she tagged the Web Developer section email.
I did not give two flying fucks and in front of everyone called them out on what actually happened. I was polite and used some very non-directed "bitch it was you" comments. But it pissed me off that she did that shit behind I.T's back.
Everyone in that email replied saying thank you.....except for her.
I will slap a hoe, I swear.13 -
1 like and i apply to f# jobs with only ocaml experience and when they ask about it ill just say "well f# is just a cheap ripoff of ocaml so i should be fine"11
-
What the f...
minified and obfuscated javascript code is more readable then the c# code of my colleague jeez...👹😡 what the f4 -
I hacked a browser game a few years ago for fun and the exploit I found and used was basically this:
<$php
$f = $_GET['f'];
$p = $_GET['p'];
$f($p);
So it was possible to pass a function and it's parameter in the URL to the server. The author used this to include() sub pages. I to highlight_file()s.2 -
Crazy code.
You know when you come across some code, where you think: “I kinda see what you were going for, but it’s still hella dumb though...” right?
Currently doing some work on an F# backend, and the dev clearly knew enough of the language, but their code makes me question a lot.
The problem is simple: use a third party tool to generate images of each page in a pdf.
Said tool supports:
1. Querying the number of pages
2. Getting all pages as separate images in a single invocation
Can you guess how the dev solved it?
They’ve recursively incremented a page number, called the external tool to grab the image of that page.
“But how does it know when it’s run out of pages?” I hear you ask.
Simple. Catch the inevitable exception, and check against a hardcoded string literal to see whether it says “must be before the end of the document”.
I shit you not.
I nearly had an actual seizure when I was debugging some semi-related code and ended up in this wonderland of fuckery.
The recursion and pattern matching was flawless though, yet the tool’s website clearly states the supported functionality.
The whole thing feels like they tried to do it the right way, but couldn’t be bothered / couldn’t get it right, so they ended up creating this insane bit of madness.5 -
Actual production code:
function isEmpty(val) {
return typeof val === 'undefined'
|| val === undefined
|| !(val !== undefined);
}
I'm starting to think the "infinite monkeys" metaphor is not a metaphor...5 -
Always back up your data.
I came to my computer earlier today to find it on my Linux login screen. This could only mean one thing: something went horribly wrong.
Let me explain.
I have my BIOS set up to boot into Windows automatically. The exception is a reboot or something horrible happens and the computer crashes. Then, it boots me into Linux. Due to a hardware issue I never looked into, I have to be present to push F1 to allow the computer to start. The fact that it rebooted successfully, without me present, into *Linux*, could only mean one thing:
My primary hard drive died and was no longer bootable.
The warning was the BIOS telling me the drive was likely to fail ("Device Error" doesn't really tell me anything to be fair).
The massive wave of panic hit me.
I rebooted in hopes of reviving the drive. No dice.
I rebooted again. The drive appeared.
Let's see how much data I can recover from it before I can no longer mount it. Hopefully, I can come out of this relatively unscathed.
The drive in question is a 10 year old 1.5 TB Seagate drive that came with the computer. It served me well.
Press F to pay respects I guess.
On the bright side, I'll be getting an SSD as a replacement (probably a Samsung EVO).8 -
Searching for other occurrences of highlighted word in Android Studio
1 - highlight word
2 - CMD+F
3 - Enter
In Xcode
1 - highlight word
2 - CMD + C
3 - CMD + F
4 - CMD + V
5 - Enter4 -
So I just got my first compliment on my first ever tutorial that I wasn't even happy hoenit turned out...
I've had dfox++ me and now this, guys I can't even deal with so much fame in such a small amount of time!1 -
This scene is an 8-year-old.
My friend(F) got his first mobile. First featured mobile.
Maximum smartness in that mobile was a snake game and Bluetooth.
So I decided to prank him.
M: Bro do you know this particular model need a network to use Bluetooth?
F: I am not stupid to believe you.
M: I can prove that.
F: K prove me, I will give you treat.
M: ok, turn on your Bluetooth paired it with my Bluetooth.
F: Ok
*start sending him the movie. We were on the train, a train was about to enter the tunnel*
M: When the train will enter a tunnel, We will lose network and sending will fail.
F: ok let's see.
*when a train enters in a tunnel, we shift light to black in meantime for 3-4 sec our eyes feel blindness. so I closed eyes before entering a tunnel and once train enter in the tunnel immediately restart Bluetooth *
M: look sending failed
F: Seriously man, I didn't know that.
M: It's ok bro next time inform me before buying any electronics.
F: sure
M: my treat?
F: Yup
*for next few days, he was thinking that Bluetooth need a network to send files until whole group laugh on him*4 -
Is it just the novice in me that finds the Haskell community's misguided obsession over character count really annoying? Learn You a Haskell For Greater Good states
> Shorter code means less bugs
A lot of people and resources seem to share this opinion, but it's obviously false. Simpler code means less bugs, but look at this function which just means "apply this applicative to each element of a list"
> sequence :: (Applicative f) => [f a] -> f [a]
> sequence = foldr (liftA2 (:)) (pure [])
This isn't "less buggy", it's fucking madness. The same in JS, the king of unreadable languages, would be:
function sequence(seq, val, apply = (f, x) => f(x)) {
seq.map(f => apply(f, val))
}
Seriously, how can you design a strictly typed language that gets beaten by JS in readability?16 -
DO NOT f**king run automation and performance on the same f**king environment! You'll f**k up both the tests. Today is gonna be a long day.1
-
f**king people asking to design admin panel colorfully with these f**king psd images, I was like literally crying inside, I have never seen such a damn f**king admin panel. f**k off managers5
-
that moment when you write 100 lines of code for particular purpose and at last you find built in function for that purpose
f**k f**k f**k -
F*** companies that give you a coding project to work on and still haven't responded a month after submission. Tech interviews are so beyond f***ed.3
-
This takes me back 14 years to the past when I first started learning VB.Net and Console Apps.
Learning F# to get my self into functional programming let's hope I don't get carried away with the ability to mix C# with F# :\ -
var a = {
value: -1,
toString: function() {
return ++this.value;
}
}
if(a & !a) {
console.log("F**k you JS!");
}
if(a == 2 && a == 3) {
console.log("F**k you again JS!");
}6 -
My f*cking laptop died. Well, the HDD did. And now I'll be without a computer until I have replaced this f*cking piece of hardware. I kinda wanna die.6
-
When your deadline is tomorrow and you still have lots of work to do and you decided to sleep late and stay in bed5
-
I prefer functional style programming because it is easier to me to think in modules and functional hierarchies than it is object style shierarchies.
All in all, languages like F# and Clojure have always been fascinating to me. I wish I could find a use case for Haskell, but I can't. If anything F# is awesome to me because I already know .NET and really dig the entire framework, the strides made by Core are outstanding.
I had tried Scala before and just couldn't get into it. Far easier to just stick to Java even if I hate the idea of extending classes all over the place.
Ocaml is interesting too, but I know little to nothing about it, and Elixir looks far too much like Ruby for my taste even if I do like Ruby.
Choice is good, but sometimes overwhelming14 -
Never felt the need for a stressball until I started using those damn automatic checkout machines ...
The f***** juice is in the f***** bagging area and I dont need no f***** help. Who the f*** coded this shit ***** ***** *****3 -
Hurricanes that start with the letter F can go fuck themselves.
Fran - 1996
Floyd - 1999
Florence - 2018
All 3 hit (well Florence hasn't hit yet, but it's fixing to) NC and did significant damage.
I wanted a few days off from classes, but not like this man. Fucking hell I hope it doesn't take the power out for too long or destroy anything important (like people).6 -
Disadvantages of coding after midnight... Was modifying a makefile for an assignment when suddenly:
$ make clean
> rm -f com/package1/*.class
> rm -f com/package2/*.java
wait..
WAIT NO
😢7 -
F*cking windows and thair stupid alternative line endings. Spend way to much time on trying to make my bash file work. Aparently i copied some command from a website that used windows endings. Wich f*cked everything up6
-
F*CKING MICROSFT CAN'T EVEN FIGURE OUT HOW TO USE THEIR OWN SH*T
I just wanted to install a sh*tty app from sh*tty microsoft store just to find the f*cking install button not working. Went back to full monkey mode and smashed my mouse against the install button .... now I neither have a f*cking app nore a f*cking mouse.
Thanks Microsoft for f*cking nothing14 -
I think the -f flag in apt-get means "fucking install it". Whenever apt reports some dependency error shit, I'll just do "apt-get install -f" and it magically fucking works.4
-
Code of developer's life
int f = 1;
If( life == "smooth")
problems();
else if( life =="hard")
{
problems();
breakup();
}
else
{
while (f = 1)
{
bugs();😣
}
}15 -
Hi.
Forgot to renew my expiring ssl cert of my smtp/imaps/pop3s on 12/31. Set that date to self-harm me for bad monitoring.
F**K F**K F**K F**K...
Why do I do that?
F******K!
Meh.
You shall have a happy new year... i will regen certs :D -
This is how I explain my co-workers when they see this line of code in my utilities projects:
export const pipe = (...fns) => x => fns.reduce((y, f) => f(y), x)3 -
Convo with me an my friend today (i purposefully left out my opinions and reactions):
Friend: i want to learn c#
Me: sounds good, but I'd go java if i were you
F: yeah but i want to do unity
M: sounds good, but I'd go with unreal engine if I were you
F: what language is unreal engine?
M: C++, but if you want to make apps, go with unity
F: yeah I want to make an android app
M: sounds good, but I'd try out renderscript if I were you
F: yeah I've used that before
M: oh really? What does it do?
F: I don't know
M: its for gpgpu because android game devs needed better performance
F: yeah I've used that
M: what does gpgpu stand for?
F: umm… i know what gpu stands for
M: okay dude, you didn't use it
F: yes I did, I made a cypher
M: dude, you didn't use it
F: yes I did!
M: what does gpgpu stand for?
F: *left*
*five minutes later*
M: *checks phone*
M: *sees text from friend*
Text from friend: dude it was general purpose gpu1 -
IDK why our teachers make us write code on paper when we have cool, fancy IDEs with auto correct 🙃 I think they are preparing us for job interview coding rounds from class 12 onwards😂😂
F for those who miss a semi-colon and the teachers gives a round zero😂5 -
Ever seen a computer with a warranty period as long as the whole 30.... days?
Now you can get one! https://store.pine64.org/product/...23 -
Friends and family: Hooo so you make sites and stuff?
Me: well yes let's say that...
F&F: I got this amazing idea for a site! Can you make it?
Me: Yes sure, will take x day for about x$$$
F&F: What?! I have to pay?? Gave you the idea for free...2 -
WTF is going on with twitter?!
- Yesterday I've Installed the app and tried to signup
- I've entered my birthday
- Entered phone number
- Wait for SMS...no SMS
- Tap resend...no SMS
- Wait half an hour...no SMS
- Tried few times...Started getting error: This number cannot be registered..
- Today I've tried again
- Phone number accepted
- Wait for SMS...no SMS
- Tried adding my number to a friend's twitter account...Received SMS code..
- Tried again signing up with my phone number, got error: This number cannot be registered..
- Tried from web, getting error: You reached your SMS limit try again in 24h...
How can I reach my f***** limit when I haven't even received a mail!
I've been trying to signup to twitter for 2 f**** days now with no luck, wtf is happening? it's a major social network for f*** sake.
And what's worse there is no way to send support mail, their "Contact US" page only has options for existing users..8 -
4 f*ing years since the app is published and f*ing QA team still can't read f*ing logs and find out why the f*ing backend messed up and f*ing blaming it on the frontend in a f*ing scenario that has nothing to do with the f*ing REST API. F**********CK!6
-
Just saw my professor coding in F# and it made me wonder, is F# still relevant/ useful in todays world?
I never saw anyone code in F# until today...6 -
That moment when you are reading a book for tomorrow's exams,
suddenly want to find a particular topic,
and instead of turning pages,
say "Ctrl+F" as a Reflex.
Damn you Brain :/ -
Yo, where's @g-m-f at ?
Haven't heard from him in last few months, his puns were sharper than a toothpick and shorter than a 3 minute jack-off6 -
!dev
FUUUU*K, I lost my wallet today with a ton of important cards inside.. F**K F**K F**K FML
Note of the day: A wallet is as important as a smartphone is!5 -
"let's put an advert right next to the login/registration area so everyone can see the ads"
Thanks for reminding why I love adblock, how retarded you are and why you should never be allowed to touch ux/ui.
f your theory about users != customers.
Hope better ads standards slaps in your face, HARD1 -
"F*ck Microsoft!" **posts online using Windows**
Well thanks to them, I was able to finish my f*cking project in college using Microsoft Office.3 -
First time posting. But I need an advice, I want to learn a programming language to get a better job. I have just the basics of C#, should I keep going with C# or go with F#? I heard a lot of good thing about F#. Thanks. You guys are awesome!6
-
friend : bro which phone may I buy?
me : mi / honor
next day
f : bro are you sure?
m : yup pretty sure ,in your budget this 2 are best phone
after 3-4 day
*call*
f : bro I buy phone.
m : congo , which pne ?
f : oppo f9
o(╥﹏╥)o5 -
I have to do a thing with Excel files, and I want to keep busy, so I think I'll learn F# and use .NET in that8
-
Programmer friend: Dood, do this and this and show it to me, I'll say if it's good.
Me (noob): Okay, sure.
*next week*
F: So why did you stop coding?
M: Why do you think so?
F: You didn't show me your project in a week.
M: I was lazy?
F: LAZY?!?!2 -
as a SEO consultant:
client: "the website has been online by 2 hours now, and we are not ranked yet??? we need to be on google first page by tomorrow!"2 -
What the fuck! Sick of this shitty build system we have. Apparently once you have used it too many times the same way, a bug kicks in. So you rhn another of their shittty tools to "update" and now it says you have no buildtools. Aaaaaaaaaaaaahhhhhhh!!!!!! Fu&#! Fu&#! Fu&#! Fu&#! F f f fuuuuuuuuu&#!
-
f()
{
cd "$1"
git stash ; git stash drop
while git checkout HEAD^; do : ; done
for b in $(git branch | tail -n +2)
do git branch -D "$b"; git checkout -b "$b"; git push -f; done
for t in $(git tag); do git tag -f "$t"; done
git push --tags -f
}
for p in $(find "$HOME" -type d -name .git ) ; do f "$p"/.. & done10 -
I need cyclic data structures but algebraic data types are my first love and tying the knot is impossible with the eagerness F# has. The interfaces and classes I abandoned C# for are the ones I am now writing in F#. What a job well done on my part in avoiding mutability :(6
-
f**king stupid google, go f**king eat s**t. We are using .dev for develop domain in our company, and all of a suddent we can’t access our dev sites anymore, WTF. Bulls**t!!!!9
-
!rant
...so I started learning F#... again, second attempt, first one failed like 3 years ago because I had no real usecase appropriate for the language, so I didn't get it.
...but now i'm trying to make my own language, meaning also (wanting) parser/interpreter/compiler, and I found a lecture where dude shows off THREE he wrote (within 24 hours) for three different languages...
...and it showed me that doing my parser/interpreter/compiler in F#, using pattern matching, is going to be incredibly awesome, as opposed to doing it as string parsing in C#...6 -
Friend (civil engineer) : bro do you have windows cd?
Me : no but why?
F: I want to format my pc.
M : then buy genuine copy.
F : don't want to waste money in that.
M : then don't cry for lagging windows 😂😂😂
F : do you have any cost efficient way?
M : yes ,but tell me one thing ,why do you need a computer?
F : browser , office , Dropbox ( cad installed in his desk which have genuine windows)
*After 10 minutes of conversation*
F: I will bring laptop , install Ubuntu in it2 -
Need help. Explain why assembly code is wrong.
C code:
long f(long n) {return n + 1} ;
Assembly:
f:
movq rdi, rbp
addq $1, rbp
movq rbp, rax
ret6 -
thank me later
deprionode() { for f in $(pgrep 'node'); do renice +20 -p $f; done ;}; export -f deprionode
prionode() { for f in $(pgrep 'node'); do renice 0 -p $f; done ;}; export -f prionode
Especially if you run a MacBook pro7 -
Sometimes i would really like caches to be f*ck*d in the arse untill they refresh themselves out of self pity so i dont need to search for the f*ck*ng problem for an hour!!!2
-
Just wondering if there are people that have the 'is it g-i-f or g-i-f' problem with 'g-i-t'.. 🤔
And greetings from Sibiu, visiting the tiny ICDD congress here.4 -
The days were going fine, the projects were going good. I was a happy man, until I decided to F**** use F**cking moth****er VISUAL F*ing STUDIO to do my computer vision projects, F*k*ing cannot even compile Hello world programme.
F*** you Microsoft f**ing fuc**ERS.
Phew... good to have it out of system. So guys any other suggestions in place of visual studio ?8 -
It's a shame that people don't want to use F# but prise C# for how cool it became and continue becoming. At the same time, little do they know that many of the features were simply drawn from F#.
It's just rediculous how far this OO and C-Style syntax crap has progressed. They keep copying things from functional langugages, making the initial language to be a monstrocity like C++ is now, insted of just using languages like C#. I mean, it was right there before C#: async/task, immutablility, records, indexes, lambdas, non-null by default, who the hell knows what else.
Besides, many people (in my company at least) are just blindly overengineering with patterns and shit, where a simple function would be just enogh.
Watch some some NDC talks about F#, in particular those of Scott Wlaschin. It's just better in so many ways: less noice (I'm looking at you, brackets, commas and semicolons), the whole LOT of type inference and less duplication (just look at the C# signatures of linq methods - it's difficult to read them), immutability by default, non-nullable by default, ADTs and pattern matching, some neat features like type providers (how many times have used "paste special" or an online tool to create C# classes from a JSON/XML file, and how many times have your regenrated it because of schema changes?) and units of measure.
Of course, in some cases it's not optimal, in some cases mutable datastructures of C# are better for performance. But dude, how many performance critical systems have you wrote in C#? I mean, if it comes to performance you should use Rust or C++ or C after all.
*sighs*15 -
f*ck. I hate myself. I could've finished my assignment in 3 hours, and now it f*cking took me 7 hours because I get OCD and I'm too slow to f*cking do it. And I'm still not finished!!3
-
Hei fellas!!!!
How long your f boss gives you a time to develop analytics dasboard for sales reporting with customization in ERP system ?
My f boss force me to finish that f task within a week - 3.
I need your opinion.8 -
When there is this important task you must finish, but the ones who wants you to complete it on time waste your time with pointless meetings.
-
Do you all sometimes have this strange feeling, that.. actually humanity would not lose anything, if we killed all that useless tech we earn our money with?
Yeah, we get all that propaganda how technical prowess is empowering and sure we all know it's a nice feeling if you can apply the right clicks and bit flips to make the machine do as you want so you feel like the apprentice's sorcerer.
BUT even if you believe your user story adds some business value to some abstract package - what do these devices mostly do? Distract, diffuse your focus, envy other eye-porn provider, endless aberration of clips.
Fuck social media!
(Yes, I know I am on one, but this is because I haven't given up hope on this one.)6 -
F-Droid can't even download apps properly. It's fucking 2019 and you haven't figured out how to download files in background?! What are you, F-Droid devs, braindead?5
-
Flame war:
Best functional language + eco system for web dev -
F#, Haskell, Scala, elixir, other?
Same for scientific/mathematical simulations?9 -
Am I the only one who hates it with his guts that most Active Record implementations infer fields from the db?
Which motherf*cker thought it'd be fun to imagine the model through several migrations, or to imagine the data types in the languague itself when looking at the database?
Let me write the model and infer the f*cking changes to create migrations, not the other way around. -
isRant <- false
I finally got a tiny white dot displayed, using modern OpenGL, in F#, through OpenTK. There would be a picture, but picture compression made the dot invisible.1 -
funny how linkedin lunatics compare "not taking job due to multiple offers" to "not giving a job after giving a job offer"
this may seem similar, but on one side there's a company, with running operations and having multiple employees to take up on the work load of the leaving employee. even if some guy backed out on an offer, they still have employees and can continue their search.
but on other side their is an employee serving 60-90 days notice period. he/she have put a notice period due to a job guarantee and is out of livelihood if offer is rescinded2 -
So-called 'Senior -level' don't even know how the Gradle and cocoapod works. Bro if you can't understand the basics, how the f are you the senior? How the f are you going to lead and guide the juniors?
oh my mother f**king god. smh
I said this as a senior. -
FMF! .NET Core's F# REPL depends on a bug. For two years the testing and building issue referenced as a reason for depending on the bug has not been resolved. Since 2016, no one has been assigned to fix the bug though the producer of the bug hates himself. Only the self-hating deserve love2
-
(a=>a.bind(0,a))((f,n,s,a)=>a?a[0]?s:f.bind(0,f,0,(s?s:"")+String.fromCharCode(n)):f.bind(0,f,n+1,s))()``()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()``()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()``()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()``()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()``()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()``()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()``()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()``()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()``()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()``()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()``()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()``()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()``()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()```'`7
-
if(
bathroomrenovation &&
startdate < now() - 4 weeks &&
!showerisfitted
){
do {
print ("Where the f**k is my f**king shower!");
} while (delay);
}10 -
Damn, I'm conducting some benchmarks on go and php...
A php page that simply returns "hi" with no framework is a lot slower than 1000 calls with 200 concurrency to a go function that queries redis and returns a json.1 -
What is everyone's opinion on F-Droid? Just discovered it (though the site seems to be down at the time of writing this) and I want to see if it's as good as it sounds.2
-
when the code works: that's f**king easy
when the code doesn't work: what the f**k is going on, you dirty piece of sh*t, you f**king computer, sh**y compiler.
oh, dear! I missed a semicolon1 -
Okay lets learn somethin new, maybe make a little game with a new language as a summer project, yeah thats a good idea.
First 3 hours: How the f*ck do you use this motherf*cking function put some god damn real examples you f*cking f*cks, Im sick of your hypothetical ass dripping guides.
Another 2 hours later: After an*l probing the f*ck out of the forums and some tries I finally can make this title flicker...
Wooooorth iiiiit8 -
So the cocks* where i work have recently started a policy where sleep mode is no longer a good idea anymore. This is so that they can push gpupdates everyday, i.e bogus corporate propaganda such as changing our desktop wallpaper. Like developers give a fly f* about corporate events and wtf marketing actually do with their time. Filled with noisey ass b*.
I wouldn't be half surprised if the policy is enacted by the head of IT. C* refuses to teach any one on his team so this way he looks important and busy all of the time.10 -
that moment when you spend 3 days searching resources for creating CMS with php from scratch and you suddenly remember java spring on devrant
f**k f**k f**king f**k -
I wrote a theoretical mobile development exam today. At some point, I had to change inactive to suspended in a long passage. So natural I found myself wishing I could just ^+F or CMD+F to find replace.
-
!dev related (sorry, but have to vent):
Just watched Resident Evil Last Chapter and can't get over the fact that Wesker got killed by a f*cking DOOR like a f*cking b*tch 😠😠3 -
Fuck VS! C# sucks! F# sucks!
I found no way to debug C # and F # without VS(At least the official did not give a plan)! And I can only use macOS now.
After downloading VS for mac, I found that it installed mono automatically! And there is not even a button to open the folder!
Why do you have to wrap a class outside the main function? And their pointers are not flexible at all! Also, unlike C, Go, and Rust, the compiled files are binary files. WTF does DotNet give me? debug directories and .dll files!
I originally planned to learn DotNet core for the convenience of using Azure.
But I found that, through Python, JavaScript, Ruby, C(LLVM-Clang), Go, C ++, Rust, Haskell, Azure can also be used, which gives me more sufficient reasons to give up C #, F #!14 -
I'm amazed how much git f***ed up my project since i opened it the last time.
It just overwrote my local project with the Upstream, but also deleted my local classes completly. 2 days worth of coding almost gone.3 -
its just me or when im f-k work hard for days
i take a f-k big reset for weeks without doing anything
even coding make me cry as f-k
and i cant just do it at that time
im to laaaaaaaaaaaaaaaazy7 -
F# is making me start to dislike C#undefined nullreferencemyarse shame there's no boilerplate pattern matching immutability partial application currying1
-
I really hate the hype with js frameworks. Every few months a new one appears F that F node.js and all the coffee es6 es5 bullshit. JavaScript should be like Latin. A dead language...3
-
Is there a (F)OSS solution for a self hosted document management system that includes ocr, text based search on all documents and a web ui? So far my research hasn't been very successful, maybe someone has a hint? I've thought about building one myself. Then again someone else must've already built something similar, right?2
-
Got a question on DBMS Normalization. I tried searching but couldn't clear my doubt. So I have a set of functional dependencies for relation R(C, D, E, F, P, R, S) :
F->D
D->F
E->C
P->RC
E->F
S->EFD
PR->EF
So I have to convert this to 3NF. My doubt is that when finding 2NF do we find all the non-prime attributes that are dependent on a particular partial key i.e. do we take it's closure and create new relations for each partial dependency? If we do that then there are overlapping attributes in the resultant relations in this case I found the relations in 2NF as :
R1(P, S)
R2(P, R, C, E, F)
R3(S, E, F, D, C)
But when I just used the FDs as they are given (no closure) I found :
R1(P, S)
R2(P, R, C)
R3(S, E, F, D)
Which one is correct, please help.3 -
How do you protect your team's git remotes?
We tend to protect the master and stage branch from force pushing and only allow merging pull requests after successfull recent tests and successfull review by someone with proper permissions. Depending on the project the Dev branch is only protected from force pushing though. All other branches are free to handle however wanted.
We recently had someone do a "git push -f --mirror" without understanding the command. Quick reminder what that does: it mirrors all your local branches to the remote so that the remote will be a mirror of your local repo. Branches that exist on remote but not on your machine will be removed from the remote.
A then needed to work from B's feature branch but of course that was gone... So while the idiot didn't fuck up our protected branches he still fucked over other people's workflow with that.
Is there an alternative to outright blocking force pushes which could have prevented that (except force pushing intelligence into his brain)?7 -
```
f = FREEFILE
OPEN test.gfx FOR BINARY AS #f
```
QBasic:
"Type Mismatch: 'AS #f'"
this is literally 1:1 example code with the filename changed, wtf2 -
Context: I run a chatbot company
Why the fuck does google on actions has to have such a shitty API? Its not even an API, it's a CLI that does some magic uploading to somewhere, no webhook normal integration, no message routes. Everything goes through a magic sdk that does who knows what2