Searching txt.sour.is

Twts matching #format
Sort by: Newest, Oldest, Most Relevant
In-reply-to » @movq going a little sideways on this, "*If twtxt/Yarn was to grow bigger, then this would become a concern again. But even Mastodon allows editing, so how much of a problem can it really be? 😅*", wouldn't it preparing for a potential (even if very, very, veeeeery remote) growth be a good thing? Mastodon signs all messages, keeps a history of edits, and it doesn't break threads. It isn't a problem there.😉 It is here.

i feel like we should isolate a subset of markdown that makes sense and built it into lextwt. it already has support for links and images. maybe basic formatting bold, italic. possibly block quote and bullet lists. no tables or footnotes

⤋ Read More
In-reply-to » (#lryyjla) @quark My money is on a SHA1SUM hash encoding to keep things much simpler:

@prologic@twtxt.net Wikipedia claims sha1 is vulnerable to a “chosen-prefix attack”, which I gather means I can write any two twts I like, and then cause them to have the exact same sha1 hash by appending something. I guess a twt ending in random junk might look suspcious, but perhaps the junk could be worked into an image URL like

Image

. If that’s not possible now maybe it will be later.

git only uses sha1 because they’re stuck with it: migrating is very hard. There was an effort to move git to sha256 but I don’t know its status. I think there is progress being made with Game Of Trees, a git clone that uses the same on-disk format.

I can’t imagine any benefit to using sha1, except that maybe some very old software might support sha1 but not sha256.

⤋ Read More

OpenMetrics is archived, merged into Prometheus
Community post originally published on Medium by Dotan Horovits OpenMetrics is finally back where it has always belonged — Prometheus format Last month the OpenMetrics project was officially archived and folded into Prometheus. That’s the end of an open source… ⌘ Read more

⤋ Read More
In-reply-to » Hmmmm, I somehow run into an encoding problem where my inserted data end up mangled in the database. But, both SQLite and Go use UTF-8. What's happening here? :-?

@movq@www.uninformativ.de Non-ASCII characters were broken. Like U+2028, degrees (°), etc.

Turns out I used a silly library to detect the encoding and transform to UTF-8 if needed. When there is no Content-Type header, like for local files, it looks at the first 1024 bytes. Since it only saw ASCII in that region, the damn thing assumed the data to be in Windows-1252 (which for web pages kinda makes sense):

// TODO: change default depending on user's locale?
return charmap.Windows1252, "windows-1252", false

https://cs.opensource.google/go/x/net/+/master:html/charset/charset.go;l=102

This default is hardcoded and cannot be changed.

Trying to be smart and adding automatic support for other encodings turned out to be a bad move on my end. At least I can reduce my dependency list again. :-)

I now just reject everything that explicitly specifies something different than text/plain and an optional charset other than utf-8 (ignoring casing). Otherwise I assume it’s in UTF-8 (just like the twtxt file format specification mandates) and hope for the best.

⤋ Read More
In-reply-to » @falsifian In my opinion it was a mistake that we defined the first url field in the feed to define the URL for hashing. It should have been the last encountered one. Then, assuming append-style feeds, you could override the old URL with a new one from a certain point on:

I was not suggesting to that everyone need to setup a working webfinger endpoint, but that we take the format of nick+(sub)domain as base for generating the hashed together with the message date and content.

If we omit the protocol prefix from the way we do things now will that not solve most of the problems? In the case of gemini://gemini.ctrl-c.club/~nristen/twtxt.txt they also have a working twtxt.txt at https://ctrl-c.club/~nristen/twtxt.txt … damn I just notice the gemini. subdomain.

Okay what about defining a prefers protocol as part of the hash schema? so 1: https , 2: http 3: gemini 4: gopher ?

⤋ Read More

A Simple Archive Format for Self-Contained Executables
The build/run instructions for the example games for
high_impact were subtly wrong:

make sokol
./build/game_sokol

make sokol compiles the Sokol version, converts all assets and puts the results
(executable and converted assets) into the build/ directory. So far so good.
Where it falls apart is in the next line: ./build/game_sokol. The executable
starts just fine, but it’s looking in the current directory ( ./) for all the
assets, … ⌘ Read more

⤋ Read More

Here’s Everything New in the Messages App on iOS 18
iOS 18 adds many new features to the Messages app, including the ability to schedule messages to be sent later, the ability to use any emoji or sticker as a Tapback, text formatting options like bold and italics, and much more.

Image

