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.

programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

bappity , in How the internet actually works
@bappity@lemmy.world avatar

a series of rick rolls

Feathercrown , in Hours of work

I pretend I do not see it

appel ,

You’d think this is stupid but this has surprisingly worked on more than one occasion for me.

Feathercrown ,

Lmao power move

fsxylo , in Hours of work

It’s a good thing I’m a hobbyist so that I can avoi- hmm, now that I think about it this feature could be really cool and shouldn’t take too long to implement…

queque31 ,
@queque31@lemmy.world avatar

2am me: why the fuck this doesn’t work anymore!!!

potoo22 ,

Spouse at 7:00 AM: “Why do only some of the house lights work and there’s no hot water?”

Me: “You know that quick fix I was working on last night. Well, umm, one thing led to another aaaand… Umm… Just so you know, your phone is using mobile data because the wifi is out.”

SIGSEGV , in single binary executable and dlls

Did you,… hrm,… did you even take classes about this stuff. Ffs, this is why this career pays well: you have to understand complicated things.

Maybe your issue is with Windows. I suggest moving away from that platform.

Dynamic libraries are essential to computing, and allow us to partition out pieces of the code. One giant library would have to be recompiled with every change.

philm ,

I mean yeah, dynamic libraries are great if used correctly (via something like Nix), but the unfortunate truth is, that they are not used correctly most of the time (the majority of the Unix and Windows landscape is just a mess with dynamic libraries).

With modern systems programming (Rust) the disadvantages of static compilation slowly fade away though via e.g. incremental compilation.

That said dynamic libraries are still a lot faster to link and can e.g. be hot-swapped.

shotgun_crab , in Hours of work

Composition helps a little at least

original_ish_name , in Simple trick

I spoofed my MAC once when I went to a router page of a hotel and it said it was logging the request

Pika ,
@Pika@sh.itjust.works avatar

I had them most sophisticated hotel/resort wifi capture page I’ve ever seen them other week. It had you register on the wifi using your room number and booking email, then it gave you 10 slots that you put Mac addresses into. I couldn’t imagine how many people I bet never figured out how to use it lol

ImpossibleRubiksCube , in Cistercian Hexadecimal

Is that written on… toilet paper?

over_clox OP ,

LOL, no, just a mini drawing pad.

swordsmanluke ,

Where will you be, when inspiration strikes?

30p87 ,

What the heck do you use as toilet paper?

ImpossibleRubiksCube ,

Finest silk dresses.

I’m sure I’m not the only one to make this economical move. After COVID hit, TP was hella expensive.

tourist , in Hours of work
@tourist@community.destinovate.com avatar

And you’ll have to do documentation and everything and then they won’t even use it.

ChickenLadyLovesLife , in Hours of work

My favorite thing was having to rewrite an enormous amount of code to support a new feature because the original architect originally wrote an enormous amount of code in anticipation of supporting a new feature like it.

JoYo , in Not Mine; Enjoy
@JoYo@lemmy.ml avatar

this is what I’ll post whenever I get that fucking stupid interview question.

podperson , in Oh yay new features

Why are we still posting screencaptures of stuff from Twitter/not-X/Twitter?

lugal ,

Tbf the tweet is from 2021 so this looks like the category “I found old funny screenshots on my phone”

dbilitated OP ,
@dbilitated@aussie.zone avatar

well if you can say something funnier, I’ll post a screenshot of that

JaddedFauceet , in Just a Normal Sprint Planning -_-

joke aside, story point can be quite arbitrary

NotSteve_ ,

I’d rather story points than my company’s WAG time estimates 🥲

Zoidsberg ,
@Zoidsberg@lemmy.ca avatar

Man, this whole thread is like a foreign language to me.

NotSteve_ ,

Haha they’re just different ways of estimating the difficulty of a work task. Story points are a kind of estimate that are represented by a number. The larger the number the more difficult the task.

