Details
Joined devRant on 7/15/2022
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
-
Happy cake day! You didn't happen to arrive in NL yesterday did you? ;P
-
@antigermgerm Plastic and mercury mostly
-
@YourMom The u removal comes from print ;P used to pay per letter
-
@TrayKnots It's not necessarily about different sites even, if I hack DR for example suddenly I have access to peoples accounts on here much easier since I can test multiple accounts at the same time if it's unsalted, now I can potentially login as an admin and run scams on people - this admin used a unique password.
Also don't forget to pepper your passwords (not a joke, actually a thing)
Users do not care about passwords, all they want is to do the thing the service provides. IMO best solution is passwordless login -
@Lensflare You get ADs?
-
@Lensflare Made with real steak ;P
-
@Lensflare BROUGHT TO YOU BY RAIP SHADOW SHATGENS
-
On my mullvad one it cucks out (but that has only been since they changed their retarded policy)
-
Nah reddit also doesn't like VPN they are a cuck site after all
-
@lorentz Agreed, the way I ended up solving it was having a result list of ranges and just expanding all intersections with a count if multiple were expanded and if there were multiple then do a collapse (then sum all the ranges for the result), but I didn't want to do it that way originally
-
@lorentz Agreed on that, it's the same with swift but there they don't even allow that workaround, they do have prefix/suffix functions though which is convenient.
I say "parser" but I'm also iterating based on the longest row (since on swift by default it seems to trim the space at the end)
Concat + replace " " + toInt on the column then stick that into a dynamic array
When done with that, I iterate the operators and add the relevant fold/reduce to an accumulator (granted, I could have done a double fold/reduce) -
@TrayKnots No, it goes against their own morality as it is by definition racist or sexist which they oppose :D
-
@TrayKnots Laws are not morality as they are not dictated by the common people. Otherwise, woke quotas would never have happened, as they are both against the law and immoral :D
-
Don't complain, or they'll escalate it to head mods and just ban your whole account ;P
-
@YourMom Isn't that because the training data contains in-numeral copies of it? :D
-
@afaIk I think @retoor made a solution for that
-
@YourMom Ah yeah, I messed up notation earlier, nested loops would have been O(N^M) whereas your solution is O(N+M) if I'm remembering that notation correctly. I thought you meant that you had nested arrays where the index meant the X and then the Y position on the nested one
-
@YourMom Not sure, I think optimising nested loops like that (probably subconsciously trying to get away from O(n * 2)) is just trying to find what the branch predictor of your CPU likes
-
@YourMom Keep the array 1 dimensional and do the offset maths?
-
I wasn't expecting you to apply cloudlflare
-
@Lensflare The name of it wasn't at top of mind ;P
And yeah, I used those in the later ones. Though it would have been nice if the function just did,
func str.substr(from: Int, to: Int) {
return str[str.index(str.startIndex, offsetBy: from)...]
}
I don't really care what type of data size is being used for "chars" I just want the stuff between x and y -
@retoor So far it's pretty high in the list :D
-
I read that as a nice day for "fisting"
-
dlrow olleh
-
No, one is old and grey and the other is fluffy, but there are different carpets in each room for some reason... That's old houses for you
-
Hahaha yeah, it's the same with certain "gamers" unfortunately, and it annoys the peanut out of me. They'll be playing the most boring game but it MUST be good because shiny.
Also to be fair I wouldn't have thought of doing that, I'd have googled an uuid/password generator -
@Lensflare I was meaning more the
str[str.index(str.startIndex, offsetBy: 1)...]
To me, that's obviously what I want with str[1...]
I dislike the modern use of ":" and find it makes it unnecessary messy to type types, just omit it and it's fine like they did with ( and ) :D
(I'm completely fine with the types being optional while writing) -
@antigermanist hmmm I heard male nurses earn well
-
"this is a duplicate"?
-
The backend is written in spring
