nous

joined 3 years ago
[–] nous@programming.dev 2 points 2 days ago (1 children)

Why would it not?

[–] nous@programming.dev 33 points 2 days ago (2 children)

Rusts big advantage is that its memory safe

Most languages are memory safe. It's only really C, C++ and zig that are not (at least for more mainstream languages). Rust is special as it is memory safe without a garbage collector. Which is big for domains where the overhead of a GC is unacceptable.

[–] nous@programming.dev 2 points 4 days ago

Nothing to do with the electrical grid. It is just that the positive lead of the output of the power supply is whatever voltage you select above the negative lead on the output side of the power supply. Those are the two relative points in this situation. You can call the negative lead ground if you want. Wiring diagrams for the device you connect it to will likely call it ground. It is not the same thing as the grounding wire in a plug socket.

Note that the grounding wires in a home have nothing to do with any live circuit in your house. They are to make faults in the system safer by giving a path for electrons to flow if a conductive casing ever gets into contact with a live wire. In normal operation nothing should be flowing through it at all. With doubly insulated devices (like that power supply) the grounding wire in the plug socket is probably not connected to anything at all in the device. The plug likely does not even have a grounding wire in it.

[–] nous@programming.dev 7 points 4 days ago (4 children)

I amusingly imagine a force "sucking" the current backwards. 🤭

If you think of a positive voltage as pushing then it is not anymore inaccurate to think of a negative voltage as pulling. At least if you think in terms of DC, which is what power supplies will typically give you.

Voltage is all relative. The sign just shows the direction of flow. If you plug a volt meter in backwards it will show a negative voltage. That means the current will flow from the negative to the positive terminals.

If you have three terminals, let's say A, B, and C. If you measure 12V between A and B. Then 24V between A and C. Then you will also be able to measure 12V between B and C. Or -12v between B and A. Or -24 between C and A. The direction matters.

You could label any of these as ground it makes no real difference to the system. Only how you talk about it. Without a ground label then you would not say C is at 24V as it has nothing to compare to. If you pick A as ground then it is said to be 24V, but if you pick B as ground then it is said to be 12V. If you pick C as ground then it is 0V. So when we say a point is at a voltage then that is implied that it is that voltage relative some other point we decided was ground.


Things get a lot more complicated with AC as electrons move back and forth in the wire they don't have the same direction as they do in DC.

[–] nous@programming.dev 3 points 1 week ago (1 children)

It looks like there is a way to do the opposite at least. Which means it is possible to do this. The same process should work but it is a significant change. Backups would be key for such a monumental change. I would prepare things for a reinstall as well just in case things go wrong.

I’ve seen the admins on the Forum admit that they DO NOT oppose AI.

If that is the bar you have set I have some bad news for you. You will not likely find many projects where everyone involved completely opposes AI. Even Linus himself has used it and thinks it can be useful for some usecases. Are you going to abandon the Linux kernel as well? Or arbitrary apply your values to different projects?

[–] nous@programming.dev 25 points 4 weeks ago

The time to beat a game is generally for the main story if you don't take ages doing other things. Quite often with side quests or other non essential steps like collecting things or trying to 100% a game it will take way longer then the estimated time to complete. This is epically true for more open-world type of games with lots of places to explore.

[–] nous@programming.dev 1 points 1 month ago

TBH I would not use a duplicate code detector at all. That would solve the problem. I tend to find excessive deduplication to be a bigger problem then have some unnecessary duplication.

If you need a tool to find duplicate code you are probably down the route of excess. They only really time you need to deduplicate code is when it causes a problem for maintenance. Then it is typically trivially easy to find it without a special tool.

[–] nous@programming.dev 2 points 1 month ago (1 children)

I know you were talking about AI. It was just a quick jab at the fact they are both slop. Not really meant to be taken that seriously.

[–] nous@programming.dev 11 points 1 month ago

I am surprised it took them so long. It would have been the first thing to do, block new users, stop people takeong over orphaned packages or make the whole AUR read only for a while. Any of those would have disrupted this attack and gave the devs more time to figure out a longer term solution.

[–] nous@programming.dev 3 points 1 month ago (6 children)

Are you talking about AI or self help books?

[–] nous@programming.dev 47 points 1 month ago (2 children)

I don't think this is the win we want. Sounds like palwprld change the game to no longer infringe on Nintendo copyright claims. So Nintendo can no longer seek an injunction. They are still seeking damages.

I really want to see the copyright claims be challenged in court so we know where we stand. Rather then the continual settling out of court because Nintendo has more money.

It doesn't sound like Nintendo are on track to win or lose this. Just Palworld changed the game to limit the impact of the lawsuit. Which is in a way a small win for Nintendo.

[–] nous@programming.dev 124 points 1 month ago (2 children)

Still more helpful then this error I have seen before:

error: Success
view more: next ›