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.

saltesc , in there is no need

I really don’t care about my OS UI since I’m barely actually using it, especially after a few minutes setting up one-click actions. Less than 1% of my time and effort on the computer.

Applications, on the other hand, is where I live and FUCKING HELL!!!

ObviouslyNotBanana , (edited )
@ObviouslyNotBanana@lemmy.world avatar

Look, if everyone just decided on a style and everyone went with it within a system I’d be okay with that. It’s not great but at least it wouldn’t be jarring.

But having to live by the whim of 50 different app designers is disgusting. I just want to have a good time, not learn 50 different interfaces.

Though my thoughts on it would also stifle new ideas. So that’s bad.

jak2k ,

Try GNOME/GTK/adwaita apps. They are very consistent.

ObviouslyNotBanana ,
@ObviouslyNotBanana@lemmy.world avatar

They are indeed very similar.

Sonotsugipaa ,
@Sonotsugipaa@lemmy.dbzer0.com avatar

The GTK file chooser is probably the worst AND most inconsistent example of UX that I’ve ever seen

jak2k ,

Contribute! Maybe you get a part of the 1 million Euro they got from the Sovereign Tech Fund.

Sonotsugipaa ,
@Sonotsugipaa@lemmy.dbzer0.com avatar

Contribute with UX changes? To GNOME maintained software?

jak2k ,

When it’s an enhancement?

Sonotsugipaa , (edited )
@Sonotsugipaa@lemmy.dbzer0.com avatar

Enhancement? No, everything I have a problem with is explicitly intended behavior and GNOME devs are infamous for their everyone is stupid except me mentality

Edit, found a neat lil’ example:

Does Gnome/GTK have an issue board where users vote on issues?

Free software development is not a democracy, and does not get driven by polls. Features and bugs are introduced by those who show up, within a community that works towards a shared goal.

I don’t believe the intentional behavior is desirable and would like to see what other users think.

That’s not how anything works.

pufferfisherpowder ,

That’s a dick way of saying fuck off but I mean they do provide a free service. If they have a vision and don’t want to deal with random people whining about it that’s their prerogative. Same as yours to find that utterly insufferable.

Sonotsugipaa ,
@Sonotsugipaa@lemmy.dbzer0.com avatar

They do provide a free service (GTK’s file chooser), one that I find horrible and inconsistent (as per the thread) and intentionally so (on issues tangential to example that I found, although the proposed configurable behavior would be nice) - so I won’t even entertain the thought of trying and contributing to it, as it has been suggested.

I don’t know what is insufferable about that, other than the initial criticism…

pufferfisherpowder ,

It’s your prerogative to find them insufferable is what I meant to say. Your criticism and opinions are fair enough.

Sonotsugipaa ,
@Sonotsugipaa@lemmy.dbzer0.com avatar

I’ve got to work on the fact that seeing the word “insufferable” on social media makes me instinctively get defensive ._.

backhdlp ,
@backhdlp@iusearchlinux.fyi avatar

Pretty sure that money is for the people employed by the GNOME Foundation, they don’t just pay every contributor.

jak2k ,

No, they don’t, but you could get regular contributor…

saltesc ,

It’s like getting into a car you haven’t driven before and you hit the wipers instead of the indicator ×1000. Or playing an FPS and E is now F, C is now Ctrl, X is Shift, and you tap+hold instead of tap. WHY?!?! You can remap, but suddenly there’s conflicting keys for shit the tutorial hasn’t even introduced to you yet, so you don’t know what you can or can’t get away with.

Some designer or dev has a personal opinion they think is better than everything else and now we all gotta live with it on the hopes that’ll be the new standard. And there’s so many of those arseholes and their DVORAK layouts and putting “Cancel” on the left and “Confirm” on the right of a dialogue popup. “I think it’s better this way and the world will thank my big brain!”

YES I’m ranting, lol.

reinei ,

Wait confirm shouldn’t be on the right? Like I am 99% sure most windows pop-up/modal Dialogs had ok on the left and cancel on the right but I am not entirely sure about Linux (also factorio has them left to right as in “go back and go forward” but I dunno if that is RTL dependent…)

