58
submitted 2 weeks ago* (last edited 2 weeks ago) by [email protected] to c/[email protected]

Why doesn't every computer have 256 char domain name, along with a private key to prove it is the sole owner of the address?

Edits: For those technically inclined: Stuff like DHCP seems unnecessary if every device has a serial number based address that's known not to collide. It seems way more simple and faster than leasing dynamic addresses. On top of that with VOIP I can get phone calls even without cell service, even behind a NAT. Why is the network designed in such a way where that is possible, but I can't buy a static address that will persist across networks endpoint changes (e.g. laptop connecting to a new unconfigured wifi connection) such that I can initiate a connection to my laptop while it is behind a NAT.

  • Yes, it would be a privacy nightmare, I want to know why it didnt turn out that way
  • When I say phone number, I mean including area/country code
  • AFAIK IP addresses (even static public ones) are not equivlent to phone numbers. I don't get a new phone number every time I connect to a new cell tower. Even if a static IP is assigned to a device, my understanding is that connecting the device to a new uncontrolled WiFi, especially a router with a NAT, will make it so that people who try to connect to the static IP will simply fail.
  • No, MAC addresses are not equivalent phone numbers. 1. Phone numbers have one unique owner, MAC addresses can have many owners because they can be changed at any time to any thing on most laptops. 2. A message can't be sent directly to a MAC address in the same way as a phone number
  • Yes, IMEI is unique, but my laptop doesn't have one and even if it did its not the same as an eSim or sim card. We can send a message to an activated Sim, we can't send a message to an IMEI or serial number
62
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]
  • I make websites
  • If someone is banned twice (two accounts) I want it to take them more than 5min and a VPN to make a 3rd account
  • I'm okay with extreme solutions, like requiring everyone to have a Yubikey-or-similar physical key
  • I really hate the trend of relying on a phone number or Google capcha as a not-a-bot detection. Both have tons of problems
  • but spam (automated account creation) is a real problem

What kind of auth should I use for my websites?

40
submitted 2 months ago* (last edited 1 month ago) by [email protected] to c/[email protected]

Often we dig our own grave making people "defend" their opinion. Instead of winning them over, we push them to become more and more entrenched in their opinion as they build larger mental defenses against the challenges we present. So I want to hear from you:

How do you avoid putting people on the defensive? (Even though those people had a strong alternative opinion)

What was a time where the opposite happened; all the facts were there, but absolutely no one was convinced by the talk?

I feel like solarpunk has a lot of obvious-once-seen ideas and powerful "ahh-ha" moments. But if we can't convince others to take a glimpse from our perspective, not much benefit will come from it.

[-] [email protected] 59 points 2 months ago
[-] [email protected] 68 points 2 months ago* (last edited 2 months ago)

For context, Tea (the cli tool) was created by the author of homebrew. But for some reason he changed the name to pkgx and made tea into the crypto thing: From the creator of Homebrew, Tea raises $8.9M to build a protocol that helps open source developers get paid

He's probably interested in blocking these kinds of PR's.

[-] [email protected] 44 points 2 months ago* (last edited 2 months ago)

I have read the 1.2 spec (I'm trying to make a round trip parser for JS, and I do maintainance on a fork of the rumel yaml python package). I actually think its very well thought out, with things I hadn't considered like future extensibility, streaming applications, and data-corruption detection.

The diagrams, color coding, and less-formailty of the spec was much appreciated. Especially compared to something like the ECMA Script spec, which reads like a math textbook had a child with a legal document.

I'm not saying YAML is perfect; round trip (the thing I'm working on) is nearly impossible because it wasn't a design goal. It has a few too many features (I've never seen a declaration in the wild), but it does a good job at accomplishing the creators goals, and the additional features basically only slow down parser-implementers like me. I often pick it because of the tag support, which I've struggled to find an equivalent for in other serialization languages. I use anchors in recursive data structures, and complex keys for serializing complex data structures (not human readable). The "document end" marker has been nice when I'm worried about detecting partial-writes. And the merge key is nice for config files.

