netvor

joined 2 years ago
[–] netvor@lemmy.world 6 points 14 hours ago

Does your shower happen to be built on Indian burial ground?

[–] netvor@lemmy.world 13 points 2 weeks ago (1 children)

Lot of people will tell you something like "don't run stuff aS rOoT" but from personal security POV root is almost irrelevant. Potential attacker can do plenty of damage without root.

root only allows crossing boundaries of the current user, but for personal use, everything you care about is probably 100% accessible under your normal user account. You don't need root to steal your photos and passwords, you don't need root to shimmy a daemon in your ~/.profile to start every time you log in, you don't need root to mine shitcoins, use your machine as part of botnet or whatnot.

Good advice is to vet everything you install, or choose a third party to vet it for you. In ideal world,

  • choose a stable, well-maintained and up-toodate distro with a good reputation,
  • limit installing software from official sources only. ...and you're probably going to be fine.

In less than ideal world, maybe add flatpak to the mix but assume that the repository is a wild west. Running AppImage apps or installing third-party .deb/.rpm/etc. packages, again, if you trust the source, you trust the source.

(But for f's sake, don't just run curl | bash scripts (with sudo or not) from random github repos and stuff.)

[–] netvor@lemmy.world 3 points 2 weeks ago

the trick is that turning is by definition moving in all directions (in a 2d plane) at once

[–] netvor@lemmy.world 9 points 1 month ago (1 children)

people are still allowed to voice opinions

...

now fix the shitty client on appletv

is not an opinion, it's just being a jerk

[–] netvor@lemmy.world 7 points 1 month ago (1 children)

hop on a donkey, slap its ass, get lost in a forest, get eaten by a bear.

eeeazeeeee....

[–] netvor@lemmy.world 1 points 1 month ago

iirc slack did it and I'm sure github issues and gitlab too. but usually you don't have control of the order, IIRC with slack it was in the urder you added them but once more people added same reactions then it would sort them in order most to fewest.

i was kinda thinking about one of those parts of unicode where characters can be combined .. that's common for some scripts but i vaguely recall that i saw a mention somewhere that something like that exists also for emojis (in the unicode) ...

[–] netvor@lemmy.world 1 points 1 month ago

i admit I already kinda seen all of those as "evening plans"

[–] netvor@lemmy.world 1 points 1 month ago (2 children)

are these double-emojis a thing? or you mean those apps that let you add multiple reactions (sadly signal does not seem to allow that, neither telegram and those are the only 2 i really use i guess)

[–] netvor@lemmy.world 1 points 1 month ago

🙋‍♂️ too

i mean, that's a greeting, right? :D

(or "i want ice-cream too, please")

[–] netvor@lemmy.world 1 points 1 month ago

i mean if it was something like flight reservation etc. then screenshot would be definitely in place.

this is something we do literally 2 times a week (and plan to do so until we're able to go to the gym :D) though, and it's pretty low stakes.

i'm not looking for something that just works in that kind of context. (and in general, actually it's not like i'm on lemmy looking to resolve things with my pal :D)

[–] netvor@lemmy.world 3 points 1 month ago

imagine the hypocrisy: mods acting surprised about people posting about leopards eating faces, after so many years of enforcing rules that people should post about leopards eating faces.

[–] netvor@lemmy.world 2 points 1 month ago

and even older days when this was about leopards ripping off people's faces not because they bothered them, but because they literally voted for it.

 

I'm not talking about #metoo stuff.

Assuming we're using a sane IM app that lets us use standard emoji as a reaction to a comment.

I just mean when someone tells you that they did something and the only information that you want to convey back is that you followed them and did the same.

More concrete example that i encounter few times a week: my pal tells me he's reserved the gym slot at 17:00, so I reserve that time too and i just want to reply "me too" to let him know it worked for me. (The way it works between us is that we want to go together but since he's got family etc. i always let him pick the time first and just announce his slot reservation, and i just want to confirm it.)

Another example is if someone says "i signed this petition to support our Czech president who is protecting our democracy" then I want to say "yes I did it too". Just a nod that we're standing on the same side.

(Come to think about it, it could technically be used in a #metoo adjacent context, like, if a friend told me "i was abused by my boss" and i could just use the emoji but that would be sooooo wrong on so many levels... You get the point.)

 

At some point (in a galaxy, long long time ago) I learned to turn jeans, shorts and hoodies inside out when putting them into washing machine. For some reason, I don't do the same with smaller, simple things like T-shirts and underwear.

I forgot what was the reasoning behind it, but when I think about it, can't seem to come to a conclusion which way is better.

Is one way better than another and why?

 

Look, I'm a Debian user for 15 years, I've worked in F/OSS for a long time, can take care of myself.

But I'm always on a lookout for distros that might be good fit for other people in my non-tech vicinity, like siblings, nieces, nephews... I'm imagining some distro which is easy for gaming but can also be used for normal school, work, etc. related stuff. And yeah, also not too painful to maintain.

(Well, less painful than Windows which honestly is not a high bar nowadays... but don't listen to me, all tried in past years was to install Minecraft from the MS store... The wound is still healing.)

I have Steam Deck and I like how it works: gaming first, desktop easily accessible. But I only really use it for gaming.

So I learned about Bazzite, but from their description on their main site I'm not very wise:

The next generation of Linux gaming [Powered by Fedora and Universal Blue] Bazzite is a cloud native image built upon Fedora Atomic Desktops that brings the best of Linux gaming to all of your devices - including your favorite handheld.

Filtering out the buzzwords, "cloud native image" stands out to me, but that's weird, doesn't it mean that I'll be running my system on someone else's computer?

Funnily enough, I scrolled a bit and there's a news section with a perfectly titled article: "WTF is Cloud Native and what is all this".

But that just leads to some announcements of someone (apparently important in the community) talking about some superb community milestone and being funny about his dog. To be fair, despite the title, the announcement is not directed towards people like me, it's more towards the community, who obviously already knows.

Amongst the cruft, the most "relevant" part seems to be this:

This is the simplest definition of cloud native: One common way to linux, based around container technology. Server on any cloud provider, bare metal, a desktop, an HTPC, a handheld, and your gaming rig. It’s all the same thing, Linux.

But wait, all I want to run is a "normal" PC with a Linux distro. I don't necessarily need it to be a "traditional" distro but what I don't want is to have it running, or heavily integrated in some proprietary-ish cloud.

So how does this work? Am I missing something?

(Or are my red flags real: that all of this is just to make a lot of promises and get some VC-funding?)

 

These things are nothing new. First time I saw them was on Medium com, if I remember correctly.

Honestly I never understood why they were useful in the first place. Why would it even matter how long do I spend reading things? And how would such a guess even make sense in the first place? I mean, define "reading" -- is it just skimming the text with your eyes and not even thinking about it? Or somehow thinking at the exact same rate & speed for all parts of the article, from intro to any novel ideas to unclear parts to conclusion?

Also, doesn't putting a "minute price tag" on a body of text kind of devalue it?

Disclaimer: I'm probably heavily biased here, all I can think of is some sort of a pseudo book nerd who wants to be as efficient at "reading" as many things as possible with no pauses for thinking, but there has to be a real serious reason why these guesstimates are ever really useful?

(A more honest disclaimer: I actually find them distracting, to say the least. I am prone to problems with managing focus, as well as expectations, so sometimes when I open an article with curiosity, having this thing whisper to my ear "you must spend about 14 minutes and go away" is not helping. On bad days it sort of hurts even if I know it's BS.)

Again, this is not anything new but I wonder about it recently, since it's been my feeling that I've been seeing them pop up more and more, even in places they make no sense (like programmer's guides or API references). This suggests to me that they are getting incorporated into publishing platforms, and it's more about turning them off than deliberately including them.

What's the deal?

 

I'm not sure if this is a right type of question for this community.

The context is not essential, but in a recent video Alex O'Connor quoted "The Apologist's Evening Prayer" by C.S.Lewis. As a non-native English speaker, I failed to understand it from hearing, so I looked it up but I still struggle with interpreting it.

Can someone here help me out with "translating" to a bit simpler English?

So here's the poem, as taken from cslewis.com:

From all my lame defeats and oh! much more From all the victories that I seemed to score; From cleverness shot forth on Thy behalf At which, while angels weep, the audience laugh; From all my proofs of Thy divinity, Thou, who wouldst give no sign, deliver me.

Thoughts are but coins. Let me not trust, instead Of Thee, their thin-worn image of Thy head. From all my thoughts, even from my thoughts of Thee, O thou fair Silence, fall, and set me free. Lord of the narrow gate and the needle’s eye, Take from me all my trumpery lest I die.

Disclaimer: I'm aware that with poetry, interpretation can be problematic, but here's my thought process: when I tried to look for "explanation" I haven't found any, which hints to me that the text is not particularly ambiguous once you can see through the poetry part. (In other words, people who quote this don't feel the need to add explanation since the meaning is rather clear for an educated native reader.)

 

I mean, everyone knows that in January it's hot in Australia, and in July it's cold there.

But do Australians call it "winter" in January and "summer" in July? Or does just "winter" imply hot weather and beaches, and "summer" implies ~~winter,~~ eh, i mean, snow sports and wool socks.

And given that, most of the population lives in northern hemisphere, is there a body of dad jokes and culture tropes related to the fact that "we're different", or is it just too cringe and boring. (I realize both could be true on this one.)

 

I initially wrote this as a response to this joke post, but I think it deserves a separate post.

As a software engineer, I am deeply familiar with the concept of rubber duck debugging. It's fascinating how "just" (re-)phrasing a problem can open up path to a solution or shed light on own misconceptions or confusions. (As and aside, I find that among other things that have similar effect is writing commit messages, and also re-reading own code under a different "lighting": for instance, after I finish a branch and push it to GitLab, I will sometimes immediately go and review the code (or just the diff) in GitLab (as opposed to my terminal or editor) and sometimes realize new things.)

But another thing I've been realizing for some time is that these "a-ha" moments are always mixed feelings. Sure it's great I've been able to find the solution but it also feels like bit of a downer. I suspect that while crafting the question, I've been subconsciously also looking forward for the social interaction coming from asking that question. Suddenly belonging to a group of engineers having a crack at the problem.

The thing is: I don't get that with ChatGPT. I don't get that since there's was not going to be any social interaction to begin with.

With ChatGPT, I can do the rubber duck debugging thing without the sad part.

If no rubber duck debugging happens, and ChatGPT answers my question, then that's obvious, can move on.

If no rubber duck debugging happens, and ChatGPT fails to answer my question, then by the time at least I got some clarity about the problem which I can re-use to phrase my question with an actual community of peers, be it IRC channel, a Discord server or our team Slack channel.


So I'm wondering, do other people tend to use LLMs as these sort of interactive rubber ducks?

And as a bit of a stretch of this idea---could LLM be thought of as a tool to practice asking question, prior to actually asking real people?


PS: I should mention that I'm also not a native English speaker (which I guess is probably obvious by now by my writing) so part of my "learning asking question" is also learning it specifically in English.

 

I started writing this as an answer to someone on some discord, but it would not fit the channel topic, but I'd still love to see people's views on this.

So I'll quote the comment but just as a primer:

The safest pattern to use is to not use any pattern at all and write the most straight forward code. Apply patterns only when the simplest code is actually causing real problems.

First and foremost: Many paths to hell are paved with design patterns applied willy-nilly. (A funny aside: OO community seems to be more active and organized in describing them (and often not warning strongly enough about dangers of inheritance, the true lord of the pattern rings), which leads to the lower-level, simpler patterns being underrepresented.)

But, the other extreme is not without issues, by far.

I've seen too many FastAPI endpoints talking to db like there's no tomorrow. That is definitely "straight forward" approach but the first problem is already there: it's pretty much untestable, and soon enough everyone is coupling to random DB columns (and making random assumptions about their content, usually based on "well let's see who writes what there" analysis) which makes it hard to change without playing a whack-a-bug.

And what? Our initial DB design was not future proof? Tough luck changing it now. So new endpoints will actually be trying to make up for the obsolete schema, using pandas everywhere to do what SQL or some storage layer (perhaps with some unit-of-work pattern) should be doing -- and further cementing in the obsolete design. Eventually it's close to impossible to know who writes/expects what, so now everyone better be defensive, adding even more cruft (and space for bugs).

My point is, I guess, that by the time when there are identifiable "real problems" to be solved by pattern, it's far too late.

Look, in general, postponing a decision to have more information can be a great strategy. But that depends on the quality of information you get by postponing. If that extra information is going to be just new features you added in the meantime, that is going to be heavily biased by the amount of defensive / making-up-for-bad-db junk that you forced yourself to keep adding. It's not necessarily going to be easier to see the right pattern.

So the tricky part is, which patterns are actually strong enough yet not necessarily obtrusive, so that you can start applying them early on? That's a million dollar question.

I don't think "straight forward" gets you towards answering that question. (Well, to be fair, I'm sure people have made $1M with "straight forward code", so that's that, but is that a good bet?)

(By the way, real world actually has a nice pattern specifically for getting out of that hole, and it's called "your competitor moving faster & being cheaper than you" so in a healthy market the problem should solve itself eventually...)


So what are your ideas? Do you have design patterns / disciplines that you tend to apply generally, with new projects?

I'm not looking for actual patterns (although it's fine to suggest your favorites, or link to resources), I'm mainly interested in what do people think about patterns in general, and how to apply them during the lifetime of the project.

 

When I speak, unless I'm sharing the screen I always keep looking at myself. It's kind of strange -- it clearly does not match a real-world conversation, but somehow I can't help it.

Edit: More context -- I'm wondering if others have it, if this is something that can be explained by some "brain" thing, and also how does it affect the conversation.

 

This might be just EU thing, but is there an effective way to deal with endless "accept/reject cookies" dialogues?

Regardless of the politics behind, I think we can all agree that current state of practice around these dialogues is ...just awful.

Basically every site seems to use some sort of common middleware to create the actual dialogue and it's rare case when they are actually useful and user friendly


or at least not trying to "get you". At least for me, this leads to being more likely to look for "reject all" or even leave, even if my actual general preference is not that. I've just seen too many of them where clicking anything but "accept all" will lead to some sort of visual punishment.

Moreover, the fact that the dialogues are often once per domain, and by definition per-device and per-browser, they are just .. darn ... everywhere, all the frickin' time.

Question: What strategy have you developed over time to deal with these annoying flies? Just "accept all" muscle memory? Plugins? Using just one site (lemmy.world, obviously) and nothing else? Something better?

Bonus, question (technical take): is there a perspective that this could be dealt on browser technical level? To me it smells like the kind of problem that could be solved in a similar way like language -- ie. via HTTP headers that come from browser preferences.

 

Author: me. Taken in 2014 during my trip to Boubínský prales (Boubín Primaeval Forest) north of Šumava National Park.

I don't know what it is.

view more: next ›