AboutNot really developing anything other than anger issues. Snapchat me, I'm friendly: MrAlgoRythm Advanced command-line application dev.
Joined devRant on 1/8/2017
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
It has taught me to accept that I am frequently wrong. Not just when faced with code but with people too.
All the years of "It can't possibly be MY code that's wrong" which of course always turns into "Well, I guess it was my code..." Had helped me think critically in relationships, politics, and many other areas of my life.
Programming had actually heavily influenced my behavior and I would say it is largely for the better.
However, one negative effect it has had on me is that I am less of an optimist. Code is very "cause and effect". This means a lot of my life is "no surprises" and "you get what you give"
So I often feel like the most likely outcome is probably just the one that's gonna happen. There are no surprises, no miracles. Life is cause and effect.2
Today, I made an event-based gamepad library.
Although, I was lazy. I am planning on only supporting one controller so the library only supports one controller at a time. Plus, it uses some global variables.
But still, kinda fun
Bootstrap 3 is dogshit, bottom-tier, atrocious, unhelpful, bloated, failed software.
Bootstrap 4 actually isn't too awful though.16
Amazon mturk. Job was to rate grammatical corrections.
First of all, it's surprising how often people forget commas. That's like, the #1 error with these things.
People just keep going on and on and on and on and on and never break their sentence even if there was supposed to be a comma and it really makes the voice in my head fell like it's running out of breath but it can't stop because the sentence is still going and [...]
The corrections are generally okay. I took many more college-level English classes than I think I needed to, so my English is fairly decent. For this reason, I might be a bit more of a stickler than I need to be for this job.
But this one threw me for a loop, because it's just such a bad correction. Not only does it miss the obvious errors but creates a new, equally obvious error.
This is one of the reasons mturk is interesting to me. Sure, I don't make.... practically anything. But you come into such a variety of work that it's almost addicting in a sense.19
Here is the first step of my software that will keep track of "what bills am I currently paying?" throughout your day. This is analysis mode, you can specify your expenses and income (after tax) in a json file and it will build this report for you.
Here's an example with relatively realistic figures
The next step is to visualize it and have it render some charts and graphs. Yay!10
Today, my job banned birthday celebrations and worker commendations on the basis of covid19 prevention.
And only those two things.4
(possibly political, but not really)
I think there's an under-reaction culture around covid19. People are mitigating it to be "just a bad flu" and keep bringing up the 2-3% death rate.
I see that people may have good intentions but spreading lies just to make it seem like the virus isn't bad is worse than the media overreacting.
I'm tired of people just repeating the same "ugh, calm down, it's just the flu!" Just because they don't want people to worry. While panic isn't good, disregard is worse.
The "bad flu" stage is only the second of three stages. Stage one is minor symptoms (so nobody cares if they are sick at this stage) coupled with patients being highly infectious (you can imagine, this is a bad combo)
Stage two is of course the famous "bad flu".
Stage three is fucking respiratory issues including pneumonia, AFTER you have already gone through stage two, which can be rough on its own.
The CDC (not any media) has issued warnings to those at high risk to stock up on supplies and medication they may need. As usual for this sort of stuff, the elderly and those with pre-existing conditions are in the high risk groups.
2% death rate (low end) is one in 50 people. That could be someone you know. 4% (high end) is one in just 25 people. That's the average high school class size where I live. That's a lot, that's pretty deadly.
Stop calling it a bad flu. Stop listening to people on Facebook, CNN, and devRant. Please visit the CDC, they are constantly giving updates.
Business Intelligence, the most confused market technology has to offer. (Perhaps rivaled only by machine licking. Learning, whatever)
Step 1: develop a product that can replace a company's database guys. Make it cost more than the database guys.
Step 2: Show off product to managers using images of the product that the managers will love, but never have the skills to do themselves.
Step 3: Fucking obviously the managers buy it.
Step 4: Fire half the database staff.
Step 5: Managers give the BI tools to their remaining database guys ANYWAYS and instruct them to use it
Step 6: Database guys spend a month learning the new tool because management "wants to use it too".
Step 7: Database guys now use this new system for reports but have trouble using it for complex use cases, as it was designed for simple use cases. Meanwhile, management will never, ever touch the tool again.
Step 8: Hire new guys for reporting, because the remaining database guys can't complete both their normal tasks *and* the reports.
Step 9: Database guys are expensive. Go to step 1.1
You know what's awkward? Saying "hello" in response to someone who's actually just on the phone.
You know what's worse?
Seeing the phone in their hand, and knowing they are on the phone, but they turn their head to you, make direct eye contact, and THEN say "hey".
What are you supposed to do? It's awkward either way.6
Oh, it's been awful. A mandated email about washing hands. A slurry of awful jokes every time someone sneezes. Send help.8
- Totally change the syntax of HTML (Which? would make them? Not a templating engine? But their own shitty markup language?)
- Are already deprecated (And the new version isn't done yet!)
Every week, when I first get into the office in the morning, I think in terms of hours and pay. "This hour, I am paying off my insurance. This hour, I am paying for gas. This hour, (etc)."
Eventually, I get to "From this point on, I'm just putting money in the bank" after all expenses are paid.
This resets every pay period.
I want to make some sort of thing where you put in your gross income, expenses, and working schedule and it gives you status. "Right now you are working on: xxx", "xxx minutes until your expenses are paid", etc.
Would be cool to watch.14
So I recently purchased Ark and I gotta say I can totally recommend single player/ local multi.
It's not exactly stable. And non-dedicated private servers are pretty limited. But it's fun nonetheless. The animals are neat, the landscape is gorgeous, and the base building is interesting and intuitive.
One of the things I don't exactly love about Minecraft is that your shelter doesn't matter much. Build some walls to keep the mobs out and you're good. But Ark is much more hostile. You need to avoid cold, and rain, and heat, and big Dino's that want to bite you and stomp you. So your shelter actually protects you.
Not only that but materials are so easy to get in Minecraft. You can have a full house by the end of your first day, easily. But Ark makes resource collecting difficult. You need some dino companions to hold your stuff because it becomes too heavy for you alone. And it takes days, maybe even in-game weeks to build a suitable house. And you can spend much, much longer making it more than just a wooden box.
Cool game! Definitely in my top 3 right now.6
So I have heard some people talk about it and I guess I can't google the right words but what do I do when building c across platforms that may have the header files in different locations without needing to actually change the c code?3
WTF is wrong with Manjaro, every package I install gets "error while loading shared libraries". VSCode, chromium, even yaourt?! I mean this just doesn't even fucking work.
I downgraded my kernel and now I get the same errors and when I -Syu, I get a thousand "Warning: x is newer than y"
People who have personal experience,
What's the best place to do micro-jobs for like $10-$50 that I can do as a freelancer in like an hour? Is Fiverr a good place?15
Emoji support, default color support, double-buffering... my library is really coming along well!
Getting the default colors in Linux was a one-liner. But Windows.......
Ubuntu: Lulz your trackpad drivers don't work and there's no solution other than compiling them yourself or something it might not even work because it's for a different model but just hope and pray ok? also your wifi obviously fucking won't work. What, are you retarded?
Manjaro: Ye I gotchu. Mouse works outta the box. WiFi too10
I feel totally empty inside, it's 3:30 AM, but I got emoji's working in the Linux terminal AND Windows terminal using the same c code.
What you're looking at here is Linux (top left), Windows (starting slightly right of the top left), and the source code for both platforms. It also runs until you press the 'q' key so just displaying an Emoji would be much less code.
It took literally all day of learning about Unicode, Unicode in c, Unicode in ncurses, Unicode in Linux, and Unicode in Windows. But fuck me, I did it.
Only the new Windows Terminal (Preview) renders emoji. The old CMD.exe and powershell.exe will only render what their fonts offer, which isn't much. This got me stuck for a while.
Check out the lib here... leave a star for my ego.
Working on Unicode support for Linux Terminal apps, and I output an Emoji smiley face. The emulator I'm running (Termius SSH client) rendered it fine, but once the application exited, half the smiley face was left there as graphical garbage for some reason XD
Resetting my terminal did nothing, scrolling up and down did nothing... it was burned into my terminal for the rest of the session.
This is what I get for performing the unholy act of adding Unicode to terminals.6
Idea: social media, hard mode
- Likes are a currency
- You get one like per day to spend on whatever post you feel is worthy
- After 30 seconds, you are unable to unlike the post
- The poster gets the like, which they can spend
- You can only post once per day
- Each additional post costs a like
- You can only comment once per day
- Each additional comment costs a like
- Sure, why not, sell likes for money. Fuck. Dev's gotta eat.
- Less time-consuming by design. Interact without losing yourself in social media.
- Learn financial management
- Encourages only good content
- More difficult to get an inflated ego from
- You'll probably get 0 likes on most of your posts, loser
- Limits discussion, as comments are limited12