AnUnusualRelic ,
@AnUnusualRelic@lemmy.world avatar

No, no, they have to be on top of each other! Vertically aligned is the way of the future.

Grandwolf319 , in Three monitors, and i feel insulted

Hah, jokes on you, I have an ultra wide.

Which is basically two monitors without any separator in the middle.

deadbeef79000 ,

Ooh, the thinest of bezels: none.

Sprawlie ,

once you go two ultrawides you will enter a new realm of existence.

Grandwolf319 ,

Side by side or stacked on top?

ekky ,

Stacked on top, and vertical orientation since we’re not doing Java here!

AnUnusualRelic ,
@AnUnusualRelic@lemmy.world avatar

Six vertical ultrawides is the only way.

Sprawlie ,

Side by side most of the time. I put them on arms so I can move them around and swivel them. It’s ridiculous having two 34" Ultrawides. But, I can. So I Do. I also run a 3rd 40" 4k display when I need it or want to sit further back.

BorgDrone ,

34” 5k2k ultrawide as main monitor and a 27” 4k in portrait for documentation.

Crashumbc ,

Have a 27" 1440 in portrait for a side monitor. Best decision I ever made with my monitor set up.

rooster_butt ,

I just made the switch from 3 24 inch monitor to a single 49 inch super ultrawide. It’s basically 3 monitors with no bezels. A lot of things are annoying though like full-screening videos/games but there are workarounds.

JasonDJ ,

My biggest problem with 4k and ultra wide monitors is screen sharing (like on zoom/teams/WebEx etc).

Most people still have 1080p screens at best, so when someone with a 4k or ultra wide shares their screen, it’s really tough to see what’s going on.

My main display is a 4k TV, but if I have to share, I’m sharing a window, or one of my auxiliary (1080p) screens.

rooster_butt ,

I’ve resorted to just sharing my laptop screen. You can also use picture by picture to get split displays which are easier to share.

datelmd5sum ,

Yeah I went from 1 32" 1440p and two 1080p side monitors to just a single 4k 43" and I’m saying that the time of multi monitor setups has come to an end.

WhiskyTangoFoxtrot , in Three monitors, and i feel insulted

I go out of my way to find components that don’t have RGB lighting on them. When I use my computer, I want to be looking at the screens (the two-monitor part is true,) not the case.

zerofk ,

Exactly! Even the indicator light of my speakers bothers me during long nightly sessions. I want to see the screen, nothing else.

blind3rdeye ,

I’ve got a piece of black tape over the power line on my computer, because it is too bright. And I have masking tape over the caps/num/scroll-lock lights on my keyboard; because they are also too bright. (The light is much gentler through the masking tape.)

NeatNit , in Daylight saving creator left the chat....

DST had good reasoning at the time. It doesn’t anymore.

Blue_Morpho ,

The US tried no dst back in 1970. After 2 years people wanted it back.

criitz ,

They did permanent DST instead of no DST (permanent standard time), so they had dark mornings in winter.

SpaceNoodle ,

Is it still 1970 today?

Blue_Morpho ,

What is so different today that people wouldn’t change their mind again about DST?

SpaceNoodle ,

It’s 54 years later. Are you expecting a full list or something?

Blue_Morpho ,

So because you read the news on your phone instead of the newspaper somehow everything is different with the sunrise?

SpaceNoodle ,

You’re right. The only thing that has changed is that newspapers are smaller.

Blue_Morpho ,

If the list is so long, then it should be easy to list one thing that is different today that would make people not want DST.

I don’t need a list. Just one example.

SpaceNoodle ,

Apart from nearly 2/3 of Americans polled wanting permanent DST, the massive technological advancement, interconnectedness of the entire world, and an ever-growing proportion of renewable energy?

Blue_Morpho ,

2/3 of Americans polled wanting permanent DST,

Yes Americans want permanent DST like in 1970.

massive technological advancement,

Why specifcally would cause a need for a change in sunrise/sunset?

