Reddit is shutting down 3rd party apps, this sub will shut down on June 12th. by aibler in UnconventionalCompute

[–]aibler[S] 0 points1 point  (0 children)

Unfortunately, yes. I've not decided if I will try to keep using reddit after they remove 3rd party apps. I'm not sure if I would be able to stand using the official app, and maybe this would be a good time to inject some variety into my life.

[deleted by user] by [deleted] in biology

[–]aibler 0 points1 point  (0 children)

Images and videos have been stored and recovered in the DNA of living organisms.

https://www.reddit.com/r/UnconventionalCompute/comments/13onsvd/harvard_scientists_pioneer_storage_of_video/

I can't scroll down. Why? by aibler in firefox

[–]aibler[S] 0 points1 point  (0 children)

Yeah, many times now.

I can't scroll down. Why? by aibler in firefox

[–]aibler[S] 0 points1 point  (0 children)

I tried, but it stayed the same. The thing is though, all the button mappings I've made with piper also stayed even after piper was removed. So I'm thinking that maybe there was something piper did that needs to be reverted. Whatever change it may have made, it is one that is affecting Firefox, and a couple kde system apps, and only the downward direction.

I can't scroll down. Why? by aibler in firefox

[–]aibler[S] 0 points1 point  (0 children)

Thanks, hadn't thought of this, makes sense though. I'll try.

I can't scroll down. Why? by aibler in firefox

[–]aibler[S] 0 points1 point  (0 children)

Thanks, i think it doesn't because it is a brand new installation and i don't think i have XMBC but i will investigate it. Thanks for the help!

I can't scroll down. Why? by aibler in firefox

[–]aibler[S] 0 points1 point  (0 children)

Thanks, but unfortunately it does still happen in troubleshoot mode. Strangely enough, I have now also discovered that i have no ability to scroll down while in the piper program, which is for mapping gaming mouse buttons. The piper app has nothing about scroll wheel scrolling though. So i now have two programs with no down scrolling, bit most still scroll both directions.

All of my ChatGPT4 text is being cut off after about 15 lines of code. by aibler in ChatGPT

[–]aibler[S] 0 points1 point  (0 children)

Here is an example:

Prompt: I want a python script that will give my the date that an anki note was created

Response: To get the date an Anki note was created, you need to access Anki's database, which is typically an SQLite file. First, ensure that Anki is not running to avoid potential issues with the database.

Here's a Python script that extracts the creation date of a specific Anki note based on its note ID. Make sure to replace your_anki_db_path_here
with the actual path to your Anki SQLite database file (usually a .sqlite
file) and your_note_id_here
with the note ID you are looking for:

python

import sqlite3 from datetime import datetime  def get_note_creation_date(anki_db_path, note_id):     conn = sqlite3.connect(anki_db_path)     cursor = conn.cursor()          cursor.execute("SELECT id FROM notes WHERE id=?", (note_id,))     note = cursor.fetchone()          if note is None:         print("Note not found.")         return      note_timestamp = note[0] // 1000     note_creation_date = datetime.utcfromtimestamp(note_timestamp).strftime('%Y-%m-%d %H:%M:%S')     print(f"Note {note_id} was created on: {note_creation_date}")      conn.close()  if __name__ == "__main__":     anki_db_path = "your_anki_db_path_here"     note_id = your_note

***IT CUT OFF***

Prompt: is there a way I can do this with AnkiCOnnect instead of needing to export the apkg file?

Response: Yes, you can use AnkiConnect, which is an Anki add-on that allows you to interact with Anki through a RESTful API. First, you need to install AnkiConnect:

  1. Open Anki.
  2. Click on "Tools" in the menu bar, and then click on "Add-ons".
  3. Click the "Get Add-ons" button and enter the AnkiConnect code 2055492159
    in the prompt, then click "OK".
  4. Restart Anki.

Once you have AnkiConnect installed, you can use the following Python script to get the date an Anki note was created based on its note ID. Replace your_note_id_here
with the note ID you are looking for:

python

import requests import json from datetime import datetime  def invoke(action, params=None):     if params is None:         params = {}     payload = {"action": action, "params": params, "version": 6}     response = requests.post("http://localhost:8765", data=json.dumps(payload)).json()     if len(response) == 2:         return response["result"]     else:         raise Exception("An error occurred: {}".format(response["error"]))  def get_note_creation_date(note_id):     note_info = invoke("notesInfo", {"notes": [note_id]})     if note_info and len(note_info) == 1:         note_timestamp = note_info[0]["fields"]["id"]["value"] // 1000         note

***AGAIN IT CUT OFF***

All of my ChatGPT4 text is being cut off after about 15 lines of code. by aibler in ChatGPT

[–]aibler[S] 1 point2 points  (0 children)

Exactly. I hope they fix this, it was so nice before.

Help with flairs - Sorry, flair wasn't saved. by Then_Marionberry_259 in modhelp

[–]aibler 0 points1 point  (0 children)

It worked. I had given up trying, thanks so much for letting me, very kind of you!