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 - "neat"
-
Bruteforce IRL
So I recently bought my first house (yay!).
Whilst doing the initial viewings I saw the below on the backyard and thought "hey that's neat, I can leave a key in there for when I come in late and my fiancée is asleep.
Fast forward to moving in day and the previous owners hand me the keys so I ask "oh yeah, what's the code for the keysafe" and he just looks at me completely blank, so I'm just like "the box on the wall out back" and he's just like "oh! So that's what that is. No we've never had the code for that, bye."
Being a pen tester I'm just stood there dumbfounded thinking "How the hell can you have a locked box attached to your house and not want to know what is inside!"
Anyway, that brings us to now where I'm stood outside in December on a Sunday morning brute forcing my way into my own keysafe.
I wish this didn't run so many parallels with my work life 😂51 -
My wife is turning into my project manager . . .
Me : Check out this game I'm building as a side project!
Wife : Wow that's really neat! I expect to be able to play it on my phone. 1 month?
Me: What? I haven't even learned how to port ...
Wife : (interrupts) ONE MONTH
Scope creep even at home *sigh13 -
devRant/me are featured in a pretty cool new electronic developer magazine. There's some neat articles and it's pretty well done I think. You can check it out here: http://stackify.com/bb_emag/...10
-
Client: I want the best.
Me: *starts designing a complex and pretty neat website*
Client: I don't like that. I want this. *shows me website design from 1998*
Me: *cries myself to sleep*4 -
So at school the teacher gave us a MONTH to write a sorting algorithm in Java. I asked the teacher if that wasn't a little too much time.
Her answer:" I want to give the weaker people in class a chance."
Okay so far so good.
The day we had to turn in our code I asked around what algorithm others had choosen and if they had any problems with it.
Classmate A: "yeah we didn't know how to program it so we copied it from the internet and I modified it heavily."
Me *raised eyebrows*: "can you show me?"
Me: "but that's exactly the same like the first Google result?!"
A:"No look there , I added this line so that it works with my code"
That lying bitch just added bucketSort(myArr, maxVal);
In the main method.
Me"How is that heavily modifying?"
A:"Also I asked the teacher and she said it was OK to copy the method from the internet"
What the flying cunt is wrong with people. So you give us a month to copy and paste from the internet.
Yeah great teaching.
You are the reason why half the class can't program shit.
Thanks for nothing. 😒😒
First rant hope you enjoyed it.12 -
Fuck you, devs who quote Knuth:
"Premature optimization is the root of all evil"
I agree with the spirit of the quote. I agree that long-winded arguments comparing microsecond differences in performance between looping or matching constructs in a language syntax is almost always nonsense. Slightly slower code can even be preferable if it's significantly clearer, safer and easier to maintain.
But, two fucking points need to be made to you lazy quickfix hipsters trying to sell your undercooked spaghetti code as "al dente", just fucking admit that you had no clue what you were doing.
So here we go:
1. If you write neat correct code in one go, you don't need to spend time to optimize it. Takes time to learn the right patterns, but will save you time during the rest of your career.
2. If you quote Knuth, at least provide the context: "We should forget about small efficiencies, say about 97% of the time [...] Yet we should not pass up our opportunities in that critical 3%"
YES THAT CRITICAL 3% IS WHERE YOU MESSED UP.
I'll forgive you for disgorging your codevomit into this silly PR.
BUT YOU'RE QUOTING KNUTH IN YOUR DEFENSE?
Premature optimization is the root of all evil... 6300 SQL queries to show a little aggregate graph on the dashboard... HE WOULD FUCKING SLAP YOUR KEYBOARD IN HALF IN YOUR FACE.3 -
Client : your design is not cool. See this ^
*showed me some pretty neat designs pattern*
Me: which type do you want for your application.?
Client : All are pretty cool. Isn't it?
Me : Yes. But you do not need all of them. Right?
Client : Yes.
Me : So, which one.
Client : I'm confused But, this will do.
Me : Sure?
Client : Yes, very much.
After 3 days.
Client : you know what, earlier one was simple one but, best one. Easy to understand. This is (new design) making it complex. I need previous one.
Me : (I knew you'll say that, a**hole.) Just go to setting and select theme section to earlier version.
Client : thank you man.
Me : (You are red listed in my book you a**hole. Say anything else to add/edit and then see.) You are welcome.6 -
This is the expected Binary ++ post from me :P
So, today I go to devRant and see 1's and 0's as my ++'s. I assume it might be a bug, but nope. Turns out it's one of the neat ways of meeting April Fools :)
Thanks to whoever had the idea. It genuinely made me smile.6 -
I found a really neat way to toggle two implementations using C style multiline comments.
https://twitter.com/_Gaeel_/status/...3 -
Second semester
Java - OOP Course
We had to write a game, an arkanoid clone
Neat shit
And a fun course, mad respect to the Prof.
BUT
Most students, including me had this ONE bug where the ball would randomly go out of the wall boundaries for no clear reason.
A month passed, sleepless nights, no traces.
Two months later. Same shit. Grades going down (HW grades) because it became more and more common, yet impossible to track down.
3 months later, we had to submit the HW for the last time which included features like custom level sets, custom blocks and custom layouts.
So before we submit the game for review, they had pre-defined level sets that we had to include for testing sake.
I loaded that.
The bug is back.
But
REPRODUCIBLE.
OMG.
So I started setting up breakpoints.
And guess what the issue was.
FLOATING FUCKING POINT NUMBERS
(Basically the calculations were not as expected)
Changing to Ints did it's job and the bug was officially terminated.
Most satisfying night yet.
Always check your float number calculations as it's never always what you expect.
Lesson learned, use Ints whenever possible.18 -
(The exact opposite of a rant, yay)
My school gave everyone in my class (and the two other 10th-grade CS classes) these neat 64GB USB sticks.
They are our property (paid by our fee every student has to pay every year so the school can afford paper for the printers, school books, and other materials such as USB sticks for 10th graders), but we have to keep some files for a lesson on the root of the USB (currently ~900MB).
That's not an issue, personal files go in my _Personal folder anyway.
Of course, I wanted to VeraCrypt all my USB drives I use at school, but since I don't have admin rights at our school and they use Windows 10, I just used BitLocker. Good enough, the only thing I want to achieve with encryption is other students being unable to read data off a lost drive (such as my _Personal data)
Also this stick is hella fast even with BitLocker enabled, 200 MB/s (minus 13 MB/s with enabled BitLocker) sequential r/w speed according to CrystalDiskMark.33 -
It makes me SO happy when coming across some real neat UI out in the wild! :D :D
(source: https://ticketea.co.uk/users/...)4 -
My first testing job in the industry. Quite the rollercoaster.
I had found this neat little online service with a community. I signed up an account and participated. I sent in a lot of bug reports. One of the community supervisors sent me a message that most things in FogBugz had my username all over it.
After a year, I got cocky and decided to try SQL injection. In a production environment. What can I say. I was young, not bright, and overly curious. Never malicious, never damaged data or exposed sensitive data or bork services.
I reported it.
Not long after, I got phone calls. I was pretty sure I was getting charged with something.
I was offered a job.
Three months into the job, they asked if I wanted to do Python and work with the automators. I said I don't know what that is but sure.
They hired me a private instructor for a week to learn the basics, then flew me to the other side of the world for two weeks to work directly with the automation team to learn how they do it.
It was a pretty exciting era in my life and my dream job.4 -
open telegram
'hey guys i have a cool idea for a project'
"yeah thats a neat idea lets do it"
we get drunk on the first meeting and completely forget about the project5 -
8:30 - get into office, boot windows
Windows: "Oh man, here's this update. If you're not doing it now, I will start in 15 minutes. No questions asked!"
9:45 - checking update status
Windows: "Well i'm nearly finished, just give me a sec..."
9:55 - whats's my pc doing
Windows: "Hey mate, I did it! I also restored those neat shortcuts to MS EDGE for you. Please use my browser"
10:00 - Well i can finally start working
Windows: "Yeah... you would. But i had to remove theese few applications, because they are not compatible anymore."
11:00 - Okay, installed all my stuff, did some coding. Time to test it. Lets boot up my VM.
Windows: "Oh so sorry mate. Not gonna show my network devices to Virtualbox anymore. Have fun reconfiguring your connections without them."
Fuck this fucking Windows 10!
The only reason we have Win10 on our machines, is because people in my office panicked the last day of the "free upgrade period" (and i was on holidays)...16 -
There are things that i wish i didn't see.
Yesterday, i went to a coffee shop to relax and reviewing my works. And suddenly a college friend of mine approach me and we started talking about work.
Me: So, What do you do at work? What's your stack?
Him: Not much of a new. Still working with wordpress, html,css and jquery.
So he started talking about how cool wordpress is and how he generates money doing sites.
Me: Can i see your sample works?
Him: Sure, *opens his shitty windows laptop with Web Tech stickers*. and handover his laptop to me.
Me: Woah. the design is so neat (I'm lying). But it's freaking slow man(REALLY FVCKING SLOW).
* I decided to open the devTools and inspected the source code. And I can't believe what i saw.
- 20+ images with 2~4mb file size
- 13 unminified javascript files with variable declarations that looks like minified.
- CDN's of bootstrap, foundation and semantic UI
- LOTS OF FVCKING PLUGINS
* I didn't told him what i saw. I just turn over the laptop to him and finish my coffee.
Him: My sites are cool right? I have a lot of pending projects right now. Easy money Bruh!
Me: Wow. *sips* coffee. and say goodbye to him and walkout.
I FEEL BAD FOR HIS CLIENTS!4 -
Did you read about the new Digital Services Act and Digital Markets Act laws of the European Union, that will go in effect in 2022? Pretty neat stuff, more transparency, user rights and a tool against internet monopolies.
"Very big online plattforms" must submit reports on freedom of speech, abuse of human rights, manipulation of public opinion.
EU assigned scientists will gain access to trade secrets like google search or Amazon recommendation algorithm to analyze potential threats.
The EU can fine serial offenders 10 % of their yearly income. And break up companies that stiffle competition.
Internet companies like Facebook will not be permitted to share user data between their products like Instagram and WhatsApp.
There will be a unified ruleset on online advertisement. Each add must have the option to find out why this add is shown to the user.
Unlike the GDRP data protection rule the two acts will be valid at the Union level. So that there won't be any exceptions from single member states.
Let's hope this leads to a better Internet and not things like cookie pop ups 😄
Link to the EU DMA DSA page
> https://ec.europa.eu/digital-single...49 -
It’s actually pretty neat. I constantly suffer from impostor syndrome, so I always have keep learning to keep up the facade.5
-
Does anyone else get so self conscious about writing neat, clean and efficient code that you get demotivated because you always think "there's a better way to do this".
The cleanest code is no code at all. 😂8 -
It's kind of neat knowing people who are famous for things I don't care about, and having their numbers / talking semi-regularly. They're a special person to so many others, but to me they're just some random person that's mildly annoying.
Like API Guy.
Freaking API Guy.
He's a millionaire musician who's adored by literally millions of people, but none of them know he writes absolutely terrible APIs, zero tests, rushes to the shiniest new things, and happily agrees to everything (often without listening) only to deny it later. Absolutely infuriating.
Or knowing one of Netscape founders as that strange and really terrible trumpet player with the great tequila. He did give me his copy of The C Programming Language (the bible) though. He was cool. Super weird, but cool.
It's just a strange feeling. I don't care, and yet others inexplicably think I should. I don't understand it. They're just people? idk.14 -
teaching myself pointers right now
here is my learning process right now:
1. what even is this
2. wow this is neat
3. why does this even exist
4. what even is this
5. repeat9 -
I have been gone a while. Sorry. Workplace no longer allows phones on the lab and I work exclusively in the lab. Anyway here is a thing that pissed me off:
Systems Engineer (SE) 1 : 😐 So we have this file from the customer.
Me: 😑 Neat.
SE1: 😐 It passes on our system.
Me: 😑 *see prior*
Inner Me (IM): 🙄 is it taught in systems engineer school to talk one sentence at a time? It sounds exhausting.
SE1: but when we test it on your system, it fails. And we share the same algorithms.
Me: 😮 neat.
IM: 😮neat, 😥 wait what the fuck?
Me: 😎 I will totally look into that . . .
IM: 😨 . . . Thing that is absolutely not supposed to happen.
*Le me tracking down the thing and fixing it. Total work time 30 hours*
Me: 😃 So I found the problem and fixed it. All that needs to happen is for review board to approve the issue ticket.
SE1: 😀 cool. What was the problem?
Me: 😌 simple. See, if the user kicked off a rerun of the algorithm, we took your inputs, processed them, and put them in the algorithm. However, we erroneously subtracted 1 twice, where you only subtract 1 once.
SE1: 🙂 makes sense to me, since an erroneous minus 1 only effects 0.0001% of cases.
*le into review board*
Me: 😐 . . . so in conclusion this only happens in 0.0001% of cases. It has never affected a field test and if this user had followed the user training this would never have been revealed.
SE2: 🤨 So you're saying this has been in the software for how long?
Me: 😐 6 years. Literally the lifespan of this product.
SE2: 🤨 How do you know it's not fielded?
Me: 😐 It is fielded.
SE2: 🤨 how do you know that this problem hasn't been seen in the field?
Me: 😐 it hasn't been seen in 6 years?
IM: 😡 see literally all of the goddamn words I have said this entire fucking meeting!!!
SE2: 😐 I would like to see an analysis of this to see if it is getting sent to the final files.
Me: 🙄 it is if they rerun the algorithm from our product. It's a total rerun, output included. It's just never been a problem til this one super edge case that should have been thrown out anyway.
SE2: 🤨 I would still like to have SE3 run an analysis.
Me: 🙄 k.
IM: 😡 FUUUUUUUUUCK YOOOOOU
*SE3 run analysis*
SE3: 😐 getting the same results that Me is seeing.
Me: 😒 see? I do my due diligence.
SE2: 😐 Can you run that analysis on this file again that is somehow different, plus these 5 unrelated files?
SE3: 😎 sure. What's your program's account so I can bill it?
IM: 😍 did you ever knooooow that your my heeeerooooooo.
*SE3 runs analysis*
SE3: 😐 only the case that was broken is breaking.
SE2: 😐 Good.
IM: 🤬🤬🤬🤐 . . . 🤯WHY!?!?
Me: 😠 Why?
SE2: 😑 Because it confirms my thoughts. Me, I am inviting you to this algorithm meeting we have.
Me/IM: 😑/😡 what . . . the fuck?
*in algorithm meeting*
Me: 😑 *recaps all of the above* we subtract 1 one too many times from a number that spans from 10000 to -10000.
Software people/my boss/SE1/SE3: 🤔 makes sense.
SE2:🤨 I have slides that have an analysis of what Me just said. They will only take an hour to get through.
Me: 😑 that's cool but you need to give me your program's account number, because this has been fixed in our baseline for a week and at this point you're the only program that still cares. Actually I need the account to charge for the last couple times you interrupted me for some bullshit.
*we are let go.*
And this is how I spent 40+ useless hours against a program that is currently overrunning for no reason 🤣🤣🤣
Moral: never involve math guys in arithmetic situations. And if you ever feel like you're wasting your time, at least waste someone else's money.10 -
The long awaited DevDucks arrived! New partners in debugging :D
++ to devRant, those capes are really neat.10 -
Found this on /r/battlestation last night. I really like to have such neat and nice setup when I can afford in future (I hope). But have one question.
Is it suitable for non-gamers?
I'll be using it for coding, work, movies, etc. I don't think I'll play any game that seriously ever.26 -
Neat. My StackOverflow reputation dropped like 1k points or more since I last checked ~six months ago.
No clue why.
(Also don't care.)17 -
My new clothes washer has an app.
Neat!
The app requires location information or it won't start...
Fuck LG.19 -
Why doesnt devRant have small sticker / camera cover?
I think that would be neat. 10/10 would use.2 -
"I know more coding" - Friend
Attached image is one of his "websites" that he put up for download13 -
New semester, new problems....
Just started my 6th semester at uni and my teammates are already proving to be serious dumbfucks..
They want to keep all files neat and organized, sure, fine, good idea.
They want to use Dropbox to store code and our LaTeX report, no, never! Somehow managed to get them to switch to GitHub, yay!
They want to have everything in one fucking repo! Why? Oh god, why? And I can't change their mind on this!
And they still want to use Dropbox to have a backup and sync between their machines...
So during this semester, we will store our LaTeX report and the, at minimum, 3 code projects, in the same repo organized by folder!
Why not one project, one repo? Then I won't have to pull all the shit code that I don't have to work with!
Expect more rants in the coming months...2 -
"Make us a one-page website for our new company!"
I build the site, to their exact specifications and show it to them
"There's only one page"
"You only asked for one page."
"No, we didn't"
I show them the email they sent me, asking for a one-page site
"Wow, you suck, we are finding another developer!"5 -
Insomnia: yeah, nice cors header
Postman: neat cors header mate
Fetch in browser: where the FUCK is the cors header you retard6 -
Client: "We want you to build us a quick prototype / proof of concept. Don't make it too neat, we'll rebuild it before we go live."
Also client: "We already have a working version, why would we rebuild it?" -
I noticed several people blaming the new Chrome update for breaking their CSS. From what I know Chrome did not "break" anything. Using browser quirks, experimental features, and deprecated code typically results in this. When you see a "neat trick" on a blog, Stack Exchange, JsFiddle, whatever, be sure to research what you are about to implement. Especially if it has a post date older than 2 years.4
-
After seeing @Gregozor2121 share, I searched around in my bookmarks for similar stuff. Here are a couple of links that I feel is useful for everyone:
A massive list of Free programming books.
https://ebookfoundation.github.io/f...
(Also do explore anything marked as "awesome", cause it literally is awesome!! They have got tons of lists of resources for most programming languages, free software lists, famous stackoverflow answers, quotes & even Pokemon!!)
I also had this bookmarked:
https://github.com/chubin/cheat.sh
Basically cheat sheets at your command line. Pretty neat utility.8 -
I am once again reminded how much of a clusterfuck C++ as a whole is.
They recently (C++17) added this cool new attribute called nodiscard.
You can put it on a function like this
[[nodiscard]] bool writeMessage(...)
and the compiler will check if the returned value was discarded or not, and give a warning accordingly.
Pretty neat if you're returning an error code and you want to enforce that it gets checked, right?
Except it doesn't work in template classes.
It just doesn't do anything there.12 -
A really neat short film by JetBrains about bugs and how they are fixed. I wish this would be reality ^^
https://youtube.com/watch/... -
Watched Kung fury and decided to make a Windows 98 CSS / JQuery app. Check it out
http://codepen.io/penry/pen/xEPKpj7 -
I just love refactoring :) that feeling when an agonic 50loc method with ifs, loops, streams, other shit shrinks down to 3 lines with descriptive and SRP-compliant method calls.. When you can actually read code as a nicely written story. When there are no rubbish comments, cryptic variables and no overly complex if-else skyscrapers jamming all the logic in one conditional chain. When all the abstractions are designed so nicely and design patterns applied so perfectly that extending either of the components is as easy as a walk in a park.
When everything is nice and neat. Only then can I sleep well and enjoy the autumn :)
just some random thoughts after today's coding session :)5 -
Around 45 days ago after years of burnout and abuse I finally quit my job when I finally realised that all the promises of greener pastures and reinforcements were nothing but tales of sugar candy mountain.
I had no idea where or what I wanted to work on or even have any leads for work but I knew if I kept recursively burning out soon there wouldn't be anything left of me to give.
Flashforward 45 days and I am the proud owner of Sane software solutions which I am currently the only full time employee of.
My old company has become my customer since no one else knows the legacy system, 11 days after quitting their invoice exceeded my previous salary with a quarter of the work and I just landed an awesome contract with some engineers I feel privileged to listen to working on some neat IOT stuff, I've quadrupled my income and now work an 8 hour day.
Don't be despondent, there are better things in life to bleed for than another mother fuckers ambitions ✌4 -
Just switched from Kali to Parrot OS. A very nice pentesting OS. Neat UI. ✌️
Great performance on a basic laptop.7 -
*dramatic music starts playing*
React native is...
*The fanfars of the damned are beating the eardrums, the ghostly wind of the past shudders through your hair. The echoes of the ones who came before pull you into the abyss as the messenger opens his mouth to speak once again.*
...pretty neat.
*Explosions can be heard in the distance as the great war of nations that shall shape the world for generations to come erupts in full force.*5 -
Just found out you can take Screenshots of a webpage right from the firefox console... neat! You can even select specific elements to screenshot.
Just throw :screenshot into the console - Ff v62 (--selector [css-selector], --fullpage, and some other params you can look up)
Have a good Monday :)3 -
Today, implemented Binary Tree from scratch and then wrote a unit testing suite from scratch in my personal project.
Pretty neat.7 -
Awesome survey results on coding game.
In old news, people still hate php.
http://publications.codingame.com/c...12 -
*edits file on remote server*
WanBLowS: naah you can't 😈
*le wild BSOD appears for the over 9000-th time*
... Yeah. Windows, great job. Who needs system integrity when they're working on remote servers anyway, right?!
And to top it all off, le reboot mentions that they're working on fucking "features" again. That's what you needed to BSOD for?! For a goddamn motherfucking feature?!! Fucking piece of shit.
At least when I opened vim on that server again, it's saved everything neatly in the .swp files, ready for recovery. Now that's neat, isn't it? Microsoft, the Linux community has already moved on to nvim in terms of development, but maybe, just maybe, you can learn a thing or two from our "legacy software", vim.
As for me, maybe it's time to take out my Arch laptop again. At least that won't crap out on me because the sun and the stars are in a position that the OS doesn't like, or something stupid like that. FUCK YOU MICROSHIT!!!11 -
3D printing is truly magical, got the case from @geaz! seriously a nice fit, came in a pihut zero essentials kit tin too to protect it haha, love how neat it looks now.4
-
This is so true, I always feel like my code architecture going to be clean, neat and organized but reality is always the opposite 😭
Source: https://instagram.com/p/...3 -
Hackathon rant.
So I had my first hackathon ever.
It was about co2 reduction which is pretty neat but our team leader had a different view on this. He only saw money in his idea so we build a smart energy meter that advised the user on how he should control his energy. And if the user had solarpanels or something his overtake of energy would be converted into a crypto currency and transferred by our Blockchain system.
The idea is pretty cool but it had no real co2 reduction and way too customer based. Which kinda sucked for my first hackathon but our business guy gave a amazing overwhelming pitch about stuff we didn't make at all. And somehow we ended up on the third place yay4 -
IDK, there's something about PCB circuits with all the components on it... For some reason I find them very calming, I think they could even help me with my anger management and/or sleep problems (if I had any).
They are so nice and neat.. so strict and in order. Everything has its own place and its own path. Everything in there has its purpose. That's so nice :)
// triggered by https://twitter.com/iXsystems/...random just a tag that's weird how many tags can i assign? relax circuitry umm.. okay..? pcbgasm ocd maybe? wtv pcb order4 -
I want to build an Android app...
buuuut
- I hate NPM (NodeJS is neat, but NPM is annoying af)
- I hate Java
- I hate Dart
- I hate Windows
Fuck my life...24 -
I'm doing my CV in Vue with Bulma and everything is all nice and neat. I have a nice and neat 'skills' section that you can see pictured, and it's nice and neat. However, what is not very nice and neat is Firefox (and chrome's) print to PDF thing which ignore the nice little semi meaningless dots that I have, which is so fucking asdfghjkl;27
-
The GitHub graphql API is pretty neat, mostly because it's a great example of a product where graphql has advantages over REST. As a code reviewer for repos with hundreds of simultaneous PRs, I use it to filter through branches for stuff that needs my attention the most.
NewRelic's NRQL API is also quite nice, as it provides an unusual but very direct interface into the underlying application metrics.
I'm also a big fan of launchlibrary, purely because I love spaceflight, and their API is an extremely rich and actively maintained resource. This makes it a great data source for playing around with plotting & statistics libraries — when I'm learning new languages or tools, I prefer to make something "real" rather than following a tutorial, and I often use launchlibrary as a fun and useful data backend. -
Coding competitions.
Expectations: a period of intense coding, satisfaction from solving problems, finding neat solutions.
Reality: five FUCKING HOURS spent staring at the screen doing literally nothing, because none of your ideas would fit the time limit and you have NOT A SINGLE FUCKING CLUE WHERE TO EVEN START.
#LookAtHowMuchFunI'mHaving6 -
So there is this really cute guy in my class and he recently started to learn coding. Since I am 'the computer guy' in school, of course he got to me and asked for help. I introduced him to C# and for the next two weeks helped him learn and understand the language. It was so neat and he was so cute, doing all the mistakes I did too (1+1=11, that kind of stuff)
Now he informed me today that he switched to Java. Of all the languages, Java!! Guess I'll need to search for a new Padawan, fml6 -
So what was originally some issue for my dual booting laptop has turned into something awesome, originally I'd boot and get into grub and choose windows or mint but with a need to get bluetooth to work I went to check some settings in the bios and after no changes I left to reboot and use mint.
Anyways it would only boot to Windows and I got a little annoyed but was able to, with the boot order changer, load up grub.
So now my laptop has a hidden boot option into mint :D thought it was a neat little feature (because I don't know how to fix it lol), completely hidden from my windows partition (unless you check disk manager).8 -
That pure rage when you're off work for a few days, and return to find that someone has been in one of your magnificently neat code files, and taken a syntactic shit! Loads of unnecessary whitespace, tabs all over the place, and copy/pasted comments that have nothing to do with the code! 😫1
-
Making a site that looks like Windows XP for one of my friends. What do you guys think of it so far?9
-
TLDR: Find a website that requires a subscription but doesn't check their cookies' integrity, now I'm on a website for free.
>be me
>wonder if it's possible to intercept browser data
>download Wireshark
>download Fiddler
>find that none of these really fit me
>go to youtube, search how to intercept POST data
>find something called BurpSuite
>Totally what I was looking for
>start testing BurpSuite on devrant
>neat!
>I can see all the data that's being passed around
>wonder if I can use it on a website where my subscription recently ended.
>try changing my details without actually inputting anything into the website's form
>send the data to the server
>refresh the page
>it worked
>NEAT!
>Huh what's this?
>A uid
>must be a userID
>increment it by 1 and change some more details
>refresh the page
>...
>didn't work 😐
>Hmmm, let's try forwarding the data to the browser after incrementing the uid
>OH SHIT
>can see the details of a different user
>except I see his details are the details I had entered previously
>begin incrementing and decrementing the uid
>IFINITE POWER
>realize that the uid is hooked up to my browsers local cookie
>can see every user's details just by changing my cookie's uid
>Wonder if it's possible to make the uid persistent without having to enter it in every time
>look up cookie manipulator
>plug-in exists
>go back to website
>examine current uid
>it's my uid
>change it to a different number
>refresh the webpage
>IT FUCKING WORKED
>MFW I realize this website doesn't check for cookie integrity
>MFW I wonder if there are other websites that are this fucking lazy!!!
>MFW they won't fix it because it would require extra work.
>MFuckingFW they tell me not to do it again in the future
>realize that since they aren't going to fix it I'll just put myself on another person's subscription.5 -
It's time to put my 3D printer together 😍
All the parts I ordered have arrived accept for two timing belts.
Super excited, will post pictures in a couple days when I finish building it and writing the firmware for it.8 -
Spends a summer building a neat webapp for the father who subsequently receive an invoice of $2 for the s3 bucket. Father exclaims "what is this!?" Then proceeds to block the account. Love you Dad.
-
I got a kindle paper as a hand me down gift. And I feel I'm reading so much more than before, now!
I'm starting a new small novel
A Wrinkle in Time, I'll be reading alongside my girlfriend.
I'm 52% done with a book called
Python Tricks: The Book
Literally coolest book I've touched. Contains a bunch of different tidbits about the language, granted most of them confirmed my understanding, but it's still neat to read and learn about them in a more rigorous setting.
I'm 13% done with another book called
How to Day Trade for a Living
I'm heading for the crypto currency exchange, but with a catch,
I'm reading another book called
Genetic Algorithms with Python
You can probably already guess where I'm heading.
I feel armed with more knowledge and I feel like this is a really great way to start the New Year off.7 -
Time to make a deal with the devil
@theabbie since you love downloading the entire devRant db and writing little gimmicks, I have an idea for you.
Avatars are envcoded as URLs. Each part of an avatar is separated by an underscore. Shirt, pants, desk, whatever.
Make a bot or script or website or what-fucking-ever to query users with the same avatar as you. This would be:
- Same EXACT avatar (desk, pets, etc)
- Same body parts as you (face, skin color, hair, etc)
- Same body parts and clothing (everything that shows in the mini avatar next to comments, plus pants and shoes, I guess)
The doppelganger finder. Honestly I think it would be neat.
Would be even cooler if you could filter by active users (last post/comment within past 3 months)33 -
TL;DR: Printers suck. MS-Word sucks.
Yesterday I wanted to print a few participation certificates for my blender project students.
*Turns on printer, runs downstairs, gets paper, runs upstairs, puts paper in*
So I tried to print in word. Nothing happened. Printer was online. I checked queue: Nothing.
*a couple of tries later*
Okay, fuck it! I export it as a pdf and open it in edge (8 times. 8 documents. Edge is a neat pdf-viewer, fight me). I press print on one. It works. I print the others and check: They look shit. The images look like 25% resolution and 50% jpg compression. I check word.
It by default exports in low quality. Yea, thanks for asking me. I export pdfs again and check "high quality". Open them, print. Done.
These were like 30 wasted minutes and print color. And paper.
Btw they look fucking neat. I can't show them right now but gradient text headline, project name is a rendered and edited 3D object :D4 -
Client code:
neat, organized easy to interpret
Server code:
da fuq is this? da fuq is that? what does this do?
People who cant see the code:
client's
People who can see the code:
THE GUY WHO IS WORKING ON THE SERVER!4 -
Java. AGAIN. 😡
so, I am trying to get a csv opened and read, and then search through it based on values. Easy peasy lemon squeezy in python, right?
Well, damned be java. You need a buffered reader to read the file. Then you have to "while(has next)" the whole damn thing, then you have to do something with the data that you read one by one, right? Well, not to be disappointed, they do have json libraries, but you **have to install** the plugins for it. Aka you have to manually add the libraries or use some backwards manager like maven.
Gotta admit, jdbc is neat if you're anal about your sql statements, but bring the same jazz to csv, and all the hell will break loose.
Now, if you just read your json data into multiple objects and throw them in an array... Kiss shorthand search's ass goodbye, because this mofo can't search through lists without licking the arse of every object. And now, you have to find another way because this way, you can't group shit you just read from csv. (or, I haven't found a way after 5 hours of dealing with the godforsaken shitshow that java libraries are.)
Like, I'm devastated. If this rant doesn't make much sense to you, blame some java library for it.
Shouldn't be too hard.25 -
I wrote this and wonder if it is actually useful. This is a function that eliminates the need for document.getElementById. In the HTML you just set an attribute (jsv) to some value and this scoops that up and puts it in the global scope for you to use.
Neat or shit?12 -
I have a working build!
Application Ally is a tool to help you track your job search. It has contact management, resume builder (or your can upload your own), task list, and some other neat features.
Why? because I was sick of carrying a notebook with me everywhere to keep my research on companies organised. I wanted to see my history with a company quickly and from anywhere. I also wanted to keep better notes on recruiters (I'm sure you understand why)
https://www.applicationally.com
It's only an initial build, but I'd appreciate all feedback, good or bad!16 -
OK I've just got an idea that I think would be quite neat:
How about a virtual rubber duck that sits in the corner of your editor? Just like the gem in old Word, if you remember. It's yellow and quacks sometimes, and nods understandingly when you talk to it (mic monitoring).
And it also monitors your typing and says (popup text bubble) things like:
"those parentheses doesn't look balanced to me"
"did you really initialize that variable?"
"you wrote JASON again"
"you forgot the ;"
You get the point.
I don't have time to implement, feel free to steal my idea and become a millionaire.5 -
A dev adds a nice range of categories that content creators can select from. Users get a neat filtering system to restrict the unwanted content.
And then...! People post everything in default category.3 -
Major state insurance provider, all past and current members data stored unencrypted (including SSN, date of birth, home address, etc.). All developers and contract developers had read access to it. Reported it, nothing was done. Reported it again in my exit interview. Was basically told they had intrusion detection systems in place so it was not an issue.4
-
Joined a place where I am the only FE engineer and the product is mature (around 15yrs).
Every single framework you can think of is there. The codebase is such a mess that it makes spaghetti looks neat, organized and logical.
I need to port the code to the latest standard but everything is so bad that tasks that would take a week or 2 max are taking almost a month.
I’m gonna cry. I feel so incompetent even though it’s not my fault.9 -
Can we talk about Google Allo for a second?
What the everloving f*ck, Google? I don't get it. You built a perfectly solid, pretty chat app with lots of neat features and interesting ideas. And then you ruin it by completely neutering SMS support.
Here's (roughly) what your recipient gets when you message someone who isn't on Allo:
(Allo)(Name): <message> Send STOP to stop Allo messages. Download Allo here: <shortlink>
iMessage figured out SMS integration three f*cking years ago, how could you guys have messed this up so bad?
</rant>8 -
Welp, its official, with Debian Buster adoption into our mainline, we are officially switching from Sys-V-Init to SystemD.
I still do not know how I feel about it.
From the professional point of view - Its a relief. SystemD has so many more neat features that make the life of a sysadmin easier. If any, I love that it tracks the uptime of a service, making it incredibly easy the last time it crashed / restarted...
On the other... I just... Am kind of afraid where the whole systemd environment will go with time... And... I guess... I am also worried about how much systemd is taking over in the system itself... It will mean learning quite a few new services, debugging routines and such...
A new era of GNU/SystemD/Linux is upon us.15 -
When our company (past employer) got acquired by another company and everyone got to have a meeting where you got a black or blue envelope. One indicated you were being let go, the other indicated you were being offered an "opportunity" if you would relocate to NJ. What was an awesome company -- they destroyed the soul of it in one day.
Oh well their CEO got let go after a US Congressional investigation earlier this year. Karma, bitch! -
Fairly new to Linux, read that vim is a neat editor but hard to learn, good for script editing and such, but why use it over a language specific editor or something like VS Code?24
-
Any fun self-hosted app or useful services you guys use on your own server?
For some weeks I have started to host my own git repository with gogs and take continious development into my control with jenkins and feel pretty neat.
Now I understand why my grandmother loves to raise her own food even when she could buy everything in the supermarket.11 -
Neat: MongoDB. Fairly easy to use, intuitive-ish JSON API. Thinking about using it on a project. Excitement.
Neater: Data validation. You can have it drop writes that don't match a schema. Excitement intensifies.
Braindead: It absolutely will not tell you exactly *why* the write doesn't meet the schema, leaving you to figure that out on your own, smart guy. Mongo smugly crosses its arms and tells you to go back and do it right without actually telling you what the problem is.
Fucking braindead: This has been an open feature request since year of our lord two-thousand-and-fucking-fifteen. https://jira.mongodb.org/browse/...7 -
Looking at anyone else's code in things I use. I just think to myself "damn this is so neat and structured, I've never made something like this"1
-
Spent the last month creating a really scalable chat application, with fast front end, all kinds of neat functions such as polls, and a really efficient database structure in Apache Cassandra.. Everything is built to use NoSQL, and even the front-end is using all kinds of features to speed up itself... Now, guess what... The company I'm doing an internship decided that everything needs to be done in MariaDB, and I can basically remove 1/3 of my program, event the front end will get a huge purge of code, and as much as I explained that MariaDB IS NOT FUCKING USABLE FOR A CHAT APPLICATION, and when there are many messages, the access times will get realllllyyy sloow, and that the whole structure there currently is based on NoSQL... Now I can remove all the clustering, custom data types, and bucketing of messages... And store FUCKING JSON IN 'TEXT' FIELDS IN A STUPID SQL DATABASE. FUCK ME6
-
Google, will you ever manage to fix YouTube so it actually doesn't fucking break every day?
This "feature" where the page doesn't reload when I click reload is neat until I want to, you know, reload to see new content. Or reload because you failed to load a single video thumbnail. But no, you managed to combine the shit of both worlds and give me a loading progress bar and then don't change anything.
Also YouTube is the prime example why you don't try to reinvent text input fields. I can't remember a single instance in the last 5 years where the comment fields didn't have at least one weird bug.
Why do tech companies build the shittiest websites?10 -
recruiter used some blog post, a baseline for frontend developers (pretty neat post btw), to asses my skills. she read the subheadings of the post and asked me to rank myself 1-5. i find this way of assesments as idiotic as having percentage representation of skills on idiotic portfolio sites. i mean wtf does it mean that you know 80% of html??? but that s another rant. so she goes:
rec: javascript?
me: 5
rec: git?
me: 5
*continues with other subs*
rec: the fine manual?
me: excuse me?
rec: how would you rate yourself in the fine manual?
me: *blank stare*
"the fine manual" was the subheading of the conclusion paragraph of the fucking blog post....3 -
!Rant
TLDR: What's your favorite REST API Documentation tool?
I'm about to start developing a really large REST API. I have never really had need to document my previous API's since they were small, self explanatory and had only me using them. Aside from this one being too large for me to keep track of there is also a remote team that will need to integrate with it.
Basically I need write exceptional documentation while using as little time as possible. I love postman and am planning to use it for documentation since I currently use it to test during development anyway but I have seen some really neat looking tools like swagger and apiary so I figured I would check for some other suggestions.
What is your current / preferred REST API documentation method?13 -
I didn't think this were true when I started out programming in the field, but now that I've been working for a few years, I've discovered this:
While your technical expertise does matter, it does not weigh as hard through as how likeable you are; that's right, likeable. You can be an idiot, yet if you make people like you and pull the right strings, people will think you're this grand genius (while you're not!). How perception matters..
Soft skills matter somewhat, but I discovered they can make or break it. I noticed people like to be idiots and frolic around instead of taking things seriously that need to be taken seriously.
Here I am, with my expertise. People don't like me - and it makes them judge me the wrong way, like I'm stupid. Yes, imagine that, you with more skills, being looked at as stupid by idiots with little the fewer skills.
It would be neat if I were valued for my skills, not how much someone likes me!
This industry is... disappointing.10 -
Browser rant:
I just want to get this off my chest, IE isn't a bad browser. It's highly outdated but it was good back when the alternatives weren't there. And today it's new "browser update" Edge isn't bad either. Edge really is a neat freaking piece of software. Microsoft tries their best to make a browser for their operating system (and a browser engine for their new app format!) that means it has couple of features the alternatives don't (or only with plugins) - oh and plugins, they're coming too. And still it's not slow either. From my own experience (I say this because every user says their browser is the fastest) it's way faster than Quantum. Yet Quantum is still a very good browser because it's faster than the old firefox, I guess it's open source(?) and still a privacy focused browser. Chrome (my personal favorite) on the other hand is really the fastest thing you can get - if you allow it to use all your ram - (if people like linuxxx say firefox is faster for them, I'll just smile) but for everyone worrying about ram usage and "spying", well - you know what I mean. And still I can understand people trying opera or FF/Chrome/Edge mods, I myself love "Monument". Just stop saying a browser is bad because it doesn't have what you like/does have what you don't like. The only bad browser is Midori, okay? 😘
Tl;dr
IE isn't bad but old. Edge isn't bad today. Every high end browser (edge, quantum, chrome) has their perks and none of them is "bad".
Q/A:
What's your favorite Browser? Comment below9 -
Always nice to hear colleages say: great work on this website. Really neat.
Two days later: yeah, i gathered some feedback for the site…
*beware, pile of shit comments incoming*1 -
When searching for "microsoft" in Ubuntu apps, it results in all libreoffice apps. And similarly, a search for "microsoft word", shows "libreoffice writer" as a result and same thing happens with other microsoft office products.
A very simple thing but pretty neat if you ask me.5 -
neat, ansible control server on my phone, now I can transfer my playbooks and ssh keys and have it execute things on the go.5
-
"How to exit the Vim editor?" hit 1,000,000 view milestone and a stackoverflow guy wrote a blog article about it with some neat facts. A good read imho.
https://stackoverflow.blog/2017/05/...2 -
Thought I'd share another one with you. Last year I saw a turorial posted on LinkedIn about how to create a captcha in ASP.NET. The turorial itself wasn't that bad but it made me laugh so hard because the writer thought of a neat way to input the desired captcha code to the handler that generated the image. Guess how? In the query string. That totally defeats its purpose. How on earth did he come up with that. So much for securing your form submission through captcha. Of course when I commented about it he didn't reply. I hope no one actually used that tutorial.2
-
Linux users, do you admin your server manually or do you use any web interface tool? After getting the third server of the day running I think I need a tool to make the work faster. Do you have any recommendation? Cpanel ist pretty neat but sadly not free10
-
Unlimited power to do anything with any electronic devices.
Every movie contains a developer(hacker).
Can make non dev shut up with neat dev terms.
Completely understand silicon valley and Mr.Robot(non dev do not get the things like github, method, etc.),
And yeah most importantly devRant. -
Hello guys im observing since some time your rants.
Here are people which are quite experienced.
I want to start as Freelancer in Germany, mostly for Web development.
All of my Customers are looking for a neat looking, responsive and fast Website.
What should I use and what Templates/framework I could take as a blueprint for the future websites.
Any suggest are welcome!8 -
Does anyone here have experience with AWS CodeCommit?
Do you like it compared to other popular tools like github/gitlab/bitbucket/tfs?
I just started playing with it today and think it's pretty neat, wanted to reach out to the community here and see if you guys/gals know of any gotcha's that you may have encountered?7 -
// first rant
So this isn't really a "dev" rant but I'm a developer taking my first ever design class. It's a senior level, group based class where we design a mobile OS from the ground up, using any inspiration we like. I love it because I'm the developer and designer for all of the Android apps I've worked on so far. I get to practice my design skills and have a portfolio addition. Neat! It's a pretty easy class too.
But my group. Oh God my group.
I spent a week and a half designing the style guide and it was jam packed with anything we'd need. Typography, icons, rationales, you name it!
But noooo, they can't use it because it's not in sketch. As a Windows user, this is infuriating. So three weeks go by and all this work is done that's SUPER INCONSISTENT. Bad colors, elements off by 3px... I mean even the font sizes are just 1 or 2 off. Seriously, I wish I could just be frank with them and tell them to put in the 1% effort to make it right. It's really not that hard. I just don't want to screw up the peace in my group..2 -
Me, 20 mins ago:
"oh god windows died and my HDD's not showing on my SATA controller fuck it better not've died"
Me, 3 mins ago:
"oh, windows has managed to permanently bork an entire SATA controller and wipe my NVRAM. Neat. Lucky I have 2 controllers..."
fucking updates10 -
first off, i think this may be out of scope but either way.
i think along the rants, a tag seperated section for programmer tips could be pretty neat :)
i'll start off, my tip of today would be: if it seems too complex, it probably is.
consider refactoring by splitting into multiple smaller parts or even its own seperate API. :) -
We had a thunder storm with pretty strong winds while I was at work. A transformer across the street blew up (came off the pole, lots of fire, pretty neat)... I had a meeting at 4:30 and was told we were still having it even without power or internet. the meeting organizer never showed up.
...I could have gone home and worked because our vpn and dev servers are on another state that still had power. -
Okay so I jumped on this app because I would ideally want to make friends interested in the stuff I am.
Using this app has really made me realise how much of a noob I am though. I feel like I'm doomed to never find the kinda people I wanna know.4 -
Boss needs certain stats pulled from database once a year for board meeting. This time I delegate it to a junior dba/sysadmin. He looks at my 3-year-old docs that I hastily jotted down and pasted and included my rambling notes with results from way back then. Mostly they were just to jog my own memory, not to be a really neat, clean instruction guide. He does the queries correctly, but in ticket for boss he pastes also all my notes from the docs. boss gets confused, "what is this other number, I don't get it?!" We have to have a meeting of the 3 of us and waste an hour or so just to figure out what went wrong, finally I realize what junior guy accidentally did. Moral of story: to avoid baffling the nontechs, always simplify, simplify, simplify. Alternate moral of story: before delegating a task that seems old hat to you, always review your notes/docs and make sure they're ready for someone else to use them.1
-
https://reddit.com/r/programming/...
"I didn't get paid so I open-sourced my client's project". What do you think about this approach, folks? Pretty neat to me, plus people get good free stuffs! Unless the client finds out about the cod- Who am I kidding? They're client!9 -
So i found this the other day and thought i would share it with you.
It's a collection of short little songs inspired by HTTP status codes.
Neat idea but is a little rough around the edges.
https://thingsinjars.bandcamp.com/a...1 -
Why is it that every god damned time, i ask questions until i have a clear view of a clients project and flow. I present them this flow. They OK it and everything. I build said flow in an app. And then at the end of the line i always end up with a shit codebase because i designed it to be like the documented flow, but changes were being added (and obviously paid for) all the time. I made such a neat little app. And now it all gone to shit.
Is this just me? Am i that bad at programming or what?!
Stop changing half of the app functionality after the original design is created!4 -
Neat-looking desktop wallpapers have never made sense to me. If I'm not covering every square millimeter with something, I feel like I wasted money on my monitor.13
-
What I'm doing now, writing a JS library for a simple kitchen timer (like, something that can be wound up, is ticking, can be paused, etc). Here's a list of neat stuff I've learned:
Polyfilling as a lib author (I decided against it).
Packaging the lib (using Rollup, ES6 modules are totes cool).
Using flow to add static typing in strategic places (started appreciating types in JS since reading up on functional programming).
Modelling state and transitions using an explicit state machine. (Fucking finally. There's usually an implicit state machine somewhere, only spread out all over the app...)
Using mostly side-effect free methods, being very explicit about when and why things are mutated).
Test-first/TDD (ish) using Jest and the awesome Wallabyjs.
Freeing up mental capacity by letting Prettier format my code for me (it was hard to let go but totally worth it).
Started using git.
Did all work on Ubuntu after pretty much a lifetime of Windows (initially to separate work from gaming) and finally swapped MS Visual Studio for Atom.
When it's finished I'm going to publish it on GitHub, which will also be a first for me. Might try out some CI platform while I'm at it.
tl;dr: wrote some js, felt good2 -
C++99, C++03, C++11 and C++14
I love when your design finally ends up working, looks good and it's running as fast as Usain Bolt, but why the hell does OOP has to be so ugly and clunky in C++? Constructors and copy constructors designs are barf inducing. Yes I am trying to make it as readable and neat as possible but it still looks like shit overall. And related compiler errors are almost always retarded or unhelpful even though I'm used to it now.
I know you will tell me "why are you using those old ass versions?". Well unfortunately in embedded you are stuck with old crap until some envoy of the gods finally up the standards... or if I do it myself for a specific platform.2 -
Am I the only one who's pretty happy with the release of C# 8.0
The features are neat the general use is made even more simplified :^)
Source
https://blogs.msdn.microsoft.com/do...
Visual aid
https://youtube.com/watch/...5 -
A client decided to give a refresh to his website. So he said he wanted me to take care of it. Curious because he has an IT guy full-time just for the website.
When I offered the hosting service too the IT guy got crazy, he started making a lot of questions like why should I take full control of the website. I replied that's optional, I can just deploy the website in the current server.
The client said, yes I want you to take care of everything.
IT guy again making questions about what database I'm planning to use, what framework, what version, bla bla bla.
At this point I said to my self: Well, maybe this guy made an awesome job. Probably he used a framework that I don't know. The database must be neat and tidy.
So, I go an check the current website... WordPress... Are you freaking kidding me? The IT guy getting crazy for a premium WP template? Why is he full-time anyway? Why is the client looking for someone else?1 -
I like my log messages to indicate automatically where in the code something happened, so that I can easily identify where a message originated from while tracking down problems.
In C/C++ this is nice and easy - write a logging routine, wrap it in macros for the different log levels and have that automatically output __FILE__, __LINE__ etc.
I wanted to do something similar in NodeJS, as I'd found myself manually writing the file name in the log message and then splitting functionality out into new files and it became a mess.
The only way I found to be able to do this was to create an "Error" object and access the "stack" member of it. This is a string containing a stack backtrace, suitable for writing to console/file. I just wanted the filename/line/routine.
So I ended up splitting the string into lines, then for each of the lines, trimming the surrounding spaces (or tabs?), and parsing them to see if the stack entry is inside my logger module. The first entry outside of that module must therefore be the thing that called it, so I then parse out the routine or object and method, filename and line number.
It's a lot of clumsy work but the output is pretty neat. I just wish it were simpler!2 -
I wrote a tech book several years ago for O'Reilly, which itself was a dream come true. I'm still amazed I got that deal done, and the fact that my name was on a title with a unique animal on the cover is SUPER cool.
Back then, their publishing system was based on Git with their own markup language, and it was sort of a chore to use. Easy and straightforward, but laborious. I spent 3 entire days just (re)formatting my drafts to their code. They've upgraded it since, I see, based on the same fundamental versioning idea and still using Git. Neat!
I've also done tech writing for .NET Magazine, which used Word's change tracking, and penned articles for other publications using Google Docs, or even drafts in WordPress.
Have all of you run into interesting systems used by publishers to manage content?2 -
Spent my entire evening trying to figure out why my CoordinatorLayout + AppBarLayout + CollapsingToolbarLayout setup won't work properly despite my code being "seemingly" identical to Banes' fabled Cheesquare.
And the culprit? Well, roll the drums..
Turned out CoordinatorLayout and all its mumbo jumbo NEEDS the support-v7 version of Toolbar in order to WORK RIGHT.
HOLY. EFFIN'. POOPFEST.
I'm targetting Lollipop, goddammit, there should be absolutely ZERO reasons for me to use Toolbar from the Support Library!!!
If this is by design then why on Earth would you even bother shipping Toolbar alongside the default API in the first place, Google???
Just go the RecyclerView/CardView/Palette route and make Toolbar a separate library FFS!!!
.
.
.
Oh hey, my first "actual" rant on devRant. Neat. -
Always thought a "scrolling distance"-counter would be neat on Facebook, so that people can realize how much scrolling they do. Not sure if I want that on devRant, though... 8)5
-
~rant
Hey did you know there is a neat operator called "tadpole"?
-~x = x+1 (tadpole swimming towards x)
~-x = x-1 (swimming away)
https://blogs.msdn.microsoft.com/ol...2 -
When your coworker is having issues with an old ColdFusion app, and says "Nevermind, I am just going to rewrite this in ASP". Yes, he is writing a "new" app in Classic ASP. 😒2
-
I just wrote a really neat line of code, but I'm remote working so can't share it with anyone, so I'm telling you guys instead2
-
I finally got IPv6 working on my home network with a custom Linux router. It's pretty neat. I wrote a full tutorial:
https://battlepenguin.com/tech/...4 -
Whenever anyone asks me why I dislike C++ I'm just going to point to this current app I'm working. Had a unit test with an extern method declaration that had 7 or 8 different parameters. No big. Problem is that the ACTUAL definition of the method had 1 less parameter than the extern declaration. It worked perfectly fine in x86. Ported to x64, compiled fine, hard crash at runtime. Debugger not a super lot of help. Took me a couple days to figure that one out. Also I am broke so I can't even drink the pain away. Neat.
-
!rant
would be neat if we could use a default mention @op to mention original posters in comments, like imgur3 -
I recently upgraded my computer to a ryzen 1700x and 16gb 3600mhz memory and an asus rog crosshair hero vi board(From an 8350)
My pc ran soo smooth, games even more so
The games ran great, but my personal performance went down.
I didn't understand why. Im probably just losing my edge.
I trained and tried. But still, it felt off.
Today I realized that with my new motherboard, I got a new mac address. And my friend is a bit of a neat freak with that stuff. He has a whole system for ip addresses.
So i told him, I wont have the correct ip address. Then he started laughing and asked my to browse to a certain site www.privateinternetaccess.com
There at the top it said: "you are protected by pia"
Devices without an ip address bound to their mac address, will automatically use the vpn according to his rules.
My ping improved by 10-15ms upon getting my normal ip address back and my game performance is back.3 -
"I can't connect to the internet on my phone!!11!"
*I open control centre and disable airplane mode*
"omg how you do that thank you"1 -
Do you guys actually name your computers? I mean I don't call mine - but I named it - "Momo"
Or some neat ideas? :D14 -
Late night kaggle session, and I'm enjoying how cute and clean this dataset is!
I'm jealous if data scientists always get to work with such neat sets! Dude! I got .95 acc without any effort! This is so... Weird. 🤔4 -
So I recently finished my Abi (final school exams thing in germany) and got relatively good grades. My IT grades were good, I was best of the class. So two local companies gave me some neat gifts (the best of the class always reveive some presents). One of the companies I was thinking about applying to even gifted me a Bluetooth speaker (thanks for that!).
Now comes the bad part: I looked up the speaker on amazon and now it thinks I want to buy it. I get ads from that exact speaker EVERYWHERE although I already own it. And no, amazon doesn't even think about showing me ads of other articles I've been looking at way more often and way longer.
Wtf.8 -
What the hell is wrong with search engines?
I thought Google had turned to shit. So I decided to get on Duckduckgo as many hyped
It turned out to be way worse. You search for something with a slightly viral keyword, and it only gives you results for the keyword as if you didn't ask it anything else.
Bing is not much better either IMO.
Are we just getting too used to neat answers given by chatGPT, or are the search engines actually being worse this year?6 -
Coworker has been working as a web developer at our company for 10 years... Yesterday I see him watching this video intently: https://youtu.be/PLA2FaOXkkg ?4
-
Can we get a non-mobile web app? It works alright but it'd be neat to have a proper full screen view.1
-
Started doing the cms, looks neat
But i haven't even finished the home page yet.
I just love to do the backend and seems that a cms cover a lot of the basics and more
PS : it is a personal project :D1 -
Heyo, it's me. That fool who always says shit about unity.(:
So.. i just got my first real hands-on down, and phew, i gotta say.. I overestimated that heap of bullshit.
It's not like there are basic concepts of gamedev, framebased ticking and stuff like that since before the fucking gameboy - nope - let's do shit different. More ... Shit. First, we invent something new. Lets call it "prefab". None of these fuckers is going to know what that shit is.
What next.. oh the new-keyword. That's bullshit, all languages use it. Lets make Instanciate(). That's the stuff.
On we go, scenes. Most shit is statically created beforehand and used by scripts glued to stuff. Hell that so neat actually. Creating materials beforehand and then we can just load em!(:
NOPE. yo bro your Material where u used one of those loading-methods is null. We ain't telling you whats wrong, cus you know.. Load() returning null is like completely normal, why throwing an exception?
Oh and btw, it needs to be in ./Resources/, but it wont make any difference.
So now you want to google your problem, eh? Forget it. The Forums only answer on stuff like "how to add 2 numbers in unity" and the guide shows you how you did it, but they say it works that way.
Dude holy shit, of course this is a buhuuu i don't know how to do shit rant because i feel like good 8-10 years of dev experience collected while not doing homework for school were for fucking nothing.:b
And i have to use it.
Subjective Opinion: Unity was made by crackheads.6 -
So I had to chuckle at this: https://www.devrant.io/rants/93746
My gf asked what was up. I tried explaining OOP to her (she does not have any coding knowledge) and I used the following example:
Let's say there is a class humans, you are an instance of that class and so am I. There are certain variables like hair color and height and those are different for you and me. There are also functions that we both can do and those are defined in the class.
I thought it was a neat idea. -
I learned you can access developer options on Android by tapping your build number in the information settings, it gives you a little notification and reveals the secrets hidden from the average user. It's neat, I like it, you should see if it helps you in any way If you use Android.1
-
Maybe you guys could help me...
My father just sent me a .xlsxm file (excel + macro file), it's all about horse races and stuff a 60+ years old dude would do :D
The file is pretty neat, but some minors changes needs to be done, but I have no clue where the code is. I found the "macro" part but it's empty, and I'm not surprised since the file itself seems to be generated from C# (Maybe not, I'm not the expert)
Sooo... Can anyone tell me how do I get to this code?8 -
When you are scrolling when your left thumb and accidentally upvote a rant you didn't mean to. Feels so heartless removing said upvote...2
-
Seeing quite a few people post ("bump") just to subscribe to a rant.
would be a neat feature to have a subscribe to rant checkbox :)6 -
So, in C#, are there any tips or guidelines as to how to write "clean" multiline strings? I mean, imo it doesn't look as neat when the code looks like:
static string kindOfLongVariableName = @"First line of string.
Second line of string...";
With the first line sort of hovering on the side. What I'm used to is with Python where you can just:
variable_name = """'\
First line.
Second line.
"""
And use the '\' to escape the newline, but that obviously doesn't work in C#. Can anyone point me in a direction to start looking? The docs are a bit confusing and not very beginner friendly. :/20 -
Just reported a minor tracking bug I found on WebKit to the WebKit bugzilla, and I have a few thoughts:
1. Apple product security can be kind of vague sometimes - they generally don't comment on bugs as they're fixing them, from the looks of it, and I'm not sure why that is policy.
2. Tracking bugs *are* security bugs in WebKit, which is quite neat in a way. What amazes me is how Firefox has had a way to detect private browsing for years that they are still working on addressing (indexedDB doesn't work in private browsing), and chrome occasionally has a thing or two that works, with Safari, Apple consistently plays whack-a-mole with these bugs - news sites that attempt to detect private browsing generally have a more difficult time with Safari/WebKit than with other browsers.
I guess a part of that could be bragging rights - since tracking bugs (and private browsing detection bugs, I think) count as security bugs, people like yours truly are more incentivised to report them to Apple because then you get to say "I found a security bug", and internal prioritisation is also higher for them. -
Maybe I should automate downloading these google spreadsheets... neat there's an api for it, lemme just check the npm (https://npmjs.com/package/...).
Unpacked Size
49.2 MB
Total Files
900
Uhhh... fuck no? How about no fucking way? The nerve of these guys! Can you imagine being so up your own ass!? That's like 2kb of shit I care about, and the rest is bloat. Might even have some spyware hidden in there for how much NSA pays them.3 -
We often give access to a product owner from the customer on our Jira to keep up a good communication and everyone stays up to date as everything is on the board and not hidden in emails or paper notes on the desk of the guy that is on vacation.
So far, so good
Our customers really like this as they can comment on tickets and they are integrated in the workflow because they can push into the backlog and can review finished tasks.
It is just getting better for everyone so where is the rant?
One project is just a dump of shitty mixed content tickets. But how? They look really neat. There are tickets like "fixes from meeting 20th of may" which are initially well structured with approximately 4 subtle changes to the UI and some explanation and screenshots.
PM says: Good ticket. There you go ticket, into the customer review loop of doom.
20 comments and 13 status changes later. Point 43 from comment 17 is referenced in comment 20 to keep on hold as a third party needs to give feedback, point 7 is still not solved correctly as dev 2 was not aware that it was already discussed and changed in the ticket "Call from 25th of may" where in addition the resolution of points 5-12 were requested with an additional excel file to import.
By now we have the 8th of august and literally 17 of these kind of tickets.
I guess we need to improve the workflow and request a new product owner. But this far I just table flip everytime I get one of these tickets assigned.2 -
Fucking Eclipse at it again.
Colleague was setting up their IDE for working with the ABAP R/3 backend, we use. To speed up the process, colleague A is sending the zipped plugins folder to the new colleague B and telling them to put them into the directory of where eclipse is stored.
Like a good and neat person, B renamed the folder plugins into plugins _old and unzipped the other folder in there. Clicked on eclipse and nothing worked, Error message immediately.
B then proceeded to tell A that it didn't work. A then asked "how did you copy the stuff in there?", and B said that they backed up the original and put the new one in there (mind you, technically that should work, because the eclipse versions were pretty close to eachother, only like a few patches apart).
And then A said, "No No No, you need to just overwrite it."
So that's what B did. Okay so original plugins folder has been overwritten with the sent plugins folder. B clicks eclipse.
Eclipse starts, and shows loading screen.
For like 5 minutes.
Then crashes with sone random error message.
B asks A what's going on, and what cracked me up was, that A just said: "Yeah, it's supposed to crash, just restart it".
So B clicked it again, it launched for another like 5 Minutes and then opened normally, with everything where it should be.
B asks then, if that's normal, and the other devs in the call replied "Yeah, we did it like that too"
ngl, that was one of the funnier teams meetings i had in a while7 -
Interesting...
On Friday, I was playing with the ChatGPT integration in DBeaver. I was using the DBeaver sample SQLite database. This database has a couple of tables, among them Album and Artist, where Album has a foreign key into Artist.
So, I asked it:
"give me a query that lists all albums from artists who's name starts with s"
The query I got back was:
SELECT * FROM Album
Uhh, okay.
But then, I noticed that I wrote "who's" instead of 'whose', which would be proper grammatically. So, I changed that, and then I got this query:
SELECT * FROM Album WHERE ArtistId IN (SELECT ArtistId FROM Artist WHERE Name LIKE 'S%');
Hooray, that works! I'm not sure it's the best way to write the query... I might have written:
SELECT * FROM album a, artist r WHERE a.artistid=r.artistid AND r.name LIKE 'S%'
...I'd have to check to see if one performs better than the other, and consider which syntax I find clearer, but that's a separate issue, it's just nice to see a working, reasonable query generated because that's the point, after all.
But I found it interesting that such a minor error would cause it to not work, that's my main point.
Interestingly, it seems to have learned: I just tried the same thing, and I got the right query either way. So that's pretty cool.
It's a pretty neat feature and I can see some legitimate value in it. I'm pretty good writing SQL myself... I've managed to write some truly hideously complex queries over the years... but there are definitely instances I can recall where the query didn't seem obvious at the start, and having an AI that can MAYBE produce something that is AT LEAST a starting point is definitely something I can get onboard with.9 -
my life is looking up, everything seems neat. what happens to my anxiety disorder? well, now I'm anxious because i feel like i forgot something bad, or like something bad is supposed to be happening. ffs someone trade brains with me pls4
-
Anyone interested in the new Asus ROG phone? It looks super thuggish, and is being marketed as a "gaming phone." I think it looks neat, but 6" is way too big for me, there's no sdcard, and no LTE bands have been listed yet.
But it comes with a really cool docking station, which to me, makes it an ideal parsec rig.
What do you think?5 -
!rant
I love to work on my machine, and being it
my work-horse for school and side-projects, I have a neat dualboot of Windows 10 and (driver-related) Ubuntu Mate.
Ditched Mate because screen tearing, got Cinnamon, but I have to say, that W10 UI appeals a lot for me, so... what kind of Windows is this?4 -
Recently started reading about how businesses startup and grow. As much as I hate to admit it, their problems seem more daunting than technical challenges developers face. The nature of problems is so much more dynamic, unstructured and nuanced. After all, leading strangers to work towards your personal vision is kinda neat!1
-
1.) Read the docs on the website
2.) Curse the Devs for bad docs
3.) Go to YouTube and pray that I find a food tutorial WITH AUDIO!
(jk,sometimes some docs r very neat and clean) -
That javascript ecosystem is pretty fucking neat.
Yea we got problem with certain tools like `npm`, but threw is so much shit that comes out, in a matter of month you have solutions springing up for those obstacles.
Its pretty fucking beautiful ;) -
worst documentation.. OpenCV.
About half of the features I've used are not even mentioned in the documentation. The worst part is that at first look the website looks neat and well maintained but in reality it is missing a lot of usefull info. And some of it is plain jibberish.3 -
When somebody takes over your project because your almost burnout and makes a children painting from a neat crafted Picasso...
-
Teammate turned my neat minimal service architecture into dog's breakfast.
Now I don't know which one I hate more. Him or ROS.4 -
Any idea of how to protect your nodejs source code on a client's onsite server ?
If they can SSH, they can get the entire source.
This is built into the angular framework very well but I don't know how to do this on a server.
Any neat packages for obfuscation, uglification etc ?8 -
short: free/cheap music making software?
Can someone recommend me some neat, free (or affordable one-time payment) music composing software / Digital Audio Workstation? I don't have a MIDI keyboard, I'd do everything per mouse/computer keyboard input. Windows btw16 -
After seeing how OS X and various Linux dists are handling virtual desktops Microsoft is leaving a lot to ask for in Windows 10. OS X's full screen your app into a new virtual desktop is pretty neat after you learn to swipe back and forth. And CentOS for instance allows you to create a virtual desktop and associate certain apps with different desktops. Windows however, does only allow you to create extra virtual desktops. But if you'd like to swipe between them you're out of luck, unless your computer has a touch screen. And if you think that clicking on an icon in the task bar would transfer you to your opened windows of said application you are wrong. It just launches another instance of the same application. Sigh...3
-
!rant
https://github.com/rohitshetty/...
I am a young dev trying my hands around in different stuff.
So I would appreciate any criticism or comments that would allow me to Learn more :) or good practices I can follow.
Here is one project where I tried to create a structured frameworkish way to write mqtt processors.
Mqtt processors are standalone apps that process mqtt requests that has to be acted upon (like add sensor data to db sent from sensor node, read from db, turn some gpio on or off if the app is on some embedded device like raspi ) etc.
This project creates a structure where you can just focus on writing subscribed topic listeners in a clean neat way. (Hopefully)6 -
Glad to be back to some IRC servers that managed to not die off and ZNC bouncer got so much neat default and external plugins now, for example you can get push notifs if you want: https://github.com/jreese/znc-push1
-
There's a dude out there who made a phone-sized computer with a Raspberrypi Zero, it looks surprisingly neat 😍 There's only a video on the website but there are plans for putting instructions on how to do it yourself. I'm already a fan 😄 https://zeroterminal.org7
-
- Am a junior dev in an awesome team & exciting project after my apprenticeship and while having just started my part time studies
- Have restructure in company so I land in an other value stream
- Get laid off by new value stream 6 months later (now) because they have a serious budget cut
- Take time to come to terms with situation. I could finally work more on my side projects or focus a bit more on my studies. Hey actually I will have 5 months time to look for something while being paid by the company and they help me brush up my CV. Pretty neat!
- Now my former boss wants me back because of my experience in the project, but only as a production support and not as dev (because budget and they're bleeding with tickets)
Not sure if I should take the offer as it feels safe to have an income and the team is cool. However, it feels a bit like a degradation as prod support sucks in that project and I'd like to code (which wouldn't be possible then).
And as this is still my first company I'm working in, it would make sense to look for something else...
Grrr need to sleep about it... Decision-making isn't exactly my strength.7 -
I must assume that whoever designed jinja2 was either on crack, or hadn’t used template systems before. This thing is too fucking complicated, and doesn’t make sense. From their docs:
“Jinja2 supports dynamic inheritance and does not distinguish between parent and child template as long as no extends tag is visited. While this leads to the surprising behavior that everything before the first extends tag including whitespace is printed out instead of being ignored, it can be used for a neat trick.”
My response: “I don’t give a fuck!! I need this fucking website to be fucking done already! I pass data into a fucking template engine, and the engine applies my fucking markdown!! This is bullshit!! Why am I still trying to understand your fucking nonsense?!? AGGJCDJVFD&@!?&@$?)@&!SHHHVBSHK!!!!!!”
*desk flip*
Fuck you to hell you jinja fucker3 -
I downloaded Hive from Vault 8 and got latest thinking I would find some neat things; here’s what I have learned so far:
# Reading others people code is hard
# Code you don’t understand looks “normal”
# No one comments
# If you want to do something cool it has to be in C++ with Python make scripts
Has anyone else looked at it?1 -
I had been building dumb Minecraft mods in Java for under a year, and my parents wanted to know how much I was actually teaching myself. (I was 15 at the time.) They signed me up for a CS introductory class that taught Java at a local college.
One semester later, and I passed it with flying colors at (I think) the top of the class :D8 -
Is it common to have QA and Product Management in sprint planning? Cuz they are derailing sprint planning SO MUCH!!! I am internally screaming. Aaaaaaaaand they just extended the scope of one of the issues. Neat.11
-
When someone cooks bacon in the break room early in the morning and doesn't bring enough for everyone. #hungrydeveloper1
-
I am new to devrant and it seems like a neat platform to connect with exclusively developers and programmers. I am newly enrolled in Full Sail University's Web Design and Development Online Bachelor's degree program and learning early HTML and CSS currently on my own while finishing my general classes. Any tips/tutorials/courses on code, inspiration, best way to approach learning languages, etc. are all appreciated. Also open to connecting as well.11
-
tl;dr i am proud of my universal program but annoyed it won't get appreciation.
<brag type='slightly'>the last three days i refactored my various snippets to a kind of modular and scalable software package. restricted to a rigid company system i make use of the technologies i feel confident in. so i created a javascript app that can be used with internet explorer. it is a neat tool to work smarter and mainly to make repetitive writing tasks efficient using predefined textblocks that have automated linguistic adjustments and are multilingual usable. after refactoring it is possible to extend any desired functionality by just adding another module. i learned a lot about implementing separated data structures, data processing, output and asynchronous script loading (and the annoying limitations of ie11).</brag>
i kept in mind that this tool might not only help my personal duties to be done more efficient but also might come in handy to all my colleagues having similar tasks to do. the downside is my colleagues having irrational computerphobia and i know for sure they will proceed to do these repetitive writings manually resulting in inconsistencies and an inefficient time management. while my wise wife tries to convice me that at least i had fun coding this stuff and having it supporting me with annoying tasks, it still bothers me being the only user, as it means no progression for the company. it riddles me how the colleagues, acknowledging us all being craftspeople in the first place, avoid use of computers whenever possible and rather rely on medieval working flows.
i find it quite amusing to be the 'can you fix my printer'-guy, but i just cannot handle this attitude. and everyone complains about having so much to do. get your shit together and start clicking these few buttons goddammit! -
I have this fried that gives me some advice on how to find work, he said i need to come up with a project idea as something to put on my CV and also as a way to learn front-end dev.
Easy enough if not for the fact that this project should be something that's actually useful and has some concept behind it (like, something that might seemingly work for a startup)
I've been raking my brain for a week now, and all i can come up with is small meme projects, neat but sort of inconsequential experiments, or things that might be useful to me but have no reason to be web-based.
I never realized how hard it is for me to come up with professional-sounding project ideas :D
I'm just not that kind of guy, i don't really have the drive or motivation to do anything professional: If people wanna use my rice or whatever spaghetti software i create they are welcome to, i'll even write them some documentation, but its just kinda out there on the internet because i like sharing. I don't really have any grand product ideas, nor do i really care about what other people think or need.3 -
I’m a neat guy and gosh darn it people like it when i yell at them
It stirs something above and below in them to hear precisely what is wrong with them at high earnestly hateful volumes before the salty taste1 -
The most comprehensive software is powered by spaghetti code. I've just realised that if it's old/matured, it was almost nearly impossible for the code to be coherent or neat. No design patterns. A lengthy trail of ACLs and conditionals reading from a util/helper static method that would make javaScript callback hell's head spin and green with envy
These massive, ready-made software overbloated with features plastered in seem built in a hurry to churn out functionality to make stakeholder and client happy in the shortest amount of time. The authors are hailed as 10x devs. But to you, the maintainer, they are Tetanus that make you crave to rip your eyes out of their sockets3 -
Thoughts about the strangler pattern?
I just came across it today and it sounds like a neat thing.
My main concern is with redundancy and the risk that old classes or methods would further be used and expanded. I've come across enough obsolete classes which have been further expanded because the dev ignored the flag and didn't want to search further or create new implementations. I wonder how this could be avoided.2 -
I'm fucking Paralyzed and I need some advice.
I want to be an entrepreneur.
Not just an entrepreneur but a DAMN good one.
I self-studied business, economics, physics, self-taught multivariable calculus, teaching myself chemistry too.
But I haven't even started my career and I just graduated from University.
Right now I'm starting simple and just doing a few web development things.
But, I want to go deeper into a subject that hasn't really had its problem solved yet.
A.I. can sell you neat things, but it can't kill misinformation (yet).
Graphics are an integral part to gaming, but GPUs are the second greatest threat to our environment behind commercial jets.
Do I HAVE to choose between A.I. and graphics?!14 -
So I recently purchased Ark and I gotta say I can totally recommend single player/ local multi.
It's not exactly stable. And non-dedicated private servers are pretty limited. But it's fun nonetheless. The animals are neat, the landscape is gorgeous, and the base building is interesting and intuitive.
One of the things I don't exactly love about Minecraft is that your shelter doesn't matter much. Build some walls to keep the mobs out and you're good. But Ark is much more hostile. You need to avoid cold, and rain, and heat, and big Dino's that want to bite you and stomp you. So your shelter actually protects you.
Not only that but materials are so easy to get in Minecraft. You can have a full house by the end of your first day, easily. But Ark makes resource collecting difficult. You need some dino companions to hold your stuff because it becomes too heavy for you alone. And it takes days, maybe even in-game weeks to build a suitable house. And you can spend much, much longer making it more than just a wooden box.
Cool game! Definitely in my top 3 right now.6 -
I was fixing a bug, wrote some code that was really neat, still it looked like to much.
Then I realised I could change my code to 4 simple rules vs 50 -
I finally got my new home server.
A Lenovo ThinkCentre M720q in one of the higher configurations.
Any ideas what top level OS I should put on it?
ATM, I'm thinking Proxmox, ESX or Alpine.
I like proxmox because of the neat UI for everything but I'm kinda worried about how it basically takes the most important parts of the system over.
I like Alpine since I already use it for quite a while as my goto server OS and because of AWALL, which IMHO is the best linux server firewall.
I didn't get to evaluate ESX yet.6 -
We need to talk about Matrix (the protocol thingy)
It's a pretty neat system, to be able to communicate to eachother with whatever you want (through whatever other service you want).
What are your experiences so far with it (+ Clients)? Can you give some tips on what to use and to avoid? I heard that depending on the home server it might behave rather slow10 -
!rant
Just read a really neat breakdown of approaches for auto-suggestion, covering n-grams, tries, and more, by a guy working at Etsy.
This is what I do with my days off apparently.
If you want to read it you can find it here:
https://medium.com/related-works-in...1 -
!Dev but tech
Just got me whole day ruined.. the hifi guy insulted me like I never.... He thought my neat android was.. *shocking*.. an iPhone 7. 🤮😵
I must carry on knowing that... People might confuse my phone for being.. an.. apple phone 😶 the drama is real2 -
Coworker: "Hey, so I discovered this library that automatically brings up and tears down local containers to perform unit tests on data sources"
Me: "Sounds neat"
Coworker: "Yeah, I've been messing with it locally, and it means we don't need to have the data sources installed on our machines or rely on the ones in the testing environment."
Me: "That's good"
Coworker: "Just a shame I had to roll back our testing framework to a previous version and refactor the code in all our other tests as a result."
Me: "Wait what? *looks at documentation* It says they support the newer framework"
Coworker: "Yeah, but I couldn't get it to work. So I'm just gonna make a PR for it, okay?" *Proceeds to make a PR, approve and merge the code before I can comment further on the changes*
Welp, there goes all my motivation to get anything done for the rest of the day.3 -
Dialogflow documentation is ABSOLUTE TRASH. Trying to run the example code? It gives you a super helpful error: `Unexpected error determining execution environment`. Uh, yes, indeed. What it means? IT MEANS THAT YOU PROVIDED NO CREDENTIALS. Because, as we all know, providing no credentials should end in an error of 'determining execution environment', of fucking course.
You want to know how to provide credentials? Think again, all examples in the ENTIRE DOCUMENTATION assume that you're running the code... from their servers. Seriously. You wanna know how to authenticate your shit? NOT IN THIS DOCUMENTATION, LOSER. You want to know what exactly is happening when you're initializing your client with `new dialogflow.SessionsClient()`? Good luck, documentation is on another platform. For .NET. Because fuck you.
Also, you think you can store your auth info in a neat .env file? THINK AGAIN, because google is above such petty things as industry standards, you're getting a .json file and you're gonna like it, HAVE FUCKING FUN.
Dear google, die in a fire.
Sincerely yours.1 -
Definitely Android 8.0 is neat.
And it's faster.
I think Android has developed a lot.
Isn't that right? -
!rant
This is neat https://twitter.com/atlasobscura/... take a picture of bunch of lava lamps, make that bit array your entropy for crypto.1 -
Fuck Mozilla! !!
Why do yu mess everything up
My app looks nice and neat in Chrome
Load up Firefox and the whole thing crumbles21 -
I create nice, neat markup for IT to implement in JSP. They do it wrong and I get loads of defects. This happens constantly.1
-
I've noticed from the many pics of workspaces that software guys tend to be neat, tidy and ordered. The mechanical design engineers at work are messy
-
more like a combination with browser incompatibility. i designed a neat webapp with transitions and stuff only to find it didn't work in the desired browser.3
-
So I just changed from SublimeText to Atom and so far it's pretty neat. What do you guys think about Atom?22
-
Jonathan Burnhams
Started my career under him, learnt a lot from him....writing neat and simple code, with always 100% test coverage.
Very strict and straight forward. -
So I thought I'd try out lynx, the text based browser, and it's actually pretty neat xD kinda weird navigation but I'm actually pretty happy with the experience so far.
-
This is neat.
However it uses round rather than floor.
It might against consumer law if labelled 4.009 but charge 4.01 for retail2 -
so i'm sitting here staring inwardly at the learning rate optimizer...
i think it works
but i find myself wanting to scream at the nuances of the method being hidden from me
I know its probably fairly simple.
i want to write my own.
i want to plot neat graphs that give me metrics at the learning results for each epoch showing how much closer the values are getting to the training data some neat spiral of values and lines and flashy too.
but i feel.
...welll
strangely lackluster and a tad paralyzed for some reason. partly because it feels like i've done this all before... sigh.
on the topic of things I already did.
https://en.wikipedia.org/wiki/...
can you believe they made this bullshit into A TV SHOW ? IN THIS WEIRD ASS HYPERSENSITIVE ENVIRONMENT ? THIS RAPE WEIRDOS WET DREAM ? 5 SEASONS AT LEAST.
GOD WHAT IS WRONG WITH THIS COUNTRY ? ITS EITHER ADULT MEN WATCHING RUGRATS OR THIS SHIT !2 -
What Im doing with my life, Hurricane edition.
So Im still working in a site that I have keep saying Im about to launch Soon™, most of it was already working for a while but the notification system was Youtube-levels of ""broken"", I personally didnt wanted to spend time on it fixing it since I really wanted to launch the damn thing already to show the world I havent been wasting my time/shortening my lifespan doing fuck all ... but I remember that your average normie wants eyecandy and all that stuff ... urgh ok fine, will try to fix and that I did ... but in doing so I ended from a ~90% fully working site to a crippled ~50% "working" site.Also some neat info for those prepping for the hurricane https://imgur.com/gallery/tzv0d, also because some stuff going with my life, it makes me aware of all the homeless people out there and hope they have proper shelter and such.2 -
Neat trick that I discovered today:
Because React.useCallback is a thing, you never need a custom react hook to take a dependency array. You can always express your dependencies by wrapping the callback in useCallback and having useCustom pass the callback itself as its own dependency. -
What about Manjaro Linux? How many of you guys actually used this distribution? I did installed this distro on my pc. Everything's neat. Battery consumption is lower than other distro I've used before. However I'm facing an unusual behavior though. My laptops fan is making more noise than ever before. No heavy applications running. As soon as I hit the power button it seems like a fucking airplane is starting. Lmao. Is it related to os or something else?6
-
I recently started playing around with Alfred for Mac. I made a pretty neat workflow that allows you to query a YouTrack server from Alfred with YouTrack Query Language autocomplete.
Although I'm not sure if Alfred's export feature bundled the Python dependencies properly lol can someone try it and let me know if it works?
https://github.com/mrjones2014/... -
Finally successfully set up continuous deployment on a personal project. Ever, really. And on one of my few open source applications. Destiny Clan Manager... it uses the Bungie API to help you manage your clan on Destiny 2. Neat little weekend project. Made some changes today, and thought... why not. It's all using Azure.
If you're interested: https://github.com/demortes/DCM2 -
I've been a dev for more than half my life now and it still kind of surprises me the ability of typing fast and precise without looking at the keyboard.
I know it's silly but is a pretty neat self-taught-through-practice ability.
Good for you, everyone who types without looking at the keyboard. -
So the next Flutter event is on December 4th which means Flutter 1.0 is around the corner. Flutter is amazing with a very neat idea it has ReactJS like state management and everything is a Widget even the app itself. So i was thinking what else could we expect? React Native has Flutter, but what about React JS? I think Google might introduce a Competitor for ReactJS something like Flutter Web or FlutterJS which can work on parallel/similar to Flutter but for the web of course, and also maybe give some news on the Fuchsia. What do you think? :)5
-
My unidirectional type-c cable. Essentially is a Type C to Type A-female adapter with a Type A to Type C cable plugged in, but with the plugs bypassed with a soldered joint.
Useful for devices that have Type C but refuse to implement protocols, just using 5v bus. They only work with Type A to Type C cables. Usually, they’re vapes and other low-cost devices.
I made this cable to charge my heated tobacco device. Now, since I quit smoking, I don’t need it anymore, but I’ll keep it nonetheless because it’s kinda neat.1 -
While I was having a pre-lunch toke and just finished reading an article (about sharing screenshots) and this neat sign up form expanded from the footer.
Now this UX and marketing done right - I couldn't resist and don't even know what the newsletter is about 😂😂😂2 -
If I kept track of all the hours wasted on issues due to overloads of functions called ToList() it would probably make up a sizable portion of the project budgets.
If I call ToList on a query object, it looks like I'm trying to serialize the query definition into some kind of array. That's what it *should* do with that name. Bonus if the object implements some generic enumerable interface, ToList makes it call your database, you can just toss the query into some json serializer that blocks while calling ToList for you, and people end up doing exactly this because the code turned out so much neater.
Because that's the thing. It's like people implement it because it's "neat" and the user shouldn't care about its internals. How many tears would be shed by just calling it ExecuteAsync? -
1. Makes account on CodeWars to see what the fuss is about, have a bit of fun on a quiet weekend etc.
2. Does a few 7kyu challenges, feels neat.
3. 4hrs later is 10 commits into a 1kyu level challenge called PuzzleFighter.
WHY DO I DO THIS -
I dont have a degree yet, actually Im on my way to my next exam towards this degree. But I think it helps me alot in understanding basic things. I learned to program in my job where I am working as a web developer beside my studies. But we were teached so many basics, when I am looking at code and dirfferent languages, it just feels as if I "understand" what is happening there. And I think this is a pretty neat thing, because IMO everyone can be a developer, but not everyone can be a computer scientist. Beside this, we have pretty nice profs and cool subjects we can choose from. One is like the founder of wikidata and we heard a lecture considering newest technologies that are used in wikidata and how we can work with it, which was pretty interesting. So I think the degree teaches me a lot
-
Is there a definition for the feeling of fulfillment and joy that occurs, when reading through a rewrite or something overly complicated and messy legacy into a neat and tidy set of classes?1
-
I recommend "Productvity Challenge Timer" for all you lazy guys who can't get shit done. It's a neat Android App which really helps me to motivate myself.
https://play.google.com/store/apps/...3 -
I'm asking for your help, once again, because I couldn't find any similar problem online.
I've written this neat thingy here, in Go
https://github.com/thosebeans/wento
And i try to integrate the wren-interpreter with it (is written in C).
All compiles and works, but I can't print to Stdout from the C-Code.
Any of you know what could cause this?1 -
Im amazed by people ranting on CoC, whining that is end of the meritocracy but at the same time have nothing against kicking out Hans Reisers legacy. After all ReiserFS is a fine piece of software. It's just that his aspie took over as he killed his wife. Where were those wankers when Reiser was going to prison? They could do great job on forking, renaming and supporting reiserfs. But no, it's easier to cry about sjw and stuff, than saving neat code.8
-
Java is to JavaScript as car is to carpet, but check this out: https://developer.mozilla.org/en-US.... Rhino is a JS -> JVM bytecode compiler. That’s pretty neat!3
-
!= rant
Does AngularJS still have momentum. I toyed with it for a while on a side project. Since then .Net Core launched and most of my work (both day to day and side projects has been in MVC 5 or .Net Core)
I wanted to go back to tinkering with that one side project but it seems that some of the hype surrounding AngularJS has died off.6 -
Yo, DevRat! Python is basically the rockstar of programming languages. Here's why it's so dope:
1. **Readability Rules**: Python's code is like super neat handwriting; you don't need a decoder ring. Forget those curly braces and semicolons – Python uses indents to keep things tidy.
2. **Zen Vibes**: Python has its own philosophy called "The Zen of Python." It's like Python's personal horoscope, telling you to keep it simple and readable. Can't argue with cosmic coding wisdom, right?
3. **Tools Galore**: Python's got this massive toolbox with tools for everything – web scraping, AI, web development, you name it. It's like a programming Swiss Army knife.
4. **Party with the Community**: Python peeps are like the coolest party crew. Stuck on a problem? Hit up Stack Overflow. Wanna hang out? GitHub's where it's at. PyCon? It's like the Woodstock of coding, man!
5. **All-in-One Language**: Python isn't a one-trick pony. You can code websites, automate stuff, do data science, make games, and even boss around robots. Talk about versatility!
6. **Learn It in Your Sleep**: Python's like that subject in school that's just a breeze. It's beginner-friendly, but it also scales up for the big stuff.
So, DevRat, Python's the way to go – it's like the coolest buddy in the coding world. Time to rock and code! 🚀🐍💻rant pythonbugs pythonwoes pythonlife python pythonprogramming codinginpython pythonfrustration pythoncode pythonrant pythoncommunity pythondev4 -
Most of the web stuff I have done in the past have been PHP, Wordpress, cgi, etc. I read about nginx and was very impressed by what it accomplished in the last 20 years. Now I have a desire to play with this tech for fun.
What I want to do:
- create, manage, and launch minecraft servers
- provide a web interface for managing servers (I would like to learn how to make the server use the infrastructure of nginx to be managed like its other services)
- make this packaged so others can use this (probably on github)
I don't know anything about nginx other than it is really really cool, can serve massive amounts of web pages, and can do a whole lot more than that.
Question:
Is nginx suitable for this? Is this a big learning curve? Will I have fun doing this?
I am currently running a multi-instance minecraft server being managed by a piece of software called Crafty Controller. It is really neat. However, I am finding it buggy. I also see that the next version of this software will be behind a patreon. This is really disappointing. So this is spurring me to consider building something fun for myself, and if useful, for others.
I will most likely do very barebones and inflexible web interface that just gets the job done. I know enough to get by. So I assume I have a large learning curve ahead to do this.
Any advice? Is this going to turn into a large time sink?2 -
Can i get some stats? Currently running windhoos, definitely gonna swap to linux but still not sure what distro, my server runs debian 8 and console wise its quite neat. Whats your favorite distro and why?1
-
Do you know some websites where I can get good dev/tech stickers.
My new Thinkpad X1 Carbon arrived a few days ago and I want to ruin it's neat professional design with some weaponised cringe.
I'm gonna go get the large pack from Unix stickers, but I'm also searching for other sources.5 -
Show sales/marketing a feature working flawlessly: "neat."
Show them a slightly buggy feature:
"why doesn't that work yet, what do we pay you for, I thought you said this was easy!" -_- -
Anyone had much experience with Om.Next? It looks neat. From what I understand their way to tackle state management is very reasonable. Looks like GraphQL but for both client and client/server.
-
I actually bothered to add buttons to the vscode commandbar today instead of always relying on the terminal window. So neat. Why didn't I do this a year ago?
-
Any thoughts on clubhouse app, seems like a neat concept. (Seems like twitch tv but better )
Also should we make a devrant club ?4 -
It would be neat if you could filter by tags, like you can filter by categories now.
So you can e.g. say "I don't want to see any posts with the tags 'gdpr' 'github' 'microsoft' "
(My feed would probably be empty afterwards, but that's not the point)1 -
Anyone have experience with filterless or chemical-free aquarium ecosystems? Looks like a real neat hobby but i dont want to mess with living things too much for fear they get harmed5
-
Anyone learn about Bloom filters in school? I was watching a lecture and he mentioned using a Bloom filter with a few hash functions to create a cache you can use to avoid querying a table if there's no match, which is a neat idea. I've never heard of this but I also didn't study CS in school so I'm curious if it's common knowledge.1
-
Here’s a neat life hack for iOS. Tired of your phone looking the same? Just create an NSBevel object in your app and set the color to whatever you want. You don’t need to buy a new phone. Works best with white iPhones.
-
!rant
had to give a short presentation on the origin of OOP at work. It turned into a neat little discussion on what OOP means to you based on your experience and what you've been taught. I had always thought it just meant working in terms of objects and polymorphism, inheritance, etc. were good practices.
Found it interesting that when I started reading into Simula, Smalltalk and Alan Kay's work, early 'uses' of OOP were different from each other and today. To me it seems it have originated obviously, from the desire to work with real world objects but branching off to being more closely related to the actor model and the idea of message passing.
Was wondering if anyone else has looked into this topic or has their own opinions based on experience.1 -
TL;DR: Embedded software guy needs to create a multi-instance sandbox environment in Jenkins for testing and not sure what good solutions are out there. Looking for suggestions.
So at work, we have these really cool integration tests that validate our system for flight safety. What's not so cool is that due to factors outside of my control, each test has to be run serially and the entire test suite can take many many hours. This is mostly due to a hardware limitation (not enough physical NICs), but there are other SW factors as well.
What I would like to do is somehow be able to wrap up all the resources into a neat little package and then deploy that package into some kind of virtual environment that can be instantiated on a Jenkins job. The NIC issue would be replaced with a virtual one and *theoretically* I should be able to spawn as many instances of this virtual environment as my CPU and RAM can handle. In short, I want to pseudo parallelize our test suite and drive down our testing time. Somehow I would need to be able to control this entire thing from a script of some sort.
Does anyone know of something out there that would satisfy these kinds of requirements? Double internet points if it's open source. -
Was fucking around today and found out you can get yourself a 6 axis DIY robot arm for ~500$. Which on itself is kinda neat. But what really blew me away is that their documentation is nowhere near as horseshit as i expected from usual projects you recreate. Hava spin on it for yourself:
https://arctosrobotics.com/assembly...1 -
In a country, a long time ago there was a programmer by the name of Alex. He was a programming genius and apart from a few hours of sleep, he was busy developing unique programs for new generation technology firms. Alex was a bachelor and he happily and proudly lived the way he wanted to. He did not have duties, authority over him, bosses to report to, children to take care of, and distractions. He could sit and code for the entire day without getting any break or feeling a bit tired. However, he had no idea that everything in his life was soon going to turn around. Before Marriage: The Bachelor’s Life Alex was the epitome of a modern ‘Play Boy ‘ or every man’s dream. He was fairly dressed, had a classy house, a snazzy car, and a good-paying job. He was in the habit of spending his mornings drinking coffee while browsing through the different coding topics. He comes in the afternoon and spends the evening part of the day with his friends. Life has never been this good. Alex was able to work hard and the more he was innovative, he enjoyed it. It illustrates how a young person would sit for many hours coding at night and not bother about other people around him. He was alone as a bird and as per him, that’s what he wanted to be. He had no peer to tell the truth to, no wife to prepare meals for, no maids to babysit his mess. A man could chow down a pizza for breakfast, lunch, and supper with not even a raised eyebrow from onlookers. He was profiting from living the best life he possibly could. After Marriage: Married Life: Alex & Sarah The climax for Alex is when he marries Sarah on a sunny morning on a fine day. Young people met, and after becoming enamored, started a family and got married to find a new home. Sarah was friendly with people and it was very easy for her to make friends; however, she had little knowledge of technology. Alex had it in his mind that marriage does not change the life you lead and how wrong he was. It was a fairy-tale to have such a perfect life for several days after the marriage. Their nights would be spent in front of the television set with their arms wrapped around each other, eating takeout. Despite this, when the number of days stretched into weeks, and the weeks into months, Alex felt the beginning of a shift in his behavior. The Coding Cave That Transformed into A Home Office Due to the pandemic the coding cave Alex used to have became a home office. Sarah had made up her mind to open her business from home, therefore, she required a home office. Thus, she moved inside the cubicle that Alex had created as his coding cave and left him with no space to code. He now had to code in the living room, because Sarah would incessantly request him to either lower the auditory input of the keys he was typing or to switch off the LCD screen. The Once-Clean Apartment Turns into a Mess Alex was a neat freak, and he adored tidiness, especially in his apartment. But after marriage, his once clean and neat-looking apartment was changed into a dirty one. Although Sarah was not very neat, she used to litter her things anywhere she felt like without being conscious of it. Alex was a programmer and his coding notes were mixed with Sarah's business papers, it irritated him so much. Alex’s to-do list before marriage The to-do list before marriage only comprised coding-related tasks. At marriage, however, he seemed to have developed a longer list of things to do than ever before. Instead of just going to the grocery store to buy some food, Alex seemed to have endless tasks to do mostly around the house. He had to cook for himself, sweep the house, and wash the dishes among other things. This was a new world as far as he was concerned. The Pizza Days Are Over Gone there is no more time for Alex could eat pizza in the morning, afternoon as well and evening. Sarah was very conscious of what she took as food or what her family took as food and therefore ensured that Alex took healthy home-cooked foods. He could not have the pizza anymore but the meals prepared by Sarah were really tasty. Conclusion Therefore from a life before marriage to the life after marriage, it was evident that Alex led two different lives. He went from a playful man with not much responsibility to a man with more responsibilities as a husband and a father. Still, he wouldn’t have it any other way, despite these changes. Later he cherished Sarah and the life they had, and nothing in this world could make him exchange what he had now. Essentially, it was a tricky business being married, but a blessing, and an addition of love, company, and much hilarity too. Therefore, if you are a bachelor reading this, embrace your coding cave and your pizza days because once you utter the words ‘I do,’ all those will be things of the past.But trust me, it's all worth it.
-
If anyone is looking for a great tutorial on getting started with a docker cluster check out https://dockerswarm.rocks/
I had a 4 node cluster up on Digital Ocean with Traefik + Lets Encrypt, Prometheus, Portainer, Grafana all that good stuff in under 2 hours. Not much longer to test a basic WP and Next Cloud container with full SSL. Neat stuff. Just burning through $100 credit for testing but it's been fun5 -
Bahahahaha
If you remove the compressibility aspect of oxygen as a gas by converting it into a liquid can you pack more molecules into the same volume anyway ? Or could you always get the more moles with pressurized gas ?
Oh and fuck them for leading me to finding the same neat shit
https://youtu.be/bs1HC3Q3nJ8
For surt må det være en stor mengde materialer til flashpulver som er hyllestabil og består av aluminiumskombinasjonen for forstyrrelser og sjokk
https://youtu.be/bs1HC3Q3nJ8
Do something interesting for once and help a good cause14 -
!==rant
Are there any good cloud-based IDEs that:
1.) Supports C# (ASP.Net Core / MVC)
2.) Would work on a Chromebook2 -
Question about sockets in java. I have one socket server and multiple socket clients connected to that socket server. How to communicate between socket clients when they connect to same socket server? Is there some neat library to handle that socket server/client interactions? Googled for hours cant find a decent solution14
-
Last employer -- a major health care insurance carrier -- had over a million current and former subscribers data in SQL database with no encryption on SSN or other personally identifiable information. I reported this as an issue, and was told that since they had intrusion detection, etc. they don't need to encrypt the data. Guess they have never heard of zero day vulnerabilities or disgruntled employees?
-
You know what a neat starter game driving ai would be for the comp vision part ?
One that reads the screen on a game where points show up when you kill or damage something and outputs the results to console
A sorts hello world2 -
Redo the leetcode from yesterday
https://leetcode.com/problems/...
other people's answer: https://leetcode.com/problems/...-time-O(1)-space
I converted the java solution to javascript. -
Followup to https://devrant.com/rants/995994/...
It looks like the actual compiled program is in source because my antivirus flagged it as malicious.1 -
You know
When I first saw etherum talking about am distributed state machine i thought wow. Not very practical but NEAT. I envisioned being able to make a byte code that could be stored in transactions and run by individual clients in an async function and each step of the resulting execution and the values of managed ram would be stored at intervals so other clients could take over and execute a few more statements and compare what should always be expected results that are identical
A grand incredibly inefficient system however really neato from the theoretical computer nerd standpoint !
Boy was I disappointed lol all it is a basic contracts language but yet they state it could be like a word computer ! How ? I thought maybe if you had enough nodes participating maybe you could store registers and the like in transaction values ? Wouldn’t that be the way ?
Seems like as a word computer they’re stuck somewhere between very simplistic js and something prior to amptron in usability yet they advertised as a world computer
Am i missing something ? I mean you could create something that would translate higher level code into smal numeric statements and then send it additions values but what would it be useful for and how would you actually. Store anything ? -
Anyone used secrethub.io? They have a free plan, so seems like it could be neat for low-budget projects.1
-
So I’m primarily RoR for work and stuff, however, tried Laravel today for the first time in a while and damn I forgot how it actually makes PHP pleasant haha with Laravel awesomeness.
Built a blog application with tailwindcss in a few hours no scaffolds. Pretty neat. -
Question: what's your opinion on Julia? It seems promising, the macro syntax is neat. But would you use it for data analysis/management or general purpose development?