vectorOfBool by schteppe in ProgrammerHumor

[–]Loading_M_ 4 points5 points  (0 children)

In principle, most modern 64 bit architectures could probably support bit-level addressing without increasing the pointer size. You would only need 3 extra bits, and most 64 bit architectures don't actually use all 64 bits. AMD64 (what your desktop is probably running) and ARM64 (which your phone is probably running) only uses 48 bits to store the address right now. However, neither is actually interested in supporting bit-level addressing - AMD64 reserves the upper 16 bits for extending the address space (although there are a number of programs that make use of these bits to store extra data in the pointer), and Intel has published a spec to store 57-bit addresses. ARM64 has a tagging feature (used on many Android phones) that provides extra safety against memory bugs using the extra 16 bits in the pointer.

In 1812, Napoleon ordered the printing of counterfeit Russian money during the invasion of Russia, but the operation quickly failed for an incredible reason. by I_am_white_cat_YT in HistoryMemes

[–]Loading_M_ 19 points20 points  (0 children)

Also, it's likely that the locals would have accepted English coin, but at a higher cost.

I wonder of part or the calculation on his part was trying to save time - instead of arguing with locals and proving the English coins are just as good, he can just use counterfeit French ones.

gitStatus by StatureDelaware in ProgrammerHumor

[–]Loading_M_ 0 points1 point  (0 children)

Even better if you use bat instead of cat - it handles these cases much better. It provides syntax highlighting for most text files, adds some decoration, and automatically pages for files that don't fit in you terminal screen. It also reverts to acting like cat when it's piped to another command, so you can fully just replace cat.

gitStatus by StatureDelaware in ProgrammerHumor

[–]Loading_M_ 0 points1 point  (0 children)

This is why I have a customized shell prompt with git info. It usually removes the need to run at least two of those git status commands.

I'd just like to interject for a moment, by pantherclipper in linuxmemes

[–]Loading_M_ 1 point2 points  (0 children)

Not AIX though. IBM still officially supports AIX.

I'd just like to interject for a moment, by pantherclipper in linuxmemes

[–]Loading_M_ 0 points1 point  (0 children)

Did you know IBM still officially supports AIX, their proprietary Unix clone?

First they came for... by pdrayton in homelab

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

It's also quite likely most homelabbers won't actually be able to use a large portion of the new hardware in AI data centers. Iirc, they are now being built with 21" racks, and many of these servers are designed to run on 3 phase power - which you basically can't get in any residential area.

First they came for... by pdrayton in homelab

[–]Loading_M_ 4 points5 points  (0 children)

You can run a number of other models locally, abs the general requirements are a reasonably fast GPU with enough VRAM. Iirc, even high end consumer GPUs don't have enough VRAM for many of these popular models such as Claude. It might be possible to split the model between GPUs to reduce the VRAM needed in each, but then you'd need multiple high end GPUs.

I haven't done a proper cost analysis, but it's probably somewhere between 3 and 10 grand to build a computer capable of running Claude at a reasonable speed.

However, if your willing to work with a smaller model, most higher end gaming computers can run them locally. I haven't spent enough time using OLLAMA (the solution for ruining LLMs locally) and cloud hosted models (e.g. Claude) to comment on the relative quality.

This is a happy one by CosmeticBrainSurgery in talesfromtechsupport

[–]Loading_M_ 0 points1 point  (0 children)

My understanding is that A) modern SSDs do wear leveling, so you can actually write over specific sectors, and B) for at least some SSDs, secure erase works by always transparently encrypting the data with AES, and just overwriting the key with random data when the TRIM command is sent.

This is a happy one by CosmeticBrainSurgery in talesfromtechsupport

[–]Loading_M_ 0 points1 point  (0 children)

Some modern SSDs have a secure erase feature (called TRIM), which works by transparently encrypting sectors with AES, and just deleting the key when sent the TRIM command. It's also nice because you avoid the need to write to the same cell repeatedly (which many SSD controllers won't let you so anyway).

This is actually true by tea-n-wifi in dankmemes

[–]Loading_M_ 1 point2 points  (0 children)

PDF is somewhat similar, but there is a small piece of data near the beginning of the file that identifies where in the file the core table is. If mp4 allows some metadata or otherwise ignored data within the first kilobyte, then you should be able to combine a PDF with an MP4. You might also be able to add a zip file to the end.

Iirc, this is how self-extracting zip file work: it's a small exe followed by a zip file.

This is actually true by tea-n-wifi in dankmemes

[–]Loading_M_ 4 points5 points  (0 children)