iOS 18 is currently available in beta for members of the Apple Developer Program, with … ⌘ 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 MoreRead more

⤋ Read More

How to Convert MOV to MP4 on Mac Free with ffmpeg
If you have a video file in MOV format, you may wish to convert the MOV video to MP4 format instead. While there are a variety of methods for converting MOV to MP4, the approach we’re going to address here is by using the command line, with a super easy to use and free tool … Read MoreRead more

⤋ Read More

Create a Resume with Pages on Mac, iPhone, iPad
Creating a resume is one of those tasks that can be stressful, but it does not need to be if you’re in the Apple ecosystem. That’s because your iPhone, iPad, and Mac, all have a readily accessible series of resume templates that you can access. Whether it’s updating a resume into a new format, or … Read MoreRead more

⤋ Read More

Create a Resume with Pages on Mac, iPhone, iPad
Creating a resume is one of those tasks that can be stressful, but it does not need to be if you’re in the Apple ecosystem. That’s because your iPhone, iPad, and Mac, all have a readily accessible series of resume templates that you can access. Whether it’s updating a resume into a new format, or … Read MoreRead more

⤋ Read More

Ignite Realtime Blog: PionTurn plugin 1.0.0 released!
The Ignite Realtime community is happy to announce the release of version 1.0.0 of the PionTurn plugin.

This version brings in the new long-term authentication compatible with the TURN REST format, bringing security to the latest standard.

And it also brings in a new mechanism for resolving domain names, making it possible to run the Pionturn plugin in a dynamic IP environment without having to worry about updating the IP.

Last but not … ⌘ Read more

⤋ Read More
In-reply-to » Yeah, the lack of comments makes regular JSON not a good configuration format in my view. Also, putting all keys in quotes and the use of commas is annoying. The big upside is that's in lots of standard libraries.

@lyse@lyse.isobeef.org its a hierarchy key value format. I designed it for the network peering tools i use.. I can grant access to different parts of the tree to other users.. kinda like directory permissions. a basic example of the format is:

@namespace
# multi
# line
# comment
root :value

# example space comment
@namespace.name space-tag 

# attribute comments
attribute attr-tag  :value for attribute

# attribute with multiple 
# lines of values
foo :bar
      :bin
      :baz

repeated :value1
repeated :value2

each @ starts the definition of a namespace kinda like [name] in ini format. It can have comments that show up before. then each attribute is key :value and can have their own # comment lines.
Values can be multi line.. and also repeated..

the namespaces and values can also have little meta data tags added to them.

the service can define webhooks/mqtt topics to be notified when the configs are updated. That way it can deploy the changes out when they are updated.

⤋ Read More
In-reply-to » Yeah, the lack of comments makes regular JSON not a good configuration format in my view. Also, putting all keys in quotes and the use of commas is annoying. The big upside is that's in lots of standard libraries.

@lyse@lyse.isobeef.org its a hierarchy key value format. I designed it for the network peering tools i use.. I can grant access to different parts of the tree to other users.. kinda like directory permissions. a basic example of the format is:

@namespace
# multi
# line
# comment
root :value

# example space comment
@namespace.name space-tag 

# attribute comments
attribute attr-tag  :value for attribute

# attribute with multiple 
# lines of values
foo :bar
      :bin
      :baz

repeated :value1
repeated :value2

each @ starts the definition of a namespace kinda like [name] in ini format. It can have comments that show up before. then each attribute is key :value and can have their own # comment lines.
Values can be multi line.. and also repeated..

the namespaces and values can also have little meta data tags added to them.

the service can define webhooks/mqtt topics to be notified when the configs are updated. That way it can deploy the changes out when they are updated.

⤋ Read More
In-reply-to » Question of the day: What configuration file formats do you all like and use?

Yeah, the lack of comments makes regular JSON not a good configuration format in my view. Also, putting all keys in quotes and the use of commas is annoying. The big upside is that’s in lots of standard libraries.

I think the appeal with YAML is that is has comments, is kind of easy to write and read and also provides unlimited nesting levels. But it has all its drawbacks, no question. Forbidding tabs, thousands of different string flavors, having so many boolean options (poor Norwegians) etc. I use it, but I don’t particularly enjoy it.

Among simple key value pairs, I like INI files, but with # for comments, not ;. I never used TOML, read up on it yesteray before writing this question, but it looks a bit weird and has some strange rules. I guess I have to give it a try one day.

And yes, as mentioned by several of you, it always depends on the complexity of the configuration at hand.