There was massive technological change from 1920 to 1970 when it was given up for 2 years before it was changed back.

ever-growing proportion of renewable energy?

The current shift to solar would mean an even greater need to synchronize energy use with sunlight.

SpaceNoodle ,

You’re ignoring the fact that technological advancement is exponential, not linear; world interconnectedness; energy storage; and other renewable energy sources such as geothermal, hydro, and wind.

Blue_Morpho , (edited )

technological advancement is exponential

But what specifically about the technology means you want the sunrise time to be different?

s geothermal, hydro, and wind.

None of those are a currently a significant percentage of energy usage. Nor do they have relation to sunrise/sunset that would require a change.

SpaceNoodle ,

Wind alone accounts for over 10% of the nation’s power, and is constantly growing …

Blue_Morpho ,

80% isn’t renewable right now. And you didn’t answer why that should matter to sunrise/sunset?

Also why do you downvote all posts? Are my replies off topic?

SpaceNoodle ,

Bad faith arguments are off-topic, yes.

Blue_Morpho ,

What is in bad faith? I hold the premise that nothing has specifically changed that would make people actually like the sunrise/sunset time change given it was tried before.

You claimed “technology” without giving specific reasons. You claimed renewable energy despite it only being 20% of today’s energy generation.

You are the one who is making bad faith arguments. Then you are getting mad because you have nothing to support your opinion.

This isn’t reddit.

technojamin , in Daylight saving creator left the chat....

I used to feel this way. Over the course of building out 2 calendar systems in my career (so far) and having to learn the intricacies of date and time-related data types and how they interact with time zones, I don’t have much disdain for time zones. I’d suggest for anyone who feels the same way as this meme read So You Want To Abolish Time Zones.

Also, programmers tend to get frustrated with time zones when they run into bugs around time zone conversion. This is almost always due to the code being written in a way that disregards the existence of times zones until it’s needed and then tacks on the time zone handling as an afterthought.

If any code that deals with time takes the full complexities of time zones into account from the get-go (which isn’t that hard to do), then it’s pretty straightforward to manage.

sacredfire ,

Time zones are part of it, but also daylight savings is a real pain in the ass. And like you said it gets particularly complicated when you’re dealing with a system that deals with these things as an afterthought, which seems to be a lot of older libraries for time. For instance, the Java date utils are a nightmare and are now considered semi deprecated replaced by a new java.time api. That is, of course, no help for the ridiculous amount of things that depend on these stupid date utils and no one wants to spend the dev hours to refactor.

Maltese_Liquor ,

This did little to convince me that timezones are an unnecessary construct. Pretty much every point made was done from the perspective of someone who had already decided their opinion rather than objectively weighing the pros and cons.

Lifter ,

I agree. It’s written like “ugh I’m used to timezones, now what?”.

t_veor ,

Yeah, the article is written like it’s parodying those who want to abolish timezones, but I’d be interested in specifically what you found unconvincing? I read the main point as being that time zones are an arbitrary social convention but that that arbitrary social conventions are pretty useful for humans.

Like one thing that the article does is repeatedly asking the question “but what time is it in Melbourne?” which I guess sounds pretty silly if you think timezones are unnecessary, since the question would be meaningless if timezones were abolished, and people in different parts of the world would already have centered their day around their respective parts of the clock and you would just look up what the times for everything are in another place. But I think the author was kind of already discarding that idea, because it’s just equivalent to timezones - you have a lookup table for each part of the world to find out what people do at a certain time, except instead of being a single offset you have like a list of times like “school openings”, “typical work hours”, “typical waking hours” (?) etc. This system is basically timezones but harder to use for humans. So the author asking “but what time is it in Melbourne?” is in the context of this table not actually existing, because if it did, then you haven’t actually abolished time zones.

Carighan ,
@Carighan@lemmy.world avatar

Yeah but also if we’re being honest, from a programmer perspective the timezone has no bearing on what you do, and is hence not a problem at all.

After all, much like you translate the language of your UI when displaying in X, you also add Y hours to all times shown in X. Done. You wouldn’t even need to persist the zoned time data anywhere, given their static nature you could decide the final timestamp shown at display time, purely on a client, visual, level.

