• 0 Posts
  • 17 Comments
Joined 8 months ago
cake
Cake day: September 14th, 2024

help-circle
  • Spit out a random e-mail address and record which e-mail address was given to each IP.

    The author mentions it’s a violation of GDPR to record visitors’ IP addresses. I’m not sure that’s correct, but even so, it could be possible to make a custom encoding of literally every ipv4 address through some kind of lookup table with 256 entries, and just string together 4 of those random words to represent the entire 32-bit address space, such that “correct horse battery staple” corresponds to 192.168.1.100 or whatever.


  • Base64 encoding of a text representation of an IP address and date seems inefficient.

    There are 4 octets in a ipv4 address, where each octet is one of 2^8 possible integers. The entire 32-bit ipv4 address space should therefore be possible to encode in 6 characters in base64.

    Similarly, a timestamp with a precision/resolution in seconds can generally be represented by a 32-bit integer, at least up through 2038. So that can be represented by another 6 characters.

    Or, if you know you’re always going to be encoding these two numbers together, you can put together a 64-bit number and encode that in base64, in just 11 characters. Maybe even use some kind of custom timestamp format that uses fewer bits and counts from a more recent epoch, as an unsigned integer (since you’re not going to have site visitors from the past), and get that down to even fewer characters.

    That seems to run less risk of the email address getting cut off at some arbitrary length as it gets passed around.


  • The use of a “+” convention is just a convention popularized by Gmail and the other major providers. If you have your own domain, you should be able to do this with any arbitrary text schema, and encode some information in the address itself, especially if you don’t care about sending email from those aliases: set up your email service to have a catchall inbox that can further be filtered/forwarded based on other rules.

    It can be cumbersome but I could see it working at getting the information you’re looking for.


  • It’s not the chicken tax itself, even if it plays a role. It’s that the chicken tax makes it not economically feasible to try to import light trucks, so they aren’t designed to U.S. emissions and safety regulations. And several U.S. regulations are, in my opinion, misguided, but that doesn’t really change the fact that an importer wouldn’t be able to comply with vehicles that weren’t engineered to those specifications.

    Meanwhile, the cars and trucks engineered to American safety and emissions regulations face the perverse incentive to get bigger. This article describes some of the overall issues but contains this interesting nugget:

    That’s a sensible recommendation. Except the 3,000-pound 2010 Ranger featured by IIHS has become the bigger and taller 2024 Ford Ranger, which weighs up to 5,325 pounds. Like so many US cars, the Ranger got supersized, a trend fed by a mix of consumer desires and government regulations that carved out gas efficiency loopholes for the trucks and SUVs that make up a swelling share of the US vehicle fleet.

    In a sense, the trend of people wanting kei trucks paradoxically comes from the same reason why they’re not street legal: they didn’t get bigger because they weren’t subject to U.S. regulations pushing trucks to get bigger, but the noncompliance with those regulations makes them impossible to import and register (at least until they’re 25 years old).






  • Nothing’s been done about it since then.

    Research has gone into safer replacements. Many companies have been switching to BPA-free formulas, most notably CVS (notorious for sheer area of thermal paper receipts) that went BPA/BPS free in 2019. Some governments have banned BPA thermal paper, and others, including the EU, have set limits. BPA has been getting phased out because of these studies.

    Nothing will be done about it now.

    Well no, this organization is lining up to try to replicate the success with getting BPA out of thermal paper by trying to get BPS replaced, too.

    Here’s a study of Switzerland. Between 2014 and 2019, the incidence of BPA thermal paper went from 81% down to around 50%, and then after the ban it went to around 10%. BPS has seen some backsliding, and has increased from 3.1% to 19.1%. Still, that’s a significant reduction in the past decade of papers that use either BPA or BPS.

    People are doing the work. There’s no reason to sit around and do nothing and complain that others are doing nothing, too.




  • I still have a few reddit alts that I lurk with, at least until we get enough activity on Lemmy on those topics:

    • Sports discussion, including specific leagues and teams
    • Discussion about my specific local city (and maybe the other cities I frequently visit)
    • Things relevant to my career/industry in law
    • Economics and financial news
    • Food and cooking
    • Television shows and movies, including specific shows or narrow discussions
    • Super specific hobbies and interests, not just the stuff I’m personally into, but also knowing that there’s a community around some other hobby so that there is lots of archived discussion where I can just click around and learn something new. For example, the most recent plane crashes in DC and Toronto, I went to the aviation community on Reddit to see what experienced professionals were saying about those things as the news broke.

    Lemmy’s good on all the tech and science stuff I like, and most of the memes/humor that I’m looking for. It’s coming along on some mainstream interests, including the ones I’ve listed above, but still has a ways to go before the organic discussions reach the level of detail and expertise that reddit has. But it’s on the right track, and I’m optimistic about those things filling in over time.




  • Maybe forget “techniques” and be real.

    For many people, being playful, like on OP’s example, is being real. I’m a playful person. I have generally been a class clown my entire life, and I’d even say it’s a pretty core part of my personality and my identity.

    I’ve been married over 10 years, with kids, and I still do this kind of stuff with my wife. I enjoy being silly with my kids, too.

    And when I was dating I’d rely pretty heavily on humor for flirting throughout all stages, from meeting a stranger to setting up a first date to being on a date, to going on multiple dates. The other person’s laughter was an indicator of whether we were making a connection. And then, later on, I learned that I could expect my partner to be funny too, and actively make me laugh.

    Being fun and flirty is a legitimate strategy for making sure you have the opportunity to connect with people. It is, in itself, attractive to some. And it might be unattractive to others, but it’s better to be attractive to some and unattractive to others than it is to be forgettable and unnoticed.

    If they like you they do, if not who cares?

    I think this is a pretty naive way of looking at relationships. Connections require some level of effort, especially in adult life. As much as we’d all love to just naturally have friendships, romantic partners, and other relationships just fall into our laps, that’s not really how that works. Most connections require a bit of work to find others, to find commonalities, to develop interest, to have some give and take of making a deeper connection, to have some vulnerability and growth and change as that stranger becomes an acquaintance and develops into someone close.

    For younger people, especially under 30, looking for a partner isn’t just about looking for someone they like now. It’s also someone they want to grow with and experience things together with.



  • Can you please not use that term “Lazy Susan”? It’s got racist and sexist connotations, and I’d really prefer you just not call it that.

    Who’s that racist towards? Susans? That’s crazy. Where’d you get that?

    Okay. I would just like you to not use the term.

    You’re right. You know what? It should be…

    We should definitely start using the Ambitious Susan.

    Yes, yes. Please spin the Indefatigable Susan.

    Oh, can we have the Multifaceted Susan my way, please?

    Yeah, spin the Industrious Susan.

    Ooh, can you spin Ambidextrous Susan, please.