3,880 karma · joined Apr 2, 2013 (13y ago) · 1,322 submissions
comment 2y ago · link · parent
The UK had a very beneficial (for the UK populace) position. Disinformation campaigns fueled by oligarchs and Russian money got the population to score an own goal. Gains for the few, destruction for the others.
But as one of those wealthy politicians said, "at least the fish are now happy".
comment 2y ago · link · parent
If Telegram did actually prioritize private and secure communication, they would indeed be just a data pipe and nothing could be shared with law enforcement.
comment 2y ago · link · parent
America lives of a constant influx of the best global talent and a global market for its products.
I would bet my money that American democracy would not survive when that ecosystem collapses, especially not as the American system has already transitioned into an anocracy according to some. Collapse in itself would create opportunities, but not for a simple programmer as you refer to yourself.
comment 2y ago · link · parent
This.
Plus:
- America gets soft power in return, countries keep American interests in eye too. This requires understanding the concept of win-win versus the you lose-I win mentality.
- Economic contraction. There is not much growth and prosperity in a world of feuding dictatorships. Incentives in those systems are opposite to global well fare.
For American oligarchs, like for their Russian counter parts, there might be some insane short-term opportunities. Chances for the sharks, not for you though. You are fish.comment 2y ago · link · parent
---
* I hate to make this remark, as this could indeed be someone happily doing his hobby. Otoh, after xz we should be more vigilant than we were already.
comment 2y ago · link · parent
> The unknown attackers behind the compromise infected at least four servers inside kernel.org, the Internet domain underpinning the sprawling Linux development and distribution network, the researchers from security firm ESET said. After obtaining the cryptographic hashes for 551 user accounts on the network, the attackers were able to convert half into plaintext passwords, likely through password-cracking techniques and the use of an advanced credential-stealing feature built into the malware. From there, the attackers used the servers to send spam and carry out other nefarious activities. The four servers were likely infected and disinfected at different times, with the last two being remediated at some point in 2011.
Should be at front.
comment 2y ago · link · parent
Sometimes you really want to make sure someone is not going to introduce billion dollar bugs, by making the type different from the underlying representation. In Haskell that would be sth like
newtype Temperature = Int
At other times, you just want to document in stead of forcing semantics. A contrived example: type AgeMin = Int
type AgeMax = Int
isAdmissible :: AgeMin -> AgeMax -> Bool
isAdmissible :: Int -> Int -> Bool // less clearcomment 2y ago · link · parent
That is if you rent rack space. If you rent bare metal and the bare metal has a failing disk, you file a request to replace said disk, and the data center engineer will be plugging cables, not you.
That means you have to worry about hardware failures, but you don't have the inconvenience of having to be physically present.
comment 2y ago · link · parent
(Also, at Hetzner you can even rent their network hardware if you want to make custom solutions.
comment 2y ago · link · parent
Json got introduced because XMLHttpRequest was an IE-only component. Data exchange was done mostly between servers, back then the front-end was really dumb. Why xml got slowly replaced is because that for machine generated data, json proved to be sufficient. Any json library is easier to work with then their xml counterpart, exactly because of what we discuss here.
comment 2y ago · link · parent
It strikes me that the more useful additions are implemented by Firefox, and the lesser ones not.
I had expected that by now we would have a super light (kernel) spec for SPAs, and the heavier spec for design heavy documents. Chrome cannot keep up with Firefox wrt CSS performance. I don't understand why Google is overloading its own camel; the web is not going to render faster with more added complexity.
comment 2y ago · link · parent
Like using the apis that fully utilize spans. Also, I have the feeling (but nothing tangible) that old .net and .net core do behave differently wrt async stuff too.
comment 2y ago · link · parent
They vary in syntax and how they deal with scalars, objects and collections. Having to write 'myKey' is a bit unfortunate in json for example. Still, for any document larger than 20 lines yaml will fall apart easily.
Xml (dialects) mark the beginning and end of nodes explicitly, which deviates from json/yaml. Xml can represent nodes within the value, which is impossible for json/yaml. To convert such xml value to the latter, you have to break up such a node in fragments and represent them as a collection in json/yaml.
comment 2y ago · link · parent
Maybe this opinion piece might help: https://www.codeproject.com/Articles/5366945/Multiplatform-X...
His conclusions:
«Now what I mean by "better" - it (ed: Avalonia) allows considerably faster development, maintenance and support of the products. In particular:
- It is a more powerful UI package allowing much more re-use and creating shorter code faster to achieve the same functionality. Part of the reason for that is that it is not confined to WinUI/UWP bounds - it is actually more powerful than WPF which is in turn better than WinUI or UWP. Another reason is that it has a better implementation with a lot of code re-usable across all of the platforms while Uno and MAUI essentially have completely different implementations for each of their platforms.
- There are many features in Avalonia that are not implemented in Uno or MAUI, while I do not know a single feature implemented for Uno or MAUI that would not work in Avalonia. If someone knows a single feature available in Uno or MAUI but not available in Avalonia, please mention it in the comments and I will refer to it in this article.
- Avalonia covers all the same platforms as Uno and more than MAUI does and has considerably fewer differences between behaviors on various platforms.
- Avalonia is easier to switch to for an expert WPF developer than to Uno or to MAUI.»comment 2y ago · link · parent
I had a chuckle about this one. Seriously, none of MS crap comes close to a modern rolling release distro + KDE.
> Show me an open source O365 and you might have something fit for an SME or government.
Libre Office is pretty good, but its usability needs lots of work. To this day Libre Office still ships with templates that look like they were designed in 1998.
- You want a quick and dirty document or presentation that looks pretty good: MS Office is the winner.
- You want a large document with lots of figures, captions etc: Libre Office is the winner.Try to keep a larger document meticulously styled with named styles, MS Word will trip over tons of its bugs that lurks in the dark, and it will make an non-salvageable mess of figure placement, caption numbering, losing header formatting and what not.
What OSS software needs is more investment in UX. Libre Office needs a reality check here. In this respect KDE is a great outlier, as it looks great, is responsive and has tons of pro features that are discoverable.
comment 2y ago · link · parent
Maybe I am overlooking because I am not a pythonista, but when looking at this code [1] I see only some superficial hints. Looking at `_make_command`, I need to look inside the body to see that the first argument is expected (?) to be callable (it just ignores otherwise).
____
1. https://github.com/pyinfra-dev/pyinfra/blob/3.x/pyinfra/api/...