sorted by: new top controversial old
[-] fl42v@lemmy.ml 4 points 1 day ago

*i have things to procrastinate on

[-] fl42v@lemmy.ml 9 points 4 days ago

Citing mental outlaw,

Hot Latina babe

[-] fl42v@lemmy.ml 6 points 4 days ago

Meanwhile the photographer: casually hangs on the second thingy but with only one hand (the other one is occupied by the camera)

[-] fl42v@lemmy.ml 1 points 4 days ago

Yeah, very well may be. LSPs always slow down opening big files, so I usually inspect those with an empty/different config

[-] fl42v@lemmy.ml 0 points 4 days ago

And how's that different from js's "1" + 2? One can always convert a number to string, and only sometimes -- a string to a number, so it's pretty logical to go with the former.

[-] fl42v@lemmy.ml 6 points 4 days ago

4.2 megs on one line? Vim probably can handle it fine, although syntax won't be highlighted past a certain point

[-] fl42v@lemmy.ml 4 points 4 days ago

Some mental illness probably. Unless you're OK with them not responding, ofc

[-] fl42v@lemmy.ml 1 points 4 days ago* (last edited 4 days ago)

Well, C has implicit casts, and it's not that weird (although results in some interesting bugs in certain circumstances). Python is also funny from time to time, albeit due to different reasons (e.g. -5**2 is apparently -25 because of the order of operations)

[-] fl42v@lemmy.ml 6 points 4 days ago

Yeah, that's why I write shit on the internet :D

[-] fl42v@lemmy.ml 6 points 4 days ago

I mean, it may give 'em immunity. Just not how they think it should (although I'm not sure if they can think at all) :D

[-] fl42v@lemmy.ml 3 points 5 days ago

Hmm, seems like it'd be interesting to automate :D

[-] fl42v@lemmy.ml 2 points 5 days ago

I'm wondering if something interesting will fall off the truck this time :D

Context: before that blogpost, cellebrite claimed they can "hack" signal (or they were kinda closer to the truth, and that was media talking abt hacks without reading stuff)

44
submitted 1 week ago by fl42v@lemmy.ml to c/android@lemmy.world

Just thought I'd share. Probably nothing new or fancy, but may help some of you find a way to repurpose devices that aren't worth repairing into home servers or something: e.g. op5 I've used has better CPU compared to raspberry pi 4, can run linux (postmarketos, albeit with some caveats), and costs less if bought with broken display (or nothing if you have one lying around)

148
submitted 2 weeks ago by fl42v@lemmy.ml to c/opensource@lemmy.ml
20

Decided to share an older "project" of mine - ms sculpt wireless to wired conversion (also, it runs qmk, so we get all its features). A sensible person would order a custom pcb (such projects exist on the web, take a look if you're interested), but I went with removing all the components except from the ribbon cable connector, sending the PCB smooth, gluing a piece of discount card to isolate the traces, gluing a Chinese rp2040 on top, and wiring all the necessary traces to it. No, it wasn't fun. Yes, it works.

Bonus: when I disassembled it now I found out the type-c wasn't soldered well and decided to separate from the board:

ResizedImage_2024-04-08_18-20-32_2

So, here we go: using phone as a poor man's microscope (note: also, still works)

ResizedImage_2024-04-08_18-20-32_1

The end result kinda doesn't give it out, so whatever (insert your frontend -- backend jokes here)

ResizedImage_2024-04-08_18-36-32_1

75
submitted 1 month ago* (last edited 1 month ago) by fl42v@lemmy.ml to c/lemmyshitpost@lemmy.world
123
submitted 1 month ago by fl42v@lemmy.ml to c/linuxmemes@lemmy.world
654
submitted 1 month ago by fl42v@lemmy.ml to c/lemmyshitpost@lemmy.world
538
120
If it works... (lemmy.ml)
32

So, a while ago I bought a cheapest oneplus 6 available in my area to subject it to a few experiments with running Linux. Among the other issues that came for that price, the power button was almost flush to the frame, hard to press, and had almost no feedback.

Today I finally got tired of it and decided to check what's wrong. The button itself turned out to be just fine, but the thingy that presses it looked weird:

ResizedImage_2024-03-12_23-02-59_1

After a few tries of gluing smth to extend the middle pin, I found out that I can just cut off a piece of plastic from the blister of my favorite headache pills and place it between the button and said thingy. Works wonders 🤣

ResizedImage_2024-03-12_23-07-45_1

Btw, the actual problem is that it was missing a few rubber spacers, as far as I understand, but whatever

ResizedImage_2024-03-12_23-11-42_2008

159
submitted 3 months ago by fl42v@lemmy.ml to c/linuxmemes@lemmy.world
308
submitted 3 months ago by fl42v@lemmy.ml to c/linux@lemmy.ml

Tinkering is all fun and games, until it's 4 am, your vision is blurry, and thinking straight becomes a non-option, or perhaps you just get overly confident, type something and press enter before considering the consequences of the command you're about to execute... And then all you have is a kernel panic and one thought bouncing in your head: "damn, what did I expect to happen?".

Off the top of my head I remember 2 of those. Both happened a while ago, so I don't remember all the details, unfortunately.

For the warmup, removing PAM. I was trying to convert my artix install to a regular arch without reinstalling everything. Should be kinda simple: change repos, install systemd, uninstall dinit and it's units, profit. Yet after doing just that I was left with some PAM errors... So, I Rdd-ed libpam instead of just using --overwrite. Needless to say, I had to search for live usb yet again.

And the one at least I find quite funny. After about a year of using arch I was considering myself a confident enough user, and it so happened that I wanted to install smth that was packaged for debian. A reasonable person would, perhaps, write a pkgbuild that would unpack the .deb and install it's contents properly along with all the necessary dependencies. But not me, I installed dpkg. The package refused to either work or install complaining that the version of glibc was incorrect... So, I installed glibc from Debian's repos. After a few seconds my poor PC probably spent staring in disbelief at the sheer stupidity of the meatbag behind the keyboard, I was met with a reboot, a kernel panic, and a need to find another PC to flash an archiso to a flash drive ('cause ofc I didn't have one at the time).

Anyways, what are your stories?

95
submitted 4 months ago by fl42v@lemmy.ml to c/showerthoughts@lemmy.world

Off the top of my head, I can't think of a word in English that ends with "is" while being singular, only plurals and uncountables come to mind, so I can't really follow the examples of other words. What makes it even weirder, I'm not sure how to pronounce Illinoises... Would it be as written, or as if an Illinois was pronounced by someone who has never encountered it before? Illinoi are also meh, since now plural looks as a singular and the other way round.

view more: next ›

fl42v

joined 7 months ago