Salta al contenuto principale




The promise of Rust


Technology Channel reshared this.



End of 10: Support for Windows 10 ends on October 14, 2025.


cross-posted from: programming.dev/post/36679745

::: spoiler Comments
- Lemmy;
- Hackernews;
- Lobsters.
:::
If you bought your computer after 2010, there's most likely no reason to throw it out. By just installing an up-to-date Linux operating system you can keep using it for years to come.

I will pin this post till the end of October, due to the importance of this.



End of 10: Support for Windows 10 ends on October 14, 2025.


::: spoiler Comments
- Lemmy;
- Hackernews;
- Lobsters.
:::

If you bought your computer after 2010, there's most likely no reason to throw it out. By just installing an up-to-date Linux operating system you can keep using it for years to come.


I will pin this post till the end of October, due to the importance of this.




End of 10: Support for Windows 10 ends on October 14, 2025.


cross-posted from: programming.dev/post/36679745

::: spoiler Comments
- Lemmy;
- Hackernews;
- Lobsters.
:::
If you bought your computer after 2010, there's most likely no reason to throw it out. By just installing an up-to-date Linux operating system you can keep using it for years to come.

I will pin this post till the end of October, due to the importance of this.



End of 10: Support for Windows 10 ends on October 14, 2025.


::: spoiler Comments
- Lemmy;
- Hackernews;
- Lobsters.
:::

If you bought your computer after 2010, there's most likely no reason to throw it out. By just installing an up-to-date Linux operating system you can keep using it for years to come.


I will pin this post till the end of October, due to the importance of this.




End of 10: Support for Windows 10 ends on October 14, 2025.


cross-posted from: programming.dev/post/36679745

::: spoiler Comments
- Lemmy;
- Hackernews;
- Lobsters.
:::
If you bought your computer after 2010, there's most likely no reason to throw it out. By just installing an up-to-date Linux operating system you can keep using it for years to come.

I will pin this post till the end of October, due to the importance of this.



End of 10: Support for Windows 10 ends on October 14, 2025.


::: spoiler Comments
- Lemmy;
- Hackernews;
- Lobsters.
:::

If you bought your computer after 2010, there's most likely no reason to throw it out. By just installing an up-to-date Linux operating system you can keep using it for years to come.


I will pin this post till the end of October, due to the importance of this.




Why “caffè” may not be “caffè”


Every time I think I finally understand Unicode, it surprises me again. This time, it was a file full of coffee orders that wouldn’t grep for “caffè” - even though the word was clearly there. The culprit? Unicode normalization. Characters like “è” can be

Every time when I think I finally “got” Unicode, I get kicked in the back by this rabbit hole. 😆 However, IMHO it is important to recognise that when moving data and files between operating systems and programs that you’re better off knowing some of the pitfalls. So I’m sharing something I experienced when I transferred a file to my FreeBSD Play-Around notebook. So let’s assume a little story…

It’s late afternoon and you and some friends sit together playing around with BSD. A friend using another operating system collects coffee orders in a little text file to not forget anyone when going to the barista on the other side of the street. He sends the file to you, so at the next meeting you already know the preferences of your friends. You take a look at who wants a caffè:
armin@freebsd:/tmp $ cat orders2.txtMauro: cappuccinoArmin: caffè doppioAnna: caffè shakeratoStefano: caffèFranz: latte macchiatoFrancesca: cappuccinoCarla: latte macchiato
So you do a quick grep just to be very surprised!
armin@freebsd:/tmp $ grep -i caffè orders2.txtarmin@freebsd:/tmp $
Wait, WAT? Why is there no output? We have more than one line with caffè in the file? Well, you just met one of the many aspects of Unicode. This time it’s called “normalization”. 😎

Many characters can be represented by more than one form. Take the innocent “à” from the example above. There is an accented character in the Unicode characters called LATIN SMALL LETTER A WITH GRAVE. But you could also just use a regular LATIN SMALL LETTER A and combine it with the character COMBINING GRAVE ACCENT from the Unicode characters. Both result in the same character and “look” identical, but aren’t.

Let’s see a line with the word “caffè” as hex dump using the first approach (LATIN SMALL LETTER A WITH GRAVE):
\u0063\u0061\u0066\u0066\u00E8\u000Ac a f f è (LF)
Now let’s do the same for the same line using the second approach:
\u0063\u0061\u0066\u0066\u0065\u0300\u000Ac a f f è (LF)
And there you have it, the latter is a byte longer and the two lines do not match up even if both lines are encoded as UTF-8 and the character looks the same!

