There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

lemmy.world

UnderpantsWeevil , to programmer_humor in Just browsing my photos from 10 years ago. I was amused when I browsed the university library computer science artificial intelligence shelf. ...I sometimes wish AI had stayed at this level.
@UnderpantsWeevil@lemmy.world avatar

So much of the drift has just been marketing. Rebranding a Markov Chain stapled onto a particularly large graph as Master Computer from Tron.

finitebanjo ,

Fr I was about to say the same thing. Aside from better hardware and more layers the technology really hasn’t changed from this level to begin with.

We’ve learned a little about what emergent behavior and trends look like in machine learning algorithms when graphed, though: it becomes more and more convergent, as if it forms its own little confirmation bias it will produce more and more samey results.

Zacryon , (edited )
@Zacryon@feddit.org avatar

Rebranding a Markov Chain stapled onto a particularly large graph

Could you elaborate how this applies to various areas of AI in your opinion?

Several models are non-markovian. Then there are also a lot of models and algorithms, where the description as or even comparison to Markov-chains would be incorrect and not suitable.

refalo ,

I’m not sure what people think AI was ever going to be… every time something new comes out it’s always dismissed because “it’s basically just a X that does Y”. I think that will continue to be the case until there is some literal connection to actual brains, in which case the concept of what a brain is will probably be questioned as well.

UnderpantsWeevil ,
@UnderpantsWeevil@lemmy.world avatar

I’m not sure what people think AI was ever going to be…

The heavy investment in AI is coming under the assumption that these advanced processes will replace huge portions of the human workforce.

So we don’t need lawyers, because we just put prompts into a Law AI and it gives us a verdict. We don’t need doctors, because we just put symptoms into a Medical AI and it gives us a diagnosis and treatment plan. We don’t need salespeople, because we just put the product into a Marketing AI and it spits out a bunch of comvincing ad copy.

the concept of what a brain is will probably be questioned as well.

We already connect our brains to our computers. We just use screens and keyboards as our interface.

I suppose you could argue that a guy with a calculator or a camera or a chat app is mentally different than one without it. But I think the goal with AI is supplementing human minds, not complementing then.

Eiri , to technology in Some basic info about USB

The USB standards are just… Comically overcomplicated. And almost everything about it is optional. They need a full revamp, making it simpler and mandatory on all future ports, devices and cables.

But they won’t do that, will they.

Telorand ,

I miss FireWire, too.

homesweethomeMrL ,

Now that was a peripheral protocol standard.

sigh

uninvitedguest ,
@uninvitedguest@lemmy.ca avatar

I remember having a FireWire in one of the family desktops when I was a kid. Can’t remember what we might have used it for, though.

It resides in the same vague memory hole as the Zip drive that we had.

JeffKerman1999 ,

I had a FireWire hard drive! I remember I bought specifically the enclosure that supported both standards since my motherboard had a FireWire port and on paper it was faster than usb! Too bad the HDD was as slow as molasses

Crashumbc ,

Yeah, the ZIP drive was just starting to take off when the Internet killed needing a sneaker net (at least of that size). Add in CD-ROM drives which you needed anyway. And good night.

aniki ,

Firewire was phenomenal for external hard drives. The speed was almost as fast as the drives so you were rarely limited by the port.

Telorand ,

Yep, that’s because the actual data transfer was handled by the more capable device, instead of only the guest. I think the standard also required a minimum throughput, iirc, whereas USB only had a maximum.

Buelldozer ,
@Buelldozer@lemmy.today avatar

Firewire was good for high bandwidth devices like external hard drives and video cameras because it didn’t require the CPU to do any heavy lifting. These days USB is mature enough and CPUs are so fast that we (mostly) don’t notice any performance impact but in the Core 2 Duo days you could easily max out one of your two cores with a large file transfer over USB.

darkdemize ,
@darkdemize@sh.itjust.works avatar
umbrella , (edited )
@umbrella@lemmy.ml avatar

except its bot competing standards, its just one consortium who has the holy grail universal standard making things needlessly convoluted on purpose.

WolfLink , (edited )

Almost everything about it needs to be optional because sometimes USB is used to charge some cheap battery powered thing and sometimes it’s used to make a backup of a harddrive and sometimes it’s charging my laptop with enough power for it to be rendering video but still have a net charge increase to the battery while also providing Ethernet, video output, and keyboard/mouse input over the same one port.

EDIT to make it more clear why the variability of USB standards is what it is, compare a modern laptop to one from 10 years ago.

The older laptop has:

  • for video, an HDMI port (or the less common mini HDMI port), and perhaps a mini DP port
  • an Ethernet port
  • a charging plug
  • possibly some FireWire ports (may or may not be the same as the mini DP port)
  • USB A ports for keyboard/mouse and other random devices

The newer laptop has:

  • USBC ports that can do all of the above

The perhiperals, however, don’t support all of the features. They only support the features they actually use. As long as the laptop supports all of the optional features, you don’t need to worry about it.

The is especially helpful for less technical users who may not want to know what the difference between HDMI and DisplayPort is. With a fully USBC based laptop and USBC perhipals you can just plug it in and it will work.

Of course this is all dependent on the laptop implementing all of the extra features, which is still only really true of more expensive laptops.

Eiri ,

There should be a way to make it simpler.

Idk, something like “for USB 4 you NEED all of these”.

Or maybe USB 4 with levels like bronze, silver, etc.

Or make displaying data rate, display and charging capabilities all mandatory on all ports…

I’m not sure what, but “it’s a USB port; look in the manual and if you’re lucky you might learn what it does exactly” ain’t it.

s_s , (edited )

People do not want to be limited to 1m long cords or only have thick and stiff Thunderbolt3 cords with 20 different conductors for a wired mouse.

