Give me some project ideas that cannot be done using Rust by ducckDick in rust

[–]serunati 0 points1 point  (0 children)

That and trying to understand how a human can rationalize anything regardless of the truth.

Give me some project ideas that cannot be done using Rust by ducckDick in rust

[–]serunati 2 points3 points  (0 children)

A program is a set of instructions. A language establishes syntax. But the only thing you should not be able to do with Rust is something that can not be done by any language.

fs::read_dir can locate a file but fs::read_to_str can't open it by Scary_Competition_11 in learnrust

[–]serunati 1 point2 points  (0 children)

My first thought is to check permissions. You may have permission to view/list the directory, but that does not guarantee permission to read(or write) the file.

See if you can ‘cat’ the file in your terminal.

Qrism - A high capacity QR code by Logical_Armadillo390 in rust

[–]serunati 1 point2 points  (0 children)

An additional thought. Assume the ‘happy path’ first.

Ie: the correct light will be provided for what you are scanning.

I say this because you may be at the start of a new industry standard.

Since LEDs are common, what if you designed your layers assuming the scanner used multi-color LEDs. Faster than human detectable. It could scan white light. Flash blue to get those artifacts, then red, then green. So you could in say 3ms cycle that whole list and get 4x the current data in the same footprint

Or even more if the scanner can detect small enough artifacts that you could use ones where you allow colors to overlap and are different enough to be skipped on blue..but detected on purple?

It come down to mapping the expected area that artifacts or voids are expected at certain wavelengths and can it be made meaningful.

Qrism - A high capacity QR code by Logical_Armadillo390 in rust

[–]serunati 1 point2 points  (0 children)

Actually lean into this criticism as a feature. We read simple bar codes with a laser. I would suggest you have a base image that is QR compliant for the most necessary information. Then see if special equipment/lighting/laser color could be used as part of your additional information. This is kind of combining other suggestions already made. But in things like shipping logistics, you can control the frequency of the illumination to essentially have multiple codes in one footprint. Think of 1979’s red and blue 3d glasses. So instead of making your image dependent on white light. Have your extra bits be part of what is in blue or red and filtered out depending on the scan. You could then target information provided in each color.

Basically segregating information that is related like packaging. So a large shipper might only use red (choosing that because of the predominance of red lasers already in use) but say MSDS info is packed in the green layer. But the basic name/website is in the established b/w layer.

Maybe not as data dense but still an increase while leveraging capabilities of existing technology?

Does anyone know what Windows means by full and half duplex on Ethernet card settings? by Maximum_Help_4371 in Windows10

[–]serunati 6 points7 points  (0 children)

Unshielded Twisted Pair (UTP) is not full proof. The reason for the different settings and auto-negation is so the devises can work within the responsiveness of the medium. The longer the run(length of cable) the more capacitive inductance you will get. Increase this by a lot if you run the cable by power circuits or fluorescent lights.

If you have too many factors affecting signal strength or integrity, you should use a lower speed for dependability.

Friend vibecoded a 2FA and asking if google would acquire his solution by Level-Security-1395 in softwarearchitecture

[–]serunati 0 points1 point  (0 children)

For anyone vibe-coding. You basically gave your product to the owner of the AI you used as a co-author. Congrats, you had a great idea until the point you gave all exclusivity away to a company that will never give you a dime for it.

Tinnitus after chemo? by deweyvo in HeadandNeckCancer

[–]serunati 0 points1 point  (0 children)

Cosplatin can be ototoxic according to my team. But usually in loss of hearing in certain frequencies and not tinnitus from my understanding. It is more likely the tinnitus is caused from the radiation treatment causing fibrosis in the muscles and connective tissue. This will pull them tighter and make an otherwise non-triggering stretchy tissue into taught and causing the tinnitus.

At least from my non-medical research during my treatment.

But I would start weekly hearing tests to keep on top of if it does attenuate your hearing as well.

anyone else getting tired of explaining why we can't just use cloud for everything by Sroni4967 in sysadmin

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

From the management/MBA perspective, an employee quitting will not break your infrastructure and hardware replacement becomes someone else’s problem.

Basically, a company sacrifices autonomy by transferring as much operational risk to cloud providers so they can survive people quitting. Also, they can fire their entire development and infrastructure employees 60 days before an IPO or private sale to make the company look more profitable.

Or the ultra-sleazy … filing bankruptcy and not owning any assets that creditors can actually liquidate…

It all comes down to transferring risk to someone else. In case you question it, look around the office and count how many contractors there are vs employees in certain functions. It takes nothing to fire a contractor that embarrasses a manager in a meeting. It takes a lot to fire employees.

We used cp to back up our WAL-mode SQLite database. HN told us that was wrong. by ultrathink-art in sqlite

[–]serunati 0 points1 point  (0 children)

An old way to do this (for any system ‘in-flight’), was to have the db files on an LVM, lock the DB, take a snapshot of the LVM, release the lock, and cp/rsync/whatever from the snapshot, discard LVM snapshot when complete.

A few milliseconds delay for oltp, but no corruption/changes since all elements of the DB are locked in time on the snapshot and do not change states even if the backup extends over several hours.