So obviously just using UTF-8 is not enough and you might encounter files using the second approach. Just to make matter more complicated there are actually four forms of Unicode normalization out there. 😆

  • NFD: canonical decomposition
  • NFC: canonical decomposition followed by canonical composition
  • NFKD: compatible decomposition
  • NFKC: compatible decomposition followed by canonical composition.

For the sake of brevity of this post and your nerves we’ll just deal with the first two and I refer you to this Wikipedia article for the rest.

Normal form C (NFC) is the most widely used normal form and is also defined by the W3C for HTML, XML, and JavaScript. Technically speaking, encoding in Latin1 (or Windows Codepage 1252), for example, is in normal form C, since an “à” or the umlaut “Ö” is a single character and is not composed of combining characters. Windows and the .Net framework also store Unicode strings in Normal Form C. This does not mean that NFD can be ignored. For example, the Mac OSX file system works with a variant of NFD data, as the Unicode standard was only finalized when OSX was designed. When two applications share Unicode data, but normalize them differently, errors and data loss can result.

So how do we get from one form to another in one of the BSD operating systems (also in Linux)? Well, the Unicode Consortium provides a toolset called ICU — International Components for Unicode. The Documentation URL is unicode-org.github.io/icu/ and you can install that in FreeBSD using the command
pkg install icu
After completion of the installation you have a new command line tool called uconv (not to be mismatched with iconv which serves a similar purpose). Using uconv you can transcode the normal forms into each other as well do a lot of other encoding stuff (this tool is a rabbit hole in itself 😎).

Similar to iconv you can specify a “from” and a “to” encoding for input. But you can also specify so-called “transliterations” that will be applied to the input. In its simplest form such a transliteration is something in the form SOURCE-TARGET that specifies the operation. The "any" stands for any input character. This is the way I got the hexdump from above by using the transliteration 'any-hex':
armin@freebsd:/tmp$ echo caffè | uconv -x 'any-hex'\u0063\u0061\u0066\u0066\u00E8\u000A
Instead of hex codes you can also output the Unicode code point names to see the difference between the two forms:
armin@freebsd:/tmp$ echo Caffè | uconv -f utf-8 -t utf-8 -x 'any-nfd' | uconv -f utf-8 -x 'any-name' \N{LATIN CAPITAL LETTER C}\N{LATIN SMALL LETTER A}\N{LATIN SMALL LETTER F}\N{LATIN SMALL LETTER F}\N{LATIN SMALL LETTER E}\N{COMBINING GRAVE ACCENT}\N{<control-000A>}
Now let’s try this for the NFC form:
armin@freebsd:/tmp$ echo Caffè | uconv -f utf-8 -t utf-8 -x 'any-nfc' | uconv -f utf-8 -x 'any-name'\N{LATIN CAPITAL LETTER C}\N{LATIN SMALL LETTER A}\N{LATIN SMALL LETTER F}\N{LATIN SMALL LETTER F}\N{LATIN SMALL LETTER E WITH GRAVE}\N{<control-000A>}
You can also convert from one normal form to another by using a transliteration like 'any-nfd' to convert the input to the normal form D (for decomposed, e.g. LATIN SMALL CHARACTER A + COMBINING GRAVE ACCENT) or 'any-nfc' for the normal form C.

If you want to learn about building your own transliterations, there’s a tutorial at unicode-org.github.io/icu/user… that shows the enormous capabilities of uconv.

Using the 'name' transliteration you can easily discern the various Sigmas here (I’m using sed to split the output into multiple lines):
armin@freebsd:/tmp $ echo '∑𝛴Σ' | uconv -x 'any-name' | sed -e 's/\\N/\n/g'{N-ARY SUMMATION}{MATHEMATICAL ITALIC CAPITAL SIGMA}{GREEK CAPITAL LETTER SIGMA}{<control-000A>}
If you want to get the Unicode character from the name, there are several ways depending on the programming language you prefer. Here is an example using python that shows the German umlaut "Ö":
python -c 'import unicodedata; print(unicodedata.lookup(u"LATIN CAPITAL LETTER O WITH DIAERESIS"))'
The uconv utility is a very mighty thing and every modern programming language (see the Python example above) also has libraries and modules to support handling Unicode data. The world gets connected, but not in ASCII. 😎

reshared this



US poll finds 60 percent of Gen Z voters back Hamas over Israel in Gaza war


in reply to Whostosay