Minimum specs like you are proposing just make the standard less useful and would lead to more competing specs that aren’t compatible at all (a la lightning cables).

To be a truly “universal” spec, flexibility is king.

fruitycoder ,

Maybe optional opt out? Like to say you are usb-4 you have to have this format and support all of these features. Other you are USB 4 W/O x,y,z,PD,Video,etc. I also think PD levels should be labeled on power sources and sinks.

beebarfbadger ,
Zier , to mildlyinfuriating in People on Tik Tok peddling these scams
@Zier@fedia.io avatar

Influencer = Sales person

psmgx ,

Ehh more like marketing. But clearly pushing snakeoil in this case.

intensely_human ,

Marketing is ensuring your product offering matches what people want.

I don’t see how an influencer pushing a particular probiotic product fits this

lolcatnip , to memes in Subscribing to YT premium is also an evil act

🙄

If paying for a service you use is the worst thing you can imagine, you really need to read the news at least once a decade.

Stern , to insanepeoplefacebook in We need answers.
@Stern@lemmy.world avatar

I mean, apart from the archaeologist part that seems pretty sane to me to ask if you’re an atheist or at least a skeptic.

www.biblegateway.com/passage/?search=Genesis 4&ve…

Adam and Eve have two kids, Cain and Abel.

Cain kills Abel (8). Cain gets cursed. (11) Cain is afraid he’ll be killed by… ??? (14). God is all, nah fam karma mark lmao. (15) Cain goes and lives in the land of Nod. (16) Cain, one of three living humans at this point, makes love to his wife, who randomly now exists, and births a son, Enoch. Cain also builds a city… for the now five people who live on Earth. (17).

meco03211 ,

Apparently the biblical explanation is that it’s a sister of Cain. Maybe the daughters births didn’t warrant an extra line in the Bible? It probably doesn’t keep a record of when Adam and Eve acquire new property as that’s mostly what women were considered.

FlyingSquid OP ,
@FlyingSquid@lemmy.world avatar

From the Creation Museum. Directly from their website, so they’re proud of this:

https://lemmy.world/pictrs/image/216004dd-ddcd-4a0c-98ab-f3108453dd66.png

Number six is my favorite. “Because God said incest was okay back then and who are you to judge?”

chemical_cutthroat ,
@chemical_cutthroat@lemmy.world avatar

They really said that genetic disease is an accumulation of sin. Like someone is born with Downs Syndrome because their grandmother cheats at rummy.

hemko ,

Oh my parts 3 and 4 they’re so close to figuring out what the Darwin guy was talking about

meco03211 ,

I loved their explanation regarding building the Ark authentically when Noah lived to be over 900 years old. It’s simple really. He built it when he was like 300. You see it makes perfect sense. Next question.

trxxruraxvr ,

6 sounds more like “if you want to allow gay marriage you better shut up about incest”

reddig33 ,

Not sure I would trust anything from the creation museum to be actually biblical.

I know there’s an ancient myth about Adam having a first wife before Eve — there’s probably also other myths that fill in the blanks. There’s also nothing stopping God from making more people during this period like he made Adam and Eve. They were probably just the “first batch” so to speak.

FlyingSquid OP ,
@FlyingSquid@lemmy.world avatar

That would be Lilith.

en.wikipedia.org/wiki/Lilith

raspberriesareyummy ,

TIL. Lilith sounds way more fun & attractive than boring compliant Eve

FlyingSquid OP ,
@FlyingSquid@lemmy.world avatar

The story of Lilith has certainly been an inspiration to a lot of writers.

But I suppose so has Eve being tempted by the fruit.

ColeSloth ,

Your wiki lead me to watching Hazbin Hotel. It’s pretty funny so far.

JackbyDev ,

The serpent was actually Sir Pentious, believe it or not.

ICastFist ,
@ICastFist@programming.dev avatar

Adding a bit to that, it’s very likely that the old judaic religion was polytheistic like every other in the nearby region (assyrians, babylonians, egyptians, hittites), but started to consolidate around a single deity (not clear when, the tradition was oral). That meant some stories were left out for whatever reason, others changed, as they did several times over the centuries before being written, and every other god of their pantheon became yaweh, which explains why he has such drastically different personalities in the bible

JackbyDev ,

Also, at some point any creation story is going to have to stop specifying literally every single thing that happened and start to hit broad strokes. Things like “we just didn’t explicitly mention every single kid she had” is probably the easiest explanation.

FourPacketsOfPeanuts ,

They were probably just the “first batch” so to speak.

the standard response to this is that if there were other independently created people in Eden then they wouldn’t have been expelled for Adam and Eve’s mistake. and after the fall no other people could be created because a) they would be sinless which messes everything up and b) “God created the world in 6 days and rested on the 7th”.

YurkshireLad ,

No one commented on “get his wife”? I assume a bride mail order catalog? They must have existed back then.

ICastFist ,
@ICastFist@programming.dev avatar

Around that time, in that region, it was more often a trade, gimme something and get my property (daughter).

tacosanonymous ,

“Why are you fucking your sister?!”

“Uh, God said I could. How dare you question Him."

Swedneck ,
@Swedneck@discuss.tchncs.de avatar

weirdly that might effectively be true, many other animals don’t really suffer from inbreeding, and there’s an hypothesis that humans are so vulnerable to it because a shiteload of us died all at once a long time ago.

en.wikipedia.org/wiki/Youngest_Toba_eruption#Toba…

FourPacketsOfPeanuts ,

nice little dig at evolution calling mutations “mistakes”. as in, they happen but they can only be negative.

since God’s Word is the only standard for defining proper marriage

oh - and where’s that? the bit where multiple wives are ok (Solomon), or where multiple wives is commanded (Levrite marriage) or where slave girls are ok (“concubines” being the usual euphamism) or where polygamy is disallowed but only for church leaders (this seems like the worst one tbh, the very necessity of this rule means there were sufficient polygamous relationships in the early church that it even warrants a mention…)

