• 0 Posts
  • 25 Comments
Joined 11 months ago
cake
Cake day: December 26th, 2023

help-circle
  • The actual difference between a working new mouse and a failing double click mouse is in the button itself (mechanical parts are almost always the problem).

    However, it is not some exotic failure mode. All mechanical switches have a “bounce”, where the contact makes and breaks a few times before settling into the connected position. Switches are typically designed to make the actual contact spring loaded (which is the origin of the click sound you here). As they age, this mechanism degrades, making the bouncing problem worse.

    However, this is a well understood problem that any electrical engineer should be familiar with. One solution is to install a filter capacitor. Now it takes longer to switch between the on and off state, so the inherent bounce in the switch is smoothed out to the point where you cannot detect it.

    They probably did testing with a new switch, and decided that they didn’t need to include any explicit debounce component, ignoring the fact that the switch would degrade over its lifetime.




  • I think what happened here is that something went wrong and messed up the permissions of some of the users files. MS help suggested that he login as an administrator and reatore the intended permissions.

    I don’t work with Windows boxes, but see a similar situation come up often enough on Linux boxes. Typically, the cause is that the user elevated to root (e.g. the administrator account) and did something that probably should have been done from their normal account. Now, root owns some user files and things are a big mess until you go back to root and restore the permissions.

    It use to be that this type of thing was not an issue on single user machines, because the one user had full privileges. The industry has since settled on a model of a single user nachine where the user typically has limited privileges, but can elevate when needed. This protects against a lot of ways a user can accidentally destroy their system.

    Having said that, my understanding of Windows is that in a typical single user setup, you can elevate a single program to admin privileges by right clicking and selecting “run as administrator”, so the advice to login as an administrator may not have been nessasary.



  • In addition to the raw compute power, the HP laptop comes with a:

    • monitor
    • keyboard/trackpad
    • charger
    • windows 11
    • active cooling system
    • enclosure

    I’ve been looking for a lapdock [0], and the absolute low-end of the market goes for over $200, which is already more expensive than the hp laptop despite spending no money on any actual compute components.

    Granted, this is because lapdocks are a fairly niche product that are almost always either a luxury purchase (individual users) or a rounding error (datacenter users)

    [0] Keyboard/monitor combo in a laptop form factor, but without a built in computer. It is intended to be used as an interface to an external computer (typically a smartphone or rackmounted server).




  • At a $188 price point. An additional 4GB of memory would probably add ~$10 to the cost, which is over a 5% increase. However, that is not the only component they cheaped out on. The linked unit also only has 64GB of storage, which they should probably increase to have a usable system …

    And soon you find that you just reinvented a mid-market device instead of the low-market device you were trying to sell.

    4GB of ram is still plenty to have a functioning computer. It will not be as capable of a more powerful computer, but that comes with the territory of buying the low cost version of a product.


  • homura1650@lemm.eetoxkcd@lemmy.worldxkcd #2947: Pascal's Wager Triangle
    link
    fedilink
    English
    arrow-up
    12
    ·
    edit-2
    5 months ago

    Blaise Pascal is famous for 2 things:

    1. Pascal’s triangle. This describes how to expand expresions of the form (a+b)^n as well as to compute how many ways there are to pick k objects out of a set of n (ignoring order.

    This triangle is computed by starting with 1 at the tip, then having each element be the some of its 2 parents (except the diagonal edges with only one parent, which remains as 1)

    1. Pascal’s wager. This is a theological argument for a belief in god that goes “if you believe and god doesn’t exist, nothing happens. If you don’t believe and he does exist, you suffer for eternity. The logical choice is therefore to believe”

    The natural conclusion is therefore to believe in all gods. If procelatizing happens in just the right way, and no one realizes people are talking about the same god, you end up with a triangle of polytheists, where the number of gods they believe in is given by Pascal’s triangle.

    Edit: gid -> god





  • Java did have a Security Manager that can be used to prevent this sort of thing. The original thinking was that the Java runtime would essentially be an OS, and you could have different applets running within the runtime. This required a permission system where you could confine the permissions of parts of a Java program without confining the entire thing; which led to the Java security manager.

    Having said that, the Java Security Manager, while an interesting idea, has never been good. The only place it has ever seen significant use was in webapps, where it earned Java the reputation for being insecure. Nowadays, Java webapps are ancient history due to the success of Javascript.

    The security manager was depreciated in Java 17, and I believe removed entirely in Java 21.


  • There are still a lot of rather arbitrary decisions to make.

    Is 4/pi inside or outside of the summation?

    Is it (-1)^n+1 or (-1)^n with an additional negative sign in any of the other natural locations for it.

    Is the e term outside of the fraction with a negative exponent, or part of the denominator.

    Do you start with n=0 or n=1 (and adjust the terms inside the summation accordingly)

    Did they expand (2n+1)^2?


  • The biggest reform I want to see to copyright is a use-it-or-loose-it provision. Either you make the work available under “reasonable” terms, or you loose the copyright protection. Preferably this should be combined with a requirement of all copyrighted works past a certain size to be registered with the library of Congress.

    This would still allow them to double the price, and move streaming from Netflix to their crappy homebrew streaming service. The idea is just that if you aren’t selling it at all, you clearly don’t need copyright protections to save you from others undercutting you. This would also solve the abandonware problem; where it is simply not clear who has the rights in the first place.

    My second wish would be a mandatory licensing scheme; similar to what we have for music (although updated for the internet age)



  • Not nessasarily, the protocol could be written so that an instance simply tells other federared instances “X of my users upvoted this, and Y downvoted this”.

    The tradeoff being that instance then have less tools to work with to moderate voting. Instead of being able to do global vote ring detection, the most they can do is look for abuse on their own server, and trust that every instance they vote-federate with does the same. Even then, with every instance trying to be vigilant, no one instance would have the info to detect a cross-instance abuse.