Details
-
SkillsC, C++, Rust & fullstack web
-
LocationFrance
-
Github
Joined devRant on 7/30/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
-
Sounds like my old job 😄
-
Virtualisation (KVM) with PCIe passthrough is the best. WSL2 is great too.
Partitioning: windows update can cause issues, I have seen grub fuck up too many times.
Software virtualisation: it just sucks -
"// Comment" is C++ style, not C
C only really have "/* Comment */"
I find "/* */" generally cleaner and use "//" mostly to comment out lines or shit while coding -
I've been using pikvm for about a year now, I'm also donating to the project:
pikvm.org
Also, you should really join the discord server
(It's an IPKVM, so you can turn your computer on/off, see the screen, boot disk images, ...) -
@Demolishun Just no.
Also, ever heard about Profile Guided Optimization (PGO) (also called FGO) ?
(gcc -fprofile-use & gcc -fauto-profile) -
Cool trick, OP ;)
@Demolishun blah blah blah
Python is slower than C and will always be, even with compilers like numba.
But yeah, it has its uses -
Google is your friend
https://stackoverflow.com/questions... -
- Elon has an edgy humor
- What happened in Columbian wasn't a coup, but more of a "coup":
Evo Morales for housted because he cheated.
Also, while the USA have a role in this, it's not a minor one
- Tesla's lithium come from Australia
Conclusion 1:
This was likely an edgy joke on the fact that it wasn't a coup.
Also remember that this is a tweet, not an official communication or wathever.
Also, Twitter hate mobs are toxic.
Conclusion 2:
Don't post political bullshit on here you piece of shit. -
Stand-ups are cool for large teams that work on the same thing, so you know who does what.
When people work on way different stuff or the team is very small, stand-ups make no sense. -
In terms of switches, for real silence I would recommend gateron silent blacks, they're objectively worse than standard blacks, but the silence is really pleasing.
In terms of board, IDK, I'm using a Chinese one (eagle Z88) -
They are really, really bad, I passed the Objective-C one without ever touching a line of that shit but couldn't for the life of me pass the HTML one...
-
@gronostaj chinese SSDs are awesome
But it's hard to find good deals, especially with nvme SSDs (does it have dram? Is the controller ok? Is it TLC, QLC, ...?)
I just got a really fast 1Tb Asgard nvme for ~95€, they also sell a dram-less one for cheaper (~150€ for 2TB)
I've had issues with my mobo:
- no graphical output until the OS has booted on AMD GPUs (r9 290, rx480) (I had to have an Nvidia 6700 as a "bios GPU")
- no resume from sleep on sata drives (fixed by going nvme 😎)
Everything else is ok, I discovered it was a beta motherboard by looking at the socket one day (I got it really cheap on eBay so no remorse) -
Fuck brands, just get the best bang per bucks.
I'm currently rocking an intel engineering sample CPU, a beta version motherboard, Chinese SSDs & ram and a 1080ti with fans zip-tied on it. -
If you know C you know everything (at least most of it)
You should try ASM (retro engineering, malwares), Rust (systems programming, games, big data), ... -
People at first will hate you.
Then you show them that it's really easy to use.
Then they will start relying on the linter to make their code readable.
Then they will love you. -
I think this is quite fitting:
https://charlesleifer.com/blog/...
Like, fuck, shit like numba should be integrated into python.
Pip is so broken.
But oh, I have an idea, let's implement a half baked, slow as shit match statement that looks like a switch ! Who cares if a usage takes 1 full second to get printed. -
You just follow the wrong subreddits.
I'm subbed to lifeprotips, historymemes, pics, todayilearned, gifs, tifu, and my country's one (along with rust and others) -
@alexbrooklyn Personally I never needed it as my Makefiles did everything tox does and some more, without additional configuration files.
-
Just use 2 threads with print and sleep.
On the slideshow, draw these 2 threads as separate lines like:
/-{Hello}-------{sleep(1)}-
--
\-{sleep(1)}---{World}----
Then delve deeper, to show the teatcher you understand advanced stuff too.
Boom, done.
EZ -
https://github.com/pypa/...
Master venv & docker
-> docker is great to test your projects in fully sandboxes envs + if you don't want to install cuda on you local system for exemple
-> learn to optimize your dockerfiles for pip
Add a linter if the company doesn't already use one (flake8 with 100 chars line limit is 💯) -
@Jilano I don't let companies choose, I just inform them I'm gonna install Linux.
Last time they gave me a brand new XPS 13 😎.
(companies don't want you to install Linux on Macs because it can fuck the boot process)
They trust you with their codebase but not with a laptop ?
They want you to do your best work but they don't let you use the best (free) tools ?
How much do you cost them and how much does a fucking laptop costs them ? -
@byteOverBits who cares if it's company owned, there are solutions to dualboot Linux/windows on Macs, just revert everything afterwards.
Mac isn't bad, it's just different
It's also important to try new things, new ways of interacting -
To get a job fast, learn Go
To learn programming and understand how everything works, from operating systems to most programming languages (php is in C, python is in C, Rust & Go were written in C before the bootstrap, ...), learn C.
Programming in C will make you a better programmer in other languages (Rust too will make you a better dev) -
It's really personal.
To me browns feel like typing on gravel for exemple.
I would recommend box blacks (outemu are great, gateron are a bit more crunchy).
Buckling springs are too rare and too obnoxious. -
You can run a macOS VM in Linux using qemu/KVM 😉
It's what I use for compiling macOS binaries since cross compiling is such a mess -
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 😉) -
(1) Yes
(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. -
Windows
I want to see old people use arch linux