• 1 Post
  • 312 Comments
Joined 1 year ago
cake
Cake day: June 17th, 2023

help-circle
  • From an economic perspective, it’s mostly positive. Raising a child is expensive, and those costs go on for about 20 years before you have a person that’s economically productive. Most Immigrants are adults and can join the workforce immediately. The economic costs of their childhood was paid by the country they came from. It’s a negative for the country they came from, this is refereed to as a “brain drain.” But for their new country, it’s like a tax paying worker just appeared out of nowhere.

    As for the economic negatives, the big one is housing. Too much immigration all at once can result in a shortage of housing. It can also put stress on public services and infrastructure. Businesses may not have the capacity to serve a larger population. These things can adapt of course, but you can’t instantly build a house and you can’t instantly expand public services, etc. So you might want to limit immigration so an area can adapt to all of the various economic needs of a larger population. An immigrant will work and pay taxes and contribute to the local economy, so long term it’s all positives, but there can be a lot of short term problems if a population grows to rapidly.

    As for social… well I’m not really much of a sociologist, but just from I can see, people who already live in an area might be uncomfortable being around people of a different culture. Might say crazy things like “They’re eating the dogs!” Yeah that’s crazy, but it is a problem. Not caused by the immigrants themselves, but it’s a problem that does happen when there’s immigration.

    But there’s social benefits. Can learn from a new culture. May get some new options for restaurants to go to.

    Generally the young will enjoy more social benefit (going out to the different restaurants and learning about different cultures), but the older people will tend to be uncomfortable with it. But that’s just the tendency.

    So overall I’d say you do need limits on immigration to mitigate the short term issues, but it’s all positives in the long term.



  • IMO it should even be hashed on the client side before being sent so that it doesn’t show up as plaintext in any http requests or logs. Then salted and hashed again server side before being stored (or checked for login).

    But if someone got that hashed version they could hack the client to have client side hashing code just send that hashed value to the server. You’d want to have the server to send a rotating token of some sort to use for encrypting the password on the client and then validate it on the server side that it was encrypted with the same token the server sent.

    Seems complicated to me… https is probably has good enough encryption, so eh, whatever.



  • Yeah it’s a weird thing about parasocial relationships. You like someone based on things you’ve seen about them on TV and then you start feeling like you know them. But really, nope you don’t.

    I think it’s fine to like famous people, but just understand that you don’t really know them. If you later find out they’re a horrible person well then don’t like them anymore and it’s no big deal. You only like the things you know about the person, but if you avoid going down the road of feeling like you really know them, it’s fine.



  • SpaceCowboy@lemmy.catoVideos@lemmy.world*Permanently Deleted*
    link
    fedilink
    arrow-up
    3
    arrow-down
    3
    ·
    25 days ago

    I don’t own a Tesla? I don’t even own a car at all.

    But I do have some experience with software engineering and know there’s pros and cons to everything. Standards are great but there are times when there’s a reason you need to make something for a specific purpose. I don’t know the specifics (and I’m guess you don’t either) of how a space suit interfaces with a space craft, but I can see how the requirement to have a spacesuit interface with multiple types spacecraft could result in an increased complexity. 99% of the time every spacecraft will have the same number of spacesuits as astronauts, and it’s only on a rescue mission like this that the number will differ. But on a rescue mission there will also need to be the same number of empty seats as the number of astronauts being rescued meaning there will always be enough room to carry the number of necessary spacesuits.

    The time to have a standard spacesuit standard would’ve been before either the Dragon or the Starliner launched. As it is creating a standard would mean components in both the spacesuits and spacecraft components in one or both of the programs will need to be redesigned. Which opens up the potential for a problem similar to pissing on a Tesla dashboard (weird analogy). You should mitigate that by not imposing an unnecessary re-design of space suit and space craft components.

    Sure they may want to have a standard, but it’s best they wait for a future re-design of the space craft is happening for other reasons to require it. Let the engineers make that engineering decision, not impose it because of some extremely minor inconvenience caused by a single failed mission.




  • Having a lot of joins can be expensive and non-performant.

    Only if you don’t know how to do indexing properly. Normalized data is more performant (less duplication of data, less memory and bandwidth is being used) if you know how to index.

    It may have been true decades ago that denormalized tables were more performant, I don’t know. But today it’s far more common that the phrase “denormalized tables are more performant” is something that’s said by someone that sucks at indexing and/or is just being lazy.

    But I do put JSON into tables sometimes when the data is going to be very inconsistent between different items and there’s no need to index any of the values in there. Like if different vendors provide different kinds of information about their products, I need to store it somewhere, so just serialize it and put it in there to be read by a program that has abstraction layers to deal with it. It’s never going to perform well if I do a query on it, but if all that’s needed is to display details on one item at a time, it’s fine.





  • SpaceCowboy@lemmy.catoProgrammer Humor@lemmy.mlWorst is UTC vs GMT
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    3 months ago

    Yeah it’s just being angry about the fact that the Earth is rotating ball. Wanting to abolish timezones is different from Flat Earth only be degrees.

    Sure the “what time is it there?” question goes away, but it’s replaced by “what are your business hours?”

    Ultimately it will be daytime in one part of the world while it’s night in another part of the world. That will always cause problems.


  • This is actually the best approach.

    Obviously they are getting timezone information otherwise the app could only display whatever time the user entered in.

    If you want to sort things by the actual time, it’s simple and performant if all of the times are in the same timezone, and UTC would be the standard one to use. Pushing the timezone calculations to the client makes sense because the UTC time is correct, it’s just a matter of displaying it in a user friendly way, ie. show the time in the user’s timezone.


  • I saw an article about them attacking Lebanon now.

    Hezbollah, not Lebanon. Please don’t legitimize terrorist groups by considering them to be the government of the country they operate in. Lebanon has elections, please support democracy and it’s not consider Hezbollah as Lebanon’s government, even if those psychopaths have control over a significant portion of the country.

    That being said, Nasrallah is probably under significant pressure to do something to help Hamas in some way. Last week he put out some threats against Israel. Israel put out counter threats. In all likelihood that’s where things will stay, neither side wants a war with the other.

    The media is always saying a war is imminent. Remember when they were claiming China was going to invade Taiwan any minute? There’s probably some outlets that’re still are saying that sometimes. It gets clicks, views, and ratings.

    Who knows they might be right this time (a stopped clock is right twice a day) but it seems doubtful.

    So, where will it stop?

    In terms of Gaza, Hamas is still holding Israeli hostages. It’s not going to stop as long as Hamas is holding Israelis hostage.

    Hamas is likely making a lot of money from the suffering of Palestinians. So they don’t have much incentive to release the hostage and put an end to the conflict.

    So it will continue on as the IDF goes house to house trying to find the people that Hamas took on October 7.

    Eventually either the IDF will find all of the hostages or Hamas will release them. Then it will end.




  • There’s nothing wrong with fried chicken. There’s nothing wrong with watermelon.

    But if you’re trying to think of menu options for an event associated with black history and you just shrug and think “I dunno, black people like fried chicken and watermelon, so lets do that” you’re being so lazy you’d be better off doing nothing at all. I literally typed “black history food” into a search and got many pages with lists of options. So by serving fried chicken and watermelon it’s a statement “I don’t give a fuck about black people but since I’m obligated to serve some kind of food option I’m just going to stick with lazy stereotypes.”

    It wold be preferable to do nothing and be honest about not caring than it is to offer a stereotype and then cry crocodile tears because people aren’t recognizing the token effort that was made.