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
Just dropping by to tell you that gocryptfs is the best solution for encrypting a directory that I have ever come across and isn't absolute cancer to set up.
Look it up. It's amazing.2
Fuck it, I'll learn Rust.
The syntax looks otherworldly, but it's supposed to be nice and fast, which I currently need, so...13
I'm still unable to find a single advantage of using the Firebase Database over MongoDB, yet people keep suggesting me to do so.
WHY? I can host Mongo for free on my own server and won't have to worry about *READING* costing money!7
How many kilobytes of resources (CSS, JS) do you deem acceptable? I need to know how much I should optimize.
And no, I will not use no JS. Don't suggest that. Svelte is needed.16
I think the Gelbooru API is pretty nice.
It's consistent, has a structure that makes sense, supplies JSON and has pretty nice endpoints + parameters.2
"The quick brown fox jumps over the lazy dog"
"Sphinx of black quartz, judge my vow"
- Metal as fuck
- Works just as well19
Does anyone have some small projects I can contribute to for Hacktoberfest? I'm having some problems finding anything that doesn't have a humongous codebase or is dead.8
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 | email@example.com
AchtertKristian | Pass: yne8ncqyzlq7 | firstname.lastname@example.org
AdamJanina | Pass: kakphpodpc0k | email@example.com
BerendsJana | Pass: 0829btgjnrc1wcd5 | firstname.lastname@example.org
BerqueFelix | Pass: 1p1b3zx7tzn45jm5 | email@example.com
BliengenMax | Pass: tuc6hd2hayixk0hn | firstname.lastname@example.org