I’m developing something for the scouts at the moment with rather simple requirements on the config. Currently, there are just four settings. Even INI would be overkill with its section. I selected JSON for now, because that’s readily available with Go’s std lib. But I do not like it.

Btw. what’s your own config format, @xuu@txt.sour.is?

⤋ Read More

How to Mount & Copy HFS Classic Mac Drives on MacOS
Modern versions of MacOS no longer support HFS, meaning that new Macs can no longer read, mount, or write to classic HFS drives. But a fair amount of longtime Mac users continue to have older Macs and old Mac hard drives that are in HFS format, way back from the days of Mac OS 8, … Read MoreRead more

⤋ Read More

Palestinian Prime Minister Shtayyeh submits resignation
Palestinian Prime Minister Mohammad Shtayyeh said on Monday he was resigning to allow for the formation of a broad consensus among Palestinians about political arrangements following Israel’s war against the Islamist group Hamas in Gaza. ⌘ Read more

⤋ Read More

Status 2024-02-25
Status report again!

Image

Figure 1: A visitor this morning.

Sitting in front of the wood stove in my country cottage. It’s nice
and quiet. Meanwhile it seems NordicFuzzCon is going on in Malmö.
4,000 furries. I had no idea! That seems fun!

On the other hand I just read that at least 10,000 were protesting in
Malmö today against the Israel-Palestine conflict. I’ve seen the much
smaller protest … ⌘ Read more

⤋ Read More

The country music vamp n’ talk is a nice format. A stolen-from-the-blues-thing? I like the vibe of someone pouring out their heart into the mic in plain speech while their friends pour their hearts into their instruments gently in the background.

⤋ Read More

How to Batch Convert Images to WebP on Mac
As WebP grows in popularity as a compressed image format for the web, many web workers need to convert batches of images to WebP format from their Mac. Bulk converting images like JPG and PNG to WebP is not currently a native feature, but with a little tinkering on the Mac, you can gain functionality … Read MoreRead more

⤋ Read More

After getting used to it, I’m loving this date format:
2024-02-06

I liked ‘6feb2024’, although isn’t as international as the former.
And… ‘06/02/24’ is awful, don’t use it!

⤋ Read More

Twtxt spec enhancement proposal thread 🧵

Adding attributes to individual twts similar to adding feed attributes in the heading comments.

https://git.mills.io/yarnsocial/go-lextwt/pulls/17

The basic use case would be for multilingual feeds where there is a default language and some twts will be written a different language.

As seen in the wild: https://eapl.mx/twtxt.txt

The attributes are formatted as [key=value]

They can show up in the twt anywhere it is not enclosed by another element such as codeblock or part of a markdown link.

⤋ Read More

Twtxt spec enhancement proposal thread 🧵

Adding attributes to individual twts similar to adding feed attributes in the heading comments.

https://git.mills.io/yarnsocial/go-lextwt/pulls/17

The basic use case would be for multilingual feeds where there is a default language and some twts will be written a different language.

As seen in the wild: https://eapl.mx/twtxt.txt

The attributes are formatted as [key=value]

They can show up in the twt anywhere it is not enclosed by another element such as codeblock or part of a markdown link.