My company uses WAG (wild ass guess) time estimates where we have to actually say how long we think a task is going to take in a matter of days or weeks. It sounds fine but programming tasks are notoriously hard to estimate since you have to consider so many different factors. I’m especially bad at it so I’d much prefer just saying “this task is an 8 because it seems hard”

JonEFive ,

It’ll take 20 hours. Unless it’s harder than I thought. Or it’s easier than I thought. Or it’s exactly as hard as I thought except there’s one little thing that I get stuck on for 5 hours.

NotSteve_ ,

I recently estimated a task to take a couple hours but it ended up taking a week. Hadn’t considered having to update a bunch of other teams services with new proto schemas and making sure they were deployed before our own service 🙃

normalmighty ,

My team has being trying an approach where instead of story pointing, we break everything down into the smallest incremental tasks we reasonably can and use number of tasks overall as the metric instead of story points.

In theory it’s meant to be just as accurate on larger projects because the larger than normal and smaller than normal tasks all average out, and it save the whole headache of sitting around and arbitrarily setting points on everything based mostly on gut feeling.

zalgotext ,

Huh. That’s such a simple and obvious approach, I’m kinda mad I’ve never thought of it lmao. It seems like you’re essentially breaking everything down to a 1 (or as close as you can get it), which is probably a more accurate measurement anyways. Neat.

docAvid ,

I remember reading a study done across some large organizations that showed this approach was more accurate than other estimation techniques. Makes sense to me.

PixelProf ,

When I teach story points (not in an official Agile Scrum capacity, just as part of a larger course) I emphasize that the points are for conversation and consensus more than actual estimates.

Saying this story is bigger than that one, and why, and seeing people in something like planning poker give drastically differing estimates is a great way to signal that people don’t really get the story or some major area wasn’t considered. It’s a great discussion tool. Then it also gives a really rough ballpark to help the PO reprioritize the next two sprints before planning, but I don’t think they should ever be taken too seriously (or else you probably wasted a ton of time trying to be accurate on something you’re not going to be accurate on).

Students usually start by using task-hours as their metric, and naturally get pretty granular with tasks. This is for smaller projects - in larger ones, amortizing to just number of tasks is effectively the same as long as it’s not chewing away way more time in planning.

jet , in Not Mine; Enjoy

What is internet layer?

rockSlayer , (edited )

It’s been a few years since my networking course, but I believe it refers to DNS it refers to stuff like IP addresses. DNS is related to the Internet layer, but it’s not correct to call it the Internet layer

PoolloverNathan ,

It’s the Internet Protocol packets that hold the TCP segments and UDP packets.

rockSlayer ,

Yep now I remember. You’re right, it’s the IP addresses. DNS just maps those addresses to URLs

Aceticon ,

DNS is an application layer on top of the Internet layer that lets you have host names (i.e. “www.google.com”) towards the user side instead of IP addresses (i.e. 127.0.0.1).

However the internet layer only understands IP addresses so any application that is using hostnames internally and for displaying to the user has to translate them into IP addresses (using DNS) as it has to use those for the internet layer to know which hosts it wants to talk to.

URLs are yet something else: they’re a text format for encoding protocol, host if applicable (in name or in IP address), IP port if applicable and protocol specific stuff (i.e. the page address on a website) to form an application level “address”, which is more than just the host address (as that’s only a machine on the network, not a service hanging from an IP port on that machine waiting for requests).

