19 karma · joined April 21, 2019
Meanwhile, you can use it in termux if you are on android right now.
First they discovered steroids like prednisolone which were useful only for heavily sick patients, then they started to distribute antibody plasma from other patients, then monoclonal antibodies and some cytokine inhibitors and when everybody who wanted already got vaccinated, we got antivirals such as Paxlovid, and it was scarce.
There were a lot of misunderstanding around hydroxychloroquine and ivermectin, similarly how we have a lot of misunderstanding around vaccines and autism. And they were tested and tested and tested, similarly how we still check if vaccines cause autism. And all the proper research showed that hydroxychloroquine and ivermectin were absolutely ineffective, times and times again, but people just couldn't let them go, similarly to how people can't let go the fake autism-vaccine connection.
In the first part of the pandemic, vaccines were the best we had.
The interesting part for me was that you can recognize synthetic voice much faster than human speech. Is there a specific voice you are using for 800wpm or it can be any TTS? Also, I think older voices sound more robotic that the newer ones (I mean pre AI, like the default on android is newer for me). Is there a difference for how fast you can listen to the newer more nicely sounding ones or the older more robotic ones?
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
so it settled on having this syntax for similar cases using "Symbol":
class Foo { *[Symbol.iterator]() { yield 1; yield 2; yield 3; } }
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
Not to counter the argument, but just if I would consider doing the same. What to do with laptops - Apple (silicon), Intel, AMD and Qualcomm are all US companies.
A couple of alternative options, none of which are perfect, are using Termux with installed Emacs or Logseq, which supports org-mode syntax for files.
ai = openai.AsyncOpenAI(base_url="http://localhost:8080/v1", api_key="sk-no-key-required")
response = await ai.chat.completions.create(
messages=[
{"role": "system", "content": "..."}, {"role": "user", "content": "..."},
],
max_tokens=100,
model="Llama-3.2-1B-Instruct.Q6_K.gguf",
)
content = response.choices[0].message.content wget https://huggingface.co/Mozilla/Llama-3.2-1B-Instruct-llamafile/resolve/main/Llama-3.2-1B-Instruct.Q6_K.llamafile
chmod +x Llama-3.2-1B-Instruct.Q6_K.llamafile
./Llama-3.2-1B-Instruct.Q6_K.llamafile --server from django.db import models
from django.db import connection
class MyModel(models.Model):
name = models.CharField(max_length=255)
class Meta:
app_label = 'myapp'
with connection.schema_editor() as schema_editor:
schema_editor.create_model(MyModel)
# from django.core.management import call_command
# call_command('makemigrations', 'myapp')
# call_command('migrate', 'myapp')if sanity_check(): variable = something()
variable = sanity_check() and something
(but the standard python two line way is more readable unless it's a throwaway single use code, then whatever)
../bin/ok:
#!/usr/bin/env xonsh
"""
$> ok android shell
$> ok android ssh
$> ok android sshd
$> ok android sms
"""
import fire as _fire
class android:
ip = '...;
def shell(self):
adb connect f'{self.ip}:5555'
adb shell
def sshd(self):
adb connect f'{self.ip}:5555'
adb shell input keyevent 26
adb shell input swipe 500 800 500 300 200
sleep 1
adb shell am start -n com.termux/.app.TermuxActivity
adb shell input text "sshd"
adb shell input keyevent 66
adb shell input text "exit"
adb shell input keyevent 66
def ssh(self):
ssh -p 8022 f'user@{self.ip}'
def sms(self):
result = $(ssh -p 8022 f'user@{self.ip}' termux-sms-list -l 20 | jq ".[].body")
print(result)
def long_echo(): print(result)
@(long_echo) | llm -m llama3 -s 'please translate messages to English, quote the original messages too'
if __name__ == '__main__':
_fire.Fire()I'm wondering if there's a way to use python-fire instead of argpraser with gooey?
You have a point but also if you switch the type of games there from "All Games" to "Single Player", situation changes a lot. So I'd say for the group of people who don't play multiplayer games much (like myself) gaming on Linux is pretty viable. The problem nowadays is more with anti-cheat than comparability.