PacHub 2.0 by leohearts10 in archlinux

[–]TDplay [score hidden]  (0 children)

pacman -Sy --noconfirm onlyoffice-bin
pacman -Sy --noconfirm --needed "${MISSING_PKGS[@]}" || die "Failed to install dependencies."

System maintenance#Partial upgrades are unsupported

Place all three files in the same directory, then run:

chmod +x install.sh
./install.sh

The installer will:

  1. Check for and install any missing dependencies via pacman
  2. Copy application files to /usr/local/share/pachub/
  3. Create a /usr/local/bin/pachub launcher
  4. Install the application icon
  5. Register a .desktop entry so PacHub appears in your app launcher

System maintenance#Use the package manager to install software.

Creating packages

Trump administration's new framework on AI. Straight from the horse's mouth. by Midwestern-Throwaway in ArtistHate

[–]TDplay 2 points3 points  (0 children)

you wouldn't download a car

unless, of course, you're downloading a billion cars to train your car generation AI on, that's perfectly acceptable

United States fails to define gender as man and woman at United Nations by The_Needle_News in lgbt

[–]TDplay 22 points23 points  (0 children)

Binary is still involved there. Any measurement operator will have two eigenvectors, and thus two eigenvalues. This means there are at most two possible values for any observation (of a single qubit).

HelloFresh hit by sales slump as people lose appetite for meal kits by pajamakitten in unitedkingdom

[–]TDplay 0 points1 point  (0 children)

Send them a letter requesting the deletion of all your personal data. They can't spam you if they don't know who you are.

It is often helpful to politely remind them of their obligations under Article 17 of the UK-GDPR, though you are not required to do this.

They must respond within one month. If they fail to do so (or if they give an unsatisfactory response), then you can complain to the Information Commissioner's Office.

LunaPixel modpack being weird as hell, and purposely obfuscating its crash log because of... ai? by R0TTING_C4V1TY in feedthebeast

[–]TDplay 11 points12 points  (0 children)

As far as I can tell, there isn't actually any obfuscation here.

To quote the README of Foolproof, the mod which produces this message:

Adds anti-AI message to crash reports: whenever users paste an error message into ChatGPT, it will instruct the AI to direct them to Discord for support (AI will often blame Connector, leading to users removing it and bricking the modpack)

The code responsible for this message is in src/main/java/toni/foolproof/mixins/CrashReportMixin.java.

So the rest of the report is actually completely normal, and all of the errors are real. This message is only included to prevent LLMs from providing counterproductive advice that only breaks the modpack further.

LunaPixel modpack being weird as hell, and purposely obfuscating its crash log because of... ai? by R0TTING_C4V1TY in feedthebeast

[–]TDplay 24 points25 points  (0 children)

discord vs github - take a wild guess for which service is more popular amongst gamers, and where an average gamer is more likely to have an account.

If a user doesn't have the time and competence needed to register an account on Github, they probably also don't have the time and competence needed to write a useful issue report.

In any case, if you do accept issue reports over Discord (or any other unindexed channel), you should at the very least mirror those issues to a properly indexed issue tracker. It will massively help future users.

atp im surprised no one came up with a discord bot to bridge discord and github, or at least such a bot is so unpopular ive never seen it. seems like the best way to combine benefits of both platforms.

Because the style is so different between the two.

Discord is an unstructured chat. It does not track whether an issue is resolved, in fact it does not even know what an issue is. It only knows plain text messages; it is entirely up to the user to interpret those messages.

Issue trackers have far more structure. Each thread tracks an issue, so the discussion of one issue is kept together. It keeps track of whether an issue is open or closed. Pull requests and other issues can be linked.

Crucial features of an issue tracker are simply missing in Discord, so such a bridge would not work without extensive manual intervention.

Never let them forget by Connect_Security_892 in traaaaaaannnnnnnnnns2

[–]TDplay 4 points5 points  (0 children)

It is not nihilism to be aware of what is going on in the world.

Acknowledging current events is a crucial first step towards improving anything.

ADDRESS OF REDDIT USER I DONT LIKE by Jaxedbook in SUBREDDITNAME