The application/perspective matters. Yaml might be bad for you but its not bad for everyone.

[-] [email protected] 92 points 2 months ago* (last edited 2 months ago)

What really bothers me is the "measuring foot traffic". I already refuse to use vending-machines because of the pricing and unhealthyness, but you're telling me I need to make GDPR takedown requests just for walking to class?

[-] [email protected] 274 points 2 months ago* (last edited 2 months ago)

It gets worse :/

I looked up the brand (Invenda). Their PDF includes "using AI", "measuring foot traffic", and gathering "gender/age/etc" e.g. facial recognition to estimate a persons age and gender

And in terms of "stored locally" this is straight from their website

The machine comes with a “brain” – Invenda OS – and is connected to the Invenda Cloud, which allows you to manage it remotely and gather valuable environmental, consumer and transactional data. The device can be branded according to your requirements to further enhance your brand presence.

The marketing also so fricken backwards that it reads like satire:

For a consumer, there’s no greater comfort than shopping pressure-free. Invenda Wallet allows consumers to browse, select and pay for products leisurely and privately 🤦‍♂️

[-] [email protected] 49 points 2 months ago* (last edited 2 months ago)

Go to the vendors website, and not only see hole for yourself, but look at them claiming to use AI to detect demographics.

PDF Link: https://a.storyblok.com/f/184550/x/e7435c019e/brochure-svm_generic-dark-netflix-ui.pdf

Their website: https://www.invendagroup.com/vending-machines

Here's my own screenshots in case the vendor takes their pdf down from bad press.

Hole: https://photos.app.goo.gl/rTk8fUWynmXgw7Zc6

AI Features: https://photos.app.goo.gl/RiF1Phrroj65tMdd7

[-] [email protected] 89 points 3 months ago

16% said "should not" to a grocery store? What?

I feel like there should be a separate question for the "I don't want anything near me" rural choice, since those might be making the rest of the responses misleading.

[-] [email protected] 50 points 3 months ago* (last edited 3 months ago)

Also don't forget your mandatory call to the doc each month for every refill
and don't forget to call a day early when it lands on a weekend
and don't forget to setup the mandatory appointment every 6 months
and don't forget to actually go to the appointment
and don't forget to schedule a drug test once every whatever-amount-of-time it is for your state
and don't forget to not eat or drink or take the medication the morning of the drug test

