I like this syntax, you have my vote, although Iād change it a bit like
#<Alice https://example.com/twtxt.com#2024-12-18T14:18:26+01:00>
Hashes are not a problem on PHP, I dont know why itās slow to calculate them from your side, but I agree with your points.
BTW, did you have the chance to read my proposal on twtxt 2.0? I shared a few ideas about possible improvements to discuss:
https://text.eapl.mx/a-few-ideas-for-a-next-twtxt-version
https://text.eapl.mx/reply-to-lyse-about-twtxt
Genode OS Framework 25.02 released
The prime feature is the continuation of the multi-monitor topic of the previous release, covering multi-monitor window management and going as far as seamlessly integrating multi-monitor virtual machines (Section Multi-monitor window management and virtual machines). The second and long anticipated feature is the Chromium engine version 112 in combination with Qt 6.6.2, which brings our port of the Falkon web browser on par with the modern web (Section Qt, WebE ⦠ā Read more
- System Design Interview Vol. 1 and 2, Alex Xu and Sahn Lam
- Designing Data-Intensive Applications, Martin Kleppmann
Understanding surrogate pairs: why some Windows filenames canāt be read
Windows was an early adopter of Unicode, and its file APIs use UTFā16 internally since Windows 2000-used to be UCS-2 in Windows 95 era, when Unicode standard was only a draft on paper, but thatās another topic. Using UTF-16 means that filenames, text strings, and other data are stored as sequences of 16ābit units. For Windows, a properly formed surrogate pair is perfectly acceptable. However ⦠ā Read more
zlib-rs is faster than C
Iām sure we can all have a calm, rational discussion about this, so here it goes: zlib-rs, the Rust re-implementation of the zlib library, is now faster than its C counterparts in both decompression and compression. Weāve released version 0.4.2 of zlib-rs, featuring a number of substantial performance improvements. We are now (to our knowledge) the fastest api-compatible zlib implementation for decompression, and beat the competition in the most important compression cases too. ā« F ⦠ā Read more
[ ā³ Reply to twt ]
button?
I donāt think so, at least the tests I did passed. If youāre pretty sure itās a bug, please create an issue in the repository with the specific case and Iāll investigate it.
There are 2 buttons to make replicas, one makes a replica in the thread where the twt is located (this is the one that should be used the most, as it serves a thread), the other creates a replica to a specific twt.
Iāll let you know a bit about the status: Iām just now implementing the thread screen. There you can be sure where you are. Itās a bit confusing right now, sorry. I think the client is still in alpha. When Iāve finished what Iām doing, and the direct message system, Iāll freeze development and focus on creating more tests, looking for bugs and making small visual adjustments.
Microsoft unveils experimental quantum chip using new state of matter + 1 more story
Microsoft unveils a new chip that accelerates quantum computing; Nvidia launches Evo 2, largest AI system for genetic research ā Read more
@arne@uplegger.eu Well, just for my understanding. The command:
echo "Lorem ipsum" | openssl enc -aes-256-cbc -pbkdf2 -iter 100000 -out message.enc -pass file:shared_key.bin
will take the input string from echo
to openssl
. It then will
- use the content of
shared_key.bin
as password
- use
PBKDF2
with an iteration of 100000 to generate a encryption key from the given password (shared_key.bin
)
- use the
PBKDF2
generated key for anaes-256-cbc
encryption
The final result is encrypted data with the prepended salt (which was generated by runtime), e.g.: Salted__q�;��-�T���"h%��5�� ...
.
With a dummy script I now can generate a valide shared key within PHP āopenssl_pkey_derive()ā - identical to OpenSSL.
I also can en-/decrypt salted data within my script, but not with OpenSSL. There are several parameters of PBKDF2
unknown to me.
Question:
- Is the salt, used by
aes-256-cbc
andPBKDF2
the same, prepended in the encrypted data?
- Witch algorithm/cipher is used within
PBKDF2
: sha1, sha256, �
- What is the desired key length of
PBKDF2
(https://www.php.net/manual/en/function.openssl-pbkdf2.php)?
To be continued ā¦
Researchers found gene linked to origins of human speech + 2 more stories
Scientists identify gene responsible for speech development; North Korea rejects US denuclearization pledge as absurd; Japan increases nuclear energy target to meet rising demands ā Read more
ArcaOS 5.1.1 released
Itās been two years since the release of ArcaOS 5.1, which was a hugely important release because it brought UEFI support to this continuation of IBMās OS/2, ensuring longevity for the project for years to come. Since I donāt think much is known about what, exactly, Arca Noae, and eComStation before it, has access to within the licensing agreement with IBM, itās difficult to ascertain just how much room they actually have to make changes to the code at the core of the old OS/2. Regardles ⦠ā Read more
You have a microwave oven at home, right?
You can type 3 and 0 for 30 seconds, 100 for a minute (shown as 1:00), or 200 for two minutes (2:00).
What would happen if you type 777 and Start?
A) Nothing
B) Self-destruction
C) Will run for 7 minutes and 77 seconds (boring!)
What about 7777 ?
Israel plans potential attack on Iranās nuclear sites + 2 more stories
U.S. intelligence warns of potential Israeli attack on Iran; Metaās AI model decodes brain activity into sentences; Trump shifts Ukraine policy towards negotiations with Putin. ā Read more
reviewing logs this morning and found i have been spammed hard by bots not respecting the robots.txt
file. only noticed it because the OpenAI bot was hitting me with a lot of nonsensical requests. here is the list from last month:
- (810) bingbot
- (641) Googlebot
- (624) http://www.google.com/bot.html
- (545) DotBot
- (290) GPTBot
- (106) SemrushBot
- (84) AhrefsBot
- (62) MJ12bot
- (60) BLEXBot
- (55) wpbot
- (37) Amazonbot
- (28) YandexBot
- (22) ClaudeBot
- (19) AwarioBot
- (14) https://domainsbot.com/pandalytics
- (9) https://serpstatbot.com
- (6) t3versionsBot
- (6) archive.org_bot
- (6) Applebot
- (5) http://search.msn.com/msnbot.htm
- (4) http://www.googlebot.com/bot.html
- (4) Googlebot-Mobile
- (4) DuckDuckGo-Favicons-Bot
- (3) https://turnitin.com/robot/crawlerinfo.html
- (3) YandexNews
- (3) ImagesiftBot
- (2) Qwantify-prod
- (1) http://www.google.com/adsbot.html
- (1) http://gais.cs.ccu.edu.tw/robot.php
- (1) YaK
- (1) WBSearchBot
- (1) DataForSeoBot
i have placed some middleware to reject these for now but it is not a full proof solution.
~10 seconds means it had to fire up Qwen 2.8b and prompt it what items would reasonably show up in a right click menu for the desktop.
@andros@twtxt.andros.dev The article is a good reminder of the true blogging mindset. But letās try to think beyond. 2 ideas: (1) writing āforces clarity, structures your thoughts, sharpens your perspectiveā. But it also generates thoughts in the sense of Heinrich von Kleist (1805). (2) Youāre writing for āthe future you, one right person, one dayā but you are also writing for the AI. The idea of AI as an audience.
Oasis: a small, statically-linked Linux system
You might think the world of Linux distributions is a rather boring, settled affair, but thereās actually a ton of interesting experimentation going on in the Linux world. From things like NixOS with its unique packaging framework, to the various immutable distributions out there like the Fedora Atomic editions, thereās enough uniqueness to go around to find a lid for every pot. Oasis Linux surely falls into this category. One of its main ⦠ā Read more
NASA tests new nuclear rocket fuel + 2 more stories
NASA and General Atomics test nuclear fuel; Ukraine employs more drones for war effort; engineered bacteria shows promise in recycling nylon waste. ā Read more
2°C warming limit deemed impossible + 2 more stories
A climate expert declares the 2-degree warming goal unattainable; Israel readies for potential Gaza relocation under Trumpās contentious proposal; an innovative vaccine shows promise in preventing kidney cancer recurrence after surgery. ā Read more
MaXX Interactive Desktop 2.2.0 released
Late last year, the MaXX Interactive Desktop, the Linux (and BSD) version of the IRIX desktop, sprung back to life with a new release and a detailed roadmap. Thanks to a unique licensing agreement with SGI, MaXXā developer, Eric Masson, has been able to bring a lot of the SGI user experience over to Linux and BSD, and as promised, we have a new release: the final version of MaXX Interactive Desktop 2.2.0. Itās codenamed Octane, and anyone who knows the ⦠ā Read more
China announces retaliatory tariffs on US + 2 more stories
China reveals tariffs on U.S. goods; Google faces antitrust action; EU establishes new trade zones; astronauts create oxygen in space; technology aids lunar missions. ā Read more
GTK announces X11 deprecation, new Android backend, and much more
Since a number of GTK developer came together at FOSDEM, the project figured now was as good a time as any to give an update on whatās coming in GTK. First, GTK is implementing some hard cut-offs for old platforms ā Windows 10 and macOS 10.15 are now the oldest supported versions, which will make development quite a bit easier and will simplify several parts of the codebase. Windows 10 was released in 2 ⦠ā Read more
View from my window last evening:
Moon, Venus, an airplane in the top left corner, wind parks in the distance.
(This is already too much for a standard camera. The moon is super bright, the rest is not. Guess I should go HDR some day?)
the leftists are telling me 2+2=4. the right wingers are saying its 10. so as a reasonable centrist its clear to me that the real answer is 7
Hey, I like this simple Web game:
https://wordswithrobots.isotropic.us
2 players Codenames vs (or along) gpt-4o-mini
Chinese researchers just built an open-source rival to ChatGPT in 2 months, and Silicon Valley is freaked out
Speaking of āAIā, the Chinese company DeepSeek has lobbed a grenade dead-centre into the middle of the āAIā bubble, and itās been incredibly entertaining to watch. DeepSeek has released several new āAIā models, which seem to rival or even surpass OpenAIās latest ChatGPT models ā but with a massive twist: DeepSeek, b ⦠ā Read more
AI achieves self-replication in new study + 2 more stories
AI self-replication demonstrated by researchers; ICC seeks warrants against Taliban leaders for womenās rights; CERNās new Flash radiotherapy could revolutionize cancer treatment. ā Read more
Harden AD 2 https://github.com/LoicVeirman/HardenAD
SDL 3.2.0 released
SDL, the Simple DirectMedia Layer, has released version 3.2.0 of its development library. In case you donāt know what SDL is: Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. It is used by video playback software, emulators, and popular games including Valveās award winning catalog and many Humble Bundle games. ā« SDL website This new release has a lot of impr ⦠ā Read more
One-third of Arctic carbon sinks now emit + 2 more stories
Trump vows to restore trust in government during inauguration; Arctic carbon sinks now contribute to emissions; NATO deploys Norwegian F-35s to bolster defense ā Read more
@prologic@twtxt.net @lyse@lyse.isobeef.org First, please leave me your comments on the repository! Even if itās just to give your opinion on what shouldnāt be included. The more variety, the better.
Second, Iām going to try to do tests with Elliptic keys and base64. Thanks for the advice @eapl@eapl.me
Finally, Iād like to give my opinion. Secure direct messages are a feature that ActivityPub and Mastodon donāt have, to give an example. By including it as an extension, weāre already taking a significant leap forward from the competition. Does it make sense to include it in a public feed? In fact, weāre already doing that. When we reply to a user, mentioning them at the beginning of the message, itās already a direct message. The message is within a thread, perhaps breaking the conversation. Direct messages would help isolate conversations between 2 users, as well as keeping a thread cleaner and maintaining privacy. I insist, itās optional, it doesnāt break compatibility with any client and implementing it isnāt complex. If you donāt like it, youāre free to not use it. If you donāt have a public key, no one can send you direct messages.
Linux 6.13 released
Linux 6.13 comes with the introduction of the AMD 3D V-Cache Optimizer driver for benefiting multi-CCD Ryzen X3D processors, the new AMD EPYC 9005 āTurinā server processors will now default to AMD P-State rather than ACPI CPUFreq for better power efficiency, the start of Intel Xe3 graphics bring-up, support for many older (pre-M1) Apple devices like numerous iPads and iPhones, NVMe 2.1 specification support, and AutoFDO and Propeller optimization support when compiling the Linux kernel with ⦠ā Read more
Microsoft reveals MatterGen AI model to transform material discovery + 2 more stories
Microsoft launches MatterGen AI model for advanced material design; OpenAI partners with Retro to extend human life; Scientists explore oceanās oxygen production implications. ā Read more
Specifically those around 2:50min, 6:15min, 11:00min, 28:40min and 33:40min. :-)
Uncanceled Units
ā Read more
Researchers engineer bacteria that break down microplastics + 2 more stories
Qatar presents final ceasefire draft to Israel and Hamas; University of Waterloo engineers bacteria to decompose microplastics; UK government announces significant AI investment initiative. ā Read more
@<url>
form of mentions. Strictly require that all mentions include a nickname/name; i.e: @<name url>
.
@prologic@twtxt.net I say we should find a way to support mentions with only url, no nick, as per the original spec.
- For
@<nick url>
we already got support
- For
@<nick>
the posting client should expand it to@<nick url>
, if not then the reading client should just render it as@nick
with no link.
- For
@<url>
the sending client should try to expand it to@<nick url>
, if not then the reading client should try to find or construct a nick base on:
- Look in twtxt.txt for a
nick =
- Use (sub)domain from URL
- Use folder or file name from URL
- Look in twtxt.txt for a
@movq@www.uninformativ.de Hmm yeah, youāre right. I should have checked for our location prior to getting too excited.
@aelaraji@aelaraji.com Yeah, a sore neck is always a win. :-P Hereās nothing really to see, all cloudy. And also a bit cold at -2°C. I donāt feel like standing still all that long outside at the moment. :-D
Global temperatures surpassed 1.5C + 2 more stories
Global temperatures surpassed 1.5C this year; the World Economic Forum forecasts 170 million new jobs by 2030; Russia halts gas supplies to Europe. ā Read more
Need to summary all of these logic. So:\u2028 1. If file named twtxt.txt then grab parent directory name or hostname if file in root (and maybe delete ~?) \u2028 2. If file named nick.txt then grab filename
Scientists extract 1.2 million-year-old ice core from Antarctica + 3 more stories
James Webb Telescope finds 44 stars in the Dragon Arc galaxy; Greenlandās importance escalates due to climate change; scientists drill 1.2 million-year-old ice core; Trump considers national economic emergency for tariffs. ā Read more
Shit in my life has been spiraling out of control at an unbelievable rate. And just when you think life canāt get shittier it dumps an even bigger N° 2 on yO face.
base(2)
or base(16)
in calc to do that. Thatās exhausting after a while.
@movq@www.uninformativ.de That sounds super useful! I always used bc
and ibase=2
/obase=2
for conversions. But your digit grouping is what I always lacked. I gotta switch.
How in da fuq do you actually make these fucking useless AI bots go way?
proxy-1:~# jq '. | select(.request.remote_ip=="4.227.36.76")' /var/log/caddy/access/mills.io.log | jq -s '. | last' | caddy-log-formatter -
4.227.36.76 - [2025-01-05 04:05:43.971 +0000] "GET /external?aff-QNAXWV=&f=mediaonly&f=noreplies&nick=g1n&uri=https%3A%2F%2Fmy-hero-ultra-impact-codes.linegames.org HTTP/2.0" 0 0
proxy-1:~# date
Sun Jan 5 04:05:49 UTC 2025
š±
For some reason, I was using calc all this time. I mean, itās good, but I need to do base conversions (dec, hex, bin) very often and you have to type base(2)
or base(16)
in calc to do that. Thatās exhausting after a while.
So I now replaced calc with a little Python script which always prints the results in dec/hex/bin, grouped in bytes (if the result is an integer). Thatās what I need. Itās basically just a loop around Pythonās exec()
.
$ mcalc
> 123
123 0x[7b] 0b[01111011]
> 1234
1234 0x[04 d2] 0b[00000100 11010010]
> 0x7C00 + 0x3F + 512
32319 0x[7e 3f] 0b[01111110 00111111]
> a = 10; b = 0x2b; c = 0b1100101
10 0x[0a] 0b[00001010]
> a + b + 3 * c
356 0x[01 64] 0b[00000001 01100100]
> 2**32 - 1
4294967295 0x[ff ff ff ff] 0b[11111111 11111111 11111111 11111111]
> 4 * atan(1)
3.141592653589793
> cos(pi)
-1.0
@movq@www.uninformativ.de I never used DOS or OS/2, but I fully agree with you. A Unix shell with its tool landscape is hard to beat (photo/video viewing/editing aside).
Scientists to explore life creation from basic chemicals + 2 more stories
European scientists launch MiniLife project to create lab-made life, companies in Australia start mandatory climate disclosures, and discontent shapes global elections as incumbents lose votes. ā Read more
It needs to be said: Retrocomputing and old systems like DOS or OS/2 are fun and all, but a UNIX shell and its userland tools are the most powerful things Iāve ever seen. You can pry that from my cold dead hands. š
help iāve had this account for barely 2 days and iām nearly at 100 posts
@lyse@lyse.isobeef.org Ein Prachtstück hast du dir da gebaut! Bei mir werden aus den Stƶckern Rankhilfen, Nivellierunterlagen, Insektenhotels, Untersetzer und und und. Im Baumarkt zahlt man dafür bis zu 2ā¬, pah! :)
cli test 2