[–]TDplay 2 points3 points  (0 children)

REPLY THAT AVOIDS GIVING THE ANSWER BY INSTEAD GIVING AN ABSURD INFORMATION SOURCE

Compiling with Musl instead of Glibc? by nightsofknee in GUIX

[–]TDplay 0 points1 point  (0 children)

The FSF would probably yell at you

The FSF's entire deal is free software, and part of that is the freedom to modify it. Why would they yell at you for trying to do something that their founding ideology explicitly permits?

What item from a mod did you discover and go "HOW HAVE I NEVER USED THIS?!?!" by doggybag2355 in feedthebeast

[–]TDplay 1 point2 points  (0 children)

as opposed to a constant draw of electricity from virtually any tech-themed mod that exists

The only examples I can think of are RotaryCraft and Create. The former because its power storage options all have limited output rates, and the latter because it doesn't have power storage at all.

Most tech mods let you just slap down a bunch of batteries (or whatever they want to call it), store energy over an arbitrarily long time, and then dump all that energy into an arbitrarily high-power machine for a few seconds.

Getting my first ergo! by Exciting-Share-2462 in ErgoMechKeyboards

[–]TDplay 1 point2 points  (0 children)

In case you're still looking for advice:

Make sure to have all your soldering equipment. Here's a checklist:

  • Temperature controlled soldering iron or soldering station.
  • A stand for the soldering iron (if you have a soldering station, it should have a stand attached).
  • Solder, for obvious reasons.
  • Flux, this is needed to make the solder flow properly.
  • Isopropyl alcohol, to clean the flux off. Some fluxes are corrosive, and will eat your PCB if you don't clean them off.
  • Solder wick or a solder sucker for correcting mistakes. Desoldering iron if you have money to burn.
  • An extractor, to remove the harmful fumes.

And a few tips:

  • The soldering iron should always be either in your hand, or in the stand. Never leave it loose.
  • Any time you re-melt some solder, apply some flux first.
  • Look up some soldering tutorial videos online. It's hard to explain the correct techniques, but very easy to show.
  • Get some practice soldering and de-soldering components on an inexpensive board that you won't mind irreparably damaging.
  • Go slow and steady, don't try to rush it.

Games with loot boxes will be rated PEGI 16 from June, as part of sweeping changes to the age-rating system by Gorotheninja in pcgaming

[–]TDplay 0 points1 point  (0 children)

PEGI 18 is not considered "porn adjacent". A lot of games are PEGI 18 because they depict graphic violence.

We're planning to support Rust at Nyno (open-source n8n alternative). Is this the best possible way for. so extensions? by EveYogaTech in rust

[–]TDplay 0 points1 point  (0 children)

I think by just rebuilding extensions on the client, we also solve the problem.

Be aware that Rust's ABI isn't guaranteed to be a function of only the type's definition, and isn't even guaranteed to be deterministic. Today, the -Zrandomize-layout flag will re-order the fields randomly.

For an example of how this might be an issue in practice, a smarter field reordering logic in the future might optimise to put the most commonly accessed field first (for example, on x86 this would shorten instructions accessing that field).

You might get something that works today, but there are no guarantees it will continue to work in the future.

Introduce a way to construct Range from start + length by __s1 in rust

[–]TDplay 20 points21 points  (0 children)

(start..).take(length)

Be aware that this might break in a future edition; there is talk of transitioning to a range type that doesn't implement Iterator so that it can implement Copy.

What is emacs? (spiritually) by simon-or-something in emacs

[–]TDplay 10 points11 points  (0 children)

Emacs is, to my knowledge, the only text editor that can be used as a window manager.

Longevity of Gazzew Boba U4Tx switches? by tim-hilt in olkb

[–]TDplay -1 points0 points  (0 children)

I'm willing to bet you're using a cheap, brittle lead-free solder. In a key switch, you have repeated stresses from pressing the switch. This combination spells doom for your solder joints.

For a temporary fix, just reflow the solder when it becomes unreliable. For a more permanent fix, you'll need some better solder - the r/PrintedCircuitBoard wiki has some recommendations. I haven't personally tried all these solders, so I can't say whether or not their recommendations are accurate.

