• 0 Posts
  • 72 Comments
Joined 1 year ago
cake
Cake day: June 17th, 2023

help-circle
  • I’m not the guy you replied to, but MS fonts are kinda free to download. Not free enough they can just put them into a package but there’s a defined method for downloading them. Most distros have a package that will automatically do this. On Debian it’s ttf-mscorefonts-installer which will download the fonts and install them when it gets to the configuration part of the package install. You can probably search for a similar package for your distro.





  • Apparently I’m Neutral Evil. But I consider myself to be Chaotic Neutral.

    I’ll fix the problem only when it’s actually a computer problem and when you can explain what the problem properly. I don’t care if it’s a ticket or an email. Though I might not get to the email today and tomorrow I might forget about it, so you might want to put a ticket in that’ll stay the until it’s closed. But the ticket system sucks, so I might not log into it and see your ticket for a few days. If you send an email, I might do it right away, but you might have to remind me about it in a few days because I might’ve forgotten about it.

    I don’t care about your job title. If you VP of whatever the fuck and think you’re important or if you were hired yesterday to an entry level position, you’re all users to me. But the issues aren’t fixed based on the order they come in, it’s based on how much effort you put into describing the problem. If you think you’re too important to describe the issue properly, you’re low priority. If you want a meeting to describe the issue verbally, oh you better believe you’re low priority, I’m not your fucking secretary that’s going to take down your dictation. You got a keyboard in front of you, use it. I might eventually get around to asking you for more details about the problem, but only after I’ve fixed all of the problems reported by people that made an effort. Your priority is based on your effort.

    Ok so maybe I’m Lawful Evil? But everyone thinks I’m Chaotic Evil because they don’t understand why some people get stuff done right away while they have to wait.





  • The thing that defines chicken-ness is crossing the road. So if the egg rolled across the road before hatching does that mean the egg is a chicken egg?

    But of course the chicken must also see the other side of the road. Since it’s impossible for see outside of the egg before hatching it might be the egg lacks sufficient chicken-ness to be considered a chicken egg.

    But once the egg hatches the chicken will see the other side of the road. So if the egg crosses the road and the chicken that hatches from the egg sees the other side of the road, both the egg and chicken must both be considered to be sufficiently chickenly to complete the sequence required to establish the complete chicken.



  • SpaceCowboy@lemmy.catoScience Memes@mander.xyzbugs
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    2 months ago

    Yeah, I’m pretty sure taxonomy is in latin because actual scientists got tired of dealing with pedantic dipshits.

    “Bug” is an english word so it’s the domain of an etymologist not a biolgist. My lookup of the word indicates applying “bug” to arachnids is perfectly cromulent.


  • Give a discount on food purchases so long as people agree to having every purchase tracked abd their data sold to marketing companies so they can figure out how to manipulate people into buying more shit they don’t need.

    People’s food purchases are already scanned in before they buy them, so all that’s needed is to get people to scan in some kind of card to connect their purchases to their identity. A small discount can be offered so people will fill out a form connecting their identity to the card and then every time they scan the card with their purchases we can track everything they buy forever.

    Oh wait, that’s actually already commonplace.,




  • There’s way too much money in the hands of the wealthy. What are they going to do with it all? Invest in the stock market. All the good investments are overvalued. All the bad investments are have been saturated too. What else can they do with all of that money. They gotta put it somewhere.

    So they put excess money into real estate. So the price of real estate has been driven up so much that it’s over valued like any other avenue of investment.

    The stock prices being overvalued isn’t good but isn’t something that’ll affect regular people. But their real estate investments being over valued? Well that real estate isn’t an investment to someone that simply needs a place to live.

    And that’s the problem, the price of housing is priced above what the people what people outside of the investor class can afford. And the investor class wants a return on their investment in the overprices real estate (that they collectively drove the price up on) so charge a lot for rent. Of course maybe if people moved to another area that would put downward pressure on the rent prices. But AirBnB is there so if this happens they can still get income from that when no one can afford the insanely high rent.

    So the overarching problem is the wealthy have wayyy too much money and are dumping their excess wealth into real estate and pricing people that just need a place to live out of the market. AirBnB isn’t the cause of the problem but it makes the problem worse.

    One of many problems caused by the unwillingness to simply tax the wealthy.



  • SpaceCowboy@lemmy.catoScience Memes@mander.xyzCFCs
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 months ago

    Dude, a date is a fixed point in time… just has less accuracy than if a time is included.

    In what archaic system are int’s still 4 bytes?

    When you have more experinece in programming in more languages, you’ll find that in a lot of modern languages an int is always 32 bit and a long is 64 bits. Doesn’t change if your system is 32 bits or 64 bits.

    If I read your format on a 64-bit machine, it’ll break.

    And this is exactly why many programming languages don’t change the definition of int and long for different processor architectures.

    You clearly don’t have any experience with higher level programming languages, which you should really look into. If you have so little understanding of the problems with dates and times you should really only work in languages that have a well defined DateTime structure built in so you won’t get into trouble with all the various edge cases and performance problems you’re creating by not understanding why parsing date strings should be avoided whenever possible.

    You know what’s not ambiguous ? “This time is stored as an ISO8601 string”.

    Interesting that you were boldly claiming that experts use a dd-MM-yyyy format and now you’re bringing up a format that starts with yyyy-MM-dd. Do you understand now why it’s put into that order?

    But yeah check out high level languages, they’ll serialize dates into a standard format for you. Though I still have to put in serialization options to handle communications with partners that don’t follow standards. Like all the time. I get enough headaches with just dates in a string formats when I can’t avoid it that I know better than to do it when I can avoid it.

    The meme you had that says that experts use dd-MM-yyyy is the wrong way around. Beginners use the built-in DateTime functionality that’s offered by a high level language. Experts use this as well. It’s only the mid tier devs that think they’re going to come up with a better way on their own and get into the problems you’re going to find yourself in.


  • SpaceCowboy@lemmy.catoScience Memes@mander.xyzCFCs
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 months ago

    First of all, midnight in what timezone? A timestamp is a specific instant in time, but dates are not, the specific moment that marks the beginning of a date depends on the timezone.

    What are you talking about? The same problems apply no matter which format you’re talking about. Depending on which side of the dateline your timezone is on you could wind up with different dates.

    Does your janky string format of “18-03-2024” suddenly has to become aware of the timezone if I tack on a “0:00” at the end of it? Or maybe you always will have timezone issues no matter what the precision of the time you want to store.

    I think you got it in your mind that you can’t do anything other than Timestamp=getdate() and if it’s a date only you have to use a string. That’s not the case. You can indeed translate a date into any number of formats, unix time is one of them. I assure you that 1710720000 will translate to the same janky “18-03-2024” format you’re using every single time unless you deliberately mess with timezones in code where you admit that you don’t want to deal with timezones. But your string jankiness break simply by someone parsing it with MM-dd-yyyy just as easily and this may not require someone to do something to deliberately break it. Depending on the library that’s being used and the localization settings of the OS, this can happen automatically. If your code will break because someone has different OS settings than yours, you are writing bad code.

    If the goal is to save space then your format uses 10 bytes, while the timestamp uses 4 (with Y2K38 problems) or 8 with 64 bit Epoch time. If you’re not too worried about saving space (you really shouldn’t be these days) then use the appropriate structs defined by the language you’re using and the DB you’re using.

    Even this would be better than a string:

    struct { int year byte month byte day }

    Six bytes as opposed to 10 and there would be no issues with confusion with the dd and MM parts of the string. It’s still shit (use existing date libraries instead) but still won’t have as many problems than what you’re doing. Seriously anything is better than just dumping a date into a string. And as I say, using the dd-MM-yyyy format is bad for multiple reasons.

    Though congratulations, you’ve convinced me that Y2K might’ve been a bigger problem than I thought given how adamant you are about repeating similar mistakes that caused those issues. I guess even when there’s very obvious problems with how someone’s doing things they will insist on doing things that way even when it’s pointed out all the problems with it. I can imagine someone in the 80s and 90s pointing out the Y2K problem to someone writing the code and getting some arrogant bullshit about how only mid-level programmers worry about that. “Experts put dates in strings LOL!”


  • SpaceCowboy@lemmy.catoScience Memes@mander.xyzCFCs
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    4 months ago

    You also don’t store dates in a string that you’ll have to parse later. I’ve had to deal with MM-DD-YYYY vs. DD-MM-YYYY problems more times than I can count.

    And you understand that you could have a date in unix time and leave the time to be midnight, right? You’d end up with an integer that you could sort without having to parse every goddamn string first.

    And for God’s sake if you insist on using strings for dates at the very least go with something like YYYY-MM-DD. Someone else may someday have to deal with your shit code, at the very least make the strings sortable FFS.


  • SpaceCowboy@lemmy.catoScience Memes@mander.xyzCFCs
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    4
    ·
    4 months ago

    The Mayans figured a calendar that only went to 2012 would be good enough. And they were right, their civilization didn’t exist anymore in 2012. Only relevance their calendar system had in 2012 was that some people felt like it was a prophecy about the end of the world. Nope, just was an arbitrary date the Mayans rightly assumed would be far enough away it wouldn’t matter.

    While I suppose you could make a date format that was infinitely expandable, it would take more processing power and is really unnecessary.

    Anyway got until 2038 until we’ll have to deal with a popular date format running out of bits. We’ll probably be in some kind of mad max post apocalyptic world before then so it won’t matter.