jeffhykin

joined 2 years ago
[–] jeffhykin@lemm.ee 3 points 8 months ago* (last edited 8 months ago) (4 children)

Oh! Yet another thing I didn't think of. I'll start trying that.

While I don't have choc (I wanted choc switches) I did take the time to print choc-like keycaps for MX switches, because apparently 3d printing and Etsy are the only way to get those (for some reason).

I don't know how people tolerate keycap profiles like DSA

[–] jeffhykin@lemm.ee 4 points 8 months ago (6 children)

this is really cool, I did not know about keymapDB!

The letters in between keys make sense to me (press both keys). I'd never thought of doing chords that way before.

I'm confused by the vertical in-between keys though. Like how are S and W pressed at the same time physically?

[–] jeffhykin@lemm.ee 2 points 8 months ago

Usually you can just google tiktok downloader, paste in the url and download it. Its possible those services have died since I last checked though.

[–] jeffhykin@lemm.ee 5 points 9 months ago* (last edited 9 months ago)

Its worth mentioning: workers would also be liable for company failure; but that actually might be one of the best parts of this idea.

See, right now you can get hired to run a company, drive it straight into the ground with stupid decisions, get paid the whole time, and then leave the now-bankrupted company with no downside for yourself. That would no longer be allowed if you were held responsible for the company at a personal level.

[–] jeffhykin@lemm.ee 3 points 9 months ago

Wow, I really wasn't expecting a positive response to my comment. You just made my day :D, thanks!

[–] jeffhykin@lemm.ee 12 points 9 months ago* (last edited 9 months ago) (1 children)

TLDR: When you commit a crime for an employer, you and the employer are responsible and must both receive the consequences. Even if you signed a contract saying you're not liable -- doesn't matter; you can't choose to be "not liable".

However, when you commit a not-a-crime for an employer, only the employer gets the consequences (aka gets 100% payment/income from that work). They're treated as if they're the only one responsible/liable for that action. Somehow, this time, you can separate yourself from liability with a contract.

The argument is: Either liability is totally inseparable from a person or it is totally separable. We can't have "its inseparable but only if the person is committing a crime".

[–] jeffhykin@lemm.ee 8 points 9 months ago* (last edited 9 months ago) (2 children)

I'm usually the one person in the Solarpunk lemmy who debates "capitalism==bad" titles. This was a solid video; I don't think I have any critiques of the arguments. It gives me a lot to think about. The speaker does a good job at not being polarizing or sensationaliazing the topic; he simply presents the information without getting emotionally charged.

That's in contrast to the Lemmy title, which I think is senasionalized/polarizing and a bit of an insult to the listener; telling them the conclusion they should have instead of assuming they're smart enough to understand the consequences themselves. "Why workplace democracy is an inalienable right, and its incompatibility with capitalism" would be more appropriate title IMO.

Either way I'm glad this was posted.

[–] jeffhykin@lemm.ee 3 points 9 months ago* (last edited 9 months ago) (1 children)

I think it could be a great solution. I've never considered it before. That said there's one sticking point for me:

Apportion payment to developers based on software use by paid users and the size of their contribution to that software.

That^ . That needs a lot more detail. If they provide solid details -- details that most can agree on -- then I will actually be on board with the solution.

[–] jeffhykin@lemm.ee 9 points 9 months ago* (last edited 9 months ago) (7 children)

Yeah I wish there was a way to contribute to the hosting with torrent-like seeding. My phone can seed a torrent, but its not going to host an instance.

1 like = seed for 1 month seems like an interesting model

[–] jeffhykin@lemm.ee 3 points 10 months ago

Why not both?

[–] jeffhykin@lemm.ee 33 points 10 months ago* (last edited 10 months ago)

Its a tough problem. You have to find something that you want to exist; like an app or a website or a game. For example, try making a GUI for managing SSH keys. You know, like the ones github makes you create in order to clone and push to a repo. Make a visual representation of those keys (stored in the .ssh folder), and tools to add/delete them.

Along the way you'll find tons of missing things, tools that should exist but don't. Those are the "real" projects that will really expand your capabilities as a developer.

For example, I was coding in python and wanted to make a function that caches the output because the code was inherently slow.

  • but to cache an output we need to know the inputs are the same
  • hashes are good for this but lists can't be hashed with the built-in python hash function
  • we can make our own hash, but hashing a list that contains itself is hard
  • there is a solution for lists, but then hashing a set that contains itself is a serious problem (MUCH harder than hashing a list)
  • turns out hashing a set is the same problem as the graph-coloring problem (graph isomorphism)
  • suddenly I have a really deep understanding of recursive data structures all because I wanted to a function that caches its output.
 

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

 

TLDR; do you know of any general purpose languages that can also compile a function to some representation of AND/OR gates (or NAND gates, or whatever)?

Edit: actually any algebra/formal-logical system is also fine (not just boolean algebra).

Yes, a A LOT of additional info is needed, like defining how input/output is defined, and I am interested in how those would be specified. I'm not interested in printing an actual circuit, just the boolean-logic level. And I'm mostly asking because I feel like most compilers can't generate a clean/mathematical representation from their AST. There's AST to IR, there's hard-coded optimizations on the IR, and then there's hard-coded mappings from the IR to assembly, but at no point (AFAIK) is the code turned into a algebraic/logical system where something like De Morgan's Law can be applied. And that seems really sad to me.