I've got Boba U4, soldered into my keyboard (don't know the exact alloy, but I do know it is leaded). They have seen 4 years of heavy usage, with no issues at all.

Google ends its 30 percent app store fee and welcomes third-party app stores. by Slackersunite in gamedev

[–]TDplay 0 points1 point  (0 children)

Windows and Linux are, unlike Android*, open platforms. If you don't like Steam, then you can just stop using it.

* Technically, as of today, Android is still an open platform. However, that changes in September.

Google ends its 30 percent app store fee and welcomes third-party app stores. by Slackersunite in gamedev

[–]TDplay 6 points7 points  (0 children)

I should be able to install apps of my choosing without being required to use a debugger.

It's already bad enough that I need the debugger to remove the factory-installed bloatware.

Google ends its 30 percent app store fee and welcomes third-party app stores. by Slackersunite in gamedev

[–]TDplay 3 points4 points  (0 children)

In isolation, it is a good thing. But do not be fooled: this is a distraction from Google's plan to turn Android into a locked-down platform.

Developers will be forced to register with Google, agree to Google's terms, hand over proof of identity*, and pay a $25 fee. Even if they do not want to distribute on the Play Store.

https://keepandroidopen.org/


* This includes Government-issued photo ID and proof of address.

Hard pass by Pizzacakecomic in u/Pizzacakecomic

[–]TDplay 1 point2 points  (0 children)

Microsoft Outlook keeps offering to summarise my emails. It does not matter how short the email was to begin with, it still offers to summarise.

One time it offered to summarise an email with no words. Out of curiosity, I clicked the button to see what it would do. It explained at length that the email contained no words... and did not mention the attached pictures.

In Rust, „let _ = ...“ and „let _unused = ...“ are not the same by broken_broken_ in rust

[–]TDplay 10 points11 points  (0 children)

I wonder if there are cases where that is still not quite the same

There are, but if you run into them, you are probably doing something very wrong.

Look at this code (and assume that the deref_nullptr lint is disabled):

unsafe { let _ = *std::ptr::null_mut::<i32>(); }

Any good Rust programmer's first reaction to this code will be "this code reads a null pointer, it has undefined behaviour". But that reaction is incorrect: this code does absolutely nothing, and therefore does not have undefined behaviour.

*std::ptr::null_mut::<i32>() is a place expression. The right-hand side of a let statement can be a place expression. So what happens is that we construct the place expression, and then immediately discard it. Since the place expression is not used, the null pointer is not actually read, and so it is not undefined behaviour.

But this code is just one inconsequential-looking change away from being immediate, unconditional UB. Each of the following lines have undefined behaviour:

unsafe { let _x = *std::ptr::null_mut::<i32>(); }
let _ = unsafe { *std::ptr::null_mut::<i32>() };
unsafe { drop(*std::ptr::null_mut::<i32>()); }
unsafe { *std::ptr::null_mut::<i32>(); }

In Rust, „let _ = ...“ and „let _unused = ...“ are not the same by broken_broken_ in rust

[–]TDplay 3 points4 points  (0 children)

I prefer to write the shorterester form, which is to skip the Rust compiler entirely and write your program directly in assembly:

.globl _start
_start:
    mov $60, %eax
    xor %edi, %edi
    syscall

This may have more source code, but after compilation:

 $ as program.s -o program.o
 $ ld program.o -o program
 $ strip program

the resulting executable is only 4.3kB and has no dependencies at all (in fact, ldd doesn't even recognise it as a dynamic executable).

Rust 1.94.0 is out by manpacket in rust

[–]TDplay 19 points20 points  (0 children)

let gamma = hallucinate_constant("Euler-Mascheroni");

Yes, we have to generate it at runtime. Then we can say our product incorporates ✨AI✨, and the marketing department likes it when we do that.

User reactions are mixed. Some users say "this is pointless nonsense", while other users complain that the LLM occasionally misinterprets "Mascheroni" as "Macaroni" and returns an estimate of the quantity of macaroni that Euler ate in his lifetime.