⤋ Read More
In-reply-to » (#fytbg6a) What about using the blockquote format with > ?

@sorenpeter@darch.dk this makes sense as a quote twt that references a direct URL. If we go back to how it developed on twitter originally it was RT @nick: original text because it contained the original text the twitter algorithm would boost that text into trending.

i like the format (#hash) @<nick url> > "Quoted text"\nThen a comment
as it preserves the human read able. and has the hash for linking to the yarn. The comment part could be optional for just boosting the twt.

The only issue i think i would have would be that that yarn could then become a mess of repeated quotes. Unless the client knows to interpret them as multiple users have reposted/boosted the thread.

The format is also how iphone does reactions to SMS messages with +number liked: original SMS

⤋ Read More
In-reply-to » (#fytbg6a) What about using the blockquote format with > ?

@sorenpeter@darch.dk this makes sense as a quote twt that references a direct URL. If we go back to how it developed on twitter originally it was RT @nick: original text because it contained the original text the twitter algorithm would boost that text into trending.

i like the format (#hash) @<nick url> > "Quoted text"\nThen a comment
as it preserves the human read able. and has the hash for linking to the yarn. The comment part could be optional for just boosting the twt.

The only issue i think i would have would be that that yarn could then become a mess of repeated quotes. Unless the client knows to interpret them as multiple users have reposted/boosted the thread.

The format is also how iphone does reactions to SMS messages with +number liked: original SMS

⤋ Read More

What about using the blockquote format with > ?

Snippet from someone else’s post
by: @eapl.me@eapl.me

Would it not also make sense to have the repost be a reply to the original post using the (#twthash), and maybe using a tag like #repost so it eaier to filter them out?

⤋ Read More

How to Convert Images to Webp on Mac from Command Line
Do you need to convert images to webp format from the Mac? Converting images to WebP offers tremendous file size savings, often compressing an image up to 70% without losing image quality, so it’s understandable why many Mac users and web developers, designers, and workers would wish to convert and compress images into WebP format. … Read MoreRead more

⤋ Read More

How to Convert Images to Webp on Mac from Command Line
Do you need to convert images to webp format from the Mac? Converting images to WebP offers tremendous file size savings, often compressing an image up to 70% without losing image quality, so it’s understandable why many Mac users and web developers, designers, and workers would wish to convert and compress images into WebP format. … Read MoreRead more

⤋ Read More

Download Over 900 eBooks of Classics Free from StandardEbooks
If you’re interested in doing some reading of the classics, you may appreciate the Standard Ebooks project, which offers free high quality ebooks that are well-formatted, proofread, and professionally designed using style manuals. Standard Ebooks focuses on books that are in the public domain and without copyright restrictions, which is how they’re able to offer … [Read More](https://osxdaily.com/2023/12/21/dow … ⌘ Read more

⤋ Read More

Download Over 900 eBooks of Classics Free from StandardEbooks
If you’re interested in doing some reading of the classics, you may appreciate the Standard Ebooks project, which offers free high quality ebooks that are well-formatted, proofread, and professionally designed using style manuals. Standard Ebooks focuses on books that are in the public domain and without copyright restrictions, which is how they’re able to offer … [Read More](https://osxdaily.com/2023/12/21/dow … ⌘ Read more

⤋ Read More

Émeutes à Paris : les autorités pourraient tenter d’acheter la paix
Un article de Henry Bonner Cette semaine, je rentrais à pied, à Paris, d’un anniversaire célébré dans un établissement près des Grands Boulevards. Vers le Palais Royal, je trouve subitement un grand rassemblement de personnes. Puis des CRS arrivent en formation de bataille. Des groupes de casseurs ou manifestants, ou de simples opportunistes, lancent des […] ⌘ Read more

⤋ Read More

QOA Benchmark Results and File Format Specification
The specification for the Quite OK Audio Format,
announced in a previous blog post,
is now finalized. QOA is a lossy audio compression format. Typical audio
signals (44100hz, stereo) are encoded into 278 kbits/s, or more precisely 3.2
bits per sample – exactly 1/5 of the bits needed for an uncompressed WAV.

Image

The QOA-Specification [fits on a single … ⌘ Read more

⤋ Read More
In-reply-to » @darch I think having a way to layer on features so those who can support/desire them can. It would be best for the community to be able to layer on (or off) the features.

@xuu@txt.sour.is @prologic@twtxt.net Yarn.social without threading (as it would be the case in a “truncated” feed) does not make sense to me.

Put another way: Yarn.social is not twtxt. The content that we all have in our feeds really is much closer to a web forum or usenet or whatever. It’s threaded conversations. twtxt, as I believe it was originally intended, are short little status updates – that’s it. The formats of Yarn.social and twtxt might be very similar, but the content is vastly different and, in a way, incompatible. (As such, I think I understand very well that the original twtxt crowd is disgruntled.)

That proposed truncated feed doesn’t really provide any value, if you ask me. 🤔 It’d just be chaotic.

⤋ Read More

Time Domain Audio Compression at 3.2 bits per Sample
Audio formats typically fall into one of three categories: “lossless”,
“complicated” or “bad”. After developing a
simple image format
last year, I tried to come up with an audio format that fits neither of these
categories.

In other words: a format that is lossy, simple and quite ok.
Naturally, it’s called QOA — the Quite OK Audio Format.

![Comparison of Audio Codecs](/content/assets/qoa-comparison-char … ⌘ Read more

⤋ Read More
In-reply-to » @xuu that doesn't seem to fit the spirit of the spec, at least by my read (I could be wrong obv). The example on Wikipedia's webfinger page,

it seems they are following the URN format of a URI where you just prefix things with colons.

urn:example:apple:pear:plum:cherry

⤋ Read More
In-reply-to » @xuu that doesn't seem to fit the spirit of the spec, at least by my read (I could be wrong obv). The example on Wikipedia's webfinger page,

it seems they are following the URN format of a URI where you just prefix things with colons.

urn:example:apple:pear:plum:cherry

⤋ Read More

RT by @mind_booster: A Brief History of the More Than 30 Formats Music Has Officially Been Released On, including my new favorites, the Tefifon and the Sabamobil. https://loudwire.com/music-formats-history-streaming-cd-tape-vinyl/
A Brief History of the More Than 30 Formats Music Has Officially Been Released On, including my new favorites, the Tefifon and the Sabamobil. loudwire.com/music-formats-h…

![](https://nitter.net/pic/media%2FF … ⌘ Read more

⤋ Read More

In reply to: A simple mess

This is also something people keep getting wrong about Markdown as originally presented. Markdown isn’t a format. It’s a convenience tool that helps you write some of the boringest and commonest parts of HTML easier, and you can easily drop into more wonky HTML at any time.

Yes yes yes yes yes yes! ⌘ Read more

⤋ Read More

Erlang Solutions: MongooseIM 5.1 Configuration Rework
MongooseIM is a modern messaging server that is designed for scalability and high performance. The use of XMPP (Extensible Messaging and Presence Protocol) extensions (XEPs) means it is also highly customisable. Since version 4.0 it has been using the TOML configuration file format, which is much more user-friendly than the previously used Erlang terms. The latest release, MongooseIM 5.1, makes it more developer-friendly as well by … ⌘ Read more

⤋ Read More

Though twtxt registries never really took off gemini://warmedal.se/~antenna/twtxt.txt presents the last 7 days of twts known by Antenna in the registry format. It’s intended to be a help in discovering twt feeds in geminispace (there aren’t very many yet).

⤋ Read More

** A quick and dirty intro to the .pbm file format **
I’ve been fiddling with writing programs that draw pictures. I started with PostScript for this, but have since moved to writing programs that output in the .pbm format.

My goal here is to write noise to a .pbm file.

A .pbm file is the lowest common denominator among image file formats.

An example of the format,

”`hljs plaintext
P1

comment describing the file

5 5
1 0 1 0 1
0 1 0 1 0
1 0 1 … ⌘ Read more”`

⤋ Read More

Lossless Image Compression in O(n) Time
Introducing QOI — the Quite OK Image Format. It losslessly compresses RGB and
RGBA images to a similar size of PNG, while offering a 20x-50x speedup in
compression and 3x-4x speedup in decompression. All single-threaded, no
SIMD. It’s also stupidly simple.

tl;dr: 300 lines of C, single header,
source on github,
benchmark results here.

![QOI compression](/content/a … ⌘ Read more

⤋ Read More

I need someone with a nice, and clean twtxt.txt feed. One that doesn’t include much–if any–images, and in which twts have more content. Just looking to see how formatting is handled in jenny and how to tweak it to my liking.

⤋ Read More

Entirely sensible, & no reason for file storage to match the wire format. I’m just really curious what’s going on on macOS! I can test on hfs+ later.

⤋ Read More

@vain@www.uninformativ.de I have seen it pop up on a few feeds around and adopted it into the new parser I built.

The format I have followed has been '# ' :whitespace: :key-name: :whitespace: '=' :whitespace: :value: keys can be repeated and accessed like an array of values.

⤋ Read More

@vain@www.uninformativ.de I have seen it pop up on a few feeds around and adopted it into the new parser I built.

The format I have followed has been '# ' :whitespace: :key-name: :whitespace: '=' :whitespace: :value: keys can be repeated and accessed like an array of values.

⤋ Read More

Wanna learn LaTeX?

Wanna learn LaTeX? What is LaTeX?

Basically, it’s how big boys write and format documents.
Every public brief, scientific article, book, cryptocurrency whitepaper or even outline written by people who know what they’re doing is written in LaTeX.

If you want to see examples of documents made with LaTeX, you can see my Master’s thesis here or another paper here that shows some diagrams and other features you can have in LaTe … ⌘ Read more

⤋ Read More

with !zet and !zetdo, I find myself constantly needing to type out UUIDs. thing is, they aren’t the easiest thing to type. might invent an intermediate typer-friendly intermediate UUID format that can then convert to the regular UUID format. #halfbaked

⤋ Read More

yes. I read that. Nice post. Brave browser at least has trouble with formatting. The regexp got lost when renederd. Eww (emacs text browser) doees just fine with it :-)

⤋ Read More