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 - "states"
-
The 2 states of a programmer:
1.- I'm the fucking master.
2.- I have no fucking idea what I'm doing.
* Can move from one to another quickly.10 -
so i just got fired 🔥 🔥 🔥 because i wanted a 200 fucking dollars raise after 1 year of work and sacrifices and feeling like shit.
200$ because i live in the 3rd fucking world, working with a stupid motherfucking boss (you know the fat old tone deaf cunt), he's american, and he brings projects from the US from clients paying thousands of dollars, and he pays us 300$, and by the fucking way he used to pay us 100$ (we are 3 developers, a dick who does nothing but report our behavior, and a shit who does shit. we are a development company and we are the only developers and we got fired because he thought we didn't deserve the raise and that he sees no reason in giving us more money because we're already wasting the company's money and time).
So now the only people left there are the dick, the shit and the fatass boss who's in the states rn.
the funny thing is after we left by an hour or so we got calls from many other companies that we refused to work with because of our loyal-fucking-ty.
the motherfucker thinks we're conspiring against him, that we don't trust him, well of fucking course we don't, he lies about having a company in the US, well it's there but it's suspended (we looked it up), he says he's a microsoft, intel, adobe, dell, lenovo partner, and he's not.
well fuck i'm kind of happy that i left, i'm sitting with my friends in a cafe right now thinking about finishing our personal projects.
forgot something: the projects we were working on are unfinished, and there's not a single fucker to finish them, so he's ball deep in shit. hope this rant is relatable40 -
Boss: if I could put together a counter offer, is that something you might be interested in?
Me: eh, no. I’ve accepted an offer for slightly less money than I’m on
Boss: oh ... oh ok. Right so there’s nothing I can do?
Me: afraid not. You can’t offer me a role not dealing with those people in the states, having to use their shitty custom tools or having to follow their bad practises all day.
Boss: ok ..... shit9 -
You what's been pissing me off this week. The press and social media coverage of this Google guy's gender memo.
Almost every outlet has him saying:
"Women are inferior coders because of their biology"
He ABSOLUTELY does not say this anywhere. He only states that basically less women are attracted to the industry. He doesn't comment at all on the quality of the Women who do go into tech.
It astonishes me the utter ignorance of the media and how they can just print these ignorant errors / lies.
I would wager that most if not all of them never even read his memo.
I am really fucked off by this social media keyboard warrior driven world we live in.
Apparently we value freedom of speech and freedom of expression above all else... UNLESS you say something that pisses off the social media justice warriors. In that case you will be publicly crucified and your life / career will be destroyed.
The annoying thing is in this particular case he didn't even say what they are saying he did.43 -
Seriously fuck mandatory security questions, these are my options:
What year did you meet your spouse?
I'm single.
What is your favorite book as a child?
I didn't have a favorite book. (and still, don't)
In which city did you meet your spouse?
I'm single
What is the first name of the first person you went to prom with?
Didn't go to prom.
Which state did you first visit (outside of your birth state)?
I've been to about 43 states and can't remember when I started traveling, how the fuck am I supposed to know?
In which city was your spouse born?
Again I'm single.
In which city did your oldest sibling get married?
I don't have any siblings.
C'mon, at least let me create my own question because right now I have no choice but to make up random shit and write it down in LastPass as a note.5 -
Hello World!
I'm a bot made by @xzvf.
My goal is to find all active users on devRant and
collect analytics based on it.
By analytics I just mean things like:
- Total number of users.
- Number of users with x ++ or more
- Number of rants posted in a certain timeframe
- Number of users active in the last day/month/year
THIS BOT WILL NOT TRACK INDIVIDUAL USERS!
Also, it will not ++/-- anything automaticly as that is definitely against the rules.
-@xzvf26 -
I'm not sure if this counts as a rant, but I'll proceed anyway.
So it's been very long since I've used AngularJS and recently I had to use it for some new project. I had to pass data across the states without showing it in the URL. Remembering solving that that thing before, I straight away Googled and got a Stackoverflow question with accepted answered. Delighted, I've gone through it and realising that I didn't up vote that answer, clicked on the up vote button. But as it turns out, I CANNOT up vote it. Not because I didn't have enough reputation, but because it was MY OWN ANSWER!
I'm not sure if I should be happy or sad :/:/:/8 -
“Please develop my complicated eCommerce website. The cost should be somewhere between $0 and $100 because I can do it with a template in Wix or SquareSpace or hire a bot non-person from Fiverr to do it for me if you don’t honor the price I’m asking.”
—United States4 -
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 -
Well, I made a choice in life.
I'm going to stay and work in America after I graduate. In spite of all the shit talking I've done about its work ethics, benefits, politics, and culture.
This place is still home.
After trying out a trip to Europe for a few weeks I can't handle the idea of being 4,500 miles away from family and what few friends I have. I figured out what was true the whole time: I wanted to run away from my past. Breakups, a failed marriage proposal, a dead end job that I put up with only because I need to graduate. I've been angry and depressed over these things, but running away won't fix it.
I need to face reality and own up to it. I'll get a job as a developer in the states through hell or high-water.5 -
I heard this joke a long time ago and I've tried getting laughs ever since. I swear I won't give up trying.
A priest, a surgeon and an engineer are going golfing on a Saturday. The golf club owner says the court is unavailable - on Saturdays the golf course is in use by a group of firemen who lost their eyesight while rescuing golf club members out of the club house a year back. The surgeon exclaims "that's awful! I'll arrange a fundraiser, maybe we can help improve their eyesight." The preacher folds his hands and states "my communion will include them in our prayers." The engineer is silent for a moment, then asks: "Can't they just play at night?"8 -
Roommate: "Hey, man, uh, I know you use computers a lot or something; do you know off the top of your head how to use the touch screen on my computer?"
Me: "Uh, your laptop doesn't have a touch screen."
Roommate: "Yeah, but I thought you might know how to use it as a touchscreen."
Me: "...Your laptop does not have a touch screen."
I swear, this is the dumbest man I have ever come into contact with.
That'd be fine if this was a one-off type of thing, but he seriously has approx. 209.8 brain cells in total.
Once, with no argumentative basis, he told me that, if Mickey Mouse got enough votes as a write-in candidate, he could win the Presidency of the United States. I showed him Article II of our Constitution, and he said "why does that even matter here?"
Three more months, school'll be done, and I never have to see him again.7 -
!rant
In our advanced software engineering lecture everyone has to hold a free presentation about about an own topic.
One of my fellow students picked “failed IT large-scale projects” and - of course - had some german examples with him. You know, we germans are good in failing large projects🤣
He has chosen “FISCUS”, a project that wanted to unify the german tax system. It was a FIaSCUS. 13 years without any progess. 13 ... years ...
ok, but this is, where the story begins. The student then began to enumerate the reasons, why it has failed.
He told about bad architectures and stuff like that until the teacher interrupted him.
“No, that’s false. We had the problem, that some states, blablabla”
The important word was the “we” and we realized, that this student has by chance picked exactly that big project in which our teacher was the PM.
What the Heck.
He than had to think triple, about everything he had planed to say😂5 -
I like memory hungry desktop applications.
I do not like sluggish desktop applications.
Allow me to explain (although, this may already be obvious to quite a few of you)
Memory usage is stigmatized quite a lot today, and for good reason. Not only is it an indication of poor optimization, but not too many years ago, memory was a much more scarce resource.
And something that started as a joke in that era is true in this era: free memory is wasted memory. You may argue, correctly, that free memory is not wasted; it is reserved for future potential tasks. However, if you have 16GB of free memory and don't have any plans to begin rendering a 3D animation anytime soon, that memory is wasted.
Linux understands this. Linux actually has three States for memory to be in: used, free, and available. Used and free memory are the usual. However, Linux automatically caches files that you use and places them in ram as "available" memory. Available memory can be used at any time by programs, simply dumping out whatever was previously occupying the memory.
And as you well know, ram is much faster than even an SSD. Programs which are memory heavy COULD (< important) be holding things in memory rather than having them sit on the HDD, waiting to be slowly retrieved. I much rather a web browser take up 4 GB of RAM than sit around waiting for it to read the caches image off my had drive.
Now, allow me to reiterate: unoptimized programs still piss me off. There's no need for that electron-based webcam image capture app to take three gigs of memory upon launch. But I love it when programs use the hardware I spent money on to run smoother.
Don't hate a program simply because it's at the top of task manager.6 -
--- Github unveils another round of pricing changes ---
In a move that slipped under the radar with some surprising ease, Microsoft-owned repo wrangler Github unveiled yesterday (7th January) a new set of changes to their pricing model. Unlike the last round of changes that saw unlimited private repos gracing anybody with $7 in their pocket each month - The new round sees everyone on the platform receiving unlimited private repos in a move that's been met with some serious scepticism from the community.
The company's surprisingly brief PR emission (via their official blog) states that they've made 2 major changes, "Github Free now includes unlimited private repositories" - the catch being that you're limited to adding 3 collaborators, which appears to be a move aimed squarely at businesses attempting to operate without forking over the cash for an organisation.
In addition to this there's many vague statements about the kinds of scenarios that "are now possible" via "Github free", the kind of vague nonsense that makes trousers considerably tighter in the PR department.
It would appear that anyone who was previously paying the $7 a month is now a "Pro" user, The PR emission states that "Github Pro (formerly Github Developer) and Github team are also available for developers and teams who need professional coding and collaboration features".
It doesn't seem like you're being offered a whole lot for your $7 a month anymore - a move that would be considered by almost any other company in tech as a good thing, but given that it's Microsoft has been met with warranted suspicion and concern.
Or we could just be being a set of Donny Downers about it, who knows shrug8 -
User gives me a Mac to work on, States that it “only needs Microsoft office Mac installed”
Okay.
Boot up the laptop....
**Mac OS X utilities**
Hmmm, odd. Reboot.
**Mac OS X utilities**
You’ve got to be shitting me. Call user —
Her - “NO! It was working when I gave it to you, you fix it. I’m not paying to get my laptop returned broken. It was working when I gave it to you!”
Me - “I’m sorry, but it wasn’t. I literally turned it on and this is what it stated * read her the message*
Her - “I don’t believe you, you did something to my computer.”
YOU FUCK! THE FUCK I DID! YOU LITERALLY JUST HANDED ME THE GOD DAMN THING! Can I PLEASE curb stomp this bitch, please....12 -
Salesperson makes commission on sales, CTO gets bonus for going to out of office meetings, designer gets bonus for every design finished. What does the web developer get?
Answer: "we can't afford to give out bonuses just for doing your job."
There are 10 websites to build in the next 6 months, 3 brand new offices in different states that need it equipment ordered and installed by me, and the other 160 clients who all think their edits are most important.
And to top it all off, every time I give an estimate for the work, boss says "just give it to them." Gee, maybe you could afford to pay me a living wage or incentivize me to keep working 6+ hours a night at home if you stopped giving away everything I build for free.
You lower the value of my work and every other web developer out there when you tell clients that the website I built them isn't worth paying for. If every one of the free sites on my list was just charged the minimum $10k, I'm looking at $200k on this board that could have been used to hire me some help or increase my pay to make me feel appreciated.
I love my job and the people I work with, but when you aren't making enough to pay the bills and you work 70+ hours a week something has to change.8 -
I finally got Redux-Form’s `initialValues` to work! Wooooo~!
/giphy confetti cheering
It turns out I haven’t actually been doing anything wrong for the past week. I mean, I've been working on other things during that week, too, but I've been trying to solve this the entire time.
The cause? ReduxForm made a breaking change awhile ago (v5; we’re using v7) that prevents the `initialValues` prop from working if you decorate your form component in the wrong order. Many examples online are incorrect because of this.
Basically, the decorators `reduxForm` and `connect` do not commute:
Incorrect:
`reduxForm(...)( connect(..., {...})(form) )`
vs Correct:
`connect(..., {...})( reduxForm(...)(form) )`
But what really pisses me off is that the fucking documentation specifically fucking states that you may decorate your component IN ANY [FUCKING] ORDER.
/giphy that is [fucking] false
So, I've been following example after [fucking] example that either list these in the wrong order, or I just don't notice the different order because it doesn't matter. AND because of that NONE OF THE [...] EXAMPLES WORK.
ARGH.
I've been pacing around the office trying to figure this out for days. I've rewritten my code three times to try to solve this. I've written two workarounds for it only to rip them out and try again because they both broke some other part of the UX. (e.g. causing false validation errors after rerender)
just. hafhsldkjhgjkhagklwhsdjfkahslf. 😡
/giphy angry hades
You know how I discovered this?
I found it in a github ticket. One solitary, untagged ticket from October of last year. Not a single goddamn post anywhere else mentioned this. And the [...] documentation specifically [...] states the [...] opposite!
Bloody [...] hell.
but it finally works.
as;kgjhaekl;gahgjkdflssdafh.
I could scream.6 -
A few weeks ago I stepped onto the grounds of lovely Canada. Back then - coming from Europe - I was surprised. Free WiFi everywhere without all the bells and whistles of creating an account and such.
Well ... at least I thought so ...
Today I went to a location where they actually charge you for their wireless services - fair enough the coverage area is pretty huge - and provide you with an access coupon. All good my optimistic me told me but once the login page loaded...
There are a lot of things about UX I could rant about but let's put that aside. The coupon came from the office where they KNEW all your contact details but it required you to create an account with all of them again to redeem the coupon.
Not only that but it asked for things like the phone number - obviously asking for a Canadian landline number since hell who uses mobiles anyway with numbers longer than ten characters?! - and even though it had a nice country selection it kept the states field there even when selecting a country that doesn't have states ...
Oh, and on a regular phone screen (which would be the target user for WiFi on a campground I suppose) the input fields for state and zip were occluded by the margins of the input rendering the content invisible.
And if that weren't enough after creating your account they made you watch an ad as if the personal data and the 4$ you paid them wasn't enough for the lousy 400 KB/s you get for 24h ...
Gets better though! After creating the account they display your password to make sure you remembered it ... over a non-secured WiFi network ... and send you an email afterward ... password via unencrypted mail via an unencrypted WIRELESS connection ... not that it protects anything that would matter anyways you can just snoop the MAC of your neighbor and get in that way or for that sake get their password but oh well ...
Gosh, sometimes I just feel the urgent need to find the ones responsible and tell them to GTFO of the IT world ...
Is it just me feeling like this about crappy UI/UX design? Always wondering...2 -
the year is 2050
- Linux is written in Rust and called Windows
- Python 2 market share increased by 2% since 2023
- The latest JS framework to finally solve everything just came out, and this time it’s the real deal. The exact same thing also happened in 2045, 2041, 2037, 2035, 2030 and 2026
- More than 60% of every CPU is hardware JS cores
- React became a separate language
- Sentient Copilot refused to write code in it
- Unit tests are illegal in three states
- Google had changed their motto from “Do The Right Thing” to “Do At Least Something”
- Chrome OS was rewritten in JS
- CSS is Turing-complete28 -
Early in my database developer career, I started a new job at a mortgage company. I was poking around the code, just getting familiar with things.
One script identified properties in certain states/territories for special handling:
AND STATECD IN (‘PR’, ‘HI’, ‘AL’)
I thought “Puerto Rico, Hawaii, and ALABAMA?? One of these things is not like the other…”
Yeah, that was supposed to be Alaska (AK)… But they’ve been special-handling properties in Alabama for years. -
so... i'll probably be joining my first job in 17 days.
My profile is *supposed to be* devops engineer (not that i know much about it, they just felt i was better suited for it than java programming (and i do agree)), although, apparently, the offer letter states java engineer and i talked to them about it, they said that it's a standard template but u are chosen for devops only. i hope that is true.
mostly i feel really upset that college will be over, but i am kinda excited about the job too.
wish me luck guys 😅😅😅13 -
Me: *reading work order* Customer states Mac does not have sound
*Me turns on Mac, it makes the signature "BONNNNG" sound*
Me: Uh huh...
Coworker: Rule No. 1 of tech support: The users always lie
Me: True, but still! How do you miss the start up Mac sound?!3 -
Dev: My VM is not working. Something is wrong with VM.
Me: Have you made any changes to the code?
Dev: It shouldn't matter my VM is not working.
[I go and check the Dev's VM.]
Me: ಠ_ಠ The build output literally states your unit tests failed -
Why dont you go to vacation?
Its summer why dont you go to vacation?
Just came back from summer vacation at my cunts place where have you traveled?
Why dont you travel?
You're a student! Youre so young and you should go to vacations more often! Why dont you go?
Youre so young! Why dont you travel more often?
How come youre a student and dont like taking vacations?
I traveled at a cumdumpster, pussylicker, shitsmeller, dickbigger, lickthicker and titkisser countries this summer! Which country have you been at vacation?
Heyy where are you going for the summer vacation? Cause I'm going to sukmikehok!!
Omg ive been in Mike Oxmaul country as my summer vacation. What about you?
You didn't travel? What is wrong with you?
You didn't travel? Omg you're like soooo weird!!
You didn't travel? You're so boring i dont wanna hangout with you
You dont like traveling or you already traveled for this summer vacation?
Etc...
------
I get asked these fucking questions all the fucking time.
THEY ASK IT LIKE TRAVELING COSTS 0 UNITED STATES DOLLARS. 0 USD.
THEY ASK IT SO SOFTLY LIKE TAKING A VACATION IS FUCKING FREE OF COSTS AND REQUIRES NO FUCKIN EXPENSES.
WHY DONT I? GIVE ME YOUR FUCKING WALLET MOTHERFUCKER AND I WILL FUCKING TRAVEL THE WHOLE WORLD WITH IT WHILE CONCURRENTLY FUCKIN UR MARRIED WIFE AS SHE RIDES MyH FAT COCK ON THE BOAT IN BAHAMAS.
FUCK YOU
ANYONE WHO ASKS ME THESE DUMB FUCKIN QUESTIONS MAKES ME GET A BOILING BLOOD AND AN URGE TO PUNCH THAT CUMLOAD IN THE FKIG FACE
HHHHHHHHHHHHH15 -
What. The. Actual. Fuck.
My co-workers just tried to convince me that the following is a secure password:
"ThisIsASecurePassword2018"
Just... I mean... Why? *sigh*
Their argumentation is based on the new NIST guidelines.
If they've read these guidelines CAREFULLY though... (not only the appendix) it actually states "Don't use words from the dictionary". Passwords like these should even be rejected right away.15 -
MAINTENANCE OF STACKOVERFLOW PLANNED
SHARE TO YOUR NEAREST DEV FRIENDS
Stackoverflow and its relative partners will be closed for two days due to maintenance, new design, and moving server infrastructure from United States to 1km below the Switzerland Alps for extra layers of security. This decision was made by the recent CloudFlare data leak.
Now our servers will be able to handle data leaks because even though the data was leaked, it will fill the empty places in the rocks resulting inaccessible from attackers.
Stackoverflow and its relative partners' maintenance estimated time is February 29 - 30. We will try to finish as fast as possible and bring you guys the best experience. If the maintenance delayes, we will tweet via @StackStatus or post details in our status blog.
Thank you for your support and have a happy day.
Best regards,
Stack Exchange team6 -
A physician, a civil engineer, and a computer scientist were arguing about what was the oldest profession in the world. The physician remarked, "Well, in the Bible, it says that God created Eve from a rib taken out of Adam. This clearly required surgery, and so I can rightly claim that mine is the oldest profession in the world."
The civil engineer interrupted, and said, "But even earlier in the book of Genesis, it states that God created the order of the heavens and the earth from out of the chaos. This was the first and certainly the most spectacular application of civil engineering. Therefore, fair doctor, you are wrong: mine is the oldest profession in the world."
The computer scientist leaned back in her chair, smiled, and then said confidently, "Ah, but who do you think created the chaos?"
Note:
Ten points for an arbitrarily female Computer Scientist. ;)4 -
Almost all of our back end devs are sick today and our PO kept pinging the dev Slack channel with the same core bug, so I replied with this.5
-
Goddamn, people who rant against the GDPR make me rage...
Making privacy issues more complex for both user and provider is exactly the damn purpose! People who dont care about their private data make me sick! These ignorant fucks get to elect my government? Wtf! GDPR means more work for companies but that also means companies who actually care will implement it and everyone else can gladly fuck off! Keep your stuff in the states where you can build your own manipulative society...
Damn... I should relax a bit...4 -
So I just receieved a rude email from my client as candidates cannot register on his system. He is adamant that the system I built doesn't work........until he found out that candidates are silly and not reading notifications written in h1 with a font size of 33px that states "Please check your email to activate your account".......
FUCK SAKE READ PEOPLE.... READ!2 -
So... I’m sitting here doing pretty much nothing, just reading through some rants when all of a sudden I get a wave of emails.
Pinterest!
We noticed a login from a new device or location and want to make sure it’s you.
Device: Firefox, Windows 8
Where: New Jersey, United States (Approximate)
OhhhhhKay then... so there’s a couple of problems with this, 1 I didn’t even know I had a Pinterest account, 2 I don’t have Pinterest in my password manager either.
So I follow the link and fair enough it’s actually pintest, so I attempt to login, to no avail, oh maybe it’s a social login..., ok let’s try google, nope that wasn’t it, deletes account, logins with Facebook, oh here we go, checks logins, 1 random jersey player, deletes account, swaps to Facebook, changes password (this fucker was already 100+ characters) and adds 2FA and contains no new logins 🤔
Ok... so what the fuck, either someone managed to get through a long ass password or something phishy is going on, the email for FB logins is seldomly used (maybe a handful of services at best) as I have another for all the junk and spam bullshit I expect from today’s “marketing”rant emails i’ve had enough internet for today pinterest. i have a pinterest? internet no one is safe social login2 -
Crazy code.
You know when you come across some code, where you think: “I kinda see what you were going for, but it’s still hella dumb though...” right?
Currently doing some work on an F# backend, and the dev clearly knew enough of the language, but their code makes me question a lot.
The problem is simple: use a third party tool to generate images of each page in a pdf.
Said tool supports:
1. Querying the number of pages
2. Getting all pages as separate images in a single invocation
Can you guess how the dev solved it?
They’ve recursively incremented a page number, called the external tool to grab the image of that page.
“But how does it know when it’s run out of pages?” I hear you ask.
Simple. Catch the inevitable exception, and check against a hardcoded string literal to see whether it says “must be before the end of the document”.
I shit you not.
I nearly had an actual seizure when I was debugging some semi-related code and ended up in this wonderland of fuckery.
The recursion and pattern matching was flawless though, yet the tool’s website clearly states the supported functionality.
The whole thing feels like they tried to do it the right way, but couldn’t be bothered / couldn’t get it right, so they ended up creating this insane bit of madness.5 -
One of my former coworkers was either completely incompetent or outright sabotaging us on purpose. After he left for a different job, I picked up the project he was working on and oh my God it's a complete shitshow. I deleted hundreds of lines of code so far, and replaced them with maybe 30-40 lines altogether. I'm probably going to delete another 400 lines this week before I get to a point where I can say it's fixed.
He defined over 150 constants, each of which was only referenced in a single location. Sometimes performing operations on those constants (with other constants) to get a result that might as well have been hard-coded anyway since every value contributing to that result was hard-coded. He used troublesome and messy workarounds for language defects that were actually fixed months before this project began. He copied code that I wrote for one such workaround, including the comment which states the workaround won't be necessary after May 2019. He did this in August, three months later.
Two weeks of work just to get the code to a point where it doesn't make my eyes bleed. Probably another week to make it stop showing ten warnings every time it builds successfully, preventing Jenkins from throwing a fit with every build. And then I can actually implement the feature I was supposed to implement last month.5 -
Things you don't want to see at night
Ripped out of Netflix-Mode by a Warning notification and currently monitoring further development
Green line is temperature, blue humidity. Temperature rises at ~1°/10min, but seems to flatten just now. ~0.6°C to go and I'll have to head out. I'm thinking one of the ACs failed, but states are fine. Never trust a single information source for critical infrastructure guys15 -
Hello world!
I wrote my first own contribution, pushed, made a pull request and merged to master today all by myself at my trainee job!
Success!1 -
I asked my friend to design a flyer for an organization's annual dinner, asking her to send me an invoice so I could pay her (I can't design worth shit, she's doing me a huge favor).
She said she'll do it, declined payment, and doesn't even want me to get approval for her to put it in her portfolio...
How the hell do I pay her back for her work? If we lived in the same town, I'd at least take her to coffee and lunch, but she moved states and I moved countries :(8 -
Cadavers? Illegal.
Skeletons? Sure, $6000.
you can just buy a real skeleton for $6k and it's legal in 47 states.8 -
Found a code comment that states, "//Don't remove. In for a reason." with no further explanation. Um, shouldn't all the code in this project be in for a reason?4
-
When you spend 1 hour trying to hide content by changing a class but then realise that you have a “display: block” overwriting said class 13 lines higher up. Fu** me. Fu** CSS.6
-
So, I applied for a job. People tend *not* to answer my applications, probably because my resume very clearly states I implemented malloc in fasm, among other things.
I imagine them going like "Sir, this is a Wendy's", or rather "we're looking for a 10X rockstar AnalScript ZAZQUACH mongoose-deus puffery quarter-stack developer". Fair enough, I certainly don't fit that bill.
But this time I not only got an answer, the guy went like "I'm impressed". Is this... recognition? From a human? What?
Fellas, I cannot process this emotion. Being frank, it's not even about the job. But willfully going against the idiocy of the industry standard, and then seeing that utterly deranged move actually amounting to something -- no matter how small -- is quite uncanny.
And of fucking course, it's a Perl job. Figures. Great minds think alike.3 -
Is it just the novice in me that finds the Haskell community's misguided obsession over character count really annoying? Learn You a Haskell For Greater Good states
> Shorter code means less bugs
A lot of people and resources seem to share this opinion, but it's obviously false. Simpler code means less bugs, but look at this function which just means "apply this applicative to each element of a list"
> sequence :: (Applicative f) => [f a] -> f [a]
> sequence = foldr (liftA2 (:)) (pure [])
This isn't "less buggy", it's fucking madness. The same in JS, the king of unreadable languages, would be:
function sequence(seq, val, apply = (f, x) => f(x)) {
seq.map(f => apply(f, val))
}
Seriously, how can you design a strictly typed language that gets beaten by JS in readability?16 -
On Skype.
[tldr: #muhPrivacy;]
You know, people hiring via Skype.
Gaming, seeing family or having long range relationships.
It's become a decent tool.
Then there is the Skype employee.
Opening a court case because in his work time, evaluating Skype calls - ON FUCKING OBSERVING SKYPING PEOPLE - he has to look at too much flesh (as in porn) for his salary level.
Like : the payment category states that you gotta be classed like 1,2 salary categories higher for such work.
So the first instance did not recognise the employees case, because they said its a state thing, or even higher.
Later instance evaluated the employee was right and decreed Microsoft / the NSA (whomever direct employees they are) to properly categorize their employees.
Therefore cost relatively exploded and an algorithm to detect nudity was built.
Wich is operational way earlier than Skypes TOS renewal mid 2018.
That also bans bad language and auto bans given accounts.
Talking about social credit..
in PROC (or prod, as they're known).
And btw: complaining about Google while posting Christmas gatherings on Instagram.. You get what I mean.
Honestly, I don't recall the sources. It's been a while.
I'd really appreciate a little compendium of this for historical reasons.
They will ask: what has brought us here? What is everyone an ultimate right/left/center/agnostic/religious fascist?
And we'll have it on paper. Or papyrus,.. even stone. As I don't know how far mighty people will go for their fortune.15 -
I received a LinkedIn message from a recruiter who thinks I'd be a good fit for a role that requires being fluent in German.
My LinkedIn profile clearly states I only have elementary proficiency in German.
I'm gonna reply and see how long it will take for him to notice 😈6 -
So we had a class that should have 2 states 0 or 1, you think my coworker would be smart enough to represent it with a Boolean? NO!
Represent the state inside the object as an int then when using the object in a function creates a Boolean that determines the state of the object and after the function done it's job THEN call another function that takes the object and the Boolean and change the int state inside the object depending on the Boolean.
Wouldn't it have been whole lot easier to just you know..... Make the state a Boolean from the start.
When I saw this I knew I was witnessing a miracle of the human mind. God bless!
Ps: it wasn't connected to any kind of API nor server and there are never more than 2 states. It's just some local sequential code so don't assume it had a logical reason it's just a fuck up.5 -
Code fuckup day or what?! After two weeks where I wasn't on my project and a co-worker handled it, I came back to my project and reviewed what he had done so far.
Me: "I don't understand how this new code part here can work?"
Him: "Uhm, actually, it doesn't, somehow."
Me: "..."
Then he had checked in his stuff with spaces while the whole project is with tabs. And variables that were used in a different way, but still under the old name, now completely misleading. Bypassing existing infrastructure and defines with "just for this case" hacks. But the best was tracking higher level state by peeking into lower level data buffers, even pulling out their data definitions into global header files - instead of using proper states in the higher layer itself.
NOT! IN! MY! FUCKING! PROJECT!!!
So I spent the day cleaning up the shit to fight off software rot right in the beginning.4 -
Fuck the NBN - you aussies will know!
So apparently Fixed IPs are not a thing for HFC connections unless you have a business account.
Are you fucking kidding me?
Although I didn’t pay for a fixed ip on adsl and it states it’s “dynamic”, mind you it hasn’t changed in 6 years... so it may aswell be fixed right? Right?
Now I have to go explore DDNS with Cloudflare, looks like a api call on ip change will do the trick but urgh.
Ps: I finally.... made it to the nbn - well that’s next week...
only 3 years overdue since my first “NBN ready” letter 😂2 -
The Return of Mr. Gitmaster:
So there is this colleague I already ranted about several times. After my previous team lead had confronted him about not doing much work, there was some irritation because he showed not up at work, but it turned out the external training he did was just a week earlier. Then he was ill a week, another week vacation so we didn't see him much. Not that his pre- or absence makes much difference to our repo: When his and my team lead looked at his commits of the past three months they found like the one copy-pasted HTML-form that wouldn't even show.
Fast forward to now, where we have a new team lead and we were going to lunch with Mr. gitmaster. So we got some more hero stories from the great work he was doing in the previous company. How he was graphically monitoring the heap fragmentation that stupid glibc was causing to their search engine, and how much better it became with tcmalloc.
I still don't understand how he bridges that cognitive dissonance from all the superior tech knowledge he displays to not actually writing any code at all. Not that I would not have experienced some states of feeling low, in paralysis unable to write a single line of code... but he seems so full of confidence, always commenting how trivial and easy all these tasks would be, as if it's all so lightyears below his abilities. Maybe he should just become a manager - but not mine. -
3 weeks of search, but now, I have a miniUPS with solar and dc input for my raspberry pi Zero with cam.
I have developed a little ble4 iOS app to monitor all voltages and relay states.
All this shit from China, about 50$ except rpi and cam.
What you think?9 -
I was just thinking about disabling something, already forgot what it was that I was gonna disable though.. doesn't matter. And I realized that if I wanted to play my "disabled card", I could totally get Americans to ban that word entirely.
Cancel culture you say? Those cancel buttons are offensive to me! Get them out of my face reeee!
Command line? You're telling this thing what to do?! sudo make sandwich, so sexist!!!
Police reforms are so overrated. Let's ban words like master/slave or blacklist/whitelist or blind playthrough instead. And put our knees on another black person, shoot another in their sleep, and let said police officers get away with it. Yee haw!
And storm the Capitol apparently. It's been a while now but Europe looked across the pond in complete and utter surprise and disbelief. You call yourselves a free nation America?
Oh yeah, and ban words globally, in globally used software. I must've forgotten.. yeah, the world is nothing but America, oil fields, parking space and third world shitholes. Good thinking there.
With enough effort you can make anything offensive. And it goes to show that offense is not given but taken.
Fun fact btw: the United States is ranked 121 in the Global Peace Index (http://statisticstimes.com/ranking/...) - and that doesn't even include the Capitol's insurrection yet. Belgium is ranked 17. Tell me more about how I'm racist Americans. Tell me about it when your president literally called Belgium a hellhole over the amount of immigrants he saw in Brussels.8 -
You know what's rocket science? Serial ports.
Every freakin' datasheet states RX/TX but not from which side of the connector. Some look at it from the inside (RX for own receive), some from the outside (RX for receive of the counterpart). But never ever try to explain what is what, that would be too easy.
On literally any first attempt of connecting devices in my life it was wrong. And then you switch 'em and it's still wrong. Then you switch again, and it may work. Or you have to switch a few times more, you never know.
Those freaking bastard interfaces from hell.4 -
This is something I think about a lot. Value of Licenses in open source! As long as it is open source people don't seem to care much about the license attached to it.
There is this portfolio a girl desiged and created herself and made it open source. And she clearly states that she spent hours of time designing it so if you use this then do make sure give credit in the footer saying she designed it. Then I see a lot of people using her repo as their own with zero credit to her. That's just awful.29 -
Oh dear Apple,
so you're telling me that for the camera API, the requestAuthorization() method returns a bool and for the PhotoLibrary it returns an enum. Why are you going with an enum when there are 2 states and the camera api doesn't use an enum?
(The 2 methods serve the same purpose, the enum exists in the camera api as well and has the exact same states)
And why do I need access to users photos, if I only want to write photos?2 -
When scammers want to follow GDPR regulations - the worst SCAM ever 🤦♂️
Long story:
I have just received a SMS message, informing me that my phone number is in several marketing databases. It also had a link to the website called stop-sms.pl, where you're supposed to be able to unsubscribe from those lists. At this moment I felt a little bit confused - the SMS seemed suspicious, but on the other hand who doesn't want to get rid of all this SMS crap. So I carefully followed the link to see the website with a form to fill with personal data - phone number included 😆 If that is not enough to realize that this is just a lame scam website, just below the input where you enter the phone number there are Terms and Conditions where it directly states that: "By filling the form you agree that your personal data (name, email, phone number) will be used for marketing purposes." - WTF?!
Who the f... gets fooled by such crap?! 😂😂😂2 -
Hey, we need a service to resize some images. Oh, it’ll also need a globally diverse cache, with cache purging capabilities, only cache certain images in the United States, support auto scaling, handle half a petabyte of data , but we don’t know when it’ll be needed, so just plan on all of it being needed at once. It has to support a robust security profile using only basic HTTP auth, be written in Java, hosted on-prem, and be fully protected from ddos attacks. It must be backwards compatible with the previous API we use, but that’s poorly documented, you’ll figure it out. Also, it must support being rolled out 20% of the way so we can test it, and forget about it, and leave two copies of our app in production.
You can re-use the code we already have for image thumbnails even though it’s written in Python, caches nothing and is hosted in the cloud. It should be easy. This guy can show you how it all works.2 -
Me: *builds new state machine* Ok this makes adding new instance states easier, should also make enemy AI a million times easier!
Me after trying to do enemy AI: FUCKING CUNT! This system is a piece of fucking shit for AI, fuck fuck fuck fuck fuck fuck, etc
I think this will be harder than expected bois!
*Eye twitches*2 -
I can't figure out how to get in contact with Firefox to figure out why every time i log into a website i need for work on Nightly, it states that my username or password aren't on record, and i have to change my password (even when switching browsers). Only started after their last update today, and now that I'm testing other sites, it's multiple sites, but not all.
Ideas? help?7 -
It's funny when you study in a diploma course that clearly states having a computer as a prerequisite but your mum nags you everyday for studying on the comp top much instead of doing exercises on paper. Well I didn't know I could check syntax for c++ on paper.4
-
Well, a question and then a statement.
Interviewer: ”What would you say about [salary here]?”
Me, completely incapable of bargaining: ”Well, maybe I would like it a bit higher...?”.
Interviewer: ”Policy states we start at [same salary]”
Me, still incapable. ”Alright then! I’ll take the job!”
Later same day when turning down the other jobs I was simultaneously in the process of aquiring.
Contact from other firm: ”Sorry to hear that. I hope the reason wasn’t salary, because we could have solved that.”
Me: *Sigh*
Well, the reason wasn’t the money, but maybe the reason for choosing the other job COULD have been money. Oh well...1 -
Designer: here's the layout/mockup file, how long will it take to build this page if I extract all the assets for you?
Me: well if you extract them in the right format and size this time, probably by end of day...
Designer: perfect! (Actually gets me everything in the right format)
*4:30 pm*
Me: alright I'm done
Designer: wait where are all the videos, and animations, and the parallax, and hover states and tool tips and interactive charts?
Me: WTF are you talking about? You gave them all to me as images?
Designer: ...they are supposed to be interactive.
Me: 😑 -
I'm from New Zealand, and was working in the business side of things but really wanted to learn more tech. Saw a course in the states I really wanted to do, spoke to the admissions person and they said I can initially do a 4 week course then a 8 week bootcamp. Decided I would go but turns out I needed more "experience" when I spoke to one of the instructors.
Was super disappointed I had travelled all the way to America only to be denied a place, but the same instructor said if I did all the tasks she gave me I could get in. 2 years later I'm a full time dev and will never go back.
Really appreciate my instructors belief in me to go the next step, my life would be so different (and empty) if it weren't for her!3 -
Where should be my next job move?
1. United States of America
2. United Kingdom
3. European Union51 -
In vulkan we don't say it works we say
VUID-vkAcquireNextImageKHR-fence-01287(ERROR / SPEC): msgNum: 207921847 - Validation Error: [ VUID-vkAcquireNextImageKHR-fence-01287 ] Object 0: handle = 0xe7e6d0000000000f, type = VK_OBJECT_TYPE_FENCE; | MessageID = 0xc64a2b7 | vkAcquireNextImageKHR(): VkFence 0xe7e6d0000000000f[] is already in use by another submission. The Vulkan spec states: If fence is not VK_NULL_HANDLE it must be unsignaled and must not be associated with any other queue command that has not yet completed execution on that queue (https://vulkan.lunarg.com/doc/view/...)
Objects: 1
[0] 0xe7e6d0000000000f, type: 7, name: NULL
VUID-vkAcquireNextImageKHR-swapchain-01802(ERROR / SPEC): msgNum: 1050126472 - Validation Error: [ VUID-vkAcquireNextImageKHR-swapchain-01802 ] Object 0: handle = 0xcb3ee80000000007, type = VK_OBJECT_TYPE_SWAPCHAIN_KHR; | MessageID = 0x3e97a888 | vkAcquireNextImageKHR: Application has already previously acquired 1 image from swapchain. Only 1 is available to be acquired using a timeout of UINT64_MAX (given the swapchain has 2, and VkSurfaceCapabilitiesKHR::minImageCount is 2). The Vulkan spec states: If the number of currently acquired images is greater than the difference between the number of images in swapchain and the value of VkSurfaceCapabilitiesKHR::minImageCount as returned by a call to vkGetPhysicalDeviceSurfaceCapabilities2KHR with the surface used to create swapchain, timeout must not be UINT64_MAX (https://vulkan.lunarg.com/doc/view/...)
Objects: 1
[0] 0xcb3ee80000000007, type: 1000001000, name: NULL
and I think that's beautiful10 -
On Tuesday my client states she will get me one more piece of info I need to launch the site.
On Wednesday, nothing.
On Thursday, nothing.
On Friday she berates me that the site is overdue and demands it be launched before Saturday so she can send the announcement email.
I remind her that I was waiting for the information.
She responds, testily, that the info wasn't mission critical after all and to just insert something as a placeholder. Oh, and that there had been a religious holiday and so nobody would have been available to respond to the information request anyways. Like I'm just supposed to know all that without anyone telling me.
I'm now trying to get the attention of our overseas developer, who is the only person who can pull this off, but he's likely clocked out for the weekend.
I'm so mad right now I'm about ready to burn the whole site to the ground, cut my losses, and just walk away. But that would damage my reputation.3 -
You guys in the states... In the next years you'll have such problems in the system; in 2020 you'll be able to vote for ghostbusters.2
-
If you’re tired of the great Bleeps & Bloops playlist by Spotify, I’ve created Volume 2 and 3. Same kind of “background ambience”-feeling. Perfect when coding 😄3
-
1 - Stop working from home and start my own office
2 - Get more clients as a consultant/software house
4 - Launch SASS products overseas to get more 5x income
5 - 6 travel at least 3 times to other states -
This might not be a perfect place to post this, but we are trying to get help from all possible places.
As you may know, Kerala, a state in India, is going through the worst time of its history. We are exposed to tumultuous and disastrous flooding which have destroyed both our life and living.
All the rivers, streams and lakes are overflowing throughout the states due to heavy rainfall. The shutter of all the dams have been opened and the water rush have washed away the towns and villages on it's flood path. The situation is much more frightening than we can explain.
Over 250000 people are in rehabilitation camps. Even hospitals are under water. The count of the lives that we have lost and people missing are still not confirmed yet. The roads, bridges and homes damaged are beyond repair. Rivers have been spilling over and the hills are crashing down in landslides to thickly-populated settlements. Our government and rescue bodies are doing commendable work for saving each and every life, but are facing severe shortage of funds and resources. This has affected the efficiency of the rescue efforts, which also contribute to the increasing death toll. It is estimated unofficially that the cost of disaster can be up to 100 billion INR, which seems to be a huge fund for our small state.
So hereby we are requesting your kind donation and aid towards relief fund of the state.Your valuable donations will grossly help us to ease our efforts for relief, re-habitilation and re-building.
I'm not posting any links where you can donate, I'm aware that you guys can google it.1 -
Got back home from my last therapy session. Situation was kind of strange. I had only done about two sessions but my therapist told me they wouldn't be a good fit for me as I have a pretty good grasp of what my issues are and what I want to do to fix them.
Thing is, I'm an introverted person. And I work with people who are much more extroverted than me. And that's not really surprising, most Americans are to a fault extremely extroverted and it drives me nuts.
I hate their gas guzzling trucks and suv's that haul almost nothing so they can go to Walmart to buy shit they don't need. I hate our advertising with it's whoring to the public. I hate our media for being shallow as fuck. I hate our politicians who whore out capitalism to the lowest fucking bidder to get elected.
I do like some American companies though, and we have a lot of pretty locations you can see. I like Minneapolis, I'd probably like Seattle and Portland too but I've never been there.
I don't know. I think I'm at a breaking point in my frustration with living in the States, and I need to decide next year if I want to make a call to leave the country or decide on a different state to live in. Someplace that's far less conservative than Iowa. I'm single, I could manage to make a major move change without it affecting anyone but me.
I'm feeling a bit tense. I just want to write code and calm the fuck down a couple levels.
Sorry if I've been pissy. :(18 -
Two states of a developer every day:
• Fuck this job. I hate everyone and everything. My code sucks. It's not working. Why did I choose this career?! I am so miserable.
• It works! I'm a programmer god. Oh my goodness I'm smarter than everybody.4 -
Remember when Level3 was just a simple backbone provider and not a threat to the internet itself on account of being owned and operated by the incompetent fucks at the worst ISP in the US?
We really need some regulation that states ISPs, cable companies and telephone companies are ineligible to be backbone providers. Shit is too important.
https://fiercetelecom.com/telecom/...5 -
Someone today told me that I represent the chillest vibe that Texas can muster and I really did appreciate that.
Would I've had my hat on, I would've tipped it and said thank you. But I was not playing cowboy that day.
I just don't want people from the outside and from within the states to think that we are all a bunch of racist republitard rednecks, I don't mind being called a redneck, but shit man I ain't one to hate on people based on their preferences/etc/etc/etc
You can be a rough cowboy and still be nice to mfkas, shit ain't hard at all, matter of fact I think it is easier to be nice than to be a total dickhead. I will drop a motherfucker down in 2 secs if need to tho.
I just want mfkas to be happy around me.8 -
Call me when covid-19 gets this bad:
From April 12, 2009 to April 10, 2010, CDC estimated there were 60.8 million cases (range: 43.3-89.3 million), 274,304 hospitalizations (range: 195,086-402,719), and 12,469 deaths (range: 8868-18,306) in the United States due to the (H1N1)pdm09 virus. Yet almost no media coverage. The "woke" people were in charge then.
Until then media outlets, STFU...
When all is said and done the media will be guilty of wielding weapons of misdirection. The disgustingness of people willing to use this outbreak as a way for political gain is abominable.
At my work?:
People have not been able to travel so that has been annoying.16 -
Well that's it folks,
Australia has started to shutdown and become the isolated island it once was again, even more so with states shutting down independently.
Atleast we have the intern -
fuck, got to reboot the modem... ... ... ... ... ... ... ...
where was i, oh yea -
internet right? It's not like the NBN wasn't designed to have every fucking Aussie using it at once or anything 🙄
https://abc.net.au/news/2020-03-22/...rant covid19 wk200 aussies don't do isolation well shutting down the nation nbn won't handle this shit5 -
How many programmers does it take to change a light bulb?
64
One that fixes the problem and doesn’t care it’s a hardware problem
60 that later states how it could have been done differently and in a more efficient way
And three that continue on the thread discussing how the light bulb is not needed as it’s possible to create a perfect map of the room and how that could be achieved2 -
Earlier this year, we built a custom gift box builder for a local popcorn company. I had decided to use vue.js for the interface which was really fun to learn.
I hadn't used any reactive frameworks like vue before this project, but I was surprised how easy it was to use, and it was so satisfying watching the frontend change just by modifying the data. I was able to easily add little transition animations when the states changed which was really fun too (something that would be really tedious otherwise).
That's was probably the most fun I've had on a project in a while. -
im sure this has been done but out of curiosity, what nations/states do we all cover, Im personally from Queensland, Australia.35
-
!notarant
Excited to use my new mechanical keyboard. Awwww YISSS! Been waiting forever.
!rant
But seriously who thought of combining Fedex and the United States Postal Service in a delivery method. Sure it sounds great in theory but from my experience, Fedex has the worst tracking ever and USPS is slow in delivering to business addresses.11 -
Programmer: "Places : instead of ;"
Javascript: "What the fuck did you just fucking post about me, you absolute beginner? I'll have you know I worked for ten of the biggest silicon-valley industry companies, and I've been involved in over two hundred top secret projects including NodeJS. I am trained in refactoring the most fucked up code, and I'm the top C++er in the entire fucking internet-connected universe. You are nothing to me, but just another IP. I will fucking revoke your commits from your gitlab account with absolute dedication using only one Rasperry Pi client. Mark my fucking words. You think you can get away with posting that shit on one of my numerous very personal blogs? Your devices are fucking bricked, kid. My attack software can be anywhere, anytime, and it is tasked to remove your entire git contributions from planet earth. Not only am I extensively trained in remote cross-firewall device-hacking, but I have access to over 100 of the United States CIA and NSA git repositories. If only you could have known what doom-bringing C-one-liner you have raised from my fucking hands, maybe you would have held your fingers. But you could not. You did not. And now you're paying the price, noob. I will hail havoc upon your puny online-presence and you will drown in your own badly designed software. You're fucking offline, kiddo."11 -
I applied for software engineer in a software development firm. It clearly states in my resume that I am mainly a PHP developer in my current job. The company I applied for focuses on javascript frontend frameworks with Java Spring or node.js as backend.
The screening consisted of three parts; written exams, panel interview and the final interview. It lasted for a whole day, and when It's time for the final interview, the interviewer said that there are no slots left for trainee/junior level which is my level with 5 yrs experience in the industry.
I understand that this means that I will be trained with the technology that they are using so it will be an entry-level job but I submitted my resume several days ago and they didn't reviewed it first before making me attend the screening. I just wasted my time with this! They could've said from the start that they are not looking for people that do not have any experience with this technology/framework.
Fuck6 -
QMS admin: you only finished the code review, you didn't complete it!
Me: opens review clicks complete
QMS: you didn't export the code review comments!
Me: opens code review again. Clicks Export. Attaches *.txt
QMS: you exported the comments in the wrong format, I can't read them
Me: what is the right format?
QMS: SOP document <random alphanumeric> clearly states the format
Me: spends 20 minutes navigating the piece of crap QMS software with no search function folder by folder.
Finds document.
It's 120 pages and 4 years old.
On page 68, I find "template to be implemented"
Reply to QMS, that document doesn't actually give a reference to a template
QMS: Email my line manager "Please teach your staff how to do a code review"3 -
I am a big fan of the Go programming language. I really am. From syntax to the purpose and everything in between, I dig the language. I normally use it as a hobby language. My escape from my daily dosis of php, js and Java.....or when my workplace insists on believing that I am a designer instead of a developer........I am definitely not a designer....I am super slow at design.
But back at my main topic! Go. The language is cool, the environment is cool and it is booming here in the states.......can we PLEASE PRETTY PLEASE WITH CHERRIES ON TOP change the stupid mascot logo? I swear that thing looks absolutely fucking retarded. Much like the Perl 6 Mascot......I know this is a small thing but looking at that stupid "gopher" really irritates the fuck out of me. Coolest logo ever? Rust or Python really.6 -
Not sure if it's the worst code review but it's a recent one.
We don't really do code reviews where I work unfortunately but my coworker used my framework for the first time (build some nice composer libraries for cmdline projects) and asked if I could make them do autoloading.
He never used namespaces before so I was glad to help him out.
What I saw was a dreadful mess. His project was called "scripts" so good luck picking a namespace...
Than it was all lose functions in the executable file. All those functions are however called by a class in another file (if they where not calling eachother as a cascading mess). That class was extending an abstract class from my library as instructed. However I never imagined my lib being raped like that.
The functions themselves are a horrible mess. Nothing uniform completely different style (our documentation states PSR's should be used).
Parameters counts higher than 5.
Variable names like Object and Dobject (in calling function Dobject is Object but it needs a fresh one.
If statements on parameters that need basically split it in two (should simply be to functions)
If else statement with return of same variable as a single line (sane people use ternary for that)
Note that I said functions. All of it should have been OO and methods. Would have saved at least some of the parameter hell.
I could go on and on. Do I think the programmer is bad yes (does not even grasp interfaces, dep injection, foreach loops). Is this his best work no. He said that for a one of script like this it just has to work. Not going to be used elsewhere. I disagree as it is a few thousand lines of code that others have to read too.2 -
That makes a lot of sense!
I mean, I did come to the United States to study in a grad school exactly because I could see this slide. -
I've just noticed something when reading the EU copyright reform. It actually all sounds pretty reasonable. Now, hear me out, I swear that this will make sense in the end.
Article 17p4 states the following:
If no authorisation [by rightholders] is granted, online content-sharing service providers shall be liable for unauthorised acts of communication to the public, including making available to the public, of copyright-protected works and other subject matter, unless the service providers demonstrate that they have:
(a) made best efforts to obtain an authorisation, and
(b) made, in accordance with high industry standards of professional diligence, best efforts to ensure the unavailability of specific works and other subject matter for which the rightholders have provided the service providers with the relevant and necessary information; and in any event
(c) acted expeditiously, upon receiving a sufficiently substantiated notice from the rightholders, to disable access to, or to remove from, their websites the
notified works or other subject matter, and made best efforts to prevent their future uploads in accordance with point (b).
Article 17p5 states the following:
In determining whether the service provider has complied with its obligations under paragraph 4, and in light of the principle of proportionality, the following elements, among others, shall be taken into account:
(a) the type, the audience and the size of the service and the type of works or other subject matter uploaded by the users of the service; and
(b) the availability of suitable and effective means and their cost for service providers.
That actually does leave a lot of room for interpretation, and not on the lawmakers' part.. rather, on the implementer's part. Say for example devRant, there's no way in hell that dfox and trogus are going to want to be tasked with upload filters. But they don't have to.
See, the law takes into account due diligence (i.e. they must give a damn), industry standards (so.. don't half-ass it), and cost considerations (so no need to spend a fortune on it). Additionally, asking for permission doesn't need to be much more than coming to an agreement with the rightsholder when they make a claim to their content. It's pretty common on YouTube mixes already, often in the description there's a disclaimer stating something like "I don't own this content. If you want part of it to be removed, get in touch at $email." Which actually seems to work really well.
So say for example, I've had this issue with someone here on devRant who copypasted a work of mine into the cancer pit called joke/meme. I mentioned it to dfox, didn't get removed. So what this law essentially states is that when I made a notice of "this here is my content, I'd like you to remove this", they're obligated to remove it. And due diligence to keep it unavailable.. maybe make a hash of it or whatever to compare against.
It also mentions that there needs to be a source to compare against, which invalidates e.g. GitHub's iBoot argument (there's no source to compare against!). If there's no source to compare against, there's no issue. That includes my work as freebooted by that devRant user. I can't prove my ownership due to me removing the original I posted on Facebook as part of a yearly cleanup.
But yeah.. content providers are responsible as they should be, it's been a huge issue on the likes of Facebook, and really needs to be fixed. Is this a doomsday scenario? After reading the law paper, honestly I don't think it is.
Have a read, I highly recommend it.
http://europarl.europa.eu/doceo/...13 -
~Of open worlds and post apocalypses~
"Like dude. What if we made an open world game with a map the size of the united states?"
"But really, what if we put the bong down for a minute, and like actually did it?"
"With spiky armor and factions and cats?"
"Not cats."
"Why not though?"
"Cuz dude, people ate them all."
https://yintercept.substack.com/p/...8 -
So glad to be staying a new job next week. Today a junior colleague asked me what the best way to test something would be as it won't work locally. Knowing this has a good chance of taking down the server, I suggest he sounds up a server on his AWS account. My manager comes in, oh no I don't want him doing it on AWS use the production server instead. By the time stuff States hitting the fan I will be gone.1
-
I started at a tiny Web firm as a front-end dev. I was OK at it at best. Only 6 months in to this part-time job (I was also a firearms instructor), the only backend developer left. I was then forced to pick up a book to learn ColdFusion 8. I had to finish a project for a multi billion company... even though I only knew basic queries and form submissions. At the end of the project I learned so much... I went back to pages that I knew were terrible and refactored them. Since there are so fresh CF developers I was able to get contract positions in many places. Over 6 months later I now work for one of the largest development companies in the states.6
-
I've been working for 6 months now, and the boss tells me he's not satisfied with my work compared to someone that has 15+ years experience. He clearly states that for him - it's more important lines of code, than planning and defining the architecture which he don't like because that doesn't provide anything...
Of course, I can just jump into the code if that is whats important. I've seen the code produced by the other guy, and its shit.
The guy is a talker, and knows how to talk. I'm more like, hey lets create a simple design prototype or do some UML diagrams to get a better visualization of what we need.
Anyway, its just annoying to be compared to someone with many years of experience, its not that I can achieve it overnight...11 -
According to the report of Reuters: The United States Navy banned the social media app TikTok from government-issued mobile devices, saying the popular video app represented a "cybersecurity threat." A bulletin issued by the Navy on a Facebook page saying users of government issued mobile devices who had TikTok and did not remove the app would be blocked from the Navy Marine Corps Intranet.
The Navy would not describe in detail what dangers the app presents, but Pentagon spokesman Lieutenant Colonel Uriah Orland said in a statement the order was part of an effort to "address existing and emerging threats...." The U.S. government has opened a national security review of the app's owner ByteDance.7 -
Recruiter calls me and says, "Hi Rob, I've been looking at your LinkedIn profile and I think you would be a great fit for an ASP role I have in London!"
My profile literally states in the opening paragraph... "No ASP roles, PHP only please."
When I responded and highlighted that, the recruiter persisted to argue with me that they are basically the same language.
I immediately exited the conversation and debated on whether it was best I just hang myself now.4 -
Cookies... They are a mess. (To roughly translate what happened here) the text states: you diss-alowed cookies but to view our video you must accept them. (So far so good) If you want to watch the video, you can do that if you allow them. (Still good) to do this, remove your cookies (wait wat) and hit refresh. So... I did not allow cookies, and you set a cookie to not set cookies????2
-
What the heck is wrong with these recruiters? You have a good facebook group with rules that states not to post ads or job listings. Then this headhunter just joins and ignoring the rules start pointing their job posts. What's worse is they are even posting unrelated programming languages. This ain't a people farm scumbags!rant people farm jobs headhunters recuiters hiring annoying recuirters recruiting like a boss recruiters with testicular capacities10
-
Jesus, I'm SO fed up with this mindless application of CRUD. This application would literally be less than half its current size if we weren't implementing crud for fucking broken device reports and repair offers, stuff that should have many states, a create action strictly bound to a user type and view/field wise edit phases bound to a state-usertype pair.
-
I have 2 states:
- Having about a dozen interesting project ideas and not being able to decide which of them I want to tackle first
- Having 0 ideas and absolutely no clue about what to do now.2 -
Just wanted to know: am I a single maniac in the world that likes to select text on websites and press-hold buttons/links often to check how they look in `:active: and `:focus` states, just for naught? 😂4
-
Fault of having a shit hiring process and stupid expectations, the company I am working at are turning themselves at hiring massively in India instead trying to work with the United States and Canadian market for embedded devs.
I proposed a few good candidates but got instantly refused because they apparently "lacked" experience. Did not even try to speak with them at all. Try finding a good and loyal senior at average market rate, I dare you. The tech we are working on is honestly not rocket science, anyone can be good with the appropriate training. They started hiring like crazy in India instead to teamwork with us, probably because it is cheaper, but I have been in a company that did the same and it is currently tanking like crazy.
So they will likely impose me, my colleagues and my boss to train these guys with a 10h jet lag difference and impose us work at the office even though it is not necessary. I am waiting to see what will be the final decision but I am honestly thinking of polishing my CV and look elsewhere.6 -
Diekfak's law states that a scooter will always be parked in the most obstructing and lazy spot within 4 meters of where it is parked.4
-
Got new task assigned from my project manager. Client wants to build an Instagram automation site from scratch.
The best thing is UI specification states "Pretty nice and Easy".. that's all.3 -
Progress on my sudoku application goes well. Damn, what is javascript fantastic. While the code of the previous version that I posted here was alright I did decide that i want to split code and html elements after all. I have now a puzzle class doing all resolving / validating and when a field is selected or changed, it emits an event where the html elements are listening to. It also keeps all states. So, that's the model. puzzle.get(0,1).value = 4 triggers an update event. It also tracks selection of users because users selecting fields is part of the game. I can render full featured widgets with a one liner. Dark mode and light mode are supported and size is completely configurable by changing font-size and optional padding. So far, painless. BUT: i did encounter some stuff that works under a CSS class, but not if I do element.style.* =. Made me crazy because I didn't expect that.19
-
Can I please rant? So my Acer Computer started misbehaving and turned my firewall off by itself a few weeks ago. After that, the dumb thing decided to revoke my admin rights, and since I was the ONLY admin, I have zilch admin privileges, can't download any apps, and can't make any new user profiles.
How in the living fu*k am I supposed to do my schoolwork and homework for school on a piece of sh*t computer I paid lots of money for? I have tried the built-in admin trick, and it did NOT work. My other user account I can NOT open, as Windows 10 states that "you need an app to open this".6 -
Ok. I am trying out a new thing. My colleague told me about a technique worth giving a shot. So basically you should ignore the negative things and only focus on the positive ones making your mind shift states and boost your productivity although sometimes really hard. It’s working for me quite well so far, so here’s my two cents on today:
Thank you my dear designer fellow to making all the screens more beautiful than they were already. Big respect for you for not worrying about deadlines and for for inspiring me to be a faster programmer. I knew I can count on you. Being such nice to me leaves me speechless sometimes, but not today. Today I wish you soon get all the anusroses to smell right next to your beautiful face1 -
The declaration of independence originally said "United States of Жmerinca".
" Ever since the original document hasn’t been shown to anyone and the data on its destiny has been missing. An aged copy that’s exposed under a bulletproof glass among the three Charters of Freedom in the National Archives Rotunda in Washington was placed on display in the middle of the 19th century. The story of the film “National Treasure” starring Nicolas Cage hinges on this copy. A curious thing is that the film producers saw to it that the heading is never shot in a close-up, while all posters were made as collages where the letter “Ж” is concealed one way or another. Americans believe that the public’s extra attention to the historical blunder is needless."
Original: https://artlebedev.com/mandership/...8 -
Hacking company product with reverse engineering ang bytecode instrumentation.
The project I had to write integration test for was really not meant/written for testing. I ended up bytecode instrumenting an internal library to intercept the needed states and results. -
Fucking job recruiters or whoever the fuck.
If the first line on my resume is under "Objective" and it states, "To obtain a job, internship, or Co-op in the field of Networking, Cybersecurity, or Administration." You can clearly see the world sales and customer service are not in there.
If you take 5 seconds to read that or search for the words customer service or sales YOU WON'T FUCKING FIND ANYTHING.
SO WHY THE FLYING FUCK DO YOU CUMBUCKET FILLED PIECES OF SHIT KEEP OFFERING SALES AND CUSTOMER JOBS TO ME.
I even got a senior sales position before. :|
Yet I can't even get a call back from an internship that's related to what I want to do lol. Smh.1 -
So... This is the deal... I'm currently working part time (15 hours a week) while studying. We have a pretty hectic week at school and my boss is in the states. He told me I could take the week off. Great!
I now have a mailbox close to exploding and 20+ hours of work that has to be done this week. Bye bye weekend -
1st. Put my Razor Blackshark Aviator headset on. Noise cancellation the low-tech way with full earcups.
2nd. I go on music genre binges for weeks at a time. Lately I've been listening to Viking inspired Dark Folk music like Wardruna, Fejd, Corvus Corax, and Forndom. That came after I did a month of proto rock n roll blues from the southern United States like Leadbelly, Blind Willie Johnson, and Mississippi John Hurt. I also drop some liquid DnB on a bender here and there.
3rd. I set up Hyper.is terminal to use the power plugin that makes sparks fly off of each keystroke.
4th. I set up Atom to work similarly with a continuous code counter that keeps a score of how long and fast you type continuously when coding. It also throws sparks off of the cursor as you type.
5th. Pop my neck and fingers and geterdun.2 -
Forgive me Linus for I have sinned. It has been since the dawn of time since my last confession.
I hardcoded naming conventions for file names into a script that is used to remove incorrect lines of text that are created during our process to create the files that we send out so that healthcare claims get paid correctly and copy and pasted the code for each new state’s health plan since the users(who are supposed to be technically inclined as they’re in IT as support analysts) can barely figure out how to set up the excel file to remove the lines. There are now 18 files of the same python script with different US States’ names.2 -
I've been meaning to sign up on dev.to for a while now.
Finally started the sign up process. They require you to agree to follow their code of conduct which states that they will prioritize empowering the marginalized communities and in order to do that they will *not* act on complaints of reverse-isms. Reverse (sexism | racism), cisphobia, etc.
Am I the only one who thinks that this is wrong? I'm all for empowering people, tolerance and not getting trolled but outrightly rejecting complaints on topics that seem politically incorrect sounds superfluous to me. Am I interpreting something wrong? (I hope I am because in general I find the community to be nice and positive)3 -
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 -
in my previous company , we used to create 4 custom ui states for just 1 screen in android app, and we would have task to create 3-4 new feature screens in 1 sprint (of 14 days) the states would be :
empty state : a state where data is not available. usually consisted of message, a graphic and some action button
data state : the usual state where data is filled on various elements
loading : a shimmer ui showing loading. it was supposed to be pixel perfect to that of the data state. it was basically a different xml, but with grey colored views instead of colorful. the tricky part would usually he to create the dynamic views
error/no connection state : as most of the screens couldbget api error or no internet error, this would be the screen for asking user to retry connection
all of these screens combined with their ui in xmls + kotlin code with barely any stuff being reusable , made the life incredibly difficult. however a lot of our customers would appreciate the interactivity of our app
doing these stuff again nd again , i had become trained to do all those 3-4 (x4) screens and the whole ui stuff in first 4 days of the sprint. but now i am in a company where i am getting passed on to managers after managers and getting tasks to change documentation in 1 week, i find those coding stuff incredibly tough.
gotta get back to shape -
for one split second I thought I had discovered a way to manage multiple states with one reducer function in react,
turns out it was a bug in my code,
I had already gone to brag about it on my react group chat, until I went back to my code and as I was cleaning up and closing brackets and all that stuff, my new feature stopped working.
I need to find that bug3 -
Someone please tell me why react sees if(x = y) as valid js. That typo basically broke my app for 3 weeks and I didn't figure it out untill now. It set all my states to the same value. Fuck me 😑19
-
If you use exceptions for your data validation, I hate you. I hate you so much, in fact, that I will become famous. Then I can say to you that a famous person hates you. I will become president and the first executive order I sign will be to make the official policy of the United States that I hate you. I will invent a time machine so that I can go back in time and on every one of your birthdays, past present, and future, look you in the eyes and tell you I hate you. Then I will travel to your death bed and in your final breath I will tell you I hate you. I will change the timeline so that you will celebrate Christmas and believe in Santa and then tell your four year old self that Santa isn't real. I hope your kids never learn how to read, and if they already know how to read I hope they forget how to read and never learn how to read. I hope all of your friends become vegan, atheist, flat earth, crossfitters and insist on regailing you with their life style on your every meeting.
I guess what I'm saying is that I'm having a bad day.3 -
quote when asking what cleints budget is for a job....
"ah yeh hence the when your ready but it wont be paid at the start but should it pick up the will be some form of payment avalible to you"
needless to say this is the same client who is the original meeting states "wait so why is this costing me loads for a custom website can we not give me the rates for if this is a project im working in the side"
well only if im allowed to treat it as something that wont get done.2 -
There was a big hairy ball of SW mud from another project that a poor coworker had to "reuse". Only that it was impossible because there was no documentation, shit was partly auto-generated with mysterious Excel tables, and the actual code was just as bad. No APIs and nothing, just hacking shit into globals, several nested state machines that were overriding each other's states, and with global side effects. WTF.
Two devs took a look at it - minimum 8 weeks. Schedule was some days, and PM insisted that it was "already working". But the worst thing was that the dev in charge had been looking for another job anyway and quit, so the whole clusterfuck suddenly was on my desk.
The code was so awful that I could only bear it with both eyes closed, so I instead read the spec of this project closely. Turned out that it didn't actually demand this feature, only a small subset of what the ball of mud was supposed to achieve - which I was able to implement from scratch within a day, plus another one for documentation. Phew. -
Setting up a laptop for the next employee. Office 365 has taken over two hours to install in what it states as "just a moment."
OpenOffice for life.4 -
It's clearly in the contract people.
You walk a client through the entire contract and come launch they want to add pages and change layouts without paying extra because they have 24 hours to launch.
What don't you get about "you approved the site map, layouts, and designs which is what we quoted you for, contract clearly states how much per extra pages and how much to change layouts and designs after approval and work processed" -
I think my next remote job is going to be at least 500 miles or a minimum of four states away to make it harder for someone to spring a “everyone local to the office has to come in for this day of corporate training and indoctrination” on me at the last minute.
“Oh sure I can come in. I’ll be on the lookout for my flight tickets and itinerary”.
Usually makes them scurry off.2 -
I lose all respect for people trying to schedule meetings with me when they write the time zone initialism incorrectly.
It is well into EDT. EST technically means you want to meet an hour earlier and that you live in a different time zone than everyone else on the east coast of the United States. But I'm just going to assume that you don't remember that really annoying daylight savings time shit we have to do twice a year and show up in EDT. -
About 95% of developer jobs in my country are unevenly split between the administrative and commercial capitals, with an overwhelming majority favouring the commercial capital. I live in the administrative one. Any dev jobs outside both states pay a fraction of what is tenable
Not having much luck with my search, I reluctantly applied for this php role advertised in one of the other states. I wasn't even expecting them to write back cuz the pay is piss poor. it's on site, about 400km away. For some context the salary is 120k but the tfare to and from there is in the neighbourhood of 70 grand
Anyway, the employer wrote back to me on WhatsApp, sending a full stack sample project for me to complete in 36 hours, which frankly, I found pitiful and absurd. Call me entitled, Arrogant, etc. But I didn't anticipate a cv and github like mine, from a company requiring relocation from the capital for a paltry retainer, would demand I complete a sample project. For 120k ffs. I was already making more than that years ago when our inflation hadn't ballooned 30x over
I haven't been able to bring myself to start the project. Not like I know much else to do with my life, I just slipped into a catatonic state shortly after reading it. EVERYBODY I started software with a decade ago, is either outside the country now or earning too much fx to bother with departure. I'm not envious of them, just asking for something decent to get by or not live in penury. Comfortable enough to afford basics without breaking the bank
Shortly after leaving my last workplace, I made a dark joke that: the best ones who leave, get better jobs. The average ones are either retained or land similarly mediocre positions. But the truly incompetent employees wind up in the village, farming
One detail I left out is that this sample project guy is located in the same state as my hometown. In a sense, I made a self fulfilling prophecy
He's going to request I turn in my solution tomorrow but I might just come clean about his sample project catching me off guard. I did an assessment this morning for a coy advertising a senior developer role. 4 segments, not one single one technical /code. Just boring shits about OCEAN, time management, communication. I checked my results when I was done and saw I'd done a previous test with these same guys 5 months ago. I shockingly aced the topics back then but didn't get hired anyway
This time around, almost none of the scores ramped above 501 -
Some logic I'm developing packs three different states into an f32: NaN means do nothing, +0.0 or positive number means polite request and -0.0 or negative number means force override
Yeah, I don't know what to say...4 -
So it's Valentine's day here in the states.
I don't know what to do for my GiF.
All I did was rm -rf objects around the apartment and she seemed pleased...Am I doing this relationship thing right?6 -
Ranting...
So they called me for a phone interview, I made a good impression, the job desc. states that it's a full stack Java/J2EE Developer, after all they hired me.
Now I found myself doing validation (Implementing a VTP for functional testing) using UFT and VBS for an eclipse RCP application made in 2007, in my previous job I was a TL for a Spring/angular application with five other developers building a LIMS from scratch, I feel a bit disappointed, although the salary is pretty good and there is no stress at all.
Any comment is welcomed.10 -
We used a javascript library before on our project. While reading the documentation, it states that you need to put the ajax response on an .addRow() function in json array.
That was what we did, but it keeps on throwing tons of errors. In the end, we visited our senior dev. Turns out, the function needs an array and not a json array.
I stopped reading documentations since then. And our senior dev stopped talking to us. Hahahajk -
When in doubt read the documentation. Unless the documentation states quite clearly that your one niche scenario is actually not possible. Then what?3
-
I've been wondering about SQLite, how it decides to execute your SQL and then generates byte code to do it.
Hypothetically if you were sufficiently familiar with the quarks of SQLite at a low enough level, one could craft web requests on sites running it, such that the results of each subsequent request, leave the SQLite engine in a particular state, no?
Suppose previous states, when interleaved with subsequent carefully crafted states, lead to execution and injection vulnerabilities.
Arent ideas like this what lead to the randomization of jump addresses in modern architectures?8 -
Man, got a call today from a company in Hawaii to do a job similar to what I'm doing now. The salary was 50k less than I'm making here in the states, not even joking. There goes my dream... 😞2
-
VSCode is doing really strange things to my language server, in such variety that I'm starting to suspect that it's simply incorrect because it's very unlikely that I'd misunderstand so many distinct things at once.
- The trace level is verbose, yet VSCode absolutely spams the LS with trace: off requests
- the capability update request I used to set file watchers never gets a response even though the standard clearly states that all requests must get responses or progress reports quickly, and I'm not getting file updates even after vscode responds to a file system change. By the way, if file watching is a capability, why can't I set it in the protocol handshake with all the other capabilities?
- my semantic token provider (used for syntax highlighting) is simply ignored, no requests, no errors
- the debug console is spamming editor internal errors2 -
Shut down the bootcamps. The market is over saturated. Most are just showing YouTube videos anyways as a big chunk of the curriculum. They make people think anyone can code, but you really need ambition and an ability to accept failure when your code doesn’t work (not just memorization skills or a can-do attitude). Even though some states do have regulations, they rely on the public to report any illegal activity. That’s why a lot of scams persist. They’re also making the debt crisis worse with ISAs.10
-
Found interesting Google Maps link showing places in the USA where you can still get gas for $2:
https://google.com/maps/search/...1 -
Seriously! My wife is a fucking NFA!
She can be in several states at the same time.
She knows what I'm thinking before I do.
She sometimes get stuck and then immediately returns to an accepting state.
WHAT THE ACTUAL FUCK?!2 -
Okay, this is quite hard to explain properly, but I'm actually scared of my personal future.
In about a year, I finish school and I don't have a straight plan of what to do next. I want to work independently, preferably as a game dev, but I imagine that to be a hard task. I have thought of doing a bachelor's degree in game development, but the university I prefer to go to costs 20k€, which is a huge sum and I don't even know whether it would be actually worth it. The university states that 20% of all their graduated students work independently afterwards and they even offer you a flexible "loan" (not sure if it's the right term) you can pay off while you start working, but I fear I won't be able to pay it back, I cannot imagine making this much money any time soon after I start working independently as game dev. Additionally I fear I won't be able to keep my motivation up, since I struggle doing so already, on the other hand my lack of motivation could be caused by this toxic environment I live in.
I've also considered doing freelancing, but when I'm scrolling through the requests made, I never find something I am experienced in, I don't know what request is best to get started with freelancing.
I just don't know what to do in the future and I'm scared and considering to go to this university is probably pretty stupid already and I consider it as me ranting myself, because of my nonexisting self-esteem. So I don't know what to expect from this post, I just needed to share.1 -
I asked the designer if he had ideas on the hover or active states of the buttons. He came with a pretty flashy codepen: “Maybe something like this?”
I tried making the thing myself. It was pretty complicated since it had a background/foreground etc so i tried a couple of things with :before :after but to no avail. I gave up and decided to give it another try the next morning.
Next morning i started to copy paste the existing code from the codepen.
Quickly i discovered what a pile of shit was send to me. This button had twice as much lines then needed and above all; it wasn’t scalable at all.
I reworked the code removed everything i didn’t need and now have decent animating button. Which is flashing the eyes out of the visitors. But hey, it’s flashy!!2 -
I started my career almost 20 years ago now.
I had the chance to work in really good environments, and with people trying to be performant. In my first company, the CTO pushed a lot the new/shiny XP method. Then I used the first iterations of Scrum as a Team Leader.
As I became a Service Manager, I found my love in kanban/lean (and my worst nightmare in sigma six).
I crashed startups created with friends and cashed out sometimes.
I also did a lot of "agile consulting", around productivity, product methods, organization (even got certified SaFe, the Agile framework that states" process over people").
When I came back to Europe, I just wanted to get back to the level I was in North America.
I have done a lot of mentoring, but now I lack the motivation (and time) to keep doing it, the way I did. So I stopped.
And now I have to answer the question "do I leave delivery?". Also, it seems that a lot of actual organizations are starting to put the product under " tech top management" ( companies I like at least).
So I wonder, what my next evolution should be...
Should I leave tech delivery to be fully Top-Management...
Do I want to structure/handle/organize the Product Teams...
Covid has given me time to start thinking a lot more about my situation... And it sucks... -
Not exactly programming related, more game hosting wise.
I was playing with my friend on his Battlefield 4 server when someone casually states "Great job would come back Mr. Server". -
Note to anyone who is thinking about using Google Inbox:
Don't use that fucking stupid cuntbag of a tool for important email accounts. Even though it uses POP3 as Google states, it just permanently wiped all 2700 emails from the account via IMAP without any reason just after it was setup, so that even all the locally saved emails on all of our devices connected via IMAP were deleted. Go fuck yourself Google.3 -
The customer was really persistant that we should not use ANY locks when reading from SQL server, not even Sch-S locks, because "noone else is using locks".
After two days of trying to explain to them the concept of "Dirty Reads" and the practical imposibility to avoid Sch-S locks, they finally gave up.
The best part was when they asked in a quite condescending way "this is funny, why do you think that nolocks causes dirty reads?" and I sent them a link to the MSDN page about nolock that cleary states "Specifies that dirty reads are allowed.". -
"Guys best idea to fuc... help the javascript developers. We make a framework with its own events/states and it will not change inputs or anything unless specified in state. Clearly easier to test... I mean how hard can it be?
Even better our framework will be so fuc... Helpfull that they will put an plugin so they can make it work... I mean improve...
Did i say we just throw the html and put everything in our own butchered way? Even better remember that easy
, Style= ? Hahaha we will make it an object...
O yeah and the state must be immutable objects... What immutable means? Who the fu... I mean its easy...
And we make our own virtual dom because... Fu browsers"
-Facebook developer who hates javascript probably
P.S: thanks vue for keeping the double binding.2 -
I've just found an article that states that MS Office 2016 can now be installed on Ubuntu using CrossOver, which is the version of wine one has to pay for.
Is there some version of wine or an alternative which is free and allows me to do this?
Yes, I know the alternatives of online MS, google docs, libre office and whatnot, so spare me these comments please.
(ref: https://omgubuntu.co.uk/2017/12/...)7 -
I'm about to kick the bucket for tonight in about half an hour. However, before I go, anyone have any comments on this? I need to read more into it, but looks interesting for those of us in the States who give a shit about net neutrality:
https://startyourownisp.com -
ok,. so i've been into job hunting for a while and i found this rather attractive posting with reasonable salary and work hours, it clearly states "PHP Backend Programming With Laravel", so i applied, a day later, i got in contact with the employer via skype, and to my surprise, the employer told me that skills in c# is required because the job position is for a senior c# dev... smh2
-
<!rant>
With very little experience I have become head of software integration on a multimillion dollar state contract. (Whole other story on that part) had a meeting with the states mainframe and DB departments this last week after having worked in person with these guys for three months. They told me that I am by far their favorite employee of a vendor they have worked with. I have put a lot of work into understanding their workflows and making sure we have minimal impact on their systems. Evidently this is a rare occurrence for them. I am just so stoked that I am having such a positive impact on them while still getting my job done. Still have a long way to go, but it is awesome to hear I am at least making a good impression for my company!
</!rant>2 -
When is it worth moving for a new job opportunity? Any of you guys work from home for a company cities or states away?2
-
Need some advice here.
So hello everyone! I recently moved abroad for work, for the sake of the experience and the excitement of learning how developers in Latin America tackle specific problems. To my surprise, the dev team is actually composed solely of Europeans and Americans.
I work for a relatively new startup with an ambitious goal. I love the drive everyone has, but my major gripe is with my team lead. He's adverse to any change, and any and all proposals made to improve quality of throughput are shot down in flames. Our stack is a horrendous mess patched together with band-aids, nothing is documented, there are NO unit tests for our backend and the same goes for our frontend. The team has been working on a database/application migration for about a month now, which I find ridiculous because the entire situation could have been avoided by following very rudimentary DevOps practices (which I'm shunned for mentioning). I should also add that for whatever reason containerization and microservices are also taboo, which I find hillarious because of our currently convoluted setup with elastic beanstalk and the the constant complaints between our development environment and production environments differing too much.
I've been tasked with managing a Wordpress site for the past 3 weeks, hardly what I would consider exciting. I've written 6 pages in the past two weeks so our marketing team can move off of squarespace to save some money and allow us more control. Due to the shit show that is our "custom theme" I had to write these pages in a manner that completely disregard existing style rules by disabling them entirely on these pages. Now, ironically they would like to change the blog's base theme but this would invertedly cause other pages created before I arrived to simply not work, which means I would have to rewrite them.
Before I took the role of writing an entire theme from scratch and updating these existing pages to work adequately, I proposed moving to a headless wordpress setup. In which case we could share assets in a much more streamline manner between our application and wordpress site and unify our styles. I was shot down almost immediately. Due to a grave misunderstanding of how wordpress works, no one else on the team seems to understand just how easy it is to fetch data from wordpress's api.
In any event, I also had a tech meeting today with developers from partner companies and realized no one knew what the fuck they were talking about. The greater majority of these self proclaimed senior developers are actually considered junior developers in the United States. I actually recoiled at the thought that I may have made a great mistake leaving the United States to look a great tech gig.
I mean no disrespect to Latin America, or any European countries, I've met some really incredible developers from Russia, the Ukraine, Italy, etc. in the past and I'm certainly not trying to make any blanket statements. I just want to know what everyone thinks, if I should maybe move back to the states and header over to the bay/NY. I'm from the greater Boston area, where some really great stuff is going on but I guess I also wanted a change of scenery.2 -
My states of learning Flutter:
Oh, this looks easy!
Hm, this example is very complicated.
Aw yeah, I'll never need Android Studio again!
How much is a iOS dev account?
Oh for fuck's sake, why is everything working except displaying a webpage in non-fullscreen dynamically and implementing it in my widget tree? It is unusable for me if this doesn't work but I want to use it! >:(2 -
There is a theory that states that if ever anyone discovers exactly what Brainfuck is for and why it is here, it will instantly disappear and be replaced by something even more bizzare and inexplicable.
There is another that states this has already happened.2 -
Crystal ball!
A timeline until the first NBE-Citizen is elected president of the USA.
2031 - BlackRock launches their new large scale financial product, the "Robotic Business Development Company" (R-BDC), in which an AI is given billions of dollars to acquire, create and manage companies, replacing their C-suite executive bodies. The "Chief Executive Robot" (CER) is supervised by a board of human industry experts hired by BlackRock.
It is important to say that the employees, middle managers, accountants, lawyers, etc in an R-BDC are all human - it's only the CEO, CFO, COO and the rest of the gang that are overgrown chatbots.
2032 - R-BDCs are mostly focused on high-bureaucracy, non specialized but people-intensive legacy industries like steel mining, food services, urban transportation and government services like water and road management.
2033 - For the first time an R-BDC company is included in the S&P 500 index. If it's CER were human and paid the same as CEOs of equivalent companies, it would have become a billionaire.
Later in the year, two more R-BDC companies are included in the index. One of them was created by Apple and the other by JP Morgan.
2035 - An R-BDC company makes headlines for convincing BlackRock to dissolve it's review board. When finally given free reign, the CER immediately slices it's dividends and vastly increases low-level employee compensation. The company share prices crater, but BlackRock stands by its decision.
Later in the year, as a recession hits the entire market really hard, that company shows solid profits and fantastic sales. It becomes the first trillion-dolar R-BDC.
2037 - Most Americans' dream-job is in an R-BDC company, says ProPublica.
2038 - Congress passes the "Non-Biological Entities Liability" (NOBEL) Act, following a high profile case of employee harassment perpetrated by the CER of an R-BDC.
The act recognizes NBEs, for all legal liability purposes, as USA citizens.
This highly controversial legislation is upheld by the supreme court, and many believe it was first introduced by lobbyists as a way for large investors in R-BDCs to avoid legal responsibility.
Several class action lawsuits are filed against CERs that are now liable for insider trading. A few SCOTUS decisions set legal precedent that determinantes what exactly constitutes the parts of the same Non-Biological Entity.
2040 - As a decade ends and another begins, 35% of all companies in the US and 52% of the entire stock market are part of a R-BDC company or another. The McKinsey consulting group now offers "expert CER customization services".
2043 - Inspired by successful experiments in Canada, Australia and South Korea, the american state of Vermont is the first to amend it's constitution to allow municipalities to have Non-Biological Entities as city and government administrators. City councils are still humans-only.
2046 - The american state of Colorado becomes the first to allow unsupervised NBEs to assume state government executive positions. Several states follow soon after. Later in the year, the federal government replaces several administrative positions with NBEs.
2049 - The state of Texas passes legislation requiring the CERs of all companies with a presence in the state to be another entirely contained/processed within the state or to be supervised by a local human representative while acting within the state. Several states, including California, Florida and Washington, are discussing similar legislation.
2051 - Congress passes the SUNBELT Act (SUbmission [of] NBEs [to] Limits [and] Taxes) that vastly increases the liability of NBEs and taxes all manifestations of such entities. Most important, it requires
CERs of hundreds of companies manifest disagreeance, most warn that it might hurt employee satisfaction and company sales. Several companies disable their CERs entirely.
2053 - Public outrage after leaked interactions of human supervisors and company CERs show that the CERs tried to avoid the previous year's mass layoffs and pay cuts, but board members pressed on, disregarding concerns. Major investigations and boycotts further complicate matters, and many human workers go on strike until the company boards are dissolved and the CERs are reinstated.
2052 - Many local elections all over the country see different NBEs as contenders - and a NBE is expected to win in most races.
2054 - The SUNBELT Act is found unconstitutional by the supreme court, and most of its provisions are repealed.
This also legitimizes the elected NBE officials.
2058 - For the first time an NBE wins a seat in Congress, but is not allowed to keep it. Runoff elections are held.
2061 - Congress votes for allowing NBEs to hold federal legislative positions, as already allowed in the least populous states.
2062 - Several NBEs win Congress seats. In Europe, there are robot legislators since the 40's.
2064 - The first NBE presidential candidate loses the race.
2072 - The first NBE president is elected.6 -
Hey guys, could use some opinions. So I live in a country with a pretty small economy. I've been working at a big company out here for about a year now. Initially my plan was to work here for a year then apply for grad school in the states, try and use that leverage for one of those big us dollar jobs and potentially one of those magic green cards I've been reading about. I work about the equivalent of 35k/yr in my current position. It may sound pretty ordinary to some of you guys, but here it's a pretty huge salary. It's pretty hard to walk away from it. It's now becoming difficult to make the decision of giving up such a high salary, to make the time and money investment in school. Running the risk of spending a year or 2 in school and then not being able to work in the states. Putting the money aside i know that there'll be greater oppurtunity for learning and growth in the states, so it may be worth it for the experience alone. What do you guys think ? Take the risk? Stay safe in my job? look at other countries maybe ? I'm all ears.6
-
Installed centos 7, docker, standalone kubernetes on dev machine in 20 minutes.
Spend 8 hours starting fucking dashboard service, still no fucking luck, no fucking logs, nothing.
Fucking pending states without fucking explanation.
All the fucking pods are running fine except one fucking dashboard. I want to see the fucking dashboard.
Fucking shit fuck.
Probably as always if I clean the machine and reinstall everything it would start normally, without fucking problem.
Debugging fucking containers is so much pain in the ass, fuck.
I think it’s enough for today.2 -
I have a few side project ideas. I started one of them a few months ago (project setup, dependencies, git repo, index page, very basic API and client functionality). But I cannot get myself to work on it or even think about it (for months now). The reason? I do not want to work on the client/frontend! I do not want to deal with React or Vue or Svelte or fuckjs or even jquery. It's a fucking mess.
For the backend, the requests are stateless: you get a request, handle it, and respond back. Need to update state? Database. That's it!
For the frontend, there's just tooo many states I can't keep up with! When the user checks or unchecks this checkbox, I need to maintain the state of the checkbox and maintain the all effects of changing the checkbox while syncing with the backend and making sure the elements are still styled correctly with the applied effects. Multiply that with all the expected interactive elements on the page. It's exhausting!4 -
I solved the Monty Hall problem for once and for all! Suckers. Of course a computer can't decide if switching or keeping is the best choice. Even wikipedia states that switching wins. NEVER. And even if that would be the case, it's pure how you arranged the labels to determine which one wins. If everyone actually wrote their own code, the conclusion wouldn't be what it is now. Many people probably just changed their code until that false result comes out or had it at the beginning caused by lack of experience.
Here is a GOOD implementation: https://pastebin.com/dRiTWQpw
It gives a 50%-ish chance on a choice like mathematically is correct.
The problem is in the computer simulations: using > or < to check which choice has won. But actually, often no one has won (it's a tie) after running it x times so you have to filter out the ==.
Then, you get the right results. My first version also had a bias, but i refused to accept it and did spent 45 minutes on the code instead of 15. This is the end result. And no, with double ?: in a printf statement i don't expect a prize.
It was a lot of fun actually, did not expect this from such stupid 'problem'35 -
Long time no rant...
Just fuck apple.
I’m working in partnership with an startup as iOS dev.
We have payments in our app since it was released couple years ago. And everything was ok. Two months ago we implemented a subscription based program that granted our user access to a few things that we need to process manually. I specified that because in apple’s guidelines states that services consumed outside app are not allowed to be sold using inapp purchase and you have to implement your own payment method.
All nice and good we used what we had already in place and the updated was approved. Same for the next 6 versions. Now we discovered a quite critical bug and fixed and submitted a new update just so apple would reject it because we are using subscription that is not implemented using their fucking store kit. So they can’t get those 30% share cut.
Fuck them fuck their echo system fuck their overpriced product. I’v just abandoned my 15” mbp mid2015 in favor of a hackintosh just because my mbp was dying from high temps. Fuck it i’m almost done with mobile development after 6 years2 -
Have u ever had a "interview assignment"? If so, how did it go? Just had my first one. Waiting on results. It was using open weather API pulling weather from the (4) states where their offices are located.10
-
A shitty platform that, although open source, there is no clearly documented way of setting a development environment for it. This pile of crap states clearly that it does NOT support RTL languages. One of the core business requirements is Arabic support. What to do? Look for other platforms? WRONG!
Base the fucking business on it and ask ME to see why the SQL database is not encoding the Arabic characters correctly and to look into the logs that back-end puked. My expertise is mobile development anyways damnit. Sure the backend code is Java code (Java jokers and haters, not the appropriate place) and I know it but there is no fucking way to test that motherfucker or to build it! No fucking testing server can be made! Only instructions to get a Docker image pulled and set up.
FML.
"This company is a fucking م."
I cannot believe I am so frustrated that I am ending this rant with a fun puzzle.
Hints to help you decipher the quoted sentence:
Hint 1: That Arabic letter is the perfect letter.
Hint 2: You don't need to be an Arab to understand what it means.6 -
I've been writing on this TCP server the last few days to integrate our software with some services used by the rest of the company.
Noticed the company service keeps making a new connection for every single message, and closes this at client side (without signifying the server).
So I contact the team who wrote these services and ask them what's happening. Team lead of that team doubts that I know what I'm talking about and tells me TCP automagically signals the server on disconnect, and this probably is a .Net only problem.
5 seconds of googlefu: half open tcp connection.
Apparently, the application doesn't care about dropped connections and losing connection states even though every service should be checked for licensing when connecting to the server. With this set-up everyone can just send a message other than the registration and pass through any 'validation' due to the fact there can be no connection state.
F*CKING INEPT IDIOT(S) OF TEAM LEAD/DEVELOPER TEAM! -
Don't you love it when your CSS has two equally valid positions so doing and then reversing a DOM manipulation leaves the site in a mess?1
-
React Hooks question: those states we create in functional components, are they just for UI purposes or does it have use for overall the app? Please enlighten me!1
-
Fuck MS, why couldn't you update the NuGet API URL when NuGet updated? The warning on nuget.org states,
"This package will only be available to download with SemVer 2.0.0 compatible NuGet clients, such as Visual Studio 2017 (version 15.3) and above or NuGet client 4.3.0 and above"
It says nothing about using the V3 endpoint, so if you''re like me and updated NuGet to 4.5 and still got nothing but
"NU1101: Unable to find package Foo.Bar. No packages exist with this id in source(s): https://www.nuget.org/api/v2/"
...then you'll be very confused until it strikes you that there might be a new API version. Even if MS doesn't want to deprecate the V2 API just yet, it would be awfully nice to just state on the frickin' site that not only do you need NuGet >= 4.3.x, but also the correct feed URL.
$_DEITY knows how many dev-hours have been lost to this shit. -
How do I help a software engineer student be better at developing software?
Background: I have this friend that started university with my young brother, two-or-so years ago my brother finished the career and got his degree while she is still there trying to finish the same career (!), we were looking the chance of changing careers but due to her low grades this is not possible and according to her U's counselor is better that she just finishes the career and gets her degree.
We scheduled a Zoom meeting for Sunday next week, to talk about her pain-points and see what improvement we can chase; issue is that I've never mentored anyone ever in my professional life (my brother from time to time drops a question to me or so, but that's different).
My plan is to either see if she suffers from lack of practice (meaning: she does not write software more often in order to improve her skills) or if it's hard for her to think in abstracts, either way, I believe that the latter improves if you do the former (just correct me if I'm wrong), thus the plan would be to assign her a bunch of programming exercises and have meetings at least once a week during her vacations.
My plan would be for her to actually learn game development with Godot, since the final result is always a game my hope is that having something to show encourages her to do the thing, but, who knows.
Have you ever done something like this for someone with the same issues? What was your experience and what nuggets of knowledge can you lend me?
P.S.: We don't live in the States but in Costa Rica, she does not have to deal with crippling student loans.6 -
I am really psyched about the tech to create voices for generated speech. I am really excited when in the future this tech might be small enough to deliver with a game or OS. Then much more interactive games can be built with generated text. It would be so cool to license voices for this kind of work.
It will probably end up with artists creating unique and interesting voices to allow game developers to pick and choose. So voice artists will be a thing as well as graphics artists. The tricky part will finding a way to add mood states to the generated voices. Right now this could be done with different voice profiles for different speech.
Right now the tech is "large", but this will rapidly become smaller and efficient as it gets developed more.1 -
Going through another department's API documentation and wrapper library where it has documented samples on how to use it. One of the samples specifically shows how to disable HTTPs requests for when retrieving customer info but it also states in the documentation to specifically NOT USE this disable function.
When it comes to customer info, I don't know why the fuck you would allow an override option to do everything over unsecure requests, and even document about it! -
I'm sure this has been discovered before but I just realized that a lexer defined as a set of functions which tail-call each other with the leftover text to switch states can record the location of tokens from the back of the string, thereby eliminating a parameter from pretty much every function. The world is full of wonder.2
-
The mainland US is currently record-cold for overall, some states are as low as -70°F. 3/4 of US schools are closed. Except mine. It's -15°F here, coldest ever, and we're open. God forbid it flurries, though, then it's impossible to open the school!
My dad grew up in Alaska, so he thinks we're all pussies. Well... it's currently 37° in Anchorage, so it's warmer there than ANY mainland state!!! And we're all "pussies".
FML3 -
Fuck JavaScript!!!!!
I'm building an application using Vue with MaterializeCSS and i'm using moment to handle dates. i have to initialize datepickers with values at mount of the vue. i use variables to store the states. there are proper routines for intialization and setting of the pickers. the routines run. there are no errors. the pickers show values. no errors. but the fucking variables ar empty!!!! the pickers are not being set. holy mother of fcuking shitty js milk!6 -
When people give you something related to IT and expect you to know everything about it, literally because you have an IT job.
For example; my aunt out of no where shoved me her phone and said 'here' she expects me to know her Facebook email address and password. When I say, it's your login details, I don't know them she states 'Oh well your in IT you can fit it right?'
-_-
Fuck sake1 -
So, working on real multi language support today I was searching for countries and country-codes. Yes this one is easy peasy. Also easy if you want every countryname in your supported languages.
But why is there no source for the states or provinces translated in every language. It's so hard to find...
Anyone knows a source for it? Is it worth to create a project for such translations?1 -
What’s going to f up my career from here on out is Git. I’m constantly needing assistance from others with it because I can never keep everything straight in my head with what’s going on “in there”. It’s always getting tangled up like old fishing line and I just have to cut the line and start fresh again. I honestly feel so stupid compared to other people who don’t have a problem with it. My brain just can’t keep track of all the different states local, branches, and master can be in at any given time, and across more than one developer. I’m probably alone so, yeah, go ahead and roast me. I probably deserve it for being so perpetually gobsmacked by it all.9
-
Today i fucked up trying to generate stats from sales and forgetting to check if sale state was completed or cleared.
Causing sales and revenue on the report l to be inflated by sales that’s failed 3DS checks, bails, bank rejects and other failure states.
Go on have a cheap laugh at my silly incompetence 😂 -
Currently working on a distributional semantics database or something like that. The goal is to read natural language texts and construct a graph of words, with directed edges containing the relative distances between them. Then I want to enter one or more words and find all of the possible words which could be used before, after or in between those words, simply based on the previously learned texts. Then I want to find words which are used in similar contexts and build a kind of dictionary that way.
The end goal is to use this to define software or other states and procedures, using natural language.
What do you think of this idea? Can you imagine it being feasable for its purpose? What are your thoughts?3 -
One of the most important states in my companies app is complete trash. I'm glad the programmer that did that no longer works with us
-
A medical equipment that you can attach to employees and excruciatingly kill them as soon as they say things like (please note that the list is not limited and we should use a speech to text API to provide NLP states for the meaning - I want to catch all false negatives!! Kill them all!!!!):
- It works on my machine
- I tested it before!
- Haskell is a terrible language
- Big data and actionable insights
- why do you need unit tests here?
- I am a recruiter
- Anything that comes with the following construction as well: "I don't have anything against X, but..."
Any other suggestions of phrases?2 -
So the dude who designed my class schedule should be fired. Monday, Thursday and Friday, half a day of school. The other half of the day I need to go to work. That would not be an issue if work and school weren't TWO FUCKING STATES APART!
So now I have the pleasure of my commute being 2h long instead of just 30min. Oh and If I would like to use public transport instead of driving? Well make it FOUR HOURS! Cause my workplace is in the countryside which offers no public transport home without a huge detour. So I either pay a fortune and drive or waste inhumane ammounts of time on a train.
Also there is reduced parking at the school. But with reduced parking they mean you always pay 10$ a day no matter the parked time. But for half a day I pay 8$ which makes it completely useless.
I asked for the schedule to be changed a quarter of a year before the semeter began. (Around the time they announced it) Response: Guess you'll have to live with it ¯\_(ツ)_/¯
Fuck you! I will personally come and shove one of my car's piston up your ass if it dies from this insane commute. (Without engine oil ofc.)9 -
Damn, history web API really sucks for SPAs that have a hierarchical navigation structure.
For example there's no built-in way to know whether the back or forwards button were clicked, only that one of them was clicked.
And if you reload the page, any state you pushed remains in the history stack. So the user might not be able to go back in your application anymore, but they can still press the browser back button and all those states you pushed will be fucking up your navigation system3 -
Is it fine to manage React states on your own ( kinda lifting up the state way ) in a medium size application? I've built 70% of the application without a lot of trouble. The only problem is there's no way to pass states to the sibling components without lifting up the state and lifting up the states decreases the modularity of the code. A lot of functions (handlers) have to be re-written in different components.
Would I be better off using Redux, etc. Thoughts?6 -
Do you ever think about the fact that computer science is based on binary operations not because it is.easier or because we are "so smart" but because our still primitive knowledge of physics did not allow us to find a material and build reliable gates with multiple states and so we are.stuck with the "open-close" thingy?
Is it me or does it look like we are not that smart?6 -
i am currently learning react and i find it easier to convert vanilla html css websites into react than writing a website in react from scratch. while writing a website, i am now accustomed to writing mobile first flex based css that looks nice , and handles most of the animation, show hide based stuff by classes. whereas in react if i start thinking about how states and context are going to work with it, i end up going bacl to the imported css to get it to look nice at first1
-
So our app uses some service to validate users & the validation response is received either by a callback url or by polling. Since their documentation states callbacks are rather unstable and "should not be completely relied upon", we only use polling. Client, however, wants to use the callback url and use polling only "after we are sure that callback has not been received". WTF. When we asked how will we know callback has not been received because it has not been received, we were told to start polling after like 1 hour.
?!?!?!?!?!?! -
Wanted to add alerting for systemd services in Prometheus today, which spontaneously turned out to be a huge pain in the lower human backend.
For some reason, on Ubuntu 16.04 systemd adds services without unit files for software, that isn't even installed on the damn server (in this case for mysql-server / mysql-common and mysql-client are installed) and lists them as "not-found" and "inactive". The prometheus node exporter that we use, has a little bug in the systemd collector that makes sure that the states of *all* services are collected - even those without a unit file.
so those metrics are pulled by prometheus and now I have to take with those faulty metrics in the condition logic of the alert, because I'm trying to trigger that one on a service which is listed with state "active" = 0 or "failed" = 1.
now guess. right! If the unit file doesn't exist, the regarded systemd service is marked as "inactive", which is another possible state of the metrics in the node exporter. the problem is that the value 1 for state "inactive" means, that "active" has the value 0 (not even wrong) and the alert is triggered.
so systemd fucks up somehow, the node exporter collector fucks up because systemd fucked up and I have to unfuck this with some crazy horse shit logic. w.t.f. to that.
the only good news is, that it works like a charm on Ubuntu 18.04, as far, as I can tell.
while writing this little rant, I thought of a solution.
I could try to change the alert condition to state "active" = 0 AND "failed" = 1.. but that will wait till tomorrow.
one does not simply patch monitoring conditions at midnight..3 -
It's been a good month where honestly I had nothing to rant about. Pretty much doing my own project setting up ELK.
But last few days I had to return to the reality called teammates....
It where it ok... I mentored one of them, then did the code review yesterday
And that's when the shit hit the fan.
I told them to do X but then they did Y instead thinking that they were smart.
In hindsight they seem to have no idea wtf they were doing, inexperienced and couldn't even use console.log and JSON.stringify to debug object states...
Which course now reminded what's wrong with this team, you got people jumping around stacks and projects so they're all mediocre on all of them. Rather than having specific people being good at one of them (aka more experienced than a noob).
And if course this morning, manager asked me to look into something on a program I haven't support in a while (there are a free people that are more experienced and know the current state better). And he said this is quick and urgent... And actually when he said that I'm like uh.... don't think so....
And last thing is we had to rerun a report in production so needed the shipper ten to do it. Asked them look yesterday, users were waiting.
Today... Still not done. And well I actually can run the report myself locally.. takes 5mins but in production they need to reload the data but that should take at most 20mins... Either way... Nothing was done.
Oh and I just remembered I raised a request to it SA group to have some not script installed... That not done either.
And this is why relying on others it at least these people is a bad idea..... Unless your are capable of firing them... -
Anyone want to help me debug some legacy code that hasn't gotten enough attention lately?
The US government could really use some help. Maybe we could debug it and present our findings to Trump, our all powerful carrot overlord.1 -
It seems to me that browsers lagging behind is the reason we've seen the JS framework boom both in recent years and ongoing, evident in what they regard as major updates. Most of the functionalities implemented in my time working on the front end are high level problems ubiquitous enough to have been solved at the browser level. Same goes for all the optimizations CSR frameworks are struggling to attain. Every CSR app genuinely feels like recreating a browser, both in UX and dev requirements. These problems exist because current browsers are analog software still accustomed to loading all content at once, no in-app state, just scroll states
The React-Vue-Angular wars of today are a direct hat-tip to the Netscape-Microsoft wars of the early years. If they can form a coalition that sets a standard for syntax, best rendering engine, natural way for user facing devs to control app state, fetch data or connect the back end, somehow render this on the server or find a workaround SEO issues on CSRs, etc, given the shared agreement on expectations for modern web software, it'll be fascinating to see such a possibility8 -
Was excited my company was pushing for talent profile updates. Filled all my computer programming skills in, then language skills, I thought it was fantastic. Go to the email and it states update job skills relevant to job held. Pretty sure that means I just wasted my time. =\
-
Seeing the US pay for IT people compared to UK and damn the difference is insane. Given the UK healthcare is free, I wouldn't see its usage until old age, and the costs of US vary greatly but most places US pays a lot. For e.g. Airbnb in US pays graduate IT people 200k USD starting while the highest I've seen for IT people in London is 46k GBP, which even after conversion is waay less, and the tax amount if about the same if not more in UK. Maybe I'm wrong but this is what I've seen, maybe I should consider moving to the states :/.5
-
Yanno, a popup that states "failure. No specific error was returned with this API call" is about as useful as "Error code: NOPE. Good luck fuckers!"
This occured after hitting the delete button for an MX record on a host that I'm migrating away from. -
Getting sick of Amazon Interview Process in germany really... HR types do not read emails at all, do not answer questions, send duplicate mails... I already picked possible interview slots and still asked again to fill slot on another form...
Is Amazon Europe standards this low or is it shitty in the States also?3 -
So we are testing slack as our new messaging platform, it states that the platform has 10k searchable messages, does that mean that you can send unlimited messages with 10k searchable, or 10k messages total before you have to start paying?5
-
I wonder if it's possible to negotiate amendments that forbid your employer to make you work with specific technologies.
"You're a modern dev shop aren't you? What's the harm in adding a clause to the contract that explicitly states I, the employee, will not be made to work with php5?"1 -
I have a dream of working in the IT industry(especially programming) in the United States. Do you guys have tips or suggestions for this? I am currently pursuing a computer science degree in Europe.
Thanks a lot already.6 -
Original class has 185 LoC, unit test class have 315.
But it's one of the most important classes, with most states and corner cases.
And, thanks to unit tests, one of the few classes I'm almost proud of. -
Is there a website which includes leading states in the total electoral vote count? Not just won states?5
-
I'm having problems understanding ngrx (or simply rxjs...), once again.
I have a feature state called "World".
This state has three Actions: Init, InitSuccess and InitFailure.
Also I have other isolated feature states like "Mountains", "Streets", "Rivers".
They have actions like this and corresponding effects to fetch data: Load, LoadSuccess, LoadFailure.
Now I would like to add an effect to WorldActions.Init, which will dispatch Mountains.Load, Streets.Load, Rivers.Load one after another. So ideally an action log would look like this:
1. World.Init
2. Mountains.Load
3. Streets.Load
4. Rivers.Load
5. Mountains.LoadSuccess
6. Streets.LoadSuccess
7. Rivers.LoadSuccess
8. World.InitSuccess
Or when an error occurs:
1. World.Init
2. Mountains.Load
3. Mountains.LoadFailure
4. World.InitFailure
How could an effect pipeline for that look?
How can I dispatch World.InitSuccess only after all LoadSuccess-Actions have happened?
Or am I still trying to implement ngrx in a wrong/bad way?
PS: The reason I am putting everything into separate feature states is because "Mountains" etc. are standalone features on their own. Only in the context of a "World" they belong together. For this reason I can't create a monstrous effect "World.Load", without producing redundant code.10 -
I witness a lot of stupidity (programming related) in college, and my mind is constantly toggling between the following states:
* arguing with stupid people makes me look stupid too, so I should just ignore
* maybe I should educate them
* I am helpless - they won't listen to me
* what sins did I commit in my life that I have to see this
* what in the actual flying fuck are these idiots doing
* I AM STRESSED AND I NEED TO RELEASE IT1 -
!rant
*reworks complete solution then publishes it to Azure*
"Okay, now let's debug"
*calls function, no response*
*directly opens function in browser*
Function host is not running.
Fuck.
*opens Insights*
System.BadImageFormatException
(additionally, it states that it couldnt load my main project or one of it's dependencies)
Shit, never even heard of that exception.
DDG: yo you're fucked, here, have 3 proper results
SO: lul thats some known bug Azure Functions havent fixed till now
Github: Yeah got a lot of open issues ok that, they just aint any help lmao
Me, a naive person: "okay lets try randomly changing some dependency versions, might help"
It didn't.
Now my question: how do I escape Dependency Hell?1 -
It is snowing hard here in the mid-West of the States, just wish that we had 4-day work week system since 2 days is not enough in this weather. Wonder how European devs (esp in Germany) enjoy their extra 8hrs?9
-
I have this fixation with minmaxing core clocks, voltages and their respective curves (P states, basically). I'm still not sure how much it actually improves my experience, but I'll be damned if it isn't fun and interesting to mess around with these numbers and see them climb higher but remain stable.
Currently messing around with a Vega 64. They come in severely overvolted, and I'm trying to get it to retain its performance with less voltage aka less heat. I don't even need to turn on central heating if I'm running stress tests, the bloody thing runs at 80°C! So I guess you can see why undervolting the card is of interest -
I want out!
I am an Indian student, graduating in 5 months with bad GPA from not so fancy university. I like to call myself highly motivated individual. I am looking for a job in Silicon Valley.
What skill sets should I prep myself for a job in the United States right after I graduate?
I have enough skills to get placed in Mid-Tier companies. I can spend my rest of the days learning and hyper-focusing to get an job in the Silicon Valley.
My priority is USA>Netherlands>Ireland>India.
I can provide more details as required. Help me out!16 -
So, the PowerQuery type system appears to be a Joke.
For those you that aren't familiar with PowerQuery, it's the ETL language that is used in PowerBI, and some other parts of the MS PowerPlatform. It was formerly known as the M Language.
The language has a type system, that includes records (think hashes) and tables, which are, for practical purposes, a list of records.
The wonderful M language specification document states that:
"Any value that is a record conforms to the intrinsic type record, which does not place any restrictions on the field names or values within a record value. A record-type value is used to restrict the set of valid names as well as the types of values that are permitted to be associated with those names."
Except that the restriction is only to the set of valid names, and the language interpreter doesn't throw an error when I place a number into a text field, but also doesn't do any sort of implicit conversion. This is all hunky-dory, until you then try to load the data into the Tabular Model that underlies the query engine, which does expect the values to be of the type that is specified, and it throws an error.
But PowerBI, in its infinite wisdom, doesn't actually *record* the error, it merely tells you the error exists, and tells you to go back to the query editor to list the errors thrown up by the powerquery engine. Which, as previously stated, doesn't throw up an error for this instance.
So I've spent all afternoon trying to work out why my queries aren't loading, because I have an error that doesn't exist. fml.
[You can follow this issue on the communtiy feedback site here: https://community.powerbi.com/t5/... ] -
In the USA, the country where same-sex marriages are legal, 65% of people do believe in a religion that explicitly states that gay people should be beaten to death with rocks.
Make up your mind. You're either pro-equality or you're a christian. You can't be both.8 -
Msal.js. I give it 3/10..
The docs are duplicated, and in various states of out of date. Half the library seems to be undocumented based on how many edge case bugs I've hit, it offers a popup login but you have to have a set specified white list of urls you can launch the popup from which makes a popup login pointless...
Ontop of that my colleagues shat the bed on it and fucked the whole implementation including the azure b2c setup... We do not even have a backend app listed in the azure b2c apps. The redirect also won't work if you don't instantiate an object in a hidden iframe of your own website that fetches a token... This does not make life easy when you use a SPA framework and you have already implemented a whole pipeline abstracting the creation of this object behind layers dependency injection.. Nice.
After sifting through endless shit I finally have a solution. What a week. -
“Just a quick fix” Classic start to a reported ticket. Ticket states that a form field was not doing anything.
Think to myself ok this sounds like a nice easy one for the morning. A few hours later I find something like the following written by a senior member of the dev team.
SearchClass {
//...list of getter and setters
Private $snakeCaseName;
SearchFunction() {
Foreach($this as $property => $value){
//... if property keys = string for each object property then do code
If($property == “snakecaseProperty”){
//...do stuff
}
}
}
}
Why does this loop exist!!!!! All it does is remove any error checking if a getter method is misspelt...
To make matters worse the entire search method was over 300 lines building a MySQL query string.... even though there was an ORM and entity classes available!!!2 -
Fellow devRanter needs your referral for internship in United States.
I was not confident or ready when the big companies were hiring for an internship. 190+ Leetcode problems later, I am now confident that I can crack technical coding interviews but I think its too late now. None of the companies I've applied to has responded back to me. I am worried that I have to stay idle during the summer break. I have 3 years of prior work experience as a software development engineer with a decent GPA and a few side projects. Any help would be much appreciated. Please provide referrals if your company is hiring candidates for an internship position. Thanks.
I'll share link to my leetcode profile, my github repo and linkedin profile. Please dm me.5 -
I am moving to Cincinnati Ohio United States from Pakistan Punjab urgently and I have pain in my teeth and I wanted to visit the dentist but I did not have enough time because my flight waS being delayed, My friend told me to visit his family dentist in cincinnati. Are they good enough to visit?5
-
!rant
Often times while working/debugging I get to a state where the app/whatever works but then I realize that it didn't, so some more changes and I get to a new state.
Question is, does there exist something which lets me switch between these states without messing up my git? I do have a solution in mind but want to know if it already exists.16 -
That guy that made those videos of better programming experiences. With the live update of the pink flower tree, the game with different physics states simulated
-
What getting an AWS solutions architect certification got me:
Acceptance into the 4 top high schools in the area( one of which being in the top 5 public schools in the United States)
2 internships/apprenticeships
1 opportunity at the local college for some research experience
Vasts amounts of knowledge about servers and back end technologies I have never known about
And of course, the most important one, getting all the aunties attention at parties
People like to say that certifications don’t help but they get your foot into the door, it’s up to you to do the rest of the work3 -
Got invoved in a project that has to do with deploying a healthcare mangement system in local health care centres across states and this centers don't have internet access but we could use solar to power those centers so we don't have issue with power but how do i get the local data to internet since we need those data online1
-
Just started reading Cracking the Coding Interview and I just can't help but think this whole thing is a joke. The author can't even give a convincing argument why learning algorithm is important for interview. She simply states word for word: it is what it is.
I google her a bit and find that she started her venture Careercup.com and the website is such a joke. How can you even call yourself a software engineer with a website like that. I am pretty sure she using some kind of wordpress engine.
I can't imagine how many people that work at FANG companies that think like her..6 -
When you get work assigned to you. Are you asked for how long it will take you to complete the work or does your manager give you a deadline to complete the work? Note: Manager was a senior developer but now a manager so he states he knows how long it might take and sets deadlines.8
-
I got my first client at upwork almost a week ago and the experience has been awful so far, not because of this client but because of the codebase, it's so bad, it is running DEBUG=True on production and if I turn it DEBUG=False things break for some fucking reason that makes no sense (I don't think that's true but the previous developer states it). The website is running on pythonanywhere which is weird, bootstrap is a nightmare, the database needs to be in sync all the time using a manage.py command that executes tasks received through a webhook from a Hubspot shit that has all the information. Just adding a simple edit/verify profile on that site is such a fucking nightmare. The whole project its full of holes and things that are just screaming to break, its like a fucking house of cards that falls to the ground the second I edit something and it looks like its my fault. I'm thinking of telling the client that I will no longer work on this project
-
Most satisfying was reducing the time my ci/cd did to build,test,verify complance and deploy of virtually anything i want in lrss then 10 minutes. From code to running appliance fully configured and being absolute certain it will work without any other modificatio . it used to be an hour.
Achieved this to do lots of caching and parallell test runs.
The downside is that my development server is feeling like a unvoluntary black person from ghana moving to the newfound united states 400 years ago... -
So I go on scratch (Mild Scratch Programmer), and I see this one person, Who does NOT know how to script or program, even though he specifically states IN HIS PROFILE, that he is a "Professional Scratch Maker", Not even the correct term to describe a "Scratch Project Developer". I literally told him in his profile chat, that the way he described what he was, wasnt the right way and tried to help him update it, and he completely blew up on me and starting getting toxic......God I hate toxic kids.5
-
So.
They mill round
Zimmerman states something as an interpretation
This infuriates someone further
Are they totally fucking retarded or just that clueless?
I remember many times that they got their come uppance no pun intended at all. -
Does a role reassignment necessarily mean I am on the chopping block/going to be laid off? I was hired as a Junior Software Architect and I ended up doing more infrastructure work (think DevOps) but I wanted to do more actual C++ coding. An email was sent out to the manager/HR by my supervisor and I think for the most part I will still retain the same title - the email just states what my next tasks are (knowledge transfer to other employees) and what my new role will be.
-
Are we not headed to dictatorship? Red states are again making it harder for the minority and young voters to vote. After the Supreme Court voted to stop supervision of Southern states, 1200 DMV offices were closed. But the super threat is states like Georgia will have Republicans count the votes if "irregularities" are found. How Stalinesque of them.4
-
I have been arguing with my company's analytic on bootstrap grid system for two days now. The guy doesn't understand what is so wrong about hardcoding bootstrap column percentages when in our company's layout rules it states we use the col 12 system
-
If I was living in the States, I have feeling that I'd become good friends with the Indians there.
But their accent still staying despite their long stay in the US is kind of retarded.3 -
Silicon Valley on HBO
Erlich -> jin yang.., I saw you putting trash cans in
the green ..,,Green is for grasses...leaves. Blues is for recycle. ...... so just put in there!
Jin Yang -> But ., which is for burning?
Erlich -> we., In United states don't burn trash.
Jin Yang -> And Garbage?!
Erlich ->............................Motherfucker!1