Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Get a devDuck
Rubber duck debugging has never been so cute! Get your favorite coding language devDuckBuy Now
Search - "gradient"
I'm a self-taught 19-year-old programmer. Coding since 10, dropped out of high-school and got fist job at 15.
In the the early days I was extremely passionate, learning SICP, Algorithms, doing Haskell, C/C++, Rust, Assembly, writing toy compilers/interpreters, tweaking Gentoo/Arch. Even got a lambda tattoo on my arm after learning lambda-calculus and church numerals.
My first job - a company which raised $100,000 on kickstarter. The CEO was a dumb millionaire hippie, who was bored with his money, so he wanted to run a company even though he had no idea what he was doing. He used to talk about how he build our product, even tho he had 0 technical knowledge whatsoever. He was on news a few times which was pretty cringeworthy. The company had only 1 programmer (other than me) who was pretty decent.
We shipped the project, but soon we burned through kickstart money and the sales dried off. Instead of trying to aquire customers (or abandoning the project), boss kept looking for investors, which kept us afloat for an extra year.
Eventually the money dried up, and instead of closing gates, boss decreased our paychecks without our knowledge. He also converted us from full-time employees to "contractors" (also without our knowledge) so he wouldn't have to pay taxes for us. My paycheck decreased by 40% by I still stayed.
One day, I was trying to burn a USB drive, and I did "dd of=/dev/sda" instead of sdb, therefore wiping out our development server. They asked me to stay at company, but I turned in my resignation letter the next day (my highest ever post on reddit was in /r/TIFU).
Next, I found a job at a "finance" company. $50k/year as a 18-year-old. CEO was a good-looking smooth-talker who made few million bucks talking old people into giving him their retirement money.
He claimed he changed his ways, and was now trying to help average folks save money. So far I've been here 8 month and I do not see that happening. He forces me to do sketchy shit, that clearly doesn't have clients best interests in mind.
I am the only developer, and I quickly became a back-end and front-end ninja.
I switched the company infrastructure from shitty drag+drop website builder, WordPress and shitty Excel macros into a beautiful custom-written python back-end.
Little did I know, this company doesn't need a real programmer. I don't have clear requirements, I get unrealistic deadlines, and boss is too busy to even communicate what he wants from me.
Eventually I sold my soul. I switched parts of it to WordPress, because I was not given enough time to write custom code properly.
For latest project, I switched from using custom React/Material/Sass to using drag+drop TypeForms for surveys.
I used to be an extremist FLOSS Richard Stallman fanboy, but eventually I traded my morals, dreams and ideals for a paycheck. Hey, $50k is not bad, so maybe I shouldn't be complaining? :(
I got addicted to pot for 2 years. Recently I've gotten arrested, and it is honestly one of the best things that ever happened to me. Before I got arrested, I did some freelancing for a mugshot website. In un-related news, my mugshot dissapeared.
I have been sober for 2 month now, and my brain is finally coming back.
I know average developer hits a wall at around $80k, and then you have to either move into management or have your own business.
After getting sober, I realized that money isn't going to make me happy, and I don't want to manage people. I'm an old-school neck-beard hacker. My true passion is mathematics and physics. I don't want to glue bullshit libraries together.
I want to write real code, trace kernel bugs, optimize compilers. Albeit, I was boring in the wrong generation.
I've started studying real analysis, brushing up differential equations, and now trying to tackle machine learning and Neural Networks, and understanding the juicy math behind gradient descent.
I don't know what my plan is for the future, but I'll figure it out as long as I have my brain. Maybe I will continue making shitty forms and collect paycheck, while studying mathematics. Maybe I will figure out something else.
But I can't just let my brain rot while chasing money and impressing dumb bosses. If I wait until I get rich to do things I love, my brain will be too far gone at that point. I can't just sell myself out. I'm coming back to my roots.
I still feel like after experiencing industry and pot, I'm a shittier developer than I was at age 15. But my passion is slowly coming back.
Any suggestions from wise ol' neckbeards on how to proceed?32
Ubuntu 17.04 with the Gnome Shell did not look very polished, so I switched to Fedora instead. After making some tweaks, it looks like I'm going to stick with Fedora now after using Ubuntu for more than 4 years.
The current installation is Fedora 26 with:
• GNU/Linux 4.11.10,
• Gnome Shell 3.24.2 (with a few extensions),
• Arc-Darker GTK+ theme,
• Paper icon theme,
• Pali terminal colour theme, from Gogh
• And a pretty wallpaper! (http://wallup.net/wp-content/...)33
The straw that broke the proverbial camels back.
You all know my story by now. Pretty shitty company with assehole boss. So I'm supposed to be off this week, sure I had one or two things left to do but I was planning on doing them this week anyway, just in my spare time
On Monday, I get an angry phone call.
"Why aren't you in? Someone said you're on holiday?"
"Yeah you knew I was, YOU moved my holiday to this week."
"But the Mac's still aren't working, this site isn't completely finished yet and we have this *ridiculous feature* we need by last year."
"I have spent around 8 hours trying to fix the broken Mac's that you ordered but I'm not an Apple technician so I can only do so much. I'm waiting on client approval for the site and that new feature is insanely difficult and I need some time to do it. I can work on it from here sometimes but it's not going to get any easier."
"*clearly very angry* I asked you to do ONE thing while I was away and that's still not done. Work from home this week and finish everything."
At which point I sat there in disbelief for an hour before searching for a new job.
The fucking audacity is unreal. Now I know I should have finished that one feature but I also need time not spent fixing fucking 10 year old Mac's or redesigning fucking leaflets or telling people how to change a gradient in InDesign.
I am already severely underpaid and already give up my evenings and weekends for this shit. I've given up most of my first fucking week off in almost 7 months for it too!
Fuck. No. Fuck this. I'm out. I'm taking a shitty job somewhere else as a junior where I can actually learn and enjoy my fucking job.6
background: linear-gradient(rgb(134, 167, 225) 71% , rgb(230, 144, 101));
-- commited by ADM3
I'M BACK TO MY WEBDEV ADVENTURES GUYS! IT TOOK ME LIKE 4 MONTHS TO STOP BEING SO FUCKING DEPRESSED SO I CAN ACTUALLY STAND TO WORK ON IT AGAIN
I learned that the linear gradient looks cool as FUCK. Honestly not too fond of the colors I have right now, but I just wanted to have something there cause I can change it later. The page has evolved a bunch from my original concept.
The URL bar changed into a full command bar (writing the functions for the commands now, also used to config smaller things, such as the user@hostname part, maybe colors, weather data for city and API key, etc)....also it can open URLs and subreddits (that part works flawlessly). The bar uses a regex to detect if it's a legit URL (even added shit so I don't need http:// or https://), and if it's not, just search using duckduckgo (maybe I'll add a config option there too for search engines).
At this very moment it doesn't even take a second to fully load. It fetches weather data from openweathermap, parses it, and displays it, then displays the "user" name grabbing a localstorage value.
I'm considering adding a sidebar with links (configurable obviously, I want everything to be dynamic, so someone else could use my page if they wanted), but I'm not too sure about it.
It's not on git yet because I was waiting until I get some shit finished today before I commit. From the picture, I want to know if anyone has any suggestions for it. Also note that I am NOT a designer. I can't design for shit.13
I'VE BEEN PLAYING WITH CSS SOME, AND I FOUND OUT ABOUT THE LINEAR-GRADIENT THING
IT IS SO FUCKING COOL GUYS1
A rant about pretentious people:
So last week I walk into college and I find that a new "Machine Learning Crash Course" is being offered by a senior. Now I'm a beginner in this domain, and know the just basic concepts and math behind it. Naturally, I was super curious about this and decided to talk the student who was supposed to teach the course.
I asked him where he learned from, and mentioned that I'm an interested beginner. He just replied, "YouTube".
Now I'm suspicious of this guy, so I asked him if he's worked on any related projects I could look into, to which he replies, "Not yet, but I'm working on some".
Now I'm SUPER suspicious. A guy that's got no experience with the subject, yet is teaching others about it?
Get this, at this point he rudely asks me if I have anything else to say. So I asked him a super simple question: "Do you know what gradient descent is?". He replies "Uhh, no, but I've heard about it".
I lost it.
HOW DID THIS GUY MANAGE TO CONVINCE THE HEAD OF THE DEPARTMENT AND SEVERAL OTHER PROFESSORS TO TEACH A MACHINE LEARNING CRASH COURSE?
People like him need to go away.
Spend a week coming up with a cool, albeit it "unusual" design for a site that's very fitting (seriously retro feel for a documentary based on old video games that look like an old command line)
Management - "We don't like it. It's too retro looking. Make it more modern like our other sites."
Me - *does so*
Management - "It's a bit boring now isn't it."
WHAT DO YOU WANT FROM ME?!
I realise it's a process and there is a gradient to design but when I come up with designs I make sure they are fitting and relevant. If you're going to butcher them because they're different and not "flat" then what's the point?
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
Designer: We need gradients and curved UI elements to make our product look modern.
- Codes over a month to support that.
Client: yeah gradients don't go with our branding and could you remove those curves!
What's everyone's opinion when it comes to designing modern and/or minimalistic interfaces when using blur or gradients?
I see a lot of people who are hating blur used in UI elements and a lot of people praise the 'death' of gradients, what's everyone else think of these.
I personally love using blur in UI's and do like gradients if done correctly (not 2 colour gradients)
EDIT: I mean what's your opinion on blur and gradients not which one is better :-P13
Ahhhhh fuck i have to install windows just to see if gradient banding is issue even in windows. If so this is fucked up and i will need some Acer nitro 5 AN515-42 owner without this issue to boot linux and get the correct values for me from i2c.
But since i have the feeling it will happen in windows too is there somebody willing to help me and has this laptop ?3
There is a drawing competition for my currently most played game.
I'm on vacation and the deadline is when I get back. So what did I do?
I made an inspiration cluster with the character and drawings having this arrogant face (laptop, gimp).
I sketched on my phone and put it on my laptop (the sketch). I have no desk here so I'm drawing on my bed. I have no drawing pad so I'm drawing with my mouse. Then I draw it in gimp with colors and everything (the stroke in another program on my gfs laptop), put each layer in inkscape to svg-ify them and to hq-render them back in Gimp. Corrected a few things in Gimp. Added more detail, effects (glow, gradient instead of flat color ...).
~6 hours over two days. That was fun. And fucking unprofessional.7
I just spent 4 (four) hours debugging why my perlin noise used the same gradient for every point. Turns out I forgot to assign the seed for the random generator so it defaulted to 0. (I seed it every round with the map seed and coordinates so I don't have to store anything for visited regions)
So, how's your sunday night going?
So as i previusly posted a rant about my display being kind of fucked up or idk what because it was displaying gradient like strips of colors and it looked like layers. This just looks terrible. I dont remember having this issue before because i would totally see it if i had it before. I remember it on my tablet where i installed Linux and well i had this issue.
From what i read its called Gradient banding. Most commonly happens with 16 bit colors that cannot display the image correctly. The effect is most noticable on White to Black pictures where you see the actual bands of colors. And looks terrible.
Imagine this in some games and well you will probably not play this game just because it looks ugly in some places.
IDK what caused it but i didnt have it before. Now even if i try different distro nothing changes. The same fucking gradient banding happens and looks just fucking terrible and sadly this happens in GNOME too and ruins the visuals of GNOME. Luckily GNOME doesnt use it that often and so it happens mostly in gray background and when you press ALT+F2. Then you get huge layers and it ruins the visuals totally. And sadly this happens in videos too.
If i connect external monitor the same thing happens. If i try ALT+F2 on my desktop the same thing happens. (I never saw it there before actually on my desktop)
Its driving me CRAZYYYYYYYYYYYYYYYYYYYY.
One idea was driver. Maybe MESA fucked up and well the closed drivers may work better so im going to try that on my desktop which i dont use anymore.3
Does gradient descent in artificial neural networks apply the most changes closest to the input layer?6
Started to learn Reinforcement Leaning, from level 0: Atari Pong Game. Stopped and think a bit on the gradient calculation part of the blog.... hmm, I guess it's been almost a year since my Machine Learning basic course. Good thing is old memory eventually came back and everything starts to make sense again.
Wish me luck...
Following this blog:
I've been wanting to learn machine learning (ANN specifically) for a while now. I know the basics; neurons, synapses, backpropogation, gradient descent, etc. Anyone else interested in learning with me? Might be worth noting that I want a DEEP understanding of them, so I don't initially want to use libraries like TensorFlow. I want to build ANN's from scratch to ensure a thorough understanding.5
Think of an awesome sounding AI project while not knowing a thing about AI.
Tell the guy you will be working with that you will manage to keep the learning pace up (he doesn't know AI as well, woah!)
Fast forward 2 weeks - completely forget about how I wanted to do anything with AI.
Fast forward 1 week - that guy messages me that we ought to do a meeting to check how much each of us have learned and to decide on how we will tackle the project.
Somehow managed to get the deadline to be day after tomorrow.
'I am screwed...' is what I think when I skim through pages of 'Artificial Intelligence a Modern Approach'. So, I put down the book and try to find something easy to understand on youtube. I find a hyperactive looking guy that under a video titled along the lines of '5mins and you are linear gradient pro'. Not suscipious at all.
Watched video twice, managed to understand that I need calculus for this shit. Oh well.
AI seems so much fun until you understand that it requires a fuckload of knowledge to do anything at all! :'(
Going to try to analyse linear gradient until tomorrow and hope that it will be sufficient for our project.
Lol. Who am I kidding?
Just finished my finals.
Had to run k-means with pen and paper only. I find this kind of question stupid but why not. BUT WHY THE FUCK DID YOU CHOSE SOME INITIALIZATION THAT TAKES 13(!!!!) FUCKING ITERATIONS TO CONVERGE ? Just in case my first 12 iterations are correct by chance ? Guess what, you fucktard, I GOT IT.
And doing the same calculus by hand 13 FUCKING TIMES is moronic as hell, you retarded piece of shit ! When you train your neural networks, do you also backpropagate your gradient all by yourself, mongoloid baboon? Getting sick of those stupid assignements1
Article about creating gradients programmatically.
FullHD png with gradient at the top...
Use fucking svg or at least webp! It's 2k17 already.
Use Linear gradient ...
No use rgba
Arghhhh...okay rgba looks OK...wait linear gradient is better...no wait