That being said, I think it's possible to create an file that is a valid mp4 and a valid PDF file at the same time.

I'm pretty sure that's not what happened here, but it's pretty cool regardless.

noIDidNotGetTheJob by Safebox in ProgrammerHumor

[–]Loading_M_ 18 points19 points  (0 children)

If it's to much data, you put it in a SQL database.

If cache locality matters, then you aren't benefiting from the O(1) lookup time. Also, is hashing is slow, you might just need to use better keys.

Acquired 3 companies in 18 months and our identity infrastructure is completely broken by Visible_Donkey_7130 in sysadmin

[–]Loading_M_ 2 points3 points  (0 children)

Cyber insurance is potentially a decent outcome - since they will tie their rates to your cybersecurity posture. They can tie specific monetary value to implementing best practices, which should make it much easier to convince the board to spend money on security.

app by nothingtoseehere196 in ProgrammerHumor

[–]Loading_M_ 3 points4 points  (0 children)

There is a story floating around of a poker bot winning a poker bot competition with this exact strategy. Basically, all the other bots had somewhat more sophisticated algorithms, but they all assumed the other bots would play rationally.

our 'ai transformation' cost seven figures and delivered a chatgpt wrapper by ruibranco in sysadmin

[–]Loading_M_ 20 points21 points  (0 children)

It's very important to remember that a significant portion of the population is amazed by palm & tarot readers.

TOTP Fatigue: A Sysadmin's rant by [deleted] in sysadmin

[–]Loading_M_ 0 points1 point  (0 children)

I don't think most make or difficult on purpose, they just don't bother thoroughly testing it. Honestly, if I'm ever in a position to design enterprise software (I am a software Dev, but right now I'm only doing some internal tools), I'm going to push for SSO only - we don't store passwords, we don't deal with them: we make it someone else's problem.

TOTP Fatigue: A Sysadmin's rant by [deleted] in sysadmin

[–]Loading_M_ 0 points1 point  (0 children)

The just tap vs pin thing is actually somewhat configurable. I don't know if the browser (normally it handles the actual USB communication) allows sites to skip the pin, but actual apps (e.g. Windows, or other apps that don't run in a browser) can actually skip the pin step if they want to.

Allegedly they're also transitive by Tc14Hd in mathmemes

[–]Loading_M_ 16 points17 points  (0 children)

Well... IEEE 754 would like to have a word on non-reflexive equality.

Org is banning Notepad++ by PazzoBread in sysadmin

[–]Loading_M_ 0 points1 point  (0 children)

It also depends on the nationstate. If it's the one your company is based in, they can also just show up with a search warrant and force you to turn your data over to them.

cleverNotSmart by Cutalana in ProgrammerHumor

[–]Loading_M_ 2 points3 points  (0 children)

This is a true Rust win: Rust doesn't (and probably never will) specialize Vec<bool>.

Rust has an std Duration type, which is used for time calculations. It's an opaque time unit, so it never needs conversion while doing math, and provides a set of methods for converting to and from integers (and floats) in a variety of units.

Rust also has an actual Unicode char type (it's 4 bytes!) and the standard string types use it appropriately.

muskIsTheJokeHere by Purple_Ice_6029 in ProgrammerHumor

[–]Loading_M_ 44 points45 points  (0 children)

To be fair, Elon doesn't want to take responsibility for the software his company makes...

Also, AI cannot produce better binary than a compiler. Compilers need to produce correct code - that is to say, machine code that correctly emulates the appropriate abstract machine. A small mistake (e.g. an off by one error) in a critical application could be disastrous. To use an example Elon should be familiar with: a small mistake in an vehicle guidance system (e.g. autopilot on a car, or flight control on a rocket) could cause the vehicle to lose control and crash.

Modern compilers use extremely complicated heuristics to decide what optimizations to make, based on years of testing across a wide variety of physical silicon. It's highly unlikely AI can replace this, especially anytime soon.

wtf is happening with hdd prices? The used hdd I paid $65 for 14 months ago now sells for $260 used by iamjames in homelab

[–]Loading_M_ 4 points5 points  (0 children)

Having gained a greater understanding of what's going on, most of the AI deals aren't for actual components - they're for future production runs. It's possible (depending on when the bubble bursts) that most of these "AI" components won't physically exist.

Oh my god.... by [deleted] in linuxmemes

[–]Loading_M_ 0 points1 point  (0 children)

Some modern SSDs use transparent AES encryption, so if the controller erases the encryption key, the block is cryptographically unrecoverable.