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 - "raw"
-
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 -
The devRant Podcast is finally here!! We're happy to announce the release of episode #0 - featuring Andy Hunt (known for The Pragmatic Programmer, rubber duck debugging, DRY, and much more). We can't thank Andy enough for agreeing to be on our first podcast episode and it was so enjoyable to interview him.
We also want to give a huge thanks to our two devRant users who helped us out and came on to talk about their rants - @silhoutte and @sway. We also greatly appreciate all of the questions that were submitted by community members. We really wanted to ask all of them since there were a lot of good ones, but we had to narrow it down a little as Andy was already kind enough to go over the 20 minutes we had originally asked for. This episode features questions from @casanovanoir, @fatlard1993, and @3K-Vengeance.
You can get all the links to the podcast here: https://devrant.io/podcasts/... (available on iTunes, Google Play, and we've provided the raw mp3).
If you'd like to see it on any other platforms in the future, please let us know. And like always, feedback is appreciated since we're new to this and still learning our way when it comes to podcasting. If you enjoy the show, please rate it to help us out :)
Thanks everyone!31 -
The second episode of The devRant Podcast is here! We're happy to announce the release of episode #1 - featuring David Heinemeier Hansson (DHH) (known for creating Ruby on Rails, Basecamp, his book Rework, and much more). It was a thrill getting to interview David and we think everyone will really enjoy!
We also want to give a huge thanks to our two devRant users who helped us out and came on to talk about their rants - @peaam and @switchstep. We also greatly appreciate all of the questions that were submitted by community members. We really wanted to ask all of them since there were a lot of good ones, but unfortunately we ran out of time with DHH and we didn't get to ask any :/ We're going to make sure we better allocate time in the future.
You can get all the links to the podcast here: https://devrant.io/podcasts/... (available on iTunes, Google Play, YouTube, Soundcloud, Stitcher, and we've provided the raw mp3 in various bitrates).
If you'd like to see it on any other platforms in the future, please let us know. And like always, feedback is appreciated since we're new to this and still learning our way when it comes to podcasting. If you enjoy the show, please rate it to help us out :)
Thanks everyone!7 -
For the Dutch people on here, the new surveillance law in short:
- dragnet surveillance, data retention of normal data is a maximum of 3 years, encrypted data up to 6 years.
- secret DNA database, data retention up to 30(!!) years.
- use of 0days without having to report them to the vendors.
- third parties may be hacked to get to main targets; if my neighbor is suspected they may legally hack me in order to get to him/her.
Cleaning up (removing backdoors etc) afterwards is not required.
- sharing unfiltered (raw) data gathered through dragnet surveillance with foreign intelligence agencies is permitted, even if it's to a country which doesn't have as much 'democracy' as this country does.
Decide for yourself if you're voting (at all) against or in favor of this law, I'm voting against :)
We do need a new/reformed law, this one is just too intrusive imo.34 -
!dev related but fucking hell I need to get this out.
Could people (including friends) fucking stop to invalidate my favourite music genre?!
'Its just too hard', 'its so aggressive', 'its only boom boom boom'
Fuck you.
Always, al-fucking-ways at every party or wherever when people are allowed to put on music, whenever I'm allowed to, my music is turned off right away.
'Sorry but not everyone likes this and you're not the only one here'
I'm sorry, WHAT? I'VE LISTENED TO STYLES I REALLY FUCKING DON'T LIKE FOR FUCKING HOURS AND I'VE SWALLOWED IT ALL. THEN AT LEAST LET ME PLAY ONE FUCKING SONG ON A WHOLE FUCKING EVENING.
And nothing against metal peoples, really not but its nearly always the metal people who put their music on all evening and keep telling how awesome metal is and the second I mention my genre or out it on: 'oh but that sucks' *switches back to metal*
Go fuck yourselves. I'm swallowing this shit every fucking time but I'm getting fucking sick of this bullshit.
By the way, my favourite genre is raw hardstyle aka rawstyle.70 -
A few years ago:
In the process of transferring MySQL data to a new disk, I accidentally rm'ed the actual MySQL directory, instead of the symlink that I had previously set up for it.
My guts felt like dropping through to the floor.
In a panic, I asked my colleague: "What did those databases contain?"
C: "Raw data of load tests that were made last week."
Me: "Oh.. does that mean that they aren't needed anymore?"
C: "They already got the results, but might need to refer to the raw data later... why?"
Me: "Uh, I accidentally deleted all the MySQL files... I'm in Big Trouble, aren't I?"
C: "Hmm... with any luck, they might forget that the data even exists. I got your back on this one, just in case."
Luck was indeed on my side, as nobody ever asked about the data again.5 -
Recently i had to interview a guy with 10 years of frontend experience for a react developer role
Me : Do you know what ecmascript is ?
Him : Yes
Me : Which version would you prefer to use and why ?
Him : I dont use it. I am more comfortable with JavaScript.
Me : (totally confused) 😶
Him : (trying to be oversmart) I know you young guys prefer to use these fancy frameworks because you dont know how powerful raw javascript is.
Me : (Trying hard to not "react") Ok.
How would you "react" to this ?31 -
Never gonna happen:
* Port our API to graphql. Or even make it just vaguely rest-compliant. Or even just vaguely consistent.
* Migrate from mysql to postgres. Or any sane database.
* Switch codebase from PHP to... well, anything else.
* Teach coworkers to not commit passwords, API keys, etc.
* Teach coworkers to write serious commit messages instead of emoji spam
* Get a silent work environment.
* Get my office to serve better snacks than fermented quinoa spinach bars and raw goat milk kale smoothies
* Find an open source IDE with good framework magic support. Jetbrains, I'll give you my left testicle if you join the light side of the force.
* Buy 2x3 equally sized displays. I'm using 6, but they're various sizes/resolutions.
* Master Rust.
* Finish building my house. I completely replaced the roof, but still have to dig out a cellar (to hide my dead coworkers).
* Repair/replace the foundation of my house (I think Rust is easier)
* Get slim and muscular.
Realistically:
* Get a comfortable salary increase, focus more on platform infrastructure, data design, coaching
* Get fat(ter). Eating, sitting, gaming, coding and sleeping are my hobbies after all.
* Save up for the inevitable mental breakdown-induced retirement.13 -
Imagine a database table where dates were saved as strings from raw user input. Then do migration to other database with table where dates are datetime.
Yep. That's me. 😶
I hate humans. 😧🔫
Especially those who try to be original like:
11|Sept.|2016 or 13;Juni;17
There are rules in this world, damn. 😥9 -
You guys are pissed off whenver you see a mail with plain text password. And here I have clients who couldn't log in even after I shoved the raw and plain credentials up their arses.5
-
Had this conversation with a friend a while ago (not dev related). He convinced me to start working on a design! (detail: he doesn't know me well, know him through a best friend but I consider him a friend)
Friend: *shows new tattoo* what ya think?
Me: awesome man! I still idk maybe want a tattoo too...
Friend: ohhh! What of?
Me: uhm well... my favourite music genre... uhm...
Friend: what's up with your doubts?
Me: well.... everyone always tells me not to tattoo anything relating to music because musical taste cab change easily...
Friend: may I guess the genre?
Me: yeah sure :)
Friend: hardstyle, maybe raw hardstyle/rawstyle?
Me: yup!
Friend: well why wouldn't you get a tattoo of it?!
Me: well, I mean what if my taste changes?
Friend: dude. do you have the slightest clue how fucking happy/energetic you look when you hear that music?! It'd be hard to imagine you losing your love for that genre! And if then, then what? That genre has gotten you through the darkest places, most difficult times and has pretty much made you into the person you are right now, even if you'd change factories genres, it'd be a reminder of how you beat getting bullied and became the person you are now!
Me: yeah.... but everyone keeps telling me that its not a good ide..'
Friend: fuck them. You love this music to the fucking point, you told me earlier that you'd like to start producing it!
Fuck those people. If you'd like it, go get that fucking tattoo!
I love that guy!
Anyone into electronic music production here? I could use some tips 😅14 -
Adventures in security land.
The “legendary” lead dev authored a ticket that logs raw credentials for a third-party tool we’re using, and logs partially-obscured consumer passwords. His reasoning: “for debugging. And customer service!” And then argued with me over why that’s bad! Seriously?
Then in the release channel, he and the release manager are talking like I’m pestering them with my findings. Things like “I have some Root-induced changes coming” and “Fixed those, but she’ll probably have more...” etc.
Like come on.
I’m even being nice here, but you seriously need to stop screwing this up.
They also didn’t bother merging the fixes into the release branch, so I needed to re-review the entire (large) ticket on its own branch. Doubles the effort since I can’t easily see what changed.
The lead dev also only updated a few of the specs (despite me sending him a list), so there’s a bunch of failing ones now. Makes me unsure if he actually fixed everything.
Maybe I’m just being touchy, but ugh. Freaking annoying people.
At least he owned up to being the author this time instead of saying someone else (who wasn’t in the history...) wrote it. -.-9 -
I recalled a seemingly simple task I took on.
We were building a booking system, and I had to figure out how to retrieve bookings by a certain date range.
Upfront, the tasked seemed simple until I realised I had to both figure out the logic and the SQL statements needed to retrieve all bookings within a certain date range in one query.
I ended up drawing a model to help me visualise the various date-range criteria to be satisfied. And used unit tests to help me think through each date range criterion and make sure they were accurate. Some were obviously from paranoia, but better to be safe than sorry...
After that, I had wrote down raw SQL directly into Sequel Pro first to make sure my query logic was accurate too, before translating into something the ORM equivalent. This was when I learned how to define and use variables in SQL. The variables were throw-away code; I just didn't want to have to hard-code the test date-ranges over and over again; minimise chances of spelling errors.
Needless to say, felt my problem-solving skills went up one level after this task. Saw my coding style and unit tests improve. And also the thought processes that go into how to maintain code quality...4 -
Wrote a custom printer script in shell.
Went to test the script on some printers.
Neglected to check accuracy of script.
script is supposed to print jpeg.
it doesn't interpret it as an image,
but rather as raw binary in text...
^\<92>Q^H2Ei@0$iA+<89>dl_d<87><8f>Q
mfw each printer in the entire 5 story building
starts printing 500 pages of
RAW
BINARY3 -
So;dfjkhijasdfkjq;sdfhjkl;asdf
I copy a line from one spec (to create a user) and paste it in another spec. It works just dandy in the first, and throws MySQL missing column errors in the other.
Fucking what.
This codebase is full of shit like this. Things work in one place but not another, and it’s never obvious why. Tens of thousands of gotchas and quirks. The only way I can get an answer to things like these is to either beg my boss for an explanation, which I’m sure he’s long since tired of, or spend a full day (or more) wading through several rabbit holes filled with raw sewage.
I wasted two hours today trying to get a simple fucking factory to work. And you know what? I just gave up and used the existing admin user. Yeah it’s a bad idea, but it’s fucking good enough.
They can yell if they want.
I have no cares left.rant non-deterministic this train went off the rails long ago so done so tired trainwreck idc puffing billy15 -
> TeamLeader1: I just discovered SQL is actually super fast! The low responsiveness I've experienced comes from our ORM!
> IHateForALiving: well of course SQL is blazingly fast. SQL has been refined by the best engineers in the world for the past 50 years, its performances are unparalleled for everything you could possibly need, unless you want to scale REALLY big. Sequelize, instead, is an Active Record ORM, so it's bound to struggle with huge amount of data, because every single row will get attached a significant amount of black magic to make sure everything syncs correctly. Why is that?
> TeamLeader1: I have a problem with this frontend component, it doesn't allow pagination. I tried downloading the whole DB to bypass that, but the ORM is slow... so I will bypass the ORM and download the whole table with a raw query. Look at that! It works like a charm, it's super duper fast!'
This mf is downloading some 35 thousand rows every time some user loads a page because he doesn't know how to paginate the fucking table with Angular, there's no way these people are real.12 -
Writing raw SQL queries is honestly a lot of fun if you have unrestricted access to interesting data.
Man I'm boring...1 -
“Never,never, never, NEVER eat raw userinput“
Referring to stuff like “insert into foo (bar) values ($_POST[username])“2 -
!dev
That moment that your favourite YouTube channel (I only use YouTube from google and mostly through hooktube.com) announces closing soon.
I’m genuinely very sad. This channel was awesome because it allowed for beginning raw producers to get feedback from raw fans and even get in touch with the top raw labels!
Some top producers which are around now got into the game because of this channel and I was hoping that that’d be me one day as well.
I’ll miss you, RawstyleNation 😥❤️15 -
!dev
This is the one thing about Spotify that annoys the living hell out of me (yes, I use spotify, if anyone knows a good/working self hosted alternative, let me know! I've tried quite a few including funkwhale but they all failed for me).
I'm a raw hardstyle/rawstyle lover and listen to the raw duo Malice a lot. Now, what would the problem be here? Sometimes, there are several artists in different scenes with the same name. This is completely fine.
Spotify, however, mixes up music of the raw duo Malice and the rock/metal band Malice. I keep getting release notifications/news regarding new music/events from Malice but 90 percent of the time this is about the rock/metal band and NOT the raw duo.
It's also very weird to suddenly hear rock music while listening to my daily mix; the wrong malice is mixed in once again.
Yesterday I got an email saying "Check out Malice's newest release on Spotify!"
*OH FUCK YEAH*
*opens Spotify release radar*
*YAAA....FUCK*
That's the other malice 😡
Is it so hard, Spotify? Entirely hiding the artist results in the right one being hidden as well for me 😞14 -
The biggest passion of them all, for me: music.
In my case this is rawstyle/raw hardstyle/hardstyle but especially the most brutal rawstyle.
I love the energy it gives me and to listen to the techniques the artists use and also that, after a while, while the kicks all sound the same for many people, immediately identify the artist behind a kick when even hearing it for the first time (90 percent accuracy).
I'd love to produce it but I lack the skill set to do that as for now 😥
A tattoo related to this music genre is coming soon :D9 -
Disclaimer: searching for a self hosted Spotify alternative but haven't found one yet so suggestions are very welcome!
I really don't get how spotify's music algorithms or whatever the fuck you'd call those (you get what I mean) work.
- Whenever I click on the button which should make a song not appear in my daily mix anymore, I hear it again within a fucking day.
- how the fuck does the getting you new songs which you might like work?! I'm a huge rawstyle fan and mostly listen to, surprise surprise, rawstyle.
Then why in the living fuck keeps Spotify coming up with euphoric/melodic hardstyle tracks?! I like those sometimes but only *sometimes*.
More and more often I have to skip through 20-30+ songs to get one raw song instead of a fucking euphoric one.
Replies from their support are non existent.
It's getting so fucking annoying.17 -
> be me
> spend 0.02 Ether (about €5) on one of those old-school MUD-style games
> send to the same Ethereum wallet from a previous purchase
> realize that the destination wallet changes for each purchase (probably to mitigate the fact that transaction history and contents in Ethereum wallets is entirely public)
> send an email to the game dev asking to return the transaction or pass it on to my player account
> *cricket noises*
About a week later, i.e. now:
*checks that Ethereum account that I accidentally sent that transaction to*
> $0 on it, transaction has been withdrawn
Now I couldn't care less about the €5 - it's only 2 beers worth - but what I do care about is honesty. Dear Chat Wars admin, that money wasn't yours. Also, I am one of those players that plays very few games but tends to commit to those I do play. The last one I played, I spent several hundreds of euros on over the couple of years I played it. I could've probably paid for your servers, spare time development and then some. But obviously not anymore. Choosing a quick grab of €5 over a relatively steady source of income from someone that tends to financially support what he likes... Re-evaluate your life choices.
Just like that incident with the stolen flash drive that was worth only €10... I couldn't care less about the raw value of them, but I do feel very disappointed in humanity when people go for a quick grab of such worthless things.5 -
uhh, what the hell... I opened 3 screenshots, not massive raw files. I wonder if they made the photos app based on electron as well huh3
-
It was when I ditched React. I replaced it with raw JavaScript, with frontend being built with Gulp and Twig (just because HTML has no includes). Here are the results:
1. Previously, a production frontend build took 1.5 minutes. Build time became so fast that after I push the code, the build was done before me going to Netlify to check build status. I go there, and it’s almost always already done.
2. In a gallery with a lot of cards, with every card opening a modal, the number of listeners was reduced from N to one. With React, I needed 1000 listeners for 1000 cards. With raw JavaScript, I needed just one click listener with checking event target to handle all of the cards.
3. Page load time and time-to-interactive was reduced from seconds to milliseconds.
4. Lighthouse rating became 100 for desktop and 93 for mobile.
But there is one more thing that is way better than all of the above: cognitive complexity.
Tasks that took days now take hours. Tasks that took hours now take minutes.
Tasks that took thousands of lines now take hundreds. Tasks that took hundreds of lines now take tens.
In real business apps, it is common to build features and then realize it’s not needed and should be discarded. Business is volatile, just because the real world is volatile too. With this kind of cost reduction per feature, it became way less painful to discard them. Throwing out something you spent time and emotional resource on doesn’t feel good. But with features taking minutes to build, it became easier.23 -
I just hate it when clients with no knowledge of developing says I'm looking for "more professional"
FUCK YOU!!!!!!!!!
Somebody did that with dedication and you can't just call it that!!
SCREW YOU!!!
😡😡😡😡😡15 -
I fucking hate the web guy.
He says - make a pop-up of the raw text you're receiving (in the app) so that I can test it easily while I fix it.
I did it.
Now he laughs and says - I think you searched for it and simply copied from wrong example. All you had to do was handle the text and parse it and display it blablabla instead of simply popping up the raw text.
Thank you I flipping KNOW all of that, you stuck up obnoxious frog. I did it that way initially and uploaded it coz you SAID so! Why do you ALWAYS have to talk like I know nothing!?5 -
Whilst I was browsing the university website I came across a directory that allowed directory listings. Amongst all the .pl files was one named something.pl.old. Rather than interpreting the file the web server returned the raw source, including domain credentials for one of the network admins.1
-
YOU CANNOT parse CSV by just splitting the string by commas.
YOU CANNOT generate CSV by just outputting the raw values separated by commas.
CSV is not the magical parseless data format. You need to read fields in quotations, and newlines inside of fields shouldn't prematurely end the row.
Do it fucking right holy shit.15 -
Me always:
*starts coding in C/C++*
*M so gonna use raw pointers... Raw pointers ftw!*
*Spends 2 hours to code*
*Spends next 4-6 hrs trying to find why it is crashing/giving segmentation fault*
*Finally finds the solution and feels like winning a boss in Dark souls*
*Totally worth using raw pointers* 😎😎😂😂3 -
GUYS I DID IT
AND I ONLY HAD TO LOOK AT THE ARCHWIKI FOR GRUB INSTALLATION
AM I COOL NOW
(going to install to my computer a little later, don't worry i'm not done here)8 -
My boss codes shitty ugly fucking abominations.
These fucking piles of hacky crap are worth less than a penny puked out by a dog, eaten by another one and then shit out, grabbed by a vagrant, stuffed in his arse and then sold as raw metal by the cremation worker after the former's death.
Fuck this. I'm not gonna rewrite this. Fuck you.4 -
TLDR: programming helped with my math weakness
I've always been bad at math. I always failed my math quizzes, and to be honest the only thing that I remember from that time was that I hated it, I didn't want anything to do with it, to hell with functions and formulas and all of that garbage.
Fast forward a couple of years. I just started my masters degree in machine learning and I'm sort of inclined to applications of deep learning in signal processing. Currently I'm writing a fourier transform in raw python and I've never had more fun. I feel like programming has helped me a lot with math, being able to see how each component behaves when you write a function helps a lot! Being able to plot things helps a lot! Not having to imagine mathematical functions as esoteric mystical wonders but being able to split them up into small components and seeing what you're doing wrong HELPS. A. LOT.
Just felt like sharing. I feel like programming has made me a generally smarter person, in regards to how I approach problems and think about stuff.4 -
Node.JS is great sometimes. Here is my HTTP(s) server script, which is 117 generously spaced lines, including a small database of MIMEs, which serves raw files OR allows you to set up request handlers like the one you see here.
Very, super happy with the outcome.4 -
Uh-oh shit went wrong with umpteen thousand jobs in a pointer heavy, multi-threaded application in raw C. Fuck, some pointer gone wild?!
30 minutes later, after trying to find out how many jobs it takes to start failing. Noticed that it's about the default settings. Wait what? That's where the realloc'ing should kick in, check that.
Aahhhh. Maybe I shouldn't zero the whole buffer after realloc, just the new part. D'uh! -
I feel like there are more and more people who only THINK they can program, but in reality they barely can make the “Hello, world” program. Many of them come from all of these “online courses”, I’m not saying that from there come only the bad ones, but many of them are bad programmers, who just think that one or two courses is good enough.
You have to gain experience by doing actual work, not by doing pre-baked exercises. In real life most of things you have to solve with your imagination - Stackoverflow will only provide you some raw draw!4 -
Tl;DR; version:
French designer, Mexican PSD -> HTML converter, Indian VueJS developer, Spanish project manager and a Taiwanese back-end developer. Application was made like an tower of pizza from bullcrap held by boogers and constantly licked by an orangutang to keep it standing.
Longer version:
We had to take a "half-finished" project from one of our clients, received the code for full-stack project. The css/design was so unbearable that it mostly broke on anything that had higher than 720px wide screen, structure was full of tables/divs and no fucking flexbox/grid... Then the fun part - we saw it's conversion to vueJS - a single fucken App.vue file that had shitton of conditions for pages.... yea, not even multi-component/routed app, just conditions!!!! And then... A back-end (in which I mainly specify myself) - it was made by a developer that had to mainly use Java/C# as their daily driver while all being build on php and Laravel. 0 Fucken laravel functions used, 0 of models, logic and so on.... Most of the page was running on RAW sql queries. Names... Oh my god the function names....
`getTheUsersThatHasAtLeastOneSpaceAssignedToThemByGivenCompanyId(int $id)`
And it held an RAW sql that was coming from a model....
All of this was managed by a random spanish manager who couldn't really understand what our client needed and what he actually wanted so from 100% of the site, only 20% was correct in logic....
And yet, according to the whole "package" (team) - they did everything correctly, saw no issues and our client was ungrateful fucker that refused to pay 10x the amount that we asked in order to completely re-do the application....
Morale: Remote teams are great... As long as all of them can work remote in TEAM.5 -
Currently I'm working on 3D game engine and making a 3D minesweeper game with it.
I have started creating a compiler not long ago using my own implementation (no Lex no tools nothing just raw algorithms application) to hopefully some day I will be able to make a language that works on top of glsl inside my game engine. I have compilers design class this semester which haven't even started yet and made a lexical analyser generator. I also have another class about geographical information systems which I will be using my engine to create some demos for some 3D rendering techniques like level of details or maybe create something similar to arcgis which we will be using.
Oh man I have many stuff I want to do.
Here is a gif showing the state of my minesweeper game. I clearly lack artistic skills lol. One thing I will be making is to model the sphere as squares not triangles.
Finally I want to mention that I months ago saw someone here at devrant making a voronoi diagrams variant of this which inspired me to make this.
I made long post so
TLDR : having fun reinventing the weel and learning 😀 -
"Linux is more secure." Put on your tin-foil hats. As you can:
>Root over 50% of linux servers you encounter in the wild with two easy scripts,
Linux_Exploit_Suggester [0], and unix-privesc-check [1].
(sauce: Phineas Phisher - http://pastebin.com/raw/cRYvK4jb)17 -
Alright, i'm fucking done.
Fedora: Packages are self-referencial, using the system is like sprinting through a fucking minefield.
Linux Mint: "lol just don't update packages on the repo because shit can't break if it never updates! Don't add custom repos either or we'll just fucking break your PC."
Debian Raw: "We have all of 5 packages on our repos and GPG is fucking broken so you can't add more repos."
Arch: "Have fun modifying the boot disk for 30 hours so it'll boot, and let's tack on another 30 to make it install properly."
Gentoo: "LOL what is swap. Let's just pipe garbage into this partition as fast as the disk will let us for literally no reason. I'm sure you can still use the system for all of 30 minutes, at which point your SSD will give out. No big deal..."
when did Linux go to shit?
Windows isn't any better without billions of tweaks and then a build upgrade (in that order specific) to make it run properly.
Nor is OSX, as it runs on the model of "lol gotta hack your own PC to run custom unapproved binaries!"
Fuck it.
I'm installing DOS.52 -
> raw http request injected in the model
> 400 lines long method, followed by three 300 lines long methods
> no autocomplete, no comments
> code called by the whole application, I mess up once there's at least 150 other components that might break
> no documentation, no tests
> pyramid of doom, 13 levels of indentation
Those are the same people getting all puffed up because the cat dared to sit on my shoulder during a call. Management focused on the real fucking problems, no doubt.rant 1 your mother gorges herself 2 with the most vilesome dicks in the kingdom 3 in rows of 250 each4 -
So recently I did a lot of research into the internals of Computers and CPUs.
And i'd like to share a result of mine.
First of all, take some time to look at the code down below. You see two assembler codes and two command lines.
The Assembler code is designed to test how the instructions "enter" and "leave" compare to manually doing what they are shortened to.
Enter and leave create a new Stackframe: this means, that they create a new temporary stack. The stack is where local variables are put to by the compiler. On the right side, you can see how I create my own stack by using
push rbp
mov rbp, rsp
sub rsp, 0
(I won't get into details behind why that works).
Okay. Why is this even relevant?
Well: there is the assumption that enter and leave are very slow. This is due to raw numbers:
In some paper I saw ( I couldn't find the link, i'm sorry), enter was said to use up 12 CPU cycles, while the manual stacking would require 3 (push + mov + sub => 1 + 1 + 1).
When I compile an empty function, I get pretty much what you'd expect just from the raw numbers of CPU cycles.
HOWEVER, then I add the dummy code in the middle:
mov eax, 123
add eax, 123543
mov ebx, 234
div ebx
and magically - both sides have the same result.
Why????
For one thing, there is CPU prefetching. This is the CPU loading in ram before its done executing the current instruction (this is how anti-debugger code works, btw. Might make another rant on that). Then there is the fact that the CPU usually starts work on the next instruction while the current instruction is processing IFF the register currently involved isnt involved in the next instruction (that would cause a lot of synchronisation problems). Now notice, that the CPU can't do any of that when manually entering and leaving. It can only start doing the mov eax, 1234 while performing the sub rsp, 0.
----------------
NOW: notice that the code on the right didn't take any precautions like making sure that the stack is big enough. If you sub too much stack at once, the stack will be exhausted, thats what we call a stack overflow. enter implements checks for that, and emits an interrupt if there is a SO (take this with a grain of salt, I couldn't find a resource backing this up). There are another type of checks I don't fully get (stack level checks) so I'd rather not make a fool of myself by writing about them.
Because of all those reasons I think that compilers should start using enter and leave again.
========
This post showed very well that bare numbers can often mislead.21 -
A simulation sandbox game engine where you literally have to use tools and power tools to cut through raw materials to build things3
-
Solved a complex puzzle on a website for a local ecommerce business, mind you in 16 and not really looking for a job but an unpaid internship would look beautiful on a resume or university application.
They wanted to see some of my code and give me a tour and none of them despite them being PHP developers for Magento could wrap their heads around laravel or how the routing worked. They also didn't understand and raw PHP whatsoever. I lost all faith and walked out of their office when they asked why I was using prepared statements and how they worked. That was after finding out that they don't understand cloud scalability whatsoever or common security practices.4 -
Dear Microsoft Kusto Query Language (KQL)
Screw you. You suck like more than a sudden depressurization event in an airplane. Creating your own freaking query language is bad, the people who invented SQL based it on a the principles of mathematical relational algebra, which although confusing, and not suited for all use cases is at least consistent.
You were invented by a bunch of oxygen deprived halfwits based on the principles of sadism and incompetence.
The only situation in which I would voluntarily use KQL as my tool of choice is if my purpose was to extract a Dantesque style revenge on someone who had committed grievous harm to myself and my family members. In that case forcing them to work with you day in and day out would still border on cruel and unusual punishment.
Sincerely, A developer who has spent the past 2 hours dealing with your Lovecraftian madness.
P.S. I hope you choke on a raw chicken bone and no one gives you CPR.3 -
I'd be living a second dream that I still want to realize. I'd be a hardstyle/raw hardstyle (rawstyle) producer and dj. I'd love to be at the same level of a few artists like Malice, Rooler, Radical Redemption, Regain =)5
-
Being a programmer in a scientific discipline can be infuriating.
using "no one" ="almost no one"
using everyone = "almost everyone"
1. No one knows what even the very idea of good practice is. And everyone refuses to learn. 3k lines of repetitive copy pasted main. 500 lines of plotting method.
2. Raw C-style pointer based array creation. Won't use develope array libraries because what if development stops. FUCKING HAVE YOU SEEN YOUR CODE WHAT IF DEVELOPMENT ON YOUR CODE STOPS. FUCK.
3. LOOP VARIABLES DECLARED AT THE BEGINNING OF THE METHOD WHY.
4. Everyone wants to make modular, independent code. No one wants to use OOP. NOPE. ALL IN ONE FILE. WRITE C++ LIKE A FUCKING PYTHON NOTEBOOK. FUCK.
5. LIBRARIES OH MY GOD PLEASE DO NOT CODE UP YOUR MATRIX MULTIPLICATION. PLEASE DO NOT TRIPLE LOOP IT. NO. THE LINEAR ALGEBRA LIBRARY WILL STAY IN DEVELOPMENT.
6. Please realize that literally not one comment over an 1800 line file does not help anyone.
FUCKING. WHY. WHY ARE WE SCIENTISTS SO GOOD AT SCIENCE AND SO FUCKING SHIT AT THE CODE THAT MAKES OUR SCIENCE HAPPEN. WHY. FUCKING. WHY. FUCK.undefined rage no comments scientific computing fuck this shit wall of text bad code science fuck c++ fucking4 -
Finally started working on learning React the other day. Seeing raw HTML outside of quotes being treated as valid JS code is...unsettling, to say the least.6
-
The ability to recognize previously solved problems and integrate a known solution is crucial to programming (and problem solving in general). Us programmers, we call that "Copy and Pasting."
-
Today on forgotten movies – Chronicle.
A very grim, very dark movie about accidental superpowers discovery, but with some school-shooter vibes.
Don't you find it predictable how in regular movies a hero saves the world against all odds in the very last moment? Well, forget about it here – this movie is not "cinematic" at all, and that's what I like about it.
A horror in regular movies doesn't usually scare because the image itself is too perfect – you don't usually see the world like this. It doesn't seem real, that's the problem. By adopting the "found footage" screen language, Chronicle delivers the horror perfectly, because the world in it seems perfectly real, just like you see it through obscure youtube videos named MOV_0115 or IMG1014.
I like it that the characters actually look like real people, not like stereotypical superheroes and not even like enhanced versions of people that try to sell you an idea of what "success" looks like.
People in the movie also act real. They're weak, they're scared, they're irrational, and you really start to believe that yeah, this is what probably gonna happen when a human faces something as unbearable as superpowers discovery. And, as weird as it sounds, the superpower itself also looks totally real – raw, unpolished, uncontrollable force that requires getting used to and probably is too much for a regular human. Definitely not a perfect, tailored thing that turns anyone into Mary Sue.
Overall, this movie is the most immersive one I've ever seen. If you want to see what would really happen if you discover a superpower, this movie is for you.4 -
Always when I have some excessive amount of spare time, something always gotta go wrong and waste 90% of that available time for fucks sake.
Wanted to install raw antergos on my new usb for pure chrooting into it, but it gets stuck on preparing the disk and there seems to be no solutions to it.6 -
I never liked when rappers do the bridge on emotional songs.
the song starts like "ooohh, baby I love you, you know we're for each other, bla bla",
then the rapper comes up with some raw shit like
"baby you know that this cum is only for you,
we're meant for each other, you suck me so good,
you know that you moan when I raw in your ass"
bro, wtf... it was a gentle romantic song...
or when the singer is depressed, has dilemmas about life
and the rapper's like "im rolling on my mercedes bitch"
it actually sounds like rapper is intentionally making the singer look like a pussy.
now, before some troll comments that I'm an idiot dinosaur that can't understand hip hop, let me say:
I like hip hop, I'm not gonna make a fool of myself by name dropping rappers from the past or today, as if you needed credentials to emit any option about the genre. I will only say that I've been listening on and off since I was 15.
And I like emotional songs as well, any genre.
The problem is that I feel a sort of disconnect between the singer and rapper of a song.
You can't have one performer be like "I feel sad, life is hard" and then the other like "I GOT HELLA MAD DICK NIGGA, CHOKE ON MY CUM", in the SAME fucking song.
They are completely opposite emotions,
That works in movies, eg: a romantic slasher film, but that shit works because it's feature length.
There's enough time to make transitions and to let the mood slowly change.
Meanwhile, these guys are trying to stitch these things together in 3 fucking minute songs.
But this shit dominates the charts, so ¯\_(ツ)_/¯2 -
Yeaaahhh that moment when the program flawlessly crunches through ten thousands of files, only limited by the slowish HDD! :-)
In full multi-threading, tons of dynamic buffer resizing, pointer shit left and right, also two star programming, and everything written in raw C!14 -
The joys of Drupal.
Coworker: i can't hide this option from this select. it's been created programmatically by another module.
Me: doesn't that mean you defined it somewhere?
C: nope, the module does it with the whole taxonomy
M: can't you interact with it somehow,
C: i don't know
M: you don't know?
C: it's a module by the community, i don't understand it
M: *what the fuck.* ...fine. can you hide it with some js for now?
C: i tried no. they get loaded at different times from different behaviours.
M: then... what?
C: i don't know, i've been searching drupal.org for the whole morning to no avail.
M: *god. damn.* Create the select with something else, then? maybe by raw php?
C: that's bullshit! you don't create elements lile that in 2018! no one writes php or html anymore, unless he"s retarded!
Bloody hell. I'm not covering for this. My part is done (in rails) and i'll deliver it this afternoon. Not for this kind of delay. -
And just when you like Linux a little too much, it bites you in the ass to remind you why the year of the Linux desktop never happened.
Wifi printer is installed, CUPS test page works, even scanning works. But printing anything else results in the printer spitting out raw postscript with a few random lines per page.
Great. Looks like I'll have to print to PDF, then go to a copy shop and print because printing under Linux is still an unsolved issue.
And yes, that would have worked even with Windows 10. Fuck.24 -
I'm working this whole weekend to rewrite/move an old custom made shop extension to the new shop.
The amount of possible SQL injections is too damn high and this piece of shit the creator calls code is the most pitiable thing I have ever seen!
I don't how you can call yourself an experienced programmer if you create SQL queries by concatenating strings and variables in raw PHP, copying the same fucking includefiles to 10 different folders and use all of them in random places.
I'm not angry at all, I just want to castrate you with a blunt, fake swiss army knife so mankind is safe from you multiplying yourself.2 -
Gentle reminder that you’re just a number to companies. If fucking you raw with an unlubbed cactus will make them more money, they’ll do it and tell you “it’s standard across the industry”7
-
'17:15' < '09:45' === false
'5:15pm' < '9:45am' === true
I either need a language with a stronger type system, or coworkers who understand that comparing raw time input in validation is a bad idea 😡6 -
Dark IDE theme. Putting my phone away. Cup of coffee together with a bottle of water. My great headphones. Either a raw hardstyle or a euphoric hardstyle megamix. Locking myself in my room.6
-
So I'm starting a job at a large company in the early part of next year... it's a total mindfuck because the salary is a m a s s i v e bump up and for the first time I'm experiencing imposter syndrome. I never really fully grasped the feeling that a lot of people here described until after that final interview and an offer was extended. I'm stoked AF to start and it's going to be a huge learning experience while working there.
The company wants me and my family to relocate to another state (US) and it's got my stomach doing somersalts.
It's especially painful because the current place I'm working is amazing; the people are great, the work is solid but fairly low pressure, and there's lateral freedom to work on improving the systems and infrastructure whenever there is free time. And I know that the new gig is going to have certain expectations that need to be met or my head could be on the chopping block.
High risk, high reward I guess 😅
My anxiety is raw dogging my brain and it fucking sucks, but my wife has been doing a great job keeping me level headed and thinking logically about the future and growth this opportunity brings with it.
I'm not trying to gloat or brag, just really needed a place to share some of this since I'm freaking out and don't feel like I have enough experience/skills to take on this job. Those interviews left me worn out. 4 rounds and the final interview was 5 hours long all in one day. 😫2 -
Struggling to write the query with query builder for an hour, gave up and wrote the raw query in 5 minutes.14
-
Russ: "Life's barely long enough to get good at one thing"
Marty: "If that long."
Russ: "Yeah, so be careful what you get good at."
-True Detective season 1
Love the writing in season 1. Very raw and to the point.1 -
> Laravel lets you create migrations to manage the state of the DB
> your colleague doesn't give a flying fuck, just raw SQL on the db to perform every change
> performed initial insertions without seeders, can't reproduce his db on my local environment
> can't even run migrations anymore 'cause it would break everything7 -
Gahhhh!
Just inherited a HR backend written in Laravel. However, ALL database interaction is done using DB::raw() i.e.
$results = DB::select( DB::raw("SELECT * FROM tbl WHERE col = '$fromThe QueryStringLOl'") );
No models at all :(
FML.3 -
I really felt like a badass one time when I managed to recover all projects on our dev server after a full meltdown of the HDD.
We had no recent backups, because our backup server was down for a few months, and our (at the time small) company was in a tight spot on finances, and couldn't get a replacement.
The problem was that the HDD on the backup server failed, but we were storing all projects also on the dev server, along with our local git repos (no GitHub at the time for us), but then the dev server HDD also broke, and I used every piece of data recovery software I found trying to recover the data, until one actually managed to read the raw data from the HDD and store it as a virtual drive, that I then used to try and build another partition index and it actually worked!
Lost about 10% of the data, but that was enough, as i managed to recover all the git repos and databases...
I don't even remember the tools that got the job done in the end, but that was one hell of a week, and at the end I felt like a true IT God!
True story!
PS: 2 weeks later we had a new backup server, another offsite backup solution and a GitHub account for the company. Was delayed on salary in order to manage it (me and the CEO both agreed to give our pay for one month to get them), but worth it!1 -
Found a big box of forgotten thumb drives at the shop, still packaged and everything. 7 yrs old or so. Figured I should test them. They're all the same 2GB Kingston drive. 30 tested good, 13 had 0 byte raw capacity, 12 reported that they were CD drives, 13 reported 1.1TB capacity, and 9 either got really hot or went up in smoke.6
-
I fucking love it!
After a full day of refactoring old shitty code into a glamorously sparkling epicness of bytes, the whole thing worked flawlessly and on speed.
Quite satisfactory. 😊
Templating in TWIG, especially using inheritance and includes, is so much more fun than doing it in raw PHP!
*cough*Fuck WordPress*cough"1 -
Work of a my co-workers good work! It's called colspan you dumb fuck! Best part is that no way I'm changing this coz I work in place where they don't give a fuck about code quality! So fuck it!6
-
Even though I have 500 reputation on StackOverflow I'm afraid to ask a question! Coz other devs can be really down right mean! No one knows everything, we are all here to learn. Some ppl don't understand that they too started like this.2
-
Ok, here goes...
I was once asked to evaluate upgrade options for an online shop platform.
The thing was built on Zend 1, but that's not the problem.
The geniuses that worked on it before didn't have any clue about best practices, framework convention, modular thinking, testing, security issues...nothing!
There were some instances when querying was done using a rudimentary excuse for a model layer. Other times, they would just use raw queries and just ignore the previous method. Sometimes the database calls were made in strange function calls inside randomly loaded PHP files from different folders from all over the place. Sometimes they used JOINs to get the data from multiple tables, sometimes they would do a bunch of single table queries and just loop every data set to format it using multiple for loops.
And, best of all, there were some parts of the app that would just ignore any ideea of frameworks, conventions and all that and would be just a huge PHP file full of spagetti code just spalshed around, sometimes with no apparent logic to it. Queries, processing, HTML...everything crammed in one file...
The most amazing thing was that this code base somehow managed to function in production for more than 5 years and people actualy used it...
Imagine the reaction I got from the client the moment I said we should burn it to the ground and rebuild the whole thing from scratch...
Good thing my boss trusted me and backed me up (he is a great guy by the way) and we never had to go along with that Frankenstein monster... -
What if you were asked to develop something that goes against your morals or beliefs. Would you do it?
PS - they are willing to pay you more that you ask for29 -
A server application pulled off some sort of listings as table. Problem was, it crashed with some thousand data files after one and a half hours. I looked into that, and couldn't stop WTFing.
A stupid server side script fetched the data in XML (WTF!) and then inserted shit node-wise (WTF!!), which was O(n^2) - in PHP and on XML! Then it converted the whole shebang into HTML for browser display although users would finally copy/paste the result into Excel anyway.
The original developer even had written a note on the application page that pulling the data "could take long". Yeah because it's so fucking STUPID that Clippy is an Einstein in comparison, that's why!
So I pulled the raw data via batch file without XML wrapping and wrote a little C program for merging the dumped stuff client-side in O(n), spitting out a final CSV for Excel import.
Instead of fucking the server for 1.5 hours and then crashing, shit is done after 7 seconds, out of which the actual data processing takes 40 bloody milliseconds!4 -
When someone doesn't send raw data with their analysis, I feel like they have something to hide ...1
-
On that day five years ago, Debian creator died under shady circumstances. His twitter was gone minutes after his last posts.
The lack of coverage, heck, the lack of basic awareness about death of THE CREATOR OF FUCKING DEBIAN is astonishing.
Twitter archive (the actual archived HTML) — https://archive.vn/OPlI7
Pastebin (raw tweets text) — https://pastebin.com/yk8bgru5
Goodnight, Ian. We miss you.12 -
my teacher genuinely asked the class, which one is better GUI or CLI? everyone said GUI except me, he asked why? (the reason he was expecting from me was something different) i said, "CLI differentiate us from those who just click and realise that how simple is this to operate and why are we being heavily paid?"1
-
I've been using the Square REST API and I spent one hour thinking there was something wrong in my code until I f** found that THEY were not following OAuth 2 guidelines, which made their workflow incompatible with the OAuth lib I was using, so I had to mark an exception for Square's OAuth from the rest of my OAuths. Specifically, RFC 6749 Section 4.2.2 and 5.1.
However, after reading OAuth 2 guidelines, I became angry at THEM instead. The parameter `expires_in` should be the "lifetime in seconds" after the response. This will always be innevitably inaccurate, since we are not taking into account the latency of the response. This is, however, not a huge problem, since the shortest token lifetimes are of an hour (like f** Microsoft Active Directory, who my cron jobs have to check every ten minutes for new access tokens). Many workflows (like Microsoft, Square, and Python's oauthlib) have opted to add the `expires_at` parameter to be more precise, which marks the time in UTC. However, there's no convention about this. oauthlib and Microsoft send the time in Unix seconds, but Square does this in ISO 8601. At this point, ISO 8601 is less ambigious. Sending a raw integer seems ambiguous. For example, JavaScript interprets integer time as Unix _milliseconds_, but Python's time library interprets it as _seconds_. It's just a matter of convention, a convention that is not there yet.
Hope this all gets solved in OAuth 2.1 pleeeaasseee1 -
tl;dr Do you think we will any time soon move from editing raw source code? Will IDE or other interfaces allow us to change the code in graphic representation or even through voice?
---
One thing I found funny watching Westworld is how they depicted the "programming" - it is more like swiping on a smartphone, a bit maybe like Tom Cruise's investigations in Minority report. Or giving certain commands and key words by voice.
There was one quote from Uncle Bob's "Clean Code" I could never find again, where he said something along the lines, that back in the seventies or eighties they thought they would soon raise programming languages to such a high level they would use natural language interfaces, and look at us now, still the same "if's".
So I feel uncomfortable without my shell and having tried a graphical programming language once this particular (Labview) seemed clumsy to me at best. But maybe there are a lot of web devs here and it seems with them frameworks you might be able to abstract away a lot of the pesky system programming... so do you feel like moving to some new shiny programming experience or do you think it will stay the same for more decades as the computer is that stupid machine where you have to spill it out instruction by instruction anyways?7 -
Ok guys, since what Im using is a laptop with some low specs since Im too broke to even afford a new FM2+ motherboard to repair my desktop pc and have a little more raw power to use and make more fancy stuff, I wish to know if anyone here legit is interested in some Original content images that Im thinking in make just out of spite in the Zerg Rush of users spaming about F. Quantum and if its worth my already highly limited time just to get hopefully more ++ than my last AMD OC that pretty much noone cared about6
-
Had some time again to work on my scripts and changed the calmifier script to detect mid-rant screaming and also make them half transparent after calming them - just to see how much actual screaming there was before.
That option can be turned on, by just setting inside the script "highlight_changes" to true, default is to not highlight them.
Anybody who doesn't update it now, will get the update depending on the tampermonkey update setting, which defaults to once a week iirc.
If you want to try it out now: https://github.com/7twin/...
Original rant: https://devrant.com/rants/1419613/...4 -
So last night a friend randomly found a raw not-yet-installed WordPress instance on a public domain that he found on a Facebook site (it was already linked for I don't know how long, but just not installed).
He told me about it and, being the guy I am, I signed up an account on some free MySQL hosting website, set up a database and used it for that WordPress site.
I then left a kind little note on the front page for the admin telling him that I just saved his ass since others could've done the same but posted racist shit or something and, also, told him not to use WordPress.
Even though I had no bad intentions, I used proxies and VPN connectsions because you never know how these people might react.
Hopefully they'll learn from it 😇 -
If writing caption for your Instagram picture is an art, then what is commit messages for your GitHub repositories.5
-
So, I'm heading back down the rabbit hole. I did some web dev (backend) on the side years ago, but I've been out of the game since. I want to change up careers at this late date and I had forgotten how cathartic manipulating raw code could be. So now I'm relearning and learning all kinds of good stuff via the internets and was excited to find this community. Not much of a ranter but this should be fun.3
-
When you got hired
HR: please come to us if there's any problems related work so that we can give a solution.
After years of working you send a mail with you problems, it's been months. Still no reply! And try to avoid conversation regarding that problem.2 -
My olfactory hallucinations really made things complicated. Not only whatever I eat that is not raw iceberg salad smells like rotten flesh, I also can’t choose a deodorant.
I got nivea one and threw it away.
I got old spice one and threw it away.
Now I got chanel one and I like it and I DONT FUCKING KNOW if I like it because it smells good to me or because I’m actually hyperconsumerist no matter how hard I deny it. Does being a hyoerconsumerist make me bad? What is bad in that context? Is a kind of reasoning bad only because if everyone follows that reasoning the world will be fucked? Are there good reasonings then, but not like zen, the ones that actually lead to scientific progress. Is scientific progress a good criteria to judge?23 -
Good morning to everyone, except that one Twitter dev who one day woke up and was like "YOU KNOW WHAT, MY APPLICATION WILL FEATURE BOTH OAUTH1 AND OAUTH2 ENDPOINTS, BUT SOME FEATURES WILL BE EXCLUSIVE TO EITHER OF THE TWO -NOT NECESSARILY THE MOST RECENT, JUST A RANDOM ONE-, AND ALSO THE OFFICIAL TWITTER LIBRARY WON'T COVER ALL THE ENDPOINTS SO PEOPLE WILL HAVE TO RESORT TO RAW HTTP REQUESTS INSTEAD OF USING MY SDK AND ALSO I'MMA MAKE DEVELOPERS FILL 2 VERY DETAILED FORMS, REQUIRING PERSONAL DATA AND ACTUAL REAL PHONE CALLS, JUST TO START DEVELOPMENT WITH 7 DIFFERENT AUTHENTICATION TOKENS, BECAUSE SOME REQUESTS WILL REQUIRE A DIFFERENT AUTHENTICATION METHOD THAN THE OTHER REQUESTS DESPITE ALL OF THEM PERTAINING TO THE SAME FUCKING ENTITY"3
-
The infuriating edgecases of python copypasta.
If you're like me, and you find it easier to noodle in notepad++ and the console, then you may have encountered this peculiar bug.
Try padding blank spaces on an empty string variable, and follow it with print(blanks + str(var))
#for any variable
Now copypaste that along with at least one other line at the same time.
Observe how no matter what you do, print will always output the blanks variable on a separate line, with quotes.
Try rewriting right-justify? No good.
Try using f-format strings? No good.
Raw strings? Inspecting bytes to see where the newlines and carriage returns are being inserted? Nothing.
Copypaste with multiple strings will *always* insert quotes and a new line when printing *any* variable with a string thats been justified.
And this is 100% non-congruent with pasting the same *line* of code *by itself*, which works as intended, no quotes or additional new lines are inserted.
I just went ahead, turned the snippet into a function, and called it from there, which solved the problem entirely.6 -
Very eventful day, please see enclosed several smaller rants.
===================
My college's systems are shit and not only do they use HTTP for everything, even the stores and financial aid purchase system, they have homebrew JS shit for PGP site encryption (nifty...), but they exchange the PRIVATE KEYS instead of the public keys. Over HTTP. Not even HTTPS. Also if you log in more than 10 times in 24 hours it's supposed to lock you out of your account until you call... except it locks EVERYONE out. Found this out when on campus, trying to get my textbooks, when suddenly everyone had login lockouts because i'm a "paranoid bastard" and "afraid of idiot college students" for not telling a PUBLIC PC to remember the one password (enforced by password auto-sync across all their shit, not ideal, no) guarding my SUPER-SENSITIVE FINANCIAL AND ACADEMIC DATA... among the other hundreds of issues this college has. I now see why this college is the only one I can afford...
===================
Can't pass-through raw DVD drive access to VMs as VM managers crash when I try (yes, even QEMU...) so i've gotta install Windows on a shitty 80GB laptop HDD for literally one quick project. On the bright side, if my theory proves correct, you'll no longer need modchips for PS2s.
===================
Found a couple odd lines in my xscreensaver config:
GetViewPortIsFullOfLies:False
nice: 10
pointerHysteresis: 10
the first 2 I can't seem to figure out what do, and the last taught me a new word. Fun!
===================
that's it, it's over, why are you still here11 -
## Building my own router
So after poor luck with mPCIe in my miniPC I decided to go with USB wifi solutions. So I got the https://aliexpress.com/item/... , hooked it up and started setting things up. Took me a day to figure out that firewalld (CentOS7/8 firewall) is not directly compatible with raw iptables commands. Damn it! But hey, a lesson learnt is time well spent!
Installed named, dhcpd, hostapd, disabled NetworkManager for my wifi card, etc.. And had to learn another lesson -- if a netowrk interface is bridged then iptables sees the bridge rather than the raw interface. That's another 2 hours well spent :)
In the end I have a working AP!!! It's still hooked in to my router via RJ45, but it does work and does work quite well!
Here's some comparison for now:
via router (2.4): https://speedtest.net/result/...
via router (5): https://speedtest.net/result/...
via miniPC (2.4): https://speedtest.net/result/...
via miniPC (5): <TBD>
Not that bad, aye?
All in all I'm happy with my decision to build a miniPC based router. Now I have the modularity I wanted so mush and a complete control on my networking! Can't wait for wifi6 USB dongles to be released :)3 -
Well it's a bit long but worth reading, two crazy stories in one rant:
So there are 2 things to consider as being my first job. If entrepreneurship counts, when I was 16 my developer friend and I created a small local music magazine website. We had 2 editors and 12 writers, all music enthusiasts of more or less our age. We used a CMS to let them add the content. We used a non-profit organization mentorship and got us a mentor which already had his exit, and was close to his next one. The guy was purely a genius, he taught us all about business plans, advertising, SEO, no-pay model for the young journalists (we promised to give formal journalist certificates and salary when the site grows up)
We hired a designer, we hired a flash expert to make some advertising campaigns and started filling the site with content.
Due to our programming enthusiasm we added to the raw CMS some really cool automation: We scanned our country's radio charts each week using a cron job and the charts' RSS, made a bot to search the songs on youtube and posted the first search result as an embedded video using some reg-exps. This was one of the most fun coding times I've had. Doing these crazy stuff with none to little prior knowledge really proved me I can do anything with the power of will.
Then my partner travelled to work in an internship in the Netherlands and I was too lazy to continue it on my own and it closed, not so surprisingly for a 16 years old slacker boy.
Then the mentor offered my real first job. He had a huge forum (14GB of historical SQL) but it was dying, the CMS version was very old and he wanted me to upgrade it to the latest. It didn't seem hard at first, because there were very clear instructions in the CMS website on how to do that. However, the automation upgrade scripts didn't work well because the forum owners added some raw code (not MVC plugins but bad undocumented code) and some columns to the SQL tables. I didn't give up and decided to migrate between the versions without the scripts. I opened a new CMS and started learning by heart all of the database columns so I can make a script to migrate between the versions. The first tests ran forever because processing 14GB of data on a single home computer is not a task meant to be done. I didn't give up. I made an old forum and compared the table structures and code with my mentor's. I think I didn't exhaustively finish this solution, the task was too big on my shoulders and eventually I gave up. I still owe thanks for that mentor for teaching me how to bare with seemingly (and practically) impossible tasks, for learning not to fear from being a leader and an entrepreneur and also for paying me in time even though I didn't deliver anything 😂 -
Not have privileges in prod database, so i have to create a simple 'hidden API func' in the backend of apps that i develop, so it can receive raw query and give response for the results, the REST API is (/getReport). Still Works :/2
-
Some cheapskate insists on writing a guide to selfhost <software> on Heroku and wants to add it to the official documentation, promising to maintain it (since none of the other devs are using or planning to use Heroku). I volunteer to give them a chance on grounds of it being high quality and maintained by that person in the future which they both promise.
Our docs are written as markdown files on github.
So here we go:
Starts a pull request: uploads their """guide""" as a docx. The content is completely unformatted, basically just an enumerated list.
Tell them to format it as markdown, suggest using github gists.
They go ahead and copy pasta their unformatted list into a gist.txt "allright i made it into gist for ya"
Tell them that they did not format it as markdown.
"sorry updated it in markdown :P"
I look at the file, it is still raw text in a gist.txt. Maybe a bit more spaced out, not that I would care to notice any changes at this point.
Tell them it is still not markdown and link them to a perfect example of another guide that takes advantage of code fragments for commands etc and is properly rendered since it uses .md
"I updated it to the markdown this time XP Can you give me some suggestions on how it looks?"
"How it looks"... "how it LOOKS"... I click the link for the 5th time and IT IS STILL JUST A RAW FUCKING GIST.
Jfc that person has some serious reading/thinking disability. To imagine them to be proactively keeping their guide up to date in the future is absolutely impossible. At that point I pulled out my support for the request since it was already taking more effort to even get a readable version of guide than I estimated for the whole process of adding it.
Oh, and one of the steps originally suggested in the """guide""" was adding the credentials file into the vcs.2 -
Eloquent is so fucking slow, my (dead) grandma queries faster. It takes the fucking double of time on a simple query with only one join for maybe ~200 rows... From now on I go fucking back to raw SQL in my Laravel projects. 😤16
-
When I first discovered that frameworks for web apps existed. No longer will writing websites in raw html, css, js, be an eternal labor4
-
Did you ever take advantage of clients that has less computer literacy? Like have you ever escape a bug in the system by telling the client heavy technical BS! 😋
PS - fixings that bug later obviously!!6 -
My first simplistic wallet to create raw Bitcoin transactions. The best part was that the transaction was mined succesfully and is now part of history.
-
I've always thought I was somewhat lazy about not caring about plaintext password in RAM in WPF (or whatever) but then this guy made a super valid point...
I really think a hacker would just keylog at that point rather than trying to read your obscure program's memory for your password... especially if they have access to raw memory...3 -
We had a project with a web app and an Android app. We split it out, he took the web and I was working on Android. He was very curious to do the project with me and very motivated at the beginning. We agreed on our first module that was user authentication. After some time when I told him that first module of app is ready and asked him on his progress, (When ever we had a talk he pretend like every thing is going fluently, though I continously told him ask for help if needed ) he opened a folder in vs code containing two files "index.html" and "style.css" and showed me the "login & sign up" design he was doing for days. I have no option but to appreciate his work. On that day I created new folder on my machine "web application" and started working.3
-
Today I learned:
In Java, you're supposed to compile a source file in its package one directory up, outside of its package. You can't compile the source file in its own package directory, for it will state "cannot find symbol" on files in the same package, even though they're in the correct package directory. That can be quite confusing at first.
Given the following directory structure:
|_
|_ \pkg
|_ _ Src1.java
|_ _ Src2.java (interface with static method)
and the following source:
package pkg;
public interface Src2 { static void doStuff() { ... }; } // assuming JDK8+, where static default methods are allowed
package pkg;
public class Src1 { public static void main(String[] args) { Src2.doStuff(); } }
..being inside the pkg/ directory in the console,
this won't work:
javac -cp . Src1.java
"cannot find symbol: Src2"
However, go one directory up and..
javac -cp pkg/*.java pkg/Src1.java
..it works!
Yeah, you truly start learning how the compiler works when you don't use the luxury of a IDE but rather a raw text editor and a console.1 -
Why do I find really hard to connect with my coworkers?! I'm an introvert but after few months in my old job I connected with everyone. In my new job I find it really hard! And it's almost a year! 😥😫5
-
We're rebuilding out company's platform from the bottom up, and throughout this process I've learned a lot. However, the stuff I've done lately has fascinated me the most. We're implementing OpenOffice for converting files to PDF. Since I started with this task I've had to implement secure running of OpenOffice by sandboxing and queues, but by far the coolest thing was what I did today. I was trying to implement IPC, and damn was it fun. I actually ended up writing a full parser for raw byte streams, since we had to include some special information. It was fun 😁
-
Hello devRant!
Man its been a while, i havent logged in here in like 4 years.
Recently ive been getting into home-labbing, and i thought to myself
"all of these people on youtube/reddit run Plex on pre-built NASs that have awful celerons and whatnot, we can do much better!"
And by "much better" i meant a bare metal k8s cluster.
My hybris knows no bounds apparently.
Turns out this shit is quite hard.
Really gives u an appreciation of just how much stuff cloud providers magically abstract away....
My final goal is to run stableDiffusion on this thing, even know i know full-well the moment i try Nvidia will fuck me raw with some hidden enterprise subscrition :) -
Who says you can't use CMD on a Windows phone?
I managed to crack the screen of my precious Lumia (yes, haters, I <3 winPhone) and now the back and home buttons don't work. Everything must happen by searching it in cortana/search.
You can imagine what going back one level in settings must be like. And every operation is like a command on a shell. No tiles, no swipes, nothing. It feels raw.
I'm using an auxiliary android (ughh) phone for now, but there's no windows phone in the market right now. And the swipe on G-board sucks.
The point of this rant is a question: does anyone know when the surface phone is releasing?6 -
Speaking of "living"...
When was the last time you looked up in the sky and admired the beauty of its deep blueness or the beauty of the clouds floating up there?
We live in a beautiful world. And yet we spend our lives dawn-to-dusk staring at things made by ourselves rather than enjoying what's already there - the beauty all around us we don't bother to even think about, not to mention look at it.
No, I'm not a spiritual person. I just really love the world around me :) Not people. Not technology. Pure raw nature and the mind-bending balance of EVERYTHING in it.
So... when was the last time you've admired what's out there, rather than what's in our artificial world?7 -
@retoor you wanted something IT related.
"During the early stages of the war, the army gave sweeping approval for officers to adopt Lavender’s kill lists, with no requirement to thoroughly check why the machine made those choices or to examine the raw intelligence data on which they were based. One source stated that human personnel often served only as a “rubber stamp” for the machine’s decisions, adding that, normally, they would personally devote only about “20 seconds” to each target before authorizing a bombing — just to make sure the Lavender-marked target is male. This was despite knowing that the system makes what are regarded as “errors” in approximately 10 percent of cases, and is known to occasionally mark individuals who have merely a loose connection to militant groups, or no connection at all."15 -
So at work, there is this class/model thing that's for storing translated strings. It also supports n-level nested macros, cascading lookup (e->d->c->b->a->blank), and I've added transforms too. The code is a bloody mess and very inefficient (legendary dev's code), but it's useful.
You call methods with a symbol representing one of the strings, and it does... whatever you ask, like return text, booleans, expand macros and submacros, pass in data to interpolate, etc.
But I just learned something today.
Its `.html` method... doesn't support html. In fact, calling it strips out all html, takes whatever is left, and attempts to convert that back into html. Because that makes so much sense. So, if you have an html string? Don't call html on it.
Also, macros use the same <angle brackets> as html tags, and macro expansion eats unknown macros, so... you can't mix html and macros, meaning you cannot inject values into your markup. That's a freaking joy to work around. (You end up writing a parser every time.)
So no, if you have an html string, you need to get the raw data out and handle it yourself. Don't reach for that shiny .html method; it'll just ruin your day.
It's the little things that make my day so terribly long.rant it really isn't so bad principle of most surprise poor design but it could be ever so much better8 -
I use spaces instead of tabs. Working beside me, my mates were irritated of that beautiful sound(they called it noise) from my keyboard.4
-
it would help if i had time to learn even a little more C, as I'm bumbling my way through the Linux kernel and GodMode9 (an amazingly powerful 3DS manip tool for everything from the SD card to the NAND to literally raw FIRM0/FIRM1 bootloader access) to try amd patch some code from GM9 into the kernel to handle the SD card *properly* so Linux 3DS doesn't constantly hang when reading/writing to the SD card, to enable Wi-Fi access (same bus location and similar bus structure as SD/NAND access, different processor,) enable NAND decryption and access (yes, really, NAND is encrypted via software, which is... ...fun...) and more.
tl;dr: the 3DS hardware, C, and others' code collectively make me wanna slit my fucking wrists. Hopefully my sacrifice allows higher-level programming languages to be visble for low-level jobs in the future.4 -
What I like about devRant is the lack of usernames in the feed so people vote without judgement to the author. What was written matters more than who wrote it.
Obviously, I appreciate that it uses lightweight JavaScript. No JS bombs like mainstream social media. ( https://devrant.com/rants/9987051/... )
Also, posts have no titles and no formatting, just raw content. No clickbaiting and no bold italic screaming are possible. Posts have to get just straight to the point.6 -
A coarse implementation on Google’s Thanos effect (mobile version) on codepen with raw css and js.
😈 what do you guys think?
https://codepen.io/changx03/pen/...
The desktop one seem use a html2canvas package, which isn’t something I really interested.5 -
I have a random question:
What values do you guys live with?
And how can I make sure I live my life with highest possible values?
The squad here is most raw and honest. I have seen you folks stick to what you believe in and stand up against the evil even if costs you or makes you sacrifice somethings.
Really want to be a better human and seems like my next phase of life would be dedicated to this.20 -
Coding is my life duh... Actually, though, it showed me that with just a computer I can make anything without raw materials - websites, programs and lots of tears1
-
My brain= processor
Your mouth= raw data
I only process the logic that comes out of your mouth and typecast it to my system's logic and try to fit you in one of my objects using a visitor pattern.if I need to create a new dynamic object , my system throws a "you are special" message. -
Difference between 2023-01-01 00:00:00 and 2023-12-31 23:59:59 is 11 months, 29 days, 23 hours, 59 minutes, 59 seconds ; so almost a year (by one second)
Difference between 2023-01-01 00:00:00 and 2023-01-31 23:59:59 is the same, almost a month by 1 second.
Same for february (even with 28 being the last day).
But then, 2023-03-01 00:00:00 and 2023-03-31 23:59:59 gives me :
1 month, 2 days, 23 hours, 59 minutes, 59 seconds.
WHY, are there fucking 34 days in March ? Is this a bug ? Is it confused with February being the previous month ?
Why would PHP do this to me ?
Why the hell is it always so painful to work with dates, it's not even like I'm stretching the standard library or using raw timestamps to hack things together
I used the diff method of PHP 7.4 DateTime, is someone wants to try it24 -
Studying Nim for me is like mashing two potatoes with one fork, except it's raw and the fork is made out of plastic. (Still don't understand C/C++)1
-
Does anyone find the laravel documentation just lacking? It seems like it the twitter feed of documentation leaving out very important information that leaves me banging my head for hours. I really like laravel and much better than working with raw php but I wish there was an option in the drop down for additional a more flushed out version with more code examples. I understand experts don't want to parse through tons of text just to find the correct artisan command but c'mon.5
-
I would have never considered it but several people thought: why not train our diffusion models on mappings between latent spaces themselves instead of on say, raw data like pixels?
It's a palm-to-face moment because of how obvious it is in hindsight.
Details in the following link (or just google 'latent diffusion models')
https://huggingface.co/docs/... -
You don't! Working for a bad company would ultimately give you the experience you need that a good company wouldn't2
-
Holy fuck AMD really have made a comeback... NVIDIA is admitting they lost (how I interpret this, no flame) and then we have Intel literally running their already fragmented CPU range into a ditch of mismatched specs and just brute forcing higher cord counts on an almost out of date manufacturing process...
And now AMD is also releasing new mobile chipsets with integrated Vega graphics (on the zen based chips) that are already outperforming the closest Intel competitor on thermal and raw performance...
What the fuck!!!
AMD might actually become Intel and NVIDIA rolled into one the way they are going in my eyes...12 -
To all the people who complain about writing a delete or update query. Not to talk you down, but seriously. STOP WRITING RAW QUERIES AND USE AN ORM!9
-
Mine was at my school when I was 13 or 15. I didn't have a computer at home because my parents could not offered a one. Back then I didn't know any thing about computers but always knew that I wanted to do something related to computers.
So, when I went to the computer lab in my school I was so dumb, I couldn't even click on a button using the mouse. We were partnered up two students per computer and me try so hard use a computer and my partner take over and show off his talent how he can use a computer.
I was sad and devastated even though I love computer I couldn't use a computer but my willingness to learn about computers science never faded a away!
Few years fast forward; I'm a web developer and I'm happy with what I do. The fellow student who showed off still contact me for his trouble shootings regarding computers.
Never give up on you dreams -
someone i know well saw that i rolled a couple linux 3ds kernels at one point and said he'd fucking pay me if I made a distro rolled from totally-uncompiled code and a raw kernel and isn't based on any other distro
is this really something people want? i mean fuck I can prolly fill that niche if need be but is that really something there's a demand for???4 -
I was reading a post over at https://devrant.com/rants/2262140/...
..and on the topic of using 3d printers to print a 3d printer, I wrote that has gotta be some sort of measure or ratio of "manufacturing automation."
Sort of like moores law or something.
"How many tools and materials does it now take to replicate THIS ONE TOOL."
Tools & Materials = 1/N
When we get to 1/N = 1.0, anyone can manufacture anything (commonly available) if they have the raw, or standardized materials, even other tools, up to and including the tool they are using to do the manufacturing itself.
I mean an apocalypse could happen, and as long as just ONE of these 'universal tool making tools' (lets call it an omega machine) exists, we can have *all* the tools and manufacturing necessary to rebuild civilization.
A universal manufacturing 'multitool' means, the only hard requirements for restarting civilization no longer rely on specialized knowledge as far as tools go:
- still need arable land after civilization is gone so when it's coming back, people can feed themselves
- still need people to operate the machine, even if its just one man, or a literal adam and eve (nevermind all the incest).
- still need knowledge to operate the machine, such as an operating manual (and literacy), or knowing say, voice commands.
- assuming it doesn't run on nonrenewable resources, or resources that can't be recycled or replaced..or resources that won't run out for a very long time.
But these are all problems we'd face even without a universal manufacturing machine.9 -
!dev
I rented a cabin and I have a bathroom issue...
What's with these tall toilets?! I'm on my tippy toes here! How is this supposed to be better?
Also I miss my bidet. I'm as raw as Monday nights.10 -
I have found that once you work for a company where you have to implement everything in its raw form using the raw language and raw logic, you really have to know what you're doing and knowing some basic/medium programming and having some algebra knowledge doesn't cut it (unlike some people think).
I've been at two sides of the coin: I worked for a company that had everything in place, a framework that handled all edge cases and what not and I just had to focus on user stories, but I also worked for a company where I had to do everything manually.
For example, at the latter company I had to know Discrete Mathematics; truth tables to their most convoluted and disgusting form, having to be able to apply this on a late Friday night with a headache and lack of food and sleep with the PM stressing out.
I've had to deal with NOT AND OR AND OR AND OR AND branches or whatever, where an OR behaves like an AND and if you want a value between an AND AND and an OR, you'd have to do a NOT OR.. to think about latches, all in my head, sigh, anyway, within limited time constraints, without even having time to write tests, having to make sure that everything checks out while the client is breathing down my neck. Yeah, not such fun times.
I'm happy for those of you who can just write some moderately difficult logic but you don't have to break your head over doing everything manually, as if you're in the coding stone age and nothing is taken care of.
Companies like these make me want to run away.3 -
Fucking pimatic.... I'm not fucking able to send just raw 433MHz signals like in pilight. Now I have to use the fucking shell-execute plugin to communicate with pilight to send the correct codes to my RF Sockets.
(Btw the pimatic-pilight plugin is deprecated so I'm not able to use it)
Fuck. But. Hey. It. Works. -
My best project was a digital forensics project back in uni, digging through raw data the police forensic guy / professor gave us. Rarely Ive been so enveloped by anything as digging through raw data finding the clues as to what the guy had been up to and how he hid it.2
-
How often do you write code in a raw text editor, without any tools whatsoever (no IDE, no colors, no syntax highlighting,..)? :P
I'm doing that now.12 -
My manager always tell that we're less process oriented and self sufficient.
Later on, I understand what that means
- Poorly written JIRA tickets
- JIRA tickets with only title, rest for you to fill
- Two teams did same task, client side team pushing their change directly on master, while mine still waiting on code review will eventually get rejected
- Client writing raw SQL in ORM framework instead of using any single feature of ORM.4 -
So I have never done 'real' development on anything bar my current game engine Virgil, however found myself referring to C documentation for GLib and SDL2 rather than valadoc documentation.
Decided fuck it, I'm already converting everything to Vala's pointer syntax so I can have manual memory control, implementing stb_image and contemplating reworking SDL2_image into raw C so I'm not depending on extra libraries... Why do all this when I can just learn C and have more control.
Everything was going well and decided to buy the C programming language book, already knew about pointers and structs but ohhhhhhhhhhhhhhhhhhhh boi was I not ready for malloc .-.7 -
New excuse for not doing work:
"taking data"
My dev system is tied up taking data for an hour to store data for a replay system I intend to build. I need raw data from the system. I need to know how much data I will collect in an hour as well. I also need to collect said data. For about an hour. This data will be fed back into the system sans the data collection. This will allow me to replay whole jobs that our field techs perform. If they get me data I can reprocess the data and fix my positioning algorithms. Kinda fun!
So the excuses are now up to 2:
"compiling"
and
"taking data"9 -
Compilers should just work for raw C with only static memory allocation. This isn't the bad old days where a couple of dudes wrote a short book explaining how C might probably should possibly work. I hear supposedly we have standards now.
Well, last week I lost 2 days to our compiler randomly forgetting that it wasn't okay to put a globally allocated uint32 at an address ending in 9. What? It had been handling this case without issue for more a year, but now after changing completely unrelated code we have this problem.
I'm not sure how to even deal with this idiocy so no doubt I'll continue working on it this week, too.
Thanks a lot, GCC.1 -
When your VP Engineer says we DONT NEED AN ORM.
Raw sql queries are just fine and he even can help with that!!
It's only monday.6 -
I'm kind of surprised people haven't tried using devRant as a job board yet. There's a lot of raw talent here, both seniors, and juniors experimenting with everything.
May as well start. We have ping pong!9 -
/rambling
Arghhh!
Okay, so have just been having a play with Mailgun's webhook functionality (a client finally has a decent use for these).
I setup a test endpoint that sends a mail via Mailgun and then handles the POST data too. It emails myself the raw POST request response from Mailgun when I open the email. Mailgun fire an event their end when they detect the message has been opened.
All is good apart from Mailgun are posting multiple requests for each event, which is annoying.
After an hour messing around and getting annoyed I have a complete face palm moment.
In my test script Mailgun is called is send my notification email! So I'm creating multiple events for the same test message.
i.e. send original message, receive post back from Mailgun to my endpoint, my script then emails me the result using Mailgun. The latter itself generates its own events again.
Sooooo stupid of me to not notice something so obvious :(1 -
There have been a few :)
If say it's a videos utter project I initially though was good. Apart from loading a view the controllers didn't do anything - my initial thought was some magic was happening behind the scenes.
However, when I opened up the view things changed.
ALL the business logic happened in the view. Everything. Form processing, consuming an app, file uploads, validation, crud ... You name it, it happened in view. The developer created a raw MySQL connection and build his queries by concatenation g strings, the whole system was wide open to sql injection.
Even more annoying was the "source control" he invented. Every file had several copies. I.e. "User(working).php", "user_v3.php" and even "user(working_no_profile_fields_1.php". It wasn't even like there was any consistency in what file was actually used either. A complete mess. The system had around 69 screens too. No idea how the developer got that gig.2 -
Is there any good linux application to send FUCKING RAW data to a serial port?
Port in question: /dev/ttyACM0
Baud (nice if configurable): 9600
I want to send specific binary data. I want to send 0b00110011 or something like that to it, not some character or a hex value.23 -
Why would anyone want to run Laravel when it runs so much slower than raw PHP? Surely the development time saved is negated by the amount of optimisation work required?4
-
!Rant (sorry for that)
But does anyone know of a good 'raw' php book? (preferably an audio book) I want to learn a lot more about the core of php, how garbage collection works (for example) I have tried reading it from php.net but I only understood parts of it1 -
1) Had to fix severe bugs in a dynamic UI (configuration-driven forms) component.
Recognized undocumented Copy/Paste/Modify/FuckUp driven variations of the same component all over the project. Unsurprisingly, the implementations covered 99% of the antipattern catalog on wiki.c2.com and could compete with brainfuck in regard to human-readable code.
Escalated the issue, proposed a redesign using a new approach, got it approved.
Designed, Implemented, tested and verified the new shared and generic component. Integrated into the main product in the experimental branch. Presented to tech lead/management. Everyone was happy and my solution opened even more possibilities.
Now the WTF moment: the product with the updated dynamic UI solution never has been completely tested by a QA engineer despite my multiple requests and reminders.
It never got merged into baseline.
New initiatives to fix the dynamic UI issues have been made by other developers. Basically looking up my implementation. Removing parts they do not understand and wondering why the data validation does not work. And of course taking the credit.
2) back in 2013, boss wanted me to optimize batch processing performance in the product I developed. Profiling proved that the bottleneck ist not my code, but the "core" I had to use and which I must never ever touch. Reported back to him. He said he does not care and the processing has to get faster. And I must not touch the "core".
(FYI: the "core" was auto-generated from VB6 to VB.Net. Stored in SourceSafe. Unmaintainable, distributed about a bunch of 5000+ LoC files, eye-cancer inducing singlethreaded something, which had naive raw database queries causing the low performance.) -
How to eliminate programmers burnout? I know that I'm still raw and I have more to learn but I just want to know from our dearest and craziest programmers/engineers/developers out here.
Cool to have this platform. Thanks creators!13 -
My current side project. I’m doing a POC to upskill in functional programming. A Java/Dropwizard web service calling onto business logic written in Clojure. The bit im excited about is an HTML engine im writing in Clojure. So instead of inter-mixing raw HTML with code, my views will be written entirely in Clojure
-
Right now anything I write quickly becomes crap. I'm happy. It means the whole "lets try out raw javascript again" thing actually helps me learn something.
-
Service based companies and Nepotism
In India, most IT companies hires their own family members. Even they promote their own family members. One of the my friend worked as dev he found that mostly his co workers are relatives of founder or managers. He told me that he understand if they get hired from some kind of references but that's not case here. Even HR is also family member of manager/founder. Most of this guys don't know any language. Even they don't have any kind of professionalism
Imagine that working on companies where your co-workers and HR is family members of managers and founder. Where you find help because everyone will against you because all are family members.
they deduct PF of workers who are not relatives and never pay tax to goverment. In india, most developers are desperate to get job because that's what education system and society taught them.
Hope startup culture will kill all these shitty companies1 -
I want to know the name of the evil mastermind who once conceived the "literal" function in Sequelize.
- You design a method to insert pieces of raw SQL exactly the way they are written, no further processing
- You release this method, you call it LITERAL to make sure people know its intended purpose: it is used to insert LITERALLY everything you write, nothing more and nothing less
- Then make sure this "literal" method changes the fucking case of column names. Because that's what "literal" means in the head of this rabid animal: you arbitrarily change the code written by the developer
WHY
WHY ARE ALL AR ORM DESIGNED BY FUCKING ANIMALS
ELOQUENT IS TRASH, SEQUELIZE IS TRASH, TENS OF DEVELOPERS AT WORK TO ALCHEMICALLY CREATE THE MOST ROTTEN CODE THEY POSSIBLY CAN, BECAUSE YOU MUST NOT BE ALLOWED TO WRITE ANY QUERY MORE ADVANCED THAN "SELECT * FROM users WHERE id =1", NOT A FUCKING SHRED OF DOCUMENTATION AND 16 MILLION LAYERS OF ABSTRACTION TO MAKE SURE EVERY BUG FUCKING STAYS THERE, DON'T YOU DARE TO USE A JOIN, DON'T YOU DARE TO TREAT A DMBS LIKE AN ACTUAL FUCKING DBMS INSTEAD OF A HOT STEAMING PILE OF METHODS IMPLEMENTED BY MONKEYS.6 -
Object detection using MobileNets-
GitHub Link-https://github.com/geekysethi/...
Results-https://youtube.com/watch/...2 -
Why do we keep developing algorithms to find us things we are already interested in? I'm tired of never being subjected to anything new, and I'm tired of not getting all the raw data. If you have to add a filter for me, please at least make it optional, or customizable. And make sure you make a matching algorithm distinguish uncertainty from negativity. Not knowing if I like x and just predicting I don't like x just because I've used y is not good enough. It's horrible.6
-
I was ok with microsoft taking github
idk wich faults is but lately when i try to
$ git pull
it says that is "up to date" wich is cleary not
I checked the repository on their website.
SOOO here i am copying the RAW code from github so i can have the same version of what im working on rn
¯\_(ツ)_/¯8 -
!dev
I bought a bidet at the start of the summer and I'm a convert.
I've been on vacation for over a week, and my brown star is raw and inflamed from wiping. I must have lost my callous... -
Using a raw vmdk on windows and not knowing that after reboot windows decided to reorder my drive numbers. Then proceed to install a Linux onto an other hdd deleting the partition table and many things. Happily vbox crashed before it wrote a lot then I realized that my drive is not there anymore. Anyway photorec saved my life. I survived without any major losses.
-
I just had a Rumpsteak.
Tasted like dry, raw meat with some sawdust on it.
Hell if I printed out my code and ate the paper it'd been better than that.2 -
Witchcraft is what windows update is. Turned my C:\ drive partition to RAW during an upgrade. I had to start over, no files...nothing. I was shaved bald. It was a sad night.
-
Solved django recruitment tests. Rejected because they seek someone who know django and I said I don’t know django cause I was using raw python, sql and writing async apps.
What I can say ? Thanks, lol3 -
Im fucking fed up with overbloated "all in one" ORMs.
For shit I cant find simple ORM that would literally just do fucking CRUD for me.
Thats all I require for some small project, yet still for few tables I have 2 choices:
a) do it without ORM and write models with raw SQL (which I usually end up doing, as its just more fault tolerant and works better)
b) install overloaded ORM that I wont use even 1% of features
Guys, why the fuck nobody created anything small, tiny and yet usefull? I know my SQL sucks and that is reason I want to use ORM in the first place. But when Im just forced?
Best what I found in terms of ease of use, and beeing not too heavy was RedBeanPHP.
A freaking ORM that will create database on the fly. It's awesome, sure. It's usefull, sure.
BUT STILL ALL I NEED IN SMALL PROJECT IS 1% OF THAT FUNCTIONALITY.
Does literally every single ORM dev want to feel their dick when they list out features list?
There should be allways proper tool for proper job. Its like using symfony for creating onepage website with contact form. WTF.13 -
Lets make animated fractal pattern that spins and resizes I said. It'll be a fun and easy way to brush up on raw javascript and to try html5 canvas I said.
Provides a lot more learning opportunities than I had thought :)2 -
What are the different ways by which an Android can play an audio?
I was recently doing a research on Android audio. And i wanted to know which libraries are responsible for audio/video play.
As far as i know media player and exo player are the two libraries which can be used to play user variety of audio/video files, application's raw/asset files and online stream files. Are there any other sounds beside system sounds which i forgot or other libraries which are also used for media playing?
And also what about these system files? Can we access system ringtones and notifications/ alarm tunes in a normal, non-rooted phone? I remember that my previous phone's music player (android kitkat maybe) was able to pick some system ringtones. Is it still possible now(android lollipop nd above) ?
Although i guess music in Android assets or raw files of some other app won't be accessable to my app, unless i am having screen record permissions? -
What do you think about a SaaS for sustainability and carbon footprint analysis of raw materials in BIM information?
The aim is to create a digital platform based on analysis of complex geometric files for construction and architecture and translating that to the CO2 footprint and embodied energy for the raw materials in the building (concrete, steel, glass etc.).
This will led designers increase sustainability and make better buildings.
What are your thoughts about open sourcing this project vs. creating a proprietary software?1 -
There is no fucking holy grail of programming. It's better to use the right tools for each task instead of wasting hours to make the wrong tool do a horrible job. But noooooo. Even since this co-worker got here, he bragged how good Drupal 7 is for everything, and he never even ised it once before! Now we have 2 fucking projects beyond schedule and a new one coming ing, each of which tries to use a fucking CMS as if it was a fucking framework. Fucking idiots who believe setting a couple of options via gui to generate random code means programming. Fucking bosses who believe using 3rd party community modules and hacking around them to have them do different stuff is better than coding what we need. I fucking gave up and started using raw php to be able to finish this fucking project, but my damn co-worker refuses to. He keeps swearing and punching the desk, saying it's our clients' fault for asking stupid features, and if you dare to mention how it may because we're using a cms like it was a framework, he just goes full bigot about Drupal. Bloody Hell, it would have taken lass than 3 weeks in Rails. I could just headbutt a kitten right now.1
-
Digistore24 is a steaming pile of shit!
The whole product creation and purchase integration is covered by ugly smelling donkey shit. This whole dumb service is made by idiots.
The 'scripts' they provide to throw at your server for generic customer handling is a joke. Just a raw php mess. But nothing works and debugging this piece of shit is nearly impossible because they don't even provide a proper documentation on how they make the request to your machine.
🤬2 -
Imagine an alternate universe where websites are actually just raw markup and style sheets.
People read this and imagine what the website look like.5 -
I'm reading my first Rust codebase after getting familiar with language for a while and I feel like a raw potato.
-
My most recent workaround occurred last week.
We have a demo very soon and I had to change our iOS app to use a new Web API endpoint for uploading content.
Long story short: The existing code is so awful and rigid and dependant on Core Data that I ended up having to completely bypass the service layer of the app and implement the new endpoint as a raw HTTP request. Its gonna take a long time to refactor the existing service layer. All because the new endpoint has a different content type. -
RIP cisco test....
Teach told us that we're writing an exam of the topic 5.1.4...something, ok, I downloaded the files (packet tracer, PDF). 20 minutes after I realized that I was working on the wrong one, coz it was actually 5.2.something, soooo I fucked up half of the time (a lession is about 40 mins) and when I finally finished I saved the PDF where my answers were given, uploaded it and when I checked it I saw the raw document.
I fucked this up reeaal baad.... I can't even focus on a fucking easy task now, I have to calm down -
I feel so aLIVE
AFTER A HOME WORKOUT
MOUTHR FUCKER
I feel like i can walk my ass up on the street& hit up a bitch on the street like hey girl u dtf and she says yes and i flatout fckk her on the street raw aint none of yall nibbas tell me what i can do cause what i want to do turns into reality
Now i can finally code with so much peace and cleansed mind🙏🙏🙏🍆🍆💦💦💦💦💦3 -
>finally gets around to installing vsftpd on home server RPi
>doesn't work
hmm.mp2
>configurating
>confusing as fuck template documentation
>man page isn't much better
>gets it working
>goes to log in
User: pi
Password: a
(What? It's a home file/command server isolated from the Internet. Sue me.)
nope.avi
>why
>tries again
nope.svg
>FUCK
>sees small raw-command log in bottom-right of phone FTP client
hmm.flac
>tries again, watches log
PASS *****
>the fuck
>goes to change user pass over SSH
# passwd
"Current password?"
about half a second later
"passwd: auth token manipulation denied"
>the delay tho
>WAIT A SECOND
one time i got past some parental software bullshit on a tablet by abusing the delay between opening a banned app and the redirect to the normal software at like age 7. (Doing so let me enable remote wipe through Google. bye bye software!)
>*inner 7 year old has autistic screech*
# nano temp
a
abcdefghi
abcdefghi
^O Y ^X
# passwd < temp
>fucking works
>logs in to FTP server successfully
>does the one file download that was needed
why and how did that fucking work -
I'm doing a project for uni in Omnet (C++ framework that should facilitate working with networks of queues, simulating and displaying statistics).
I needed to retrieve a random value from an exponential distribution, and the function to do so requires a random number generator as input. The framework has 2 implementations of the RNG and I picked the first one.
I spent 3 hours trying every possible thing, using both the exponential() function and its class wrapper (both provided by the framework), it was always returning 0 or NaN.
The RNG was spitting out values correctly, so I thought it was okay.
When I was almost ready to give up, I figured I could try and change to the second implementation of RNG, expecting nothing to change. And it fucking worked.
Zero reports on this behavior on Google, no apparent reason why it would work with one and not with the other when the two RNGs literally implement the same abstract class and spit out the same exact numbers... Just black magic...
Oh and cherry on top, it works with the raw function but not with the class wrapper on that same function... IF YOU GOTTA IMPLEMENT SOMETHING IN YOUR DAMN FRAMEWORK THAT DOESN'T WORK, FUCKING DON'T! 1 combination working out of 4 is not good! Or at least document it!
Sorry just had to share my pain -
I got a new Drupal project to maintain. (🤬🤬🤬)
So I'm looking at the content and noticed raw HTML inside the content area. I first thought, the client is using a wysiwyg editor.. But no. It's worse.
He is transforming a XML with XSLT to HTML and copy & paste everything. The result are nested <html><body> tags and everything breaks.
Just because drupal is to hard to work with. I will burn everything and install WordPress 🤯🤬🤬🤬2 -
I want to batch edit RAW smartphone photos (Windows) similar to Lightroom (Auto tune/white balance + manual adjustments)
Is there an alternative program I can but?
I don't edit photos every month so doesn't make sense I think to get the CC subscription.1 -
It be cool our if SVN got fixed so I could commit changes again. Or while it's down look at other vc options, maybe git?
Nudge, nudge wink, wink.
But in all seriousness wtf did the dba's do to break SVN? Logging my changes in a spreadsheet sucks raw balls. -
If I wanted good feedback for my products (especially if they were geared towards developers) I would scrap devRant and do some data analysis on how our products are perceived in raw form. Would be very raw and informative insight indeed because you are at the heart of raging innovation (raging innovation: when a developer is so pissed at a flaw in a piece of software they highlight or fabricate an ingenious feature or solution) and will help not only iron the kinks out but make a better product all together. Also, of course the good aspects would be lauded.
-
What are your plans for Christmas?!?!!??
I normally won't engage in societal tropes like pointless, generic, smalltalk or those questions people ask for lack of independent thought/societal trope-isms....
Here's my templated answer this year:
Background = ~2k$ in piles of tech... server upgrades components, apparently the only managed switch left in business/non-custom enterprise networking in the country/indexed for sale
(2k in what I would pay.... my tech sourcing is more base level and +4 years pro exp(yea... since age 8... really))
Foreground.... a shiny ✨️ new, wonderfully discounted for dumb reasons that i appreciate... 10Tb LFF HDD! 🥹🥲🤩
I really like raw data... enough raw data and proper context relevant high-level, custom, precise algorithms and i genuinely believe literally any questions or problems can be quantified and solved for
So... I just keep getting data, life, sourcing, stats on human behaviour... i factor everything
Yes i realise im very odd
//initial context plus curiousities
As parsed out to somewhat tangential commentary below... i cant keep making people go away for societally viewed polite engagement. Therefore, when asked again by factory sales rep who enjoys verbosity and apparent finds me extremely worth his intrigue/personal time
// additional context (and my attempt to be more parse and comment conscious)
With a bunch of initial reveals and launches startjng in a week and technically being the "owner/boss"(cringy to me so Ive officially made my title (anywhere with custom input fields) DragonOverlord...dragons being a tied in theme to all sects and no one can say DragonOverlord isn't a position... as it's clearly a class... unless you find a human more style code ignorant, comment inept, and in need of a very multilingual scribe to create a lexicon 2 steps before my code would be even follow-able without a likely, bad, headache and davinci code like adventure including the improbably well placed wise scholars that just happen to have significant unique and vital information they are willing to freely share with strangers.rant christmas data architecture motivational societal tropes temptation so i can build my database structure loathing python raw data data misanthropy databases49 -
Any NODE-JS.pdf available to learn a bit deeper.
Links would be great.
Names, if you've downloaded before.
Thanks in advance.12 -
It's been for a while that I'm dreaming about food ordering company where I can choose from the different foods in the way of: " I want 100g rice, 150g brokkoli, one baked potato...". Probably the calorie would be automatically added up maybe even the macros. The assembled packages for a week will come every day or single order would be possible as well. It's a so beautiful idea. Here we have some similar companies but they deliver raw stuff so there's still a hustle to cook it... And of course there is the fastfood nightmare... Imagine you could eat stuff you assemble yourself, you know the calories as well and there is no overhead of shopping and cooking. Basically every single all-you-can-eat could implement the idea. I'm really sorry that there's no such service. :( One day if I get really angry I will start it...1
-
Flyway is bullshit. Genuinely who the FUCK finds this useful??? Why the Fuck do you want to have an ORM, next to a custom jdbc and to top it all off you also write custom sql queries in flyway just so you can prove your colleagues what db migrations happened WTF you can see that on git commits dumbass!!!! 3 different sql models that need to be the same but are written differently each. One through ORM, through code and through raw sql queries. Flyway just makes shit harder and having 1 change in model means i need to fuck myself with rewriting raw SQL queries in flyway WASTE OF TIME8
-
Nextjs is for script kiddies. This is such a fucking CHILDISH framework. The way you write queries is such fuzzy wuzzy BULLSHIT that u cant even write raw sql. Coming from hardcore java spring boot backend of 5 soon 6 years of experience i cannot believe how bullshit it is. Ill stick with java. I need to be oldschool. Im sick of this shit with constsnt new bullshit popping up sugar coated kiddie shit13
-
Wanted to know what you guys think about "Dev" jobs that also include making slide shows and presentations?
Eg. Imagine working on an analysis engine. And just when the core functionality is working, your boss wants your team to make presentation for every client that it's going to be used for - using the raw data given by the engine.
Instead of maybe adding that function to the engine itself.
Suddenly your work is now 12+hours of MS office instead of 8 hours of coding.
And a year later. You have 10 unfinished skeleton code architectures, poorly documented and 90% of the test cases never written.
And most of the devs who were on the initial project have either left out of frustration or have been fired because apparently fresher's who can not code with a senior coder level proficiency is not performing well.9 -
If your manager asks you to write a raw algorithm based on raw data in order to properly structure, sort and filter that data, how long do you take on average to complete said task?
Example:
Here's a text file with a bunch of continuous data like: john doe 5555 my street 123 karen wiscott 12347 her street 22 peter wright
..and then you first have to start identifying boundaries for each data entry (which is a task on its own, with comparators and shit), solve its bugs.. then you have to make sure it's properly getting sorted.. sort those bugs.. Yeah, it just takes a long time for me to figure all that out.
It takes me 4-5 days on average since I'm a junior but managers expect it to only take 1-4 hours.. madness..4 -
When I started at my first job I was a fanboy for a co-worker who writes codes like nothing and there's is nothing he can not do when comes to coding!! I really admire his work. I always think how does he do it?!
Now I have a fanboy for my work 😎 he admires my work he thinks that there's nothing I can't solve.
I get it now, it's just experience and practice!5 -
The code I'm working in always has problems with stuff like "Object obj=new Object();" or "List stuff=new List;" without type specification, but now I found the summit: "private void methodName(Type parameter) *throws Exception*"
-
Is the semiconductor shortage caused by shortage of raw material or not enough production capacity?7
-
>stack overflow: "Use JQuery!"
>
>me: ok i broke a lot of stuff after >about a year, help me fix the JQuery.
>
>stack overflow:2 -
I can't delete stuff!
I am currently sorting through my harddrive(s) and realized I have over 800 gigabytes of raw audio and video from four of our theatre productions lying around. The films have long been edited and there is no use for the source material anymore.
But just in case, I'm keeping it. You never know... -
Is buying macbook worth it? I mewn thre are a lot of laptops under vwry low price range that look like macbook and have far better specs10
-
Sometimes i think what will be best combination of
Gates(Raw Engineering)
and
Steve (Aesthetics)...
Musk...
(Raw Engineering + Aesthetics...)
Isn't so? -
Ugh, no.. You got yourself from dirty dental-dams of “Jif” believers, all the way to passed bass-ackwards. That PR is raw sewage and your demoted back to entry-level if not intern. Oh and while you’re crying with Morty’s dad; consider a career change. Most importantly, just forget WAN ever existed and go back to your parents first PAN device to play solitaire.
-
Sincerely,
All engineers, reviewers and testers who clean up your leaking dirty diarrhea lines.5 -
Those who know x86 assembly and real mode, what'd I do wrong here?
mov cx,0000
.loop
mov ax,e823
mov bx,1
add cx,1
int 15 ; supposed to be undocumented CMOS raw write on my mobo if bx!=0,ax=e823
test cx,00ff
jne .loop
ret
The JNE doesn't ever trigger, so I end up always returning no matter what cx is. I'm testing if the undocumented writes actually work, and cl is supposed to be 00-FF as it's the address to write bx to in CMOS. I'm running in real mode, if it matters.8 -
After ten reinstallation, finally ready my first Virtual Machine fully operative with FreeBSD.
An OS full of surprise for a Arch-fag like me.
It's just like Arch, but without complicated simple things. Even if the raw system don't have anything on, in ten minutes is a fully operative system with even a configurated Desktop Enviroment.
The malus: driver. Not every machine can be the host for FreeBSD, for example AMD GPU can't send audio channel throw the hdmi port.
Personally i love the BSD License, so i think this OS will be my permanent one after Windows 101 -
Soooo MY BOSS has proved himself stupid and ignorant.
And asshole.
So he changed the db because he decided after 4months building everything around a db we changed aaaand OF COURSE NO ORM as I already told you.
So raw queries fine. What queries? Well, he decided we dont need delete.
We had a soft delete before where archived was true but the entity still in db.
Fine we dont need delete?!? Ok sure
Today, him:" guys is it ok if I add some stuff to db?"
Me:"Well, taking into account we dont have delete that data will be with a lot of garbage and irrelevant data"
Him:" yes we dont need delete, in the future we will need archived true"
Me:" that's what the old delete was doing"
HE DOESNT KNOW THE FUCKING APP.
He IS VP ENGINEER
COO AND PM THINKS HE KNOWS STUFF WHEN HE DOES NOOOOOOT
FUCK THAT COMPANY. -
So I was just thinking scenario wise how if I founded a military organization who’s aim was to depose an insane dictator from power while remaining undetected including from all his insane supporters how I would use Linux
After I took every source package offline and modified and source checked it and disabled the ability for it to use regular tcp ip for anything but tunneling
The reasoning ? I just installed one program and it downloaded 40 some extra packages that I have no idea what are doing
Linux is great but do we actually know what the software is doing ? Same as windows only you can’t compiler that from scratch
It’s either trust a bunch of random people or trust a bunch of random people part of an evil company
Not the best of choices
But oh how beautiful it would be after I had 500 people pick every last package apart with a reasonable deadline of 2 years entirely offline at frozen versions
Then we could fork all the projects
Or only implement very carefully source reviewed patches transported via offline medium To computers that are running vms to house and test all additional patches so if it blows up we just copy our raw frozen image back over it and either scrap or repair the change
As connecting to the internet in general is not an good idea for silent running25 -
Not really a backend developer but I give my best with node.js. The way I did it was just raw SQL everywhere, and now trying to figure out Sequelize. Holly shit its to complicated to me.
Anyone knows some good tutorials?1 -
How do you guys work with forms on backend? Do you have framework in your language or do you work with raw body, parsing and validating everything with your own tools?7
-
I’m trying to update a job posting so that it’s not complete BS and deters juniors from applying... but honestly this is so tough... no wonder these posting get so much bs in them...
Maybe devRant community can help be tackle this conundrum.
I am looking for a junior ml engineer. Basically somebody I can offload a bunch of easy menial tasks like “helping data scientists debug their docker containers”, “integrating with 3rd party REST APIs some of our models for governance”, “extend/debug our ci”, “write some preprocessing functions for raw data”. I’m not expecting the person to know any of the tech we are using, but they should at least be competent enough to google what “docker is” or how GitHub actions work. I’ll be reviewing their work anyhow. Also the person should be able to speak to data scientists on topics relating to accuracy metrics and mode inputs/outputs (not so much the deep-end of how the models work).
In my opinion i need either a “mathy person who loves to code” (like me) or a “techy person who’s interested in data science”.
What do you think is a reasonable request for credentials/experience?5 -
I’m so done with people bruh. Getting friends an adult is literally just having pissing contests about status, money, and power. Like am I just supposed to sit there and really truly believe that something fucking POSITIVEEE will come out of my restraint instead of taking two hands and beating their face into a fucking bowl when they talk to me rude?!? “Like no I don’t mind at all how you mentioned your cool new house in that manner, I really hope it doesn’t burn down with your family inside :)” The amount of conceited, prideful, scumbag, asshole, penisbreath, pieces of raw shit that inhabit the earth makes me question my own validity for existing. 99.999% of people I would never want to marry, be friends with, or even really speak to - because you know what?!? - because why??!? - because it’s a waste of my own fucking time that’s why. I could think of a million things to do that would actually benefit us all instead of being entrapped in a useless fucking social experience with these fucks. Everyone is a obese fucking pillow princess, and I hope the only thing that they can eventually fuck is themselves. FUCK6
-
Please provide a raw price for a "normal" android app budget.
Me i start with 20k
And client must pays 1k per month for maintenance after production
Location: switzerland. What it ur price/location
Cheers5 -
Sigh...this is kinda stupid.
I'm getting a new ThinkPad at work after 4 years. At first I was like "oh yeah...a new machine!". But they are replacing my quad core T540p with a dual core T560. The T560 CPU has a 30-40% less multi core benchmark score (surprise).
So...dear IT: We are not a small 50ppl company that builds some console apps or small shiny hipster web sites. We are developing fucking large business applications with dozens of projects. Our IDEs and our compiler platform are benefiting from raw CPU power and multiple cores. So can I pls not getting A FUCKING DOWNGRADE AFTER >4 YEARS FFS? THANK YOU!
(before anyone asks: keeping the current notebook is not an option because of warranty/support contracts)5 -
Ok! My new project still haven't started and I'm so bored , running out things to look into!!!
So far I have looked into
Firebase
Ethical Hacking
Some web developing concept...
Any suggestions??? Related to web developing, laravel , vuejs ???1 -
Working on some documentations on MS word and I'm pressing ctrl+space for auto complete!!🤣🤣🤣 Not only that ctrl+click for multiple cursor!!! 😂😂😂😂😂2
-
public function index(Request $request): array
{
$parameters = json_decode($request->get('lazyEvent'), true);
if (isset($parameters['page'])) {
$page = $parameters['page'];
} else {
$page = 0;
}
$queryBuilder = DB::table('companies')
->leftJoin('company_contact', 'company_contact.company_id', '=', 'companies.id')
->groupBy('companies.id')
;
if (isset($parameters['filters']['name'])) {
$queryBuilder
->where('name', 'like', '%' . $parameters['filters']['name']['value'] . '%')
;
}
$total = $queryBuilder
->count()
;
$companies = $queryBuilder
->select('companies.id', 'name', 'email', 'phone', DB::raw("COUNT('company_contact.id') AS contact_count"))
->orderBy('name')
->offset($page * $parameters['rows'])
->limit($parameters['rows'])
->get();
return ['companies' => $companies, 'totalRecords' => $total];
}
what is this shit? I get $total 1 when in reality is $companies count is 51
I am thinking avout writing whole sql as raw because I cannto get fucking count correctly21 -
I can run DSP on 4K raw video, but it’s Slack that’s eating up most of my CPU cores. I understand the practical reasons for Electron desktop apps, but it brings fast workstations to their knees and destroys UX paradigms. Run Slack, Discord and Gitter at the same time if you’re a true glutton for punishment. It’s out of control.1
-
Not sure if I should implement Bootstrap on my website for cross device scalability, grid system placement and basic animations, or just stick to raw CSS3... Any suggestions?5
-
Learning vue.js as the moment and loving it. However, it does make me wonder, when using a framework are you essentially cheating?
I wonder if framework only "users" can write raw code outside of a framework?3 -
Rant 1
---
I have so much shit to talk about and its annoying to wait 2+ hours between each rant just to rant so ill start off by ranting about not being able to rant as often as i want to rant
Rant 2
---
What is ORM doing under the hood if it makes the queries so much slower than compared to writing raw sql?
Rant 3
---
Im thinking of creating more accounts just to be able to say what i want to say without waiting these dumbass 2+ hours. Who tf even made that and thought it was a good idea. Ur not saving ur bandwidth storage by making devs wait to rsnt bro itll be the same shit
Rant 4
---
Now by writing 3 rants in a row i forgot what i wanted to rant about more and its an enitrely different topic so ill rant about not remembering what i wanted to rant about because of devrants dumbass 2+ hour wait logic
Rant 5
---
Wow this new york company looking for senior devops dev requires a lot less shit to know compared to the saudi arabian shithole company for the exact same position. But how do i learn all of what they require fast so i can apply for this position since the recruiter has contacted me20 -
damn sorry devs , i know you ppl are here for relaxation , but please help me out.
i am creating a browser and wanna have an edittext which works something like this :
>>user enters 'fb' , there should be a google search for fb(i.e load the string "https://www.google.com/search?q=fb")
>> user enters fb.com , webview should open it directly (i.e load the string "https://www.fb.com" )
>> some nerdy user enters http://www.fb.com or https://www.fb.com , it should load that
I know the function to make it load, what i don't know is how to modify that string to show such behaviors .
The webview is dumb enough to not behave like tht by default. although it feels good having such a raw and tool in hand, but hell, its a fucking google's webview! , why can't they just throw in some built in ways to show their search results by default when user enters a malformed url ?? that would be a great source of branding --__--7 -
I am busting moves rn. I'm in the bathroom but the surge of energy is making me pump my arms like the time Leo Messi scored a clutch winner against Valencia in 2019
Remember the plugin I referred to in this rant? https://devrant.com/rants/6019851/...
Yup! I managed to subdue that fossilised codebase. Effected all changes required. To have a rough idea about how ancient the code is, its classes use constructors predating PHP 5. It throws away the ~15 years of autoloading, view templates, routing engines, DI, ORMs (NO PDO!!), lower-cased multi word variable names, etc. I'm looking at SCRIPTS with raw functions north of 4-600 lines. The client insisted I zip the folder across
BUT! The good news is, we surmounted it. In fairness to them, it's commendable for one man to have pulled this off. The codebase is massive and appears to have been predominantly written by some Gideon dude. Who knows where he is now
There is one pattern I appreciate –something I wish Transphporm does–some segments of the rendered view are composed using class methods ie instead of having the HTML file mixed with templating syntax, you have class methods that receive the raw data. Then you can extend this class as you wish, overriding just the method that composes the segment you intend to modify. That was elegant to work with. But it can become dreadful if the class expects a specific structure of data (an array with weird keys) that you have no access to sourcing
So, I finally get to enjoy one good evening in 2/3 weeks. I called 2 friends to express an emotion that's not gloomy, but they were unavailable. Will probably get some sleep4 -
"Bugs"
all these...
i got bugs
i got bugs in my room
bugs in my bed
bugs in my ears
their eggs in my head
bugs in my pockets
bugs in my shoes
bugs in the way i feel about you
bugs on my window
trying to get in
they don't go nowhere
waiting, waiting...
bugs on my ceiling
crowded the floor
standing, sitting, kneeling...
a few block the door
and now the question's:
do i kill them?
become their friend?
do i eat them?
raw or well done?
do i trick them?
i don't think they're that dumb
do i join them?
looks like that's the one
i got bugs on my skin
tickle my nausea
i let it happen again
they're always takin' over
i see they surround me, i see...
see them deciding my fate
oh, that which was once...was once up to me...
now it's too late
i got bugs in my room...one on one
that's when i had a chance
i'll just stop now
i'll become naked
and with the...i'll become one -
I'm currently working on a project that scrapes the SEC's EDGAR website for type 4 filings.
I currently have the required data in raw text format that somehow looks like xml, i really can't tell what it is but i'm trying to parse this data into json.
I've not parsed something as complex as this before and will appreciate any form of pointers as to how to go about this.
i have attached a screenshot of one sample.
this link fetches the data of a single filing in text format.
https://sec.gov/Archives/edgar/...5 -
Best: Learning React JS
Worst:
Having to rush an online training module for our app in a weekend.
It was so raw that I had to alter the database by hand every time we needed a different training.
Awful, stressing, and boring. -
Custom Essay Writing
Paper composing is the one of the most significant task in the scholastic long periods of the understudies. Be that as it may, huge numbers of the understudies are getting exceptionally hard to compose papers. The primary explanation is that understudies are looking recorded as a hard copy an article is that they don't have such an experience.We are giving numerous serves to the understudies like by giving on the web best research paper composing administration . An exposition is a decent method to incorporate all raw numbers. The composing ability is significance in all fields, the Essay composing practice prompts the quality writing.Custom article composing administrations spare your time just as your space for different exercises as you are not the person who is composing the paper. We can't give the best and mistake free quality composition, which is the reason we need custom exposition scholars who can give us the best quality custom articles. The various tips make the Essay progressively appealing. The intriguing feature expands the interest and consideration of peruser. The straightforward language give the progression of sentence. So you should keep the language straightforward and keep up the stream. Try not to commit the sentence structure error, it will occupy the peruser from content.
visiT: https://essaywritersworld.com/13 -
Mass notification vendors lack of understanding that to create value for clients they must turn raw data into information into knowledge into wisdom. Shoveling oceans of raw data at us does not impress us.
-
Previously on devRant: https://devrant.com/rants/2010573/...
And here's something similar for vlc, but it expects you to point it at a local file (note: vlc can not access files inside termux's private storage). Obvious copy&paste from SO for escape characters aside, here you go:
https://pastebin.com/raw/QeHSnDK51 -
What is the point of kubernetes "secrets" if it encodes the sensitive information as a base64 string if anyone can decode and read raw data using any base64 decoder tool?5
-
I forgot every thing and watch funny YouTube videos! And in between watching them I blame myself get depressed get angry!
I think I might be bipolar! 🤔🤣😀😂☹️3 -
What a day. I was cleaning up some of my styling tweaks for this react app; removing superfluous rules, nailing some hard to pin alignments that have been off up until now, and removing unused files and code in general.
I managed to delete an entire folder. I'm not sure how I did it, but apparently I had highlighted the folder when wanting to just delete one file via vs code. This was hours of uncommitted (yeah, my bad) tweaks and cleanup.
But - I still have the app loaded in my browser. I can't see the prebuilt source code, but I can see the compiled, raw main.chunk.js which gives me the exact code albeit not in the format I need.
So that's my day. Re-tweaking, re-adjusting everything while working my way down a compiled javascript file from top to bottom while explaining to my team why I haven't pushed my changes that I was just going to clean up.
Now I'm having a beer.3 -
Just keep your docs with your source on GitHub. Don't make me use your shitty website and don't subject me to your broken links and constant redirects. I fucking hate this shit so much just give me the raw documentation. Thats all I asked for.
And get rid of that HUGE example column that takes up half my display. -
When's the last time you've had to write raw SQL? Can you consider yourselves SQL experts even though you only use it through ORM's?9
-
Facing some down - simultaneously somehow as dev and privately.
The dev part partly triggered by another burning project. Our team deep in shit up to the chin... And this unanswerable question: who is to blame? Everyone is working up their arses, but the result is still some sparkling firework ship wreck, that only held together for the demo to the board. It's not that we are stupid or lazy, yet we push some unmaintainable spaghetti, because this shit just gotta work.
Dunno, somehow this object orientation / pattern ideologies were also kind of depressing to me: partly because they smell like attempt to enlighten the inept by stupid receipts - and of course then deep down there's this nagging question if I'm not one of this inept not knowing the newest fashion template from the catalogue..
Then this Clean Code - Craftsmanship shit is bugging me similarly. Liked Robert C. Martin's book, but now I picked up some "Clean C++" and.. I kinda feel dumbed down if they try to sell the KISS principle to a 36 year-old physicist/engineer. Good for them that all our legacy shit und own fuck ups nourish this whole industry of well-meaning advisers. Argh, just fuck it, you priests, sell your obvious calendar mottos elsewhere, they are are just as useful as telling a griever that "rain follows sunshine". - As if they would not some time use the raw pointer that their coworker gave 'em, to ship shit tomorrow? -
does anyone hate material you?
god damn, it seems so fucking stupid. i don’t want a color scheme on every single app i have. i like, from an app developer and app user’s standpoint, that i can recognize an app by its colors. colors are part of an app’s identity. why not just give users raw access to the apis that apps use. i mean, every messaging app is going to look the same now, every browser and every app that has a similar ui to another.5 -
I think my favourite one is Notepad++ I like things raw and out of distractions... Maybe because I write a lot of LaTeX and it feels like heaven...
-
[Prestashop question / rant]
Yes, it's not StackOverflow here, neither is it prestashop support forum - but I trust u people most :)
Proper solution for working with big(?) import of products from XML (2,5MB, ~8600 items) to MySQL(InnoDB) within prestashop backoffice module (OR standalone cronjob)
"solutions" I read about so far:
- Up php's max execution time/max memory limit to infinity and hope it's enough
- Run import as a cronjob
- Use MySQL XML parsing procedure and just supply raw xml file to it
- Convert to CSV and use prestashop import functionality (most unreliable so far)
- Instead of using ObjectModel, assemble raw sql queries for chunks of items
- Buy a pre-made module to just handle import (meh)
Maybe an expert on the topic could recommend something?3 -
all amazon customer service agents should be dragged to the edge of a pit, shot, dropped in and have raw sewage used to bury their bodies.
that about sums up a portion of what they deserve prior to their departure to hell.16 -
Is there anyway to post a data to a apache server without using headerless data? (A http packet without headers, just raw data string)
-
file names
full capitalized, spaces in between some, mix of underscores and hyphens depending
but it works when i used them raw as is to be supplied for a path to something
didnt even bother escaping anything
should be a pleasant surprise but was told (reasonably considering the situation) to correct what i received1 -
When downloading 'animate.css', is it wrong to copy the raw file and paste into a file named 'animate.css' and link it in html file? Why doesn't it work??!!4
-
For those wondering why so many people are leaving GitHub, it is due to the fact Microsoft is part of the PRISM surveillance program, where the NSA and other agencies can get their hands on your raw, unencrypted data without anyone knowing.
This is the reason 2 companies and 20ish devs gave me as to why they moved from GitHub to a self hosted Gitlab2