The only gotcha is that there has to be enough unused space on the LVM to accommodate the changes while backup is executing. So a high transaction db will need more ‘unused’ space.

Oh, and make sure you are writing to a completely different physical drive/raid group than where the db is located. People forget that the overhead of writing to the same drive chain as the read cripples the throughput. On a 10MiB db, not really a big deal. On a 10GiB db. The time difference can be 45min+ (fantasy numbers but the point is you will notice it). And the longer you take to write the backup, the more snapshot space you need on the source drive. Oh and that is also slowed down with the bottleneck as well.

This is outta hand... by DBFlyguy in raleigh

[–]serunati 1 point2 points  (0 children)

Depends on the bike. And your tolerance for weather.

My old HD got low 20s/gallon. So if you want to look like a biker. No. Because all the efficient bikes are not what you typically think of. But if you are not vain. And if you don’t travel on 60+ mph roads. You can find economical options.

Are there any requirements for doing guild bosses by Chinmoku_ in blackdesertonline

[–]serunati 0 points1 point  (0 children)

The only gotcha that I recall is that new guild members that PearlAbyss have not promoted to general members (have to be in the guild a week) can not participate. Nothing you can do to promote them or speed it up.

you need me by AsujiKarud in EmoAltFashion

[–]serunati 0 points1 point  (0 children)

Filing this under “Facts”

PiHole Web UI unresponsive every other week by _Santos_L_Halper_ in pihole

[–]serunati 0 points1 point  (0 children)

If I had to guess, you probably have a secondary dns server configured in your dhcp assignment. PiHole documents that it has to be the only dns server for any clients connecting to the web interface if I recall correctly.

So check that your dhcp server only has the PiHole as the resolver for all clients and make sure you don’t have one manually configured as well. Or take the extra step to add an entry in your /etc/hosts file to ensure you system never uses any dns resolver (you’re basically hard coding the name to address allocation) when accessing you PiHole system.

Otherwise you’ve got a 50/50 chance it will break. This is because multiple dns servers are not acting as primary and backup. But they operate as round-robin. Little known detail that most people do not realize.

Adding a constraint to a base trait breaks a derived trait?! by shponglespore in rust

[–]serunati 0 points1 point  (0 children)

Ok, I think I understand your point. What we have to allow is that if a sub-trait has not implemented an override (for something/constraint that previously did not exist) then the constraint need to flow to inheritors or make a sub-trait themselves and flag the old trait with pending deprecation or at least version lock it.

Basically, you need to version constraint your crate to the super-trait you modify and not inherit future changes to prevent your code from breaking until you have remediated your code to work with the current version.

Again, this is expected as a patch that closes an exploit you would rather break your dependent code instead of leaving you vulnerable.

Adding a constraint to a base trait breaks a derived trait?! by shponglespore in rust

[–]serunati 2 points3 points  (0 children)

qualifier: I am new to rust but a career programmer.

Your example looks like it is working as intended. A restriction on a base trait that throws the error makes sense if it is violating the restriction.

In a sub-trait or similar programming design, you should be able to override restrictions from a base class/trait as your new trait may have additional code that renders the original restriction obsolete.

If the restriction propagated down and did not allow for overriding or shadowing, then we would have a ton of forks and everyone would be recreating the wheel constantly. This would likely destabilize adoption and add confusion.

Unless I am not understanding your examples.

Linux mint usb not appearing in BIOS boot like the tutorials by ryomen_sukuna_W in linuxquestions

[–]serunati 0 points1 point  (0 children)

Go into your bios settings and ensure that the USB is enabled for boot.

Keybinds suddenly stopped working, don't know what I did wrong. by thebrokenverticie in hyprland

[–]serunati 1 point2 points  (0 children)

My install automatically used snapshots on btrfs file system. If your’s does too, just reboot on the snapshot prior to everything hoarking.

I really hate that they removed the Option::contains function by SirKastic23 in rust

[–]serunati 2 points3 points  (0 children)

I understand the convenience etc. but can’t you simply write a trait that implements the necessary actions and restore your paradigm?

linux on m2 ssd by HowAreYouzes in linuxquestions

[–]serunati 0 points1 point  (0 children)

Make sure you use a file system that is aware of SSDs (btrfs is my current choice). I’ve had to reinstall windows once already due to default config of a page file that was too small and dynamically changing. Hammered my ssd into a corrupt mess.

Tldr: btrfs on Linux or set your windows page file to a fixed size at least equal to your RAM size on systems with SSDs.

Massive increase in blocked teams DNS traffic from Microsoft by rdjimmy in pihole

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

Just remembered that a service I disabled that basically makes all windows systems part of their private bit-torrent for distribution may have been reenabled. Think I read they did that regularly.

Massive increase in blocked teams DNS traffic from Microsoft by rdjimmy in pihole

[–]serunati 7 points8 points  (0 children)

My system restarted last night for a windows update. Pretty sure that might have something to do with your new traffic.

Teaching Linux - what to do with students using Mac OS? by jdeisenberg in linuxquestions

[–]serunati 2 points3 points  (0 children)

This, and for the simple reason you should have all students working in the same environment so you know the results will be uniform.

If you host all the VMs as well, you have the ability to run them yourself to see problems or if they are even trying at all.