@rf@mas.to avatar

rf

@rf@mas.to

This profile is from a federated server and may be incomplete. Browse more on the original instance.

hikari, to random
@hikari@noyu.me avatar

i think rust is great, easily my favourite programming language, and i agree with rust advocates on many things, but the sort of culture war-y way some people approach it gives me the ick, no matter which side you're on

rf,
@rf@mas.to avatar

@whitequark @mcc @hikari Rust is the product of a new programming language becoming much, much more feasible to create over decades. I'm hoping the same thing happening again will make it more possible for the space "near" Rust (using some of its ideas) to be more fully explored

simon, (edited ) to random
@simon@simonwillison.net avatar

If I have a JSON API that's protected by "Authorization: Bearer XXX" API tokens, what are the arguments against sticking these headers on it?

Access-Control-Allow-Origin: *  
Access-Control-Allow-Methods: GET, POST  
Access-Control-Allow-Headers: Authorization  

I want users of my API to be able to access it via JavaScript from any host

The best argument I can think of is that it may encourage people to leak their private API token in publicly visible HTML documents, anything else?

rf,
@rf@mas.to avatar

@simon Another site can use it on the user's behalf whether the user themself wants it or not. I don't know what the API does so don't know if you'd be OK with that, but I think that's the question.

ktemkin, to random
@ktemkin@chaos.social avatar

kate secret: we’re the terrible intersection of “have to have everything with me in our purse”-mom-style and “survival lesbian”-style

rf,
@rf@mas.to avatar

@ktemkin is the foldy silver thing a tiny laptop?

rf,
@rf@mas.to avatar

@ktemkin is it a GPD something? (or something easy to find/recommendable?)

danluu, to random
@danluu@mastodon.social avatar

In the same vein as https://mastodon.social/@danluu/109537224752779343, something that surprised me is the rate of people LARPing the lifestyle of a successful businessperson, farmer, or whatever.

Now that you can make a ton of money on insta/youtube/etc., there are famous examples of this, but what got me were the mundane examples, e.g., this seemingly successful businessperson would constantly post about her business acumen, and then one day she starts posting about being a realtor, which seemed weird. Years later,

rf,
@rf@mas.to avatar

@whitequark @danluu I could imagine a comfortable local minimum where the psychological cost of losing another month of money was less than that of any of the alternatives (feel bad giving up or make drastic changes that might make it profitable at the cost of something else they like). Like, if there's a hope it turns profitable, it's more notional than something they'd bet on.

molly0xfff, to random
@molly0xfff@hachyderm.io avatar

fun little experiment now, as i posted the most recent Citation Needed newsletter.

first CPU spike at ~23:17 is me sending the email.

second spike at ~23:35 is posting the link to #mastodon

rf,
@rf@mas.to avatar

@molly0xfff Is it self-hosted ghost? (Seeing the cpu% made me think self hosted but no idea really 😂)

gsuberland, to random
@gsuberland@chaos.social avatar

what I want to be doing is playing Hades or maybe DJing a bit. what I'm stuck doing is fucking about with the NAS because everything is pain.

rf,
@rf@mas.to avatar

@gsuberland Is this a home or work thing? That frontplate looks like it belongs on a server but I also see Noctua fans back there so all my wires are crossed

gsuberland, to random
@gsuberland@chaos.social avatar

cursed concept: memoryless call stack composed of packed words in AVX registers

rf,
@rf@mas.to avatar

@gsuberland srsly, my little brain can't quite wrap itself around the amount of space available in the avx512 register file

gsuberland, to random
@gsuberland@chaos.social avatar

ever wanted a tour around a 138kV substation?

https://www.youtube.com/watch?v=-RBp8jOUA1U

rf,
@rf@mas.to avatar

@gsuberland this is fantastic and the "Hopefully this one doesn't get taken down" comment is sad

aeva, to random
@aeva@mastodon.gamedev.place avatar

gonna start calling SQL queries "database shaders"

rf,
@rf@mas.to avatar
mcc, to random
@mcc@mastodon.social avatar

I wish I was good at writing web scrapers.

rf,
@rf@mas.to avatar

@mcc a vapor maybe

mcc, to random
@mcc@mastodon.social avatar

I need to make some small resolution pixel art for this next thing I'm gonna make. I wonder if I should try to do it myself or try to collaborate with someone. I'd need to find someone who could make weird skranky sprites. By which I mean someone who is enough on my artistic wavelength they could intuit what the non-word "skranky" means

rf,
@rf@mas.to avatar

@mcc fully skranky, tho

mcc, to random
@mcc@mastodon.social avatar

I have dim memories of a monolith in San Jacinto

rf,
@rf@mas.to avatar

@mcc I left my wallet in El Segundo

micahflee, to random

It is BONKERS how much work goes into making an OnionShare release. Here's part 3 of my epic saga. Also, I've released version 2.6.1.dev1 and it's ready for testing! https://micahflee.com/2023/10/what-goes-into-making-an-onionshare-release-part-3/

rf,
@rf@mas.to avatar

@micahflee The ARM64/universal2 stuff sounds like a royal pain. Glad notarization didn't add more grief, feel like I've seen horror stories from indie devs about it.

Also I totally missed the animated Earth background initially looking at this from my phone. And that your author pic takes a swig of coffee 😂

mattblaze, to random
@mattblaze@federate.social avatar

