SkillsC, C++, Rust & fullstack web
Joined devRant on 7/30/2017
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Chuwi laptops on AliExpress can be found for really cheap
Last time I check the best bang/bucks was the herobook (~230€, x86, 14")
I really don't understand what's up with people's hard drives
I just tossed my 2003 250GB hard drive because of the small capacity, it had 0 issues. I have a raid 0 of 1tb hdds from ~2010 since 2017, it never failed on me 🧐
The code should be a lot more clear, you need to pay more attention to variable naming.
Also never ever mix snake_case with camelCase it's really_badPractice.
And you should have as little comments as possible, the code should be self explanatory.
`free_amount = free_b/gb` for exemple is really bad.
By reading it, it's hard to understand that it returns the same value (the space left) but on a different scale (byte->gigabyte)
Otherwise it's not bad, keep it up. (we all started like this 😉)
(2) More recent exemples are:
- Tools to refactor a very large php codebase
- Very basic vulkan based programs
- Image processing algo (processing time: python=3sec, rust=0.8sec) (python version uses cuda, rust uses opencl)
You can do anything in Rust, there are so many libs! And cargo makes using them super easy.
But it's hard to push for it when no one knows it at your workplace.
I want to see old people use arch linux
If you're on Manjaro, since deepin is based on gnome: https://wiki.manjaro.org/index.php/...
Thing is, the guy in the post is right.
When I was still a student, I worked on a 200$ AliExpress laptop and it worked really well.
I was working with C mostly, but even things like my raytracer worked really well.
If the code is that bad, just use a linter to format all the code in the repo (php cs fixer 😉)
What's the problem with Manjaro ?
Have you tried Manjaro gnome ?
Short variables != Nonsense, especially in short functions.
Big PRs happen (I once did a -600_000 +600_000 on a repo with 60 devs)
But generally, 1 script = 1 PR, additional manual changes go in another pr
@vintprox thing is, you can't just enforce a different indentation level on an existing codebase !
Especially as we are talking about yaml here, which means bad indentation = bugs/crashes and you can't just regex 2 to 4 spaces easily.
Maybe you like 4 spaces in your yamls, but I don't. And I have other things to do than changing the indentation of config files ffs !
@molaram elementary sucks for anything more than reading emails.
The packages are so out of date it's a joke.
The default PPAs contains almost nothing, so you will need to add random PPAs, which is neither easy/user-friendly or good for system stability.
It's so locked down that it's a chore doing anything other than use the preinstalled apps.
@12bitfloat sadly not everyone uses 4-wide tabs (https://kernel.org/doc/html/...)
Other wise I totally agree w/ you, spaces suck
And maybe spaces are visually more constant, but fuck that when fucking symfony now forces you to use 4 spaces in YAMLs but your 300_000 LOC codebase uses 2 ! 😡
@molaram maybe it's the distro ?
When I used Debian based distros I had issues with lib versions, package conflicts, adding PPAs with packages made for older versions of the system, etc...
Now on Manjaro everything have been playing nice for 2 years
Same thing with Firefox, stable sucks balls compared to nightly
The bleeding edge certainly has its advantages :)
@12bitfloat I love Rust, but last time I checked, the gui crates sucked.
Maybe they're now more usable, but even then, they are way too young :/
+ competent rust programmers are still rare & costly compared to JS interns
Electron is why we have cross platforms apps that works on every bullshit OS.
So shut the fuck up and thank Electron for bringing slack/Spotify/vscode/... to Linux ❤️
Have you used -march and/or -mtune ?
-O3 triggers more aggressive optimisation, but if the compiler doesn't know on what the code will run it can't do its job properly.
So maybe your code with -O3 is actually faster on a Pentium III
Coderrank is so broken 😄
Maybe I should post my results on LinkedIn too
Dang, I thought gdb depended on the Linux kernel.
Sorry to be that guy, but gdb never crashed on me, have you tried valgrind or even lldb ?
@AleCx04 What else do you want to use for php ? The heavy bullshit, coded in Java, that is phpstorm ?
It's a bit soon but Java
Modern software sucks.
That sort of shit always happen to me (i7 8XXXu, always latest Linux kernel)
Sometimes it's only Firefox, sometimes it's the whole system.
It's nice to know even MacOS has those issues :D
This is highly opinionated, but I think you should start by getting familiar with Linux or macOS (anything Unix/posix really).
You can then try one of the most basic and used language: C
Try to recode part of the libC, then up the ante with a wireframe renderer of heightmaps, then recode printf for exemple
-> man & Google are your friends, you should never in any case have any segfault/crash in a finished program.
Once you understand the basics and the logic, do wathever you want !
And even with such a long name it's still a "Manager" 😟
Have you looked at second hand hand Nvidia 10 series GPUs ? (1080 or 1080ti)
Rumors are starting to circulate about Nvidia 30 series (ampere) & RDNA2 so buying new now might not be the best
Also, the Nvidia 20 series was disappointing regarding price and performance compared to the 10 series gpus
- Docker is a shitshow on macOS
- OpenGL & Vulkan anyone ? (moltenVK shouldn't even exist)
- The high price
- The pain of developing shell scripts that work the same way on Linux & macOS
- The awesome tiling mode but the horrible standard desktop mode
- Not enough shortcuts
Linux isn't perfect, but you can do wathever the fuck you want with it and you have the latest server technologies with you anywhere (phone, laptop, toaster, ...)
VS Code is just a text editor, then you can add plugins on top of that but it's still a text editor fist and foremost.
I personally found nothing the jetbrains ide can do that I can't w/ my terminal ¯\_(ツ)_/¯
This is fucking unreadable