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 - "io"
-
In the age of multithreading, parallel processing, and non-blocking IO, you still get messages like this.14
-
Love how a teacher of mine described IO wait for CPUs on a blackboard.
"That's calculation time." *draws three small lines on the blackboard* And this is IO wait. *draws a really long line, goes out of the class, out of the school, comes back* "Yes, this is IO wait. No matter how good and fast your CPU in your gaming PC is, if your hard drive is shit, everything is shit."5 -
So I named my daughter "io"
everyone calls her by the name and then we register her on our local gov't to get birth certificate.
AND THEN THESE FUCKED FACED FUCKERS! dont accept my daughter's name because of this STUPID SYSTEM OF THEIRS!
because "io" is too short for first name field to accept. Its like the devs become the law and just set their own limit.
It pisses me off. our law didn't say `len(firstName) > 2` and we can't use paper anymore as alternative.
I really want to punch the fucker in neck. sorry40 -
Hi everyone,
We're currently experiencing major issues with the devrant.io domain due to another outage/problem with .io domains themselves. More info here: https://news.ycombinator.com/item/...
The issue is also being reported on twitter.
If you receive a host not found, connection error, etc. connecting to devRant, this is why. We'll keep you updated and in the future we will probably be switching away from .io at least for our API.
Thanks for the patience.22 -
Anyone looking for something interesting to do???
Step 1) understand how basic circuitry works on a bread board nothing too fancy. ( Implement NAND, AND, ADDER, SUBTRACTOR)
Step 2) learn about microprocessors and how OS works
Step 3) learn assembly
Step 4)write a basic assembler and understand how loaders and linkers works !
Step 5) write a kernel with very basic features like memory management and process management and some drivers for IO
Step 5) write an emulator for some simple systems .! ex chip-8.
Step 6) read about compiler theory and automata
Step 7) write a basic Python interpreter that compiles (not interpreter) to native assembly.
Step 8) implement TCP stack .
Step 9) learn as much as u can about complexity measurement ), data structures and algorithms using C or C++ it's very important ( familiarity with pointers and thus computer memory )
Step 10) learn any high level language of choice like Python or Ruby.
Step 11) stop debating over tabs vs spaces , emacs vs vim , angular vs vue, php vs Python , OOps vs procedular vs functional ( just know about all of them and when to use but don't fucking debate over which one is superior )..
Step 12) live happily and be healthy.30 -
Techy name? Check.
Word which ends with "er" but scrap the E? Check.
A .io domain? Check.
This is a hipster app.8 -
Want to Google io earlier this month and a senior director at Google game a presentation and used a chrome dino for a demo and after I found him on LinkedIn and asked her m where I could buy one and he asked for my address and sent me one for free. Idc what any of you say Google is really cool for doing this.14
-
Hello, guys.
I'm here is new. I'm from Russia. Sorry for my English, but i will learn his and talk you all about think.45 -
So just recently my school blocked the following for unknown reasons websites
Github
Gitlab
Amazons aws
stack exchange
Bitbucket
Heroku
The hacker news
DuckDuckGo
The Debian package repositories yea all of em
And all domains that end in .io
Now some of you out there are probably just saying "well just use a vpn" the answer to that is I can't the only device I have a locked down school iPad can't install apps cannot delete apps cannot change vpn or proxy setting's I cannot use Safari private tab they have google safe search restricted to "on" they even have "safari restricted mode which lets safari choose what it wants to block" and even when I'm on my home wifi it's s still blocked as they use Cisco security connector THIS IS HELL
Also this is my first post :)30 -
You is not gonna beliebers what just happened lol
So a couple weeks ago I earned a stress ball (300+ ++'s) I sent an email about it but never got a reply, so I decided to just forget about it. But then I just ranted (lastnight) about how its so hard to get a stressball. So I basically just said "fuck it i'll buy one". Then some dude comes along and is like "omg not until he shows us the bought one" so I'm like CHALLENGE ACCEPTED and buy one...
Then I get an email confirmation from devrant store confirming my order for the bought stressball. And I notive that my spam folder has unread messages in it. i look inside the spam folder and what do I see?...
I see dfox replying to my free stressball request weeks ago lol. So yay, now I gets the 3 balls (or two - depending) lol omg, so many balls.15 -
Manager: our file IO is slow, any suggestions to make it faster?
Code: multithread writing to a few hundred small (temp) files then single thread combine to one big file and delete the temp files.
Eyes: bleeding31 -
You know what I realized we should always say no for demo driven application development.
We should always ask for enough time do a proper development and if its not enough, shouldn’t write a single line.
Because once we deliver a working demo. Its release ready for them because its FUCKING WORKING..
And trying to explain why this is just a demo and cant be put to production is even bigger pain in the ass than saying no in the beginning.
LESSON LEARNED .4 -
Seniors: Welcome to the team. Feel free to ask anything if you need help. There is no such thing as stupid questions.
New Dev: Sure. Thanks.
*a few minutes later*
New Dev: How to comment a code?
Seniors: Google it....and please don't ask stupid questions.11 -
When you just finished watching Google IO and they presented lots of super cool machine learning powered stuff...
... And suddenly, what you've been working on just few hours before, feels like:
"Yay! Finally this button is changing the color of this text!"1 -
Ninety-ninety Law - Tom Cargill
"The first 90% of the code accounts for the first 90% of the development time. The remaining 10% of the code accounts for the other 90% of the development time."
A good list of laws found here (old but good read):
http://globalnerdy.com/2007/07/...2 -
What is it with clients who have never even seen a single line of code in their entire lives telling me how long they believe a certain change request should take to code.
I mean, what if I told you that your "seemingly simple enough" change needed an update to 36 class files, 9 oracle stored procedures AND several database schema changes. Also, who the fuck is going to perform a regression test to make sure I didn't break anything? Your Uncle Bob??6 -
What's with the 4 pixel wide scrollbars on some desktop software these days? Does nobody care about accessibility anymore?
No seriously.
Fuck you.
And why the fuck does open source software seem to be the main culprit - as usual.
And tutorials telling us to add an extra blank line to our source code because fucking Linux distros decide to put an overlay horizontal scrollbar just over the top of where the last visible line in an editor appears.8 -
draw.io is moving to diagrams.net, because .io domains are not secure.
Source: https://diagrams.net/blog/...12 -
That awkward moment when you realise that your machine is doing more learning than you this semester.5
-
When you are so angry about something you slam your fist on the keyboard, break the Enter and surrounding keys, rush to the closest shop that sells keyboards, fail to buy one because they're all too shit, come home and end up fixing your keyboard, then get even more pissed off because you had already gotten excited about that new keyboard, and end up writing shitty comments for shit you haven't even finished yet because you're too pissed off BECAHSE EVERY FUCKING THING IN THIS WORLD IS FUCKING BROKEN AND SHIT. AND NOW I HAVE A MIGRAINE AND MY LEG IS ITCHY FOR SOME STUPID FUCKING REASON!17
-
I am now a Cloud Hosting (Windows and Linux) Reseller. I kinda feel like giving away some free accounts to the devRant community. But it can't give away too many accounts, so I probably won't because I don't want to exclude anybody. 😭25
-
Commit Message Part2:
6528fff Code was clean until manager requested to fuck it up
241b35f Who knows WTF?!
4381a32 Argh! About to give up :(
c3bf1a9 more debug... who overwrote!
2d68d6d Fixed a bug cause Maciej said to
b112c1a This branch is so dirty, even your mom can't clean it.
bb456d4 Shit code!
4878b46 Copy-paste to fix previous copy-paste
e2c7e87 A fix I believe, not like I tested or anything
f56109f derpherp
e4b8f4c formatted all
3691208 I'm just a grunt. Don't blame me for this awful PoS.
0888b69 just checking if git is working properly...
62741aa I'm too old for this shit!
0735196 COMMIT ALL THE FILES!
09caccf I CAN HAZ PYTHON, I CAN HAZ INDENTS
1e1cda8 giggle.
ab70bde Fixed errors
934436d Now added delete for real
5f84e30 My bad
99baff8 CHRIS, WE WENT OVER THIS. C++ IO SUCKS.
953473d final commit.
f0c3b57 Just committing so I can go home
4e5ce4e yolo push
deb4e3b I CAN HAZ PYTHON, I CAN HAZ INDENTS
710c06a Commit committed....
3c45e67 it is hump day _^_
4487788 Committing in accordance with the prophecy.
bf86e7e This solves it.
4804f68 FONDLED THE CODE
051d42e REALLY FUCKING FIXED5 -
Good Windows reseller hosting plans are hard to find. These guys want to charge me $20 per year just for an extra 1gb of webspace.
Get fucked.21 -
justfollowus.io
ontwitter.io
because.io
wehave.io
abeautiful.io
name.io
and.io
logo.io
even if you don't know what we do. just fucking use our tools.io4 -
## 4 years ago:
- Principal Architect: We are using IO1 storage type. What if we used GP2?
- Perf team: IDK, let's test it!
*we run tests*
- Perf team: results are OK, but we're exhausting Burst IO capacity, effectively hard-limiting number of tests we can run per day
- PArch: ahhh, I see. Then Gp2 is a no-go.
## 3 years ago
*PArch quits. New one is hired*
- PArch2: We are using IO1 storage type. What if we used GP2?
- Perf team: We've already tested that a while ago, results were THIS and THAT
- PArch2: I see. Let's test it again anyway
- Perf team: *wtf???*
*we run the same tests, we get the same results*
- PArch2: I see, so GP2 is a no-go.
- Perf team: *you think....? How did that thought never cross our minds, we wonder...*
## 2 years ago
*new DBA is hired*
- DBA2: We are using IO1 storage type. What if we used GP2?
- Perf team: We've already tested that a while ago, results were THIS and THAT
- PArch2: We've already tested that a while ago, results were THIS and THAT
- DBA2: I see. Let's test it anyways. I've read somewhere that GP2 might be a better bet
- PArch2: you might be right, let's do that
- Perf team: *wtf???*
*we run the same tests, we get the same results*
- DBA2: I see, so GP2 is a no-go.
- Perf team: *you think....? How did that thought never cross our minds, we wonder...*
## 1 year ago
*DBA manager left; new one was hired*
- MGMT_dba2: We are using IO1 storage type. What if we used GP2?
- ........
Should we even bother bringing up the history.....?11 -
The freelancer...
We are looking for someone to design a logo with no less than 2 years Javascript, 10 years Intel IO low level engineering in assembly, 2 months pascal, 14 weeks of HTML5, 17.23567 years of ASCII C, and you must have a half pint of strawberry ice cream in your freezer. $20.00 firm.5 -
Does anyone else hate it that ".io" is now a style of game? And not even a good one, at that
When I told one of my friends I want to buy a .io domain name, he was confused when I didn't want to make one of those games7 -
Hello everyone 👋
I see people blaming the developers when you see a crappy software product , saying that they have done a bad job.
But even it could be true also it could be the product managers who didn’t give enough time todo what needs to be done or project scope is too big for the persons knowledge.
I’ve worked in a company where deadlines were so tight I didn’t have enough time to proper UI and Testing. I used to be only developer who has someone experience and I had to train the interns as well. I am also to blame to joining such company but in desperate times takes desperate measures.
And now when i’m leaving the company and I have spend 2 years of my life for apps that I’m not proud of.
Just rant. Please feel free to give ur thoughts2 -
Sister of a friend of mine fucked up her Mac, her Dad, they called me to fix it.
Partition table is wrecked and her thesis is there, no backup.
Been working since yesterday, got to recover it. Recovered files.
Dad applies pressure, because she's leaving out of town today, I do my best but fucking SSD won't work, it says it's healthy but damn Mac says IO error, Disk Utility says exit code 8... oh, and her dad thinks it's easy, that Ive been delaying things and so on...
fuuuuuucking hell, I hate you10 -
I made a simple HTML site for watching Google I/O live without all the ads that third party websites try to stuff up your face. It also has the official countdown from the event website 👌 (The countdown will disappear as soon as it runs out)
Check it out at adless-io.firebaseapp.com3 -
AI robo revolution 😁joke/meme machine learning tensorflow keras ml opencv ai to overtake humanity soon ai face recognition
-
Google:- Google home is using machine learning to remove all type of back noise like traffic, air, and others so the call experience goes smoother.
Microsoft:- In Skype we are using machine learning to catch all type of back noise and mix it with your voice. Skype will try every possible way to make your call experience as bad as possible. Every type of noise Trafic, Air, hardware, your breath if there is nothing! the software will cut your voice and send only a few parts.4 -
Sitting in my backyard, trying to mentally troubleshoot some coding issues in the fresh air, and I hear my neighbor say, "...she was picking her bum before..."
Back inside I go.2 -
Marketing : Do you think we can implement this feature in a system?
Dev : Hmm....*checking specs*...This will...
Marketing : *interrupts* we have already signed a contract with a client.
Dev : ugh......7 -
Just redid a small work script in Golang to test it out.
Honestly, speed matters little for what it is, the original was in Python.
By heavens Golang is one ugly ass looking language.
I like using it tho, its easy to understand and performant for networking, file io and shit like that.
But man....shit is ugly to look at from a distance.
I do think that most langs look ugly af tho, so shit is allright.
Syntactic whitespace is still shit btw.12 -
Me: *presenting a demo of tool in office presentation*
Meanwhile an audience is browsing Facebook on his phone...
Me: *Finish demo*
*Said member of audience calmly places his phone on the table.*
Douche: "So can you go over that once more?"
Me: ...3 -
Hey guys, remember my batman pen ...is one of the picked pens at codepen io home page...feeling excited 😀😀😍
-
So I was wondering, what is you guys' 'goal' in the long run? What do you really want to be able to do or what do you really want to achieve in 5 to 10 years? Are you working primarily for an income or are there more prominent reasons for doing what you do?
I'm in my last years of university and have a job at a software development company, not because I need the money but because of all the amazing technologies I come in touch with and the amazing things I learn, mostly about servers and devops tools.
I currently have 2 goals in mind: Creating an .io game together with a frontend developer and setting up a kubernetes cluster and using it. I personally consider kubernetes an end-game thing when it comes to running apps and am experimenting with it on three servers that I got from school.
So I was wondering, what ahout you? 😀27 -
Rule number 1 in performances debug :
It's always I/O.
If it's not IO, then the code should be REALLY bad.12 -
Wanna hear a story? The consultancy firm I work for has been hired to work on a WPF project for a big Fashion Industry giant.
We are talking of their most important project yet, the ones the "buyers" use to order them their products globally, for each of the retail stores this Fashion giant has around the world. Do you want to know what I found? Wel, come my sweet summer child.
DB: not even a single foreign key. Impossibile to understand without any priopr working experience on the application. Six "quantity" tables to keep aligned with values that will dictate the quantities to be sent to production (we are talking SKUs here: shoes, bags..)
BE: autogenerated controllers using T4 templates. Inputs directly serialized in headers. Async logging (i.e. await Logger.Error(ex)). Entities returned as response to the front end, no DTOs whatsoever.
WPF: riddled with code behind and third party components (dev express) and Business Logic that should belong to the Business Layer. No real api client, just a highly customized "Rest Helper". No error reporting or dealing with exceptions. Multiple endpoints call to get data that would be combined into one single model which happens to be the one needed by the UI. No save function: a timer checks the components for changes and autosaves them every x seconds. Saving for the most critical part occurring when switching cells or rows, often resulting in race conditions at DB level.
What do you think of this piece of shit?6 -
Hmmm, this feature that I added seems to make the whole process 50% longer. I need to optimize something. Let's see now...
Yeah, make that a shared resource and parallelize IO to leverage the multi-core architecture. Hash map for this, binary tree for that. This thing that gets called a million times can be written easily without a regexp. That thing can be rewritten in Rust as it's too demanding.
There! Works! And it's also a lot cleaner. Nice!
How's the performance doing? 70% longer.11 -
People with "I am a senior, only I have to be right" mindset are really fustrating to work it.
It is not that hard to accept the truth. No one can be right all the time and no one gonna look down on you for that. You don't have to shove off-topic stuffs down the other people's throat when you realize you might be wrong.4 -
Episode 3 of this rant: https://devrant.io/rants/871827/...
Me: So I'm going an API call to Mastercard but they don't give us back CreditCard token to save.
Provider: Ya man you need to curl a request in your code to get the token...blahblahblah.... man you need to know these things they are not an easy things to be done, just paste curl code on MasterCard website into your code and it will work
Me: *ignores his shit talk and proceed to test*
*5 minutes later*
MasterCard Server: error.cause=INVALID_REQUEST&error.explanation=Invalid+credentials.&result=ERROR
Me: *calls provider and tell him*
Provider: Oh sorry, we need to enable this feature for your account.
devRant people please, give me one reason why I should not leave this field, and maybe also leave this life knowing there are this type of people alive.
Thank you :)2 -
I'm not much a fan of JavaScript. In fact, I am not very fond of any dynamic language, but JavaScript is one of my least favorites.
But this isn't about that. I use NodeJS for all of my web serving. Why would I do that? Am I a masochist? Yes.
But this isn't about that. I use NodeJS because having the same language on client and server side is something that web has never really seen before, not in this scale. Something I really really love with NodeJS is socket connections. There's no JSON parsing, no annoying conversion of data types. You can get network data and use it AS IS. If you transmit over socket using JSON, as soon as that data arrives on the server, it is available to use. It gets me so hard.
JavaScript is built to be single-threaded, and this is rooted deep into the language. NodeJS knows this isn't gonna work. And while there's still no way to multi-thread, they still try their best and allow certain operations (Usually IO) to run async as if you were using ajax.
With modern versions of the language, the server and client side can share scripts! With the inclusion of the import keyword, for the first time I have ever seen, client and server can use the same fucking code. That is mindblowing.
Syntax is still fluffy and data types are still mushy but the ability to use the same language on both sides is respectable. Can't wait for WebASM to go mainstream and open this opportunity up to more languages!10 -
One day i type hello world program.
And i was amazed that for the first time someone (something) is doing what i tell it to do.
And that's how i got interest in programming.2 -
How much You know from this?
How much you are earning by that knowledge?
How much your company can give that person?7 -
Hit udemy, Google for any new technologies, attend large conferences, and simply spend 30 mins to an hour each day coding in anything new - and of interest.
I have to keep up with the young people, to keep my job/career alive, heh.1 -
Google IO 2023: WE'LL SHOVE AI DOWN YOUR THROATS AND YOU'LL LOVE IT.
Fuckers even have live chat and comments disabled -.-
Never thought tech-events would get this boring, 5y ago it used to pump me up like nothing else could.9 -
🎶"You args the IO Exception,
You args the IO Exception,
You args the IO Exception,
You args the IO Exception"🎶
-The Only exception by Paramore -
Can we please eliminate React?
I was interviewing lately and the lady asked if I knew react, I said no and I don't want to. She then asked what the hell I use for front end... As if react is the only thing you can use... Ehm hello we still have vanilla JS and jQuery in the house. Which are better, faster and easier to use for like +90% of all Web projects out there...25 -
Feels good to brought dead laptop to life.
Got dead laptop(person who gave it to me for free, said it doesn't turn on, and he got new one and this one is just for recycling), which got some liquid. Changed palmrest, keyboard, changed cable which is connecting to io board with power button, changed thermal paste and it working like a charm. Maybe in the future I will change screen. Screen has some pink spots, but it's only visible on dar theme. Added 16 GB ram, 512 gb ssd. Now I am using it as work computer. Dell Latitude E74507 -
What if - when you want to switch off the light or anything, you are supposed to get electrocuted and die.
But instead, your consciousness switched to an alternate reality and live, and you wouldn't notice.
Jeez..I need to stop watching scifi. I wont look at switched the same again.2 -
I found this on a wiki with Haskell Humor... it's interesting...
How to Shoot Your Self in the Foot With Haskell: Putting the unsafe in unsafePerformIO!
You shoot the gun, but the bullet gets trapped in the IO monad.
Couldn't match expected type 'Deer' against inferred type 'Foot'.
While compiling your program the compiler produces a type error long enough to overflow a kernel buffer, overwrite the trigger control register and shoot you in the foot.
After trying to decipher the type errors from the compiler, your head explodes.
After you've finally found a way to circumvent the type system and shoot yourself in the foot, Oleg appears out of nothing and shoots you in the foot for coming up with it before him.
You shoot the gun but nothing happens (Haskell is pure, after all).
Your foot is fine, until you try to walk on it, at which point it becomes mangled.
You have a shootFoot function which you've proven correct. QuickCheck validates it for arbitrary you-like values. It will be evaluated only when you end up at the hospital. You hope this doesn't come to pass, as it actually returns a bullet-ridden copy of yourself and you don't want to be garbage-collected.
foreign import ccall "shootparts.h shootfoot" shoot_foot :: Gun -> Programmer -> IO ()
shootSelfInFoot = unsafePerformIO . shoot . foot $ self -- Shoot self in foot 0 or more times depending on evaluation order
No instance for (Target Foot)
arising from use of `shoot' at SelfInflictedInjury.hs:1:0
Possible fix: add an instance declaration for (Target Foot)
In the expression: shoot foot
You go to shoot yourself in the foot but the bullet is in the ST monad and the gun is in the IO monad, so you can't.
You ask Haskell to shoot you in the foot but by the rules of lazy evaluation you don't need the result yet so it doesn't happen.
You decide to shoot yourself in the foot but get distracted devising a ballistics algebra and wondering if you can do the calculations in the type system.
You want to shoot yourself in the foot but realize there is no Gun datatype so use Arrows instead.
You shoot in the direction of your foot, but since you are inside the STM monad you can just retry until you figure out what to do.
You shoot yourself in the foot, but you are perfectly fine as long you just don't evaluate the foot.
You shoot yourself in the foot, but nothing happens unless you start walking.
Don't forget about memory consumption! If you don't look, the bullet causes heap overflow. If you look, the bullet causes stack overflow.
You *appear* to have deliberately shot yourself in the foot, and yet your program actually runs perfectly OK due to lazy evaluation. (So long as you remember to not look at your foot...)
You aim the gun at your foot, pull the trigger and remove the clip. When you look at your undamaged foot, the hammer clicks on an empty barrel.1 -
!rant 😇
Question time for the automators out there. Has anyone stumbled upon n8n?
https://github.com/n8n-io/n8n
It looks surprisingly simple to get up and running for a no-code automation tool, just wondering if there's any communal reviews on them before I jump deep inside.question automation tool maybe i can get commissions out of them seriously - anyone use this? n8n.io this is not a sponsored ad sorry floyd no code7 -
A few weeks ago, I was kept up until the wee hours of the morning trying to figure out how in the hell the Monty Hall problem works. After finally getting it (I'm slow, okay?), I decided to write a program to run simulations of it.
First incarnation of program took user input. User enters what door they choose (1, 2, or 3), then is told what door Monty opens, then given the decision of staying with the door they originally chose or switching, then informed how that worked out for them.
Second incarnation of program ran on a loop. At the start of each loop, a random door is picked for the user guess. Then the door Monty opens is calculated from the remaining doors (excludes user guess and prize door). Then user switches doors (choosing the door that was not their original door or the door Monty opened). At the end of each loop, if the door they switched to was the prize door, it would increment a win counter, else increment a loss counter. After running the loop 1000000000 times, it printed to console `You always switched doors, resulting in ${wins} wins and ${losses} losses`.
THEN I decided to write a variation to run a while loop on the outside of the loop to increase the number of total doors until the point where the decision to switch doors hurt more often than it helped. At this point, I decided to incorporate file I/O and write to a file rather than a console. And that was neat!
And then I decided it would be cool to go back to the three door variation, printing on each loop the original door, the door Monty opened, the door that was switched too, the result of the switch (win or lose) and what the prize door was.
But for the life of me, I couldn't seem to get the file to write properly. It would, like, always crash my terminal. I tried open + append, I tried append. I tried createWriteStream. Still just failure.
And then I changed it to an appendFileSync and happened to look at one of the files that I was writing to. "Huh, over a gig seems a lot."
"Well, how much are you writing each loop? Did you forget to keep in mind how many bytes that would be?"
TLDR: If you're going to write a program that's going to write data to a file on a loop, you might want to figure out how much it's going to end up writing .... before trying to run it. And running a loop 1000000000 times may be a little excessive.
*face palm*2 -
Went to an interview.
Interviewer said "X language is easy compare to our stack".
The next month, I saw on a job post that they're looking for that X role.
I should buy some sandwich2 -
Lua is one of the stupidest languages to ever exist.
Oh, the language is easy to learn? The syntax is friendly? There's only like negative 10 functions you ever need to know? Everything is a table?
EVERYTHING IS A TABLE?! WTF CARES? WHAT ABOUT NIL?!
The arrogance this language has is extraordinary, literally. No lang, except Lua, imposes such an opinionated dichotomy. Everything is a fucking table, or, it's nil. -- That's so fucking stupid.
And look, I get it, this lang (oh sorry, scripting language (?)) CAN be good and fun and whatever... the moment you start to do IO is the literal end of days.
Everything is nil. Except, if it's defined... then it's not nil. -- OK. That sounds sensible/reasonable enough. -- What if it's not defined? You get nil. What if it's not the right data? You get nil. Do I get errors/exceptions or whatever? No, absolutely not, you get nil... unless the application you're using with Lua with has a lib that handles that.
There are so many more issues I have with this lang, but honestly... Am I fucking missing something? Is this lang like actually super dooper awesome and I'm missing something? -- I can't not look at this language as just dumb and arrogant. -- It's literally a language where you have to manage and remember ALL conceivable state at ALL times.11 -
Guys, I think I am addicted and I have problems... I tried to write a simple SudokuSolver program in C# (one file) but I ended up writing an ExtensionMethods class, a Puzzle class, a Solver class, an IO class, a Program class...
That's why I hate working on big side-projects for too long -
Did your motivation ever suffered for company enforced tooling/stack?
I'm striving to be as adaptable as possible to not bitch if I have to use Angular insted of React or Java instead of Go but the stack which I was forced to use for the last two years is killing the joy I find in programming.
I'm talking about Spring WebFlux a stack which in theory is very promising (IO performances of NodeJS but in Java) but in practice is a pain to use: it makes polymorphism very hard forcing to rewrite tons of code, it significantly reduces your library choice, even after studying a damn book about it debugging remains a huge headache, unit testing often requires hacks and workarounds to be done...
Programming with it always feels like trying to fit a square peg in a round hole and I'm catching myself in procrastinating more and more, initially I feared I was burning out or losing my passion for the field but I noticed which the rare times I get to use a more canonical stack like .NET my motivation instantly returns but sadly I can use it only for few hours and then I return to WebFlux and my passion flees again.
I'm considering to look for another job but sadly lately I neglected my GitHub so I might have hard times in finding it.2 -
Idiot mode: on
It's bad when you realize you are the most idotic person you know. I just bought a wifi card replacement for my laptop only to find out that one of the screws on its back was completely unscrewable. I foolishly decided to force my way through by forcing the plastic. I tought I got away with it as I only damaged a plastic support tighten to the laptop base but now, my laptop screen isn't showing anything.
When I first booted it up after this, it was working, but it started showing troubling signs shortly after. Now, all I can get out of it is a completely black screen, no backlight at all.
What should I do? 😥9 -
Development tools for embedded projects shouldn't need fucking internet to operate. Every fucking app needing internet to even startup is getting more and more stupid. I do a LOT of development offline. I usually have my dev machine away from internet for weeks at a time. It very nice to not have to deal with update issues and the like during this time. So naturally I choose tools to do offline programming for both desktop and embedded. So I decided that for my embedded work I wanted to have better environment than Arduino IDE. Now enters VSCode with Platform IO. I download all the target platforms for my boards. I get it all working and installed. Then I take my computer to my non internet location. I fire up VSCode, select the platform, create a test project, and compile the code. Everything is working great. Then I go to upload the code to my board:
"Blah blah blah you need internet first time talking to a board blah blah blah." Seriously? WTF? Who does stupid shit like this? Once you install your dev tools they should be fucking installed! Now I have to drag my fucking dev boards to another location and do a test install just to do fucking offline programming.
FUCK YOU PLATFORM IO!
Notice I don't blame VSCode for this. I know this IDE is very internet dependent, but it works once you get your plugins installed regardless of internet. Unless of course you are doing internet based programming.3 -
Kinda curious if anyone is going to google io this year and feels like smuggling me in?
Keep missing the live streams and don't want to miss the chromebook segment!2 -
When it's 20C & sunny and the only thing I have planned during my afternoon is some good 'ol SQL. #liveTheCode4
-
ME: *runs a load test for the umpteenth time*
RDS DB: *is slow af: HI contentions*
ME: "dear AWS support, I see the RDS has troubles writing to disk as THIS db exhibits 10x higher W latencies than THAT OTHER db we have. Both are identical, apps are identical."
AWS: "Hello, I hope you have a good day. After the investigation that took us almost 2 weeks, we can confirm that there are 10x higher IO latencies to disks: [CloudWatch link]. We also see a high load average during your tests.
We recommend investigating the high load average and tuning your queries along with the database.
I hope this helps, good day."
ME: *are you seriously calling this PREMIUM support package....?*1 -
Making a Snake game. Let me explain.. I had just "finished"(We all know there is no finishing side projects) my first big, at least for me, project. An io game called torpedoed.fun [http://torpedoed.fun]. And yes, it is a desktop only, and also yes, it is not that fun of a game. Torpedoed.fun taught me a lot about developing such as how to debug effectively, backend communication, how to host a website, planning, and much more. After learning all this from torpedoed.fun, I decided to start a new project, a simple clone of the classic Snake game. I, to my surprise, was able to immediately think of several ways of implementing various parts of the game. I developed the entire game in the span of a few hours with hardly any problems! This experience of developing without constantly debugging every line of code felt amazing. If I wasn't addicted to programming before that Snake game, I was afterwards!
-
!rant
Just watching Google io and I swear the new Google Assistant just passed the Turing test?
The assistant called and made a haircut booking over the phone with a human and it seemed so human like!
Turing test is to determine between a machine and human right?4 -
Why the fuck these managers can’t understand that you can’t build a full blown system with in a week. After building a demo driven application to show the client you can tell the client we are fucking ready to launch the damn thing . I FUCKING MENTIONED BEFORE GOING TO THE MEETING ITS NOT RELEASE READY GOD DAMN IT.
Now when I say we can’t launch this app we need to fix things . THE FUCKING MANAGER HAS THE GUTS TO SAY “one day is enough to fix the issues right ? Shouldn’t be a big deal for you to fix this” .
Kill me now 🤬🤬🤬🤬🤬7 -
To every fucking site with an .io domain:
Next time, hype a cheaper TLD...100$/year is just not reasonable...9 -
When you have a Database Theory final exam in 2 hours and you're cramming a 1/4 of the module. #uni #student
-
I heard Google has prepared an AI for solving competitive programming questions by training models based on problems and solutions from GitHub.
*devil smile*...on my way to flood GitHub with wrong solutions. Ciao!6 -
I recently saw someone complain because the name registrar would not name their daughter “is” because of their system (https://devrant.com/rants/1154582/...).
I have something to add.
Where I am from (India), local registrars intentionally misspell your name on the papers because than they can charge to a fee to fix it.
That’s why I hate India, too much bargaining for everything. This has happened twice in my family and both times we have refused to pay them.3 -
I gonna puke if I see more whining on android studio from a guy having 8GB of ram and running IDE emulator and a browser. To remind everyone, decent android phones have 4GB of ram or more. They have memory cards with io speeds comparable to SSD. They have 10 core CPUs. And still, people want to develop on potatoes.10
-
Just another day, building some hearty data structures in C.
I need to make a program that can multiplex user IO to different child processes from the command line.5 -
Im in the process of developing a tool for small comunity of gamers.
That tool will help people in mod making.
Currently you have to use notepad++ in order to modify .json files that contain unit properties.
I downloaded grep for win to check for patterns in those .json files to understand how they work
I ran a simple search and...
Avast decided to frezze my pc for 20min to check 300 files because winGrep accesed them...
WHY THE FUCK DID YOU DECIDE TO SATURATE MY HDD IO YOU FUCKING PIECE OF SHIT? I HAVENT GOT ANY WIRUSES FOR 6 YEARS YOU ARE USELESS. I WILL UNINSTALL YOU BECAUSE YOU ARE JUST WASTING MY RESORUCES AND MY TIME.
I cant even reboot my laptop because i would lose my code!
Fuck AV's
Fuck slow hdd's
Fuck inefficient programs
Fuck people who thought that instaling a bunch of crap on win 10 is a good idea
Fuck people who will try to convince me to swich to linux
Fuck apple
Fuck M$
I love my C hashtag
I might swich to win10 ltsb7 -
So instead of drinking shit like Pepsi Max while coding on a weekend, and since it's so hot lately, I thought I'd buy a blender and some fruits and make frozen fruit drinks.
After unpacking the blender, I notice a booklet with a few recipes.
All I can say, is, ":/".
I'm thinking about making a frozen watermelon and peach drink right now. What do you guys like to drink when it's really hot (besides coffee)?12 -
One of the largest companies on the continent. Uses Oracle on AWS RDS with the beefiest resources available. It comes to the point where lowering the number of CPUs boosts the DB performance up (concurrency). Point is - Oracle is sweating hard during our tests. You can almost feel the smell of those hot ICs on AWS servers.
And then someone at higher levels, while sitting on a pooper, has a great idea: "I know! Let's migrate to Aurora! They say it's so much faster than anything there is!"
*migration starts*
Tests after migration: the database on the largest instance possible shits itself at 10% of the previous load: the CPU% is maxed out (sy:60%,us:40%), IO is far, far from hitting the limits.
Is it really possible Aurora will cope with the load better than Oracle? Frankly, I haven't seen any database perform better than Oracle yet. Not sure if it's worth to invest time in this adventure..2 -
Ffs, HOW!?!? Fuck! I need to get this rotten bs out.
RDS at its max capabilities from the top shelf, works OK until you scale it down and back up again. Code is the same, data is the same, load is the same, even the kitchen sink is the same, ffs, EVERYTHING is the same! Except the aws-managed db is torn down and created anew. From the SAME snapshots! But the db decides to stop performing - io tpt is shit, concurrency goes through the roof.
Re-scale it a few more times and the performance gets back to normal.
And aws folks are no better. Girish comes - says we have to optimize our queries. Rajesh comes - we are hitting the iops limit. Ankur comes - you're out of cpu. Vinod thinks it's gotta be the application to blame.
Come on guys, you are a complete waste of time for a premium fucking support!
Not to mention that 2 enhanced monitoring graphs show anythung but the read throughput.
Ffs, Amazon, even my 12yo netbook is more predictable than your enterprise paas! And that support..... BS!
We're now down to troubleshooting aws perf issues rather than our client's.... -
Is it legal to destroy other company's site or app. because they didn't pay your money in the past?
and also app they created is not secure.
The company is in another country.
.
.
.
If "No"
I'll still do that. I don't care.4 -
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 -
The guy who wrote a ton of legacy code at my company apparently had no idea that you need to close a file stream. And also that IO may throw exceptions.
Wooo1 -
**Sees a different error after hours of debugging the previous one**
ME (crying inside) - What type of sorcery is this?3 -
A while ago, i decided to finally learn a bit about the web stack (especially django) and create my first web page. The image shows what it currently looks like.
I am actually very happy with the result. It will be my personal little Home automation software, with progressive apps etc. It runs on the pi plattform and can currently switch an IO to a Relais, which in turn switches on a light.
The applications of this are really endless, which is quite cool and leads me to do more stuff at my home with it. So dear devRant: Does anybody know of some nice hackable light bulbs/spots for my home that i can use? Or other cool hackable hardware that could be applied? -
Here, if you wanna learn some shit fullstack from a shit tutorial with shut markdown, read my shit on java spark and w3js
https://steemit.com/utopian-io/...8 -
I wrote a Rust script in 10 minutes or so that processes several GiB's big ISO files and it calculates its values so fast, that most time is spent waiting for the HDD! Look at the CPU usage and the disk read/write stats :D
(No, the picture is not fake, it's a real screenshot from my desktop edited with Gimp)7 -
Isn't Perl a beutiful language? Just check the beutiful screenshot of a function I just written...
Also this is so beutiful. Did you know that you can actually print directly from a perl script?:
$qp = new PostScript::Simple(papersize => "A4",direction => "RightDown",coordorigin => "LeftTop", colour => 0, eps => 0, units => "pt");
$qp->newpage;
$qp->setfont("Courier", 20);
$qp->text(20,20,"Hello Devrant");
$psock = IO::Socket::INET->new(PeerAddr => "192.168.1.40", PeerPort => "9100", Proto => "tcp");
if ($psock) {
$psock->autoflush(1);
print $psock $qp->get();
close($psock);
}6 -
Fucking hell! Finally I found a good solution for a problem I never knew how to solve it in a beautiful way. For everybody interested: c++20 provides functionality for synchronously writing to a stream from multiple threads.
Link: http://en.cppreference.com/w/cpp/...4 -
My coolest projects that I've worked on:
- Popcorn Time (.io)
- Blackshades (RAT)
- DarkComet (RAT)
- Demonsaw (Google it)1 -
The ridiculous and shameful story of how simply "installing Windows" saved my hard drive from the garbage.
(Also update on https://devrant.com/rants/3105365/)
It started with my root partition turning read-only all of a sudden. Some quick search suggested that I should check the sanity of my hard drive, by running a SMART test, which failed of course. I backed up my data using ddrescue and ran a badblocks over the whole thing, which found around 800 unreadable blocks in a row. I was ready to bid farewell to my drive, but as a last resort, instead of the trash, I brought it to this place where they claimed they can repair the damaged hard drives by "surgery".
To my surprise, they returned my drive the next week, saying it is all well now, and charged me 1/8 the price of a new drive, with a refund guarantee if there was a problem in two days. There was a problem right there: I ran another SMART test which failed again, and also the faulty blocks were still unreadable! So I stormed the place and called for my refund, showing the failed SMART report. The only answer I would get from the staff was "Have you tried installing Windows?".
I usually try to be patient in such situations; I really don't like to declare publicly that "not everyone uses that stinky piece of rotten software you call an OS", but their suggestion seemed totally irrelevant! I got all types of IO errors all over the damn thing and they told me to install Windows. Why? Because this was the only test they would rely on. At last I managed to meet the "technician" there and showed him the IO errors: tried to read the bad sectors with dd and failed. He first mumbled somethings like "Have you checked the connector?" or "Are these the same blocks?", but after he ran out of bullshit, he said "Why don't you just install Windows first and see if that helps?" and I was ready to explode in his face!
"You test drives by installing Windows, just because it will make a nasty NTFS partition and probably does an fsck? If you shut your mouth for a sec and open your eyes you'll see this is a shit load of IO errors we got here: You can't install Windows, you can't even make an NTFS here, because it will try to zero-the-fuck-out the damn partition and it will face the same fucking IO error that I'm showing you right now in almost one single fucking system call!"
"I don't know this kind of test you are using. We have our own tests and they've passed successfully. So all I can do is to give you a Windows CD if you want."
"I don't need a Windows CD. I will just try to make an NTFS partition on the error spot and I will fail."
"Ok. Then call me when your done."
I was angry, not only because I felt they're just trying to avoid a refund, but also because I knew I've lost my drive. But just with hope that I could get my money back, I made a small partition over the error spot and ran `mkfs.ntfs` on it. I was ready to show the failure to the guy, but I looked more precisely and saw that "the filesystem was created successfully!" I was sure something is nor write. I then successfully mounted the new partition, write over it and read it again. I even dd'ed the blocks again, and this time there was no IO error. All of a sudden everything was fine.
I didn't know what happened. Maybe it just needed a write, while I'd just tried to read from those blocks. But anyway, I didn't called the technician guy again. I just thanked one of the staff there and said that my problem was solved. I then ran a successful SMART test and then restored my backup. Ridiculous like that.
I'm still not sure if my drive will continue to live with no more problems. I also have no explanation for what happened. (I appreciate any help on this https://superuser.com/questions/...) But I really like to see the look on the poor guy's face when he finds out that trying to install Windows just saved my ass!11 -
Why do io-interfaces usually use a signed integer to return the number of bytes processed?
Like seriously, you literally can't write/read less than 0 bytes.4 -
Google acquired two interesting products companies last week.
One is making customizable phone apps from spreadsheets the other is gathering sales data from local shops.
appsheet and pointy
At this point I think they’re still missing code editor. Microsoft have visual studio and amazon as always was first and acquired c9.io when vscode was one year old.
How the fuck they missed the code that would run remotely on multiple machines should have ability to connect to one node with debugger after they fucked docker with their k8s.6 -
Junior dev here. Finishing a boot camp, actively going through a few job application processes.
One of the companies has given me a tech assignment (for a Graduate Junior position, mind you) that was titled Full Stack Mid Level Challenge. It took me a week to build an app they asked and do analitycs and refactoring of the second part of the task (I only had late evenings free to dedicate to that), it was my first time doing back-end in Node (my boot camp teaches PHP) so I basically learned to do it while doing this challenge.
They asked testing and clean architecture.
I submitted the assignment (I thought I would die while doing it, exhausted, I think I was brain dead for a short perio of time, but I submitted it on time).
They got back to me and we had already have a tech interview with the Leads that had live coding at the end. Don't have feedback yet, really won't be surprised for whatever comes, it was literarly my first interview, treating it like a valuable learning experience.
But. This rant is not about this. Thsi is just to put you in my mood.
This is the !rant:
My classmate from the bootcamp is probably already hired, or will be one of these days. As a tech challenge she was asked to do FizzBuzz kata. I repeat, FizzBuzz bloody kata!
Now, I am very happy for this person, the situation is complicated and this job is extremely needed.
But, please, explain to me, HOW??? How is it possible that selection criterias vary that much?
End of rant. Thank you very much.4 -
So basically people in school were playing krunker.io, and shellshock.io in class. The school took notice and decided to "futureproof" their blockage. They basically blocked all io domains, because io domains are definitely all games. So yes, that's the story of how atom.io and every other io domain is blocked at my school4
-
To all fellow Java devs out there. Remember the Java life: "We code hard in the cubicle"
https://youtu.be/b-Cr0EWwaTk -
So...
Just searched for *.io websites... thought there'll be somehow interesting things - eeeh... nothing incredible 😴
More or less just abusive usage... 🤓
But one site - beefree.io - is about an email editor for responsive mails. And I don't know why (someone really needs that - over 1.000.000 users as stated on their site) ... but there is nothing that doesn't exist.
Weird world.15 -
Built my first App - the BOFH returns
So I started to learn programming about 7 weeks ago, learned some Java, immersed myself in git and then via a friend got introduced to android studio. To get some practice I decided to code my own app, and what better way than to create a quote generator for the funny and creative error messages as seen in The Bastard Operator from Hell. Now I wrote the thing, started adding a feature and before I know it, it works and I'm contacting the original author, if I may publish it to the playstore.
Io and behold: Merely 32 hours after the idea had sparked, in an act of spontaneous madness I've pubished my first app.
This was an absolutely electrifying experience and a huge feeling of success to me, to see my own creation on my homescreen.
Sorry for annoying you with this antirant, but I just had to get this out!
Btw here's the link if anyone is interested:
https://play.google.com/store/apps/...
Constructive critisism is appreciated!1 -
When i code in PHP. I forgot to type semicolon.
When i code in Kotlin I forgot that semicolon is not necessary.1 -
Online logo generator, but it automatically buys an .io domain of your company name and ask you to buy it for 100 times the price.6
-
Do you need a degree to become a software engineer ?
Now this is a question I’ve seen many people ask. I personally have no degree and I’ve been doing programming for the past 10 years (since I was 18 ). Whatever I learned, I learned from reading and watching tutorials.
So far It wasn’t a problem for me.
What do u guys think and what is your experience is this matter ?9 -
Got to love Google. This years IO 2018 has been one of my best. So many new tools for developers to become successful. Android & its new set of tools like Android Jetpack & the immense love Kotlin is receiving its gonna be an awesome year for Android programmers & Kotlin as a language.2
-
Today I finally solved a docker problem I was stuck with for 2 days.
For some reason it didnt want to download the needed images although colleagues could download the same images. Every time I tried it resulted in a Python IO error.
Today I had enough of it so asked if I could join another project. I had to download the exact same image for that project and it worked... Setting up the first project worked as well since I had these images already.
I still dont know why it didnt and later did work, but that is the life of devs.1 -
I've a question. Has anyone in here ever be forced to use something as remotely frustrating as SQL Server Reporting Services (ssrs)? I swear it is one of the most convoluted piece of shit ever.
-
Today I spent 9 hours trying to resolve an issue with .net core integration testing a project with soap services created using a third party soap library since .net core doesn't support soap anymore. And WCF is before my time.
The tests run in-process so that we can override services like the database, file storage, basically io settings but not code.
This morning I write the first test by creating a connected service reference to generate a service client. That way I don't need to worry about generating soap messages and keeping them in sync with the code.
I sent my first request and... Can't find endpoint.
3 hours later I learn via fiddler that a real request is being made. It's not using the virtual in-process server and http client, it's sending an actual network request that fiddler picks up, and of course that needs a real server accepting requests... Which I don't have.
So I start on MSDN. Please God help me. Nope. Nothing. Makes sense since soap is dead on .net core.
Now what? Nothing on the internet because above. Nothing in the third party soap library. Nothing. At this point I question of I have hit my wall as a developer.
Another 4 hours later I have reverse engineered the Microsoft code on GitHub and figured out that I am fucked. It's so hard to understand.
2 more hours later I have figured out a solution. It's pure filth..I hide it away in another tooling project and move all the filth to internal classes :D the equivalent of tidying your room as a kid by shoving it all under the bed. But fuck it.
My soap tests now use the correct http client with the virtual server. I am a magician.4 -
Anything from Udemy with instructors who don't speak CLEARLY, and instructors who fail to provide solid code explanations (ex: they just type some shit and expect us to understand what it's doing, and they move onto the next topic).
Add instructors who pretty much copy a tutorial verbatim - they just go through someone else's tutorial (without referencing the authors' work) and claim it as their own.
I'm sure I have more to add, but I'll stop here. :P3 -
I've got an enquiry for all you devranters. Is anybody here using WPF and XAML in their everyday life at work? If so, is it for legacy or new projects?
I'm interested.3 -
If you write an editor or input field, and do not respect our Ctrl+Backspace expectations, I will turkey-slap yo ass, bitch.
-
To all the people who use laptops for coding, what are the most important things to look out for when getting one. As a desktop user, all of these machines seem underpowered and overpriced.
Im mostly aware what I need to get regarding hardware inside, but when it comes to displays/keyboards/mousepads(does anyone even use that?)/size/io, I am preety clueless.11 -
!rant
Just watched the highlights of Microsoft Build and Google IO. I gave 80% attention to Google because they have more content than Microsoft.
No hate but Microsoft is running out of boxes2 -
How do you test unreachable code or part that is considered an edge case?
For example I catch exceptions in case IO failed and data was not written on database, but that only happens if hardware failure, or no disk space left, how do I mimic that?
I also have unreachable code for example, in one layer I fetch data (lets call it function x) and always return success result unless item not found I throw KeyNotFound exception. But in the calling function I handle the case of Status == Failed
Just in-case in the future I change function x and start returning failed status, so my logic already written but never reachable14 -
Asked us to build a car and later complain because it cannot fly.
And then, expect us to turn into a plane in 3days? -
What's your thoughts on the newly released .app tld? Is it going to be the new .io?
It also seems like Google provides TLS certificates for free to all .app domains. I know there's let's encrypt but I still think that this is great. Google is really pushing a more "Secure" internet. -
I Did NOT realise how fucking great I2C and an esp8266 can be, simply connect up a few sensors like BME 280 and a few others, implement the Adafruit IO capabillity, done. Fucking Amazing!
-
Complaints about how FE rendering is so slow when BE apis take forever to return. Working on performance projects and feel like you've done nothing at all at the end of each day.2
-
I do not understand how event loop of node is faster than per request new php fpm process or similar.
Imagine you have 10 users surfing your website. In PHP there will be 10 process working on each request.
Where as in NodeJS there is only 1 process taking each request one by one.
Now for the I/O part, it is going to take same time on completion. By the time the IO is completed and the control is back to NodeJs, It will eventually take the same time (the actual response delivered).
Am I missing something here ?4 -
Socket IO released a major update not 8 days ago. I spent an hour getting a "400 Bad handshake method" until I discovered my server had updated to 3.0.1 but my client was still in 2.3.0.3
-
Ok It's my last term in CS and guess what I have the knowledge as same as some one in high school i rly don't know what to do nAw any suggestions17
-
Not really a rant, but an observation. As programmers we get to create realities for computers through programs. There are some fundamentals, like IO, memory, disk...but the creative power is enormous.2
-
Well, I love react-native and how easy to build mobile app with it. but damn look at these folder sizes jeez1
-
Lead developer likes premature optimization. Always forces me to remove a if here and there because "bad for the performance".
Now her optimization caused a base component to fail, ppl will have to spend the night debugging.
Best of all, it's my last day ;) -
Prank on me: at an Avaya training, my instructor decided to take over my desktop terminal screen and override any text I typed. I was like, WTF?! I thought my terminal was corrupted or something. Heh. I heard her laughing behind my back, and I gave her the evil eye stare heh. That's when I also learned about hacking terminals and how much fun that was. :P
-
Rejected for the job . Out in technical round, though i gave all the correct answers.
Me: seating outside with a down face.🦁
HR: what happened? you seems to bit low .
Me: sir ,got rejected in technical round.🐷
HR: work on mistakes.
Me: yeah sir🦊
Inner me: tell me the mistakes fucker...
Why ? Why? Why?
Dealing with rejection for no reason 🐀17 -
Trying to debug my program but it only behaves correctly when I run it on debug mode not when I actually run the damn thing :/2
-
purity might just be the most important thing when refactoring code you didn't write.
for real, if you purify everything in that code, future refactorings will go way smoother and reasoning even more so.
But it's no easy feat, sometimes you face cockroach code. cockroach code is code written nuke style. The fire and forget code that you shouldn't forget.
cockroach code's easy to spot. you can't know what cockroach code does without reading it's comments. roach code is fat, roach code retro feeds from different spots of macaroni. it does IO and everything else all bundled together.
roach code isn't easy to scratch out its async version. in fact, thats a property of roach code. If you can't make it async without a rewrite, you've got roach code.12 -
I accept offer letter from x company.
And just before 3 day of joining i got far better offer from company y.
So i told company x that i got better offer I don't want to join there anymore.
They told me that after accepting i should not find new job, my word has no value, and told me "keep that attitude (sarcastically).
I know i did wrong. How do you guys handle that?
Is it wrong to accept other offer after accepting one?7 -
WWDC or 2hours commercial
None life of code like the google io(first day)
“Developers conferences” are comming less dev and more marketing1 -
- Going through new open source projects
- Subscribed to blog that gives all the shit about new things
- Never missed updates from WWDC, Google IO. -
World Draw. Google I/O 2018joke/meme google io 2018 google draw googled io18 google worlddraw google assistant google io io 18 world draw
-
A.I. Hacker. :P
Some big corps will hire me to hack the AI systems.
Option B: beach bum for life. And enjoy the low stress. -
People that commit large binary files to subversion... sigh...
(Banging head on desk waiting for binaries to finish downloading)2 -
Responding to a numb sales guys joke with "do you know the best about UDP jokes? - I don't care if you don't get it! " ...turnin around left the hallway... Unbeatable
-
I love Azure. But WHY do I need to add vCores SQL for more logs/io ?
Why is it even limited ?
So no, I won't add 350$/month for 1 more vCore just for some more Mbits of log io bandwich6 -
Server Error Caused by: javax.servlet.ServletException:
Error Message: No message available with status code 500
Does this qualify as the best error message, ever? -
!rant
Any hololens or virtual reality / augmented reality developers here?
If so, mind sharing "lessons learned" experiences with VR / AR programming?3 -
I hate how the Java File I/O api works.....
I was developing a little noSQL database in java, just for fun.
The basic was: every entry was a json object, separated by \n.
Every entry started with the length in bytes, so i could perform a easy read of the entry with a inputstream, followed by the entry its self..
The problem?
If i had a big file with more than like 50000 entries, to alter a entry with acceptable perfomance, i had to read every entry for matching with search, than using RandomAccessFile to mark the old entry as deleted and adding the modified one at the end.
The same for delete, it was only possible to mark the entry as deleted, so the read/alter would just not read it by reading the length(which i wrote earlier) and than use inputstream.skip with the length.
To actually delete not needed entries, i created a new file and than reading the old one and writing at the same time to the new one, with skipping the not needed entries and at the end rename the new file to the old and re creating all the streams.
Why cant i just replace a specific part of the file? WTF JAVA2 -
Google drive won't load on my pc, google docs fucks up the formating. I know i can stil download the document from the web io but i have to upload it every once and then to have it synchronized manually and that runins my mood rn.1
-
I'm doing freelancing.
One client hires me for 30 hours/week.
And I'm are getting work irregular.
Like
1 week is full of 30 hour
1 week just 10 hours.
1 week 20 hour.
What should I do?
I try to get other project but most of are For a full time.
One Client hires me but at that time the previous client gave me a full 30 hour's work so the new client could not get enough time and gave me low ratings because of time wasting.
I'm afraid that can happen again.3 -
Discovered this really awesome telemetry tool called RRweb today.
Its so cool and creepy at the same time.
https://github.com/rrweb-io/rrweb5 -
I don't understand how I/O streams work. I mean as a userspace developer i saw the stdin/stdout streams as magical objects that i could read or output infinetely in a continuous way, without caring how much data i write or read (ok, not entirely true because overflows)... But now i'm making an os kernel and i really don't know how i'll implement them..... :(1
-
I remember the day I used Linux to enforce size quotas on user directories oh what a day
I was surrounded by horrible monsters wearing manho suits that made them appear superficially human... though the sounds screeching forth from their many toothed mouths in whining jarring tones would suggest otherwise and I used this wonderful feature : you can call most of the file systems commands on files !
did a dd to create a disk image specified to the correct size made an fs inside and mounted it straight into the home directory adding entries to the fstab to auto mount and setting the io permissions
It was so wonderful and the little bastards refused to use the server !5 -
So I was instructed today, after lunch, to spend an hour teaching a member of my team how to SSH, store keys, basic io routines, and create CRON jobs to auth our ECR registry by my team lead.. Why am I wasting dev time teaching someone how to use an operating system? Need I add, our primary Dev workspace is a spun up using vagrant using xubuntu. I just can't comprehend how this person has been using xubuntu as their primary OS for two months and doesn't know the SSH protocol. Much less how they landed a dev job without any prior experience with a *NIX based OS.2
-
I used to blast throught everything accademic in a really short time span. I used to push hard on the gas pedal since my college years, up to my bacheler degree. I was always on schedule with every exam, even graduated top of my class and first amongst my colleagues. But then, I felt the urge to change university, I moved out of my parent's home, in a far away city, and everything simply collapsed. All of the sudden, not only was I struggling with my exams, but, most importantly, I started struggling with telling the truth about it. I constantly felt in debt of my parent's efforts to put me through university, to have given me a chance. This caused a strange feeling in me, it was similar to a weird form of depression, I was unable to...act. To do stuff. To even wanting to do it. I started procrastinating everything. I lived at my parent's expenses in this far away town but all I could do was playing videogames. I somehow managed to get to the point that I only had three exams left plus my thesis, but I did this by avoiding all the real hard exams, somehow cheating myself. I was already two years behind schedule at this point, and willing to quit. I was desperate, I cried a lot, thought about running away fron everything as I fear the disappointment I would have caused by simply telling the whole story.
Thankfully I met my girlfriend who helped me realize all I needed to do was move back to my former university and take it step by step from there onwards. I almost didn't make it...again. But I was able to pull throught, I worked during the day, wrote my master thesis early in the morning and late in the evenings. I gave it all. And I made it.
I graduated last year and got a job in the industry. I don't feel as useless anymore. I still fear and dread what the burnout made me feel. How it almost destroyed all confidence I had in myself.
Tldr; I burned out right after getting my bachelor degree. And I stayed like that for years, up to the point that I ended up being years behind schedule. I was able to recover thanks to my gf but still fear and dread those feelings I had when I burned out. -
Question: which is better approach?
1. Use push notifications to tell react website that new data is available
OR
2. Use SignalR (similar to socket.io) and push data in real time?
The down side of SignalR is server needs to map connections --> use more memory while push notifications doesn't require that12 -
Programmer looking for a new language
I have been a JavaScript developer for a few years now (non professionally) and I really like the language. I mainly program for execution with NodeJS rather than web, because I feel like I get more freedom (e.i. the ability to use a computer file system).
I normally never use other people's libraries and instead either write my own library/ies for the specific task or use an old one. I only ever use someone else’s if I need a quick frame work to test an idea, never for something I will actually use.
I prefer to work object / class orientated.
I have worked on distributed servers with NodeJS before, however trying to distribute a load across one computer across it's multiple threads has proved problematic due to the heavy delays of standard io transfer speeds.
Why do I want to switch?:
•Because JavaScript is not at all created with multithreading in mind, and pretty much any multithreading solution is a bodge and allot of the time it is more efficient to work single threaded.
•Also, I get the sense that JavaScript + NodeJS is not used often in the programming industry comparison to other languages like; ruby, python, and I don't want to get stuck in a nesh language of which would decrease my employment chances heavy.
Side Note: I have been working on a pet project to have a distributed database (made with nodejs), and so far, there are no language specific problems, but I feel like it would be more efficient if I used a programming language designed more to cater for multi threading.5 -
Which of the two jobs is better for a frontend Dev:
1. React project, stressful, bad communication, depending on bad internal libraries
2. WordPress theme building, higher paid, promising startup with stock options8 -
So I am making a real time chat app using MERN and socket.io but I was disappointed to discover that the newer version of socket.io ie 2.2.0 fails overtime on Chrome.
There is an issue open on the socket.io repo addressing this. Didn't they fucking test the code for Chrome before releasing a new update?7 -
Bloody fucking Android! Updates, updates and more updates! My development Nexus 5X won't allow me to sideload apps since it updated... Hello, printf debugging! Goodbye, profiler and debugger!
My hate for Android grows with each version after 4.0.$something... 2 was shit, I missed 3, 4 was OK, and since then it's going steeply down.
And don't get me started on Material Design...! Good luck figuring out what's a button and what's a label...
And what's up with the "let's keep all apps running all the time to save a few ms on start" philosophy!? Who thought that is a good idea!? Yeah, System.exit(0) works, but... Is it so hard to determine when it's not needed anymore (has no services running etc.)? Why should a web browser (for example) stay in memory after I quit? Minimize is a thing (Home button), why make it so confusing?
Another thing - feedback-less async tasks - why? I like to know when it is working in the background... How the hell am I supposed to find out if it is supposed to do this or if it is frozen?
And Android deciding to kill your process whenever it pleases without any callback... Happened to me once with an Activity in the foreground (no exceptions anywhere in my app, it just quit). How do you do IO properly? It seems you can't guarantee some file or socket or something that must be closed doesn't stay open (requiring to restart Bluetooth 'cause the socket wasn't closed, for example)...4 -
I have never understood the default configuration of Javascript Back-end frameworks.
The documentation says -> Install expressjs. Its a "framework".
But then u need to setup EVERYTHING yourself. Install cookie-parser, body-parser, io, routing FUCKING everything !!!
Why can someone not make it a standard installation covering the basic necessities ??5 -
Guys and gals, what's tour opinion on static website generators? Have you ever used one?
The concept kind of intrigues me and I was considering a Hugo + Travis CI stack.7 -
Docker is giving me grief... again. Sigh.
I have a feeling docker hates me, just doesn't want to play nice.1 -
The Verge: Google shows off AR glasses that might make a case for augmented reality.
See live translations... What a fckin joke...
The Live Translate and Transcribe features on the Pixel 6 and along with all the other features... Are a joke too....
Can only translate between English, French, Deutsch, Italian and Japanese...
https://theverge.com/2022/5/... -
My lead developer requires object sorting, so {url, extraParams = { id = '1', hobby = 'code' }} HAVE TO be {extraParams = {hobby = 'code', id = '1'}, url}. Is that normal?4
-
I'm in need of advice. I reckon this is no stack overflow but that's probably for the best as I wouldn't feel as comfortable posting there as I am doing it here. So, back to the question: I'm currently working with legacy code, written in .NET 2.0. This code is responsible for calling upon PEC services in order to finally create personal smart cards. I was tasked with the job of creating a repository system that would allow the program to call on the old legacy services or the new ones without any distinction. We are talking about SOAP services in both cases. The issues is: the new service definition is comprised of soap policies. This wouldn't be a problem per se, with more modern version of the framework, but with .NET 2.0? Yes, it is. It doesn't support policies and signing the body with a certificate right out of the box. How can I manage this? I feel like the only way would be letting the proxy class do its thing up until the very last moment: intercept the SOAP request before its sent and modify it according to the specifications. But I reckon this is very bad practice. Is there any other way out of this?
Thanks for anyone that would like to help. 🙂6 -
So anyone think this Viv app (demoed in TechCrunch) is going to be a hit, when Siri and Alexa failed?2
-
While you developers are where you are, battling office politics everyday, scrumming, agiling and solving some of the world's toughest problems, I, for the past few nights, have been sitting for hours in-front of my computer, slipping into hour-long day-dreams while trying to determine my favorite ice-block flavor.
All I can say, is, it's either the yellow, orange, green, raspberry, cola, or the fairy-floss one.
And now I'm out of ice-blocks. ;-( -
Best choice: Getting into the technical stuffs... And blowing up my mind almost everyday with a never seen before problem.
Worst choice: Getting stuck into an IT 😐 -
When everything is taken away from you, and this might not happen for a very long time, just remember that you surrendered every ounce of control of your life over to those whom have been out to fuck you over since before you were born.1
-
Lets say i want to start a software company incorporated, meaning i want to literally rent a building ij my local area for people to come and work
Lets say domain.com is used. But domain.io is not. However domain.com is just bought by someone but nothing is there, the site is unreachable and dead, so basically that domain name is just taken.
Is it fine if i buy a domain.io for my company and then later in the future when i get more money to buy domain.com from the owner of that .com domain through brokers?
And is having a domain with .io good or bad for a company? Or should i choose .net since that also is available?3 -
Is it normal that my lead developer insists that if(x){return A} else {return B} must be changed to if (x){return A} return B, and a variable must be renamed from requestFn to requestFunc because the former is confusing?12
-
So tokio-rs had me really confused on how to properly use split streams and sinks to read and write io, so I made a simplified interface to save others (and myself) some trouble.
Check it out, it's called tokio-simplified, and it's on https://crates.io/crates/...
I like it, you can place as many callbacks as you want to respond to each frame from the stream, and use as many mpsc::senders as you like to write to the sink.
And as a bonus, you can have a filter callback called before any other, to choose whether or not a frame should make it to the others, and bonus feature: that callback is 0 cost against just passing it as a for_each on your stream.
Hope it helps some of you on your journeys to Rust -
I wish there were local boot camps. Sucks to travel to SF or some major city and pay for flight, car, etc, when others can attend since they're right there.
I would attend more of these if cities within a 2 hr drive could host them. -
Looks like I'll be attending Google I/O this year.
Have you attended Google I/O? Please share your experiences, tips and what to expect other than what's in the agenda.
Hope the corona won't fuck up everything.1 -
Can anyone point me to some example of a .net project that doesn't scale because not using async await for IO?
I'm not sure how to measure impact of not doing this...3 -
Why the fuck doesn't anything work anymore? I signed up for a service the other day and paid for it, and now I can't even log in. And the support is fucking useless. And now I have a cold. Fucking great.
-
I really cannot see why there still isn't an API in Java where I can get an hashing algorithm without having to catch a checked exception.
Granted, Bouncy castle is a top library. But of you just have a small application with a single method wanting to hash a few values... It's so nuts and unnecessary.
So what do you do in the catch block? Either throw a checked exception (because without that hash your app won't work), or calculate a replacement. But if it were that easy, I wouldn't have needed a hash on the first place.
I really wonder what the java developers had in mind.
Same with IO exception. I'm beginning to like python more and more.
And, of course, kotlin.5 -
https://youtu.be/5OhJ00an0mI?t=148
As per this ad Samsung use HTML & bootstrap to change voice of bixby.
can someone tell me how can i do this?
(If anyone from Samsung. Inline CSS is bad practice)3 -
Think I'm being punished here...
first, the windows 10 update screen showed up... waited for that shit to finish... once finished, I thought, "that wasn't bad..." Then, THIS next screen shows up... "you've got to be kidding me!" So, it's punishment for not having opened the laptop in a while. :P
Yeah, it will be a wish come true, when Microsoft figures out how to do all this in the background... or something... so it's not painful to wait for updates to complete.
End of rant for the day.2 -
So, I've been with my current employer four years now, three and a half of which have been spent working as a time material developer for a huge fashion company. I've been trying to get out of It for the past six months only for my exit to be postponed everytime. There's also no clear idea as to what I would be moved to, going forward. Nobody Is telling me a thing and I think other developers will be moved to different projects before I do.
That's why I took matters into my own hands and started getting back into the recruitement process. I'm about to receive an offer. A fairly better one.
The thing is, I wanna use such offer to see if my current employer can reedem himself and propose to me a good counter offer. I'm not in the mood of starting over, but I want security and management to have a fucking idea of what my future Is gonna be like at this fucking company.
What do you guys think? Am I playing with Fire?1 -
The slow typer who just discovered #define
#define Property AudioUnitPropertyID
#define Parameter AudioUnitParameterID
#define ParameterValue AudioUnitParameterValue
#define Format AudioFormat
#define FormatDescription AudioStreamBasicDescription
#define PacketDescription AudioStreamPacketDescription
#define ActionFlags AudioUnitRenderActionFlags
#define TimeStamp const AudioTimeStamp
#define IO ABufferList
#define PD APacketDescription
#define Count UInt32
#define DataSize UInt321 -
Does master degree really matter or if I take some courses will be better if I'll not go through academic life10
-
Allright, to settle a debate what is the more incorrect way of getting the last elememt of a std::vector?
Is it this:
auto i = myVec.at(myVec.begin() + myVec.size() - 1);
or:
auto i = *(&myVec.at(0) + (myVec.size() - 1));
I think the second method is better(worse) because it has more brackets and only works on Implementations where the vector's data is laid out concurrently (that is in the c++11 spec, but I've seen some shit)
My friend argues for the first method because it takes more time. (If IO is not a bottleneck)1 -
Couple days ago, I started working on online IDE using https://ace.c9.io/ .. All the functions they have are good, but documentation wasn't that good and I had to learn things by my own. I customized a theme for it to look more like atom lol, added snippet menus and some other stuff, but thinking about it the reason I started is that i saw Thimble by Mozilla and felt jealous because it looks so cool, and I want to make some thing like it.8
-
I want to learn, How to add test cases in android And also about layer code pattern. like Controller, View, model, persistence, network etc...
So Please suggest a few tutorial or blogs that help me.
And please give me some links that have a test for network functions and intent related test.
Something like the test for other methods that work of different thread. (Asynk task, Volley or etc..).1 -
What is the price of internet plan at your place?
Mine:- 40Mbps (Unlimited Download) for 25 months in $11514 -
Ok so that's my plan, find a kernel with HUGE amout of drivers and , high version.
I built a small os based on linux
-- kernel version 5.0.2 from Plop Linux,
many libraries added 'by hand' -- packages from apts of Debian&Ubuntu, and unpacked packages into system with ArchiveManager,
has GUI but it's called xfree86 ( looks strange when a very old app running on Kernel5 )
So, without compiling, i can make a os.
But i found that Plop didn't compile rtl8188eu module which makes linux support some specific network cards.
I have no professional compiler but a tiny C/Cpp compiler called TinyCC (aka. tcc), but for my pc ( CPU freq = 800MHz ), it seems not possible to compile the module by myself.
And then i downloaded a 5.2 kernel with modules from kernel.ubuntu.com, but when i tried to mount my disk ( part. vfat ), i got some errors like IO charset not found, and then i replaced it with Xanmod kernel but also reported an error said Invalid Arguments, but i checked /proc/filesystems, it supports.
So what can i do? Are there any pre-compiled kernel & modules with 'full common supports'?
I tried kernel 4.4 ( from Ubuntu 16.04 LTS ) just now but the driver crashed when wpa_supplicant tried to initialize the device.7 -
Does it say something about a company if many of the devs in the team are employee-turned-consultants kept working in the same role?6
-
I could totally be a swimming coach, just not with kids, please...trying teaching them something it's simply umbereable.2
-
💡 Have an idea to develop a system
*browse what language to use
*browse what template to use
*meh, I should write my own template cause I'm too smart
*F it, I realized im dumb, back to browse template
*browse why x better than y
*browse which company use x
*browse which hosting to use
*find admin template
*browse cat fighting with subtitle
This rabbit hole. And the project hasn't started yet for weeks and months. -
Hey guys just a small question, when should nodejs be used. Ik for chats and stuff its great i used socket io before but i mean if a client wants a very basic website is it worth using nodejs or should i just stick to php. (Php haters kindly dont answer)1
-
Google just fucked Apple so hard by extending Assistant to iOS! Now let's see wether Siri visits Android 😝! I think it was more arousing than porn, "pun intended" 😂 ...
-
Which should I choose:
Company A: much better pay and benefits, team seems nice, Glassdoor citing quite bad reviews about CEO and upper management.
Company B: current company. uninteresting field, team in distance, tech lead likes micro management and quite annoying in general. In middle of a project.5 -
Is there any websites where I can get few challenges order by difficulties of particular programing language.
Ex. I complete a Node.js or any other tutorial. Now I want to check and improve my knowledge by few challenges.
So is there any site where I can get that.
Like "Select Language and here is the list" -
Jest/enzym unit testing: My lead developer says using shallowWithStore instead of shallow on one incidence would introduce CPU overhead thus I MUST stop whatever I'm doing and fix the pull request. Is that normal?
-
My lead developer insists that an analytics value of "requestURL" should be window.document.location(which is an object) because in the analytics API doc it says this field "should be location of the current page, most probably window.document.location". Is she right?
-
My solution to transfering files over the same network.
Zip required folders
sudo service apache2 start
Finally: http://my-ugly-io/2 -
Since HR does job postings on StackOverflow I'm aware that they have a landing page. ...did not expect that. 😀😀
-
4 hours wasted due to a rather strange "scope poisoning" bug... it was really fucking strange.
Had to move the 5 lines of code, above where the error happened, to a private function.
The 5 lines just called an XLSX library which read a given file and returned an array. I don't know how but the thing somehow messed with my Soap client call one line below. The culprit must have been some IO resource handle which didn't get destroyed when in the same scope due to persisting object references..1 -
Recent Software engineering graduate. (NO RELEVANT JOB EXPERIENCE also not a great programmer)
Most of the software engineers I have met are working in web development and mobile dev, I understand web and mobile I understand they are hard and require a lot more with APIS CLI and all the other things but I don't understand where is the engineering part in them. I also don't know what am I supposed to do as a software engineer.3 -
git https://github.com/balena-io/... has an "Unsafe mode" with a red "Danger" sign...
THAT is the way to safely integrate beta features if you don't want to have a separate release channel...1