Skip Navigation
Let's do micro service
  • Typical issue of the corportate programming world being a hivemind. Just because many big tech companies use it you can't blindly implement it for your 5 developer team.

    And it for sure has its usecases - like if you run something with constant load swings that does n't need to be 100 percent accurate like Youtube it makes sense. You can have a service for searches, comments, transcoding, recommendations, ... which all scale independently trading in some accuracy. Like when you post a comment another person doesn't need to see it within 1 second on another comment service instance.

  • [Serious] Why do so many people seem to hate veganism?
  • I really don't care what others eat but a lot just of vegans, especially the ones who take it super serious, I had to deal with have just a aura of passive agressive judgmental smugness. Vegetarians not at all from my experience.

  • Samsung is recreating its mid-range Galaxy smartphone mess
  • Its a lost cause, the new A line even in isolation was never "clean". With the 4G and 5G Versions often having very different specs and outlier phones like the A52s being better in every metric to both the A72 and A53. Not to mention that the A0 phones are always a mess with the Core, E and S variants.

  • STOP DOING DEPENDENCY INJECTION
  • Really? From my experience the opposite is the case. I work on a smallish team with 3 other developers and we also have a few spring services with < 100 classes and we constantly run into issues where making changes to a bean causes issues in another unrelated part of the codebase. I can't imagine what a nightmare it would be with a larger codebase and more devs working on it.

  • The categorical hate towards Chromium and non Google Chromium Browsers is absolute nonsense.

    Before you downvote check the community and maybe read my argument.

    In recent times on Lemmy or really in any tech affine corner its become the norm to trash Chrome and ALL other Chromium based browsers. However I’d argue thats complete nonsense and maybe even counter productive. Really Safari and GOOGLE Chrome should be enemy #1. Not smaller Chromium browsers. The fact that two 100% big tech controlled browsers have such a dominating position is the real cause for concern. And lets not pretend that Firefox’s further development is also heavily predicated upon Google writing them a check.

    Because really the issue right now is that the if both Google and Apple come together to start enshittifying their browsers by for example adding invasive DRM that allows websites to deny you service if you run adblockers, rooted or jailbroken devices (like Google tried) with their combined market share of > 90% they could just push through. Since many websites would loose very little in terms of potential users if they outright denied service to any browser (Chromium or not) without that DRM in place.

    However if Google Chrome and Safari had lets say less than 40% market share another 50% was controlled by a dozen or so smaller based Chromium browsers, these browsers could simply first off not merge in these anti features into their codebase and maybe even deny merging any new Chromium changes in protest until Google or Apple give up on it. Because what use is there for Chrome to add new features if only a third of the browsers support it? No website can really use them

    Also I’m still in full support of Chromium’s idea of giving webapps more capabilities. In my opinion giving webapps the ways to access System stuff like Bluetooth, USB Devices, … through a robust permission system and making them a even more viable type of Application is a great cause. The Applications are still sandboxed, they are multiplatform by nature and the web is a very democratic and user-friendly way to distribute them (way more so than the big tech owned Appstores). Or let me put it this way : If i have to run a closed source Application, I at least feel better doing so if its in a sandboxed environment like a browser and without supporting the iron grip the Appstore or Playstore have on their respective platforms.

    My approval for Chromium however does not extend to electron and other “Website packaged as a ‘native’ App” frameworks. Fuck that crap. Especially since 90% could just be a regular Webapp or PWA but yet decide to ship and entire browser along with 1MB of JavaScript code that uses maybe 1% of the Browsers features.

    13
    I'm shocked how much the Appstore sucks in 2024

    Im not usually someone who posts negative stuff, but my god has the Appstore gone down the shitter.

    For context, for the last ~3,5 years I wasn't really actively using any iOS devices. I had an iPad but used it rarely and only really as a Video machine. But now I’m setting up a XS I got for a killer price used (<60€) and of course I looked into the Appstore what the hot new Apps are. And my god nearly everything either constantly asks you for a subscription to use basic shit, is slow af or full of ads.

    For example the „Favorite of the week“ an App called iScanner in my case took 4 seconds (!) to show me anything, which an is abysmal launch time, then shows me the Google ad tracking dialog followed by a clicking the „next“ button 5 times to show me nonsense company propaganda, followed by dialog to subscribe for 4,99€ a month. For a fucking document scanning app. And Apple has the gull to put this garbage in their weekly curated recommendations! And this isn’t the only example. 80% of Apps I downloaded today were removed within 5 minutes.

    I’m honestley smitten by how bad things seem to have gotten. Really the only saving grace is that Apples own built-in Apps have gotten really good, in most cases to the point where downloading something else seems unnecessary. But still things seem to have taken a nose dive over the last 3 years.

    Also to more active Apple users whats your way to find high quality Apps?

    47
    Genuine Question - have you migrated DBMS on a Production System which wouldn't have been possible with vendor lock-in on the backend?

    This is something I have thought a lot recently since I recently saw a project that absolute didn't care in the slightest about this and used many vendor specific features of MS SQL all over the place which had many advantages in terms of performance optimizations.

    Basically everyone always advises you to write your backend so generically with technologies like ODBC, JDBC, Hibernate, ... and never use anything vendor specific like stored procedures, vendor specific datatypes or meta queries with the argument being that you can later switch your DBMS without much hassle.

    I really wonder if this actually happens in the real world with production Software or if this is just some advice that makes sense on surface level but in reality never pans out. I personally haven't seen any large piece of Software switch to a different DBMS, even if there would be long term advantages of doing so, because the risk and work to retest everything would be far too great.

    The only examples I know of (like SAP) were really part of a much larger rewrite or update rather than "just" switching DBMS.

    17
    Any experience with Zen 1 idle power consumption running Proxmox?

    Hi, I'm planning an doing an upgrade to my hardware and I'm eying a used Ryzen 1700 or Ryzen 1800 (they are dirt cheap now and have an excellent upgrade path once people sell of their Ryzen 5000 CPUs).

    I'm however a bit concerned about the idle power consumption of such a System. My plan in terms of Software is to migrate my existing Proxmox System which is running 4 VMs and 6 LXC containers at the moment. Most of which are at &lt; 3% CPU Ut. 99% of the day. Has anyone got any numbers or rough estimates how big the idle power draw of such a System would be? For a graphics card (just to have some kind of display output) I plan to use a GTX 220.

    11
    [Closed] Is there a easy way to share a batch of synchthing folder keys?

    A few months ago I setup my own Synching Server and its been working great. I right now have 7 devices (server itself, phone, tablets, laptops, Desktops, ...) synching files from 5 different folders. The problem I have right now is that adding new folders / devices is a huge hassle since in order for EVERY device to properly be in sync I need to manually add for example a new folder to every device. If I were to add 5 new folders I would need to repeat this 5 times for 7 devices... I think you get the point.

    What I wanna know is if there is a simple way to basically share all the folder keys of a syncthing device with another device without manually copy pasting them? I don't really care if this would be by enabling some setting on the server or by copying around a file (I do this for example with my newpipe subscriptions and use syncthing for that).

    Also just creating one large folder is something I'm trying to avoid since not every device needs everything you loose the ability to fine control individual folders. I for example don't want my phone to start syncing my music library when I'm using data.

    EDIT :

    I played around a bit more and I found out that going into the server and marking all the devices add as introducers sends a notification to all these devices where you can easily share folders!

    9
    Can anyone recommend me a setup to virtualize Linux under Windows that runs smoothly?

    I by now have wasted far too much time trying to setup a VM on my decently decked out machine (i5 13600KF, RTX 3080, 32GB DDR5, Win11 on a 4K Display) to run some kind of Linux in there that runs perfectly smooth - mostly for Development purposes.

    So far I have tried all 3 major vm hosting softwares for windows (VMWare, Hyper V and Virtual Box) along side various (admittedly beginner friendly) distros (Ubuntu, Debian, SUSE, Mint, ...) yet I have not once gotten a System up and running with smooth animations and no notable input latency. Also I have of course turned on Hardware virtualization in my bios and benchmarks usually show that CPU performance seems to be where I expect it.

    So I wanna ask the community what setup they are using under windows that just runs any kind of Linux smoothly and what point I may be missing.

    Also installing Linux natively is not really an option for me since I want to be able to run Multiplayer games and I still consider myself a Linux beginner and don't wanna commit to install Linux directly on my host machine yet.

    23
    [PSA] Oneplus phones on Android 11 are being artificially throttled but there is a fix.

    Hi there, I wanna share this knowledge with about Oneplus phones on Android 11 since I don't think its well known how you to fix it. Basically as a "battery saving meassure" Oneplus is secretly without telling the user limiting performance of a wide range of Apps, like Social Media Apps, Browsers, etc. The performance in some cases can be down by a whooping 75% - which can be quite noticable.

    Unfortunately there is no easy method to turn this behavior off in the Settings App or whatever. But what you have to do is :

    • enter adb shell pm uninstall -k --user 0 com.oneplus.config
    • reboot the phone

    If you want a further explanation and me demonstrating the issue and how its fixed - check out this video : https://www.youtube.com/watch?v=NqYL6ySTIIQ&t=9s

    From my experience I noticed no other issues on my phone and the change had no real impact on my day to day battery life .

    2
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)AL
    aluminium @lemmy.world
    Posts 11
    Comments 590