Details
-
AboutI've been here before, but I wanted to start fresh. So here's a clean account.
Joined devRant on 2/13/2020
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
-
I use https://www.heidoc.net's Windows ISO Downloader, it's really practical.
But Linux FTW of course. -
Happy marriage to you two! Get better soon, and whatever it is, stay off work as long as you need to heal!
-
@nonox Sorry to dig the topic up, but I said "US-American", not "American" alone, so I was specifically refering to people from the United States of America. Also, living on the European continent means you're european. That doesn't mean Europe is a country, as much as being a Londonian doesn't mean that London is a country.
-
Some weekds ago, while chatting with a colleague:
- Hey, we're having this meeting to find a good resource management software. If you have any idea, you can tell us.
- Ok, good. What kind of resources are we talking about?
- Uh... Human resources.
That's the day I learnt that I'm a generic resource. -
@CuberDude You're right. I've commited the same crime of being self-centered than every self-centered US-American.
-
@iiii Although I heard that quite a bit, I wanted to find where it's stated on their website and couldn't.
It is however stated that while it's not made for regular use (as a lot of things are disabled or restricted by default), it's made secure by default. So I had to correct myself: by default, it should be secure. But don't mess with a power you're not sure to understand. -
@Floydimus I've been on devrant for long (with a different account). It was around the time you asked for (and got) ravens as pets on avatars. At that time there was some "clans" and you created yours, along with a chatgroup on Telegram (I think ?).
We chatted a good bit before I deleted my account, but during that time I've learned to recognise your way of writing, and your enthusiasm and positivity. -
For any european out there : 9.07 kg.
For @lungdart: congrats, keep going! That's already great! -
Note that Kali isn't meant to be used as an "everyday-use" OS. I'm even sure it is considered a bad idea to install it on an everyday-use machine, as its default configuration isn't secure, since it's a pentesting distro, and data from your other partitions could potentially leak.
Anyway, try booting in a live environment (Kali live USB should do it, but there are dedicated distros such as system-rescue) and reinstall and/or reconfigure grub. Or try reinstalling Kali altogether. -
Damn, I knew who that was even before clicking.
-
Playing games like Dr. Kawashima's Brain Training and the likes has been shown (by neuroscientists no less) to improve only one thing: the ability to play the game. In other words, the more you play the game, the better you get at it, but it doesn't show any noticeable benefits for the brain in other fields.
While memory games or games involving heavy (or not/so heavy) mental arithmetic can improve one's memory or mental arithmetic habilities, that only says one thing: there's no shortcut, if you want to get better at something, do the thing again and again.
You can gamify it, and it's actually a good idea, as games are the best way to learn something, but you'll still have to take the long route and actually learn. -
@Linux Protip: everyone knows that to speak French you have to say "baguette baguette" with a funny voice. But if you ever want to imitate a French-speaking Belgian, you have to say "mmmh, frites, frites".
-
@CaptainRant Since you repeated the n letter, I thought you implied you would pronounce it, sorry :P
-
You wouldn't pronounce the [n] in French. It would just be [devʀɑ̃t].
-
@darksideofyay About those social platforms, there's Diaspora and Mastodon.
-
@johnmelodyme
This : https://youtube.com/watch/... -
Thanks for all your answers.
I think I'll settle on using stderr since
1. I don't really consider those messages as "output", as the real expected ouput of this script is the list of names, and they are indeed more used as diagnosis messages;
2. It's not a very important script, but I wanted to use it to hone my scripting skills.
3. I don't have the motivation to add the conditions that -v, -q, -p or -d options would imply, but I'll remember them if I need them is a future script.
Also, I looked at the built-in command read :
```read -p "Enter the variable value please: " my_var```
and it seems that the prompt is written in stderr, so if bash uses stderr like this, I don't see why I couldn't.
@sariel, could you elaborate please ? I really don't see what tee would have done better than a pipe in this case.
@lbfalvy curl detects whether its stdout is a tty, and if it's not, it prints progress to stderr.
@gat0r What do you mean by "janky stuff with \b"? -
@ostream In these cases, 0oliteness demands that you say thank you.
-
@ostream Dude, try at least to tell something controversial.
-
I can relate. A few years ago I genuinely thought those stories were made to frighten young and naive juniors, but now I now those are real, and I'm not even surprised anymore when I read them.
-
@nonox Well if you find out how to do it, tell me, because I have no idea. But the devs at my company did it and I didn't feel any bit astonishment.
-
I've always found pointers rather simple and intuitive. Heck, even pointers to pointers aren't that difficult once you understand simple pointers. Given, of course, that one has the required knowledge to understand them at least a bit, which you clearly didn't have at the time.
Memory management is another story. Easy to understand, easier to fuck up.
I'm curious, how did it felt when you finally "got it", when suddenly pointers and data structures weren't just amorphous beasts anymore and became tools and knowledge ? -
@iiii Yes, but I was looking at the "decision version of the problem, which asks whether a path exists of at least some given length" part.
-
As per Wikipedia :
"the longest path problem is NP-hard and the decision version of the problem, which asks whether a path exists of at least some given length, is NP-complete."
So I'm not sure there's even some efficient solution then. So you might as well use some variation of Dijkstra.
Unless your graph is acyclic, because "However, it has a linear time solution for directed acyclic graphs", also per Wikipedia. -
@IntrusionCM Oh, that was just Dijkstra ? I'm disappointed now. Sorry for talking for nothing then 😅.
-
I remember studying how routers deduce the fastest route to another endpoint. It is rather efficient, change resilient and could maybe be useful in this case. I'm currently drinking though so I won't be able to find it before at least tomorrow, so I'll check tomorrow if it can be applied to your use case.
-
It's nice, but is really a rant ?
-
Well, since you always write good and complete unit tests, it shouldn't be too hard to check, right? Right?
-
My mentor told wednesday a story that happened to a client something like 5 years ago. The client was a very small society, and its whole business was on a server that got ransomware'd. No backup existed. The hacker was asking for 800€ to get the key (in bitcoins of course).
My mentor told them that they had two choices: either start from scratch (and probably declare bankruptcy a few days later) or pay the 800€ and hope that the hackers are honest (as honest as hackers can be at least).
Luckily for them, as soon as the transaction was validated, they got a file containing the key... and a whole bunch of links on how to do automated and regular backups.
I don't know who were those hackers, but I think I love them a bit. -
That's a nice thread. I'm pinning that nice thread 📌. I don't have anything to add here except that I like this thread.