technology Technology Ford Chairman & CEO Jim Farley Wakes After Decade-long Nap, Shocked By China's EVs - CleanTechnica
Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLY
    Lysergid
    10 hours ago 65%

    That was my first thought, but is that much different for say Tesla. They get tax breaks and pay as low as they can. Don’t get me wrong I not protecting China’s way, I’m rather against both. But it would be interesting to see numbers from both sides

    7
  • technology Technology Ford Chairman & CEO Jim Farley Wakes After Decade-long Nap, Shocked By China's EVs - CleanTechnica
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLY
    Lysergid
    10 hours ago 100%

    AFAIK major contributor into low Chinese EV prices are subsidies and tax breaks for manufacturers. I know they have significant tax breaks in US. It would be interesting to see how they compare. Because if they are mostly on par this is pure corporate greed stopping them. Especially in case of Tesla. They are not overpaying workers and don’t use luxury materials

    4
  • programming Programming Why Don’t Tech Companies Pay Their Engineers to Stay?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLY
    Lysergid
    2 weeks ago 100%

    Though in reality, management will push back any unorthodox approaches/solutions/approaches as risk and additional losses on R&D.

    2
  • programming Programming CORS is Stupid - Kevin Cox
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLY
    Lysergid
    3 weeks ago 66%

    ‘’’ Note: When I say “top-level” I am talking about the URL that you see in the address bar. So if you load fun-games.example in your URL bar and it makes a request to your-bank.example then fun-games.example is the top-level site. ‘’’ Meaning explicit creds won’t be sent. Even if fun-games knows how to send explicit creds, it can’t because fun-games does not have access to creds which stored for your-bank. Say suppose your-bank creds stored in local store. Since current URL is fun-games it can only access local storage of fun-games, not your-bank.

    1
  • programming Programming CORS is Stupid - Kevin Cox
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLY
    Lysergid
    3 weeks ago 25%

    Thank you! I was always wondering why the heck this (mostly) useless and broken mechanism exists. I had hesitations about disabling it but had doubts about my understanding. Now I know I’m right

    -2
  • programming Programming What is your preferred API error response and why?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLY
    Lysergid
    3 weeks ago 100%

    “Stateless” is not what “I” want, it is part of definition of REST.

    Can do != what spec says you should do. You can also send clown version from the post but don’t be surprised people will find it… funny

    Again, I’m not telling you are doing wrong. I’m telling you are mixing REST and RESTful web services

    1
  • programming Programming What is your preferred API error response and why?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLY
    Lysergid
    3 weeks ago 25%

    REST calls are same as in 2001. There is no REST 2.0 or REST 2024. Because REST is architecture guideline. It’s just more data sent over it today. HTTP code IS code. Why your system issued it is implementation detail and have nothing to do with resource representation. Examples you provided are not 403. “Too many users active” does not exist in REST because REST is stateless, closest you can get is “too many requests” - 429. Insufficient permissions is 401. I don’t even know what is “blocked by security” but sounds like 401 too. Regardless, you should not provide any details on 401 or 403 to client as it is security concern. No serious app will tell you “password is wrong” or “user does not exist”. Maximum what client should hope for is input validation errors in 400.

    For those with “internal tool, I don’t care” argument - you either do not know what security in depth is or you don’t have 403 or 401 scenario in the system in the first place.

    Now hear me out, you all can do whatever you want or need with your API. Have state, respond with images instead of error codes, whatever, but calling it REST is wrong by definition

    -2
  • lemmybewholesome Lemmy Be Wholesome Need more positive masculinity. Like what you see? Ask about it and learn from them
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLY
    Lysergid
    3 weeks ago 88%

    Imagine how much more common this positive vibe would be if people wouldn’t need to spend at least 1/3 of their life trying to meet ends in competitive environment

    13
  • fuck_cars Fuck Cars This might be the worst bus stop I've encountered
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLY
    Lysergid
    3 weeks ago 100%

    Why sit there 5 mins? This looks like normal city bus stop. Bus arrives at scheduled time, picks up passengers and takes off. I believe great ‘merica supper power nation can manage what Eastern Europe nations made happen years ago. Yes you may have few mins delays but it’s not a disaster.

    If for whatever reason it must sit there for long time bust stop should be in a bay

    2
  • fuck_cars Fuck Cars This might be the worst bus stop I've encountered
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLY
    Lysergid
    4 weeks ago 100%

    I believe car drivers are capable of waiting 15 seconds while vehicle which most likely transports multiple times more passengers dropping/picking those passengers. Car drivers wait hours in traffic jams for themselves, can wait a bit for bunch of people in a bus

    4
  • fuck_cars Fuck Cars This might be the worst bus stop I've encountered
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLY
    Lysergid
    4 weeks ago 100%

    Crossings should be safe for humans and bikes. Meaning, they should be short and bikes should not be ridden across intersections if no bike lane

    4
  • fuck_cars Fuck Cars This might be the worst bus stop I've encountered
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLY
    Lysergid
    4 weeks ago 100%

    Better explain why pedestrian crossings are stretched so much instead of being on shortest trajectory to other side

    23
  • privacy Privacy Apple, Google wallets to carry California driver's licenses
    Jump
    programming Programming It's probably time to stop recommending Clean Code @ Things Of Interest
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLY
    Lysergid
    1 month ago 73%

    Folks really trying to argue about example code. Even created “global state” straw man. Here is secret - if you are using global state then code is shit in the most cases.

    7
  • technology Technology Bungie CEO faces backlash after announcing 220 employees, or 17% of its workforce, will be laid off | Pete Parsons has spent $2.4 million on classic cars since Sony acquired Destiny developer Bungie
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLY
    Lysergid
    2 months ago 50%

    removed, stop buying your metal scrap and pay your devs. I wanna play Marathon this century

    0
  • memes memes Tag yourself I'm phyrric Ukrainian victory
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLY
    Lysergid
    2 months ago 100%

    Odesa people were always autonomous in their minds. If Odesa will be given to russia via treaty there is a high chance it will rebel.

    5
  • china China Discussion of new Rule 4: Do not promote or put drugs/alcohol/tobacco/weed/psychedelics/inhalants in a positive light.
    Jump
    technology Technology New Mastodon feature will highlight writers and journalists that are active on the fediverse when their articles are being shared
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLY
    Lysergid
    3 months ago 87%

    I’m not sure how I feel about it. Don’t want this to cause “share” bots networks which will pump particular posters. Next logical think to do is to start showing more from those posters, which will kill the hole point of consuming content from fediverse for me. I don’t want to see same things from same people. I want diverse content from different posters

    6
  • news news The bubble finally burst. Majorities in Europe, and large minorities in US and Canada,. express no or not much confidence in Zelensky.
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLY
    Lysergid
    3 months ago 100%

    I’ll assume this is a legitimate question and not “clever whataboutism”.

    Answering your question now. Realistically there are 3 scenarios:

    • frozen conflict
    • peace deal which will last until Russia will want more. Then story will repeat, unless Ukraine will somehow get NATO membership (doubt)
    • change of power in Russia

    Two of them sucks for Ukraine and last one is too unpredictable for whole region if not world

    1
  • news news The bubble finally burst. Majorities in Europe, and large minorities in US and Canada,. express no or not much confidence in Zelensky.
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLY
    Lysergid
    3 months ago 50%

    Wut? When “liberation” of Russia became Ukraine’s goal? People really say this? Ukraine shall not follow Russia’s book and make imaginary excuses to intervene into other country. I mean, after Russia capitulate of course. At the moment Ukraine can do whatever needed to liberate its territories. Though, having Russian regiments to overthrow regime could increase Ukraine’s security. But I believe Ukraine will have much more important job in Ukraine itself after war.

    0
  • worldnews World News Putin’s trip to the Democratic People’s Rep. of Korea, Socialist Rep. of Vietnam weakens U.S. neoimperialism
    Jump
    worldnews World News Putin’s trip to the Democratic People’s Rep. of Korea, Socialist Rep. of Vietnam weakens U.S. neoimperialism
    Jump
    chat chat Where do russians fall on the whiteness scale?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLY
    Lysergid
    3 months ago 100%

    As other commentator said this odd thing to ask. Definitely not at rainbow scale. On the serious note, I guess we are talking about ethnic Russians coz there are many ethnicities in Russia. I have no idea how “white scale” looks like but I guess not completely white coz they’ve been fucked by mongols for a while, like many others.

    6
  • programmer_humor Programmer Humor Trying to understand JSON…
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLY
    Lysergid
    3 months ago 100%

    Kinda, I guess we all can agree it’s more typical to deserialize into POJO where theres is no such thing as missing field. Otherwise why would you choose Java if you don’t use types. This great precondition for various stupid hacks to achieve „patching” resources, like blank strings or negative numbers for positive-only fields or even Optional as a field.

    6
  • worldnews World News Russian space control center in Crimea struck by Ukrainian ATACMS missiles
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLY
    Lysergid
    3 months ago 88%

    You talking about those forcefully recruited after being blackmailed into accepting Russian passport or those who already had it before 2014 and were sent there after? Yes, sure, there are people who genuinely wanted those regions to be part of Russia. As there are Russians fighting on Ukraine’s side. Following your logic Ukraine or other “high moral” party should’ve run “special military operation” to help Russian Freedom Legion to overthrow Putin. Why not mentioning Crimea’s tatars in Russian army? Is it coz they were repressed, their property was taken and they were forcefully moved out of their native lands? Why their ethnicity is not that important? Can’t absorb Russian identity nationalism to the degree they blindly follow their tsar? Or better tell us if Russia is so pro-ethnicity independence then why Russia taking down those Dagestan rebels? Or not giving Siberia’s people independence? “That’s all western propaganda” you’ll say. Don’t bother.

    I’m join my neighbor in request to you to fuck ff. Don’t make me mad and keep “your” imperialistic opinion for Russian Empire fan meetup. The only anecdote here is you

    7
  • programming
    Programming Lysergid 3 months ago 100%
    How to find truth in Agile?

    Hello my fellow, lemons? I have this problem in my current project I’m out of clue how to approach it. Maybe someone had similar experience and can give an advice. Our requirements captured in JIRA. Throughout years we accumulated thousands of user stories. Say suppose following naive requirements *team* knows about: - Day 1: create home page - Day 20: create profile page - Day 50: add green footer to all pages - Day 100: create admin page Day 150: change footer color to blue Now I’m doing refactoring (yes, I know, this is the actual problem) on day 400 and noticed that footer on profile page having green footer. Because requirements are just set of individual statements not consolidated with all history of system no one on the team knows why is that, is it bug or requirement did change on day 300 but we cant find it now. When I worked in Waterfall we had BRD and FRD stating current actual desired state of system which was “reduced” from individual requirements which were coming in throughout project life. When in doubt devs can check FRD and not only know how system expected to behave but also which are other parts of the system that will be affected. How is it in Agile? To my understanding FRD is not a thing in Agile. Do I need to scan through hundreds of tickets and hope I didn’t miss anything every time i’m doing any non-trivial change to system?

    9
    6
    communism Communism Protestation
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLY
    Lysergid
    3 months ago 54%

    IDK why you got downvoted. Is it coz you are not actively promoting communism as silver bullet? But rather pointing out fact that all known approaches have issues

    1
  • programming Programming What is the deal with API documentation that can seem so terse to a hobbyist?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLY
    Lysergid
    3 months ago 100%

    Agree. I find “get started” usually is the best way to give an example of “entry point” to API. After that API documentation should get anyone covered for most of the cases. If API is big then it probably has primary and secondary set of features. Secondary then can be covered as tutorials.

    8
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLY
    Lysergid
    3 months ago 88%

    How about SQL in PostgreSql? query: select array_length(Array[]::text[], 1) Output: null

    Dont get me wrong JS is still awful

    7
  • technology technology Copilot 'AI' autosuggesting user responses putting *you* in the Copilot seat
    Jump
    programmer_humor Programmer Humor Not really sure whether S-expressions or Python indentation-based scoping get more hate...
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLY
    Lysergid
    4 months ago 36%

    No it’s how Python wants you to format. Many times I want to separate two logical sections in one function and can’t coz Python go crazy

    -5
  • technology Technology South Korean military set to ban iPhones over ‘security’ concerns
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLY
    Lysergid
    5 months ago 50%

    I don’t know. Maybe read article. It says „Korean military”. According to them stock Android with 3rd party security app is acceptable and has no security concerns. Article itself highlights that 3rd party security apps are inferior and security holes in Android OS are basically neglected by Korean military since they will be addressed in updates at some point.

    OS does not matter when approach to security so superficial. Judging by this article Korean military has less robust security practices than some banks.

    Everyone here talking about some hypothetical Android based custom OS built for Korean military which does not exist and it is not what Korean military doing. They are allowing stock Android OS with „security app”. Not surprised they are not building custom OS because it is economically idiotic idea. You need army of cyber security experts familiar with Android OS architecture that will review whole OS code and customize for military. Then you need to pen-test it and keep on doing it on each upstream OS update or fork it and maintain internally. Which is another can of worms coz you’ll need to make sure internal fork works fine with up-to-date versions of apps. Otherwise you just have dumb smartphone with higher risk of vulnerabilities in outdated apps. At this point as I said, just force sensitive staff to use dumb phone or internal landline.

    And don’t tell me “but Samsung is Korean they can do it for Korean military”. It doesn’t not change the fact that it will cost astronomical amount of money and time. Can Samsung do it? Probably yes. Will Korean military be able to offer enough money to probably the only local company that can do it which also has revenue of approx. 20% of Korea’s GDP. I doubt.

    0
  • technology Technology South Korean military set to ban iPhones over ‘security’ concerns
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLY
    Lysergid
    5 months ago 25%

    Any software is “trust me bro” or you personally read through all source code of all software you are using? Question is can you make accountable bunch of folks from github or legal entity?

    -6
  • technology Technology South Korean military set to ban iPhones over ‘security’ concerns
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLY
    Lysergid
    5 months ago 20%

    I’ll tell it again. You’ll have security concerns on any Internet/Bluetooth capable device. There is no software without vulnerabilities. There is software in which vulnerabilities were not found, yet. Also, the biggest attack vector is human

    -6
  • technology Technology South Korean military set to ban iPhones over ‘security’ concerns
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLY
    Lysergid
    5 months ago 14%

    Lol. Android phones definitely have no security concerns. Any internet/Bluetooth capable device can be potentially compromised. Just use Nokia 3310

    -24
  • linux Linux Linux continues to be above 4% on the desktop
    Jump