Lysergid

joined 1 year ago
[–] [email protected] 6 points 4 months ago (2 children)

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

[–] [email protected] 7 points 4 months ago* (last edited 4 months ago)

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.

[–] [email protected] 7 points 4 months ago* (last edited 4 months ago)

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

Dont get me wrong JS is still awful

[–] [email protected] -3 points 5 months ago (4 children)

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

[–] [email protected] 2 points 6 months ago
[–] [email protected] 0 points 6 months ago (1 children)

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.

[–] [email protected] 25 points 11 months ago (23 children)

weekend = dayOfWeek > 5

[–] [email protected] 3 points 1 year ago (7 children)

What do you mean obsolete? People who buy new phone every year will buy new one regardless of is it iPhone or Android.

iPhones actually last longer, especially flagship models. My iPhone 5s (2013) was with me for 7 years and still in use by my relatives. It got around 6 years of iOS updates. Even my low-end iPhone SE (2 gen) from 2020 runs perfectly and still gets latest iOS.

view more: ‹ prev next ›