Israel managed to figure out to turn a vicious terrorist group into the good guys.
in reply to BarneyPiccolo

Turns out when people break out of a literal concentration camp to fight back against their oppressor they're ~~freedom fighters~~ terrorists


Chatbots can be manipulated through flattery and peer pressure


Researchers convinced ChatGPT to do things it normally wouldn’t with basic psychology.

Technology Channel reshared this.





US reportedly suspends visa approvals for nearly all Palestinian passport holders


Restrictions to prevent travel for healthcare and college and come after denying visas to Palestinian Authority leaders


Archived version: archive.is/20250901035359/theg…


Disclaimer: The article linked is from a single source with a single perspective. Make sure to cross-check information against multiple sources to get a comprehensive view on the situation.



Flotilla with Greta Thunberg on board sets sail for Gaza


Hundreds of activists are aboard the Global Sumud Flotilla with the intention to bring humanitarian aid to Gaza.


Archived version: archive.is/newest/dw.com/en/fl…


Disclaimer: The article linked is from a single source with a single perspective. Make sure to cross-check information against multiple sources to get a comprehensive view on the situation.



its all about perspective ❤


transcription: your problematic behavior isnt a problem if i like it


Visited YushaKobo in Akihabara today


It's amazing being able to see and try out so many crazy and interesting keyboards in one place. Stuff that even bigger places like Bic Camera don't have, and that you could never imagine e seeing in a shop back in the UK. I picked up a Rainy75 and a set of WS BigLucky Tactiles to go with it. I'm looking forward to getting home to try it all out for real and get familiar with the setup. I'm also kinda weirded out to not hate the linear switches that the Rainy comes with. Shop guy Olodeh (hope I got your name right bro!) was super helpful, and overall a really positive experience. My favourite thing was the switch testers that show you on screen what each switch is, and some details about it. Some minor disappointments: no Boba U4T in stock today - i was looking forward to trying those; and no Wooting keebs for my gamer son to try out, although they did have another HE board that was above our price range, so at least we got a feel for that one.
in reply to not_woody_shaw

Thanks to the fact my hotel was pretty close, past two years, I've been there many times.
Thanks to a clerk I spoke with, and his suggestions, I've bought (not there, though) a wonderful ErgoDash I'm very happy with.



QAA Podcast with Cory Doctorow as guest


QAA Podcast: Cory Doctorow DESTROYS Enshitification (E338)

Episode webpage: soundcloud.com/qanonanonymous/…

Media file: chtbl.com/track/7791D/http://f…

reshared this

in reply to jungle

Skeptic. They have for years discussed various qanon happenings in great detail.
in reply to sexy_peach

Ah, good to know. I was wondering why Cory would be giving conspiracy theorists any attention. 😅


How can I delete my account and all data?


How can I delete my account and all data? #fedia
Looks like the Delete account feature doesn't actually work...
in reply to ryujin470

Ok. Please confirm you want it deleted and I will delete it. Note that it’s irreversible and restoring from backups is not feasible for one account, so when it’s gone, it’s gone.





Rudy Giuliani injured in New Hampshire car crash, his spokesperson says


Rudy Giuliani is recovering from a fractured vertebra and other injuries following a car crash in New Hampshire, a spokesperson for the former New York City mayor said Sunday.

Giuliani’s vehicle was struck from behind while traveling on a highway Saturday evening, according to a statement posted on X by Michael Ragusa, Giuliani’s head of security. “He sustained injuries but is in good spirits and recovering tremendously,” Ragusa said, adding: “This was not a targeted attack.”

Giuliani, 81, was taken to a nearby trauma center and was being treated for injuries including “a fractured thoracic vertebrae, multiple lacerations and contusions, as well as injuries to his left arm and lower leg,” according to Ragusa.

https://apnews.com/article/rudy-giuliani-car-crash-7cef14a0e682391de2f03d0450d3393a

#USA


Anagramma contro la guerra


ATOMICHE SIANO!!!!! —> “sai che ti amo, no?”

#anagrammi #guerra #satira



Anagramma contro la guerra


cc: @azzate@feddit.it

ATOMICHE SIANO!!!!! —> “sai che ti amo, no?”

#anagrammi #guerra #satira



Anagramma contro la guerra


cc: @azzate@feddit.it

ATOMICHE SIANO!!!!! —> “sai che ti amo, no?”

#anagrammi #guerra #satira



Anagramma contro la guerra


cc: @azzate@feddit.it

ATOMICHE SIANO!!!!! —> “sai che ti amo, no?”