Cause if you forget just 1 of those they'll obviously have no choice but to deny you the medication you've been taking every day for 10 years. But you understand because punishing disabled people for mistakes/crimes of able-minded people (who don't find those things challeging), is clearly the only option they have.

31
submitted 3 months ago* (last edited 3 months ago) by [email protected] to c/[email protected]

My friends and I did this a while ago and it was quite fun.

7
submitted 3 months ago by [email protected] to c/[email protected]

JSON and YAML work great for passing data between languages.

However, sometimes, I have a pure function like y = mx + b, that I would like to pass between languages (for making plots).

What operators should be available? I think jsonnet's standard library(skip to the math operators) is the perfect example of a useful set of operations that could be shared across basically all programming languages. The operations would take/return json values rather than working with language-specific data types.

My question is does such a language exist already?

Close candidates:

  • Dhall and jsonnet are pure languages that generate json. But AFAIK they can't actually serialize pure functions. They can only use pure functions as a shorthand for generating json. I want to actually save/send functions over the wire.
43
submitted 5 months ago* (last edited 5 months ago) by [email protected] to c/[email protected]

This might be a limitation of Lemmy or voyager, but is there some option for me to "watch" or "subscribe" to a post and be notified of new comments?

Especially relevant to asklemmy since occasionally I see a post before there's any answers.

10
submitted 5 months ago* (last edited 5 months ago) by [email protected] to c/[email protected]

I'd like a small group with strict/well-defined meeting times that has a coach/conversation-conductor to keep topics on track. I feel like it would work really well if advice was given/received by others with ADHD, while having a leader do stuff like

  • make sure 1 person doesn't dominate the conversation
  • keep meeting notes
  • call/text people who miss a meeting
  • follow up with people who said they were going to do something

But I've never really heard of such a system.

I've found at least two online services, but I don't really know if they're worth trying. I'm curious on your opinion and/or if any of you have tried something similar.

There's "Study Hall" which I'm not sure is what I'm really looking for https://adult-study-hall-by-adhd-rewired.mn.co/sign_up?plan_id=230880

Then this site seems to have good coaching https://news.ycombinator.com/item?id=37252231

26
submitted 5 months ago* (last edited 5 months ago) by [email protected] to c/[email protected]

If a human posted every 5 min, got 0 upvotes for 20 posts straight, we would ban them for spam. If bots would limit themselves to posting once a day, or once a week, and only post the top-voted non-duplicate post of that timeframe, it would be a dramatic improvement. For once, we might actually see real-lemmy posts along side bot posts, instead of the community being exclusively bots (or 99% bot posts) or exclusively Lemmy users.

I would tell the bot creators myself, except I don't know how to get in contact with them. Is there a consistent way to contact a bot creator?

22
submitted 5 months ago* (last edited 5 months ago) by [email protected] to c/[email protected]

I plan to speak to my city council about creating a tool library, where citizens use their existing library card to checkout tools. To make the idea a bit more robust, I'm also planning to require citizens deposit something as collateral when checking out a tool.

However.

I live in Texas (I love Texas). Thankfully my city council is receptive, but I know they're going to need compelling evidence before approving something like this.

So, if you guys have any advice, or examples, particularly of this kind of system working in the US, I would love to hear about it!

6
submitted 5 months ago* (last edited 5 months ago) by [email protected] to c/[email protected]

I plan to speak to my city council about a tool library, and literally have citizens use their existing library card to checkout tools. To make the idea a bit more robust, I'm also planning to require citizens deposit something as collateral when checking out a tool.

However.

I live in Texas (I love Texas). Thankfully my city council is receptive, but I know they're going to need compelling evidence before approving something like this.

So, if you guys have any examples, or advice, particularly of this kind of system working in the US, I would love to hear about it!

[-] [email protected] 71 points 5 months ago

The best part of this is the subtle implication that you can tell a million completely different stories with the same data.

15
submitted 6 months ago by [email protected] to c/[email protected]
37
submitted 6 months ago by [email protected] to c/[email protected]

Cyberpunk themed rooms are pretty common, but I don't want to limit solarpunk discussion to just rooms; It could be as big as getting your city council to add a greenway, or as small as finding a nice desktop wallpaper. I'd like to hear about it. I'll start off with a few of my own:

  • I got a sunlight alarm clock; best decision I've ever made. The minimal design of this one is great except for one thing; you have you take 5 min to drill a hole in the dead-center of the speaker to kill the alarm noise. It's the only way to disable the sound. I'm sure there's other good options as well.
  • A couple years ago I got an EcoFlow battery with a small 100W solar panel. I mention it specifically because, unlike other batteries, the EcoFlow was extremely repairable, while also having top of the line specs (at least a couple years ago). I still haven't hooked up the solar panel to the grid, maybe next year.
  • I know plants help a ton, but you're going to have to get plant tips from someone else. Maybe someone will have some fake plant recommendations for me.
  • String lights and LED strips work wonders, both indoors and outside. Higher quality string lights (the lights are close together, bulbs are usually brighter and classic-looking) are quite a bit better than the cheap amazon ones, but even the amazon ones add atmosphere. Combine them with cheap timer-sockets and outdoor light sensor sockets to make a nice automated system.
  • I know it's kind of weird to consider going somewhere as part of a "theme" but I haven't found a farmers market that wasn't nice community. Last week I got an IRL side quest; one of the vendors heard I was going to visit the other market location and asked if I could bring a jug of sweetener to his counterpart there. Sometimes the people are them most important part of a theme, so I recommend participating in a market.
  • For transportation, there are some truly great e-options as of late. It's $300 for a cheap-but-good electric scooter on Amazon. I've also got an overpowered e-bike (Onyx RCR) and even at $4000 it's cheaper than a couple years of a car insurance and gas. Silently zooming with the confidence of being able to charge it off a solar panel is a really pleasant feeling.
  • Finally I've recently attended my first city hall meetings, and it's been shocking how helpful the city staff is. Absolutely nothing like the DMV or national politics. For example, I was told about a "SeeClickFix" app, and it has been great for getting street lights fixed.

It's not much, but that's all my tips.

Got any string lights of your own to show off? or maybe some watering systems, or plant tips? I wish we had an r/battlestations equivalent

[-] [email protected] 56 points 7 months ago* (last edited 7 months ago)

A (nice) coworker once asked me if I had a system for managing tasks.

I thought they were asking to learn, so I enthusiastically told them about the ~30 different systems I use; the inbox of all incoming tasks, a flowchart for task allocation, urgency VS importance whiteboards, etc, etc. I mentioned each of the books and methodologies those systems came from. (I highly recommend this 5min vid and listening to Order from Chaos (written by and for people with ADHD))

"Oh... cool" was their response, and in that moment I realized they were actually asking because they thought I didn't have any system at all...

[-] [email protected] 85 points 7 months ago* (last edited 7 months ago)

I dislike these kinds of articles (as someone who bikes to work everyday) because of how they treat an urban perspective as if its the only perspective. Some highway stoplights are in the middle of nowhere, have no crosswalk, can go a full year without a single pedestrian, and often have mimal cars. People who sit at those lights every day get mad from articles (like this one) that are completely tonedeaf to their situation.

Yes, in a busy city it makes no sense to allow turn on red, and the article has some great info but it also makes no sense to wait 2 minutes on red when there isn't a car or human within a 5 mile radius.

If we want people to be onboard with change we've got to include them. We can solve both; like getting rual lights to use a flashing red to indicate "allows for turning on red" and THEN get city lights to ban turning right on solid red. Solving one problem expense of another is a quick way to create enemies.

[-] [email protected] 54 points 8 months ago* (last edited 8 months ago)

I write a lot of bootstrapping scripts, and I have a solution thats probably something you and others in this thread have never seen before. You can write a single script in a full/normal language, no compilation step, and it works on systems that only have bash/sh. It doesn't compile to bash, or at least not in the way you might think/expect it to, but it should do what you want.

(guillotine because it's a universal executor) https://github.com/jeff-hykin/deno-guillotine

This^ one uses Deno/JavaScript, but in principle it might be possible to do with other languages. It definitely requires some explanation, so I'll try to give that here;

As another person said, shells are not nearly as standardized as we need them to be. Mac uses zsh, Ubuntu uses dash, neither store a posix bash exectuable in the same place, and both have ls and grep differences that are big enough to crash common scripts. Even if you're super strict on POSIX compliance, common things will still break if you write a big script (or trying to compile a big program to bash).

I hate JS as much as the next guy, but it is possible to write a single text file that is valid bash/dash/zsh/powershell and valid JavaScript all at the same time. It sounds impossible, but there is enough overlapping syntax that actually any javascript program can be converted into a valid bash script without mangling the JS code. It might be possible to do for python as well.

POSIX is good enough for making a small, carefully-crafted well-tested OS-detecting caveat-handling script. So that's exactly what we do; use a small shell script at the top to ensure that the JS runtime you want is installed (auto install if missing). Then the script executes itself again using the JS runtime. It wasn't easy but I a made a library that explains how it's possible and gives a cli tool that automates it for the Deno runtime (the link I posted above).

After that, I just recreated tools that feel like bash, but this time they are actually cross platform. Ex:

let argWithSpaces = "some thing"
run`echo hello ${argWithSpaces}`

I picked Deno because it auto installs libraries (imports directly from URL so users don't have to install anything)

view more: next ›

jeffhykin

joined 10 months ago