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 - "rng"
-
It's the biggest satisfaction to know that Wix means wank in German!
"why not do it yourself" just adds to it.6 -
There is a group of ladies who work in the accounting department at my job who have made it their mission to decorate the cubicle of whoever has a birthday on a given day. They come in at 6 am on someones birthday and decorate, leaving a mess of balloons and streamers, which is a nice surprise the first time it happens (they do it every year). Well, we in the IT office decided it would be fun to booby trap one of our cubicles so that when our birthday rolled in, they would receive a surprise of their own. So we set up a webcam as a motion detector, and had the computer speakers turned up as loud as possible, so that when motion was detected, the honorable Admiral Akbar would yell "It's A Trap!". We succeeded in scaring the pants off of them, and also annoying them because the sound did not stop until the program was exited, so they had to listen to it the entire time they did their setup. It was priceless xD4
-
Every job description out there:
" JUNIOR XY position.
Requirements: 50 years experience of Assembly, Java and Masonry, HTML, cloud based computing and artificial intelligence. Must be able to write algorithms like Hummingbird. Fluent in English, Mandarin and Latin. Must have five doctor and two Bachelor degrees. Experience in leading a Fortune 500 company benefitial.
Renumeration: 5 rice grains"6 -
There should be a devrant Meetup one day. Basically The community just gets together, rants about stuff to each other but in person so we all meet our social interaction requirements for the year. Then we could buy swag and sit on our computers and work on our personal/group projects. It would give devs a great excuse to take a vacation once a year.14
-
TL;DR Setup computer for new guy @ office, he got mad about software he was missing that we weren't told he needed, so he complained to the director above our department and got us in trouble.
I work for a small company, in which the I.S. Department is 8 people (Manager Included). We do everything from setting up computers and fixing printer problems to writing custom software for in-house use. Kind of a "Renaissance Department" if you will.
So a few weeks ago we were asked to set up a computer for a brand new user, meaning he would need email setup, a domain account, etc. We were also given a (very) small list of programs he would need to do his job. No problemo, took me 30 minutes, and he was good to go.
Last week I met the guy because he was training at the general office and his training computer lacked a few tools. Since I was called to remedy that situation, I introduced myself, told him if he ever had any problems to let me know and I would get him fixed up.
Now today, 5/5/2017, 15 seconds after walking into the door of the department, I am pulled aside by my boss and asked if I setup up the new guys desktop, to which I proudly replied yes. Come to find out the (very) small list of tools we were told he needed was incomplete, so he was missing stuff (how the fuck were we supposed to know that). So what does the new fuck do? HE COMPLAINS TO A DIRECTOR ABOVE OUR DEPARTMENT SAYING THE IT GUYS DIDN'T SETUP HIS COMPUTER PROPERLY! Like holy shit dude, why not send me a fucking email like you did before telling me you needed stuff? I would have GLADLY fucking helped. Now I hope your computer catches on fire. Or you get fired. I'll take either one.2 -
DevRant makes me really proud how well developers can act together as a group. Makes me think what we could accomplish if we would take all the world's developers and programmers to one place and make our own country. Our currency will be devCoin. World domination follows shortly afterwards11
-
!rant
I just wanted to say how much I freaking love this place. I come here every day, and what I find is a magical community of people who are accepting of everyone, supportive of each others hopes and dreams and sympathize with those struggling with jobs or school or just life in general. DevRant honestly makes the world a better place, at least for me. Thank you @dfox and @trogus for this beautiful Eden!3 -
That moment when you're finally getting your user registration and login system up and running!
As a web dev student I feel like I have accomplished something :)10 -
I graduated last weekend. Walked in the commencement ceremony, took pictures, posted a !rant here, the whole 9 yards. Then what happens? I get an email from the dean of the engineering college at my university stating that my degree check was done incorrectly and that I am 3 credit-hours short of graduating, it is too late to sign up for an intersession course, and there are now 3 credit-hour courses offered as 8-weel courses. So here I am, with two Job interviews coming up, without my degree, wondering why the hell I found all this out A WEEK AFTER I "Graduated"! DA FUCK!!!!!9
-
How my lecturer drilled JS syntax into us:
Write this:
var x = document.element;
x.value = 10;
Instead of this:
document.element.value = 10;
His reasoning:
"You make the cake in the kitchen, you don't put icing on it on your way to present the cake"4 -
I've developed an interesting habit. I wear a hat 24/7. The same exact hat.
I (almost) never wear my hat backwards. I think its weird, and I look weird, and its just too much weirdness.
There is one exception to this rule.
Before I begin coding each day, before a single stroke of my keyboard, I turn my hat backwards. I don't know why I started doing this, but it is almost as if my hat is a key and turning it unlocks all my programming knowledge.
Anyone else have a quirky habit they do before/during a coding session?12 -
Had my pure PHP web app rejected on a market platform because I didn't use a framework..
BITCH IT WORKS PERFECTLY WITHOUT A FUCKING FRAMEWORK, IF YOU WOULD HAVE TESTED IT YOU WOULD HAVE SEEN THAT!22 -
Started part time job at a company, had to log my time on timesheets. Said fuck this and now the whole company logs their hours on a custom web based time logging system which I built.5
-
At the end of each work day, once I am sitting down, I take a moment to do a little stress relief exercise.
I get in my car, make sure all doors/windows are shut, make sure the coast is clear, and I yell at the top of my lungs.
The relief is almost instant. And even if it was a good day, sometimes a good, loud yell can just help to relieve any build up tension, anxiety, or stress you may not have known you were under. Give it a try (:2 -
!Rant
Just scheduled an interview for a full-time programming position with a company for after my graduation in the fall! Super Stoked!6 -
Secretly installed Automate app on my friend's Android phone to mess with him. (For those who don't know, with Automate you can automate anything on an Android device).
Made a 'flow' that would read his incoming sms's, and send an email to me with his exact location if I sent him an SMS saying 'where are you?'.
Was funny to mess with him and tell him his exact location even though we were miles apart.
Cleared it up for him a while later but it made me feel like #hackerman8 -
Last night I had a panic attack and woke up in cold sweats because in the dream I had I was constantly using the wrong variables in the wrong places...
-
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 -
(short story)
happened a couple of months ago. I was drawing some diagrams on the board -- planning new infra for the app. While explaining all this to the analyst I needed some random number. It was smth like 1470285206. Half an hour later I need another random number. And I again come up with the same exact sequence....
It was both funny and spooky at the same time. Apparently my biological RNG is utterly broken.. Either that or my subconsciousness wants to tell me something about an early morning of 2016 Aug 4.1 -
Never thought I would like a standing Desk, but this is pretty great. Got horrible sleep last night, was falling asleep at my desk, so I stood up and pulled the desk up and WAM! No more sleepiness! Who needs Coffee or Soda when you have the power of STANDING.6
-
I have a coworker who, when frustrated with a bug in his code then finds the simple solution, loudly exclaims "You Idiot", or "Ah dammit", or "What the Hell?!". He also belches loudly, and says a few other humorous things throughout the day. It has inspired me to make a sound board that would say whatever he would say in a given situation. Don't think it will ever get built, but it sure would be hilarious!2
-
Rediscovering the wonderful Devrant community and reading through old rants. So much fun to see where I was just a few years ago and where I am now. Feels like a lifetime ago. Glad to be back!1
-
Analog mail still works!
Stickers finally arrived! Thanks @dfox and @trogus for this amazing community !1 -
So I think my dumbest project so far was when I created a pseudo-random number generator which instead of using some proper source of randomness used freaking Minecraft Villagers.
I wrote a blog post on it, so feel free to take a look there to see how I did it and perhaps learn something about randomness.
Blog post: https://adampisula.pizza/posts/...4 -
ok, so first there were ads.
Then came adblock and the likes.
Then websites started implementing randomly generated strings.
Then came pi-hole.
Now some of the websites are using RNG + hosting ads on their domains...
(the order might not be very accurate, but you get my point)
So what now ?
I'm guessing that the next step for adblock will be to use AI to recognize these RNG strings, and then the websites will use AI to generate better strings (harder to distinguish if it is relevant content or an ad).
In other words - AI vs AI :D
what do you guys think ? :)4 -
The world is a shitty place, everything depends on your rng, two could be working the same job but one ends up making 10x more because they were born in the right country.
I know what you're going to tell me, quit being a crybaby and acting like a victim, always easier for the fortunate to spew out that bs.15 -
Started coding HTML, CSS and JavaScript as part of my multimedia design studies. Lecturer would throw up a simple 960 page on the projector, said "make this" and left the room. Being thrown in the deep end is definitely a way to learn that taught me a lot
-
The sorting button on devRant's feed page is just Gilfoyle's tattoo twice, once upside down like Dinesh says.3
-
When it is Friday and you want to be productive, but you have spent the entire time since sitting down at work fixing Visual Studio and its bullshit.1
-
Does anyone keep a journal as they develop code? Something to keep track of ones thought process so that you understand what you were thinking when you come back to it? I know most people just use comments, but does anyone use something different?16
-
DO NOT, i repeat, DO NOT USE "scapy.all" in python3.
I spend hours figuring this one out. In one commit i added tests and other tests not connected to my tests started failing. I ran the tests several times and also checked the rng-states, but everything was the same as on the commit before...
There was one additional error message i decided to check out, which was the result of "import scapy.all" (that's a module that contains all the scapy-exports). I removed that import and used the right packages and suddenly: all tests passed.
Fuck this inconsistent piece of crapware that has its python2-files in the pip3-repo and gave me that hell to debug.2 -
Just how, for the love of our Lord and Bane - the RNG, can you be the head of the Software development department and not know how to differentiate USB 2 from USB 3?3
-
when i was like 14 i saw techs trying to manually reorder a pile of 8 drives back into a RAID array, they asked for help holding the drives and when their backs were turned I first-tried the order
i've had a lot of luck with RNG shit and that day i found out it transferred to IRL shit too.
Also I noticed the small faded stickers with 0 to 7 dots on them. -
!rant
Hello, World! (Couldn't help myself)
What are some of y'all's favorite books? I am finishing Ready Player One right now, and I am looking for some new reading material. Suggestions?11 -
One of the complaints about some games is heavily reliant on RNG. This can lead to a lot of wasted time trying to get a drop or structure. Maybe this can be solved to some degree through weighted RNG. This is done in slot machines in Vegas. The machine has to pay out over so much interaction. It doesn't have to act this way exclusively. If we look at biology the RNG for offspring is weighted by fitness. If anything is malformed it usually dies.
So time weighting, iteration weighting, some kind of fitness weighting (prevent shit drops). What are some other kinds of weighting we could use?12 -
i started with Python 2 on Codecademy (way back before it became pay-to-play garbage) and it was... eh... it was okay. Not great, reading a book would've been more informative, but it was better than nothing.
I then made basic RNG wrappers and thought I was hot shit. For, like, 4 years.
Then I found out how to manipulate files, and took off from there. That was the moment I really took to it and i've never stopped since. -
A question for all you grey beards and other more knowledgeable devs:
I work for a small grocery retail company. Work primarily as a dev, but also spend time doing I.T./HelpDesk stuff. My wife is a nursing student, and when she graduates in May 2018 she is wanting to move to a different location to work at a specific hospital, which would require me to change jobs. No problem, I'm fine with that.
Here is what I am wondering: I currently make a modest salary (for 23 years old I feel like I'm doing pretty good), but we are expecting our first child in April and I would like to be making more. Would persuing a different job for extra $$$ that I could potentially only be working at for around 8-ish months be a bad idea? Should I just stick where I am at until I actual HAVE to move?
Thanks in advance for any advice :D2 -
http://tasks.io/
Stumbled upon an interesting site yesterday.
"I watched C-beams glitter in the dark near the Tannhäuser Gate"4 -
if(!rant)
{
cout<<"Anyone here ever play the game Screeps? If not, you should really consider checking it out! The point of the game is to write scripts to automate the tasks carried out by your "creeps". Scripts are all in Javascript. Its fun!"<<endl;
}
else
{
cout<<"I hate mondays."<<endl;
}4 -
I'm doing a project for uni in Omnet (C++ framework that should facilitate working with networks of queues, simulating and displaying statistics).
I needed to retrieve a random value from an exponential distribution, and the function to do so requires a random number generator as input. The framework has 2 implementations of the RNG and I picked the first one.
I spent 3 hours trying every possible thing, using both the exponential() function and its class wrapper (both provided by the framework), it was always returning 0 or NaN.
The RNG was spitting out values correctly, so I thought it was okay.
When I was almost ready to give up, I figured I could try and change to the second implementation of RNG, expecting nothing to change. And it fucking worked.
Zero reports on this behavior on Google, no apparent reason why it would work with one and not with the other when the two RNGs literally implement the same abstract class and spit out the same exact numbers... Just black magic...
Oh and cherry on top, it works with the raw function but not with the class wrapper on that same function... IF YOU GOTTA IMPLEMENT SOMETHING IN YOUR DAMN FRAMEWORK THAT DOESN'T WORK, FUCKING DON'T! 1 combination working out of 4 is not good! Or at least document it!
Sorry just had to share my pain -
Our company has a retarded system for external/outsourced employees, incase you don't know in France many companies hire "consultants" that work for other companies, the gain from this is as a consultant your company takes care of finding a job for you and setting you up and all that jazz
In return they take a cut from your salary, the retarded part of our system is, the management of externals is done through a tool, everyone who has access to this tool can see how much these externals are making.
Found most of them on avg in the 100-125k eur/year range
With the exception of one getting paid a whooping 174k eur/year
Assuming the external company takes a 30% cut
That means that most externals in our organization in France get paid around 70 to a 122k/year
I don't feel like working in this shithole anymore.
Fuck my rng, vasectomy should be mandatory for every new marriage in a third world shithole like mine.3 -
!rant
Just made the leap from a company with and I.T. Department of 8 people to a company with an I.T. Department of 5000 people. At the old company, I was a SysAdmin, DBA, Helpdesk, Programmer, etc. 7/8 were programmers. We all had our hands in pretty much every aspect of the companies technology. At the new company I am just a programmer. I only write code (well, I will soon. There is a LOT I have to learn about how this place operates). I worked at the old companies for almost 3 years (2 as an Intern, 10 months as Salaried Full-Time) so it's weird having most of those aspects of my old job stripped away, yet at the same time it's somewhat freeing in the sense that I am now only responsible for 1 slice of the pie, not the whole damn thing. Anyway, hope everyone is having a great monday!1 -
Hi there..
I have a strange question (at least in my opinion). I learned Flutter for over 1 year (as of now). I don't consider myself advanced on it, but I'm very capable when it comes to create complex UIs, work with APIs and DBs, etc. However, it came to my mind to visit frontend development. I started with Angular, and I LOVED IT.
I'm wondering, is it possible to master both crafts (i.e., mobile and web development) at the same time 🤔.. I'm really into programming and any CS-related content in general, but I wonder if there's an answer to my question :).8 -
!rant
I'm dreaming of a web language that is as close to the English language as possible.
Imagine:
<html>
nav bar with 5 links
slider with 3 images that runs automatically
Section with 3 images next to each other
Paragraph with first word in red
Footer with menu and sign up form
</html>
This would be the shit!6 -
Has anyone used the new Visual Studio with Xamarin studio built in to build mobile apps? I was doing some research for my senior (we are thinking of going mobile), and wanted to see what the community thought of it. What do you guys think?1
-
Small Indie Group,we've been developing our first action top down rng dungeon explorer, pictures will be posted soon1
-
!Rant
Question for all you wise neck beards:
I was talking with my boss in his office (I'm an intern), and he was saying one thing I need to work on is making more accurate estimates for when a project will be done. He asked if it was just an attempt to "paint a rosey picture" and asked if I was just afraid to be honest, to which I answered definitely not, I just didn't realize I was being that inaccurate. Any suggestions on how I can correct this? I feel like if I just overestimate by a lot i'm just going to give off a lack of confidence, but I also don't want my boss to think I am just lazing around and not working as hard as I could. Feel like I am in a pickle here.
Also, what are some tips you guys have for staying Focused/Productive? I do a pretty good job as it is, but any more advice would be handy :D
Happy Tuesday Everyone!7 -
Reminiscing about my old name generator...
-Shart’Cannon, Village of Linlar’marlu-
... still my favourite -
!rant
Just started a new internal project today. The best thing? The meeting I just got out of, in which we were discussing the details, was with someone with technical knowledge and experience, and who had realistic expectations. Never have I been so happy after a meeting! :D -
24 hours of being awake. At Work. Struggling to focus. Using DevRant infusions to keep myself alive.
-
!rant, but satisfying.
Got pulled in to a demo for some work that I had been apart of previously, but not recently since I had rolled on to a client. The Manager in charge of the work had fought me being pulled on to said client, as he wanted me committed to this project (which I didn't want to be invovled with). I had rolled off the engagement earlier this week, which is why I suspect I was included in this demo. So we are going through the motions, they are asking questions, I'm sitting quietly watching. out of the blue, Manager dude decides he wants to ask me a difficult question, because I'm sure he assumes he will stump me. I respond with "Not sure I'm the best to answer that specific question, since I haven't worked on this in a minute". He confirms that he only wants me to answer. So I do. And boy was I glad his camera was on, because he went from "Got em" to "Fuck, he got me" in a matter of seconds, and I could barely keep from smiling. After my answer, I respond with "Anything else you'd like to know?" to which he mutters "No, thank you" and quickly moves on. Talk about a victory. I'll ride this high through next week, I think. -
laravel websocket server, laravel echo plugins, android app, ionic angular frontend, laravel backend... hopefully the tech stack is stable for an ordering app1