So you could say my real question is: what compilers have a strong logical/algebraic internal representation of their own AST?

Maybe something like Haskell or Prolog do this. The Wolfram Language almost certainly does but it's closed source.

21
submitted 2 years ago* (last edited 2 years ago) by jeffhykin@lemm.ee to c/ergomechkeyboards@lemmy.world
 

I know, this isn't a keyboard post, but lets be real, if there's any communities that would know/care about programable foot pedals it would be this one.

I'm looking for a USB foot pedal, ideally something clicky-feeling, with decent-resistance, short travel distance. I only need 1 pedal but something with more than one is fine. I don't need anything premium; I'm just browsing amazon I can't really spot the difference between mushy garabage and decent-ish build quality.

Any recommendations?

(Non-USB recommendations are fine; hopefully this post will be useful to others considering a foot pedal)

 

Its not much, as its a variation on Iosevka, exclusively for programming, and I made it a while ago, but I wanted to see what the community thinks. (I tried including a picture with the post but it failed to upload for some reason)

I'd love to see more open source self-made fonts. Any criticisims on functionality, or recommended changes are welcome.

76
submitted 2 years ago* (last edited 2 years ago) by jeffhykin@lemm.ee to c/privacy@lemmy.ml
 

I couldn't find a post in this community about cameras so I figured I'd make one. Requirements:

  • No "sign up" required to record video
  • Video is stored locally
  • Video is in a non-propriatary format
  • Can work offline

Optional/Discussion Points:

  • Can wireless connectivity be hardware disabled
  • Can auto-update be disabled
  • Does the device try to "phone home" if it is connected to wifi
  • Disk encryption would be nice but I doubt that'll be an option for anything other than self-hosted stuff

Does anyone know about Lorex (it seems more privacy centered)?

I'm highly technical, so feel free to mention self hosted raspberry pi soltuions as well.

 

I love a lot of the keyboards on here (especially ones with an integrated track ball) but I'm a poor grad student under deadlines; even most kit-boards are too much of a time sink for me to soldier together.

I know at least some of you like trying new boards all the time. And I'm guessing some of you have one or two daily drivers and then 3 older boards; maybe one that was a prototype build, or a novelty micro-board that was fun to just play with but not use, etc.

I would be happy to effectively fund a new kit/build for someone by buying one of those older (assembled) boards, but I don't know where to look.

Is there any kind of used market, or do you guys have any recommendations?

 

I would love if someone would write a parody of modern society. Something roughly like this narrative

Setting/Context:

  • energy becomes a non-issue (fusion powered cars; extra loud systems)
  • cars and highways get so big that people literally start driving their house to work
  • ads about "wait in line at the drive through from the comfort of your own home"
  • started with rich people getting drivable houses (not RV's or motorhomes; but driveable homes that are branded in a completely different way)
  • normal daily commutes of 100miles since everything is so padded out with parking
  • instead of owning land, some people just park in "overnight" areas with random neighbors (nobody knows their neighbors)
  • speeds are being increased because of the 100 mile daily commute, but it's causing increased accidents (nuclear) which are downplayed; people start padding their portable houses with radiation protection
  • Being too poor to afford a high speed portable home means you're effectively barred from registering to vote or perform daily tasks

Then:

  • someone (protag) has an idea of just staying parked permanently at his job's parking lot (he works at a grocery store)
  • His parking space is 1 mile from the front door of the grocery store so he "invents" the idea of mini-transportation
  • He convinces a handful of people to stay parked next to him and stars relying on them for small services (doctor advice, plumbing work, etc)

But:

  • the company won't allow any goods or services to be exchanged on their parking lot; those doctor services are illegal
  • cooperations band together to mandate no-overnight parkin (or some other better antagonistic thing, this is where my lack of writing skills is apparent)

Eventually:

  • (fight-club style expansion) there is a small movement of people planting their houses forming small communities on top of the massive parking lots
  • they repurpose their fusion generators
  • etc
 

if you ever browse r/gradstudents its about as depressing as posts on this sub; and if society's most promising students are constantly forgetting they're enough, maybe you did too.

 

Imagine the following:

  • Servers declare a target number of users/posts-per-day (enables programmatically detecting when other people's servers are generally under/over capacity)
  • Severs have a recommender list of other servers (whitelist), separate and more exclusive than their non-blocked list

Whenever someone goes to the sign up page, for example, on Lemmy.world, we:

  • look at the recommender list
  • find the server that is most under capacity
  • have a very large iframe with "Sign up for Lemmy (using [under capacity server here])"
  • have a small "No, I want to sign up specifically on Lemmy.world" option

AND, as a precaution against maybe-malicious takeovers (e.g. a Facebook server saying it has unlimited capacity and all new users getting forwarded to them) a server can set it's own maximum recommender caps; e.g. "recommended" servers won't be recommended if they're above 10,000 users even if they claim they could handle more.

Thoughts?

view more: ‹ prev next ›