Details
-
Aboutdeveloper having fun in the world
-
Skillsjs, php, ruby, c#, rust
-
LocationSofia
Joined devRant on 6/15/2017
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
-
Hello all,
I am .NET dev for a while now and web development was mostly my area of expertise. Lately, i got a bit bored with all this and as a passionate gamer, i wanted to try out game development in unreal engine. Naturally i had big plans and went for big PC game but soon realized what enormous task that is. That's why I decided to test myself with mobile games first. Here is the link to my first game created :) https://play.google.com/store/apps/...
If anyone is interested in checking this out i would like to hear your comments and remarks.1 -
Joins Skype group dev talk
20mins in mutes microphone
Co worker mentions something I am working on
Me: starts talking for a minute
Coworker: randomly interrupts me, like legit no warning, he just started talking....
Me: wait what da faq
OH wait I'm not mute....
Shit -
Happiest moment of the week.
*Missed call from dad*
*Calls back*
Dad: I was gonna ask you about something, but I found it on duckduckgo.6 -
Well here's how I see things going:
Intel and AMD ditch their assembly architectures for Scratch, because drag and drop is very popular lately.
The Boolean is renamed to the biggot by SJW leaders for only supporting binary views.
You must first ask consent to add an item to a linked list, because forcing two items together promotes rape culture.
Apple removes the "h" and "7" keys on all laptop models and gives no reason for their actions.
Linus Torvalds grows an extra middle finger, and it still isn't enough.
Nintendo makes Mario gay and Luigi black to be more inclusive.
LG makes a curved monitor that curves away from you rather than towards you. People buy it in confusion.
Everyone makes the same ad revenue on YouTube, and it is rebranded to OurTube. Luckily, they were able to keep the color scheme.
People finally realize that machine learning is just math, and stop using it everywhere. (Just kidding lol)
AMD and Gucci merge. Nobody understands why.22 -
WHY THE FUCK! WHY THE FUCKING FUCK! DO I HAVE TO WAIT 3 FUCKING DAYS TO GET A FUCKING VIDEO RENDERED! i didnt buy a new fucking 2080TI for this! WHY THE FUCK DOES THE CPU RENDER THE FUCKING VIDEO!
I mean, we can do fucking REAL TIME RAY-TRACING! And yet, no fucking idiot came to the Idea, "hmm we could let the GPU its intended purpose and dont use the CPU that much." I MEAN, IT HAPPENED, BUT FUCK IT! FUCK ALL OF THIS! FUCKING 74 HOURS!! FOR AN HOUR CLIP!
(Its 4K tho)
Fuck.21 -
When you order a bezillion tiny things at small prices to avoid toll on one large package, and you have no fucking clue if everything has arrived.
Arduino stuffs, LEDs, resistors, stuffs like that wherever its cheap for those wondering.3 -
Solved a SEGFAULT in a conventionally undebuggable 800k lines C++ project after 10 hours of investigating 🙌14
-
DataBase not approved, just use spreadsheet they said...
65487456456 errors later...
Many litres of blood later...
866 brackets just for the closing
528 ifs20 -
The Linux Kernel, not just because of the end product. I find it's organizational structure and size (both in code and contributors) inspirational.
Firefox. Even if you don't use it as your main browser, the sheer amount of work Mozilla has contributed to the world is amazing.
OpenTTD. I liked the original game, and 25 years after release some devs are still actively maintaining an open source clone with support for mods.
Git. Without it, it would not just be harder working on your own source code, it would also be harder to try out other people's projects.
FZF is possibly my favorite command line tool.
Kitty has recently become my favorite terminal.
My favorite thing open source has brought forth though is a certain mindset, which in the last decade can be felt most heavily in the fact that:
1. Scientific papers with accompanying GitHub urls, especially when it comes to AI. Cutting edge research is one git clone away.
2. There are so many open hardware projects. From raspberry pi to 3d printers to laser cutters, being a "maker" suddenly became a mainstream hobby.12 -
I'll admit - I come from a WordPress background of almost 9 years in the making. I guess I can justify it because of all of the sites I created using it, it was the best that it could be on WP. Fast, efficient, custom - none of that off-the-shelf themeforest crap. I created everything custom. I actually knew what was going on behind the scenes of WP.
And then a buddy of mine and I had an idea for a new company/software project. I was smart enough to know that WP was not the foundation for this, so I did some NodeJS/Express tutorials. Started learning React, and really getting into the Javascript world.
And now I'm wondering WHY IN THE ABSOLUTE FUCK I ever bothered trying to become an expert in WP. It's the largest use of PHP in the fucking world and it doesn't even have native composer support. And by the time you actually get your project set up using composer you have to add a fucking mirror of the wordpress.org plugin repo to get anything to work. It's 2018 and you'd think that WP and composer would have all of this shit figured out by now.
And don't get me started on git - as soon as you have more than 1 person working on a WP site, I hope you have hourly backups of your DB because someones work will get overwritten. So you all either need to work on the same staging area of work around each other by pushing/pulling the DB and schedule your workflows.
I guess WP CLI and the REST API are a step in the right direction, but the foundation of everything is just so fucked up.
I don't feel like I've wasted my web dev career, but I definitely wish I had started down this path a lot earlier. I guess you don't know what you don't know. Thanks for reading!2 -
A little backstory:
We've been making a Metro Map application for Android via Java. I was doing the map itself and I encountered the issue that TextureView couldn't draw the map. Apparently, it was working on emulator, so I spent about three days trying to fix it.
!rant
FAGGOTS FROM QUALCOMM COULDN'T CARE LESS FOR BETTER DRIVERS FOR THEIR ADRENOSHIT GPU. I'VE SPENT THREE FUCKING DAYS TRYING TO BYPASS ALL THE FUCKING BUGS QUALCOMM JUST SHIT OUT INTO THE WILD.
APPARENTLY, THEIR SHITTY DRIVERS CRASH THE DRAW THREAD IN NDK AND I GET A CRASH WITH NO TRACES, NO LOGS.
OH, MAYBE I'LL FIND THE BUG ON THE QUALCOMM ISSUE TRACKER? IT'S NOT AN INDIE COMPANY, IT SHOULD HAVE ONE.
NO, IT HAS NO FUCKING ISSUE TRACKER. THESE CUNTS DECIDED NOT TO UPDATE DRIVERS BECAUSE FUCK USERS WHO WON'T GET NOUGAT.
I WAS SO ANGRY FOR REALISING I'VE BEEN FIXING BUG THAT DOESN'T EXIST THAT I'VE JUST THROWN THE TEST PHONE OUT OF THE WINDOW.
TL;DR: QUALCOMM ARE FAGGOTS, RIP 3 DAYS AND PHONE3 -
#thread
Any Home Assistant fans out there? Got myself a RPi3 a few months ago and got hooked on HA, because of the huge product support and great community. Didn't find any dashboards that I liked so created my own, written in JS, fully customisable and support for most if not all kinds of gadgets. The purpose was to have something easy to use for the whole family, on a wall-mounted tablet. What do you guys think?
Anyways, has anyone done some cool home automations/scripting? Would love to hear about it!77 -
Just thought I'd share my current project: Taking an old ISA sound card I got off eBay and wiring it up to an Arduino to control its OPL3 synth from a MIDI keyboard. I have it mostly working now.
No intention to play audio samples, so I've not bothered with any of the DMA stuff - just MIDI (MPU-401 UART) and OPL3.
It has involved learning the pinout of the ISA bus connectors, figuring out which ones are actually used for this card, ignoring the standards a little (hello, amplifier chip that is wired up to the +12V line but which still happily works at +5V...)
Most of the wires going to it are for each bit of the 16-bit address and 8-bit data. Using a couple of shift registers for the address, and a universal shift register for the data. Wrote some fairly primitive ISA bus read/write code, but it was really slow. Eventually found out about SPI and re-wrote the code to use that and it became very fast. Had trouble with some timings, fixed those.
The card is an ISA Plug and Play card, meaning before I could use it I had to tell it what resources to use. Linux driver code and some reverse-engineering of the official Windows/DOS drivers got me past this stage.
Wired up IRQ 5 to an Arduino interrupt to deal with incoming MIDI data, with a routine that buffers it. Ran into trouble with the interrupt happening during I/O and needing to do some I/O inside the handler and had to set a flag to decide whether to disable/re-enable interrupts during I/O.
It looks like total chaos, but the various wires going across the breadboard are mainly to make it easier to deal with the 16-bit address and 8-bit data lines. The LEDs were initially used to check what addresses/data were being sent, but now only one of them is connected and indicates when the interrupt handler is executing.
There's still a lot to do after that though - MIDI and OPL3 are two completely different things so I had to write some code to manage the different "channels" of the OPL3 chip. I have it playing multiple notes at the same time but need to make it able to control the various settings over MIDI. Eventually I might add some physical controls to it and get a PCB made.
The fun part is, I only vaguely know what I'm doing with the electronics side of this. I didn't know what a "shift register" was before this project, nor anything about the workings of the ISA bus. I knew a bit about MIDI (both the protocol and generally how the MPU-401 UART works) along with the operation of a sound card from a driver/software perspective, but everything else is pretty new to me.
As a useful little extra, I made some "fake" components that I can build the software against on a PC, to run some tests before uploading it to the Arduino (mostly just prints out the addresses it is going to try and write to).46 -
Today is my birthday (25) 🎂.
Also I'm in the hospital because I had a seizure due to my body not capting phosphorus, it was so violent that I apparently damaged 3 vertebrae, sorry I didn't mean to write a sob story but am in dire need of support and I wanted to thank the community for being there.22 -
Does anyone know a provider for webhosting with this needs?
- decently priced (~4€/month)
- domain included
- email stuff included
- no analytics/cookie stuff from the provider (that's the point of change)
- easy sftp access
- ssl included12 -
TL;DR: disaster averted!
Story time!
About a year ago, the company I work for merged with another that offered complementary services. As is always the case, both companies had different ways of doing things, and that was true for the keeping of the financial records and history.
As the other company had a much larger financial database, after the merger we moved all the data of both companies on their software.
The said software is closed source, and was deployed on premises on a small server.
Even tho it has a lot of restrictions and missing features, it gets the job done and was stable enough for years.
But here comes the fun part: last week there was a power outage. We had no failsafe, no UPS, no recent backups and of course both the OS and the working database from the server broke.
Everyone was in panic mode, as our whole company needs the software for day to day activity!
Now, don't ask me how, but today we managed to recover all the data, got a new server with 2 RAID HDDs for the working copy of the DB, another pair for backups, and another machine with another dual HDD setup for secondary backups!
We still need a new UPS and another off site backup storage, but for now...disaster averted!
Time for a beer! Or 20...
That is all :)4