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
![](/static/devrant/img/pipeless-devrant-banner-white.png)
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "</3"
-
When you stare into git, git stares back.
It's fucking infinite.
Me 2 years ago:
"uh was it git fetch or git pull?"
Me 1 year ago:
"Look, I printed these 5 git commands on a laptop sticker, this is all I need for my workflow! branch, pull, commit, merge, push! Git is easy!"
Me now:
"Hold my beer, I'll just do git format-patch -k --stdout HEAD..feature -- script.js | git am -3 -k to steal that file from your branch, then git rebase master && git rebase -i HEAD~$(git rev-list --count master..HEAD) to clean up the commit messages, and a git branch --merged | grep -v "\*" | xargs -n 1 git branch -d to clean up the branches, oh lets see how many words you've added with git diff --word-diff=porcelain | grep -e '^+[^+]' | wc -w, hmm maybe I should alias some of this stuff..."
Do you have any git tricks/favorites which you use so often that you've aliased them?50 -
Welcome back to practiseSafeHex's most incompetent co-worker!
*sitcom audience cheers*
Thank you, thank you. Ok so far we've had a developer from hell and a CEO who shot to fame for being the first rectum to receive a passport and be given a job.
2 pretty strong entrants if you ask me. But its time to slow it down and make sure everyone gets a fair chance. Its not all just about the psychopaths and assholes, what about the general weirdo's and the stoners who just made life awkward?
So here we go, Most incompetent co-worker, candidate 3, "A".
"A" was a bit of an unusual developer, despite having a few years experience in his home country, he applied for an unpaid internship to come work with us ... probably should have rang alarm bells but hey we were all young and dumb back then.
I had to say I felt very bad for A, as he suffered from 2 very serious, and job crippling personal conditions / problems
- Email induced panic attacks
- Extreme multifaceted attachment disorder (also known in layman terms as "get the fuck away from me, and do your job" syndrome)
While he never openly discussed these conditions, it was clear from working with him, that he had gone undiagnosed for years. Every time an email would come in no matter how simple ... even the services team asking to confirm his staff ID, would send him into a panic causing him to drop everything he was doing and like a homing missile find me anywhere in the building and ask me what to do.
Actually "A" also suffered from a debilitating literacy issue too, leaving him completely unable to read our internal wiki's himself. Every week we had to follow a set of steps to upgrade something and every week to mask his issue, he'd ask me what to do instead ... no matter how many times I sat with him previously ... must have been truly embarrassing for him.
But "A"'s finest moment in the company, by far, was the day where out of the blue, at the top of his voice (as if wearing headphones ... without wearing headphones) he asked
"DO YOU KNOW ANYONE WHO SELLS POT?"
... why no, manager of the entire department standing behind you, I do not
... why no, tech lead talking to manager, I do not
... why hello 50% of my team staring at me ... no "A", I do not!
Needless to say all our team meetings were a little awkward for the next few weeks after that but hey who doesn't like being thought of as a stoner / drug dealer by their team mates huh?
Will A make it to the top of the list of most incompetent? Well he has some truly logic defining competition yet to be announced.
Tune in later for more practiceSafeHex's most incompetent co-worker!!!15 -
--- HTTP/3 is coming! And it won't use TCP! ---
A recent announcement reveals that HTTP - the protocol used by browsers to communicate with web servers - will get a major change in version 3!
Before, the HTTP protocols (version 1.0, 1.1 and 2.2) were all layered on top of TCP (Transmission Control Protocol).
TCP provides reliable, ordered, and error-checked delivery of data over an IP network.
It can handle hardware failures, timeouts, etc. and makes sure the data is received in the order it was transmitted in.
Also you can easily detect if any corruption during transmission has occurred.
All these features are necessary for a protocol such as HTTP, but TCP wasn't originally designed for HTTP!
It's a "one-size-fits-all" solution, suitable for *any* application that needs this kind of reliability.
TCP does a lot of round trips between the client and the server to make sure everybody receives their data. Especially if you're using SSL. This results in a high network latency.
So if we had a protocol which is basically designed for HTTP, it could help a lot at fixing all these problems.
This is the idea behind "QUIC", an experimental network protocol, originally created by Google, using UDP.
Now we all know how unreliable UDP is: You don't know if the data you sent was received nor does the receiver know if there is anything missing. Also, data is unordered, so if anything takes longer to send, it will most likely mix up with the other pieces of data. The only good part of UDP is its simplicity.
So why use this crappy thing for such an important protocol as HTTP?
Well, QUIC fixes all these problems UDP has, and provides the reliability of TCP but without introducing lots of round trips and a high latency! (How cool is that?)
The Internet Engineering Task Force (IETF) has been working (or is still working) on a standardized version of QUIC, although it's very different from Google's original proposal.
The IETF also wants to create a version of HTTP that uses QUIC, previously referred to as HTTP-over-QUIC. HTTP-over-QUIC isn't, however, HTTP/2 over QUIC.
It's a new, updated version of HTTP built for QUIC.
Now, the chairman of both the HTTP working group and the QUIC working group for IETF, Mark Nottingham, wanted to rename HTTP-over-QUIC to HTTP/3, and it seems like his proposal got accepted!
So version 3 of HTTP will have QUIC as an essential, integral feature, and we can expect that it no longer uses TCP as its network protocol.
We will see how it turns out in the end, but I'm sure we will have to wait a couple more years for HTTP/3, when it has been thoroughly tested and integrated.
Thank you for reading!27 -
Came home to visit parents
Dad - Internet on my laptop isn't working (I switched him on a Ubuntu platform because he picked up a hobby of mining for viruses while doing..... "research" )
Me - did you mess with your networking settings again
Dad - (Defensible sounding) Noou
Me - (looking at settings, networking is switched off)
Me circa 3am - writing a python script to check for this automatically cos fml this is basic
Thanks for listening10 -
FUCK HELL YEAH! I'm done with my FUCKING THESIS! I just handed it in - that filthy time eating piece of blood sucking papershit! God yes! I'm proud and relieved as fuck!
Got really sick as well! Fuck the stress! Fuck everything. I'm just gonna play Witcher 3 all day long with some nice cup of tea !26 -
That weird moment when you don't understand what ++ or -- means in devRant cause you Python developer15
-
Linux
Time to shutdown => 3-5 sec
Time to restart => 3-5 sec
Mac
Time to shutdown => 3-5 sec
Time to restart => 3-5 sec
Windows
Time to shutdown => 15-20 sec
Time to restart => LIFETIME25 -
Honestly, after using sublime, atom, brackets, WebStorm, and so many other IDEs/Text Editors, VSCode outshines all of them ❤️27
-
I like how @dfox listens to suggestions and updates the app quickly.
If only our 'agile' team completed even a single task successfully without chaos.5 -
Finally got around to installing Arch on an actual machine 😀
I went for deepin since i wanted to try something new. I didn't go for any WMs since the whole concept seems complicated to me but i wanna look into it someday.
Anyways, super happy so far. I boot in < 5s from hitting the power button which is super dope ♥️ ♥️. I did have some weirdness with nvidia drivers (as usual on linux lol) but reinstalling it fixed it.40 -
When you hack someone's computer and you notice that they are hacking someone else computer...and you just sit there to see how they do it. #learning4
-
The 3 greatest things in life:
1 A great orgasm
2. A great shit
3. Fixing a major bug before anyone notices.
Work directly on a production system and get all 3 experiences simultaneously.8 -
When a company emails 8000 + employees asking 3 people not to be disturbed in DevOps for 3 weeks. You know those 3 people have been screwed over by unrealistic deadlines.6
-
Prepare to get your MIND BLOWN:
They have successfully got Windows 10 ARM to boot on a Raspberry Pi 3 with a hacked UEFI firmware!
Take that Windows 10 IoT!!
Props to these guys: 👍
• https://github.com/andreiw
• https://twitter.com/NTAuthority
• https://github.com/andreiw
Here's a video of it in action → https://youtu.be/6b1IxvKJeho?t=9411 -
To save server cost and developers' productivity, devRant should have an intentional downtime of 3 to 6 hours daily :37
-
So when @dfox and @trogus cross 500++ on their rants, do they just take a stressball for themselves or go through the emailing procedure ?
Asking for a friend...6 -
Shower Thought :
maybe i need to call JS equal signs like this :
x = 3; // x is 3 now
x == 3; // does x is equal to 3 ?
x === 3; // does x is Fucking equal to 3?10 -
Ok, so I was working with Python, I wanted to make a simple chatbot. I spend hours trying to figure out what was wrong, until it hit me... the prints weren't indented.8
-
My favorite languages are
1. Python (3)
2. PHP
3. JavaScript
4. Ruby
5. Java
Honorable mention: C++
Can anyone agree?38 -
So im getting pretty good at python, so can anyone offer me some basic projects I can attempt?
Oh and it's my birthday today! (August 4th) I'm 18!13 -
For fucks sake if I send you a clearly described 5 step install instructions do not start on step 3! Yes you fucking moron instructions labeled 1,2,3,4,5 should be carried out one after the other! Not in random order.
Seriously, how deranged are you that you have never ever encountered a step-by-step instruction before?!
Don't give me that "oh, should I have started with step 1 first? You weren't very clear about that. I think it is a bit too complicated."
Here are some more instructions:
1. Close your PC
2. Donate it to someone with detectable IQ level
3. Go fuck yourself
4. Please die
5. Yes, start with step 15 -
So today i tried to be romantic so i wanted to say "I <3 U" to my fiancee (we say "less than 3" as a joke)
Me: "I less or equal 3 You"
Brain: "I <= 3 U?"
Me: "God dammit"8 -
If (index == 3) {
return true;
}
else {
return true;
}
Apparently the number 3 is magical or aomething.7 -
So, went to 3 hackathons in the last 3 weeks. Won 2/3. Developed on Ethereum and some Iota for the most part. Loved this experience and many more to go. Idk what to say honestly, just blabbering :p13
-
Design team gets 3 monts to wireframe, dev team gets 3 weeks to complete the project. IT'S MAGIC #headbang2
-
Three days thinking of a solution to a problem in HackerRank...
Came up with a very elegant O(n+m) solution... failing several test cases...
Check here, there, over there. Everything seems flawless...
Re-read the problem statement letter by letter. There it is, I misread the requirement. FML8 -
Whoever at Microsoft decided to give away so many freebies in the Visual Studio Dev Essentials thing deserves a fucking knighthood.5
-
I finaly managed to make a dark mode on slack desktop app! Still has some bugs (like scrollbar being white) but works well enough for me. If anyone is interested tell me in the comments 🙂
How i did it (Linux paths but should be the same process for Windows):
You can execute scripts in /usr/lib/slack/resources/app.asar.unpacked/src/static/index.js
Using that i figgured out that slack desktop is basically an actual webview to their website and some os hooks.
To edit the contents of the webview you can call `document.getElementsByClassName('WebViewContext')[0].executeJavaScript("alert(1)")`
Then i just simply packaged up some custom css to be loaded with JS.
Quite simple actually.
Using this method you can create all kinds of plugins for slack, so go wild!3 -
Absolutely loving the Slim 3 PHP framework. It's extremely simple, fast, and easily extensible. And nice use of dependency container.
-
1. Read about software engineering/design patterns, tools etc.
2. Adopt information to my requirements
3. Write code
4. Delete my shitty code from point 3.
5. Goto point 34 -
Morning Ritual
1. Start all devices
2. Check headset status
3. Check emails
4. COFFEE <3
5. First call...
6. 20 annoying minutes of two people talk to each other without a result
7. COFFEE <3 ... cold1 -
When you're writing in Python and forget which brackets to use but you're too lazy to look it up so you just pick one and hope it works.
372 ERRORS. -
Accidentally plugged external disk into usb2 instead of USB 3 didn't realise till half way through 60GB VM's copy.2
-
After waiting for more than 3 months....
(and devrant took 3 weeks...)
Thanks Ben & Jess
All kudos to dev.to()4 -
The new holy war in C#:
Point p = new Point(5, 3);
vs.
var p = new Point(5, 3);
vs. (new)
Point p = new (5, 3);
and... FIGHT!!43 -
What the fuck?
My Witcher 3 save state has vanished.
I didn't delete that!
Windows?!?
What the actual fuck?
😠15 -
Don't you just love it when you ask Hibernate to fetch some data from DB and it does that for you.?And also updates a few more tables on its way. And inserts a few more rows. And updates another couple of fields..
Isn't that just amazing? I mean.. What could be more satisfying than getting an "ORA-00001: unique constraint (some.constraint) violated" while issuing a FUCKING **GET** METHOD?5 -
So I've taken over a project, well, not really taken over, we've been hired to add more functionality to a Wordpress site.
I have never seen such a messy code in my life... variables have mixed languages, indentation is a mix of tabs, 2, 3 and 4 spaces, camelcase, snake case, short names, long names. ' and ", no spaces after commas (gotta save those bytes doode)
Almost like it has been copypasted from everywhere.
I think I said 10-15 hours for it. I think I will spend a lot more time tidying up this code.
Hey, look, 3 index files!!
index.php
index__backup.php
index__backup_2.php
I don't dare to look into the CSS or JS, but I know I have to3 -
It's been a while I haven't check devRant. Been very busy and spending a lot of time with my teammates; knowing each other since we transferred in one room and can't avoid joining the small dirty talks with my colleagues since I'm the only rose among the thorns. :/
So anyways, I missed being in here. I missed ranting about my boss and coworkers, swearing a lot and following your rants. Got to randomly check my notif and catch up with you, guys! ;)4 -
!rant
YES YES YES YES YES
GIMME SOME OF THOSE TYPED PROPERTIES <3
When I first started trying out Java I hated that I had to type every variable I declared, coming from a javascript and php background
nowadays I can't live without them, it feels so safe and secure <3 <3 <316 -
3/16: I need a service account for $domain. I've opened a ticket with Subject: please create $account name for $domain and Description: please create $account for $Domain. I need this by 3/23.
3/21: hello?
3/23: hello?
3/28: hello?
3/30: hello?
3/30: yes, hi, is this for $domain or $differentdomain. -
Ahh it's been a while since I've posted.. My skills with python are getting better (I'm a beginner) and I know for everyone else it's probably nothing but my first big project/idea I came up with was to program a simple rock paper scissors game that prints if you win lose or tie. I got the input and random output right without having to look anything up and that actually makes me proud of myself which is rare but for the printing out you win, lose, or tie I looked it up but I'm noticing that I'm getting better.
Then today I made a coin flip script that returns heads or tails in like 2 minutes and the only reference I used was my own code!!
Thanks if anyone actually read it I envy a lot of you for doing it for a living and I can't wait to do it too :)6 -
#feature
This just came into my mind. What about replacing the loading avatar if you start the app that is shown at the bottom right corner with your own avatar? 😂6 -
I feel like I have to boot into Linux before making a screenshot of something in order to get more ++ because people love Linux and (most) hate Windows.7
-
Everytime you write code in a language which you never coded before that will give you extra thrill...
This time it's python 🙂8 -
Hey guys. I have nothing to rant about the last few weeks.
I want to buy a book about advanced php. Cool ninja stuff I could do on backend... Do you have any suggestions for me?1 -
Ubuntu: Lulz your trackpad drivers don't work and there's no solution other than compiling them yourself or something it might not even work because it's for a different model but just hope and pray ok? also your wifi obviously fucking won't work. What, are you retarded?
Manjaro: Ye I gotchu. Mouse works outta the box. WiFi too10 -
!Rant
Having been working with JavaScript so intensively, I have a newfound appreciation for Python. It really is an elegant language.
I'm looking forward to returning to Python one day in the near future.3 -
Java is a lot like a 3 legged dog. You know it'll get where it's going eventually but it's kinda sad to watch.
-
So i recently had to go back to windows while testing the notification feature in devRantron. Doing this only reminded me why i switched to linux 5 months ago. After having to restart my pc, reinstall c++ build tools multiple times, regedit and switching back and forth from powershell and cmd i managed to install a NPM package. Linux is <39
-
Arrived. After making the order, the company contacted me to make sure its not a misstake :D I'm having so much fun (wasted time) with this ancient tech.8
-
Continuation of https://devrant.com/rants/4725253/...
So I didn't get the time to post an update this morning, so an afternoon post will have to do. Today's walk was just a little past 12km, giving us all some hope to get it done in a reasonable time. The first six or so kilometers were quite harsh with winds reaching speeds of at least 15 m/s, probably closer to 20. With the rain smattering like tiny bullets our morale was pretty low. What kept us going was the knowledge that just a few kilometers ahead lay a valley a few hundred meters below our current altitude, promising warmer air, and most importantly, less wind.
As we approached the valley we could see trees appearing over the horizon, a good sign as the Swedish Fjäll generally isn't very inviting to trees, and from this point on our walk became more and more pleasant. During lunch everyone could feel the feeling of achievement lingering between us, and another three kilometers later we arrived at our cabins.
So here I am, sitting in a couch in a cozy cabin. Most of us just left the sauna, and in an hour or so we'll have a great meal and probably some celebration. Tomorrow I think we'll just chill out, perhaps pick some mushrooms, and then head to the train to wake up the next day in Malmö, ready for another week of work. Who knows, perhaps I'll even have time to squeeze in another update.
Cheers, time for a nap.6 -
There are 3 type of people.
-Those who don't know what i am talking about
-Those who don't care what i am talking about
-Those who know ascii and 3 means 35 -
I wanted to rant but I just been moved from a governemental project in Python 2, to a shiny one on Python 3. Have a good day you too!
-
My favourite dev tool? I would't be able to do my work without any tool, which's in the list. I love IntelliJ IDEA & Webstorm, Java, JavaFX, Maven, Git & Gitlab, TeamCity, Upsource, YouTrack, Artifactory, wtf that list's kinda the complete tech stack. But I completly hate AWT & Swing (AWT fucks up on my Linux install, such a frame creates in about 10-20 seconds, if you test the app locally, you loose approximately 15 seconds per minute, and Swing uses AWT internally too), I hate Gradle (screw Google for standardizing it), and so on. Wow that's like my complete tech stack, what the fuck happend? The question was one tool, help me.1
-
qberry1 [2:54 PM]
routers need to go on the technology list of shitty tech
qberry1 [3:04 PM]
working on a rant
[3:04]
may post it on devrant
[3:04]
Here is a list of technologies that I hate.
Printers:
Can we not make a printer that isn't a POS? We've been making them for years and they still suck.
Bluetooth:
It is supposed to be convenient, but it never pairs when you want it to. It is always when you are driving and dont have time to mess with it that it doesn't work.
Bluetooth Printers:
See above for details.
Routers:
Can we not make a router that lasts longer than a year?
[3:04]
trying to think of more shit
lquessenberry [3:05 PM]
God Damn Laptop Hinges
[3:05]
On anything but MacBooks
qberry1 [3:05 PM]
yeah
[3:08]
satellite radio
[3:08]
what a load of shit
lquessenberry [3:09 PM]
Yeah fucking 48 bit napster mp3s sound better than Satellite radio
qberry1 [3:09 PM]
if i wanted to hear music that sounds like ballsack i'll go download it from napster
lquessenberry [3:09 PM]
^^^^
[3:09]
Boom
qberry1 [3:09 PM]
lol
lquessenberry [3:10 PM]
Fuck it dude, copy paste this convo as the rant
new messages
[3:14]
Oh dude and fucking self serve checkouts. Fuck that shit. -
What does GPT-3 tell us about how our brains work?
I just read an interesting article (link below) about how it does on the turing test. I've had this inclination for a while that state of the art AI is "incomplete", in the sense that we have some of the systems to make AGI, but not all of them. One of the comments they make is that "GPT-3 often finds it easier to write code to solve a programming problem, than to solve the problem on one example input", and that's the nail on the head. We can codify situations, describe the rules, put them in memory and run those rules in our head. We can manipulate the input to see how it'll change, we can spot from a problem statement what the rules are instead of focusing on what the answer is. Anyway, light bulb moment shared.
Link: https://lacker.io/ai/2020/...9 -
If you were to write a regular expression to match phone numbers in the format of either:
(123) 456-7890 or
123-456-7890
Would you prefer a regular expression that looked like:
A) /^(?:\(\d{3}\) |\d{3}-)\d{3}-\d{4}$/g
B) ^\(\d{3}\) \d{3}-\d{4}$|^\d{3}-\d{3}-\d{4}$/g
C) Other
D) I hate regex
Reasoning? Alternative? Discuss.
(I'm curious about preferences surrounding the readability of regular expressions)19 -
me: Imma start working on this project I have been putting off for a week
me after messing with the chrome console for 30 mins:
(5&&!2||(5||30=== 9)+(2||3==-1)+(22&&7)+(4||5&&3===4&&2)+(!5||5))*(!3||3)+([][[]]+{})[+[]+(![]==[])]+([][[]]+{})[+[]+(![]==[])+(![]==[])+(![]==[])+(![]==[])+(![]==[])]+(typeof(()=>{}))[+[]+(![]==[])+(![]==[])+(![]==[])]+([][[]]+{})[+[]+(![]==[])+(![]==[])+(![]==[])]2 -
windows snappy as fk
macOS fluid as butter
love windows for gaming ang basic operations <3
love macOS for programming <3
love linux for having toys <34 -
*adds border to the bottom of a fucking div*
Why, hello there Mr. FUCKTARD HORIZONTAL-FUCKING-SCROLLBAR. That totally makes God damn fucking shittard fuck'ala'fucking fuck-damn'le-shit-fucka-shittard sense.1 -
Switched from Python 2 to Python3 a while ago. The biggest challenge for me is still remembering to use print as a function.2
-
Guys, I have recently made a python package which is published on PyPI.
I am a very junior python lover 😍6 -
When you attempt to use a Raspberry Pi 3 as a desktop computer...joke/meme gif idunno raspberrypi3 raspberry pi desktop joke raspberry meme jrjrhrjdkdkfjfogo raspberry pi 34
-
Got tangled up on some routing issue with my Rails project yesterday morning so I democratically decided I was allowed to take a break... I launched Diablo 3 and that was the rest of the day...
I just sat there dungeon crawling, eating pizza, ice cream and drinking Monster like a fucking pig... Shame on me. -
sometimes i wonder when i see a rant 3 weeks old with just one ++ if it's just @dfox himself or not4
-
It drives me Insane that AWS still doesn't support Swift 3 for iOS. We're almost to the point where Apple is going to drop Swift 2 support in XCode and Amazon STILL has not gotten it.
I've started deploying Gateway APIs in Objective-C and linking them to the bridging header just so we can finally move foreword in our company and quit relying on legacy Swift support. Which is something I was really trying to avoid because we don't like mixing languages unless absolutely necessary. It's not a problem, but it's incredibly annoying to me. What IS a problem is having to start new projects already using legacy code from the very beginning.
What is amazon going to do when the next release of XCode comes out? Tell all new customers to downgrade?
Why even offer native Swift APIs if you're going to go this long and still not migrate, Amazon?! -
This is incredibly interesting. How the frikkin-frik did the WiFi and Bluetooth die on my Raspberry Pi 3. Yes, I realize they work in tandem but how does something like this just die after just sitting around and performing light duty tasks for just a few months.
Reinstalled Rasbpain 2 times, nothing. USB WiFi dingle works great.
Not really a rant but I wonder how shit like this happens.
The Pi is in a case away from my cats, in a temperature controlled environment and adorned with the official power adapter.
Things that make you go hmmmmmmm. -
You can kill me now...
.entry-item
position: relative
display: inline-block
float: left
width: calc(25vw - (204px/4) - (320px/4))
height: calc(25vw - (204px/4) - (320px/4))
overflow: hidden
@media(max-width: 1600px)
width: calc(33.333vw - (204px/3) - (320px/3))
height: calc(33.333vw - (204px/3) - (320px/3))
@media(max-width: 1440px)
width: calc(33.333vw - (48px/3) - (320px/3))
height: calc(33.333vw - (48px/3) - (320px/3))
@media(max-width: 1200px)
width: calc(50vw - (48px/2) - (320px/2))
height: calc(50vw - (48px/2) - (320px/2))
@media(max-width: 1024px)
width: calc(50vw - (48px/2))
height: calc(50vw - (48px/2))
@media(max-width: 720px)
width: calc(50vw - (24px/2))
height: calc(50vw - (24px/2))
@media(max-width: 580px)
width: 100%
height: calc(100vw - 24px)5 -
I've been using python in my work for about the past 2 years. I came from c++ and I still don't know how I feel about it. What do you think about python?14
-
Just discovered "channel bonding".. I couldn't put myself to sleep for 3 hours, even though it was 3 in the night.3
-
I refused to get into python pretty long but yesterday it happend. I got the py. :')
Coming from Java/Netbeans I tried installing it again (for personal projects), but since Apache took over and Java 10 got released I never seemed to be able to accomplish a clean IDE install.. I gave up while I wanted to turn a current python programmer to java and, again, Netbeans fckd me over. I tried IntelliJ again afterwards but Netbeans seemingly fcked over the whole JDK installation too, so I gave up for real.
Everyone in my vicinity told me about python and it's coolness. I just.. no.
No {}, no semicolons, indentations are relevant... idk. I did not want to, but some part of me still wanted to try it. I want to work in the infosec branche so it definetly should be one of my interests shouldn't it?
So I tried yesterday, installed PyCharm and in literaly minutes (of course with trusty Stack Overflow behind me) I had a Qt based GUI which functioned as a basic webbrowser. I was intrigued. Well, I took like 100 times that time to get a working .exe out of my .py with all dependencies, but with the help of mentioned python friend I also got this to work. Python is cool now, I guess... ;b -
Project Manager Math:
(3 task with 2 days deadline)
+
(3 task with 2 days deadline)
=
(6 task with 2 days deadline) -
I used speech recognition package of python in one of my projects. It is working properly but it is not recognising some words, like if I say my name so it will print something else, printing 2 as doose, 1 as drone. To sum up, it's not considering few words.
I tried some amendments like set the language to english-india.
language =en-IN
But after this also, same problem arose.12 -
I've been meaning to work with the Spotify's Python API 'Spotipy'. Any good suggestions to make anything cool with it? Can include Machine Learning, IOT, etc.7
-
1. Make change
2. Restart backend
3. Doesnt work
---
1. No changes
2. Restart backend again
3. Works
FUCK OFFFFFF7 -
Goddamn... Microsoft has a problem with their Bots and their behavior. Bing AI is absolutely unhinged and do y'all remember when Tay lost her shit?
I think Microsoft needs to just bury their dreams of making good AI... They're not good at it. 😂3 -
!rant
I don't know whether I am too late to discover focusmusic.fm, but the song selections there are just too good. There isn't any song I haven't liked. It perfectly sets up the environment to work in.5 -
When I wrote a code snippet on an exam paper📄 during college🎓 days and the lecturer compiled ✔️ it without an error.2
-
I know that there is no bad programming languages.
But there are one exception.
Swift 3.
You can't use c styled code! Why????
Wtf???
Do you have anything against C?
If you do, why?1 -
How to update a react native project:
1. Run react-native-git-upgrade
2. Notice that your project dependencies are mucked up
3. Try to fix node modules and the build process
4. Find out the moon landing was a hoax, wait what?!
5. Use react-native-init to create a new (working) project
6. Copy code files and dependencies to new project
7. Wait for new version :) -
Its soo annoying when u have Anaconda installed with all the shit packages and when u IDLE run the python and import packages it gives errors and when u try to pip install them it says request all ready satisfied in anaconda!!!!😭
-
Day 3 at the office:
Still no project, I read about AngularJS yesterday, today I am reading JavaScript on W3C.
For some reason I have Internet access from IE and Chrome, but not from FF... :-/3 -
That feeling when a recruiter sends you a message to do an assessment to join their company as an entry level developer, sends you the link to the assessment but the link doesn’t work.
Then you reach back out to them for 3 days in a row and they don’t read the message or respond.5 -
I had to recreate my Revolut account this christmas, and now I created a Wise account too. Two more years of AWS free tier and GCP demo credits.2
-
I love Java, but whoever thought the set of Big numbers were a good idea, fuck them! My co-workers starting using them, setting a precedent. I tried to compare it to 0, the value was 0.00. totally different!(according to the BigFloat in Java)
-
FUCJKKKKKKKKKKKKKKKKKKKKKLEMRMRMRNRNENWNQMQMQMQMWMWMWKSOOCPPVPBVOGMRMEMWNZNZNZNSKOWOWOROROOROWOQOAOXKCNNRBWJQJQIOOXKCNGNFBBEHWIAIDOKGMGMNRQNNQOSPXCLMGMGMYBTEHUWYSYSYDUFUUFUEIUUUWUUWUUWIIDFICOVOVOBOBPNPORMWQnzznnzcnncnfnejiwisoooooo99oooiiijjj899227)2)3?3?4?$3@2199/,’cnnj&&8:82828&&’nsnjwksiodofofkejwnnwnwnssnkzjxkx4
-
Have anyone work on chatbot with python? I want to start this project any help will be highly appreciated. I am newby to AI8
-
Just because I didn't know the direction to work on doesn't mean I didn't do shit
Also, aren't you the professor so you please tell me what to do
And no you don't need to focus on the sample dataset I'm working on. Yes its name is "Breast Cancer" SO WHAT!!!2 -
I keep obsessing about the time. I keep looking for patterns as the day goes on. I noticed the other day that these patterns for time have math relationships in each:
15:18:21 ie 15 + 3 = 18 and 18 + 3 = 21
03:18:21 ie 3 + 18 = 21
One time is morning at 3 am the other is evening at 3 pm. I cannot stop looking for these.
Is the descent into madness?6 -
!rant
I am teaching some friends python, so i would you comment here challenges to do in it (eg. Python TicTacToe). All difficulties would be appreciated.7 -
Why is it such a pain when I have to install all my external modules of Python for PyCharm? JetBrains products are cool, but this,... literally had to remember all the modules from scratch.1
-
got my jetbrains studemt license renewal.
now i just nees to get remote programming on my pi up and running and then i have another excuse for not studying for university.
yay -
It appears that Blizzard is joining the AAA fray in its latest successful attempt to enrage its customers. Looks like the acquisition by Activision did exactly what everyone thought it would do.7
-
I saw this quiz. This is Python, right?
I ran this and got '3 44' although I'm not completely sure why the 44. I can see the obvious correlation between 'values [0]' and 'v[0]'. Aside from that I'm not sure.
Can anyone explain this to me?5 -
Spent half a day creating my CV, some time ago and today it was time to upload it to my site.
Unfortunately, swapped the first and second arguments of the tar command, so the CV file got overwritten with the tarball...
After about ten minutes of panicked searching in my browser cache, I realised that the jetbrains IDEs have local history 😀
So I did not lose half a day's work after all 😃 -
Why.
A PHP variable "declared" in the jQuery.
I don't know why Sublime Text (3) does that.
(Sorry for the quality, the screencut was for friends but I thought it could belong here too.)
Disclaimer:
I don't use jQuery, previous "dev" did.
I don't actually care about this.6 -
Took my first PTO today since joining the new company to get my wisdom teeth extracted. Already took care of that first thing this morning. Now I actually get to kick back and listen to some records until my new GPU is delivered, and then I get to fuck off the rest of the weekend with new games because my wife says I can't do any yard work this weekend.
Only had the top two extracted because I was born without the bottoms I guess. But less pain on my wallet and my jaw, I'll happily trade in the narcotics they gave me and stick to my scotch.
Not a bad 3 day weekend in my book. Ill have to go back and figure out who/what broke the projection runner in the sandbox environment when I go back, but eh. that's a Monday problem now. 😎4 -
I have a 128GB USB 3 flash drive. I have it formatted as NTFS as that is the only filesystem that seems to work on both Ubuntu 18.04 and Windows 10. All the others I tried would have errors and/or corrupt data.
The problem is when I copy say 5GB of data to the drive on Ubuntu, it shows a file copying dialog, and then completes. Then I go to unmount the drive and it takes about 5 minutes to finish unmounting. It always brings up a dialog on the desktop saying do not remove the drive.
What is going on that it takes that long to unmount?19 -
Another interview Tuesday. Jr. Java gig. That makes 6 in about 3 weeks? I guess getting interviews is better than not getting any.2
-
Gotta love JavaScript obfuscation!
((_)=>{_=["cnVjdG9y","Y29uc3Q=",(_)=>{return atob(_)},2,0,1],_=_[_[3]](_[_[5]])+_[_[3]](_[_[4]]),_=((+[])[_][_]),_("console.log('Xaotic <3')")()})([])
// We need a [code] tag guys3 -
Switched to vsvode from webstorm
I can say that I feel pretty comfortable
I had to install like 20 extensions though
but it's lighter on ram, and also free!3 -
Python just keeps on giving.. everytime i try to do something in python i find out something awesome. The pythonic way of doing things are frikkin cool. I am a huge fan of OOP, and python is my clear favourite until now.
Yesterday i was trying to figure out how to do timed callbacks in python and was figuring out how to use system.alarm for multiple alarms, and ran into sched module.
Too sad i cant use this wonderful thing for my work.14 -
Damn feeling really happy. Finally I am able to understand and make my custom workable middleware in python. It took me 3-4 days to code authorization process 😓
-
I bought a Mi Band 3 4 days ago and I already modified the firmware. I hate when the manufacturer limit functions of software when the hardware it's very capable.6
-
I'm almost done with my Python course and after I'm gonna study more like the tkinter module, the sql module, the socket module, etc (I'm sorry if they aren't called modules still kinda new to all of this talk) And after I feel I've learned what I need I'll move on to Ruby Programming!4
-
https://invidio.us/watch/...
Two reasons why I post this.
1) finally free from fucking youtube
1.1) just noticed that 1) was an alliteration
2) HÄNDEL <3<3<3<3<3<37 -
I wanted to fix ugly unittests of parser's function that uses some shitty workaround instead of intended unittest.mock.mock_open, but it turns out mock_open cannot mock different content for each file. Cause you know, noone needs it anyway.
-
jinja templates make me look towards html in a whole new light. are we 'inserting' data to an already rendered page? am i really mixing server code with ui ? It doesn't feel so. there are if else and loops being executed for html code, like wtf?
I don't know but everything feels so good. like i was literally hating every piece of website i was writing in php. everytime i wrote <div>....</div> followed by <?php ... ?> followed by another html tag /php tag in a fuckin php file, i wanted to kill someone from w3c.
WHY THE FUCK ARE WE ALLOWING THE MIXUP ?WHY IS PHP FILE HOLDING HTM TAGS? WHY?WHY?WHY?
But this... this is beauty. their is separation of concerns. jinja has some big powers, we can loop, repeat, make clauses, inherit other html classes, load html content into blocks, set variables,
but main concepts like file handling, response/request handling,calculations,etc are all being done in separate python files. I know that these jinja templates also might be running python in background, but atleast a developer cannot fuck up that code.
we can be sure that if correct jinja codes are written in html, then it would load correctly. And wherever devs doesn't fuck up, the output is better to understand and more maintainable/scaleable3 -
When your code gets out of control because you have one script talking to another and you make it have 10+ arguments and the entire time you're writing it you're thinking "this is just for now, I'll fix this later. I'll do this with JSON or something. Just need to get this to work first."1
-
Why the hell do the Pixel 3 XL have a notch if it doesn't support Face unlock?
Meaning there could be other functions related but they are like face filters on snapchat and all. Face unlock is something would be used the most.
Really Google! U decided to keep the notch but no face unlock 🙄7 -
<?php
// This is the demo code of a PHP gotcha which took me some hours to figure out
$hr = "\n<hr>\n";
$JSON = '{"2":"Element Foo","3":"Element Bar","Test":"Works"}';
$array = (array)json_decode($JSON);
echo "Version: " . phpversion() . $hr;
// Tested on: 5.5.35 and 7.0.15
var_dump($array);
// Prints: array(3) { '2' => string(11) "Element Foo" '3' => string(11) "Element Bar" 'Test' => string(5) "Works" }
echo $hr;
var_dump($array['Test']);
// Prints: string(5) "Works"
echo $hr;
var_dump($array[2]);
var_dump($array['2']);
var_dump($array["2"]);
var_dump($array[3]);
var_dump($array['3']);
var_dump($array["3"]);
// Prints: NULL + Notice: Undefined offset ... in ...
echo $hr;
$newArray = array();
foreach ($array as $key => $value) $newArray[$key] = $value;
var_dump($newArray[2]);
var_dump($newArray['2']);
var_dump($newArray["2"]);
// Prints three times: string(11) "Element Foo"
var_dump($newArray[3]);
var_dump($newArray['3']);
var_dump($newArray["3"]);
// Prints three times: string(11) "Element Bar"1 -
*mistypes "organization" once in doctrine while generating entity*
*Have to mistype it everywhere because I already made the entity*
Rip2 -
I'm currently writing a discord bot using the discord.py library and I cannot decide how to structure my code.
I was thinking of writing it in modules, with a core script that would load any valid module class that would include an array of all the event hooks it wanted, whether it wanted to send messages and so on.
It's a nice way to practice python after my last working bot that I wrote in (Sit down for this) PHP using an outdated and abandoned wrapper (Yeah, event-based programming in PHP, I know)
Are there any better ways to do this? I really don't want to hardcode all the functions in, only to have it fall apart later after adding another feature...1 -
TFW you started coding in python and then you try to code in other languages but you always forget that damn ;1
-
Python3's asyncio is awesome.
In an IoT server we used python2 socket programming with multi-threading. Recently I have changed the socket layer to python 3 asyncio and performance was far better. I am not gonna use multi-threading anymore.
What do you guys think about asyncio?1 -
<exasperation>
originPosition = transform.rotation
3 days! 3 Days before i noticed my own stupidity, again.4 -
Finally after 3 fucking months, 15-20 fucking meetings, I got sign off for a feature release. The development took 3 weeks and was completed in March end.
I know being a financial institution and feature was regarding system handling funds, business guys need to worry a bit as any mistake in code can mess up the funds disbursal. But fuckers took 3 months to give sign off.
However, it's finally released and I can relax for now. #peace -
I've spent probably 2-3 hours working on this MAC Address lookup script.
Only 100 lines and I think it's decently documented.
https://repl.it/@RiderExMachina/...
Of course, I made a really quick version in Batch within 5 minutes that works decently well, but I'm more proud of this version... -
Has anyone here worked with low level usb stacks on linux? I am having some strange problems with a device, and maybe someone can help me.
Here is the reddit post: https://reddit.com/r/... -
Is GPT3 adversarial? And if not, has there been any work to combine GPT3 with GANs, specifically to improve plausibility or "humanness" or otherwise tune the personality or style of response?1
-
Can anyone suggest me ML and deep learning projects as my final year project..??
any suggestions .... appreciated7 -
Start a project with new idea that will totally work. Rinse and repeat every 3 days, 3 weeks, 3 months 😅
-
I think the instructions for the holy hand grenade could also apply to the amount of indentation:
https://youtu.be/xOrgLj9lOwk?t=851 -
I don't even know if the shitty rant gets through this unreliable service I pay for with my money. I want to fucking wrap my hand in that money, light it up and fucking beat your teeth out while shoving this fucking money down your greedy, second arseholes. Honestly, what am I paying you for. These last couple of days your service was less reliable than a drunkard behind the wheel trying to drive in a straight line. Exactly this fucking week where there's a fucking hackathon. This very fucking week l where I got to be the team leader, you make me look like a fucking unreliable internet twat who just talks big. This very fucking week I'm given a internet service that doesn't even let me communicate with my team mates. Why do you dare to display fucking 3g? Is the the force my fist should take? Is it the fucking amount of gallons of acid you want to be showered with? Well fucking pay that shit with the money you earned. Just let me fucking work, let me give my best, give me a fucking way to look at the docs, give me a fucking way to test my code (chat bot), give me a fucking way to tell you to go fuck yourself using your fucking antennas, maybe thst will help.
Kindly, a pissed of customer who's rage makes the heatwave look like a lesser evil.1 -
Web development -
Caution: boring question
Have anyone worked on anything like a form builder like by giving a name generating a table with default columns and new folder for controller , models inheriting a base class that can provide a CRUD functionality ?
In my company they have a cool module builder that allow you to add any field email ,file, password,connector field - connect two modules one 2 one relationship clonable field many to many built on php.
I tried and created one using python Flask framework but without restarting app the routes are not getting registering asked in stack overflow got downvoted
Any thoughts?3 -
Anybody out there know best library in Python for visualising a robot’s path graphically given its X and Y coordinates? Turtle is way too boring... please help...2
-
im in my finals and we are having a course that requires project in python ,django to be specific , i downloaded a four hour python video for over a month, i ve been feeling reluctant to watch it, felt python is too simple to take such time , just continued with my django 🤣😂😂😘
-
Hi there,
As some of you might know I am Computer science student and does a lot of C# practice and development in my free time!
But recently I am in love with python and wanted to learn it ( side by side with C#). So does anyone have any suggestions of books to learn python from basic?4 -
I'm working on a simple Flask project. But when I try to work with the database I got an error called "No module named MySQLdb". I also got error when I try to install "mysql clint" with this command:-pip install mysqlclient. So I searched for the solution of this problem but every time I find someone told to download "MySQL client" from this website:-
https://lfd.uci.edu/~gohlke/...
But the "MySQL client" file is no longer available on that website.
please help me by giving that file or any other way. You can also check my project from here:-
https://drive.google.com/file/d/...
unfortunately, my operating system is Android 6.0
Here is the code:-
from flask import Flask,render_template, request
from flask_sqlalchemy import SQLAlchemy
app= Flask(__name__)
app.config['SQLALCHEMY_DATABASE_URI'] = "mysql://localhost/codingthunder/"
db = SQLAlchemy(app)
class Contacts(db.Model):
sno = db.Column(db.Integer, primary_key=True)
name = db.Column(db.String(80), nullable=False)
phone_num = db.Column(db.String(14), nullable=False)
mes = db.Column(db.String(120), nullable=False)
date = db.Column(db.String(12), nullable=False)
email = db.Column(db.String(20), nullable=False)
@app.route("/home")
def home():
return render_template("index.html")
@app.route("/about")
def about():
return render_template("about.html")
@app.route("/contact", methods=['GET','POST'])
def contact():
if(request.method=='POST'):
name=request.form.get('name')
email=request.form.get('email')
phone=request.form.get('phone')
message=request.form.get('message')
entry=Contacts(name=name,phone_num=phone,mes=message, date="2019-09-01 12:06:20", email=email)
db.session.add(entry)
db.session.commit()
return render_template("contact.html")
@app.route("/post")
def post():
return render_template("post.html")
app.run(debug=True)3 -
I learned Python3, HTML5, CSS3, JavaScript and Bootstrap 4. I also did some web design project. But I think I need more practice for being a good programmer. Now, I need A platform that will give me some design or programming exercises for practicing. The platform can be any website or android app. I don't looking for something that will say, "design a calendar or make a calculator" or something like that. I'm looking for more specific task. Example for html:- I need all tags and attribute based task. so that I can learn everything properly. something that will say do the array task in JavaScript, do the h1 task in html. I want to see the result of an exercise if I failed in that exercise. So that I can learn from there. I want to make sure that the exercise will cover all topic of that language. so that I can learn everything topic of a language.
IF YOU KNOW ABOUT THAT KIND OF APP OR WEBSITE THEN PLEASE HELP ME. I'M NEW IN PROGRAMMING.15 -
Finally working on rewriting the core of our internal platform on CakePHP 3.
It feels so good leaving the legacy codebase behind!4 -
Let me show you something:
let a=[
1-3,
5-35,
5*7,
77/4
,4%5,
7==7,
6_2,
3&&3,
4&&2,
"f"&&"c"
]
document.write(a)
actually, it works...12 -
I am moving next weekend into my new apartment. Already shopping for network parts :D
Has anyone worked with ubiquiti's UniFI PRO hardware? (Router/switch/ap) -
Six hour of intensive training with Python. Every hour there is something so "WHAT THE F*** COME FROM THAT MAGNIFICENT S**T!?" in my head....
-
Meta Platforms has launched Llama 3, their newest large language model (LLM), alongside a brand-new stand-alone AI chatbot. Llama 3 comprises two versions, one with 8 billion and the other with 70 billion parameters. Furthermore, Meta is currently developing an even more advanced 400 billion parameter model, though its release date remains unannounced.
Ragavan Srinivasan, Meta’s VP of Product, expressed enthusiasm about the model’s capabilities in a recent interview, stating, “From a performance perspective, it is really off the charts in terms of benchmarking capabilities.” He specifically referred to the ongoing development of the 400 billion parameter version.
https://freeaiall.com/ai-news/...6