OTOH, daylight saving time turns itself - and timezones - into an utter mess and whoever invented them hopefully is proud of the raw amount of grief and harm they caused the world. It causes all kinds of issues with persistence, conversion and temporal shifts in displayed time due to the ephemeral nature of the +X minutes added. Or not. That’s the worst part.

So timezones: Fine, it’s just bling bling on display anyways.
DST: Burn it at the stake.

t_veor ,

Yeah, I’m in agreement that DST is kinda pointless and could probably be abolished, but the thread is about abolishing timezones in general (or so I thought).

Abolishing DST doesn’t eliminate all the weird issues with “ephemeral” offsets though. Suppose the user wants to set a reminder for a recurring event at 3pm, and then moves to another country. Do you keep reminding them at 3pm in the new time zone or the old time zone? Maybe the reminder was “walk the dog” and the user meant for it to be at 3pm local time, or maybe it was “attend international meeting” and the user meant it to be at 3pm in the original timezone. (This admittedly only happens to calendar apps so isn’t something that most applications have to deal with, unlike displaying timestamps in general.)

But other than that, I’m of the opinion that as programmers we’re supposed to model the problem space as best we can and write software that fits the problem, rather than change the problem to fit our existing solution. After all, software is written to be used by humans, not the other way round (at least not yet). So if DST is something those wacky humans want and use, then a correct program is one which handles them correctly, and a programmers job is to deal with the complexity.

BeardedGingerWonder ,

I disagree about the table - if you’re interacting regularly across timezones you tend to convert everything to your local time anyway - India’s on lunch at 9am, US is starting at 14:00, because that’s how it fits into your day.

ytg , (edited ) in Daylight saving creator left the chat....

Before timezones and trains, each town had its own natural time (based on the sun or whatever). Would you have preferred that?

vox ,
@vox@sopuli.xyz avatar

tbf there are libraries capable of handling that too, like rust’s chrono

devilish666 OP , in Daylight saving creator left the chat....

Leap year creator has left the chat & blocked…

technom ,

Leap years are not as bad as timezones, if you think about it. Timezones try to imperfectly solve a local problem - how to match your clock with the position of the sun. Leap years try to reasonably solve a global problem - how to keep your calendar aligned with the seasons.

snowe , in Colors, localized.
@snowe@programming.dev avatar

I had to read a lot of the comments to understand what the post meant.

ojmcelderry ,

Yeah. Honestly, I’m still not sure I understand it. ELI5?

AlternActive ,

French being french. They have no word for ninety for example, it’s four-twenty-ten. Not bullshitting you.

As in Four (times) twenty (plus) 10.

MouseWithBeer ,
@MouseWithBeer@iusearchlinux.fyi avatar

The American is how it is supposed to be.

The British one has the “color” changed changed to “colour” due to British spelling of color.

The Spanish one has an upside down semi colon because in Spanish you write questions like this: ¿Is this an example question?

The French one is because the French number system makes absolutely no sense and to say 99 you have to say quatre-vingt-dix-neuf (meaning 4 x 20 + 19).

I hope this helps somehow.

nintendiator ,

The American is how it is supposed to be.

The British one has the “color” changed

[citation needed]

somada2kk , in Colors, localized.

As guy who hate French language and was learning in 1999 I can confirm it was pain to read the topic of lesson and the date. I was so happy when we switched to 2000.

Obi ,
@Obi@sopuli.xyz avatar

Whole generations of French students that have no idea they escaped having to write “mille neuf cent quatre-vingt dix-neuf” over and over again, in cursive of course.

PalmTreeIsBestTree , in Colors, localized.

I don’t how you teach basic counting at a young age in French without learning higher grade level math.

Kiwy ,
@Kiwy@sh.itjust.works avatar

Joke aside, it’s not taught as 4 × 20 +10 but simply “90 is pronounced quatre-vingt-dix” — which kinda is a mouthful, but you rarely count to 90 as a kid anyway.

