Details
Joined devRant on 4/29/2019
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 don't know Rust, but I suppose you shouldn't be able to break out of that case the way you are describing. If you did, the code below the match statement would try to work with response even though its value is undefined, so you always have to return something.
This is unless having undefined variables is common in Rust and the code below would check for that, but in that case, why not do the stuff with Ok(response) directly in the match, as you already have that type check done in that context?
Again, I'm not familiar with Rust, but I hope this makes at least a bit of sense :) -
@SoldierOfCode unless you left monitor has a smaller resolution and the cursor will only move to the right when in a specific horizontal space
-
This brings up the classic topic of preserving the usage and form of words based on their origin. While I do personally like it and I usually try to use the older forms, I also have to admit that language is a public thing everyone contributes to - the right way of speaking a writing is any way in which the word is used and understood in a given context. That's what the language is for.
So while some of us feel like the old way is the original and thus the better one, it's also true that a language which has rigid rules that dont't change is a dead language.
At the end of the day, if someone says "indexes", it's okay. We who know that "indices" is closer to the origin will die out one day. The language just evolves to be easier to use, giving up some irregularities and adopting different ones to suit the usecase. It's precisely why new programming languages are created anyway, isn't it? -
This stage manager thing I've never understood. You are clearly making a good use of it though. What I don't get on the other hand, is when people just use it as a task switcher. What's the point of wasting screen real estate with it when you litterally have a task switcher AND a launcher at the bottom of the screen? Am I missing something?
-
I would happily offer to do that as a paid contractor gig. If they wouldn't value my (this significant amount of) work during the interviewing process, I wouldn't want to work for them anyway.
When you hire a contractor, you can only refuse to pay them if the work was not delivered in the quality that was agreed upon beforehand, so why not apply the same rules to these homeworks? -
I suggest vasectomy :)
-
@SidTheITGuy Have you ever told anyone to go kill themselves in person? I'm just curious, that's all
-
@lorentz Social media owners wouldn't like the mandatory scriptability. I've read about a guy who made a browser extension to unfollow everyone in your Facebook account in one click, only to receive a cease-and-desist letter from Meta, threatening with legal action.
About owning the means of production, the time IS the capital :) you can make anything if you have the money to survive while doing it. But yeah, almost no more specific tools needed other than a PC. -
@hjk101 Security implications of users being able to do what they want with the hardware they paid for? Why are we allowed to use root access on the desktop then?
-
Why leave it there for disposal, instead of actually using it? That's ecological?
Maybe they're concerned about littering though... I dunno -
Contact info harvesting for spamming/scamming purposes?
-
Welcome to the rabbit hole. After a few years of trying different approaches, I would recommend that you start by writing down a list of features which you can't live without (realtime collab, included task management, outline vs. block based format etc.). Keep it as short as possible, then try the apps that fit it. Choosing something that operates on text files on your disk is a plus.
Oh and don't fall for the false promise of One app for everything™. I'd argue it's often better to use a note app, a task app and a spreadsheet app separately. Learned the hard way.
Good luck searching! -
Now that's what I came to devRant for. A quality rant.
-
Yeah, I got a 7.5 GB CSV from a government agency, and at least it has a header. But every now and then, I come across a new kind of "NaN". Sometimes it's "---", then it's an empty column, then a "nan". What the fuck, guys?
-
Do you mean loading them all at the same time or just opening the browser and letting the tabs load lazily as you use them? Vivaldi handles hundreds of tabs without a problem in the latter case for me.