AboutI develop little Webpages and applications. Ruby and PHP are my life. I dislike Java and hate Python. Contact me on Discord. PrivateGER#4089
SkillsPHP, JS, HTML, SQL, C++ (a bit), Java, C#, Ruby
Joined devRant on 8/14/2017
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Fuck all the articles on it too.
Do you seriously think I am so fucking dumb that I cannot keep my attention on a paragraph of text without at least one image for five seconds straight?
Three quarters of your shitty fucking article are images. They don't even relate to a damn thing in the article. It's just a fucking stream of random image subtitles.
It's just as bad as people randomly mashing pictures they found via Google search into their Power Point presentation because they actually have no content, breaking all copyright laws in the process, so they can stretch their mindless bullshit as long as humanly possible.
Just a short reply to whoever deleted his rant because he didn't read the JS docs.
map is a map. You don't just dump a function call into there. You map the value to el and the value is then set to the function result.
new Array(38).fill("10").map(el => parseInt(el));6
I finally stopped being lazy and wrote 31 unit tests for my Discord bot.
Nothing is more satisfying than seeing them all pass and the GitHub workflow working without any problems. :)7
Writing some C in the middle of the night for some random project idea I thought of while eating Pizza is the most fun I've had this year. :)
Hey, just need a little advice regarding android kernels.
Does anyone know a simple way to download either pre-compiled or source code of stock kernels delivered with phones?
I flashed one, but have some System UI problems, so I want to go back to stock, but I can't find any download.
I'm running a Samsung Galaxy S6 (zerofltexx).6
Learning C was easier than learning Haskell, and learning C was atrocious.
What in the actual fuck is this?16
If I have to register on your shitty fucking forum just to see the damn API docs to hardware I have bought with my own money, then you can go fuck yourself. This is absolute cancer. Now I have another useless service that is 100% going to send me annoying fucking emails.
Fuck Googles SafetyNet.
I wish for every developer who is responsible for this pile of shit to choke to death on a big fucking piece of chocolate.
SafetyNet is the most retarded piece of software that has ever been developed in the past decade. It does nothing but annoy everyone, randomly block people for no reason and being a gigantic pain in the ass. It has no purpose existing. The entire purpose of it simply does not make sense and is only used for marketing bullshit. The last thing I would trust my actually important shit with is a phone.
Fuck you, Google. Fuck you.6
Finally got to flash stuff onto my phone again.
Damn, Magisk is nice.
AOSP is so smooth too.
And I replaced GSF with microG. :^)8
I've been wanting to get into circuit design and general electronics for a while now. PCBs seem interesting.
What can you people recommend me to start learning it? I've only found some random courses by people with thick accent I cant understand.6
1) I don't have to talk to other people while doing it.
2) The computer does exactly what I want it to do and failure will always be an error made by me, not someone else. That makes it satisfying.
3) I'm pretty good at it. It's just fun helping other people at school and creating small programs to solve problems.
Okay, I love Laravel, but sometimes it just pisses me the fuck off.
I needed to check a cookie in a middleware and redirect to a page if that cookie is set to 1. Sounds easy, right? A simple if(request()->cookie("pshield") === "1") should do it, right?
To make this even worse, that code would work without any sort of problems in a view and controller. Hell, it would even work in inline PHP without importing anything!
Now here's the thing. Laravel encrypts all cookies with a previously generated AES-256-CBC key.
Of course that means they have to be decrypted. Reasonable, hm? Well, in controllers and views, that has already been taken care of. The cookies are decrypted and usable as plaintext. Now, you could expect that to be the case in middlewares too, hm?
Nah, that'd be easy. Middlewares do not decrypt cookies. Took me around 20 minutes to figure out since you cannot echo data from a middleware either.
if(Crypt::decryptCookie(request()->cookie("pshield")) === "1")
FATAL EXCEPTION: String failed to serialize
**cue loud screaming after 30 minutes of debugging**
For some godforsaken reason, the Laravel framework requires you to not use the normal fucking cookie decryption function, but the one to decrypt text.
if(Crypt::decryptString(request()->cookie("pshield")) === "1")
I don't get why they didn't just make it expected behavior and I fucking hate how it looks.
Hey, some of you might remember a rant I posted a few days back complaining about email scores.
Well, I finished the project I needed them for and thought someone might be interested to give feedback or try and break it.
Basically, it's intended as a solution for the absolute mess our school is in before parent conference days. We're talking 3 pieces of paper per student, meaning about 3000 sheets being wasted every half year.
The beta version of the website is hosted at https://laravel.privateger.me/.
Seriously, take this apart as harshly as possible please. I'm sure there are a ton of issues I haven't seen.
The website is in German, but it should be really easy to understand even without knowing it.
If you get banned by the small protection thingy I added, tell me, I'll clear that.
Credentials here (students and teachers have different interfaces):
AbelMonika | Pass: 1emctd03m3pf | firstname.lastname@example.org
AchtertKristian | Pass: yne8ncqyzlq7 | email@example.com
AdamJanina | Pass: kakphpodpc0k | firstname.lastname@example.org
BerendsJana | Pass: 0829btgjnrc1wcd5 | email@example.com
BerqueFelix | Pass: 1p1b3zx7tzn45jm5 | firstname.lastname@example.org
BliengenMax | Pass: tuc6hd2hayixk0hn | email@example.com
I finally got so annoyed at the lack of infinite scroll on devRant that I just threw together a quick project to have it.
It's called rantReader and is basically just a normal algo feed with infinite scroll.
So, if anyone wants to use it, it's hosted at https://rantreader.privateger.me/.
GitHub repo: https://github.com/PerhapsSomeone/...4
Hey, I just got myself a bunch of assorted stickers for cheap, but don't know what those two are.
Can someone identify them?15
Did anyone see @linuxxx around?
He hasn't been on here for the last few weeks, which is really unusual.17
Would it be a bad idea if I mention my biggest project is a Discord bot supplying explicit material to a total of 7000 servers on my CV?
Finally thought I had a good project idea.
It's already been done and is a large site. 200k users.
WHY CAN'T I JUST COME UP WITH SOMETHING UNIQUE FOR ONCE?16
Trying to reach a spam score lower than 4 with my HTML emails is the worst time I have ever had while developing.
Go fuck yourself, horrible email standards.
Go fuck yourself Gmail, for blocking images.
Go fuck yourself, conflicting standards.
This shit is just an absolute shit show.17
Sorry, I just had to post this cable porn I found posted in some random subreddit.
Just look at those curves16
I thought there was no worse freelancer site than fiverr.
*insert "Boy you were wrong" here*
No. Just No.
- Limited to 8 bids as a free account
- You get 1 bid back every 90 FUCKING HOURS
- CLIENTS ARE EVEN MORE RETARDED THAN ON FIVERR
- HALF OF PEOPLE WANT YOU TO SELL YOUR UPWORK ACCOUNT TO THEM
- 5€ FOR 2000 WORDS OF TRANSLATION? ARE YOU FUCKING KIDDING? END YOURSELF PLEASE
- "Design a custom social network (video chat, chat, forum, shop and payment gateway) quick!!!" for 100€, within one day.
What the fuck.