PastorHaggis ,
@PastorHaggis@lemmy.world avatar

Sounds like you were just a quitter. I counted to 100 all the time to show off.

Lmaydev ,

I’m counting to 100 right now, fight me!

konakona , in Colors, localized.
@konakona@sh.itjust.works avatar

programming x linguistics humor

ophy ,

As a programmer and a linguist, this is the kind of content that really gets the happy chemicals flowing through my monkey brain

Yoz , in You know who you are

Can someone please explain me like i am 5 what is docker and containers ? How it works? Can i run anything on it ? Is it like virtualbox ?

SantaClaus ,

Think of a container like a self contained box that can be configured to contain everything a program may need to run.

You can give the box to someone else, and they can use it on their computer without any issues.

So I could build a container that contains my program that hosts cat pictures and give it to you. As long as you have docker installed you can run a command “docker run container X” and it’ll run.

Lmaydev ,

A container is a binary blob that contains everything your application needs to run. All files, dependencies, other applications etc.

Unlike a VM which abstracts the whole OS a container abstracts only your app.

It uses path manipulation and namespaces to isolate your application so it can’t access anything outside of itself.

So essentially you have one copy of an OS rather than running multiple OS’s.

It uses way less resources than a VM.

As everything is contained in the image if it works on your machine it should work the same on any. Obviously networking and things like that can break it.

aberrate_junior_beatnik , in dotnet developer

Ok, but we all should admit: .net is a terrible name.

nexguy ,
@nexguy@lemmy.world avatar

I totally agree.socialmedia

Honytawk ,

Still better than .dot

neutron ,

And then there’s .net classic and .net core. Making up two entirely separate names shouldn’t be difficult for marketing executives.

dan ,
@dan@upvote.au avatar

.NET Core doesn’t exist any more. It’s just .NET now.

The classic version is mostly legacy at this point too.

NegativeInf ,

Just because it’s no longer supported doesn’t mean there’s not some poor intern refactoring spaghetti backend in a basement somewhere using it.

dan ,
@dan@upvote.au avatar

Sure, but you can still find plenty of info on it by searching for .NET Framework or .NET 4.6. All the documentation is still available. Its just not in the spotlight any more.

Zangoose ,

Hi, it’s me, the intern refactoring the spaghetti .NET core backend. I’m not in a basement though. AMA

neutron ,

I am so sorry, man. No one deserves this.

kogasa ,
@kogasa@programming.dev avatar

Not an intern, but this week I’ve unraveled some mysteries in ASP.NET MVC 5 (framework 4.8). Poked around the internals for a while, figured out how they work, and built some anti-spaghetti helpers to unravel a nested heap of intermingled C#, JavaScript, and handlebars that made my IDE puke. I emulated the Framework’s design to add a Handlebars templating system that meshes with the MVC model binding, e.g.


<span style="color:#323232;">@using (var obj = Html.HandlebarsTemplateFor(m => m.MyObject))
</span><span style="color:#323232;">{
</span><span style="color:#323232;">  Name: obj.TemplateFor(o => o.Name)
</span><span style="color:#323232;">}
</span>

and some more shit to implement variable-length collection editors. I just wish I could show all this to someone in 2008 who might actually find it useful.

Lmaydev ,

It is very much still supported and will be for a very long time.

You just shouldn’t start any new products using it.

neutron ,

My workplace insists on using dot net classic to recreate a twenty years old VB app that should be able to drink, vote, and drive.

Please send help. SQL queries are a spaghetti mess and all the original devs are probably gone or dead.

envelope , in dotnet developer

Given that .net was a TLD long before the framework came out, it was a stupid thing to name it. Caused confusion and the inability to Google things right away.

schnurrito ,

Microsoft names many things stupidly.

xmunk ,

Fuck you forever SQLServer. Transact was perfectly googleable.

flathead ,

wasn’t it originally idiotically named “SQL/Server”?

Gork ,

Microsoft Azure Blob

(Yes it’s a real product they market)

eerongal ,
@eerongal@ttrpg.network avatar

