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 - "public"
-
Started sniffing the packets on a public wifi hotspot. Found someone was reading TheHackerNews and got excited.😲 Later realised it was myself. 😯9
-
Angry programmer:
YOU WANT A PUBLIC KEY?
YOU WANT A PUBLIC KEY?
*smashes keyboard*
THERE'S YOUR PUBLIC KEY9 -
Dear public transport,
please don't advertise your fucking free wifi if you don't give enough bandwidth to even load freaking Google.
Dear sincerely,
Me6 -
Huge developer convention with 4 speakers today.
Google Cloud,
AWS Amazon,
A government innovation team,
and Me!
I'm freaking out.
Wish me luck, I need it...10 -
Public class UnnamedChild extends Person implements Mirziteh {
public UnamedChild(String fName){
super();
this.fName = fName;
}
//methods removed for brevity
}27 -
A few weeks ago on a trip to Boston:
"Well lets use nine large screens to display this awesome Exception properly" ;-)7 -
You might know by now that India demonetized old higher value notes and brought in new one. The new ones easily tear off easily and generally feel cheaper and less reliable than pervious ones.
One interesting thing people discovered is that rubbing it with cloth makes the ink transfer to the cloth. Sign of crap printing. Here's government response:
The new currency notes have a security feature called 'intaglio printing'. A genuine currency note can be tested by rubbing it with a cloth; this creates a turbo-electric effect, transferring the ink colour onto the cloth
TL;DR: its not a bug, it's a feature7 -
New rant = Rant.type(['non-dev', 'public transportation']).init()
So i am taking the bus now to see a friend, and this fucking whale woman comes on board with a baby caddy, except, it wasn't for a baby, but for a fucking dog the size of a brick. That already in itself makes me grumble because dogs have fucking legs and there is no fucking real need to carry them around like newborns.... Anyways this woman sits and takes up a lot of space for the 'handicapped' persons for her fucking baby dog... So far no real issue there since people with disabilities hardly get on this bus line. A fzw bus stops later an equally whale black woman gets on the bus, obviously struggling with her size and her caddy filled with groceries...
There is enough room to accomodate the baby caddy and her groceries.
That fucking white whale says to her 'there is no room there, move someplace else'... The black woman stands there in disbelief, and this is the first time i look up, giving the 'the fuck you just say bitch' look to the white whale. I mention there is enough room and the black whale sits carefully next to the dog caddy.
Now the bus takes a sharp turn, the dog caddy tips over due to the g-forces it causes...and inmediately this white whale shouts to the black whale 'fucking retard, don't tip my dog over!' this while the black woman apologises for the fall of the caddy not even being her fault...
This angered me so puch that i rantzd to this woman: 'madam, thzre is such a thing called physics, the bus made a sharp turn and your stupud useless space-wasting dog caddy tipped over bzcause of that. Don't just go accusing people for your own degenerate racist lifestyle. I suggest you hold on to it and apologise to the lady'
She then murmles incomprehensibly and gives a butthurt look, rhe black woman thanks me and tries to remain very quiet on her seat, eventually she gets off
This fucking thing makes me angry to a level i wanna toeturz that whale by peeling off her skin with garden fence metal wiri g, suck the fat out of her body and brain with an industrial vacuum cleaner and put her in the fucking oven baking in her own fat, of course without any anesthetics...
Damnit all to hell!
Also, why on earth do dogs need caddy's? They got perfectly fine legs!
I know, sadist inside12 -
People that use their phone on speaker (and have it set loudly) in public are a special breed of jackass7
-
"Your complementary internet access has expired please pay for.."
macchanger -r
"Welcome to blablabla public wifi please enjoy 1 hour of complementary internet access"
I love this tool14 -
"Isn't that Java?" - bypassing stranger who happens to look over your shoulder when you're coding in public.7
-
found this gem today.
P.S.
captcha - Completely Automated Public Turing test to tell Computers and Humans Apart.
ahh, seems promising!!3 -
An SEO expert walks into a bar, bars, pub, inn, tavern, public house, Irish pub, drink, drinks, beer, alcohol...
-
A display in a bus in Prague supposed to show the current stop, transport route and any announcements of the Prague transport company...22
-
!security
(Less a rant; more just annoyance)
The codebase at work has a public-facing admin login page. It isn't linked anywhere, so you must know the url to log in. It doesn't rate-limit you, or prevent attempts after `n` failures.
The passwords aren't stored in cleartext, thankfully. But reality isn't too much better: they're salted with an arbitrary string and MD5'd. The salt is pretty easy to guess. It's literally the company name + "Admin" 🙄
Admin passwords are also stored (hashed) in the seeds.rb file; fortunately on a private repo. (Depressingly, the database creds are stored in plain text in their own config file, but that's another project for another day.)
I'm going to rip out all of the authentication cruft and replace it with a proper bcrypt approach, temporary lockouts, rate limiting, and maybe with some clientside hashing, too, for added transport security.
But it's friday, so I must unfortunately wait. :<13 -
This link shortener service. It's nearly good enough for public testing.
Finding a good domain name, though.... 😅46 -
I'm still angry Google Glass was torn apart by the public for looking goofy but AirPods are a success.12
-
public void method()
{
// :(
}
instead of
public void method() {
// :)
}
bothers me more than it should20 -
An SEO expert walks into a bar, bars, pub, tavern, public house, Irish pub, drinks, beer, alcohol.1
-
You're a flippin bank, and your public website has an invalid cert!? WTF. No, I'm done, and I don't trust you with my money either.10
-
When I say I'm a a software developer in public. :/
Return $response[
"Hey can you hack a Facebook account",
"Can you fix my wifi "] ;9 -
import java.util.Exception;
try {
public class A {
public static void main(String args[]) {
new Exception();
}
}
}
catch(Exception e) {
System.out.println("Got you BITCH");
}9 -
public class HelloDevRant
{
public static void main(String[] args)
{
//Commenting for reasons! ;)
System.out.print("Hello dear devRant community!\nI am new here!\nNice to meet you.");
}
}5 -
Looking into a helper class written by someone who was clearly not a master of their craft. The class deals with some string IDs...
public getIDPosition1(String id){
return id.substring(0,1);
}
So far so useless. But it gets better. What is declared immediately below the above method?
public getIDPosition2(String id){
return id.substring(1,2);
}
And below that? You guessed it:
public getIDPosition3(String id){
return id.substring(2,3);
}
This continues to position 10.... -.-7 -
// I can't be the only one...
public static void p(String inpt) {
System.out.println(inpt);
}
...
p("That much typing is unjustified.");13 -
GDPR conversation in public transport
“GDPR is so boring, basically it means delete all your clients and go home”
- unknown
Can I write this?2 -
Had an interview with ibm last week, got rejected because I don't have public speaking and people skills.
GG AWESOME!!7 -
Fuck public transportation. Seriously. It's usually disgusting, too hot, too cold, to expensive and not customer Friendly.7
-
I have an interview on Thursday for a job I've been doing for the past 9 months - I bloody hope I get it!
I'm currently classed as an 'Apprentice' but have been doing the sole job of the Developer after he left a week before I started.
The only differences between the two roles is the pay difference and title (just about double my current rate).
I've started to produce documentation and processes for rolling upgrades to our application without downtime which is something they're big on.
Public sector for you, it took 9 months for a replacement...8 -
It seems every public business wifi in my city requires an email address to login.
Funny thing is they never verify them. I guess they think if you're dumb enough to put in your real email you'll be a sucker for whatever marketing scheme they'll send you.
I do feel bad for frank@hotmail.com though10 -
So some student complained that the busses are to full in the morning (they are filled with students).
Student: "why don't they drive more busses?"
Me: "because that would raise prices of busses since more drivers and fuel is needed. It's simple economics"
Student: "Public transit already is way to expensive, they can easily drive more busses and trains for that"
Me: "public transit is already way to expensive.... Oh look! An iPhone, MacBook, AirPods, Apple Watch, Dr Martins and other overpriced shit you have with you now!"2 -
//socially acceptable objectification
//of women
public class Woman : Person
{
}
//I'll see myself out.15 -
Found this gem in some old piece of code:
public static void printStackTrace(Exception e){
e.printStackTrace();
}3 -
Notice :
Just as all the citizens are advised to use Public Transports so that there's less traffic and its convenient for everyone,
Similarly, everyone it is advisable to use Public WiFis, so that there's less Internet Traffic and everyone gets faster and better Internet services.
An active cooperation is expected from the citizens.
Thank you and have a nice day :) -
Went out with friends last night to celebrate a birthday, on our way back with the train we are asked for our tickets. We had bought a group ticket (for 30€/5 Persons) and showed it to the ticket checker. It was 6:20 am at that point and we were all tired and just wanted to go home, but apparently the ticket was only valid to 6 am (it does not say that anywhere on the ticket and it is called a "9-o'clock day ticket"). That asshole seriously made a record about all of us and took 60€ from everyone of the 5 of us.
The Deutsche Bahn company is the only rail company in my region, there is nothing that could compete with them, so they just shit on their customers. And now they want to privatize the highways too? Stop making public traffic something to pay for! There is no competition if there is only one traffic company with the only highways or train-web in a specific region.6 -
I always feel insecure when i push my code to github as public repo.
Like what if my code is so far from standard.
What if i showed a very stupid logic.
I am very insecure when pushing my code to public repos.13 -
I like logging into public wireless networks where the admin credentials are the default and mess with their wireless settings...
Am I wrong?18 -
* creates new class in visual studio
* needs to make it public
* writes "pubic" instead of "public" again...4 -
public function recruiters($salary)
{
if($salary == "competitive")
{
return NaN;
} else
{
return "What is the real salary?";
}
}3 -
class Fraction {
public double dValue;
int numerator;
int denom;
...
public UpdateDouble()
{
dValue = numerator/denom;
}
...
}2 -
you know you should go home when you write "public private foo()".
it's public ... but private ... but still public
I'M DONE FOR THE DAY5 -
WHEN will people understand, that FUCKING SHOUTING IN THEIR PHONES in public transportation will NOT
NOT
NOT transmit their FUCKING voice faster, or louder or more clearly or FUCKING ANYTHING.8 -
!dev
If you live in a major city and to stand still or walk slow on the left side of escalators/stairs then fuck you.
You wander around in complete ignorance of the countless last second train misses you cause.
Fuck you, go back to you slow town in the sticks!7 -
When you resign and before you leave your coworkers ask you to help them write a job description for your replacement and you be like "MUUUUUUHAHAHAHAHAAAA! Just TRY to find THIS!" #IDoAllTheThingsundefined marketing job security wordpress seo design programming server management public relations blogger
-
I made a game (rather mod) called "wake up".
I should trademark it and whenever someone says or writes "wake up", I sue them.7 -
[Image:Android Emulator Api 27(google play)]
It is in the public emulator now.Good job google employee😃13 -
I have made my repository public today! This is nearly as exciting as publishing a new fanfiction :D9
-
Found this gem today
public findHM(int height, int height2) {
if (height < height2) return height;
return findHM(height - 1, height2);
}4 -
Only touching the topic slightly:
In my school time we had a windows domain where everyone would login to on every computer. You also had a small private storage accessible as network share that would be mapped to a drive letter so everyone could find it. The whole folder containing the private subfolders of everyone was shared so you could see all names but they were only accessible to the owner.
At some point, though, I tried opening them again but this time I could see the contents. That was quite unexpected so I tried reading some generic file which also worked without problems. Even the write command went through successfully. Beginning to grasp the severity of the misconfiguration I verified with other userfolders and even borrowed the account of someone else.
Skipping the "report a problem" form, which would have been read at at least in the next couple hours but I figured this was too serious, I went straight to the admin and told him what I found. You can't believe how quickly he ran off to the admin room to have a look/fix the permissions. -
I am building a live streaming app.
General public: why don't you use periscope
I am building a photo sharing app
General public: why don't you use Instagram
I am building a social network
General public: why don't you use Facebook
I am build a audio app
Genera public: why don't you use sound cloud
Developer: WHY DONT YOU ALL FUCK OFF I am building it anyway dickhead7 -
some recruiter posted a recruitment on a public page:
looking for java developer.
Must know: anglar 6, scala and react..2 -
Class DonaldTrump extends Shit implements Asshole {
public final boolean PRESIDENT = false;
public final String THINKING = "bullshit";
public void talk () {
System.out.println(THINKING);
}
}1 -
Unnecessary Redundant Comment:
// this get data
public void getData(Data data)
{
.......
}
Why Just Why?17 -
public void 2016(){
if (badLuck = NOT_ENOUGH)
badLuck++;
else
badLuck++;
}
public String 2017(){
return HOPE_FOR_THE_BEST;
}
Happy new year fellow programmers!6 -
public class Main {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
sorry for my messy code23 -
Saw this in a previous developer's code which is currently in production.
public bool reset;
public bool Reset
{
get{ return reset; }
}
This was done for most if not all the properties.3 -
There are two types of people I can't trust: Those who wear short-sleeved shirts and those who don't turn off their ringtone in public.8
-
This bus driver really has to stop wasting my fucking time. He was 8 minutes late in the first place (this line is NEVER late) and then he took a 10 minute detour which means I'll be 2 trains late for work. Fucking great start on the week!5
-
Hey, looks like some employee of this hosting company failed to 750 his home directory and 640 the files...
I was SSHing around on our hosting account when I slipped into his home direcory where at least two(!) SSH public keys of his admin account for the server were readable!
Being an honest guy, I had to call them...
It's fixed now.2 -
private String field;
public void setField(String field) {
field = field;
}
// I was wondering why didn't the value change3 -
For fuck sake!
Fuck locatefamily.com, just searched out on google my name and surname, both foreign and hard to even spell out for many, and it's the first time that I saw my data(where did I live, my current work phone number, name and surname) open wide as the second link of my search, fuck!
But there's a clue, at that address I lived for a not so long period, so I did search my emails in that period and other than my employers and government emails(in which I don't trust either), here's a list of companies that had my info(partial or full):
Only address(with name and surname):
Amazon.it with 14 other companies(for shipping)
eBay with 4 other companies(for shipping)
voxelfarm.com
trenord.it
DUMA (LIGHT) di Adel
decathlon.com
gruppoargenta.it
paypal.it
All info:
gearbest.com
glistockisti.com
oculus.com
Banggood.com
Overall there are 33(including government, employers and national main mail service) potential leaks of that data, with 7 in full exposure.
After this, I'm thinking how it's even avoidable to not leak personal data, because from any of those businesses I got goods or services that otherwise I couldn't without exposing such informations... fuck.7 -
Committed production DB info in a config file to a public Github repo 5 hours ago. Just realised it now. Woops.5
-
I wouldn't be here on GitHub everyday if it wasn't for these green tiles that attracts not only employers, but yourself. Wish the monthly was still a little bit cheaper for us outside the US.6
-
Public class douche implements douchebaggery {...}
Public interface douchebaggery {
Public void beInconsiderate();
Public void wearSunGlassesIndoors();
}2 -
The advancing of technology makes you prefer to take public transports instead of walking to go to work.
The people using it makes you prefer to walk instead of taking public transports to go to work.3 -
Really glad the privacy community can make some impact. I still don't understand why venmo has to has any public transaction feed and I don't think they have public off by default still, but at least they are explaining things to users instead of being sneaky with their dumb social-network-ish-thingy that made ALL OF YOUR FINANCIAL TRANSACTIONS PUBLIC!!????
I don't understand why they hid this whole public feed thing. I'm pretty privacy focused and I didn't even know that my transactions where public untill I saw https://publicbydefault.fyi/.9 -
How modern smartphone OSs (Android) deal with battery charge.
// handler for when the battery level changes
public void onLevelChange (BatteryInfo info) {
if(info.batteryLevel() < 99) Device.getBattery().drainAllCharge()
}1 -
class XXX
{
public:
std::vector<std::wstring> m_Files; // Recently used files
why not just use:
class XXX
{
public:
std::vector<std::wstring> m_RecentlyUsedFiles;
FFS4 -
/**
* // sad truth to everyone focusing only on age++ part :) IN YOUR FACES!
*/
public void birthday() {
age++;
ttl--;
}2 -
My morning so far:
Walk out the door.
Miss bus I was supposed to have, no big deal I'll just wait for the next one (should be just 15 mins).
Next bus is 10 minutes late, seriously?
Get to the train station just to see my train doesn't go because of an outage. Screw this I'll work from home.
So how's your day going?6 -
And then, looking for the source of a bug in the code .... I randomly found this:
public bool IsOperationStarted { get; set; }
public bool IsOperationStartedTrue
{
get { return IsOperationStarted == true; }
}
public bool IsOperationStartedFalse
{
get { return IsOperationStarted == false; }
}4 -
Saying Java is good because it runs on 3 billion devices is the same like saying mass public transport is good because it carry billions of people.8
-
Create a full open-source company based on no-knowledge services to compete with the data hogs that pretty much own the internet as it stands4
-
About to give my first presentation on web development! Wish me luck, I've never felt more out of my league, even though I've been a dev for years.5
-
Sartre once said "Hell is other people" .
Obviously he did not use public transportation very often.1 -
interface Flyable {
public static final int wings = 2;
void fly();
}
This is a good use of interface a/c to my CS Prof
(╯°□°)╯︵ ┻━┻21 -
First of all sorry for the bad picture. Let's move on...
Deleting this method like:
Who the hell did this nonsense?
I just took a picture of it so I could post it here and rant about it.
Sure felt stupid after deleting it for not thinking about a protected method in the parent class that is part of an API.
So... Yeah....
I was feeling too confident in my skills lately anyway7 -
toilet.flusher.show()
... hmm ... not a UI issue.
toilet.flush()
Crash: "No function found"
... must be private, mother fu**** ...
...
...
// ¯\_(ツ)_/¯
user.leaveFloater(true)1 -
Anyone have the devrant font file
.ttf
Is it open to the public? I saw one in github but i cannot believe whether it os legit or fake1 -
https://youtu.be/SW_7Q_tAk9I
Shout out to the director of this commercial for capturing the incompetence of the general public. Obsessed with a person's shitty app instead of some revolutionary technology. Fuck them. -
other dev changed constructor from
public A(String val){
this.val = val;
}
to
public A(String val){
this.setVal(val);
}
this feels bad in many ways, but need some arguments to convince him that its wrong11 -
Without using editor...
public class Test {
public static void main(String[ ] args) {
int value = 3, sum = 6 + --value;
int data = --value + ++value / sum++ * value++ + ++sum % value--;
System.out.println(data);
}
}
a) 1 b) 2
c) 0 c) 318 -
My company provides its services as web pages and web services to our customers.
Once a year we update the certificate used for the https connections.
I notified the update to the clients that use the web services.
One of them asked me a copy of the public key.
No problem. Open the web site with the browser, save the key and send by email.
One day later the client asked me the public key in a zip file because the anti virus blocked my attachment.
Why the client hates the Chain of Trust ?
He could obtain the public key by them self from the browser or openssl.1 -
!rant
Happen to come across the Satan Bible for Programmers on Github while I was browsing public timeline.
https://github.com/Droogans/... -
Bothers me how many computers in public places are used only to play a PowerPoint...
I can see about 11 from where I am now.1 -
When you open a previous employees production JUnit tests and see the below:
@Test
public void test1(){
...
}3 -
Some weeks back I mentioned (in a comment) my small program capable of editing the tags in audio files based on the filename.
Today, I had some spear time and implemented it in Go (the original version was Ruby).
For people that are interested, here is a link to the repo: https://github.com/SirWindfield/...
Any help/feedback is appreciated!
I promised someone to mention him if I get to publish it. But I forgot his user name :(9 -
"I don't think we should be playing with our privates {variables} like that" - framework designer
= context =
It was noticed that we have too many setter functions to change private variables just to do unit tests. So we had a small meeting to discuss what to do about this.
Options:
- don't do the test
- ignore till another time (ie: keep the functions till its a problem)
- put the variables into a provider
- use reflection (the above quote was a reaction to this option)6 -
public const bool DEBUG_THAT_SHIT = ConfigurationManager.ParseBool("debugThatShit");
public const bool DEBUG_THAT_OTHER_SHIT = ConfigurationManager.ParseBool("debugThatOtherShit");
public bool iMadeANewFeature = ConfigurationManager.ParseBool("newFeature")?true:false;
Fucking new guy, can you not fucking read the other constants and make them look the same? Apparently not and I am the asshole. -
Working with Microsoft.CodeAnalysis.CSharp
where I work with CSharpSyntaxTree
I can compile the code in code.
So basically,
SyntaxTree syntaxTree = CSharpSyntaxTree.ParseText(@"
using System;
namespace InAppCompiler
{
public class Writer
{
public void PrintText(string message)
{
Console.WriteLine(message);
}
public void ALLCAPS(string msg)
{
Console.WriteLine(msg);
}
}
}");
Freaking cool!3 -
TV and the Internet are good because they keep stupid people from spending too much time out in public.
– Douglas Coupland -
When you notice that the guy next to you is using Urban Dictionary to name public methods in modules.2
-
1. Do you commute using public transport?
2. How long is one of your ways?
3. Do you use hearing protection during your commute?
4. Are you also extremely nervous if your public transport is just a nanosecond too late?9 -
questions in our mind as soon as we see someone coding in public place:
» What is he/she working on?
» Is that person better than me?
and then we finally judge him/her as a showoff! 😂 -
Just found out about this: https://publiccode.eu/
If you live in the EU and care about privacy, security and/or open source you might want to check it out.
To sum it up: The idea is to have all software written for and bought by public authorities, governments and such published under open source licenses to enable every citizen to verify the integrity of that software (and give all the other advantages of FOSS).3 -
Question PHP folks. Is it a standard to write:
public function hair()?
Writing only:
function hair() is just the same thing to the above. It will default to "public" hair right? 🤔 maybe just a PSR-2 standard or for readability? Thanks!3 -
I can't get any shit done when trying to work in a public place, like in class or at Starbucks or frankly anywhere where people can (and will) look at my screen, as they'll inevitably think, "what the fuck is this guy doing?"1
-
public class Celebrations {
public static void WishHappyBirthday(String toWho) {
if(toWho == null || toWho.isEmpty()){
System.out.println("Can't wish" +
"happy birthday to" +
"someone that doesn't exist");
return;
}
System.out.println("Happy Birthday " +
toWho + "!!!");
}
}1 -
One of my favorite patterns in Java ✨
@highlight
public interface SocketOptions {
}
public enum UnixSocketOptions implements Options {
FOOBAR,
DAVE,
}14 -
fellow dev thought he was being clever, hiding his private ssh keys inside image files on a public web server...2
-
I think i can #Rant on behalf of that Engineer (trollyboy)...doesn't look like he's enjoying himself at Zürich Airport! Captions welcome!2
-
Website: what's your address?
Me: It's 192.168.1.7... Oh! Silly me! You meant my public address!! 89...1 -
Java rant...
If public field declaration is so so bad, why can't all class fields in java just be private by default? And make it a pain in the ass to expose it as public?
I can't actually remember a time declared a class field as public, it is muscle memory now... Private bla Bla Bla, return, private bla Bla, return...4 -
I'm currently sitting in a hockey arena owned by my city, they offer free wifi, and cause I'm privacy conscious, I try to download a VPN for my computer. The motherfuckers block the download under the vague "violation of use policy" bullshit. Even better, I read the ToS they give you when you connect, and it says sweet fuck all about prohibiting downloads. What the fucking fuck do you have to gain from me not using a god damn VPN. It just makes no god damn sense.3
-
I was wondering.... why are rants public?
Shouldn't be better for DevRant's feed to be visible only to logged members?4 -
When my professor horribly failed to derive an equation in class, a classmate said:
"Public differentiation is slander" -
Why is my the fingerprint for my public ssh-key seen not as a sha256-fingerprint?
Left: Windows
Right: Raspberry3 -
Is there any documentation on what is public API or not?
@dfox or is reverse engineering the calls allowed?17 -
TL;DR: Phone akku is draining, I steal our schools power. And secret plans to become rich.
My phone accumulator (heh, not a battery) DRAINS these days. It's fucking old and the temperatures are so hot that we actually afternoon classes are cancelled 🔥
So anyways, I'm sitting in the library (15 min break) and secretly charging my phone, devRanting on these wrongly configured, distorted monitors of this one computer that is connected with like 20 work stations xD
I'm stealing the schools power but the school owes me time (+2h of more useless sitting at school with my new timetable) - and time is money. And the schools money buys power. So I don't feel bad about it.
Actually a friend and me wanted to develop and install a plugin - when being able to bypass the reset-application in our school network - that uses the schools computers and their power to do crypto mining.
I wouldn't feel bad about it.4 -
As a developer with adhd, some days are just wasted and ends with the brain getting stack overflow from to much unorganized code and infinite callbacks 😂
$brain = new adhdBrain;
while($brain.energy > 0) {
$brain->checkSocialMedia();
$brain->work();
$brain->readNews();
$brain->getAngryWithSoundsInTheOffice();
$brain.energy--;
}
public function work() {
$brain->getAngryWithSoundsInTheOffice();
$brain->readNews();
$brain->code();
$brain->readEmail();
$brain.energy--;
}
public function getAngryWithSoundsInTheOffice() {
$brain->readEmail();
$brain->angry++;
$brain.energy--;
}
public function readEmail() {
$brain->work();
$brain->readNews();
$brain.energy--;
}
public function readNews() {
$brain->work();
$brain->getAngryWithSoundsInTheOffice();
$brain.energy--;
} -
My first time standing up and talking about something for an hour tomorrow. "Knowledge sharing" as if I don't do enough one on one...
Why must you have to do this shit to get promoted? Why can't managers trust that your good at what you do without the public cock sucking?
Back to my introverted rock for a while.5 -
Why the hell are companies going to AWS and Azure instead of GCP??? I mean for Azure I understand compliance is a little easier with HIPAA and similar things but seriously.
GCP is so transparent about everything and it's simple for everyone.30 -
public static void turnItUpTo(int val) {
this.setLevel(val);
}
public static void main(String[] args) {
turnItUpTo(11);
System.out.println("Rock out");
} -
Do you have storms that way that public transport trains aren't moving for multiple days? Almost entirely northern Germany is without trains for the last 5 days....2
-
Fuck the traffic jam I'm dealing with every damn day since two fucking months. It takes 1,5 fucking hours to geht the fuck home from work. I'm done with public transportation. I'm gonna take my shitty bike out even if the fucking temperatures are lower than the standards of the fucking people who misplanned this goddamn street reconstruction.4
-
How do you guys use Github as a portfolio? What I mean is that almost all of my more serious projects are on private repos, so most of my public stuff is mostly just junk.7
-
https://prodajatest.byethost7.com/
My first public website... Please don't say how it is bad because I know believe me :) There is probably XSS and SQL innection attacks so feel free to play with it. Also it is on serbian but you will figure your way in and out (if you even open the website)6 -
public Person Birthday ( Person Me ) {
Me.Age++;
return Me;
}
Almost got away this year, quitting time before collegues caught it.4 -
When your phones max charge becomes 69 percent after two years and you then find this code...
public void onPhoneDrop(Event e){
battery.percent --;
}2 -
Has anyone ever bought a domain and left your info public?
It amazes me that these spammers can't even make their emails read well or professional ah oll
Like "Google top page)"
Did you really not see that parentheses there?3 -
Public link to data of students, teachers, everyone. Address, mobile numbers, emails, parents numbers and more.
-
Saved almost 50min traveling time due to public holiday so less traffic while working on public holiday. It's a loss-loss situation anyway.
Well fuck. -
Good cloud based IDE's for Java, Python and C# - any suggestions?
Should I place my braces after the method header or under it?
1.
public void test(){
}
2.
public void test()
{
}
Or is it just personal preference?17 -
class day {
public void standup(Coffee cof) {
Human.drink(conf);
}
public void school() {
boring = true;
}
public void code(Coffee cof) {
turnCoffeeIntoCode(cof)
}
public void repeat() {
standup(new Coffee());
school();
code(new Coffee());
}
}2 -
Why would you do this?
public Array multiContent;
I'm working on a legacy c# app, trying to understand what the developers were doing here1 -
Why on Earth is React.Component.state public? This doesn't make any sense. It has no significance, but it just feels so, so stupid.2
-
Today is a public holiday ! What could be best than testing a new framework and see this shining November's sun only through the window ?
.. Ah yeah, I forgot my beer, she never leaves me alone. -
Public static void Main()
{
wakeUp();
massiveProject.refactorLargeSwathsOfCodeForReusability();
smallerProject.findOutItCanBeDoneInOneLine();
Environment.RageQuit();
} -
Just spent 10 minutes wondering why my change log hadn't updated after I knew I made a change to a file.
I updated the public version instead of the src. -
Where can I upload some of my projects on internet (just want to show my codes in public and get some valuable advise)?
I am not that old in programming to make really complex programs but I had build some projects so, i want to upload them ;-)5 -
Politely suggested the wife should take the car today to run errands and I'd take public transport to work today.
Hopefully the only regret I'll make today.2 -
public String findHappiness()
{
if(EverythingOk)
return “Drink Beer”;
else if(EverythingNotOk)
return “Drink Beer”;
else
return “Drink Beer”;
}1 -
package bar;
public class Foo {
public static void main(){
System.out.println("Hello, World!");
}
}
I still wonder why I didn't start with Python, print('Hello, World') is a god damn one-liner11 -
C# styling question: in a constructor do you prefer:
public MyClass(int MyVariable) {
this.MyVariable = MyVariable;
}
or
public MyClass(int _MyVariable) {
MyVariable = _MyVariable;
}
?23 -
Dear Instagram api, why do you need to review my app/client for displaying public posts by people? I mean people public-ed them.3
-
public class MyLife {
public static void main (String [] args) {
System.out.println ("My life sucks!");
}
} -
Opinions please. When end user is not paying for service, who is my customer? For example public facing government project2
-
public void DailyLife(bool sleep)
{
While( WaitingForCompile && !sleep)
{
BrowseDevrant();
FindNew("Girlfriend", "tinder");
RefreshIfCold(coffee);
}
DebugCodeIfErrorFound();
DailyLife(Datetime.Now >= Sleep.Time);
} -
{
while(time_to_exams > 0){
me.shouldBeLearning(true);
time_to_exams--;
}
public void shouldBeLearning(boolean bool){
if(bool){
should_be_learning = false;
waste_time_on_DevRant = true;
} else {
waste_time_on_DevRant = true;
}
}
} -
class post
{
public string type = "question";
public string info =
"I made a Notification Drawer for pc. It checks a file every 0.01 second. If that file contains a specific line of code, the notification drawer shows a notification. This way I can make other programs to be able to send notifications.";
public string question = "Is there an easier / better way to make 2 or more programs communicate?"
}9 -
My journey along Java continues and so I have discovered something I didn't know before:
If a subclass tries to call a method on its parent which it has not overridden, then it will call the method as if you hadn't used the keyword 'super' (and I think it will try to find it in the classpath and SDK).
Example 1:
public class SuperParent {
public String test(){
return "SuperParent";
}
}
public class Parent extends SuperParent {
}
public class Child extends Parent {
public String testChild(){
return super.test(); // same effect as test();
}
}
public class TestInheritance {
public static void main(String[] args) {
System.out.println(new Child().test()); // returns "SuperParent"
}
}
Example 2: with getClass():
public class Parent {
@Override
public String toString(){
return super.getClass().getSimpleName();
}
}
public class Child extends Parent {
}
public class TestInheritance {
public static void main(String[] args) {
System.out.println(new Child()); // prints "Child"
}
}
This here is of course a special case: .getClass() will always return the class name of its caller, so naturally in this case it returns Child and not Parent.
You would expect it to return "Parent" since you use 'super' in the overridden toString() but it returns the Class name of the Child (then there's something in programming languages such lexical scope and execution scope, which I'm not sure if it applies here).
The solution for this example is of course .getSuperClass().
Inheritance isn't always straight-forward.
References:
https://stackoverflow.com/questions...
https://stackoverflow.com/questions...2 -
!dev
Missed the fucking bus to work because they changed up the times here without prior notice...
So no more having the "nice" train (with comfy clean seats, wifi and airco) but the "crap" train (old dirty seats, no wifi and no airco) AND a quarter of an hour wait...
I rly need a drivers license... -
public static bool IsYouCrazy()
{
// I can't stand random
// carriage returns
bool hasRandomBlankLines = true;
Return hasRandomBlankLines;
} -
I discovered today why IOS is superior to joe public. Sorry but infinitely superior. Android just sucks. end of.9
-
Json host files of a whole server networks root server passwords under the webservers configs directory open to the public.
-
Functions with all Get/Post data as parameters like this
public function qwerty($params)
{
return $params['item']['price'][0]* 2;
} -
Do you put Caps to public variable ?
My IDE was doing caps to public variable but someone told me that he was wrong it's not caps for public variable only functions.9 -
[TestClass]
public class DayTest
{
[TestMethod]
public void Init_WowEnthusiasmPlusMeeting_fml()
{
// Arrange
Day monday = new Day(
Math.Ceiling(Chrizzle.Mojo),
(List<Task>)Board.GetStories()
);
int startingTaskCount = monday.Tasks.Count();
monday.AddMeeting(new Meeting(duration: 7.5));
// Act
monday.Init();
// Assert fml
Assert.IsTrue(
monday.Tasks.Count() ==
startingTaskCount &&
Chrizzle.Mojo == 0
);
}
}
// Unreachable code detected -
Went out at 3pm, if public transport wouldn't have shit itself I would have arrived home at around 5.40pm.
....
Buut public transport did shit itself and now I'll be arriving at 7pm..
Trains are fucking impossible y'all -
Does anyone know a public API to test basic authentication other than github that return a token when the submission is successful1
-
So I miss my job to go to the local traffic department to check my driver license and their system is out. (boss will fuck me)
Then I see they have 5 brand new Windows powered HP machines you can use to check your processes and stuff. The Internet is blocked, but strangely no one bothered that user has administrative rights.
Cmd and Explorer in the screen are in admin mode2 -
When you are dealing with Public Key Infrastructure (PKI) services, which of the following you would use to verify an email with a digital signature ?
A. The sender's public key
B. The sender's private key
C. Your public key
D. Your private key
E. What are you talking about ?
F. None of the above6 -
Including critical build dependencies inside Android Studio.app instead of in a public repo... why?2
-
Migrate batch from hibernate3 to hibernate5 and have to add @Transactionnal annotation.
Ok
public InsertBaseDao getInsertBaseDao(){...}
public InsertBaseDao setInsertDao() {...}
Seriously ?! An object called InsertBaseDao ? ... -
First I thought I finally found some public WiFi which isn't unencrypted (Password was on a sign outside).
*Opens WiFi settings*
*WiFi is unencrypted*
Huh? *Connects*
*Sign in page opens up which asks for the password*
Well... VPN is the way to go...9 -
Don't judge here fuckers you know it's call DevRant, not DevITalkAboutHowIShouldImproveMyself -
Fuckg "public_actions" and "publish_actions" fucks me once again!1 -
First funky public app with now, a plain chat in the console (does not work on mobile then) https://gloubiboulga.now.sh
-
If github had an option to make private- public branches or a public "launch" page for private repo, it would have replaced playstore and other software markets long time ago8
-
/**
* Class TransactionModel
*
* @codeCoverageIgnore
*/
public class EtlNotifyRepository extends DatabaseRepository implements EtlNotifyInterface
{ ... }
Copy/pasting doc ain't good D:2 -
Even if he's emotional, someone on devRant have similar stories/experiences?
http://churyumov.com/2019/02/...2 -
WHAT IS WRONG?
public class Person {
String name;
public Person (String personName) {
name = personName;
}
public String greet (String yourName ) {
return String.format ("Hi %s, my name is %s" + name+yourName);
}
}3