snooggums ,
@snooggums@midwest.social avatar

Is it really a biblical explanation if it isn’t in the bible?

meco03211 ,

Touché.

thesporkeffect ,

Ive heard people say that Adam being the first human is metaphorical in the text, and means “first YHWH worshipper”, not sure how widespread or accurate this view is.

zloubida ,
@zloubida@lemmy.world avatar

Accurate, not at all.

Widespread, not much.

The general answers to this question is or that Cain married his sister (fundamentalist view) or that Adam and Cain are metaphors and didn’t existed at all (mainline view).

wise_pancake ,

What’s interesting is in Genesis 1 God created all the stuff, but in Genesis 2 it says none of the plants or animals or man had materialized yet, then God makes then an asks Adam to name them.

I definitely read Genesis as a story of tribal origins

RagingHungryPanda ,

It does actually say that Adam and eve had other sos and daughters. The assumption is from one of them.

Klear , (edited )

But where does tiberium come into play?

ICastFist ,
@ICastFist@programming.dev avatar

That’s Command and Conquer

Klear ,

nods

cogitase , to lemmyshitpost in Kids and their computers these days.

I hate it when I get benereal disease on my benis.

Iheartcheese ,
@Iheartcheese@lemmy.world avatar

You must be addicted to dog

seathru ,
@seathru@lemmy.sdf.org avatar

I’m glad I’m only addicted to cat.

Etterra ,

Huffing or injecting?

ThrowawayPermanente ,

It’s better when brewed into tea, trust me

Etterra ,

What are you British? Get out of here this is America’s crazy.

seathru ,
@seathru@lemmy.sdf.org avatar

Freebase. I throw em in a pot with some water and baking soda and rock em up.

disguy_ovahea ,

Benerial desease is baginal

KingJalopy ,

Only if you have a bussy tho

nilloc ,

More of a badger problem imo

ImplyingImplications ,

Benis :DDD

FrostyCaveman ,

Fug :-DDDDD god benereal disease :-DDDDDD

t. FrostyGaveman :-DDDD

Mercury ,

Benis = boy penis

MissJinx ,
@MissJinx@lemmy.world avatar

21

PhlubbaDubba , to lemmyshitpost in It just does.

For confused folks, no this is not how Canadians package their peanut butter, although yes the milk bags are real, IIRC this is actually a thing that happens in the Carribbean for locally packaged peanut butter because it’s cheaper than the jars are in the US and Canada.

RedditWanderer ,

I was thinking this is either some shitty store unpackaging and repackaging peanut butter, or it’s made locally.

In this timeline you just never know.

Simulation6 ,

I have seen it sold like this in a Krogars in Tennessee.

Tar_alcaran , to greentext in Anon notices

Plenty of straight men prefer cats too.

Obviously cats are better

Kiosade ,

Cats are conflicting for me. They can be cute, but I hate when they try to walk on me. Because I know if I try to move them they’ll probably scratch me. And that’s no bueno to me, just makes me anxious as fuck when they walk my way while i’m sitting on a couch trying to relax.

Zorsith ,
@Zorsith@lemmy.blahaj.zone avatar

Dogs are too energetic and overstimulating for me to be around. I’m fairly allergic to them as well, so I have a decent excuse for the people who insist their dog will be perfectly well-behaved and calm (they weren’t).

oxideseven ,

There are some really lazy breeds out there. Like great danes. They are giant couch potatoes. You will have to give up your couch though.

Fah_Q ,

Oh my God. A cat scratch. I wouldn’t wish that pain and agony on my worst enemy. I bet when it happened you had to sell that couch because of all the memories and PTSD. You don’t need a cat because you’re already a pussy anyway.

Ookami38 ,

Guess it takes a right cunt to spot a pussy huh?

kusivittula ,

my cats walk over me like i’m a carpet. sometimes i wake up in the middle of the night with a paw in my mouth or a cats ass on my face. but they never scratch me on purpose.

Kiosade ,

It’s more when I’ve tried to pick them up, they try to dig in because they don’t want to be picked up. It’s a catch 22 situation.

kusivittula ,

my cats stick into whatever is under them with their nails when i try to pick them up

rekorse ,

Lol just keep pulling and the Velcro breaks

EddoWagt ,

Well maybe you shouldn’t pick up cats you don’t know if they don’t want that

lightnsfw ,

I always assume people that don’t like cats also struggle with respecting boundaries.

Kiosade ,

The problem is I tend to shift around a lot, and cats hate that. So i try to “nip it in the bud” to make sure to avoid the situation altogether, but sometimes they sneak up on me while watching a movie or something.

JameUwU ,

Thats why you always keep the claw trimmers around and if theyre too long you push on their toe beans a bit to expose the claw, and give it a little snip. You dont get hurt and the cat now has an objective to make them sharp again over the next few weeks

Kiosade ,

That’s good to know! Unfortunately all the cats I see are other people’s, and so it would be awkward to be like “hey before we sit down, can we trim your cat’s claws a bit?”

JameUwU ,

LOL! That makes me want to do that

bitchkat ,

And plenty of people that aren’t straight men prefer dogs.

Tar_alcaran ,

True, but that doesn’t help me espouse on the superiority of cats. How else will I gain Mittens’ approval?

Ookami38 ,

You won’t. It’s a cat. Cats never approve. Cats don’t know affection.

Ephera , to linuxmemes in I like C programs for their speed

Honestly, it’s still ridiculous to me how slow Python, Java, JS, Ruby etc. continue to feel, even after decades of hardware optimizations. You’d think their slowness would stop being relevant at some point, because processors and whatnot have become magnitudes faster, but you can still feel it quite well, when something was implemented in one of those.

