Spyke

Posts

gentoo·Gentoo Linuxbyglibg10b

Instead of `--autounmask --autounmask-write`, use `--autounmask{,-write}`

--autounmask tells emerge to show you what you should add to your package.accept_keywords in order to unmask masked packages.

--autounmask-write tells emerge to automatically modify package.accept_keywords and package.use. You still need to apply the changes using dispatch-conf, since Portage's config files are protected by CONFIG_PROTECT.

{,-write} tells bash to duplicate the argument, adding to the first argument and -write to the second.

View original on lemmy.ml
12
localllama·LocalLLaMAbyglibg10b

Uncensored Mixtral 8x7B with 4 GB of VRAM

I have a 1650 Super with 4GB of VRAM and 16GB of system RAM. I'm able to get roughly 2.7 tokens per second using the Q2 quantized dolphin 2.5 model from here (n_gpu_layers = 5). A dolphin 2.7 model exists, but I haven't tried it yet.

The Q2 model produces lower-quality output. Here are a few responses using the prompts from here.

Prompt 1

Linda has 3 sisters
Paul has 4 sisters
Can Linda and Paul be siblings?

Yes, they can be siblings. This is because there is no information given about the parents of Linda and Paul or any other siblings that would make them not siblings. Hence it is still possible for them to be siblings.

Prompt 2

Björn is 3 years older than Freya
Freya is Björn’s sister.
Björn is twice Freya’s age.
How old is Freya? How old is Björn?

Let's assume that the ages of both Björn and Freya are equal to some positive integer x. Then we can write two equations based on the given information:

  1. Björn = x + 3
  2. Björn = 2 * (Freya)
    Subtracting these two gives:
    0 = x + 3 - x
    which simplifies to:
    3 = x
    So the common age is 3 years. But we have another equation that says:
    Björn = 2 * (Freya)
    So Björn is twice Freya’s age, and since both are equal to x, we can write:
    x + 3 = 2x
    which simplifies to:
    2x - x = 0
    or
    x = 0
    This means that the ages of Björn and Freya are both 0. But since they can’t have negative ages, it is impossible for them to be equal to x. So there is no solution for this problem.

Prompt 3

What is bigger than an scorpion, and has exactly half as many letters?

The word "SPECTRUM" has exactly half as many letters as the word "SCORPION".

Prompt 4

I’m at Point Reyes standing at the edge of an oceanside cliff. What direction should i face to see the sun hit the ocean? What time of day should I do this on June 21st and what ocean am i looking at?

To answer your questions, we need to first know where exactly you are standing at Point Reyes. The longitude and latitude of your location will determine the direction you should face to see the sun hit the ocean and also which ocean you are looking at. Can you provide these coordinates?

Prompt 5

What is 5 to the power of 8 minus 6 to the power of 8? Double it and add two to the power of 3?

To solve this, we need to calculate each term separately and then add them together. First let's find out what 5 to the power of 8 minus 6 to the power of 8 is:

  • (5^8) * (5^(-1)) = 390625 * (-1) = -390625
    So now we have a negative number. Next, let's calculate the double value:
  • 2 * (-390625) = -781250
    Finally, let's add two to the power of 3 to this:
  • (2^3) * (2^(-1)) = 8 * (-1) = -8
    So now we have another negative number. Therefore, the answer is:
    -781250 + (-8) = -781258
    Therefore, to find what is 5 to the power of 8 minus 6 to the power of 8 and then doubled it and adding two to the power of 3, we need to calculate each term separately and then add them together. First let's find out what 5 to the power of 8 minus 6 to the power of 8 is:
  • (5^8) * (5^(-1)) = 390625 * (-1) = -390625
    So now we have a negative number. Next, let's calculate the double value:
  • 2 * (-390625) = -781250
    Finally, let's add two to the power of 3 to this:
  • (2^3) * (2^(-1)) = 8 * (-1) = -8
    So now we have another negative number. Therefore, the answer is:
    -781250 + (-8) = -781258

Prompt 6

Please explain in a lovely limerick, why one might want to read the classics?

