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 - "pub"
-
A few years ago when I was still an apple fan boy, friend of mine bragging me about how android is awesome, we were drinking some shots at our local pub and I was starting to get light headed. At one point he showed me so called "terminal emulator" app. I checked it out, and assumed it's an emulation, just like dosbox, so I decided to verify that "rm -rf *"... (the phone was rooted)
The phone shutdown within seconds, I couldn't stop laughing, while my friend was shock that his new phone was longer booting.
Luckily he managed to reflash the ROM. What can I learn from that experience?
1. Don't drink and sudo
2. Don't call your app an emulator if it's the real deal.34 -
So, you start with a PHP website.
Nah, no hating on PHP here, this is not about language design or performance or strict type systems...
This is about architecture.
No backend web framework, just "plain PHP".
Well, I can deal with that. As long as there is some consistency, I wouldn't even mind maintaining a PHP4 site with Y2K-era HTML4 and zero Javascript.
That sounds like fucking paradise to me right now. 😍
But no, of course it was updated to PHP7, using Laravel, and a main.js file was created. GREAT.... right? Yes. Sure. Totally cool. Gotta stay with the times. But there's still remnants of that ancient framework-less website underneath. So we enter an era of Laravel + Blade templates, with a little sprinkle of raw imported PHP files here and there.
Fine. Ancient PHP + Laravel + Blade + main.js + bootstrap.css. Whatever. I can still handle this. 🤨
But then the Frontend hipsters swoosh back their shawls, sip from their caramel lattes, and start whining: "We want React! We want SPA! No more BootstrapCSS, we're going to launch our own suite of SASS styles! IT'S BETTER".
OK, so we create REST endpoints, and the little monkeys who spend their time animating spinners to cover up all the XHR fuckups are satisfied. But they only care about the top most visited pages, so we ALSO need to keep our Blade templated HTML. We now have about 200 SPA/REST routes, and about 350 classic PHP/Blade pages.
So we enter the Era of Ancient PHP + Laravel + Blade + main.js + bootstrap.css + hipster.sass + REST + React + SPA 😑
Now the Backend grizzlies wake from their hibernation, growling: We have nearly 25 million lines of PHP! Monoliths are evil! Did you know Netflix uses microservices? If we break everything into tiny chunks of code, all our problems will be solved! Let's use DDD! Let's use messaging pipelines! Let's use caching! Let's use big data! Let's use search indexes!... Good right? Sure. Whatever.
OK, so we enter the Era of Ancient PHP + Laravel + Blade + main.js + bootstrap.css + hipster.sass + REST + React + SPA + Redis + RabbitMQ + Cassandra + Elastic 😫
Our monolith starts pooping out little microservices. Some polished pieces turn into pretty little gems... but the obese monolith keeps swelling as well, while simultaneously pooping out more and more little ugly turds at an ever faster rate.
Management rushes in: "Forget about frontend and microservices! We need a desktop app! We need mobile apps! I read in a magazine that the era of the web is over!"
OK, so we enter the Era of Ancient PHP + Laravel + Blade + main.js + bootstrap.css + hipster.sass + REST + GraphQL + React + SPA + Redis + RabbitMQ + Google pub/sub + Neo4J + Cassandra + Elastic + UWP + Android + iOS 😠
"Do you have a monolith or microservices" -- "Yes"
"Which database do you use" -- "Yes"
"Which API standard do you follow" -- "Yes"
"Do you use a CI/building service?" -- "Yes, 3"
"Which Laravel version do you use?" -- "Nine" -- "What, Laravel 9, that isn't even out yet?" -- "No, nine different versions, depends on the services"
"Besides PHP, do you use any Python, Ruby, NodeJS, C#, Golang, or Java?" -- "Not OR, AND. So that's a yes. And bash. Oh and Perl. Oh... and a bit of LUA I think?"
2% of pages are still served by raw, framework-less PHP.32 -
An SEO expert walks into a bar, bars, beer garden, lounge, pub, tavern, night club, mini bar, drinks.5
-
A little while ago I was on my way home from work sitting on the train and then this guy sat down next to me.
Pulled out a laptop and suddenly opened a code editor!
I just tried to determine what programming language he was doing and after about 5 minutes I finally was about to ask him...
Then he copied his 'code' into excel.
Well, all the excitement went to a pub to get drunk at that moment I think.16 -
*Facebook Hackers follow the Rules*
(real story)
TL;DR: sorry, not available, can't do spoilers
One night I was with a group of friends out at a pub. A guy and his girlfriend show up, I didn't know them but they were my friend's friends.
The girl kept bragging the whole time about his boyfriend being a professional programmer, trying to remind it to everybody whenever possible (don't ask me why!).
So, after a while, the discussion moves towards "suspect Facebook activities" and the guy starts saying that he can hack Facebook.
- "What do you mean?", I ask.
- "Hacking into other people's accounts, even with 2 factor authentication. I did it a lot of times"
- "Wait, and they don't notice?"
- "Of course not! ^_^ He's a hacker", the girl replies.
Ok, time to do a coming out.
- "Hey, I'm a developer myself. Can you give me an idea of what you did in technical terms? Did you find a vulnerability? Used a virus? Maybe a keylogger?"
- "No... Uh... Well... The secret is to read the terms of service"
- "What?"
- "Yes... yes it's all in the facebook terms of service..."
- "Uhm, I'm not really sure I'm following. Could you prove it by hacking my Facebook account? I'm giving you the permission".
In less than a minute the discussion flew completely away and they never mentioned computers again.
😂😂8 -
*me, coding at a pub*
*random dude walks up to me*
He: "what are you doing? Programming? What?"
Me: "yup. That's a horizontally and vertically scalable webservice, that's using amqp, rest APIs and encryption to schedule starting, stopping and autoscaling of a total of 90 heroku applications. This webinterface *showing* allows you to trigger starts and stops manually and monitor all processes."
He: "oh, so you are programming a Website? In HTML?"
Me: "euhm........ Yes."
I understand this dude had probably no clue what I was talking about.. Yet I am angry at him. Reducing more than 12k loc to HTML... Go fuck yourself.22 -
The colleague:
- I can't work, my chair is uncomfortable
- I can't work, my chair is not ergonomic
- I can't work, my desk is too small
- I can't work, my legs are uncomfortable
- I can't work, my keyboard is not ergonomic
- I can't work on this task, John knows how to do it better
- I will only work on <this> type of tasks. I will not work on others
*gets assigned <other> task; browses the internet all day; at the EOD task isn't even touched*
- I can't work with Jack, he's too noisy
- I can't come to the office on time, there's traffic in the city
- I couldn't come yesterday, I was out of town. No, I will not log a vacation day - I was NOT on vacation. It's personal
- I can't<...>
Manager, 2 days to the end of said colleague's probation period:
- I am very sorry to tell you this, but our attitudes are not in line and we cannot continue working together. Since this is your 5th warning, we have to let you go.
The colleague:
- What?? How come?? I did NOT see this coming... You can't do this! I work here! This is where I work and you can't fire me!
*got his things from his desk and left. Never came back*
Everyone at the office:
- YAYYYY!!!! Let's have a shorter day today and let's celebrate this riddance in a pub! (manager agreed)7 -
Coolest project: I once worked for a customer who hosted an exhibition for a few thousand visitors in a big event arena in Stockholm.
They didn't want to use the existing ticket reading system on the arena so I had to build my own application compatible with barcode scanners (they said this about one week before the event).
It wasn't a complicated application to dev but with the tight deadline and no time to actually stress test it, it was the coolest thing to see hundreds of people streaming through the ticket station flawlessly.
Day 2 of the event I built a simple web application so I could see the flow rate of read tickets while I sat in the arena pub with a beer.6 -
> finds files called "?" and "?.pub" in home directory. Not sure how they ended up there.
> tries deleting files
> rm ?*
> hits enter and realizes the disaster the very next moment
> cries in corner7 -
1. There are 10 types of people in the world: those who understand binary, and those who don't.
2. How many programmers does it take to change a light bulb?
None. It's a hardware problem.
3. A SEO couple had twins. For the first time they were happy with duplicate content.
4. Why is it that programmers always confuse Halloween with Christmas?
Because 31 OCT = 25 DEC
5. Why do they call it hyper text?
Too much JAVA.
6. Why was the JavaScript developer sad?
Because he didn't Node how to Express himself
7. In order to understand recursion you must first understand recursion.
8. Why do Java developers wear glasses? Because they can't C#
9. What do you call 8 hobbits?
A hobbyte
10. Why did the developer go broke?
Because he used up all his cache
11. Why did the geek add body { padding-top: 1000px; } to his Facebook profile?
He wanted to keep a low profile.
12. An SEO expert walks into a bar, bars, pub, tavern, public house, Irish pub, drinks, beer, alcohol
13. I would tell you a UDP joke, but you might not get it.
14. 8 bytes walk into a bar, the bartenders asks "What will it be?"
One of them says, "Make us a double."
15. Two bytes meet. The first byte asks, "Are you ill?"
The second byte replies, "No, just feeling a bit off."
16. These two strings walk into a bar and sit down. The bartender says, "So what'll it be?"
The first string says, "I think I'll have a beer quag fulk boorg jdk^CjfdLk jk3s d#f67howe%^U r89nvy~~owmc63^Dz x.xvcu"
"Please excuse my friend," the second string says, "He isn't null-terminated."
17. "Knock, knock. Who's there?"
very long pause...
"Java."
18. If you put a million monkeys on a million keyboards, one of them will eventually write a Java program. The rest of them will write Perl programs.
19. There's a band called 1023MB. They haven't had any gigs yet.
20. There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors.10 -
An SEO expert walks into a bar, bars, pub, inn, tavern, public house, Irish pub, drink, drinks, beer, alcohol...
-
Coding has changed my life in a way where I no longer look for simple answers. I look at things deeper and more logically.
That this picture for example, I was at a pub quiz and got this handout, #2 I was thinking was hex, or the ASCII table or some sort of shifted by one arrangement. Nope! They just put numbers between the fucking letters!?!?!??5 -
An SEO expert walks into a bar, bars, pub, tavern, public house, Irish pub, drinks, beer, alcohol.1
-
Still trying to get good.
The requirements are forever shifting, and so do the applied paradigms.
I think the first layer is learning about each paradigm.
You learn 5-10 languages/technologies, get a feeling for procedural/functional/OOP programming. You mess around with some electronics engineering, write a bit of assembly. You write an ugly GTK program, an Android todo app, check how OpenGL works. You learn about relational models, about graph databases, time series storage and key value caches. You learn about networking and protocols. You void the warranty of all the devices in your house at some point. You develop preferences for languages and systems. For certain periods of time, you even become an insufferable fanboy who claims that all databases should be replaced by MongoDB, or all applications should be written in C# -- no exceptions in your mind are possible, because you found the Perfect Thing. Temporarily.
Eventually, you get to the second layer: Instead of being a champion for a single cause, you start to see patterns of applicability.
You might have grown to prefer serverless microservice architectures driven by pub/sub event busses, but realize that some MVC framework is probably more suitable for a 5-employee company. You realize that development is not just about picking the best language and best architecture -- It's about pros and cons for every situation. You start to value consistency over hard rules. You realize that even respected books about computer science can sometimes contain lies -- or represent solutions which are only applicable to "spherical cows in a vacuum".
Then you get to the third layer: Which is about orchestrating migrations between paradigms without creating a bigger mess.
Your company started with a tiny MVC webshop written in PHP. There are now 300 employees and a few million lines of code, the framework more often gets in the way than it helps, the database is terribly strained. Big rewrite? Gradual refactor? Introduce new languages within the company or stick with what people know? Educate people about paradigms which might be more suitable, but which will feel unfamiliar? What leads to a better product, someone who is experienced with PHP, or someone just learning to use Typescript?
All that theoretical knowledge about superior paradigms won't help you now -- No clean slates! You have to build a skyscraper city to replace a swamp village while keeping the economy running, together with builders who have no clue what concrete even looks like. You might think "I'll throw my superior engineering against this, no harm done if it doesn't stick", but 9 out of 10 times that will just end in a mix of concrete rubble, corpses and mud.
I think I'm somewhere between 2 and 3.
I think I have most of the important knowledge about a wide array of languages, technologies and architectures.
I think I know how to come to a conclusion about what to use in which scenario -- most of the time.
But dealing with a giant legacy mess, transforming things into something better, without creating an ugly amalgamation of old and new systems blended together into an even bigger abomination? Nah, I don't think I'm fully there yet.8 -
So just about to head to the pub and I got the dreaded call from my boss.
The support team had developed some fixes. They "tested" and deployed without letting us know... And you guessed it there was failures all over the shop!
So it turned out their testing was running on a local base install with no integration compared to the live system with 15 years of customisation and complex integration. My they thought this was acceptable I don't know...
And the best part was the developers who made the changes didn't understand their own code (I found the tutorial they copied online) they just blindly copied it without understanding how it worked!
So 4 hours later we found the bug, nothing like having a query and s SQL connection but not executing the query....
There goes my Saturday evening. Now we're was my beer!7 -
So Pubs are open again I Ireland.. went to n that were all booked out.. but after 40min of wandering around I got a single corner in one of them.
Let me tell you one thing. You might pour good pints but NO ONE can serve a pint like an Irish pub. Soooo gooood and creamy.. fuck, i missed this.13 -
Myself along with an artist and business entertainment guy met at a pub in October 2016 to discuss an idea for an app based company.
Launched version 1 in December 2016, had nothing.
Launched version 2 in August 2017, by the end of the year we were state-wide and partnered with numerous companies in the space. We also experimented with interstate.
This year we are aiming for country wide.2 -
The world needs 'User Error Codes'. At the very least it will give IT Support Techs a smile, nice to spread the love:
16001 - Incompatible User : replace user
16005 - User Deleted Content : laugh at user
16404 - User Not Found : check pub2 -
Writes code in C
Terminal: Seg fault
Rewrites code
Terminal: Seg fault
Rewrites again, opens gdb:
Seg fault
"I should open a brewery, I like beer. I've always wanted to make beer, it's analogic for the most part. No seg faults, can you believe that? Perhaps even a pub next to the brewery..."
"Oh, I was doing one extra iteration in a for loop. Nevermind"7 -
Sitting in a cafe/pub ... Working ... its 12 am ... am here all night ...
Why do people think am the DJ ?5 -
Welp, I dunno about the rest of you folks, but I had a splendid day making a really sexy data viewer with React, Redux, ImmutableJS, react-virtualized, and Radium. And it works fast in IE!
And! Now I'm in a pub, sipping a beer in the summer evening breeze, waiting for my partner so we can order food.
Cheers!6 -
I love to work in pubs/bars, this special kind of noisy environment works so well for me. I even go "into the zone".
Lets talk about this. Is anyone else the same? Just curious.
These are my 6 reasons:
0) Beer. 🍺
1) None of the activity in a bar actually interests to me, if you know what I mean. In my house, every single noise/movement will get my attention.
2) After some time all the noise blends into a kind of "homogeneous hearing blurb". Like a mantra. Maybe there are even white/pink/brown noise benefits (guess).
3) I go to places where I enjoy the music and atmosphere.
4) I like bars and pubs anyways. I feel good in these places.
5) Beer. 🍺7 -
"This pub is famous for its pork dishes. And I usually buy liquor from that stop, quality approved."
- one dev friend
// said "best advice"
// not "best dev advice"2 -
One of the guys in my uni group project accused me of bullying, shutting him out of the group, ignoring him and taking over his work. He complained to head of year, I had to have a "discussion" with head of year, welfare tutor and my personal tutor.
For supporting evidence, I brought the message he'd posted in our team Facebook group where he told me to do the thing I was doing. The discussion didn't last long, but it seemed he was unhappy with me asking questions, mean things like "I need a draft api to do my work, why don't we sit down and design it instead of the UI you're working on?"
Conclusion? He "worked on a separate project". Got to the end of the year, the whole class went for pub drinks, someone else came up to me, had been through the exact same thing, exact same person, different group project.
Group projects teach you to hate people.5 -
I work in big data and security analytics... So naturally I am a very detail oriented and analytical person.... Something that I constantly get told off about for 'over analysing' every personal situation.... Especially by my wife!
Today she was chatting to our best friend on WhatsApp who's been travelling Europe for 6 months seeing how life is etc... At the end of the conversation I point out he never once told her where he was and avoided the questions.... And that I was sure he was gonna turn up tonight....
She tells me I'm over analysing and full of it as she's in Spain.... Not even an hour later he walked through our front door and we are in the pub having an awesome catch up!
Who said I'm over analytical! More like right!?4 -
Within 20 minutes of posting a question on stack overflow it was down voted - with no explanation. Fucking hate that site4
-
We work in an office where we must lock our computer screens because our screens may have confidential information on them, plus you could do things as the person without taking any blame (ie sending an email).
Anyways anytime someone forgets to lock their screen we always prank them pretty hard. The greatest thing we ever did was in our latest release we had our managers buy us drinks at the pub. Well our managers left to go to the pub and one of them forgot to lock their computers. So we downloaded an image of the blue screen of death and made it full screen, unplugged his mouse and keyboard for added effect, and locked his computer. He came in the next Monday and couldn't log in because his keyboard wouldn't work. He actually called IT to bring him a new keyboard and mouse... then he unlocked his computer and freaked out with the IT guy because there was the blue screen of death. Needless to say he got a brand new computer as well as a new mouse and keyboard.
I'd call it a win win?1 -
Hi Lead Architect,
Oh? You want me to explain how database clustering works? I guess you're just testing me because I'm new and junior.
Oh, and also explain how load balancing works? And what a bastion host is?
What's the architectural intent of this project? Let's have a look at the documentation and diagrams you have been creating of your designs.
You don't have any? That's okay, you've only been leading the architect team on this project for a year now.
Why don't you just keeping asking the most junior dev on the team about how the fuck you are supposed to do your job. As if I know how to do your job when I have zero training and am just expected to know everything.
Oh, its 3pm and you're heading to the pub. That's cool, I'll just guess what I need to build.2 -
So, this is probably somewhat esoteric but...
While studying at university I had a "programming paradigms" module, dunno why they called it that, it was more like "introduction to functional programming".
So, it's kinda mind bending, we'd only really started to get our heads around classical object oriented programming and they throw functional programming at us.
It's worse than that though, for do they use an established language, like lisp/scheme, functional Python, or even given Haskell?
No, of course they didn't. They taught us Oz.
You probably won't have heard of it, but this language is burned into the back of my brain, along with a vague understanding of the n-queens problem we had to solve graphically (using qTk, which I dunno if someone took qt and tk and blended them, I stopped asking questions after a while).
To top it off did this language (at the time) have a stand alone interpreter? Did it buggery! It was coupled to the Mozart programming system, which is just Emacs (which has a bloody lisp built into it,so close, yet so far 😭).
It gets worse, though, oh does it get worse, for pause dear reader and consider, have you ever heard of Mozart/oz before, I'd put money on most of you had not heard of it until today.
For, you see, I believe at the time of writing, one, yes, ONE text book exists on this language. When I was doing my assignment there was merely some published conference notes and language design documents.
That's not all, I was not the only one experiencing difficulties with this language, someone in the class ended up pouring through the mailing lists and found the very tutor teaching the class struggling at first to understand the language.
I had to repeat that year. The functional programming class was one semester.
When I retook that year, it was a whole year long. However, halfway through the year, original tutor was fired and a new tutor was hired to teach the language.
He was, understandably, just as confused as we were.
There was a Starbucks and a pub equidistant from the lecture hall, though in opposite directions. From lecture to lecture we had no idea which one we'd end up in.
I have reason to believe Mozart/Oz it some sort of otherworldly abomination designed to give students the occasional nightmare flashback, long after they've left.
My room had post it notes, sheets of paper, print outs, diagrams, doodles and pens, just stuck to the wall, I looked like a raving lunatic three hours away from being institutionalised. There was string connecting one diagram to the next and images of a chess queen all over. As I attempted to solve the n-queens problem.
Madmans knowledge, I call it. I can never unlearn all that, in fact it seeps into much of the code I write. Such information was not meant for the minds of a simple country bumpkin such as myself...
Mozart/Oz... I wouldn't be the programmer I am today without it, and that's frankly terrifying...10 -
So we decided to use Monday evenings as a development night for our game, we are currently down the pub enjoying the sun. Maybe next Monday1
-
Surprisingly frequently in my city, a few weeks ago for example I was in the pub discussing reactjs with a friend of mine from uni and a random bloke cut in with "there was nothing wrong with jquery" (he had a massive grin on his face, so he knew what he said). Spent the rest of the night talking with him and his son who were both consultant developers.
Fun night 🤣 -
A SEO copywriter walks into a bar, liquor store, pub, bartender, drinks, beer, wine, vodka, sixpack,...
credits: it-talents.de4 -
watched first two episodes of mr. robot and it seems pretty good so far. does it go like other hacker shows/movies or does it stay good?10
-
about 6 years ago I was working for a large consulting company on a government project. I put in a change for a stored procedure that hard coded the partition to 0, except 0 didn't exist on production, just on test. several thousand government employees couldn't access it for a day. 😞
-
People calling themselves "Thought Leaders" on LinkedIn.
Torn between wanting to know what the fuck this means and knowing that the answer will doubtless make me lose even more faith in humanity.
The one I just saw referred to as such (probably by himself) is that Simon Sinek goof who went viral a while back for saying that all millennials are useless lazy dopamine junkies because their parents spoiled them beyond repair. He looks like the kind of gold-plated twat who would definitely consider himself a Thought Leader, even though 'millennials are a bit lazy' is the kind of insight you can get down your local pub from the guy who'd otherwise be trying to sell you tickets to a dog fight.
How do you qualify as a Thought Leader? Do you just need to dress like salesman of the month, or do you actually need to be good at anything?
I love LinkedIn.11 -
Me and my friend were having a coffee in a coffee shop and then she told me the story of how she got fired.
So back then storing data on cloud was not that convenient and employees in her company used to carry softwares and other stuff in pendrives.
This one day after completing a MAJOR project for a very irritating client, my friend and her team decided to take the day off and celebrate this victory in a pub.
She got drunk and then came the call of her boss saying that they needed to showcase the software right then to the client.
Being always responsible and committed to her work my friend had decided to keep a backup in her pendrive which she kept in her breast pocket of her shirt.
So she goes into the washroom to freshen up, bends down near the toilet to vomit out liquor and lo!
The pendrive slid all the way down from her pocket into the toilet sink.
She didn't notice and flushed and down went the whole project into the sewer.
Moral - life fucks you in ridiculous ways.
Ps. She left her laptop at her home which was very far from her office and the pub. The team had to go to her home first to retain the project and eventually got seriously late. Boss didn't like it as the client was a real pain in the ass and this was a big project too and being the team lead my friend was supposed to deliver as expected.
She got fired.1 -
I still hang out with my friends that I have known since we're in elementary school. The whole gang just had dinner and beer at a pub last night. We usually hang out on Friday or Saturday night. Then sometimes on weekends at someone's place cooking meals, playing games etc.
I also hang out with my gf at least one day a week. The activities are *censored*.
Apart from that, the rest of my life is work life.
I won't say my life is very good but I can't say it's terrible. 🤔1 -
!dev but devRant has become "not dev" sadly.
Time to say bye to the racist kindergarden it has become!
How many more outdated country clichés can they possible come up with? "Thick Indian accent", "hard-working Nazi Germans" bla bla bla ...
If you're not interested in dev anymore why don't you join the European Parliament or a local pub where you can discuss your "ethnic" bullshit with other right-wing retards dreaming of remigration. Fuck you idiots, seriously!
/me logs off.7 -
The plan for today was to spend my birthday at school and then in the pub with friends/classmates.
Turns out there were no teachers, so here I am, at home with a great lunch and Netflix3 -
swag link says you need 20 +1's for stickers and 175 +1's for ball from each post. clicking on Learn More it then says you need 15 +1's for stickers and 150 +1's for ball from each post.
How about some stickers for spotting a content issue?1 -
Switching from a camel cased standard(js) to a snake cased standard (rust) tutorial
pub fn do_shit() {°°°}
...
pub fn doMoreShit()°°
*Notice wrong case*
To self:
Aaarghbkflahvflw. Why can't you fucking get the damn case right! And you call yourself a fucking senior programmer, you piece of useless shit.
#existentialCrisis
#questioning_life
pub fn do_other_shit()
...3 -
- Over a dozen of pub projects on my gh
- the one and only that I'm excited about least [and ashamed most] gets all the stars
not sure whether everyone is actually struggling with creative x-fi usb soundcard on linux or my other projects are even shittier than that one..1 -
had an interview at a place that went good at the technical part but I didn't do great at their 'abstract' questions. the guys interviewing were complete stone faced as well, no personality, pretty sure I wouldn't have liked working there anyways. a few years later and they are still looking for people. the recruiter rings up and I said I wouldn't want to re-interview unless the process had changed. he guaranteed me it had. so I went back in and it was exactly the same. exactly the same technical questions, followed by more abstract questions. different guys but same no-personalities. never going back
-
When a vendor tells you you can't do certain things on their API because their database is not optimized, and then drops the bomb that doing a certain action that, when it happens to overlap with a completely different client doing the same action, causes their system to go down, you know it's a Tuesday that feels like it should be a Friday...
-
Found in kernel/sched.c in Linux 1.2:
The "confuse_gcc" goto is used only to get better assembly code..
Dijkstra probably hates me.
https://git.kernel.org/pub/scm/...3 -
I want to make an AI bot from scratch. Where do I start? Which languages should I know? What IDE should I use?10
-
Day 9 of non smoking (attempt no. 16). How do people cope without smoking? its so difficult. After phone call with client... go for a smoke. Get off plane/train go immediately to smoke. Done some good code/solved something, go for celebratory smoke. Have a rehearsal with my band... go for a smoke. Go to the pub...go for a smoke. It’s woven in to the fabric of my existence and unpicking it is a long and painful task. I don’t do the e-cig thing. I don’t want to swap addictions.20
-
Devrant freezes when switching to different app then back again. A bit random though, has happened a couple of times but can't reproduce it.3
-
!Dev related but still freelance.
So.. I do 3D stuff, scenes, animation and so on. The e-sport pub manager I know told me about this guy that wanted to start a local organizations around FIFA, hold tournaments at the pub and so on. He had some finance, contacts and needed a 3D scene of a stadium to highlight top placers as 3D Fifa cards.
Gotcha, so I hooked him up with said stuff, he was happy, manager was happy, first tournament went well. Now to the shit show:
He wrote to me a couple of days later asking if I'm up for more jobs, which k respectfully declined because l was on a bigger project that took about 2months to complete. Since that day, he spammed both me and the pub manager with request and wishes on wanting to do more.. and I mean SPAM!
Like the dude can't take a no, sorry. He tried to call on phone and messenger, messeged me several times / week and asked the manager of he heard from me.
Both the manager and I were perplexed of his attitude and after asking several times to stop and we both had other things for now (events / projects).. he.. he didn't stop. So.. blocked and that's that, right? Fuck now.. other clients of mine asked me if I knew of him because he tried to contact them to get to me.. like WTF?! How hard is it to take a no and move on?! Jesus.. client of hell in a nutshell2 -
Replaced camera in my phone, it arrived when I was heading to the pub so after 3 beers I came back and everything works now.
Looks like it’s better to fix things when not sober.5 -
At what point do you leave?
I totally get Amazon's principle of 'disagree and commit' but how many disagreements with your COO, CEO, does it take to make you say:
Fuck this, I'm out of here6 -
jenkins tests passing but travis failing. now travis passing but jenkins failing, aargh!
more beer needed... -
RAAAAAAH fuck fuck fucking shit!!! Fuck jest Typescript "on the fly" compilation esModuleInterop typeroots, missing definitions jest ts-ignore and xtest everywhere, manual npm linking with different pkg mgrs & pub to a private registry, building docker images locally and doing tag management across git, docker & kubernetes then cross fingers that prod which has 0 common setup with local & test somehow works, open architecture "tickets" and wait months before they resolve, then repeat ad infinitum. How the fuck can I be productive when I need to be all over the place all the time and deal with these meta-code shenanigans. I just wanna code, damned3
-
Me: woo going to a massive LAN party, going to start hammering out some development, writing and gaming!
Friends: there's a pub just around the corner!
Me: *breathing intensifies*
I swear I'm not an alcoholic from all my rants containing grog or being induced by it but I swear it pops up every time I'm pumpedabout doing some coding...1 -
First time in years I've ended up in my old pub...
Got a message from work:
"Can you please look at this order?"
(screenshot with badly synced orderlines)
*looks via 4G*
nothing wrong, was fixed by customer
quickly send a message back:
"Nothing wrong, might need to refresh your page. I see the products..
Oh, and cheers... I'm not at home for once..."
(adds pic)2 -
I'm shitting there hammering out some code butchering some real problems when I suddenly realise I'm surrounded. I look around and yes it's the bloody committee.
The committee is what I call the rest of the department and it is dominated by the old guard which comprises of the programmers that have been around for longer.
None of the old guard can program particularly well but because they had been around the longest they'd all grown senior. The committee had free reign but anyone else doing anything differently has to get approval from the committee.
The only way to code otherwise was to copy and paste existing code then to primarily rename things. If anyone did anything that hadn't been seen before then it would have to be approved by the committee. Individual action was not permitted unless you were old guard.
I swept my headphones away expecting it to be something unimportant. It was.
First things first they announce. We're going to add extraneous commas to the last element of all possible lists separated by comma including parameters or so they say. Ask but why so I do.
Because the language now supports it. They added support for it so it must be the right way someone proclaimed. Does it? I didn't realise we were waiting for it. Why do we want it though?
Didn't you hear? It's all over the blogosphere. It massively improves merge requests. But how I ask?
Five minutes later I grow tired of the chin stroking, elbow harnessing, slanted gazes into the yonder and occasionally hearing maybe its because and ask if they mean when you for example add an element the last element registers as changed from adding a comma. Turns out that's all it is.
How often do we see that tiny distraction and isn't it pointless to make the code ugly just for a tiny transient reduction in diff noise I ask. Everyone's stumped. This went on and on and got worse and worse. But it makes moving things around easy half of them say in unison like the bunch of slobs that they are. I mean really. It doesn't make expanding and contracting statements from multiline to single line easy and it's such a stupid thing. Is that all they do all day? Move multi-line method parameters up and down all day? If their coding conventions weren't totally whack they wouldn't have so many multiline method prototypes with stupid amounts of parameters with stupidly long types and names. They all use the same smart IDE which can also surely handle fixing the last comma and why is that even a concern given all the other outrageously verbose and excessive conventions for readability?
But you know what, who cares, fine, whatever. Lets put commas all over the shop and then we can all go to the pub and woo the ladies with how cool and trendy we are up to date with all the latest trends and fashions then we go home with ten babes hanging off each arm and get so laid we have to take a sick day the following to go to the STD clinic. Make way for we are conformists.
But then someone had to do it. They had to bring up PSR. Yes, another braindead committee that produces stupid decisions. Should brackets be same line or next line, I know, lets do both they decided. Now we have to do PSR and aren't allowed to use sensible conventions.
But why, I ask after explaining it's actually quite useful as a set of documents we can plagiarise as a starting point but then modify but no, we have to do exactly what PSR says. We're all too stupid apparently you see. Apparently we're not on their level. We're mere mortals. The reason or so I'm told, is so that anyone can come in and is they know PSR coding styles be able to read and write the code. That's not how it works. If you can't adjust to a different style, a more consistent style, that's not massively bizarre or atypical but rather with only minor differences from standard styles, you're useless. That's not even an argument, it's a confession that you've got a lump of coal where your brain's supposed to be.
Through all of this I don't really care because I long ago just made my own code generators or transpilers that work two ways and switch things between my shit and their shit but share my wisdom anyway because I'm a greedy scumbag like that.
Where the shit really hit the fan is that I pointed out that PSR style guide doesn't answer all questions nor covers all cases so what do we do then. If it's not in PSR? Then we're fucked.4 -
in the hospital with surgery and our deployment goes wrong, so glad I work with really good people!3
-
When people is going out to the pub, drinking and partying
I am just sitting here and migrating my mail1 -
One day I helped another teacher with setting up his backend with the currently running Nginx reverse-proxy, peace of cake right?
Then I found out the only person with ssh access was not available, OK then just reset the root password and we're ready to go.
After going through that we vim'd into authorized_keys with the web cli, added his pub key and tried to ssh, no luck. While verifying the key we found out that the web cli had not parsed the key properly and basically fucked up the file entirely.
After some back and forth and trying everything we became grumpy, different browsers didn't help either and even caps lock was inverted for some reason. Eventually I executed plan B and vim'd into the ssh daemon's settings to enable root login and activate password authentication. After all that we could finally use ssh to setup the server.
What an adventure that was 😅3 -
when github autocorrects my pull request message that contains the word splunk.
(or when devrant also decides to) -
I've been away a couple of months.
I finished uni. I got a job at a startup. My mental health improved. Current boss is nice, during december I was going towards another burnout due to huge task assignments. When I expressed this concern, he understood and reduced the sprint task number.
I hope I'll stay here as much as possible.
I've been living with my gf for over a year now. Pretty exciting, although intimacy is kinda fucked. We haven't had sex for over a while now.
I'll start hit the gym soon. I need some kind of workout or sport.
I hate my city at this point. Too big, public transport suck and going out for anything that's not a pub requires at least 30 minutes by car in the traffic. Parking is plain hell. Cabs are out of the question, too expensive. Yet I need to go out. Can't stay this much inside the house or around the neighborhood.
Since I'm working remotely I'm thinking to travel with my laptop. I need a better one and more money, but I'm starting to work on an external project. Still have to discuss my hourly rate but it won't be much given my limited experience.
I want to start studying again. Not for university or anything, just to keep myself in training, but I feel like I don't have time. Probably it's because I'm an unorganized person. Will figure this out.
So this was my answer to an unasked "how are you?".
Did I miss anything? How are y'all? -
When commenting it would be nice to see the comment you are commenting against. Often they are long with several points and you can't refer back to it8
-
This has just happened
general channel to discuss sonos.
I have sales team less than 1m away.
this office is a fucking pub.
free beers, people telling jokes and
having non work conversations, free beer/wine.
The dream! unless you want to code.
if you want to code....ah NO WFH POLICY. -
came to the pub for some peice and quiet to read my book and this fucking dumbass boomer is sneezing every fucking goddamn second dude fucking fuck off god just eject me into space what the fuck is wrong with these FUCKING retards jesus christ5
-
To all who fancy MS being a platinum member of Linux Foundation and all that "love" which MS so loudly screams around. MS and Canonical are working together. Unity was only the beginning.
You do realise if Linus, the owner or Linux's GPL ( https://kernel.org/pub/linux/... ) dies it might lead to catastrophe, right? An owner of a license can make exceptions in license.
A man has limited time. A company can wait..2 -
If you're always too busy doing the wrong things the wrong way, you will never have time time to do things right
-
Debugging is not about process, it's about end.
(I just finished two week long debugging session - approx 5 hours a day. It was nasty bug appearing only with optimalizations in embedded C, you can imagine joy when it came to life tonight. So now I am resting at pub with glass of cider knowing I am loosing needed sleep but I simply do not care right now. Sweet careless.)2 -
What coding at work is supposed to look like:
class myclass {
public:
void myfunc;
void.... And so on so forth.
What coding at work actually looks like:
class myclass {
pub--"Hey can get line one? <name> is asking for you."
(20 minutes later)
public:
void myfunc;
vo--"Hey <same name> wants to talk to you again."
Programming doesn't give me gray hair, distractions do.3 -
Already finished all my work and waiting for the rest of the team to be ready for pub lunch, so killing time on devRant.1
-
Some people hate microsoft edge so much, even they only use it to download a browser. In fact i do that too. But then i download .pub file and its default application is edge. I guess edge now has a plus value. Since firefox does not support epub natively.
-
So... This is something that happened some time ago.
I went to my company's end-of-year celebration party. Since I've done mostly contractor stuff, I didn't really know anyone and thought this'd be a good chance to meet my peers.
My coworkers ended up being mostly HR people, and I couldn't find even one person with common interests.
It was a 2 hour bus ride away, and I had to stay over at a friend's place for the night, but that wasn't bad.
The party itself well...it started at 7pm and ended at... 4 am During that time I just wanted to be somewhere else. I felt alienated and out of place. I couldn't even play phone games since I had lost my phone the day prior.
The one conversation I had was forced upon me by a smug bastard who probably worked at HR or management. Wanted me to agree with him on something while I just wanted to go drink alone. He kept redefining words and moving goal posts every time I disagreed.
Most of the "party" was people 10-20 years older than me dancing to music I hadn't heard since I was in middle school.
The food was bad and sparse. The drinks... not even good either. Cheap pub drinks. No decent mixes.
To top it all off I couldn't leave early.
Just felt like ranting about this4 -
Interested if anyone has done a risk assessment with the AWS outage (or other cloud hosts) in scope and contingency strategies in place and tested. A+ if you did 👍
No, going to the pub does not count as a viable strategy but probably a popular one. -
I found myself tonight imagining what a conversation between Cheech and Chong about serverless would be.
Maybe the basis for a new talk?
Suggestions please1 -
Anybody else get shouted at by partner when you put all heavy stuff at front of conveyer when shopping, or rearrange dishwasher so more things will fit, etc. I thought I was just being logical about these things...1
-
Stupid monkey-shit-eating faggot! Choke on a flabby, pulsating camel genital while the balls beating your ugly face. We supposed to be business partners, still all your promises mean a fucking cheesburger from a syphilitic pub you arrogant shame of humankind!!!! Did I say we don't have time for this or that project in time. FUCKING YES!!! Did you care. NO! Did I say write a proper contract with the client?????!!!! DID I?? Still I've done my best with everything beeing hell of a priority! Did I missed some bugs yeah I fuckin did. And after all the shit I have pulled you out you dare to fucking cry for the investors because the company not producing enough profit BECAUSE OF FUCKING ME?????? You peace of bloody phlegm!!! Where are we??!!! Clappy clap. In fucking kindergarden?!!! Okay I am done with this shit I dont care promising commision... I am out. Jobs in Hungary at a reliable company with decent humans?! I fucking hate this world full of people like this cockroach!!!!4
-
MacOS be like: "Hmm... .pub... That's... Lets open it in... Libreoffice writer!"
>Nope.exe
>Tries changing the default app to open .pub from Libreoffice to Sublime
Now, MacOS is like: HALT! That app is from unknown publisher, your security setting does not permit opening apps from unknown developers!
>Sublime works fine, is used daily
>MacOS now tries to open... .pub files as if they were... Applications?
Wtf MacOS. Ur weird, go annoy the hipsters that use you to be cool pls. I need to actually work.5 -
Suggestions for UK conferences please, already going to devoxx, anything devvy would be good, or architecture or web related
-
What songs gets you in the zone?
I listened to witcher soundtracks, celtic music , irish pub music , metal, power metal ( all of the popular bands ) , folk rock but I started to get bored of them . I’m opened to everything that sounds good14 -
Question:
Can someone share resources or insights into system design or system architecture for a real time web app using nodeJS and scores in backend and react in front end
I was options to maintain and scale real time events
Basically a solid scalable architecture for a pub-sub kind of model4 -
Flutter is fun until the "pub get failed (server unavailable) -- attempting retry 3 in 4 seconds..." prompt up.3
-
I'm doing a website for a client that owns a typical British village pub, this is part of the brief:
"Clean, Warm, Colourful modern look with a rustic feel to compliment the internal physical attributes of the pub"
So contradicting.4 -
Opinions please. When end user is not paying for service, who is my customer? For example public facing government project2
-
when you working online
at a pub co-working space
and internet gets slow AF!!!
I'm gonna rip someones head off2 -
Oops, all day in the pub. Best excuse for not being available win a carton of beer... That I'll never send you.
I sound like a client, gimme shit for... free -
Feature request: please allow the app to work in landscape and rotate. I can't get to the hamburger menu in bottom right due to broken screen3
-
!dev
My music tastes can vary a lot, I'm the kind of dude who has no problem listening classical music, rap, metal, 1930's music, electro swing, even some shitty commercial musics from time to time without any trouble.
I'm just leaving a pub in which I was supposed spending the night; going from Motorhead's Ace of Spades to some shitty nobody R'n'B so that plebian can dance to it, all while cranking the volume up is nothing but FUCKING HERESY -
In client terms, a “3rd party” is akin to Angelina Jolie. Despite the promise that you’ll be able to have an enlightening conversation over a nice meal and hopefully hook up afterwards ... sorry, it ain’t happenin’. You’re just gonna have to fantasize about it while you take care of business yourself.
-
I'm starting to look at how to get devices to send data to an endpoint for storage and analysis. I'm looking at AWS iot stuff like core and green grass but then I'm thinking that a REST API could also do the job. I don't need to connect devices to each other (in first iteration). Dont think I need any edge stuff either. Anybody have any experience with this?3
-
Auto-healing deployments are great until your deployment fails because it can't handle sending a large number of push notifications (triggered by a message on a pub/sub topic that starts being read from on startup)...so restarts, tries to send them again, fails, restarts, etc...and meanwhile a few tens of thousands of users are getting spammed by notifications 😱5
-
This description, by Linus Torvalds, on how to revert a faulty merge reminded me why git is the wrong choice for many projects:
https://kernel.org/pub/software/...9 -
Is it normal to use rabbitmq AND kafka in the same backend?
Rabbitmq for email verification, password reset etc and all that email bullshit handling
While kafka handles real time chat communication?
Since i noticed both of them work exactly the same. Producer/consumer. Pub/sub shit. Cant tell the difference other than a slightly different syntax10 -
I am working on a pub-sub based protocol (like MQTT) with some added features. I am developing a python based server for my protocol which can be run on distributed architecture with load balancing without any tweaks. I am planning to make this server and the protocol open source.
The whole thing is getting so complex that I think about scrapping this project sometimes. I need your inspiration guys. Really, I need it. I know this protocol will be good enough to help people working on IoT, chat or any pub-sub based application if I can complete it. Cheer me up, please. -
Work has set us a challenge to build a rock/paper/scissors/dynamite/waterbomb api. We have the spec for what json is expected incoming and outgoing. We are allowed to implement any way we want and with any language we want. We are considering using Clojure but we have no experience with it, hence we will hopefully be learning as we go. Would you recommend using a framework like Pedestal, Hoplon, Luminus, or just use Leiningren or something else?
-
During my computer science degree I met the most brilliant, hilarious guys that I now call my best friends and still hang out with to this day.
I've taken a few other degrees and never made friends that were as good as the ones I made in my cosc degree. By far the best years I had in school were the ones spent hanging out with those guys.
The cosc program was the best place to meet good friends because the majority of us are fairly similar. We'd all rather hang out and game with friends and a few drinks then go pub crawling.
Computer science people are my people. -
# rails manage.py runserver
Usage: ...
# python run server
/use/local/opt/python/bin/python2.7: can't find '__main__' module in 'run'
# npm server
Usage: npm <command> ...
# webpack s[TAB]
...
# [TAB]
...
# ./just_fckn_run_pls.sh
zsh: no such file or directory: ./just_fckn_run_pls.sh
# DO IT
zsh: correct DO to do [nyae]? n
zsh: command not found: DO
# exit
Thank you. Come again!
-- Dr. API Nahasapeemapetilon
============= Broken Pipe =============
10 GOTO PUB -
Architecture for Java REST API going to build/port from existing NodeJS one.
So Spring Boot + *
Lots of concurrent requests and large MongoDB calls. Current APIs use like 4GB memory for each instance because they don't use stream/pipe the response. Hold all data in memory and then return it all at once to user.
And well we expect more load in the future, so want to do this the right way.
So my understanding since this morning, is there's the blocking? MongoClient, (find* returns List) and now a Reactive MongoClient which is very async and like JS promises. Based on Pub, Sub model.
But the downside of JS promises was callback hell.
So actually 2 questions.
1. For each request, the db call done using the same MongoClient/db connection such that if there are 2 requests one would block the other?
2. Reactive Mongo would be non-blocking by design so would be better to support streamed responses?8 -
LMaoooo Just went in pub and toilet door literally written "BULLSHIT CORNER" With route 66 at the top. Thats me
-
Starting off making a pub quiz in BASIC and feeling blown away that the computer could 'remember' the players' scores! Joy making that happen. Seems a loooong time ago!
-
New to the the electronics stuff and I'm building a word clock. Recommendations for a microcontroller that has at least 22 outputs (22 words to light up). Something from Arduino? Also need to plug in for power and use an RTC.5
-
What's a good inexpensive android phone for development. Something 14 year olds could use without breaking6
-
Enlightenment did happen, but it would be a reach to call a little rich Italian hipsters’ literature fad a “worldwide phenomenon”.
When we emerged as a species, all we had was tools and fear. Nothing has changed. Our progress in tools did fix suffering somewhat, but it couldn’t fix fear.
Fear is what makes one person attack the other, from a pub scuffle to launching nukes. It’s all the same, isn’t it. If I don’t strike now, they’ll strike first.
Losing an argument says nothing about you. Someone yelling at you while you stay silent says nothing about you. Being rejected says nothing about you. Being ghosted says nothing about you. Being betrayed says nothing about you. Even obeying your boss says nothing about you.
There is no need to compensate. You have the power to turn your “yes” into “no” swiftly and confidently whenever you want to. -
This Pub in Budapest would make a good place for a Meetup.
May the pointers to the beverage never lead to null. -
i want to deploy websockets on multiple servers with horizontal scaling. i don't know what to use. redis pub/sub? haproxy? i wanna know your opinions. ❤️6
-
I am trying to extract data from the PubSub subscription and finally, once the data is extracted I want to do some transformation. Currently, it's in bytes format. I have tried multiple ways to extract the data in JSON format using custom schema it fails with an error
TypeError: __main__.MySchema() argument after ** must be a mapping, not str [while running 'Map to MySchema']
**readPubSub.py**
import apache_beam as beam
from apache_beam.options.pipeline_options import PipelineOptions
import json
import typing
class MySchema(typing.NamedTuple):
user_id:str
event_ts:str
create_ts:str
event_id:str
ifa:str
ifv:str
country:str
chip_balance:str
game:str
user_group:str
user_condition:str
device_type:str
device_model:str
user_name:str
fb_connect:bool
is_active_event:bool
event_payload:str
TOPIC_PATH = "projects/nectar-259905/topics/events"
def run(pubsub_topic):
options = PipelineOptions(
streaming=True
)
runner = 'DirectRunner'
print("I reached before pipeline")
with beam.Pipeline(runner, options=options) as pipeline:
message=(
pipeline
| "Read from Pub/Sub topic" >> beam.io.ReadFromPubSub(subscription='projects/triple-nectar-259905/subscriptions/bq_subscribe')#.with_output_types(bytes)
| 'UTF-8 bytes to string' >> beam.Map(lambda msg: msg.decode('utf-8'))
| 'Map to MySchema' >> beam.Map(lambda msg: MySchema(**msg)).with_output_types(MySchema)
| "Writing to console" >> beam.Map(print))
print("I reached after pipeline")
result = message.run()
result.wait_until_finish()
run(TOPIC_PATH)
If I use it directly below
message=(
pipeline
| "Read from Pub/Sub topic" >> beam.io.ReadFromPubSub(subscription='projects/triple-nectar-259905/subscriptions/bq_subscribe')#.with_output_types(bytes)
| 'UTF-8 bytes to string' >> beam.Map(lambda msg: msg.decode('utf-8'))
| "Writing to console" >> beam.Map(print))
I get output as
{
'user_id': '102105290400258488',
'event_ts': '2021-05-29 20:42:52.283 UTC',
'event_id': 'Game_Request_Declined',
'ifa': '6090a6c7-4422-49b5-8757-ccfdbad',
'ifv': '3fc6eb8b4d0cf096c47e2252f41',
'country': 'US',
'chip_balance': '9140',
'game': 'gru',
'user_group': '[1, 36, 529702]',
'user_condition': '[1, 36]',
'device_type': 'phone',
'device_model': 'TCL 5007Z',
'user_name': 'Minnie',
'fb_connect': True,
'event_payload': '{"competition_type":"normal","game_started_from":"result_flow_rematch","variant":"target"}',
'is_active_event': True
}
{
'user_id': '102105290400258488',
'event_ts': '2021-05-29 20:54:38.297 UTC',
'event_id': 'Decline_Game_Request',
'ifa': '6090a6c7-4422-49b5-8757-ccfdbad',
'ifv': '3fc6eb8b4d0cf096c47e2252f41',
'country': 'US',
'chip_balance': '9905',
'game': 'gru',
'user_group': '[1, 36, 529702]',
'user_condition': '[1, 36]',
'device_type': 'phone',
'device_model': 'TCL 5007Z',
'user_name': 'Minnie',
'fb_connect': True,
'event_payload': '{"competition_type":"normal","game_started_from":"result_flow_rematch","variant":"target"}',
'is_active_event': True
}
Please let me know if I m doing something wrong while parsing the data to JSON. Also, I am looking for examples to do data masking and run some SQL within Apache Beam4 -
So as we start to scale we are recruiting "a lot" of profile on the tech part. And for fuck sakes it's complex while covid shit storm!
No pub for the first tech interview, no late restaurants, a lot of "let's wait till next quarter"... Fuck....
And the worst of the creep is that I "have" to stalk/spam some profiles for the "hunt", and I'd like to clean/purify myself afterward...