Urist ,
@Urist@lemmy.ml avatar

Many of these have C-bindings for their libraries, which means that slowness is caused by bad code (such as making a for loop with a C-call for each iteration instead of once for the whole loop).

I am no coder, but it is my experience that bad code can be slow regardless of language used.

aluminium ,

At least with Java, its the over(ab)use of Reflections and stuff like dependency injection that slows things down to a crawl.

Ephera ,

Bad code can certainly be part of it. The average skill level of those coding C/C++/Rust tends to be higher. And modern programs typically use hundreds of libraries, so even if your own code is immaculate, not all of your dependencies will be.

But there’s other reasons, too:

  • Python, Java etc. execute their compiler/interpreter while the program is running.
  • CLIs are magnitudes slower, because these languages require a runtime to be launched before executing the CLI logic.
  • GUIs and simulations stutter around, because these languages use garbage collection for memory management.
  • And then just death by a thousand paper cuts. For example, when iterating over text, you can’t tell it to just give you a view/pointer into the existing memory of the text. Instead, it copies each snippet of text you want to process into new memory.
    And when working with multiple threads in Java, it is considered best practice to always clone memory of basically anything you touch. Like, that’s good code and its performance will be mediocre. Also, you better don’t think about using multiple threads in Python+JS. For those two, even parallelism was an afterthought.

Well, and then all of the above feeds back into all the libraries not being performant. There’s no chance to use the languages for performance-critical stuff, so no one bothers optimizing the libraries.

TimeSquirrel ,
@TimeSquirrel@kbin.melroy.org avatar

For example, when iterating over text, you can't tell it to just give you a view/pointer into the existing memory of the text. Instead, it copies each snippet of text you want to process into new memory.

As someone used to embedded programming, this sounds horrific.

Ephera ,

Yep. I used to code a lot in JVM languages, then started learning Rust. My initial reaction was “Why the hell does Rust have two string types?”.
Then I learned that it’s for representing actual memory vs. view and what that meant. Since then I’m thinking “Why the hell do JVM languages not have two string types?”.

calcopiritus ,

I’m not a java programmer, but I think the equivalent to str would be char[]. However the ergonomics of rust for str isn’t there for char[], so java devs probably use String everywhere.

Ephera ,

Nope, crucial difference between Java’s char[] and Rust’s &str is that the latter is always a pointer to an existing section of memory. When you create a char[], it allocates a new section of memory (and then you get a pointer to that).

One thing that they might be able to do, is to optimize it in the JVM, akin to Rust’s https://doc.rust-lang.org/stable/std/borrow/enum.Cow.html.
Basically, you could share the same section of memory between multiple String instances and only if someone writes to their instance of that String, then you copy it into new memory and do the modification there.
Java doesn’t have mutability semantics, which Rust uses for this, but I guess, with object encapsulation, they could manually implement it whenever a potentially modifying method is called…?

UnfortunateShort ,

Java is still significantly faster and more efficient than Python tho - because it has ahead-of-time optimizations and is not executing plain text.

MeanEYE ,
@MeanEYE@lemmy.world avatar

Faster, sure. Efficient, fuck no. With Java you have to run around and write ton of boiler plate code to do something simplest in nature.

deathmetal27 ,

Could say the same for C/C++.

But yeah I’d like it if the features given by Lombok were standard in the language though it’s not a big deal these days since adding Lombok support is very trivial.

tyler ,

You shouldn’t use Lombok, as it uses non-public internal Java APIs, which is why it breaks every release. At one point we had a bug with Lombok that only resolved if you restarted the application. Switching off of Lombok resolved the issue.

Just switch to kotlin. You can even just use Kotlin as a library if you really want (just for POJOs), but at this point Kotlin is just better than Java in almost every way.

deathmetal27 ,

I agree but I have tried like hell to get my team to use Kotlin but it’s hard to convince upper management. The team is reluctant to switch as well.

Using Lombok is the next best thing.

Though for POJOs that are immutable you can use record classes now.

UnfortunateShort ,

I’m mainly talking efficiency in terms of energy use. I won’t deny that some ugly decisions have been made with Java :D

MeanEYE ,
@MeanEYE@lemmy.world avatar

Energy use? That’s a pointless metric. If that is the goal then whole idea of desktop should be scraped. Waste of memory and hard drive space. Just imagine the amount of energy wasted on booting GUI.

UnfortunateShort ,

Have you ever heard of datacenters, portable devices or climate change?

MeanEYE ,
@MeanEYE@lemmy.world avatar

If you want to talk about climate change then electronics is the wrong place to point the finger at. For start look at cement manufacturing. It requires huge amounts of energy to produce even though we have eco-friendly variants ready to go. And cement production amounts to 8% of all greenhouse gasses released annually.

Hell, just ban private jets and you’ve offset all of the bad things datacenters ever made. Elon had 10 minute flight to avoid traffic which consumed around 300l of fuel. Royal family makes so many flights a year that you could go into the wild and eat bark until the rest of your life and you wouldn’t be able to offset their footprint in thousands of lives.

Bill Gates himself talks a lot about reducing carbon footprint we make and yet he refuses to sell his collection of airplanes. He has A COLLECTION of them.

Using higher level language that requires more operations than assembler is not a thing to worry about when talking about climate change. Especially without taking into account how much pollution have those managed to reduce by smartly controlling irrigation and other processes.

Ptsf ,

Idk numpy go brrrrrrrrrr. I think it’s more just the right tool for the right job. Most languages have areas they excel at, and areas where they’re weaker, siloing yourself into one and thinking it’s faster for every implementation seems short sighted.

UnfortunateShort ,

At it’s heart, numpy is C tho. That’s exactly what I’m talking about. Python is amazing glue code. It makes this fast code more useful by wrapping it in simple® scripts and classes.