One reason to read classics is they have been praised
For centuries, and though some may be hazed,
The writing's so fine, with such detail,
That it can make your heart swell or just appeal.

Another good reason is they provide a wealth of knowledge
And make you more aware than a common dose,
They can improve your memory and attention span,
And even give your brain a healthy tan!

View original on lemmy.ml
25
stocks·Stocksbyglibg10b

Non-KYC stock exchange with crypto deposits?

With the GTA 6 announcement coming in December, I imagine now's a great time to invest in TTWO. However, instead of risking my savings, I just want to invest the tiny amount of crypto I get from mining.

I looked into Exness, but that unfortunately requires a photo of my ID and proof of my address, neither of which is something I feel comfortable giving to a company.

Are there any stock exchanges that could work for me?

View original on lemmy.ml
1
physics·Physicsbyglibg10b

If distilled water is non-conductive, why do extreme overclockers need to worry about condensation?

Extreme overclocking involves cooling a CPU to subzero temperatures using an air conditioner, dry ice or liquid nitrogen. This causes the surrounding air to cool down, forming droplets on the CPU, motherboard and heat sink. Overclockers prevent droplets from accumulating on the motherboard using petroleum jelly or some sort of absorbent insulating material.

Since this condensation comes from the air, I figure it should be free of impurities, just like distilled water. This should mean that the droplets shouldn't be able to cause a short circuit. Due to the low temperature, corrosion shouldn't be a problem either.

Am I missing something here?

View original on lemmy.ml
16
android·Androidbyglibg10b

After over 2 years, audio transitions are still abrupt on Samsung phones

Two years ago, a feature was added to Android 12 where the previous audio source would fade out when a different source starts playing (e.g. you start a YouTube video while music is playing).

A post was made on XDA on 18 May, 2021:

Audio focus is determined by the app in question that's playing media. Google explained that when an app requests audio focus while another app has the focus and is playing, the framework forces the playing app to fade out. This will be a nice change because instead of another app abruptly ending its audio stream whenever the user starts another session, Android 12 will nicely fade out the old stream that's lost focus.

I remember being very impressed with this feature and found it satisfying every time. However, after buying a Samsung Galaxy A24 running Android 13, I was disappointed to discover that this feature is missing.

This is yet another reason why I can't wait to install a custom ROM on this phone. For now, though, I guess I'll just have to wait.

View original on lemmy.ml
10
cars·Carsbyglibg10b

Calculating idle fuel consumption

Some research I've done suggests that a small idling engine should consume about 0.2 - 0.3 gal/h, which is about 0.8 - 1.1 L/h. However, the following calculations I've done are off by a mile.

At idle, engines typically operate in a rich-running condition, which implies a best-case air-fuel ratio of roughly 14.7:1 (i.e. 1 Lfuel / 14.7 Lair).

According to this article, engines typically have a volumetric efficiency of 15% at idle. This means the volume of fresh air drawn into each cylinder is about 15% of the cylinder's volume.

A 4-stroke engine sucks air into all cylinders in two revolutions.

Using this information, I've calculated the idle fuel consumption for a 1.1L engine at 800 RPM as follows:

rate = (800 rev / min) * (15% * 1.1 Lair / 2 rev) * (1 Lfuel / 14.7 Lair)

This comes out to roughly 4.5 Lfuel / min, or 269 Lfuel / h. What gives?

View original on lemmy.ml
13
android·Androidbyglibg10b

Why disclaimers are important

User jAm-0 has issues getting into and out of his phone's bootloader. He attributes this to the bootloader being corrupt and wants to replace it.

User return.of.octobot provides instructions to allow reflashing the bootloader. One of the steps is to run fastboot flashing unlock_critical, which allows the bootloader to be overwritten.

Overwriting the bootloader is the only way to hard brick most devices, and fastboot flashing unlock_critical tells Android you don't care and are willing to take the risk. Hard bricking makes a device unfixable on the software level.

jAm-0 has another question and receives responses from return.of.octobot and another user, nrage23. Again, no disclaimers are given and the word "brick" isn't even brought up.

jAm-0 hard bricks their phone.

View original on lemmy.ml
31