• 0 Posts
  • 23 Comments
Joined 8 months ago
cake
Cake day: November 21st, 2023

help-circle

  • I’m pretty sure it’s more like

    Junior dev: Got all the nice addons, RGB lighting, only uses dark theme, got all the stickers, works from either a café or moms basement.

    VS Senior dev: Works on company standard issue hardware, barely customizes visuals (but got a script which makes a cup of coffee on the shared machine in exactly 2 minutes and 30 seconds), works in shared office, has old rolling cabinet with unknown artifacts last touched 10+ years ago.

    Obviously this is an overgeneralization and not a catch-all, you might even say that it’s “programmer humor”.




  • Agreed for induction, but I’d mich rather use one or two minutes more cleaning the knobs than having to almost cook my finger on this 60-90 degree Celcius hot conventional stove’s touch surface to change the plate from step 7 to 4 for 10 FUKKEN SECONDS! OUCH!

    Having to restart it 2-3 times during cooking because it got confused (pan moved slightly to the side) is also rather annoying.

    Edit & tl:dr: Touch works decent on induction, just please keep it far away from any conventional stoves.




  • Same, I’ve got an Opel Corsa from 2016, so it’s pretty much brand new.

    The only things in the wheel are the speed control, wipers, and default lights.

    For everything else required for driving, such as fog lights, emergency lights, front and back Window heating, AC, radio, and of course the shift stick, I’ll need to remove a hand from the wheel.

    Luckily for me, the Touchscreen in the middle only handles less important things like navigation and external music sources.



  • Neural nets are a technology which is part of the umbrella term “machine learning”. Deep learning is also a term which is part of machine learning, just more specialized towards large NN models.

    You can absolutely train NNs on your own machine, after all, that’s what I did for my masters before Chatgpt and all that, defining the layers myself, and also what I do right now with CNNs. That said, LLMs do tend to become so large that anyone without a super computer can at most fine tune them.

    “Decision tree stuff” would be regular AI, which can be turned into ML by adding a “learning method” like a KNN or neural net, genetic algorithm, etc., which isn’t much more than a more complex decision tree where decision thresholds (weights) were automatically estimated by analysis of a dataset. More complex learning methods are even capable of fine tuning themselves during operation (LLMs, KNN, etc.), as you stated.

    One big difference from other learning methods and to NN based methods, is that NN likes to add non-weighted layers which, instead of making decisions, transform the data to allow for a more diverse decision process.

    EDIT: Some corrections, now that I’m fully awake.

    While very similar in structure and function, the NN is indeed no decision tree. It functions much the same as one, as is a basic requirement for most types of AI, but whereas every node in a decision tree has unique branches with their own unique nodes, all of a NN’s nodes are interconnected to all nodes of the following layer. This is also one of the strong points of a NN, as something that seemed outrageous to it a moment ago might have become much more plausible when looking at it from a different point of view, such as after a transformative layer.

    Also, other learning methods usually don’t have layers, or, if one were to define “layer” as “one-shot decision process”, they pretty much only have a single or two layers. In contrast, the NN can theoretically have an infinite amount of layers, allowing for pretty much infinite complexity as long as the inputted data is not abstracted beyond reason.

    At last, NN don’t back-propage by default, though they make it easy to enable such features given enough processing power and optionally enough bandwidth (in the case of chatGPT). LLMs are a little different, as I’m decently sure they implement back-propagation as part of the technologies definition, just like KNN.

    This became a little longer than I had hoped, it’s just a fascinating topic. I hope you don’t mind that I went into more detail than necessary, it was mostly for the random passersby.


  • AI is a very broad term, ranging from physical AI (material and properties of a robotic grabbing tool) to AI (as seen in many games, or in a robotic arm to calculate path from current position to target position) and to MLAI (LLM, neural nets in general, KNN, etc.).

    I guess it’s much the same as asking “are vehicles bad?”. I don’t know, are we talking horse carriages? Cars? Planes? Electric scooters? Skateboards?

    Going back to your question, AI in general is not bad, though LLMs have become too popular too quick and have thus ended up being misunderstood and misused. So you can indeed say that LLMs are bad, at least when not used for their intended purposes.




  • Criminals will always find a way. Make a surveillance state, and they’ll just break the law and use encrypted communication anyway. Might even hide data in other data if necessary.

    That said, I’d wager that there are quite a few of those communities hidden in plain and unencrypted sight (discord, fediverse, etc.), but they just keep it small enough to not be found (The ones on discord did get found out eventually, but probably just moved platform). So the question would aris: why do these exist when we apparently have the resources to monitor EVERYONE given the chance?

    Best you can do is to report communities and places where it runs rampant to the relevant authorities. That’s much more efficient than the authorities having to make privacy-violating laws and crawl the net themselves.




  • Sure, I can tell you what little i know. The best, but probably also toughest, place to start is likely the ArchLinux forums.

    Wine handles the lifting. Proton, Glorious Eggroll (GE), etc. can be seen as content packs, packing some additional tools and dependencies commonly found in gaming. There exist a lot of other “flavours” of Wine, all with their own specialization, though pure Wine is usually fine for most non-gaming and non-Peripheral (flashing hardware) cases.

    The most usefull terms I’ve come across when tinkering are:

    • Runner: Location of the specific wine installation. Isn’t actually named “runner”.
    • Prefix: Location of the Wine-OS-layer in which the magic will happen. Don’t use the default when tinkering, and clear it when wanting to make a clean attempt.
    • wine: Usually found in <runner>/bin/wine. It’s the default way to start executables using wine.
    • wineconsole: Found next to wine, opens the executable in a cmd-like console usefull for running .bat files.
    • winecfg: Also found next to wine, default configurator for wine, handles dlls, registry, and general settings.
    • winetricks: A configuration tool which provides an easy way to install the most well-known dependencies and just functions as a nice “more powerful winecfg”.
    • Once Wine is running, C:\\ will be the prefix, and Z:\\ is your Linux computer. You can usually install/run things outside the prefix C:\\, but sometimes it just won’t work, so better try moving it inside if it just don’t wanna.

    Running an exe, be it the program you want to get running or a dependency, in the terminal looks something like:

    WINEPREFIX="/path/to/my/prefix" "/path/to/runner/bin/wine" "/path/to/executable.exe"

    And the neat part is, that to run wine using, say, Proton-GE, you’d just go:

    WINEPREFIX="/path/to/my/prefix" "/home/$USER/.local/share/Steam/compatibilitytools.d/GE-Proton8-25/files/bin/wine" "/path/to/executable.exe"

    If you want to just use your default WINE installation, you’d leave out the runner part, and just go:

    WINEPREFIX="/path/to/my/prefix" "/path/to/executable.exe"

    Now, that’s all good and dandy, but who in their right mind uses the terminal anymore?

    Bottles, Playonlinux, Lutris, Heroic, and now Steam too (kinda) are launchers which pack some quality of life tools to make creating, running, and tinkering with Wine easier. What launcher you prefer is totally up to you, as they all come with their own ups and downs. Like I stated before, I like Lutris’ Wine runtime packs, but their interface confused me the first time I tried it, so probably not great for starters.

    Heroic is nice to look at and simplistic, It doesn’t have a whole bunch of customization options, but it has easy-to-access shortcuts to winetricks and winecfg.

    I’ve tried Bottles, and while they provide some appreciated commonly-used dependencies and their user interface is pleasant to look at, they make it unnecessarily difficult to properly tinker with Wine, and for some reason they have to hide and rename everything? Bottles is probably fine for most people, especially for beginners who don’t plan on diving far, but I just couldn’t get comfortable with it.

    If you’re tinkering with WINE (or even Proton) using Steam, you’ll probably have a bad time, but they do provide a good collection of games which work out-of-the-box. Not useful for much else wine-related, besides providing Proton and a massive boost to Wine.

    At last: Wine logs are weird. I’ll need to learn to read them at some point, but they are so filled with errors and warnings that just naturally exist but don’t attribute to your specific problem that they are borderline useless if you’re not 100% familiar with them. And don’t expect two computers to run an executable the same way just because they use the same Wine runner and Prefix. Wine’s no virtual box.

    If anyone knows more, or if I said something factually wrong, then please feel free to correct me.

    == Regarding SketchUp ==

    I’m not sure how far you got and I’m not sure about your skill level, so please excuse me if you already got this far, but according to WineHQ you’ll need to run a rather lengthy command to get it working. By szilveszter:

    Thanks for the comments and help. The program can be installed and used as follows: (1) Installation All selectable languages must be enabled. Even so, an ‘invalid handle’ message is generated, but the installation is completed. (2) Starting the program with NVIDIA graphics processor: __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia WINEPREFIX="/DATA/prg/sketchup_2023" WINEESYNC=1 WINEARCH="win64" /opt/wine-staging/bin/wine64 "/DATA/prg/sketchup_2023/drive_c/Program Files/SketchUp/SketchUp 2023/SketchUp.exe" /DisableRubyAPI

    So in other words:

    1. Download Wine-staging (this can be its own can of worms).
    2. Install by first creating the prefix directory, and the running:

    $ WINEPREFIX="/home/$USER/<mysketchupwineprefix>" "</path/to/wine-staging-runner/bin/wine>" "</path/to/sketchup_setup.exe>"

    Please change the <example> text, and respect the instructions of szilveszter, errors are to be expected.

    1. Run the executable using their command, but change /opt/wine-staging/bin/wine64 to where your wine-staging runner is located, and "/DATA/prg/sketchup_2023/drive_c/Program Files/SketchUp/SketchUp 2023/SketchUp.exe" to where you decided to install sketchup. Wine-staging might already be included in regular wine, so with some luck you might be able to use your computers default runner.

    As per szilveszter’s instructions, I think it’s wise to install Sketchup inside the prefix.

    Also, it appears to be only mostly working, so expect errors and limitations. :(




  • Ekky@sopuli.xyztoTechnology@lemmy.worldThe EU common charger : USB-C
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    6 months ago

    I’m do not understand why it would not be able to charge with a X to USB-C.

    As far as I’m aware, even if one of the two connected devices (such as charger and flashlight) doesn’t have a proper chip for agreeing on voltage, it will just default to 5v. The only thing that should prevent that is a damaged (as in no + or - connection) cable. Even if the data connections are damaged, it should still charge in slow-mode.

    Needless to say, I have never experienced that problem even with cheap china cables/chargers, except, of course, for damaged cables.

    Edit: There would be one other scenario, being that one cannot charge a device by connecting it to another device which is not capable of charging, such as connecting the flashlight to your computers’ charge-only port.

    And yes, I’m from the EU. :)

    Edit2: from reading the other comments, I have come to understand that there indeed exist cables which are not capable of properly transferring power, though it boggles my mind as to why.