calcopiritus ,

Python is the slowest (widely used) language there is. It’s not hard to be faster.

MeanEYE ,
@MeanEYE@lemmy.world avatar

That’s because it’s not relevant. Speed can be compensated for either by caching or outsourcing your load, if there’s such a huge need to process large amount of data quickly. In day to day work I can’t say I have ever ran into issues because code was executing slow. Normal operation Python is more than capable of keeping up.

On the other side of the coin you have memory management, buff and stack overflows and general issues almost exclusive to C, which is something you don’t have to worry about as much with higher level languages. Development with Python is simply faster and safer. We as developers have different tools, and we should use them for their appropriate purpose. You can drive nails with a rock as well, but you generally don’t see carpenters doing this all day.

AlotOfReading ,

You can sometimes deal with performance issues by caching, if you want to trade one hard problem for another (cache invalidation). There’s plenty of cases where that’s not a solution though. I recently had a 1ns time budget on a change. That kind of optimization is fun/impossible to do in Python and straightforward to accomplish Rust or C/C++ once you’ve set up your measurements.

possiblylinux127 ,

Don’t throw the baby out with the bath water. There are many applications that don’t have performance needs such as a calculator app

AlotOfReading ,

You can find plenty of people complaining online about the startup time of the windows and gnome (snap) calculators. The problem in those cases isn’t solved by compiled languages, but it illustrates that it’s important to consider performance even for things like calculator apps.

MeanEYE ,
@MeanEYE@lemmy.world avatar

Which is exactly what I said. Most of the times you can work around it. Sure cache invalidation can be hard, but doesn’t have to be. If you need performance use more performant language. Right tool for the job.

possiblylinux127 ,

Especially since languages such as Python and JavaScript are really good a event programing where you have an event that runs a function. Most of the CPU time is idling anyway.

GissaMittJobb ,

There are a few reasons for this, some of the most important being:

  • The languages were not designed with speed primarily in mind and as such made some design decisions that fundamentally cannot be optimized around
  • Authors of programs in these languages prioritize things other than performance when writing the programs.

Speed is not just about processors becoming faster - this is a large part of why DSA is important to learn as a programmer.

possiblylinux127 , (edited )

They do have optimizations however they are interpreted at runtime so they can only be so fast

Frankly you won’t notice much unless the program is doing something computation heavy which shouldn’t be done in languages such as JavaScript and Python

possiblylinux127 ,

“Slow”

They aren’t as fast as a native language but they aren’t all that slow if you aren’t trying to use them for performance sensitive applications. Modern machines run all those very quickly as CPUs are crazy fast.

Also it seems weird to put Java/OpenJDK in the list as it is in its own category from my experience

Ephera ,

Java is certainly the fastest of the bunch, but I still find it rather noticeable how long the startup of applications takes and how it always feels a bit laggy when used for graphical stuff.

Certainly possible to ignore that on a rational level, but that’s why I’m talking about how it feels.
I’m guessing, this has to do with just the basic UX principle of giving the user feedback. If I click a button, I want feedback that my click was accepted and when the triggered action completed. The sooner those happen, the more confident I feel about my input and the better everything feels.

possiblylinux127 ,

I’ve never experienced that. Also Android is OpenJDK based and the applications in Android work well and the system is well optimized

Ephera ,

Yep, I also don’t fully agree on that one. I’m typing this on a degoogled Android phone with quite a bit stronger hardware than the iPhone SE that my workplace provides, e.g. octacore rather than hexacore, 8GB vs. 3GB RAM.

And yet, you guessed it, my Android phone feels quite a bit laggier. Scrolling on the screen has a noticeable delay. Typing on the touchscreen doesn’t feel great on the iPhone either, because the screen is tiny, but at least it doesn’t feel like I’m typing via SSH.

possiblylinux127 ,

I’ve never experienced that and I am running a several year old phone

Ghoelian ,

I have experienced the delayed scrolling, mostly on cheaper phones.

But that’s mostly because i’m used to phones having 120+hz screens now, going back to a 60hz screen does feel a bit sluggish, which is especially noticeable on a phone where you’re physically touching the thing. I think it might also have something to do with the cheaper touch matrixes, which may have a lower polling rate as well.

uranibaba ,

That has to be because the code is better optimized for the hardware in case of iPhone and less so which language it was written in.

Ephera ,

Why? I certainly expect that to be a factor, but I’ve gone through several generations of Android devices and I have never seen it without the GC-typical micro-stutters.

Treczoks ,

It is always a question of chosing the right tool for the right task. My core code is in C (but probably better structured than most C++ programs), and it needs to be this way. But I also do a lot of stuff in PERL. When I have to generate a source code or smart-edit a file, it is faster and easier to do this in PERL, especially if the execution time is so short that one would not notice a difference anyway.

Or the code that generates files for the production: Yes, a single run may take a minute (in the background), but it produces the files necessary for the production of goods of over 100k worth. And the run is still faster than the surrounding processes like getting the request from production, calculating the necessary parameters, then wrapping all the necessary files with the results of the run into a reply to the production department.

SuperSpruce ,

True, plus the bloated websites I see are using hundreds of thousands of lines of JavaScript. Why would you possibly need that much code? My full fledged web games use under 10,000.

Opisek ,

But but but virtual DOM /s

kaffiene ,

Java isn’t slow

mexicancartel ,

This is because they are meant to be simpler for complex logic. They don’t want to be faster by ditching the simplicity

synae , to programmer_humor in Stop use docker
@synae@lemmy.sdf.org avatar

Reject whale, join the kubernetes cluster.

We have fully automated gay space crashloopbackoff!

nickwitha_k ,

Absolutely the best kind of space crashloopbackoff.

jawa21 ,
@jawa21@lemmy.sdf.org avatar

It also has the superior theme song.

