deergon

joined 2 years ago
[–] deergon 23 points 1 year ago

This. My friend had a triple stroke shortly after having neck manipulation done by a standin for his usual chiropractor. Luckily he survived, but it has very much opened my eyes to how dangerous it can be.

[–] deergon 17 points 1 year ago (2 children)

Also note that mac addresses can change automatically on iOS, because of the Private Wifi Address feature

[–] deergon 2 points 1 year ago

It would be very cool having 4K pr. eye for work/virtual displays, however I think I read that the micro-OLED displays alone cost 2 x 350 USD in the Apple Vision Pro, so it comes with a heavy price tag. Maybe Pico found a cheaper alternative for the 5 Max.

[–] deergon 1 points 1 year ago

Seems a little off that a hack of "all of Sonys systems" only yielded approx 6000 files, or am I missing something? :)

[–] deergon 4 points 1 year ago

Amazing, what a feat! I love that you still need to type LOAD "SEMU",8,1 and RUN to load the program, brings back lots of great memories :)

[–] deergon 2 points 1 year ago (1 children)

I tried the python code out and it actually does work for me, ie. I'm able to update an existing bookmark.

# hashing code from link inserted here
def update_place(id, new_url):
    new_url_hash = url_hash(new_url)
    conn = sqlite3.connect('places.sqlite')
    cur = conn.cursor()
    cur.execute('UPDATE moz_places SET url = ?, url_hash = ? WHERE id = ?', (new_url, new_url_hash, id))
    conn.commit()
    cur.close()
    conn.close()

update_place(16299, "javascript:alert('Testing bookmarklet update ...');alert('Great success!');")

Only annoying thing is that Firefox needs to be closed while updating. Anyway, I haven't tried with bigger scripts though, so there might be some gotchas there.

Agreed, keywords are really nice for keyboard navigation!

[–] deergon 2 points 1 year ago (3 children)

Thanks a million, great info once again! I didn't realize that the %s was simply replaced (because that seems a little dirty), but it makes sense in the bookmark context.

Yeah, the development flow is a little tricky :) Ideally it would be nice to re-apply/import them automatically without user interaction and/or run automated testing. I fiddled a little with the command-line (for testing), ie. firefox -url "javascript:...", but it doesn't seem to work. Accessing the places database directly would be great of course. I've been thinking about using the enterprise policies, but haven't gotten around to testing it.

[–] deergon 3 points 1 year ago (6 children)

Great post! Do you know if there's any official documentation on the bookmarklets? I've been trying to Google it without much luck.

[–] deergon 12 points 2 years ago

Act on your thoughts and ideas. Especially small stuff like being creative (for fun) or writing a friend, you haven't had contact with in a while - little effort, but feels nice and motivates you to do more.

[–] deergon 2 points 2 years ago (4 children)

Interesting idea for sure! Without any thought to the details or technical side of things, how do you figure the community moderators would be appointed (if the communities are created automatically)?

view more: ‹ prev next ›