I mean, blob (and object storage in general) has been used as a term for a long time. It isn’t particularly new, and MS didn’t invent it.

xmunk ,

That’s sort of the problem. It’s easy to Google S3 since it’s a distinct (if obnoxiously short) term. Blob is already an overloaded term.

An example of a great name from Microsoft is Excel, it’s relatively short but meaningless so if you Google “Excel Sum” you’ll get wonderful results… “Blob Get” is going to get you a lot of random stuff.

Edit: the top result for blob get is accurate on Google but you’ll also quickly see this result from that site we all hate:

Need help! How do I get the blob fish, basking shark and dwarf whale?

kogasa ,
@kogasa@programming.dev avatar

Excel is a brand name, Azure Blob Storage is a descriptive title. It’s Azure’s blob storage service.

xmunk ,

What is Azure Blob Storage’s brand name then? I’m confused.

jaybone ,

This is why computer science is fucked.

intensely_human ,

Antilock Braking System

kogasa ,
@kogasa@programming.dev avatar

It falls under the Azure brand.

arschfidel ,

Visual Studio Code

masinko ,

To prevent confusion, I call them “VS Code” and “Visual Studio IDE”, because if you say Visual Studio, people assume you mean Visual Studio Code.

hemko ,

And renames a random product every month, following a restructuring it’s licensing

kameecoding ,

At least they don’t control the most popular code hosting site along with the most popular code editing software, right? Right?

Lmaydev ,

Yeah Microsoft Entra is the latest one. Azure AD had such huge brand recognition and they just dropped it lol

intensely_human ,

“xbox”

pelya ,

It was pretty smart marketing move. Business people hear ‘dot net’ and nod wisely. Tech people hear ‘dot net’ and scrunch their faces. Either way people keep talking about Microsoft Java.

neutron ,

And this is why alcoholism is rampant. Please free me from this insanity.

jwt ,

It’s like naming your company x

intensely_human ,

Or the rectangular gaming console that you sell “xbox”

NaibofTabr ,

Like naming a new TLD .zip!

jaybone ,

That aligns with their fucked up naming conventions anyway.

OneCardboardBox , in dotnet developer

Sorry, what’s .Net again?

The runtime? You mean .Net, or .Net Core, or .Net Framework? Oh, you mean a web framework in .Net. Was that Asp.Net or AspNetcore?

Remind me why we let the “Can’t call it Windows 9” company design our enterprise language?

activ8r ,

Because they have dozens of years of experience! They didn’t learn anything from it, but they have it!

0x0 ,

Can’t call it Windows 9

But that actually made sense! They care about backwards compatibility.

For those not in the know: some legacy software checked if the OS name began with “Windows 9” to differentiate between 95 and future versions.

activ8r ,

It makes sense why they did it, but their messed up versioning was the cause to begin with. You should always assume Devs will cut corners in inappropriate ways.

pkill ,

They’ll cut corners the more the shittier APIs and ABIs you provide

dan ,
@dan@upvote.au avatar

The API is fine. It returns the internal version number (which is 4.0 for Windows 95), not a string. learn.microsoft.com/…/ns-winnt-osversioninfoexa. There’s no built-in API that returns “Windows 95” as a string.

puttputt ,

The reason they checked that it started with “Windows 9” was because it worked for “Windows 95” and “Windows 98”

bequirtle , (edited )