nickwitha_k ,

I both love and hate this so much. The performance and recording is incredible but any super tech nerdy parody just causes me immense internal cringe. I couldn’t make it more than a third of the way through that and I love working with K8S.

Death_Equity , (edited ) to funny in What did they mean by this?

Clearly they are Jewish and their ancestors were part of The Madagascar Plan, where Nazi Germany was forced resettling Jewish people in Madagascar.

They have largely been isolated and weren’t able to keep apprised of what happened after their family was resettled. Germany had been really pushing to establish a military base in Antarctica for decades, so the penguins had the understanding that Germany must be well established there by the time they got there.

So that is why Penguins from Madagascar would believe that people in Antarctica would be speaking German.

BearOfaTime ,

Lol, have my upvote for a great backstory!

Also, I think the word you want is “apprised”, which means “to inform”, while “appraised” means “to evaluate”.

Lots of homonyms in English, another pair is “weary/wary”. Weary means fatigued, wary means cautious.

Death_Equity ,

Fixed. Sorry, English is my first language but my autocorrect is aggressive.

Also “appraised” and “apprised” are not homonyms, unless you pronounce them wrong.

SturgiesYrFase ,
@SturgiesYrFase@lemmy.ml avatar

This is why I call it autoassume. I call it that so often that it’s learned to suggest it when I type in aut

Feathercrown ,

Same with weary/wary

thefartographer ,

Also “appraised” and “apprised” are not homonyms, unless you pronounce them wrong.

My Texan ass has entered the chat

Death_Equity ,

You speak Texan, not American English. Ya’ll get your own way of talkin’ and power grid.

Best country in America.

thefartographer ,

Y’all get your own way of talkin’

Yay!

and power grid

Fuck!

Death_Equity ,

Freedom isn’t free brother!

Shadow ,
@Shadow@lemmy.ca avatar

Weary and wary aren’t pronounced the same…

Venator ,

*In Canada…

thetreesaysbark ,

Weren’t the penguins from a zoo in the US though? It’s been a while since I saw the film.

Death_Equity ,

Idk, I was too old and not on the right kind of drugs to watch it when it came out.

If that is true, my explanation still holds up with the change that their parents moved to America from Madagascar.

RmDebArc_5 ,
@RmDebArc_5@sh.itjust.works avatar

They are originally from Antarctica and only end up in the zoo in the USA, however this only occurs in the Pinguins of Madagascar, which came out after the original Madagascar, so their origin story could have been thought up differently by the writers of the Madagascar movie than how it happened in the Pinguins of Madagascar movie

SkunkWorkz , to insanepeoplefacebook in You're right, no human being stacks rocks like this.

These people think we are all as stupid as them.

“wElL I cAn’T eXPlain tHis aND theSE prIMItIve brOwN fOlk sUreLY ain’t SmArtR tHen mE so it MuSt be aLeEyUns”

BruceTwarzen ,

These people think they can travel back in time and are some kind of god.

Behold, i’m the man of the future. We have computers.

What’s a computer? How do you make it?

Uuhm, get a rock and make him think, i don’t know man.

Bytemeister ,

I think I would do okay, but that’s because I had a watch fascination when I was in school. Big thing that revolutionized navigation was stable clocks that could work on a boat. Depends on how far back you go really.

henfredemars , (edited ) to memes in Maybe we can get good IPv6 support now

All consumer and enterprise equipment made in the last 10+ years natively support IPv6.

I object to this statement. You can buy name brand routers today that don’t implement it properly. Sure, they route packets, but they have broken stateless auto configuration or don’t respect DHCPv6 options correctly, and the situation is made worse because you don’t know how your ISP implements IPv6 until you try it.

God help you if you need a firewall where you can open ports on v6. Three years ago I bought one that doesn’t even properly firewall IPv6.

I tested a top-of-the-line Netgear router to find that it doesn’t support opening ports and once again doesn’t correctly support forwarded IP DHCPv6, which even if that works correctly, your Android clients can’t use it 🫠 Decades later there’s no consensus on how it should function on every device. This is a severe problem when you are a standard.

The state of IPv6 on consumer hardware is absolute garbage. You have to guess how your ISP implements it if at all, and even then you’re at the mercy of your limited implementation. If you’re lucky it just works with your ISP router. If you’re not, it’s a PITA.

EDITs: spell corrections and clarification.

CosmicTurtle0 ,

Omg…I thought I was doing it wrong. I was trying to map ports on my router and it just wouldn’t do it properly.

Networking is not my strong suit so I assumed I was being an idiot and reverted back to IPv4.

henfredemars ,

The problem is mainly that IPv4 port forwarding is network address translation, but on IPv6 it’s instead IP forwarding with a firewall rule.

The latter is conceptually simpler, but it’s a different mechanism and one that most home routers don’t bother to implement. This is quite ironic because IPv6 was intended to restore end to end connectivity principles.

Don’t get me wrong; I’m quite happy with the standard. They are very few good implementations of that standard, and given the momentum of its predecessor, implementers just don’t care.

CosmicTurtle0 , (edited )

I absolutely hate how dependent we’ve gotten to IPv4. To the point that Amazon is charging almost $4 a month per IP. It used to be free. These assholes are buying IPv4 addresses so fast that they are literally driving up the price.

Is there a resource that you can recommend on learning IPv6 based on my knowledge on IPv4? A lot of resources I’ve seen are way over engineered for my feeble brain.

Like I know what IP addresses are and what port numbers are. I don’t understand the difference between how IPv6 addresses are assigned (both locally and generally speaking) and what makes it different from IPv4.

I know it’s not DHCP.

Edit: This post provides a link to a great summary for those who know IPv4 but need to learn IPv6.

henfredemars ,

