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 - "#fff"
-
Her: Hey, just heard what John did to you.
Me: Yea. I can't believe he screwed me over like that. I thought he was my friend.
Her: Don't worry. Forget about the bustard. You know #FFF
Me: 🙁 #FFF? What does white got to do with all this.
Her: What???
Me: #FFF. This is white.
Her: Nooooo. It means Fuck Fake Friends. As in the G. Eazy song.
Me: Ohhh😐23 -
Dear software companies,
As much as I appreciate all the dark themes being used lately either as default, or added as options (Youtube, Discord, Postman, Windows Explorer, etc)... you guys still suck at theming.
A #000 background with #fff font is almost as bad as the reverse. Too much contrast! Then there are some apps which use grayish tones, others brown/orange stuff... pretty ugly if you use it all next to each other.
So how about just adding good theming support? Or even better: what about a global theming standard, a styling preference, a system wide json file which defines UI elements for all apps?4 -
When you have to watch a online 30min tutorial on youtube and the guy uses the light theme on everything! *_*4
-
I was 5 and he was 6
We rode on horses made of sticks
He wore #000 and I wore #FFF
He would always win the fight
! !, he shot me down
! !, I hit the ground
! !, that awful sound
! !, my baby shot me down6 -
CompanyYouNeverHeardOf sends you IrrelevantNewsletter512... so you hunt for the unsubscribe link, which you find buried in the boilerplate crap at the bottom of the mail, rendered in #eee on a #fff background, in 4-point type, and click that. End up on a web site that asks you like 8 times if you're sure you want to leave and please, reconsider, we're nice folk really, blah blah blah. And then you get *another* email from them saying they received your unsubscribe request, and *then* yet another to confirm that yes, you unsubscribed, and please feel free to re-sub anytime (as if!)
GOD I HATE MARKETEERS!!!1one10 -
Hmm. So have you ever argued in a job interview? Like really standing your ground? In a technical interview?
Today I had a live coding session with a company I'm interested in. The developer was giving me tasks to evolve the feature on and on.
Everything was TDD. Splendid!
However at one point I had to test if the outcome of the method call is random. What I did is basically:
```
Provider<String> provider = new SomeProvider("aaa", "bbb", "ccc", "ddd", "eee", "fff")
for(int i=0; i<100; i++) {
String str = provider.get();
map.put(str, incrementCount(str));
}
Set<Integer> occurences = new HashSet(map.values());
occurences.removeIf(o -> o.equals(occurences.get(0)));
assertFalse(occurences.empty());
```
and I called it good enough, since I cannot verify true randomness.
But the dev argued that this is not enough and I must verify whether the output is truly random or not, and the output (considering the provider only has a finite set of values to return) occurences are almost equal (i.e. the deviation from median is the median itself).
I argued this is not possible and it beats the core principle of randomness -- non-determinism. Since if you can reliably test whether the sequence is truly random you must have an algorithm which determines what value can or cannot be next in the sequence. Which means determinism. And that the (P)RNG is then flawed. The best you can do is to test whether randomness is "good enough" for your use case.
We were arguing and he eventually said "alright, let's call it a good enough solution, since we're short on time".
I wonder whether this will have adverse effect my evaluation . So have you ever argued with your interviewer? Did it turn out to the better or to the worse?
But more importantly, was I right? :D21 -
I think devRant portrait should add one more skin colour, #fff, for us from far North where the sun is gone for 4 months each winter4
-
This might just be me and my OCD talking, but am I the only one who gets super annoyed with sloppy CSS formatting?
So like, if somebody writes a sloppily formatted rule like this without spacing out each property and value:
#signUpButton {color:#FFF;background:#000;float:right;clear:both;padding:5px;position:absolute;top:5px;right:20px;height:100px;width:45px;}
As opposed to something like this, which just looks much cleaner:
#signUpButton { color: #FFF; background; #000; float: right; clear: both; padding: 5px; }
The formatting makes no difference in how the CSS is evaluated and rendered, but I find the spaceless style so ugly and difficult to read/edit, whereas the spaced out style is much more appealing to the eyes and easier to read
I find myself reformatting other people's CSS that works perfectly fine just so it will be easier to read/edit for anybody else that looks at it in the future8