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

help-circle
  • Just to illustrate the nature of that campaign, at one point and in order to accuse Corbyn of being anti-semitic, they said that he had sat on a panel in a conference where one of the members of the same panel compared the actions of Israel to those of the Nazis, “hence” (by association) Corbyn was an anti-semite.

    The thing is, said member of the panel who compared the actions of Israel to those of the Nazis was a Jewish Holocaust Survivor.

    If such words made Corbyn an anti-semite by association then, having said such words, said panel member would even more so have to be an anti-semite.

    In other words, the anti-Corbyn campaign was so rabid ragingly extremist and sleazy that they were accused a Jewish Holocaus Survivor of being an anti-semite in order to try to taint Corbyn by association.

    PS: And, by the way, this very newspaper - The Guardian - was an active participant in that campaign and published this slander, amongst others.


  • Sorry, but Russia has no legimitate grievances on anything that takes place inside of Ukraine.

    Ditto on the NATO expansion and all that “argumentation” line you’re parroting: Russia and Ukraine are different soverign nations and none of them has any right to force the other to do anything, which does mean that it’s not up to Russia and never was the way Ukraine runs their government including which alliances they join, same as, for example, it was never up to the United States how Iraq was run (and why the American invasion of Iraq was just as immoral as Russia’s invasion of Ukraine and the “Saddam was a murderous dictator” is a totally bollocks excuse).

    Up and until the point one of those nations actually harms the other, none of the has any right to do anything to the other and as it so happens, it was Russia that harmed Ukraine by invading it, so the only nation there with any legitimate grievances is Ukraine.

    In fact since the Russian invasion and occupation of Crimea, Ukraine and Ukraine alone is the one nation of the two with legitimate grivances against the other.

    Your whole “argument” is predicated on the notion that Russia as the large neighbouring nation has a say in the affairs of its smaller neighbouring nation Ukraine, which is just a nakedly imperialist view of the relations between states straight out of XIX century political thinking.




  • Well, that phone is a Xiaomi, not a Samsung (who had already made my shit list some years ago thanks to all their bloat), and the new ROM is just a bloat free MIUI, so from the same maker as the phone.

    And yeah, as somebody else mentioned, if the banking app stopped working it would be the bank losing me - it wouldn’t be the first time I changed banks because they pissed me off.

    Retail banking as a service is a commodity - they’re pretty much all the same - so sticking or not with a bank should be something one does based on cost and convenience and a banking app that doesn’t work on my phone reduces convenience.

    As it so happens my banking app works fine.

    That said, your alert can be important for other people and points one more reason to avoid Samsung like the plague.



  • Thanks in party to the spirit in Lemmy (thanks guys and gals) and getting pissed off at the ever more enshittification, I really went full-on on taking back control, and I don’t mean just changing my home PC (mainly used for Gaming) from Windows to Linux, but also replacing the TV Box that’s bundled with my ISP subscription (and will be changing ISP when the current contract is over) with my own Mini-PC with Lubunto and Kodi (which is also my Torrenting host with an always-on VPN and my home’s NAS) replacing the original Samsung Android (which had been bloated due to updates to the point of filling up all memory) of my aging tablet, with LineageOS and even doing the same on my brand new Smartphone.

    Granted, I’ve always had the spirit of avoiding “smarts” in stuff that doesn’t need it - like TVs - but now I went and as much as possible took back control on even the stuff that does need “smarts”.

    So far I’m quite happy with it all: I’ve maintained (improved, even, such as my Tablet now having more available memory) my level of Tech access whilst cutting of the ways in which companies exploited my time and patience for advertising money - I definitely feel I’m better now than before: a lot of things became more convenient and less restricted than they were before.

    Things are becoming really bad out there when it comes to treating customers as cattle to be milked and I reckon that the only future were Tech is actually a pleasure to use for users is for those people who take control back from the corps on all of their devices.


  • Bullshit!

    If it was about “just vote” you wouldn’t care who for.

    That post of yours is such a perfect example of that very sleazy political propaganda I was talking about that the very first paragraph is already deceitful misrepresentation.

    Then follows the customary use of political slogans from the Book Of Vote Lesser Evil: it’s “unprecedented” vote - again - “fighting for our rights” and, most hilarious of all for the “less fortunate” (trully beyond belief in a country with a grand total of 4 national politicians who are leftwing, and the rest being overwhelmingly hard-right ultra-neolibs or far-right fascists).

    The whole thing reads like somebody who has swallowed the Cool Aid and is giving themselves an excuse to pester everybody else, all very similar to religious nutters proselytizing.

    From the outside it’s like watching the Russian Elections but for a country with a Power Duopoly instead of a Power Monopoly, complete with people in their minds boosting way out of proportion the small differences between those two cheeks of the same arse that pass for Political Parties, to convince themselves they actually have a choice (lest they realize having the country governed for the many, not for the fatcats, is never going to happen in that electoral system and they have to do something about it) in some kind of country-sized Stockholm Syndrome.

    It would be hilarious if it wasn’t so sad.




  • I was already a dev in a small IT consultancy by the end of the decade, and having ended up as “one of the guys you go to for web-based interfaces”, I did my bit pushing Linux as a solution, though I still had to use IIS on one or two projects (even had to use Oracle Web Application Server once), mainly because clients trusted Microsoft (basically any large software vendor, such as Microsoft, IBM or Oracle) but did not yet trust Linux.

    That’s why I noticed the difference that Red Hat with their Enterprise version and Support Plans did on the acceptability of Linux.



  • CRT monitors internally use an electron gun which just fires electrons at the phosporous screen (from, the back, obviously, and the whole assembly is one big vacuum chamber with the phosporous screen at the front and the electron gun at the back) using magnets to twist the eletcron stream left/right and up/down.

    In practice the way it was used was to point it to the start of a line were it would start moving to the other side, then after a few clock ticks start sending the line data and then after as many clock ticks as there were points on the line, stop for a few ticks and then swipe it to the start of the next line (and there was a wait period for this too).

    Back in those days, when configuring X you actually configured all this in a text file, low level (literally the clock frequency, total lines, total points per line, empty lines before sending data - top of the screen - and after sending data as well as OFF ticks from start of line before sending data and after sending data) for each resolution you wanted to have.

    All this let you defined your own resolutions and even shift the whole image horizontally or vertically to your hearts content (well, there were limitations on things like the min and max supported clock frequency of the monitor and such). All that freedom also meant that you could exceed the capabilities of the monitor and even break it.


  • In the early 90s all the “cool kids” (for a techie definition of “cool”, i.e. hackers) at my University (a Technical one in Portugal with all the best STEM degrees in the country) used Linux - it was actually a common thing for people to install it in the PCs of our shared computer room.

    Later in that decade it was already normal for it to be used in professional environments for anything serving web pages (static or dynamic) along with Apache: Windows + IIS already had a lower fraction of that Market than Linux + Apache.

    If I remember it correctly in the late 90s RedHat started providing their Enterprise Version with things like Support Contracts - so beloved by the Corporates who wanted guarantees that if their systems broke the supplier would fix them - which did a lot to boost Linux use on the backend for non-Tech but IT heavy industries.

    I would say this was the start of the trend that would ultimately result in Linux dominating on the server-side.


  • The Political Propaganda machine in the US is now at full steam given how near their Presidential Election is, so we get innundated with “vote X” and “X is great” posts along with “Y is bad” ones.

    Advertising has become so abusive that you can’t browse anymore without and AdBlocker, and Political Propaganda is just a more manipulative form of advertising, often pushed by people deeply emotional bound to “their club” (funnilly enough, I also avoid Sports stuff, as it suffers from exactly the same problem) hence far more insiduous and aggressive.

    Then to make it even worse, this electoral cycle in the US is all about doom-mongering with not a single message of hope or a bright vision for the Future: in other words, everybody is selling Fear, which at least in traditional Advertising is uncommon.


  • Aceticon@lemmy.worldtoLemmy Shitpost@lemmy.worldCasual reminder
    link
    fedilink
    arrow-up
    23
    arrow-down
    3
    ·
    4 days ago

    It looks a lot like in a way History is repeating itself: the Democrat Establishment in the US (who are a hard neoliberals, not lefties) fielded directly and without a Primary a guy like Biden who is less than in his prime and even supports an ethno-Fascist regime commiting Genocide (and, more importantly, is unwilling to walk back on that support even to improve his odds of winning against Trump, which is what we are being told is the most important thing in the World) all of which is making it far more likely that the Fascists will get power.

    There are vast contradictions between what we are being told is the danger of Trump getting elected and the DNC and Biden persistently making choices that increase the chances of Trump getting elected and not walking back on those.

    Surelly if “Stop Trump” is the most important thing in the World for them, the Democrat Establishment too would be walking towards the wishes of the electorate not just trying to push the electorate to do all the walking towards the wishes of the Democrat Establishment.


  • If it’s part of the Requirements that the frontend should handle “No results found” differently from “Not authorized”, even if that’s just by showing an icon, then ach list of stuff which might or not be authorized should have a flag signalling that.

    (This is simply data analysis - if certain information is supposed to be shown to the user it should come from somewhere and hence the frontend must get it from somewhere, and the frontend code trying to “deduce it” from data it gets is generally prone to the kind of problem you just got because unless explicitly agreed and documented, sooner or later some deduction done by one team is not going to match what the other team is doing. Generally it’s safer just to explicitly pass that info in a field for that purpose to avoid frontend-backend integration issues).

    Authorization logic is almost always a responsibility of the backend (for various reasons, including proper security practices) and for the frontend it’s generally irrelevant why it’s authorized or not, unless you have to somehow display per-list the reason for a it being authorized or not, which would be a strange UI design IMHO - generally there’s but a flag in the main part of the UI and a separate page/screen with detailed authorization information - if the user really wants to dig down into the “why” - which would be using different API call just to fill in that page/screen.

    So if indeed it is required that the frontend knows if an empty result is due to “Not Authorized” rather than “No results found” (a not uncommon design, though generally a good UI design practice is to simply not even give the user access to listing things the user is not authorized to see rather than let the user chose them and then telling them they’re not authorized to do it, as the latter design is more frustrating for users) that info should be an explicit entry in what comes from the backend.

    The JSON is indeed different in both cases, but if handled correctly it shouldn’t matter.

    That said, IMHO, if all those 3 fields in your example should be present, the backend should be putting a list on all 3 fields even if for some the list is empty, rather than a null in some - it doesn’t matter what the JSON is since even at the Java backend level, a List variable with a “null” is not the same as a List variable with a List of length 0 - null vs empty list is quite a common source of mistakes even within the code of just the one tier, though worse if it ends up in API data.

    Who is wrong or right ultimately depends on the API design having marked those fields as mandatory or optional.


  • That sounds like an error in the specification of the client-server API or an erroneous implementation on the server side for the last version: nothing should be signaled via presence or absence of fields when using JSON exactly because, as I described in my last post, the standard with JSON is that stuff that is not present should be ignore (i.e. it has no meaning at all) for backwards compatibility, which breaks if all of the sudden presence or absence are treated as having meaning.

    Frankly that there isn’t a specific field signalling authorized/not-authorized leads me to believe that whomever has designed that API isn’t exactly experienced at that level of software design: authorization information should be explicit, not implicit, otherwise you end up with people checking for not-in-spec side effects like you did exactly for that reason (i.e. “is the no data being returned because of user not authorized or because there was indeed no data to retunr?”), which is prone to break since not being properly part of the spec means any of the teams working on it might interpret things differently and/or change them at any moment.



  • If I remember it correctly, per the JSON definition when a key is present but not expected it should be ignored.

    The reason for that is to maintain compatibility between versions: it should be possible to add more entries to the data and yet old versions of the software that consumes that data should still continue to operate if all the data they’re designed to handle is still there and still in the correct format.

    Sure, that’s not a problem in the blessed world of web-based frontends where the user browser just pulls the client code from the server so frontend and backend are always in synch, but is a problem for all other kinds of frontend out there where the life-cycle of the client application and the server one are different - good luck getting all your users to update their mobile apps or whatever whenever you want to add functionality (and hence data in client-server comms) to that system.

    (Comms API compatibility is actually one of the big problems in client-server systems development)

    So it sounds like an issue with the way your JavaScript library handles JSON or your own implementation not handling per-spec the presence of data which you don’t use.

    Granted, if the server side dev only makes stuff for your frontend, then he or she needs not be an asshole about it and can be more accomodating. If however that data also has to serve other clients, then I’m afraid you’re the one in the wrong since you’re demanding that the backwards compatibility from the JSON spec itself is not used by anybody else - which as I pointed out is a massive problem when you can’t guarantee that all client apps get updated as soon as the server gets updated - because you couldn’t be arsed to do your implementation correctly.