It absolutely can be DHCP. There’s two main ways to do it: stateless auto configuration, and DHCP. Super briefly, you can assign IP addresses the same way you used to if you want, or you can let devices pick their own.

I’m afraid I can’t recommend a great resource, but I really like the Wikipedia article because it’s very precise in its terminology. I appreciate that with learning a new subject. I’m not even that precise here. For example, I use the term IP forwarding more liberally than what it actually means.

Blaster_M ,

IPv6 does not do NAT - you allow the ports for a device instead in the firewall.

riodoro1 ,

This. Ipv6 on all house routers are for scrolling facebook only. Want to do anything more? Switch back to ipv4

Melody ,

This is why I use PFSense and Hurricane Electric as a v6 tunnelbroker. I have working functional IPv6 with SLAAC and DHCPv6 and full Routing Advertisements on my LAN running side-by-side so that no matter which the device implements how poorly; it gets an IPv6 address and it works and is protected by the firewall.

henfredemars ,

That sounds awesome.

I really like stateless, but it bugs me that the router has to snoop on traffic if you want a list of devices. The good ones will actually do this, but most are blind to how your network is being used with IPv6.

And it really bothers me that Android just refuses to support DHCPv6 in any capacity. Seems like a weird hill to die on. There are too many legitimate use cases.

Melody ,

I run both because of this; and because SLAAC enables features in Desktop OSes that offer some level of additional privacy.

For example; Windows can do “Temporary IPv6 Addressing” that it will hand out to various applications and browsers. That IPv6 address rotates on a periodic basis; once every 24 hours by default; and can be configured to behave differently depending on your needs via registry keys.

This could for example, allow you to quickly spin up a small application server for something; like a gaming session; and let you use/bind that IPv6 address for it. Once the application stops using it and the time period has elapsed; Windows drops the IP address and statelessly configures itself a new one.

kungen ,

I also like the privacy extensions, but how often does your prefix even change? Most places I’ve seen you get a /64 announced and it basically never changes – so somewhat elementary to “break through” that regardless.

Melody ,

I have a /48 that I can basically roll through.

A /64 is more than enough though to prevent most casual attempts at entry; and does force more work / enumeration to be done to break into a network and do damage with. I’m not saying the privacy extensions are the greatest; but they do work to slightly increase the difficulty of tracking and exploitation.

With a /48 or even a /56; I can subdivide things and hand out several /64s to each device too; which would shake up things if tracking expects a /64 explicitly.

I actually use /55s to cordon off blocks inside the /48 that aren’t used too. So dialing a random prefix won’t help. You’d be surprised how often I get intrusive portsweeps trying to enumerate my /64s this way…and it doesn’t work because I’m not subnetting on any standard behavior.

Blaster_M ,

It is a weird hill to die on for sure.

Blaster_M ,

You shouldn’t be forwarding anything - lan devices are directly accessible from the internet with ipv6. The router’s job now is to firewall inbound ipv6 packets. You should be able to simply open the inbound port for that device in particular.

henfredemars , (edited )

Right, that’s how it should work. Unfortunately that’s not how it actually works most of the time in consumer.

Many devices don’t provide an option in the UI to open an inbound port on IPv6. For example, the latest and most expensive Linksys gaming router blocks all inbound connections and there are no options for different behavior. It doesn’t support opening any ports for v6.

The most recent TP link device I tested for my dad doesn’t even have a firewall. If you know the global IP, you can connect to any port you want.

Blaster_M ,

And that’s why I abandoned cheap consumer routers many years ago… closest devices to implement ipv6 port management firewalling even half good was/is the ASUS devices. I got fed up and went pfsense and/or unifi one day and never looked back.

UDM handles ipv6 real good, and pfsense can even get /64 subs from an ATT router for all its lan interfaces.

henfredemars ,

I’ve never tried ASUS or UDM. I might have to give that a go. Alas, I can only speak on the selection of what I have tried in the recent past.

AVincentInSpace ,

Comcast has finally gotten around to giving hosts inside the firewall publicly routable IPv6 addresses, but port forwarding (which, by the way, can only be done through Xfinity’s website or mobile app which then connect to and configure the router through the ISP interface – if you go to the port forward configuration in the router’s webui, all you’ll see is a message that it’s now “easier than ever” to configure port forwards) can only happen on IPv4. Want to open a hole in the IPv6 firewall? Well that’s just too fucken bad.

BlessedDog ,

Funny, I have an ancient DOCSIS modem from a company that went bankrupt ages ago which supports all these features flawlessly. Only thing it’s missing is DNS options, it’s hardcoded to use the ISPs DNS. Oh well.

interdimensionalmeme ,

Just use openwrt

henfredemars , (edited )

Sadly it’s not an option for example you want WiFi 6. A good chunk of really awesome hardware doesn’t support it.

Of course, it’s always possible to use bridging and multiple devices. That’s what I have now.

Lastly, the original statement supposed that all recent hardware supports IPv6 by default. OpenWRT doesn’t typically fit that description.

polarpear11 , to fediverse in Just a reminder we are the future of social media.

Gonna be honest, a lot of times I feel like I don’t belong here, I’m still figuring things out. I’m not a “techy” type person (that seems to be some kind of prerequisite) and I barely know how to explain the fediverse to the layman, but I left reddit when they fucked over Joey (my preferred reddit app) and read enough to give reddit the middle finger and never look back. It’s been nice, really. I spend more time outside of the internet now. But I believe in the fediverse, I think it’s the right thing to do. I still check up on lemmy daily, but I get much more value and human connection and only spend the time that is appropriate on lemmy instead of endlessly scrolling. Most days I end up in some Wikipedia rabbit hole. Just like the good ol’ days. Learning new things, meeting new people. That’s what I love about the internet.

Jax ,

It’s easy to feel that way even if you are a techy. It seems like being minimally neurodivergent is the abnormal here.