If I were Speaker, I'd replace the gavel with one of those giant mallets used in carnival "test your strength" games. That's my entire platform.

rf,
@rf@mas.to avatar

@mattblaze Nothing in the Constitution that says you can't be Speaker! Air Bud rules baby!

lcamtuf, (edited ) to random

You know, I really dislike ad blockers from the security perspective. They need exceptionally broad permissions that make the extension a juicy target for attacks. Pop one of the maintainers' Google or Github accounts and own hundreds of millions of people overnight - their email, bank accounts, social media identities, and all that.

The consequences of simple coding errors are similarly disastrous - and I bet that there are some good UXSS bugs lurking in all that JavaScript.

For these reasons, I resisted ad blockers for 20+ years, and I endured countless cookie prompts, subscription interstitials, "sponsored results", and unskippable ads. But around 2020, the anti-user patterns on the web have gotten unbearable. And I say this as a person who grew up in the era of auto-playing Flash-based pop-under ads.

I'm not a security absolutist. It's all about trade-offs: the convenience of using a modern web browser, for example, generally outweighs the risks of living with its massive attack surface. But in the case of ad blockers, you gotta take a hit just to continue to browse in peace. It blows.

rf,
@rf@mas.to avatar

@lcamtuf I don't know how effective it is, or how much it limits mischief, but ones like uBlock Origin Lite use a content blocking API and only runs JS on sites where you ask for it

deonandan, to random
@deonandan@c.im avatar

You've probably heard of this atrocious BBC article that fallaciously claims that COVID is less lethal than the flu. (This old canard). I won't link to it, but here are a couple of studies you might find useful.

French study: patients with COVID-19 were 69% more likely to die during their hospital stay than were flu patients.
https://www.journalofinfection.com/article/S0163-4453(23)00289-X/fulltext

USVA study: Compared with hospitalization for influenza, hospitalization for COVID-19 was associated with a 61% higher risk of death

Conclusion: both COVID and the flu suck. Don't use one to minimize the other.

https://jamanetwork.com/journals/jama/fullarticle/2803749

rf,
@rf@mas.to avatar

@deonandan @cstross I know this confuses the message, but really we should be getting shots, masking, and improving indoor air quality for the flu, too. >100k people die of it every year worldwide, a chunk of that avoidable. Just because it's been this way a long time doesn't mean we should sit by and let it happen, especially knowing more than we used to about respiratory bugs now

foone, to random
@foone@digipres.club avatar

Today in fun international standards:

It turns out Argentina uses the same power plugs as China & Australia, at (roughly) the same voltage and frequency...

Except they use the pins differently. Line and Neutral are swapped compared to China/Australia.

rf,
@rf@mas.to avatar

@foone oh no

gsuberland, to random
@gsuberland@chaos.social avatar

just remembered a really cool "small world" moment: a while back I did some work on locomotive equipment for an international client and it turned out they were the exact same trains my dad designed the power electronics for when I was about 10 years old.

rf,
@rf@mas.to avatar

@gsuberland Power electronics for a big diesel are a Whole Thing, though! Dang.

lcamtuf, to random

deleted_by_author

  • Loading...
  • rf,
    @rf@mas.to avatar

    @lcamtuf i have VSCode working great with remote editing and language-aware code completion and linting and everything. i believe it to be a totally reasonable way to write code

    however, i always, always slide back to doing all my work coding in joe, with its WordStar-inspired bindings.

    obligatory @lafp cc

    gsuberland, to random
    @gsuberland@chaos.social avatar

    I woke up at 2am so naturally I am listening to the most memetastic tracks in my catalog.

    Luuude ft. Colin Hay - Down Under

    Justin Hawkes - Better Than Gold

    Noisestorm - Crab Rave

    Neil Diamond - Sweet Caroline (Diagnostix Bootleg)

    Current Value - That Smile

    rf,
    @rf@mas.to avatar

    @gsuberland I heard that version of Down Under in a Thai restaurant once. It was a surprise when I recognized the song 😂

    rf,
    @rf@mas.to avatar

    @gsuberland love it

    mcc, to random
    @mcc@mastodon.social avatar

    It is getting increasingly awkward that my only daily drivers are a Win10 machine and a laptop based on antiquated MacOS. I should get a simple Linux laptop.

    Last time I tried to do this though it turned out any laptops that run Linux with full hardware support out of the box are pretty expensive.

    rf,
    @rf@mas.to avatar

    @mcc 🙃 I was about to say my partner is liking her System76 Pangolin, but, yeah, isn't cheap (1200 USD), and their cheaper ones aren't that much cheaper

    rf,
    @rf@mas.to avatar

    @mcc Framework's laptops look like a decent deal at the high end because you can add RAM and SSD without a big OEM markup, but not as competitive at the low end (and "low" is 1k)

    rf,
    @rf@mas.to avatar

    @mcc Nothing except that's one wild-looking machine

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • Durango
  • ngwrru68w68
  • thenastyranch
  • magazineikmin
  • hgfsjryuu7
  • DreamBathrooms
  • Youngstown
  • slotface
  • vwfavf
  • PowerRangers
  • everett
  • kavyap
  • rosin
  • normalnudes
  • khanakhh
  • tacticalgear
  • InstantRegret
  • cubers
  • mdbf
  • ethstaker
  • osvaldo12
  • GTA5RPClips
  • cisconetworking
  • tester
  • Leos
  • modclub
  • provamag3
  • All magazines