0 Followers
0 Following
1 Posts

It is likely not worth your effort as whatever you come up with will likely result in discord deactivating your account for breaking their ToS, or them breaking their API forcing you to constantly play catch-up.

This is why open communication protocols are so important. Email is still as ubiquitous as it is because it’s a protocol, not an API.

I personally think it would be less overall effort to get your friends to switch to an open protocol like matrix, or XMPP than it would playing cat and mouse with proprietary APIs. But you do you, I wish you the best of luck!

Best I can do is

"\ude41🙂".split('').reverse().join('')

returns “\ude42🙁”

I often take the expo bike path to Culver. It should get better this year when they finally connect the bike path to Motor, but until they do I usually take one of two routes:

Take the expo bike path east until it ends at Overland, then take Northvale (a small residential street, but very hilly) to Motor (painted bike lanes but wide and feels fairly safe), to National (painted bike lanes, very low traffic), and at that point the expo bike path resumes again. You can take that all the way to Ivy station, or if you want to go further west I usually exit it at Durango, enter the parking lot there and cross Venice with the light onto Culver blvd which after 1 block has great bike lanes.

When I want to avoid the hills on Northvale, I exit the expo bike path onto Midvale, Right on Coventry, Left on Kelton (all of these are small residential streets). Then I take that all the way down to Venice.

If your “community event” has such a high carbon cost of needlessly burning fossil fuels and destroying tires, not to mention the noise pollution and safety aspects, maybe it’s time to find a new community event.

Why not a street take over of bicycles? How about meeting up at a third space like a park, bar or cafe? What about collectively doing some tactical urbanism to improve your community - paint some crosswalks, add bollards to force pedestrianization.

Oof yeah, some programs really love to touch a lot of stuff making strace kind of annoying to use. I usually end up chaining more grep -v pipes on the end as I find files I’m not interested in seeing e.g.

strace okular | grep openat | grep -v breeze-dark | grep -v icon etc...
I would probably try running strace okular | grep openat to see all the files it’s trying to read and see if any aren’t managed by your package manager and move those.
Yeah good point. I suppose the problem is this function that operates on numbers allows numeric strings to be passed in in the first place. The only place where I would really expect numeric strings to exist is captured directly from user input which is where the parsing into a numeric data type should happen, not randomly in a library function.

On my machine at least man openssl shows that -k is for specifying the password you want to derive the key from, so in that case I think you are literally using the string /etc/ssl/private/etcBackup.key as the password. I think the flag you want is -kfile.

You can verify this by running the command in strace and seeing that there is no openat call for the file passed to -k.

It’s kind of insane how bad this whole is-number thing is. It’s designed to tell you if a string is numeric, but I would argue if you’re ever using that you have a fundamental design problem. I hate dynamic typing as much as anyone else, but if forced to use it I would at least try to have some resemblance of sanity by just normalizing it to an actual number first.

Just fucking do this…

const toRegexRange = (minStr, maxStr, options) => { const min = parseInt(minStr, 10); const max = parseInt(maxStr, 10); if (isNaN(min) || isNaN(max)) throw Error("bad input or whatever"); // ...

Because of the insanity of keeping them strings and only attempting to validate them (poorly) up front you open yourself up to a suite of bugs. For example, it took me all of 5 minutes to find this bug:

toRegexRange('+1', '+2') // returns "toRegexRange('+1', '+2')" which is not valid regexp
Ah yeah I don’t know how I would do that easily on a phone. Do those in my example above render for you? You should probably be able to just copy/paste them on a phone though.