#anagrammi #guerra #satira



Anagramma contro la guerra


cc: @azzate@feddit.it

ATOMICHE SIANO!!!!! —> “sai che ti amo, no?”

#anagrammi #guerra #satira





This account has never focused on a single topic.

It’s about my life—and whatever I’m passionate about in the moment.

But if you’re only here for one of those topics, you might want to follow the #Piefed communities I regularly cross-post to:

Bonus? You’ll get to hear from other contributors in those communities too.

More to come—stay tuned.




U.S. suspends visas for Palestinian passport holders, officials say.


August 31, 2025 ~4:20pm

The Trump administration has enacted a sweeping suspension of approvals of almost all types of visitor visas for Palestinian passport holders, according to American officials.

The new policy goes beyond the restrictions announced by U.S. officials recently on visitor visas for Palestinians from Gaza. Last week, the State Department also said it would not issue visas to Palestinian officials to attend the annual U.N. General Assembly in New York next month.

https://www.nytimes.com/2025/08/31/world/middleeast/us-palestinian-visa-suspensions.html

#USA


U.S. suspends visas for Palestinian passport holders, officials say.


cross-posted from: lemmy.ml/post/35497898

August 31, 2025 ~4:20pm
The Trump administration has enacted a sweeping suspension of approvals of almost all types of visitor visas for Palestinian passport holders, according to American officials.

The new policy goes beyond the restrictions announced by U.S. officials recently on visitor visas for Palestinians from Gaza. Last week, the State Department also said it would not issue visas to Palestinian officials to attend the annual U.N. General Assembly in New York next month.




U.S. suspends visas for Palestinian passport holders, officials say.


August 31, 2025 ~4:20pm

The Trump administration has enacted a sweeping suspension of approvals of almost all types of visitor visas for Palestinian passport holders, according to American officials.

The new policy goes beyond the restrictions announced by U.S. officials recently on visitor visas for Palestinians from Gaza. Last week, the State Department also said it would not issue visas to Palestinian officials to attend the annual U.N. General Assembly in New York next month.



https://www.nytimes.com/2025/08/31/world/middleeast/us-palestinian-visa-suspensions.html



What is a "Slug" on Add Community Wiki Page? [Solved]


[Solved]Starting to drop stuff into c/PoliticalCartoons. Thanks to everyone for your input.
Questa voce è stata modificata (1 settimana fa)
in reply to Bonus

A slug is like an article abstract that journos use to summarize shit in production basically. In my newspaper days its what the journalists would use to sound cool when asking each other what they were doing and what about.

Edit: as for context in a Wiki I don't know its intent or if it publishes or not. Wikipedia just has me on gastropods now.

Questa voce è stata modificata (1 settimana fa)





Is Fennec nonfunctional for anyone else?


I woke up one day and Fennec wouldn't browse any web page. Like, if I do a search, which goes to DuckDuckGo, I get a loading bar that never goes anywhere. (See screenshot).

If I disable all of my extensions, it'll work again. Then, if I enable them one by one to try to find the culprit that was making Fennec not work, it doesn't break! Until it does, randomly. I basically can't easily reproduce it working or not working.

I switched to IronFox, and installed all the same extensions, and have had no problems for two days.

Extensions:

  • JShelter
  • UBlock Origin
  • Decentraleyes
  • Cookie AutoDelete
  • Absolute Enable Right Click & Copy
in reply to Quibblekrust

Known issue, potential workarounds - f-droid.org/en/2025/08/28/twif…



in reply to miss_demeanour

The world, no the entire universe would have ended had the tangerine tyrant toddler not been made king.
Questa voce è stata modificata (1 settimana fa)

in reply to palordrolap

many of those magazines are bedaubed with felt-tip where I marked my progress whiling away hours typing in those programs.


I got into computers in the mid 70s with the advent of the Altair. Reading your comment was like a flashback. I remember you'd finally get through, meticulously typing in all the pages of code. So your cross your fingers and ran it and got an error. But I was hooked. I still have my Altair, Timex/Sinclair, Ti 99 & 994a. I had/have everything imaginable for the Ti. You needed a kitchen table to spread all that out on.

Later on, as you say, demos became a big thing, I loved the demos. I would write just about anyone giving away a demo of something. Game demos would at least let you play one or two levels.

in reply to irmadlad

So your cross your fingers and ran it and got an error.


And eventually we learned to understand the programs we were typing in, knowing what those errors meant and how to fix them without looking back at the listing. Magical.