deleted_by_author

  • Loading...
  • UndercoverUlrikHD ,

    Say whatever you want about Microsoft, but they don’t mess around with backwards compatibility.

    riodoro1 ,

    It’s easy to be backwards compatible when you’re backwards in general.

    Honytawk ,

    Well, better to be backwards with backwards compatibility than to just be backwards.

    looks at Apple

    Octopus1348 ,
    @Octopus1348@lemy.lol avatar

    I once heard some YouTuber say Windows uses \ in path names instead of / like everyone else because Microsoft thinks backwards.

    dan ,
    @dan@upvote.au avatar

    As what often happens, using `` for paths is for backwards compatibility.

    Neither CP/M nor MS-DOS 1.0 had folders. When folders were added in MS-DOS 2.0, the syntax had to be backwards compatible. DOS already used forward slashes for command-line options (e.g. DIR /W) so using them for folders would have been ambiguous - does that DIR command have a /W option, or is it viewing the contents of the W directory at the root of the drive? Backslashes weren’t used for anything so they used them for folders.

    This is the same reason why you can’t create files with device names like con, lpt1, and so on. DOS 2.0 has to retain backwards compatibility with 1.0 where you could do something like TYPE foo.txt > LPT1 to send a document to a printer. The device names are reserved globally so they can work regardless of what folder you’re in.

    nilloc ,

    They probably search for windows n(t) somewhere too ;)

    intensely_human ,

    it could’ve just been windows nine. or any other word that isn’t a number

    But “nine” is a word that is a number

    jadelord ,

    Strange argument… how does that prevent checks versus Windows 7, 8 and 1* all of which would be less than 9.

    Wrrzag ,
    @Wrrzag@lemmy.ml avatar

    Because it checks if the version starts with the string “Windows 9*”, not wether the number is less than 9.

    dan ,
    @dan@upvote.au avatar

    This is a myth - code that checks the version number uses the internal version number, which is 4.0 for Windows 95.

    dev_null ,

    An often repeated urban legend that has no basis in reality. Software checking the version of Windows gets “6.1” for Windows 7 and “6.2” for Windows 8. The marketing name doesn’t matter and is different.

    ziixe ,
    @ziixe@lemmy.dbzer0.com avatar

    I was about to say that most apps should check the NT number but then I remembered that until XP it wasn’t common to run a NT system, but then I remembered NT 4 existed basically in the same timeframe as 95 did, and even if the argument went to “it’s a 9x application”, shouldn’t these OSes at least have some sort of build number or different identifier systems? Because as I said NT systems were around, so they would probably need a check for that

    chatokun ,

    Some programs just didn’t work on NT though. A lot of installers were more OS specific back then.

    mnemonicmonkeys ,

    Eh. I think Microsoft should have let that break so the spaghetti code finally gets fixed

    dan , (edited )
    @dan@upvote.au avatar

    some legacy software checked if the OS name began with “Windows 9” to differentiate between 95 and future versions.

    This is a myth. Windows doesn’t even have an API to give you the marketing name of the OS. Internally, Windows 95 is version 4.0 and Windows 98 is 4.1. The API to get the version returns the major and minor version separately, so to check for Windows 95 you’d check if majorVersion = 4 and minorVersion = 0.

    Edit: This is the return type from the API: learn.microsoft.com/…/ns-winnt-osversioninfoexa

    0x0 ,

    Maybe it’s a myth, but it sure sounds plausible. The software that checks the “Windows 9” substring doesn’t even have to exist for this to be reason they chose to skip to version 10 — they just had to be concerned that it might exist.

    Sure, maybe there’s no C function that returns the string, but there’s a ver command. It would be trivial to shell out to the command. en.wikipedia.org/wiki/Ver_(command)

    This doesn’t prove anything, but there are a TON of examples of code that checks for the substring. It’s not hard to imagine that code written circa 2000 would not be future proof. sourcegraph.com/search?q=context:global+""window…

    dan ,
    @dan@upvote.au avatar

    but there are a TON of examples of code that checks for the substring

    oh

    oh no

    There’s code in the JDK that does that??

    I really wish I didn’t see that.

    0x0 ,

    Yup!! Never look under the hood in software, you’ll just be disappointed ☹️

    dan ,
    @dan@upvote.au avatar

    I’ve been a software developer for 20 years and this comment is too real. Some days I’m amazed that any software even works at all.

    intensely_human ,

    Having worked in both food service and software, I encourage you not to visit the kitchen of any restaurants you enjoy either.

    0x0 ,

    Please don’t show me how the sausage is made

    Vladkar ,

    Remember when Nintendo was panned for the name “Wii U”, and Microsoft saw that and said “hold my beer”

    NigelFrobisher ,

    I’m developing it for Xbox One X.

    kogasa ,
    @kogasa@programming.dev avatar

    I really don’t think it’s that bad. The only weird thing is .NET Core becoming just .NET in version 5.

    dan ,
    @dan@upvote.au avatar

    Not too weird… It’s the “one true .NET version” now. The legacy .NET Framework had a good run but it’s not really receiving updates any more.

    kogasa ,
    @kogasa@programming.dev avatar

    I have no complaints about just calling it .NET. The distinction between .NET and .NET Framework isn’t much of a problem. It’s the fact that .NET and .NET Core aren’t actually different that’s odd. It underwent a name change without really being a different project, meanwhile the Framework -> Core change was actually a new project.

    dan ,
    @dan@upvote.au avatar

    It underwent a name change without really being a different project

    The name difference was only to differentiate the legacy .NET Framework with the new .NET Core while both were being developed concurrently. They never intended to keep the “Core” suffix forever. .NET Core had a lot of missing APIs compared to .NET Framework 4.5., and “.NET 1.0” would have been ambiguous. It was to signify that it was a new API that isn’t fully compatible yet.

    Once .NET Core implemented nearly all the APIs from the legacy .NET Framework, the version numbers were no longer ambiguous (starting from .NET 5.0), and the legacy framework wasn’t used as much as it used to be, it made sense to drop the “Core” suffix :)

    kogasa ,
    @kogasa@programming.dev avatar

    Yes… But ASP.NET Core kept the branding. Thus “Core” still exists, concurrently with the regular “.NET.”

    Lmaydev ,

    Actually they are different.

    .Net core, mono and xamarin used to be completely separate and slightly incompatible runtimes.

    They have all been unified under .Net so c# (and other .net languages) will run exactly the same on each.

    So the coreclr runtime still exists but you no longer need to target it specifically.

    turbodrooler ,

    Razor Blazor

    pewgar_seemsimandroid ,

    example.net

    Pfnic ,

    I have the same issue with Java. Oracle JDK, Open JDK or some other weird distribution? Enteprise Servers or a Framework like Springboot? It’s always easier if you’re familiar with the technology.

    stewie410 ,

    Hey now, why don’t you join my work and use jboss-4.2.2.GA? (kill me)

    XTornado ,

    .net core is not a thing anymore in case somebody it’s not aware, now is just .net. (unless you use really old version of course).

    kautau ,

    But it’s still the core lol

    github.com/dotnet/core

    XTornado ,

    Well the repo link yes… create a new repo and migrate everything… just so the url doesn’t say core no more it’s quite unnecessary.

    And to be honest actual code is currently under github.com/dotnet/dotnetThe other links is just for news and docs currently.

    kautau ,

    I agree, it was mostly a joke. But as the parent commenter explained, “.net is now dot net” is still confusing. They really should just cut ties with the .net name and start fresh. “.net is now MS Interop Framework” or some such. Adopt more sane server versioning moving forward, so searching for information isn’t so wild across all the possible variations and versions of .net, dot net core, dot net framework, asp.net, etc

    neutron ,

    I scream silently everytime.

    coloredgrayscale ,

    May I introduce you to Usb 3.x renaming?

    3.0, 3.1Gen1, 3.2Gen1, 3.2Gen1x1 are the 5Gbps version.

    3.1Gen2, 3.2Gen2, 3.2Gen1x2, 3.2Gen2x1 are the 10Gbps version.

    neutron ,

    Are those USB naming schemes, or edgy usernames from 2000s like xXx_31Gen3x1HardCore_xXx?

    revlayle ,

    The reasoning it was to not confuse with .net framework 4.x series, and since they went beyond 4.x, it’s just .net now. I believe .net core moniker was to explicitly distinguish is from framework versions.

    It didn’t help the confusion at all, tch. Being a .net guy since 1.0, you just figure it out eventually

    labsin ,

    They also couldn’t call it “.Net Core 4” so they called it “.Net 5”

    Will they keep skipping numbers or start thinking about not naming everything the same.

    Lmaydev ,

    .Net is both the umbrella term for the entire ecosystem and the new runtime haha

    Microsoft is so bad at naming things!

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