That being said, I’ve been introduced to many different ways of thinking that I wouldn’t have gained otherwise. Think of it like you’re different, but that’s ok because everyone here is different - and that makes them (and you) all the more beautiful for it (especially in the context of idea exchange). In fact, being the different one here will give you the perspective that many of the people who use Lemmy experience simply by existing which, in and of itself, is a valuable thing.

Emmie ,

Everyone being nd would explain a lot of why this place feels way better than Reddit for me lol

mrmanager ,
@mrmanager@lemmy.today avatar

It’s what we all loved about the internet I think, before the web become… “that” (looking at the pile of shit the web has become).

But actually it’s not the web, not really. It’s the big tech platforms that most people seem to think is the internet now. It’s sad to watch how people log on to “Facebook” and not the general web anymore. And then Google in front of everything, like a big cancer growth.

Lemmy is not the new internet either I believe. But it’s here to show people that something else can exist. As soon as we let advertising in here though, it’s over.

Excrubulent ,
@Excrubulent@slrpnk.net avatar

I think the answer is not to gatekeep against advertising actively, but to have a platform that is resilient to that kind of thing. Like, if there were advertising on an instance people would fucking BOUNCE I think. And if it got somehow baked into the platform itself there would be a new fork with the advertising excised before the sun went down.

mrmanager ,
@mrmanager@lemmy.today avatar

I’m not sure about that. What if advertising were used to cover server costs, just like donations right now? Then the community may be fine with it.

But I think it’s very dangerous to go down that route. Because it’s going to become about higher profits, not just covering costs, in the long run.

Excrubulent ,
@Excrubulent@slrpnk.net avatar

I don’t know either, but so far not a single instance has even tried to my knowledge. I have a very hard time imagining people being okay with it.

Moorshou ,

As long as the ads are good ads, I’m using Adnauseaum to block most though.

Dave ,
@Dave@lemmy.nz avatar

The beautiful thing about decentralisation is that if an instance tries to as ads, then you can go to a different instance and see the same content.

If an instance creates as posts, your instance admin can block the whole instance.

Interestingly, the big instances seem to easily get enough donations to cover costs. I think that’s the great thing about this model, people are willing to donate when they know it’s not some big corporate making profit for shareholders.

gwen ,

adding to the old internet thing, using mojeek reminds me of the old search results! searched for something mildly obscure, actually got good results and also a porn site lmfao.

Mojeek ,
@Mojeek@lemmy.ml avatar

there’s a safe mode if it’s of use: nested in the settings gear menu but also on /preferences (to turn it on for all searches)

gwen ,

thanks peakjeek

Excrubulent ,
@Excrubulent@slrpnk.net avatar

Honestly this is great, non-techy people making the transition is a good sign and something the system needs to gain mainstream appeal.

Also, people who aren’t techy are less likely to accept hacky workaround BS and complain until it’s fixed on a system-wide level, and that’s needed to mature the platform to something anyone can use. It’s getting there but it’s still got a lot of rough edges.

threelonmusketeers ,

Gonna be honest, a lot of times I feel like I don’t belong here, I’m still figuring things out.

I left reddit when they fucked over Joey (my preferred reddit app)

Are you me? I thought I was relatively tech-savvy, and then I moved to Lemmy. Also, Joey was the best.

Jiggle_Physics ,

A way I have found to explain federated social media to people, that seems to work is this: Imagine reddit, but instead of one company, with one administration, owning the whole site, it is a bunch of different reddits, that are independently run, that choose which other reddits they wish to associate themselves with. When you log into one instance, you automatically can see, and interact with, all the other ones that one chooses to associate with. You can have accounts on as many instances as you would like, even having accounts on instances that do no associate with each other.

Rolando ,

I just say: “It’s like email. There are different email servers, but they can all talk to one another. If there are things you really like, you can subscribe to them, and if there are things you don’t like, you can block them.”

Or replace “email” with “instant messages”.

haui_lemmy ,

I enjoyed reading this. I came over from reddit when they started banning people for protesting. That showed me that reddit was not what I thought it is.

I‘m a techy person. I run servers for friends and customers, partly with fediverse services on them. Lemmy being one of them. I donate both time and money to lemmy and other services I enjoy and use.

The fediverse is a great thing imo. I hope it succeeds.

gwen ,

left when i saw too many reposts and way too many story-comments i was sure i’d seen before

which led me to realise reddit has been completely astroturfed

polarpear11 ,

Oh yes, good point. That’s a big part of my problem when it came to my reddit experience in the end. I mean shit, I was a redditor since 2009. It was hard to leave but also not.

JustAnotherRando ,

Hey, I also was a Joey user. I am pretty tech savvy (I’m a software dev and a former sys admin). I’m not a Linux daily user though, so I still understand that out of place feeling. Like I have used Linux for things, but after working on my computer all day for work, I don’t exactly want to deal with roadblocks or tinkering on my computer in the evening.
I have also noticed that I spend less time scrolling on here than I did on Reddit, which is a good thing for me. It’s a place where I can satisfy that itch without getting lost in scrolling of posts or comment sections for hours.

player2 , to memes in Truly a bittersweet moment

Congrats! It’s scary, but this is when you finally have the freedom to live your unique life. Stay in touch with your close friends, everyone else will fade away. And remember, wear sunscreen.

velox_vulnus ,

I don’t get out of the house, so no sunscreen for me. And friends, sigh.

fiddlesticks ,
@fiddlesticks@lemmy.dbzer0.com avatar

Yeah no one told me the hard part was getting friends

pearsaltchocolatebar ,

Seriously. I was young and thought I was invincible.

Now 5x suspicious mole removals later (no cancer, yet) I regret going shirtless so much.

brbposting ,

You reading the latest on US vs. foreign sunscreen?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines