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 - "connections"
-
Senior colleagues insisting on ALWAYS returning HTTP status 200 and sticking any error codes in the contained JSON response instead of using 4×× or 5×× statuses.
Bad input? Failed connections? Missing authorization? Doesn't matter, you get an OK. Wanna know if the request actually succeeded? Fuck you, parse potential kilobytes of JSON to get to the error code!
Am I the asshole or is that defeating the purpose of a status code?!15 -
Huge dev-team presentation today with YouTube livestream link available to all clients.
Management wanted us to test our laptops, connections and cables to the bone, so that every computer will work 100% while the stream is running.
You know what didn't work?
The goddamn streaming camera device.1 -
Dear router
It was nice having you in my house, but it's come to the point where our ways part. I must go on and you must be recycled. You've served me well all those 7 years, my friend.
It's not me, it's you. You've grown old and unreliable. Your capacitors must have dried out and can no longer serve reliable wifi connections. I keep on getting lost ICMP packets and connection outages altogether. While these things could happen to any router, definitely not every router has a 13-16 second long wifi outage every minute. I cannot have 2 peoples' work depend on a wifi connection where a ping to a LAN IP takes 58204ms. I just.. can't. You've become a liability to my family.
I'm pissed, because I cannot afford video calls with my colleagues.
I'm pissed, because my wife spends good 5 minutes every call asking "can you hear me? how about now?" and repeating herself over and over.
I'm pissed, because I can no longer watch Netflix or listen to YT Music uninterrupted by network outages.
I'm pissed, because my Cinnamon plugins freeze my UI, waiting for network response
But most of all I'm pissed, because I was disconnected from BeatSaber multiplayer server when I scored a Full Combo in Expert "Camellia: Ghost" - right before I got a chance to see my score.
I gave you 2 second chances by factory-resetting you. I admit you got better. And then got back to terrible again.
I can no longer rely on you. It's time to say our goodbies and part our ways.
P.S. as a proof of your unreliability I'm attaching outputs of ping to a LAN IP and pingloss to the same IP (pingloss: https://gitlab.com/-/snippets/...)3 -
Alright, this is a rant about me and how much I suck at living.
After a little over a year of living alone thousands of kilometers away from home, I realised I suck at it. I'm home for the holidays now. Arrived here a couple of weeks ago. Christmas week was just the worst. I fell ill and thought I was going to perish in the cold. For the past year, I was working full throttle and didn't make time to take care of myself and cook and eat regularly. I'm sick of all the take out food. Ugh. Didn't even leave time for socialising, may have even broken a few existing connections. I built some good reputation at my company but it was not at all worth what I went through. Not one bit.
It didn't help that some important devs left the company and their code mess was down to me to handle. Don't even want to mention more about the family mess at home. But home is home still.
So this year, once I go back, I've decided I'm going to take control and make time for all the important things in life. I've gained new cooking skills from mom too. I've already started the job change process and if everything goes alright, I should be in a much better place before I see 2023.3 -
Fucking mongodb I swear to god what is your problem, why do you close all connections after successful authentication you piece of concentrated crapjuice and why is the best information you can give me a pissing "Connection ended" message your demonic unholiness?
Stick a cactus up your rear, pot included5 -
This was originally a reply to a rant about the excessive complexity of webdev.
The complexity in webdev is mostly necessary to deal with Javascript and the browser APIs, coupled with the general difficulty of the task at hand, namely to let the user interact with amounts of data far beyond network capacity. The solution isn't to reject progress but to pick your libraries wisely and manage your complexity with tools like type safe languages, unit tests and good architecture.
When webdev was simple, it was normal to have the user redownload the whole page everytime you wanted to change something. It was also normal to have the server query the database everytime a new user requested the same page even though nothing could have changed. It was an inefficient sloppy mess that only passed because we had nothing better and because most webpages were built by amateurs.
Today webpages are built like actual programs, with executables downloaded from a static file server and variable data obtained through an API that's preferably stateless by design and has a clever stateful cache. Client side caches are programmable and invalidations can be delivered through any of three widely supported server-client message protocols. It's not to look smart, it's engineering. Although 5G gets a lot of media coverage, most mobile traffic still flows through slow and expensive connections to devices with tiny batteries, and the only reason our ever increasing traffic doesn't break everything is the insanely sophisticated infrastructure we designed to make things as efficient as humanly possible.11 -
In 2015 I sent an email to Google labs describing how pareidolia could be implemented algorithmically.
The basis is that a noise function put through a discriminator, could be used to train a generative function.
And now we have transformers.
I also told them if they looked back at the research they would very likely discover that dendrites were analog hubs, not just individual switches. Thats turned out to be true to.
I wrote to them in an email as far back as 2009 that attention was an under-researched topic. In 2017 someone finally got around to writing "attention is all you need."
I wrote that there were very likely basic correlates in the human brain for things like numbers, and simple concepts like color, shape, and basic relationships, that the brain used to bootstrap learning. We found out years later based on research, that this is the case.
I wrote almost a decade ago that personality systems were a means that genes could use to value-seek for efficient behaviors in unknowable environments, a form of adaption. We later found out that is probably true as well.
I came up with the "winning lottery ticket" hypothesis back in 2011, for why certain subgraphs of networks seemed to naturally learn faster than others. I didn't call it that though, it was just a question that arose because of all the "architecture thrashing" I saw in the research, why there were apparent large or marginal gains in slightly different architectures, when we had an explosion of different approaches. It seemed to me the most important difference between countless architectures, was initialization.
This thinking flowed naturally from some ideas about network sparsity (namely that it made no sense that networks should be fully connected, and we could probably train networks by intentionally dropping connections).
All the way back in 2007 I thought this was comparable to masking inputs in training, or a bottleneck architecture, though I didn't think to put an encoder and decoder back to back.
Nevertheless it goes to show, if you follow research real closely, how much low hanging fruit is actually out there to be discovered and worked on.
And to this day, google never fucking once got back to me.
I wonder if anyone ever actually read those emails...
Wait till they figure out "attention is all you need" isn't actually all you need.
p.s. something I read recently got me thinking. Decoders can also be viewed as resolving a manifold closer to an ideal form for some joint distribution. Think of it like your data as points on a balloon (the output of the bottleneck), and decoding as the process of expanding the balloon. In absolute terms, as the balloon expands, your points grow apart, but as long as the datapoints are not uniformly distributed, then *some* points will grow closer together *relatively* even as the surface expands and pushes points apart in the absolute.
In other words, for some symmetry, the encoder and bottleneck introduces an isotropy, and this step also happens to tease out anisotropy, information that was missed or produced by the encoder, which is distortions introduced by the architecture/approach, features of the data that got passed on through the bottleneck, or essentially hidden features.4 -
Before lockdown, I was working in what was pretty much my dream job. Coding, problem-solving, listening to music on the company headsets, nights out, and even a work social holiday. With no university revision to complete, I had a lot more free time than I had prior and properly got back into playing video games and watching DVDs that I had been putting off, not to mention extra money.
Enter lockdown. All of this freedom was taken away by COVID-19. My living space had turned into a literal prison. All of my social connections had evaporated and work took over my life as there was no other life left to take away. Video calls through Electron-powered bloatware that breaks constantly do not count, no matter how much the lying companies behind it insist otherwise. Sure, my game consoles were still physically there but my productivity had rapidly drained away to the point that I was not completing nearly as much as I would in a full morning in a full day, so they went unused. My management were very understanding of this - they probably saw where I was mentally. By the time my contract finished, the project that I had started just before lockdown was so broken that they had to call me back to fix it before my company laptop was returned.
My enthusiasm for programming and technology was damaged considerably and at one point I swore I would never work in this industry again. I tried finishing my university course but it is, to this day (October 2022) still remote so I just left as I did not sign up for the Open University. May as well just watch YouTube as I learn far more that way and it doesn't slow down my computer nearly as much. I am slowly recovering - I've started working on personal projects again, my counselling appointment is next week, and - after a stint in fast food and away from the computer - I am once again looking for a programming job as a few of them have returned to a functioning workplace and I do miss the salary, though it has become very challenging to find anything to apply to - it's an absolute minefield out there in ways that were largely irrelevant before COVID-19.16 -
IT admins of devRant, explain my dumbass the following:
Why would an IT department put servers in a VPN without TLS.
They presume they don't need because muh-VPN.
And then they don't want to hand out VPN connections to anyone and force me to use Citrix RDP 🤡
I know there are security reasons, but is there not a better way? Like goteleport.com ?
Asking for a friend (or several)5 -
I’m back on this platform after an awesome year of progress in my dev career. Here is the back story:
1. I was a junior dev at a financial technologies company for a little over a year.
2. The company was looking to hire an Integration Manager for its software with both our vendors and customers.
3. The pay was good and I was offered that position as a promotion.
4. I accepted it and said to myself that this is temporary. It will help me pay the bills and secure a better life, which it did.
5. Lost two years of my dev career in that position doing nothing but basic integrations (rest apis, web and mobile sdks, and work arounds for what does not work). Zero challenge. This is when I started to use devRant often.
6. On the bright side, the bills were paid and life style got better.
7. Two years in, any way out of the integration department is something I am willing to accept. So I approached every one and worked extra hard as an Application Support Engineer for every product in the firm for free, in the hopes of making good connections and eventually be snatched by someone. This lasted six months.
8. Finally! Got an offer to become the Product Manager for one of the apllications that I supported.
9. Accepted the offer, left the department, and started working with the new team in an Agile fashion. This is when I stopped using devRant because the time was full of work.
10. Five months in, I was leading a team of developers to deliver features and provide the solutions we market. That was an awesome experience and every thing could not have been better.
Except…
Every developer was far better than me, which made me realize that I need to go back on that track, build solutions myself, and become a knowledgable engineer before moving into leading positions.
11. After about a 100 job applications online, I’m back as a Junior developer in another company building both Web and Voice Applications. Very, very happy.
Finally, lessons learned:
1. The path that pays more now is not necessarily the one you wanna take. Plan ahead.
2. There is always a way out. Working for free can get you connections, which can then make you money.
3. Become a knowledgable and experienced engineer before leading other engineers. The difference will show.
4. Love what you do and have fun doing it.
Two cents.1 -
I've got a kinda basic networking question I can't quite figure out
How does a push notification work?
Like, on an Android app. A good example is an authenticator. Say I don't login to the service for 4 months.
Then, one day, I try to log into the web portal and it prompts me to accept the request on my authenticator app on my phone.
Immediately, there's a push notification on my phone.
Wtf.
Is there a socket open for 4 months? Does it send requests every few seconds for 4 months? I can't imagine that either of these options scale whatsoever: both horrendously waste bandwidth and server connections.
How the fuck does it work? I don't even have the first idea.7 -
Adding recruiters to your job connections is like adding bloat to your application; it's useless and wastes resources.
LoL -
CGI is fun, websockets are fun, why on earth is it so fucking hard to have both of them with proper switching using at most one extra program apart from my handlers?
By proper switching I mean that you actually track connections and upgrade headers to decide what to do, rather than forcing websocket connections onto a separate HTTP resource just to tell the difference.4 -
Writing simple driver for AT24C256 eeprom on pico (RP2040)
It turned out it was FT24C256A, which should follow same protocol.
After literally over month of coming back to it, getting stuck again, rewriting things (including some functions of pico-sdk), i almost gave up a d started just yolo trying random shit.
Afterall the documentation on addressing the chip fucking missled me -_- (1st bit is r/w flag and 2-7 bits are address, counted from MSB->LSB)
I made it work yesterday.
In meantime Ive rewritten Wire library, Ive modified someone's else rewrite, extended sdk to allow getting i2c registers, tried to use tiny go just to learn it doesnt support i2c slave mode, resoldered entire thing few times, measured connections few too many times etc.
Frustrated I doubted I will ever manage to finish putting this project together because it looked like Im just too noob.1 -
I have connections in a country with low wages, so I can get cheap but ok/good quality devs.
What is the best way to leverage this?14 -
Anyone tried converting speech waveforms to some type of image and then using those as training data for a stable diffusion model?
Hypothetically it should generate "ultrarealistic" waveforms for phonemes, for any given style of voice. The training labels are naturally the words or phonemes themselves, in text format (well, embedding vectors fwiw)
After that it's a matter of testing text-to-image, which should generate the relevant phonemes as images of waveforms (or your given visual representation, however you choose to pack it)
I would have tried this myself but I only have 3gb vram.
Even rudimentary voice generation that produces recognizable words from text input, would be interesting to see implemented and maybe a first for SD.
In other news:
Implementing SQL for an identity explorer. Basically the system generates sets of values for given known identities, and stores the formulas as strings, along with the values.
For any given value test set we can then cross reference to look up equivalent identities. And then we can test if these same identities hold for other test sets of actual variable values. If not, the identity string cam be removed, or gophered elsewhere in the database for further exploration and experimentation.
I'm hoping by doing this, I can somewhat automate the process of finding identities, instead of relying on logs and using the OS built-in text search for test value (which I can then look up in the files that show up, and cross reference the logged equations that produced those values), which I use to find new identities.
I was even considering processing the logs of equations and identities as some form of training data perhaps for a ML system that generates plausible new identities but that's a little outside my reach I think.
Finally, now that I know the new modular function converts semiprimes into numbers with larger factor trees, I'm thinking of writing a visual browser that maps the connections from factor tree to factor tree, making them expandable and collapsible, andallowong adjusting the formula and regenerating trees on the fly.7 -
Visual studio: *thinking for 10 years*
Me: looks like it's trying to validate bad connections on this SSIS package. *disables connection checking*
Visual studio: *thinking for 10 years* Validating connections... [Visual studio is not responding] -
this might be controversial, but what exactly use to be / are benefits of moving out to live in "tech hub cities"?
i would like to hear the points which applies to both pre pandemic and post pandemic (aka remote work boom) era.
going to a bigger city if you are living in villeges / unreachable areas seems a valid move as there will be opportunities in the city. but going out of home citiy (aka a place with decent opportunities, even if less paying), to a completely new "tech hub" city just because there is a bunch of companies have offices seems a bit much.
what's the plan? you going to bay area for 5 years, and then coming back with vested stocks to your poultry farm home at springfield ? or is the plan to get settled in the city too? in my country, the difference i expense s in my city to my country's tech hub is 10x , even tho my city itself is the capital and has plenty of tech companies .
they offer lesser salaries tho, but leaving away my nest of friends, family , relatives and other known people to start my own dynasty at a completely new hustling city with no connections, just to earn a few extra bucks seems very less compelling8 -
In Africa,
To get a private company job, you need skills, not books.
To get a government job, you Connections to big people, not books or skills .
To get a scholarship for higher studies, you need books.2 -
I want to stay in the here and now where all the niceties are being added feature wise to everything and still work a decent paying job and get laid :(
wtf !
why do they constantly think they can take more and more and keep rolling everything backwards ! its stupid !
build back better should be code for 'bankrupt everyone and make life shitty and create diseased fucked up people who are incapable of forging human connections and or are scared to and/or are so tired out by a lack of novel thought and experiences their consciousness is just hiding until something new comes along so they don't want to kill themselves everyday'
i mean thanks people
always wanted my entire country to be filled with untrustworthy destructive crazy slaves. -
No one gives a shit about the fact i have computer science degree. No employer has asked me. Nobody cares. I can't get hired anywhere and i was promised to surely find a job if i have a degree. 6 years of nerve wrecking of my fucking life for a degree wasted in fire. I was SCAMMED. "Software engineering" universities are a fucking SCAM. SCAMMMMM. Fuck you. I'll make my own course and scam desperate people the same way universities do it. The same way andrew tate does it. Fuck you.
In life i learned that you will be successful ONLY IF:
- you have luck
- you're a wealthy millionaire
- you have connections
And you will FAIL IF:
- you try to do good and be fair
Fuck you11 -
"Overengineering is terrible".
The project's owner wants to employ Kafka in the project, however, there are only a few hundred simultaneous connections. The programming team questioned, "Is it Overengineering?"
"It's that terrible," the project's owner said.