People are so used to web URLs that they often don’t know URLs can encode more than just pages in what they think as “normal” web addresses (such as www.google.com and www.google.com) and can actually support the same protocol in a different port (www.google.com:8080 - note that this one probably doesn’t work because google just uses the default port for HTTP which is 80 and doesn’t have an HTTP server running in 8080), host identification by IP address instead of hostname (i.e. 127.0.0.1) and even different protocols (i.e. ftp://127.0.0.1).

thisisnotgoingwell ,

This meme is kind of wrong though, because it’s mixing the OSI model with the TCP/IP model, which are different representations of the same thing, but in either model the “link layer”, ie layer 2 switching would never hand over to the “internet” layer without going through network first. So if you’re confused, it’s because it’s wrong.

Application, transport, session, transport, network, data, physical (OSI) Application, transport, internet, network (TCP/IP)

rockSlayer ,

Appreciate it! Yea something seemed off about the meme in general, but I couldn’t put my finger on it

Grabthar ,

First mention of Transport should be Presentation for OSI. All People Seem To Need DP. Dr. Pepper? Data Processing? Remember it as you will.

rtxn ,

The internet layer of the TCP/IP network stack is where the packets are routed between hosts. It operates between devices that have their own logical (IP) addresses, such as computers, routers, modems, or network bridges. It is the layer where the packet finds its way from the sender to the destination. Its most common protocols are IPv4, IPv6, and ICMP.

MonkCanatella , in Simple trick

Didn’t know you could spoof a mac address

FlexibleToast ,

Some devices, like Android, do this automatically. By default they have randomized mac enabled.

madcaesar ,

Where is this setting?

vithigar ,

Can’t speak for other devices, but on my Samsung it’s a network level setting in the “view more” section of the wifi network configuration.

Richie030 ,

You likely have it enabled by default, it’s located in the view more or advanced settings on each specific wifi network, once enabled just forget network and reconnect, if that doesn’t work, you can try enabling “WiFi non-persistent MAC randomisation”. I’m not techie but that’s what I did whilst on a camp site with a 30 minute trial, worked a beaut.

0x2d ,
Corbin ,

Most consumer-grade NICs have a default MAC address which is retrievable with device drivers, but delegate (Ethernet) packet assembly to the OS. If the OS asks the NIC to emit a packet, then the NIC often receives the packet as a blob, DMA’d from main memory, and emits the bytes as octets. Other NICs do manage packet assembly, but allow overwriting the default MAC address. By the time I was learning Linux, we had GNU MAC Changer available in userland with the macchanger command, and many distros have configuration for randomizing or hardcoding MAC addresses upon boot.

I want to say that this is all because olden corporate network management policies could require a technician to replace a NIC without changing the MAC address, but more likely it is because framing and packet assembly was not traditionally handed to a second controller, and was instead bit-banged or MMIO’d by the CPU.

ImpossibleRubiksCube , in Oh yay new features

This is a subtle jab at Meta, isn’t it.

StarLuigi ,
@StarLuigi@lemmy.blahaj.zone avatar

What did they do this time?

ImpossibleRubiksCube ,

Well, I mean, there’s the whole “Metaverse” thing, and it’s been more than a decade since I read Snow Crash but I recall it being, pretty clearly, a cautionary tale…

dbilitated OP ,
@dbilitated@aussie.zone avatar

I don’t think the metaverse was the part they were warning about… I think it was the hypercapitalism and corporations taking over control from the government’s

ImpossibleRubiksCube ,

What bugs me is that this is literally a corporation’s most basic function.

dbilitated OP , (edited )
@dbilitated@aussie.zone avatar

can literally be sued if they don’t put profits above all else. it’s insane.

edit: fact check says, misleading, see source below

jonsnothere ,
JaxNakamura ,

Thanks for the clarification.

The last sentence of the article however, shows why that’s not much of a consolation:

In other words, it is activist hedge funds and modern executive compensation practices — not corporate law — that drive so many of today’s public companies to myopically focus on short-term earnings; cut back on investment and innovation; mistreat their employees, customers and communities; and indulge in reckless, irresponsible and environmentally destructive behaviors.

dbilitated OP ,
@dbilitated@aussie.zone avatar

cheerfully withdrawn, thank you for the information

NPC ,

Exist and that’s plenty

nintendiator ,

What isn’t, nowadays?

MargotRobbie ,

Obvious jabs at Meta, of course.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines