netvor

joined 1 year ago
[–] netvor@lemmy.world 1 points 2 days ago (1 children)

As the huntress, sometimes I like to camp in a garden to heal, level up a bit, and stomp grass with Rejuvenating Steps

I hate to steal the thread but how good are gardens really?

I never learned how to make proper advantage of them. Obviously they have some loot, and there's the invisibility thing but every time I wanted to use it as a resting place mobs always found me what felt as just as easily as anywhere. But the fact that they get auto marked in the list of visited places tells me they should be valuable enough to return to, similar to alchemy labs, but they don't seem to be. But then again, maybe I'm just missing something.

(The Rejuvenating Steps part is great but any patch of grass can do that.)

[–] netvor@lemmy.world 4 points 2 days ago

Along with other things said here, people tend to "forget" that there's a real person on the other end.

I vaguely recall Nicholas Christakis talking about a study they made, where they created a bot which would simply remind people of the fact that there's a real person on the other end, and they found that it would help. (That study was done in some university platform and is centuries old in internet time, though. I think he spoke about it about 6 years ago on podcast with Sam Harris.)

[–] netvor@lemmy.world 5 points 2 days ago

/s means sarcasm.

(I myself don't find this one funny though...)

[–] netvor@lemmy.world 7 points 2 days ago

I don't have experience with Twitter or Mastodon but it reminds me of time when I quit drinking.

When I quit drinking and tried to stay around people I used to drink with, I realized really fast how pointless this "engagement" (really just two people speaking past each other, and feeling like they have deep conversation) is. It's almost insulting what a waste of effort such an "engagement" can be.

[–] netvor@lemmy.world 1 points 3 days ago (1 children)

...still... no idea...

[–] netvor@lemmy.world 1 points 1 week ago* (last edited 1 week ago)

This should go to YSK.

(With @kamen's explanation from this thread or something like that.)

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

Does no one else see that Musk is becoming a cliche´ bond villian?

...

Does no one else see that Musk is becoming parody of a cliche´ bond villian?

FTFY

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

I could describe myself in similar terms as you described yourself; basically a nerd who can also program my way out of a paper bag (and maybe a leather one).

To me the term "tech bro" always meant someone between Elon Musk and some low middle class douche-bag who feels smart and adult about "accepting" that AI needs to be everywhere and we also need to pay for SW every month. Someone person who would say "bUt iT's fOrD mOdEl T" and has some Alexa non-sense in their house.

 

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.)

[–] netvor@lemmy.world 2 points 1 week ago* (last edited 1 week ago)

my go_to NamingCovention: ANYTHING but camel-case 🤮

[–] netvor@lemmy.world 3 points 1 week ago* (last edited 1 week ago)

When it comes to identifying the server, hostname the first thing that counts. lemmy.world or mastodon.social or google.com are three different hostnames. At this point you can basically treat the period as no special character, it's just part of the funny world. This basically answers your question: those are two different domains, ie. for all purposes, different instances.

However, your computer does not really connect to hostname but to IP address, so the next important thing is to translate the hostname to an IP address.

Aside: a valid hostname does not even have to have period in it. For example, localhost is a valid hostname! But generally hostnames without periods don't get translated to any useful IP addresses. localhost is probably the only one widely used hostname but your OS will translate it to a special IP address which marks your own device.)

So to translate the hostname to IP address is done using so-called DNS. So before you can connect, your computer already knows an IP address of a DNS server, and asks it to translate the hostname to IP address. Technically, this is still not where the period is strictly important.

Where the period does start to be meaningful is when you think about: so we have billions of IP addresses, billions of hostnames, how do we organize it all? Who is going to maintain the huge massive list?

So it works like this: There are dozens of organizations, each of which is assigned one or more "top level domains" (TLD). Then they are responsible for maintaining lists of all hostnames ending with those domains. Many of these organizations are local to certain states. For example, in Czech Republic, where I live, we have organization called CZ.NIC which maintains all domains ending with .cz. So it's up to CZ.NIC how it manages permissions and gives out the domains. In this case, basically anyone can register any free domain ending with .cz, and what this registration means is that now they can get a server with an IP address, run whatever they want and have the registered domain name point to that IP address.

Note that other organizations may decide to add additional rules. For example .uk domains are managed with extra rules, where non-government (commercial) entities are normally allowed to register only .co.uk and other .uk names are not handed out easily. I don't actually know the details about .uk but my point is that if you are going to think about a hostname and how to begin to understand who owns it, first thing that matters is the TLD, and from that point the rules might be slightly different. To be fair, I haven't seen much variance between this; almost all public TLD's I've seen were either "simple", meaning myname.tld or this thing that UK does (also New Zealand, from the top of my head).

One almost universal rule is, though, that if I, say, register seznam.cz with CZ.NIC, then I automatically get not only seznam.cz but also any address I can possibly come up which ends with .seznam.cz. foo.seznam.cz, bar.seznam.cz, www.seznam.cz, I can now start organizing my servers using this whole infinite space, with any number of extra periods. I could totally start a business and start promoting my server foo.bar.baz.whatever.cz on billboards, as long as CZ.NIC grants me whatever.cz.

So back to your question: mastodon.social and piefed.social are two completely different domains. All we know that they have in common is that whoever registered them, had to deal with the same organization; that is whoever maintains .social.

So TL;DR: there's really nothing that suggests that they would be the same instance.

78
submitted 1 month ago* (last edited 1 month ago) by netvor@lemmy.world to c/nostupidquestions@lemmy.world
 

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.

 

Is there some mature and usable application or tool that would enable tracking desktop activities to aid in time tracking?

Over 10 years (back when I used Windows at work), I recall I was using an app on Windows -- I forgot what it was, definitely closed source, although very well made -- that would sit somewhere in the tray and just track my activities (mostly just active window title and app), and later it would enable me to look back at the data, analyze it and categorize the time.

I recall that for my rather ADD-ish brain, this was a life-saver.

I don't recall name of the app, but it looked kinda similar like timeBro (judging just from brief look at their web page and their demo)

I haven't seen anything like that for Linux -- I admit I haven't really tried to search very hard. Given the vast diversity of desktops (from GNOME to KDE to i3), technologies (Xorg to Wayland...) and work environments (native apps, web browsers, flatpaks, command lines, IDE's, Vim's, even SSH servers) I wonder if it would even be feasible to have something like this that would work reliably everywhere-ish and provide really useful data.

 

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.

 

I've been using Linux exclusively for over 10 years but I never really understood how things like ALSA/PulseAudio/PipeWire work.

As far as I can remember, I've used pavucontrol for adjusting my settings.

I've noticed that when I'm changing playback volume in Clementine (recently Strawberry, which is its fork) the volume slider in pavucontrol is changing as well -- OK, this means they are connected, or even "the same thing"?

But looks like both of them are working with different percentage numbers? How is this possible and what kind of setting/configuration should I look for if I want to change it? Or is it simply a bug in the player? (Both Clementine and Strawberry behave the same way.)

In this particular case, it bugs me because in the way how my audio is set up now (client is forwarding via module-tunnel-sink, server is Raspberry Pi with USB card and speakers connected via 3.5 jack), all acceptable volume levels as shown in the player are under 10%, which makes the player UI slider pretty much unusable. I'd still prefer to use this UI to set the volume, though.

So while I'd like to fix this particular issue, I'd also like to have a better insight in how PW works and eventually have a better strategy of controlling audio volumes from various sources. My current strategy is "once my 4-5 commonly used sources work, don't ever touch it again and don't ever play stuff from any unknown (web!) players, lest you and your neighbors are heading for a nasty midnight surprise", which is a lame strategy.

 

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 ›