Optimising prompt engineering for better AI outputs
Member post originally published on the yld blog by Afonso Ramos Remember when searching for information online involved typing in a few keywords and sifting through pages of results? Thankfully, those days are long gone. Todayâs⊠â Read more
iâve transitioned text editors from nano (yeah i know) to micro and god micro is just so much better i did not know there was a CLI text editor i could use with sensible keyboard shortcuts that did not leave me feeling like iâm typing nuclear codes to do simple tasks like saving and editing
fair lol! i should give the web app a try, i donât think iâll get much use out of it from my phone anyway because i suck at typing on a phone but i might as well log in!
Breaked my fdroid repo by machinally type rm -rf repo in /var/www/fdroid. Hope it just contain apks and icons and i can recover
@prologic@twtxt.net maybe you meant to specify twtxt as a type similar to ActivityPubâs application/activity+json in https://webfinger.net/lookup/?resource=sorenpeter@norrebro.space
{
"rel": "self",
"type": "application/activity+json",
"href": "https://norrebro.space/users/sorenpeter"
},
Then it would also make sense to define a Link Relations but should that then link to something like https://twtxt.dev/webfinger.html where we can describe the spec?
@eapl.me@eapl.me why not https://domain.com/.well-known/twtxt/:domain/:user ?
the business card test is this can you write it on your business card and have someone you give it to be able to figure it out without added context?
- phone number: yes because everyone knows what a phone number is.
- email address: yes, everyone knows an email and their aol or prodigy will let them email.
- twitter/x/insta/pintrest handle: no, whats a twitter? do i need to sign up?
- domain name: yes its simple and you just type it in a browser right?
- twtxt url: kinda? its a bit long and is that a forward slash? or a backward slash?
One benefit with bluesky is your username is also a website. And not a clunky URL with slashes and such. I wish twtxt adopted that. I have advocated for webfinger to for twtxt to let us do something like it with usernames. Nostr has something like it
By default the bsky.social urls all redirect to their feeds like: hmpxvt.bsky.social
Many custom urls will redirect to some kind of linktree or just their feed cwebonline.com or la.bonne.petite.sour.is or if you are a major outlet just to your web presence like https://theonion.com⏠or https://netflix.com
Its just good SEO practice
Do all nostr addresses take you to the person if typed into a browser? That is the secret sauce.
No having to go to some random page first. no accounts. no apps to install. just direct to the person.
@bender@twtxt.net @prologic@twtxt.net Iâm not exactly asking yarnd to change. If you are okay with the way it displayed my twts, then by all means, leave it as is. I hope you wonât mind if I continue to write things like 1/4 to mean âfirst out of fourâ.
What has text/markdown got to do with this? I donât think Markdown says anything about replacing 1/4 with ÂŒ, or other similar transformations. Itâs not needed, because ÂŒ is already a unicode character that can simply be directly inserted into the text file.
Whatâs wrong with my original suggestion of doing the transformation before the text hits the twtxt.txt file? @prologic@twtxt.net, I think it would achieve what you are trying to achieve with this content-type thing: if someone writes 1/4 on a yarnd instance or any other client that wants to do this, it would get transformed, and other clients simply wouldnât do the transformation. Every client that supports displaying unicode characters, including Jenny, would then display ÂŒ as ÂŒ.
Alternatively, if you prefer yarnd to pretty-print all twts nicely, even ones from simpler clients, thatâs fine too and you donât need to change anything. My 1/4 -> ÂŒ thing is nothing more than a minor irritation which probably isnât worth overthinking.
@prologic@twtxt.net Iâm not a yarnd user, so it doesnât matter a whole lot to me, but FWIW Iâm not especially keen on changing how I format my twts to work around yarndâs quirks.
I wonder if this kind of postprocessing would fit better between composing (via yarndâs UI) and publishing. So, if a yarnd user types ÂŒ, it could get changed to ÂŒ in the twtxt.txt file for everyone to see, not just people reading through yarnd. But when I type ÂŒ, meaning first out of four, as a non-yarnd user, the meaning wouldnât get corrupted. I can always type ÂŒ directly if thatâs what I really intend.
(This twt might be easier to understand if you read it without any transformations :-P)
Anyway, again, Iâm not a yarnd user, so do what you will, just know you might not be seeing exactly what I meant.
BrĂŠkket ankel, grusomme detaljer
Hjemme igen efter 17 dage pÄ riget.
Det er dejligt ar vĂŠre hjemme igen
BrĂŠkkede min ankel i en vildt uheldig bouldering-ulykke.
Til de nĂžrdede: en komminut-fraktur af talus knoglen, Hawkins type 4
Til de nysgerrige laver jeg her en lille trÄd med detaljer om min behandling.
TL;DR er at personalet pÄ Rigshospitalet er enormt dygtige og rigtig sÞde. Jeg har fÞlt mig virkelig tryg og priviligeret.
(1/?) â Read more
@2024-10-08T19:36:38-07:00@a.9srv.net Thanks for the followup. I agrees with most of it - especially:
Please nobody suggest sticking the content type in more metadata. đ
Yes, URL can be considered ugly, but they work and are understandable by both humans and machines. And its trivial for any client to hide the URLs used as reference in replies/treading.
Webfinger can be an add-on to help lookup people, and it can be made independent of the nick by just serving the same json regardless of the nick as people do with static sites and a as I implemented it on darch.dk (wf endpoint). Try RANDOMSTRING@darch.dk on http://darch.dk/wf-lookup.php (wf lookup) or RANDOMSTRING@garrido.io on https://webfinger.net
@prologic@twtxt.net Regarding the new way of generating twt-hashes, to me it makes more sense to use tabs as separator instead of spaces, since the you can just copy/past a line directly from a twtxt-file that already go a tab between timestamp and message. But tabs might be hard to âtypeâ when you are in a terminal, since it will activate autocompleteâŠđ€
Another thing, it seems that you sugget we only use the domain in the hash-creation and not the full path to the twtxt.txt
$ echo -e "https://example.com 2024-09-29T13:30:00Z Hello World!" | sha256sum - | awk '{ print $1 }' | base64 | head -c 12
More thoughts about changes to twtxt (as if we havenât had enough thoughts):
- There are lots of great ideas here! Is there a benefit to putting them all into one document? Seems to me this could more easily be a bunch of separate efforts that can progress at their own pace:
1a. Better and longer hashes.
1b. New possibly-controversial ideas like edit: and delete: and location-based references as an alternative to hashes.
1c. Best practices, e.g. Content-Type: text/plain; charset=utf-8
1d. Stuff already described at dev.twtxt.net that doesnât need any changes.
We wonât know what will and wonât work until we try them. So Iâm inclined to think of this as a bunch of draft ideas. Maybe later when weâve seen it play out it could make sense to define a group of recommended twtxt extensions and give them a name.
Another reason for 1 (above) is: I like the current situation where all you need to get started is these two short and simple documents:
https://twtxt.readthedocs.io/en/latest/user/twtxtfile.html
https://twtxt.readthedocs.io/en/latest/user/discoverability.html
and everything else is an extension for anyone interested. (Deprecating non-UTC times seems reasonable to me, though.) Having a big long âtwtxt v2â document seems less inviting to people looking for something simple. (@prologic@twtxt.net you mentioned an anonymous comment âyouâve ruined twtxtâ and while I donât completely agree with that commenterâs sentiment, I would feel like twtxt had lost something if it moved away from having a super-simple core.)All that being said, these are just my opinions, and Iâm not doing the work of writing software or drafting proposals. Maybe I will at some point, but until then, if youâre actually implementing things, youâre in charge of what you decide to make, and Iâm grateful for the work.
@lyse@lyse.isobeef.org Iâd suggest making the whole content-type thing a SHOULD, to accommodate people just using some hosting service they donât have much control over. (The same situation could make detecting followers hard, but IMO âplease email me if you follow meâ is still legit twtxt, even if inconvenient.)
Kubecon + CloudNativeCon North America 2024 co-located event deep dive: Data on Kubernetes Day
Co-chairs: Melissa Logan and Adam DurrNovember 12, 2024Salt Lake City, Utah Organizations like Etsy, Grab, Dish Network, and Chick-fil-A have standardized on Kubernetes and shared best practices for running different types of stateful workloads. Our aim for the⊠â Read more
isnât the benefit of blake2b that it is a more efficient algo than sha1 and has the same or similar entropy to sha3? i thought we had partially solved this with some type of expanding hash size? additionally we could increase bit density by using base36 or base64/url-safeâŠ
@lyse@lyse.isobeef.org Sorry, I donât think I ever had charset=utf8. I just noticed that a few days ago. OpenBSDâs httpd might not support including a parameter with the mime type, unfortunately. Iâm going to look into it.
There is a bug in yarnd thatâs been around for awhile and is still present in the current version Iâm running that lets a person hit a constructed URL like
YOUR_POD/external?nick=lovetocode999&uri=https://socialmphl.com/story19510368/doujin
and see a legitimate-looking page on YOUR_POD, with an HTTP code 200 (success). From that fake page you can even follow an external feed. Try it yourself, replacing âYOUR_PODâ with the URL of any yarnd pod you know. Try following the feed.
I think URLs like this should return errors. They should not render HTML, nor produce legitimate-looking pages. This mechanism is ripe for DDoS attacks. My pod gets roughly 70,000 hits per day to URLs like this. Many are porn or other types of content I do not want. At this point, if itâs not fixed soon I am going to have to shut down my pod. @prologic@twtxt.net please have a look.
From object transition to RCE in the Chrome renderer
In this post, Iâll exploit CVE-2024-5830, a type confusion in Chrome that allows remote code execution (RCE) in the renderer sandbox of Chrome by a single visit to a malicious site.
The post From object transition to RCE in the Chrome renderer appeared first on The GitHub Blog. â Read more
@bender@twtxt.net Is it so maxed out you couldnât fit a pretty small program like Headscale on it? Headscale by itself and only personal home type use as far as amount of peers go, it really isnât noticeable I donât think resource-wise. The Docker version I guess could be a different story.
chronod on Mac â High CPU Use & Network Access Requests Explained
Some Mac users occasionally discover the âchronodâ process in MacOS is either consuming a large amount of system resources, or is requesting access to network connections. Sometimes chronod is flagged by overly zealous anti-virus apps as well. While there are plenty of people who ignore this kind of thing, another curious type of Mac user ⊠[Read More](https://osxdaily.com/2024/07/25/chronod-on-m ⊠â Read more
Low-tech Magazine: The Ebooks
Image: Ebook.
Many of you have asked for ebooks, and now you can download both the chronological and thematic books series in epub version. The files work on any type of device, without restrictions. You can find all ebooks in our online bookshop.
[Patrons get free access to all ebooks and PDF arch ⊠â Read more
đ» Issue 426 - Crafting types with Scala 3 macros - Part 1 of the most comprehensive macro tutorial yet â Read more
đ» Issue 424 - Typed Actors in Action - Exploring Cats-Actors with Alice and Bob â Read more
** The story of life **
Or at least the story of life as I implemented it in swift recently as a little learning project because I havenât written any swift since walking away from mobile dev a few years ago (no regrets)!
First there was the universe! Well, first there was some requisite boilerplate, but then there was the universe! A 2 dimensional grid, an array of 10 columns and 10 rows.
â`hljs swift
import Foundation
let rows: IntRead moreâ`
Docker Announces SOC 2 Type 2 Attestation & ISO 27001 Certification
Docker demonstrates commitment to security by achieving SOC 2 Type 2 attestation and ISO 27001:2022 certification. â Read more
There are apparently dedicated âfireproofâ external hard drives available that do this, and this coincidentally-timed piece suggests I might be able to get closer to what I was thinking in the not-too-distant future: https://www.pcgamer.com/hardware/ssds/researchers-have-developed-a-type-of-flash-memory-storage-that-can-withstand-temperatures-higher-than-the-surface-of-venus/
DSGW-130: A Voice-Control Enabled Touchscreen Control Panel for Smart Homes
DSGW-130: A Voice-Control Enabled Touchscreen Control Panel for Smart Homes
The DSGW-130 Zigbee Touch Screen Control Panel by Dusun is a compact device designed for smart home automation. Measuring 86mm by 86mm, it fits into an 86-type junction box, replacing traditional wall switches. It supports Zigbee 3.0, facilitating the integration and management of Zigbee devices into smart homes. â Read more
That was legible when I typed it. There were extra spaces between the words
What do Blue Underlines on Text Mean in Microsoft Edge?
If you use Microsoft Edge as your web browser, whether for free GPT 4 access or and DALL-E use, for cross-platform syncing, or any other reason, you may have noticed that you will often see blue underlined text when youâre typing within the browser. If youâre like me, youâre probably wondering what on earth the ⊠Read More â Read more
Whatâs a PXM File & How Do You Open It?
File types and file formats can be a bit of a mystery, especially when you stumble into a file that you donât necessarily recognize. One such case that you may come across is a file that has a .pxm file extension, and if you havenât heard of a PXM file before you understandably might be ⊠Read More â Read more
Pendulum Types
â Read more
Decoding your daily typing habits with GreptimeDB and Streamlit
Member post originally published on Greptimeâs blog by Tison Nowadays, typing is a nearly daily occurrence for most people. Interestingly, your typing habits may vary significantly from what you might assume. Below, youâll find a dashboard that provides⊠â Read more
The Best Way to Clean a MacBook Air Keyboard: Microfiber Cloth & KeyboardCleanTool
Cleaning the keyboard on a MacBook Air is an essential task, but it can be challenging if youâre trying to avoid unintended keypresses. If you donât want to type out a bunch of nonsense gibberish from cleaning the keyboard, or accidentally activated a mystery keystroke, then consider using a Mac app to lock down the ⊠[Read More](https://osxdaily.com/2024/04/13/best-way-clean-macbook-ke ⊠â Read more
Types of Eclipse Photo
â Read more
[Updated] Free Mobile-Friendly Layout Wizard
Updated: The
Free Mobile-Friendly Layout Wizard
has been updated. It will now place the meta charset tag before the title in the head section (so that it will
be in the first 1 KB of your page even if you have a long title). In addition, if you select HTML5 as the output type,
the shorter meta charset tag will be used. â Read more
OAuth: âgrantâ vs âflowâ vs âgrant typeâ
Is it called an OAuth âgrantâ or a âflowâ? What about âgrant typeâ? â Read more
How to Use the Apple Watch Keyboard: Typing on Apple Watch Directly, & with Dictation, or iPhone
The Apple Watch may be small and on your wrist, but believe it or not the Apple Watch also has a keyboard. Yes, even with the small screen, you can use a full size QWERTY keyboard on Apple Watch to type things out, whether itâs a quick response to a message, or an email. In ⊠Read More â Read more
How to stay safe from repo-jacking
Repo-jacking is a specific type of supply chain attack. This blog post explains what it is, what the risk is, and what you can do to stay safe.
The post How to stay safe from repo-jacking appeared first on The GitHub Blog. â Read more
How to Automatically Fill SMS Passcodes & Security Codes on iPhone, iPad, Mac
Messages for iPhone, Mac, and iPad all contain a really handy feature that autofills security codes that are sent to you via text message. You know the type, as these text message verification codes are often required for signing into financial institutions or many other things that use it as a method of identity and ⊠[Read More](https://osxdaily.com/2024/02/20/how-to-automatic ⊠â Read more
The soundworld of the river in February is pretty different from August. There are so many sloshy water-type sounds right now. I suspect some of it is actually fishes vocalizing. So hard to tell!
@lyse@lyse.isobeef.org Yeah the func in func threw me off.. The generic type iter.Seq[V] does make things a bit more clear though.
I would love to see a world where ones twtxt feed is defined by webfinger. So @xuu@txt.sour.is => https://text.sour.is/user/xuu/twtxt.txt
Then my identity can exist independent of the feed location. And I can host multiple protocol types for my feed. Ie. http/gopher/Gemini/irc DCC/etc
iOS 17.3.1 Update Released to Fix Overlapping Text Bug on iPhone & iPad
Apple has released iOS 17.3.1 as an update for iPhone, along with iPadOS 17.3.1 for iPad. The small software update includes a bug fix for an issue where text may duplicate or overlap while typing. There do not appear to be any other changes or security fixes in this update. Separately, macOS Sonoma 14.3.1 and ⊠[Read More](https://osxdaily.com/2024/02/08/ios-17-3-1-update-released-to-fix ⊠â Read more
Status 2024-01-29
Friday is my day off from work, as usual. So when Iâm typing this Iâm
in front of the hackstation (not a battlestation, obviously) with my
third cup of coffee, writing an update again.
Iâve been doing these status updates on my Gemini log, but Iâm
increasingly aware of the dropping amounts of traffic, so Iâm thinking
about doing them on the blog instead, but see below for some thoughts
on Gemini.
In which I speak about an intense week, feeling good(?), spending ⊠â Read more
Fix Step Count in Health App Updating Slowly on iPhone
If youâre the type of person who likes to keep track of their daily step count by using iPhone as a step counter, it is frustrating when the iPhone Health app step counter does not update as frequently as youâd like. Additionally, there are some challenges that are linked to specific step counts, and many ⊠Read More â Read more
Cost-efficient $39.90 Travel Router with Dual GbE Ports and Flexible Storage Options
Recently, SeeedStudio introduced the LinkStar-H28K-0408, a compact, pocket-sized router that offers advanced connectivity options. This device is equipped with Dual Gigabit Ethernet ports for high-speed internet access and includes a versatile USB Type-C port with Power Delivery support, enhancing its usability and convenience for various applications. Differing from the LinkS ⊠â Read more
How to Disable Inline Text Predictions on iPhone & iPad
The latest versions of iPhone and iPad system software include a feature that offers predictive typing, with typing suggestions shown inline as light gray words that are ahead of your cursor as you type. For example, if youâre typing âhow arâ you might see the inline prediction suggest âhow are youâ as a way to ⊠Read More â Read more
How to Disable Inline Text Predictions on iPhone & iPad
The latest versions of iPhone and iPad system software include a feature that offers predictive typing, with typing suggestions shown inline as light gray words that are ahead of your cursor as you type. For example, if youâre typing âhow arâ you might see the inline prediction suggest âhow are youâ as a way to ⊠Read More â Read more
How to Disable Inline Predictive Text Typing on Mac
The latest versions of MacOS offer an inline predictive text feature, which attempt to predict what you may want to type text. Youâll see this appear when typing in many Mac apps as there are words appearing in lighter gray in front of what you are presently typing, which you can complete typing of by ⊠Read More â Read more