SkillsC, C++, Haskell, F#, Python, Rust, Network and System Security
Joined devRant on 9/14/2017
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
I'm working on a programming language with a "bytecode" interpreter and a compiler that translates source code to said bytecode and... it sort of actually works!
I want to recreate an Erlang-style environment, currently you can write functions, call C++ functions via wrappers, have immutable-only values, and it has no explicit control structure apart from statement sequencing and the if-expression because I want to make it as functional as possible. Next thing on the list is to add a green threads implementation and ability to spawn and send messages to processes.
Still a WIP and heck even design-in-progress.
Now for the rant:
I'm using CMake for building C++ (interpreter) and Stack for Haskell (compiler) and I've been trying to get them to talk to each other for hours because I want CMake to manage the Stack build too and shove all the executables into one place. CMake documentation is weird and Stack isn't too helpful either, so I guess I'll just spend another few hours trying to get Stack to fuckin reveal its build directory to CMake and/or build to a given directory. Ugh.8
That moment when you thought you've fortified yourself with enough RAM for the future (32GB) and Blender fails to work with a large project because...it runs out of memory (just in the loading phase, building them intermediate data structures pushes it over the edge I guess).
It was kind of fascinating to watch the memory usage indicator creep up though. Morbid fascination.3
I can't login ffs
I don't care that it shows an impossible number of characters honestly, but I don't get why that should prevent me from logging in to any of these servers
For that matter, why the fuck is number of characters a signed int?3
Trying to install Fedora to use some Linux stuff
- have to try booting up 3 times to boot into the live env successfully
- keyboard doesn't work, try booting up again
- installer crashes
Yeah fuck this back to Windows it is.15
This is the most impressive testing document I have ever read. Props to the SQLite devs for doing things so thoroughly.
Was going through old photos from university time and...I present to you the result of deadline + lack of sleep + boredom + shitty university project because somebody decided that CS folks needed to learn webdev in old ASP.NET.
Yes that is one query. I wrote the entire thing out as a string in my C# program in one go and tested it by running it from the program. Must've worked properly because I got them grades so eh. I recall I had one nested seven levels too (this is just 5) but I can't find a photo of it. These two queries did all the business logic. Yeah.
Apologies for the poor quality photo of the screen, I don't have the code so no screenshot, this is just from my photos archive5
Came across a player called Root in Overwatch today, would that be you, @Root, by any chance? It's not exactly a common name.6
Been going through the family stash of old Wild West type novels (you know, cowboys and cattle drives and six shooters and gunmen and rivalries and all), from authors like Louis L'Amour, JT Edson, and Oliver Strange. Because Texas appears so frequently in these books, in my mind's eye the protagonist often looks suspiciously like AleCx04's avatar with a hat and gun rig. And horse, of course. And speaks like McCree from Overwatch.
In competitive games in which team composition matters and you have different playable classes and/or roles (tank, area damage, point damage, various kinds of healing, buffs/debuffs, etc) what kind of character do you like to play?
I guess this would apply to stuff like MMOs, Overwatch, TF2, DOTA, Diablo/PoE, and so on.34
Been really bored with programming-as-a-hobby lately, so I decided to give that a break and switch to physics for a while.
Man I've forgotten so much, time to revisit the Feynman Lectures books.6
Eyyy @Elyz thanks for the ++ bomb. I'll return the favour when I'm not running face first into deadlines.2
If you're working on close to hardware things, make sure you run static analysis, and manually inspect the output of your compiler if you feel something's off - it may be doing something totally different from what you expect, because of optimization and what not. Also, optimizations don't always trigger as expected. Also, sometimes abstractions can cost a fair amount too (C++ std::string c/dtor, for example, dtors in general), more than you'd expect, and in those cases you might want to re-examine your need for them.
Having said all that, also know how to get the compiler to work for you, hand-optimization at the assembly level isn't usually ideal. I've often been surprised by just how well compilers figure out ways to speed up / compactify code, especially when given hints, and it's way better than having a blob of assembly that's totally unmaintainable.
Learnt this from programming MCUs and stuff for hobby/college team/venture, and from messing around with the Haskell compiler and LLVM optimization passes.3
- Install Overwatch via Lutris on Linux.
- Get absolutely terrible performance and rendering bugs.
- Disable DXVK.
- Get slightly better performance (wtf?).
- Still runs at like 20% of potential performance.
- Give up and try to install Windows.
- Windows install fails.
Aaand so I spent my weekend configuring shit instead of relaxing/gaming. Ugh.10
Oh my fucking god I deserve to be shot for my stupidity.
I spent an hour in absolute fear trying to figure out what was wrong with my PC - it would boot but the monitor wouldn't show anything.
I'd forgotten that I'd changed to monitor to show HDMI input - but I was using a HDMI-to-VGA converter so the monitor should have been set to VGA input :/4
#require "A rant from a few days ago in which some guy actually did this";;
Current fantasy: I wish the two assholes sitting at the table next to mine in the cafe and being super loud and obnoxious were discussing a business idea so that I could buy their domain name and put a large "eat a bag of dicks" type picture on it.5
Relatives: You're a computer guy, right, what are you working on these days?
Me: *should I bother explaining, should I not* Oh, just some stuff.
R: Oh come on, tell us, how difficult can it be?
M: *sigh* I'm working on a custom garbage collector for-
They're now under the impression that I'm involved in collecting rubbish from bins. Sigh. My hair doesn't help here, either, lol (I have one of those tangled, unruly mops of hair)
This will take time to explain.21
Planning on building a Ryzen 5 2400G setup for light gaming/home lab stuff, I need it to run a bunch of VMs and have passable frame rates in games on Linux (I hardly play AAA hard to port games, so should be okay there).
Planning on going full Linux for this, you guys got any tips/warnings/gotchas? Also, have any of you encountered issues with using NVMe SSDs on Linux?11
Certified Enganeers: 0, Internet Connectivity Issues: 1
Those idiots couldn't even understand why I'd connected a second router (a DLink DIR 816) for better WiFi than their default garbage modem/router. And one of them told me that he'd login to the router by "putting the address in Google" (and proceeded to type 192.168.1.251 in the search bar, after I explained to him that Firefox was a browser too, just like Chrome -.-)
And they didn't even fix the problem, which is most probably on their end since everything checks out here. Brilliant. More shitty 3G/4G for me.
YOU CERTIFIED PIECES OF CRAP4
I feel like distro-hopping again.
I was thinking of trying Gentoo (Arch is too mainstream, meh), but I came across an article on FreeBSD and realized that I'd never tried a BSD.
Any of you use BSD as a desktop OS? If so, which one? The laptop I'll be running it on is about four years old now, and there's no nVuDiA shit there, so hardware compatibility shouldn't be an issue.11
RememberMe's relatives' guide to raising a kid:
1. Enroll kid in school IT course - Java/SQL.
2. Let kid be useless on Facebook all day. Kid doesn't write a line of code unless it's for exams.
3. Realize that kid need to do a project for 12th grade (final year in school).
4. Complain loudly to everyone in the vicinity.
5. Let kid choose a project waaay above her skill level.
6. Have some other relative mention that RememberMe is a "computer waala" (computer person).
7. Ask poor RememberMe to do the kid's project.
8. Use typical family blackmail ("oh you can't have that much work, do something for your family for once").
Yeah, nope. Get lost. I don't mind teaching, but I'm not doing your work for you.7
3D modelling, UVs, texturing, animation, video editing, compositing, motion graphics, motion tracking, 2D animation, and a fucking powerful render engine? Check.
Great community? Check.
Powerful and easy scripting system? Check.
A well organized dev team? Check.
People who care about UI/UX? Check (look at Blender 2.8).
Does it compete with a major corporation that would go into sloth otherwise? Check. (If you thought M$ was shaftware wait till you see Autodesk)
There are other FOSS projects that I really like, but my vote definitely goes to Blender.7
While writing a raytracing engine for my university project (a fairly long and complex program in C++), there was a subtle bug that, under very specific conditions, the ray energy calculation would return 0 or NaN, and the corresponding pixel would be slightly dimmer than it should be.
Now you might think that this is a trifling problem, but when it happened to random pixels across the screen at random times it would manifest as noise, and as you might know, people who render stuff Absolutely. Hate. Noise. It wouldn't do. Not acceptable.
So I worked at that thing for three whole days and finally located the bug, a tiny gotcha-type thing in a numerical routine in one corner of the module that handled multiple importance sampling (basically, mixing different sampling strategies).
Frustrating, exhausting, and easily the most gruelling bug hunt I've ever done. Utterly worth it when I fixed it. And what's even better, I found and squashed two other bugs I hadn't even noticed, lol
I fucking hate the design and aesthetics of PC gaming hardware in general. Who the fuck do they design those things for, edgy teenagers? Give me something that looks well built and professional, damnit. Heck, most console designs are much better.13
I'm sitting in darkness playing my acoustic guitar because the power cut while I was working on a particularly difficult task. Oh well. Feels nice to disconnect sometimes.7
Blender animation playback under
Windows - 9.1 fps
Arch - 10.6 fps
Impressive! Both are too slow to be usable (curse my shitty laptop) but hey, I'll gladly take that 1.5 fps improvement.4
Game devs/other content creation people, how do you version control large asset files? So far I've been using git, but is there a better way?9