Searching We.Love.Privacy.Club

Twts matching #typing
Sort by: Newest, Oldest, Most Relevant

Canonical’s Upcoming AI Tool: Talk to Ubuntu Instead of Typing
This week the Ubuntu desktop’s director of engineering announced they’re bringing speech-to-text dictation to Ubuntu Desktop, aiming for an experience “that feels like a natural part of the desktop while respecting user privacy and running entirely on local hardware.”

“Speech recognition has become a common feature on modern platforms, and we think it … ⌘ Read more

⤋ Read More

Users Cry Foul After AMD Stripped Memory Crypto From Its Consumer CPUs
An anonymous reader quotes a report from Ars Technica: A decade ago, AMD added a protection to its high-end CPUs to protect them against cold boot attacks and other types of physical exploits that siphon sensitive data out of the connected memory chips. Short for Transparent Secure Memory Encryption, TSME encrypts the entire conten … ⌘ Read more

⤋ Read More

Jennifer Lopez Reveals the Oscar-Winning Movie Type She Can’t Stand
Jennifer Lopez was asked to name the worst movie she has watched, and her answer was an Oscar-winning film. She then spoke about the genre she prefers. She added that the slow-moving movies aren’t her type. While she enjoys some films in that style, the movie she stated remains on her dislike list. Jennifer Lopez […]

The post [Jennifer Lopez Reveals the Oscar-Winning Movie Type She Can’t Stand] … ⌘ Read more

⤋ Read More

QuiznessDesk, Tuesday, June 09
Is the Tropic of Cancer north or south of the equator?
What type of dogs are commonly kept by Inuit communities?
Which cartoon character lives at 1313 Webfoot Walk?
Perhaps it was a case of shocking luck that Anthony Starr was cast as both Jethro West and Van West in what classic New Zealand TV series?
Which band released the 1999 comeback single `Maria`?
Which historical figure opened the 1936 Olympic Games?
Niue is a self-governing coral island in free associat … ⌘ Read more

⤋ Read More

Meurtre de Lyhanna: les violences faites aux enfants, «priorité» en trompe-l’oeil de Darmanin
S’il présente ses «excuses» pour les dysfonctionnements de la justice dans cette affaire, le garde des Sceaux évoque surtout des sanctions à venir contre des magistrats. Il refuse d’examiner sa responsabilité politique. Et balaye la question des moyens alloués à ce type d’enquête, pourtant cruciale. ⌘ Read more

⤋ Read More

QuiznessDesk, Friday, June 05
Which of the following large lakes is not in North America? Michigan, Huron or Victoria?
What type of animal is a Bombay Duck?
New Zealander Wendy Jarnet holds the title of having the world’s largest collection of paraphernalia related to what back-of-the-alphabet safari mammal?
Which `P` is the book of the Bible that comes after Job and before Proverbs?
Which of the following is not one of the standard playing pieces in the game of Monopoly? Ship, Hat or Bike?
By … ⌘ Read more

⤋ Read More

不知道手里的 Type-C 数据线是什么线?用 WhatCable 一查便知[macOS]
你的抽屉里塞满了看起来一模一样的 Type-C 数据线,有的充电速度飞快,有的却慢得像蜗牛爬。有的可以接 8K 显示器,有的只能 1080。有的传输数据飞快…接口上的标识根本说明不了什么,每一条 Type-C 数据线都不一样。@Appinn WhatCable 是一款可以帮助你识别 Ty ⌘ Read more

⤋ Read More
In-reply-to » @lyse By the way, which site generator are you using? I kind of miss having code blocks with syntax highlighting and that generic yellow highlighting thing is pretty cool, too.

@movq@www.uninformativ.de It’s the “Lyse types the entire HTML by hand” generator. Yes, no kidding. I write articles so rarely, that I can do that once in a while. It’s fun to some degree, but also not.

After some time, I finally recorded some Vim macros to insert <b>…</b>, <var>…</var>, <span class=s>…</span> etc. around the tokens. This helped a little bit. But I was still questioning my mental state doing it like that. I also had to fix a bunch of the end tags by hand, because the word movement wasn’t enough or the end movement went too far. Quite the annoying process for sure.

But I think the HTML looks a wee bit nicer and is maybe even semantically a little bit better than having only <span>s everywhere. I find the <span class="whatever"> just soo awfully long. Of course, I never look at the code again, but knowing, that e.g. there is a <b> and it saves so many bytes in comparison, makes me happy. It is a more elegant solution in my opinion. Not by much, but better nonetheless. It’s a matter of simplicity. Admittedly, even I can’t avoid the <span>s alltogether. Oh well. On the other hand, I’m sure that this does not make any difference whatsoever. I bet, nobody and nothing, like a screenreader, analyzes the HTML for that, where this would be truly useful.

Oh! Maybe text browsers, though. It just occurred to me while composing this reply. :-) Haha, I lost my bet quickly. w3m picks up at least the <b> for keywords and builtin types, <u> for filenames and <i> for comments. Yey. No different styles for <var> and <mark>, unfortunately. elinks only renders the bold. It’s cool that I had the right intuition right from the beginning, despite being unable to pinpoint it. :-)

All the <span> hell with common syntax highlighters is a downer for me that keeps me from looking more into them. If I wrote more articles, I might rig something up with Pygments. At least that’s somehow positively connotated in my brain. Not sure if it actually deserves it, but I dealt with that in some loose form (can’t even remember) years and years ago. Apparently, it wasn’t too terrible.

To prepare the table of contents, I used grep and sed with some manual intervention in the end. The entire process can be improved. Absolutely.

You wrote your own site generator, didn’t you?

⤋ Read More
In-reply-to » @movq I'm very curious...

Which it does so in seconds, faster than I can type. The code is correct, it compiles and does exactly what I wanted. And the code looks pretty reasonable. It handles flotas, has error handling and handles space or line separated numbers on stdin.

⤋ Read More

QuiznessDesk, Thursday, May 28
In which Australian State or Territory would you find the Adelaide River?
During the Great Plague, what was painted on the front doors of plague-ridden houses?
According to the Bible, on what day did God create the beasts of the Earth?
What type of animals are portrayed in the book Watership Down?
In the Star Wars films, which two actors played Obi-Wan Kenobi?
How many US presidents’ heads are sculpted on Mount Rushmore?
Who had a number one hit in 1980 called Cryi … ⌘ Read more

⤋ Read More

Show HN: Posthorn, self-hosted mail without the mail server
Introducing Posthorn, a self hosted email gateway. One docker container (or Go binary) between every self hosted app on your VPS and your transactional email provider. Set up Posthorn once, point your apps to it, done.

I was trying to deploy Ghost on a DigitalOcean droplet and found that DO and many different VPS services have started to block the default SMTP ports to try to combat the various types of abuse they get. To actually configure my app, I had to hack to … ⌘ Read more

⤋ Read More

QuiznessDesk, Tuesday, May 26
Which of the following elements has the atomic number 2? Carbon, Lithium or Helium?
What type of animal is a mandrill?
What do edentulous mammals not have?
In which year did the Japanese bomb Pearl Harbour?
Which king was killed by an arrow to the eye?
In which country does the story “The Pied Piper of Hamelin” take place?
What colour spots does a common ladybird have?
Who directed the 1974 film Blazing Saddles?
In what sport is the “Fosbury flop” technique used?
Whi … ⌘ Read more

⤋ Read More

Launch HN: Chert (YC P26) – Twilio for iMessage
Hey HN! We’re Gary and Ian, and we’re building Chert ( https://www.trychert.com/), an API for businesses to send, receive, and automate iMessage conversations at scale. Check out our demo: https://www.youtube.com/watch?v=SRdwvVxMMoI.

We originally started by building products on top of iMessage because the blue bubble interface, typing indicators, and reactions made agentic conversations feel more human than ones on SMS … ⌘ Read more

⤋ Read More

QuiznessDesk, Monday, May 25
What is the only country that Denmark borders?
What type of animal is a sidewinder?
Chemically pure gold contains how many carats?
Which Charles Dickens novel featured the character of Tiny Tim?
What is the longest river in France?
Which Lion King character did Jeremy Irons provide the voice for?
Who had a hit in 1982 with Maneater?
In mythology, which of the following did Pegasus have that a normal horse wouldn`t? Wings, a crown, or three eyes?
In a deck of cards, wh … ⌘ Read more`

⤋ Read More

NTSB Wants PDF Removed After It Exposed Final Cockpit Audio From UPS Crash
The NTSB temporarily closed public access to nearly all investigation dockets after people used a spectrogram image from a PDF in the UPS flight 2976 crash file to reconstruct approximate cockpit voice recorder audio and post it online. “We show our work and we’ve been doing this type of thing for years. Nobody was aware that … ⌘ Read more

⤋ Read More

@tftp@tilde.town mentioning in here requires he whole shebang. With jenny, if using vim, there is a key combination:

Nick name completions: Allows you to use ^X ^U to turn verbatim nick names into full twtxt mentions. For example, typing “cath” and then pressing ^X ^U will turn “cath” into a full mention, like “@”. (This function will read the contents of your “~/.config/jenny/follow” file.)

See: https://movq.de/git/jenny/file/vim/README.html

⤋ Read More

QuiznessDesk, Monday, May 18
The Hoover Dam in America was built on which river?
Little, Eurasian Eagle and Burrowing are all types of which species of bird?
Carbon, Oxygen and which other element make up carbohydrates?
Who created havoc in 1938, when his radio broadcast of The War Of The Worlds was believed to be true?
By what nickname, meaning little barrel, is the artist born Alessandro di Mariano Filipepi better known?
According to Oscar Wilde, what is `the name everyone gives to his mistakes … ⌘ Read more`

⤋ Read More

Yet another Dirty Frag type vulnerability: Fragnesia
Sam James has sent an announcement
to the OSS Security mailing list about another
local-privilege-escalation (LPE) exploit in the same class as Dirty Frag, called
“Fragnesia”. From the disclosure:

This is a separate bug in the ESP/XFRM from dirtyfrag which has received its own patch. However, it is in the same surface … ⌘ Read more

⤋ Read More

Challenging UPS and FedEx, Amazon Opens Its Shipping Network to All Businesses
This week Amazon opened up its parcel shipping, fulfillment, and distribution “to businesses of all types and sizes.” Any business can now ship, store, and deliver “using the same supply chain that supports Amazon,” according to Monday’s announcement of “Amazon Supply Chain Services.”

The move sent shares of UPS and FedEx “ … ⌘ Read more

⤋ Read More
In-reply-to » @lyse Turns out, this actually was a little machine once (small netbook): https://movq.de/blog/postings/2011-04-28/0/POSTING-de.html And then I moved the whole installation to a different laptop later. I love that you can easily do that on Linux.

@movq@www.uninformativ.de Oh, nice! I never was brave enough to try to move the OS to a different machine, always reinstalled from scratch. :-S

A mate also had this or a very similar white Samsung netbook. I remember typing on that thing was no fun at all for me, never hit the single right key. :-D

I’m not a fan of netbooks, there’s not remotely enough screen space for my taste. I always had 15 inch notebook. Sure, they are way heavier, but I can actually get work with them done. And yes, glared screens are an invention right from the devil himself. Completely stupid.

⤋ Read More
In-reply-to » @bender I found the engineering explanations behind that super interesting.

Just saw the video. Can’t believe that ladder is that expensive. Even in AUD, it is almost $100. It is also 2.5 stars, with 13 reviews. Gulp. Engineering aside (and you are right, it is pretty interesting, and some, if not most of it went over my head), the ladder is rubbish. This is the one I have. Not super, but have been with me for a while, and used quite a bit, still as good as new.

⤋ Read More

[$] One Sized trait does not fit all
In Rust, types either possess a constant size known at compile time, or a
dynamically calculated size known at
run time. That is fine for most purposes, but recent proposals for the language
have shown the need for a more fine-grained hierarchy.
RFC 3729 from David Wood and Rémy Rakic would add a hierarchy of
traits to describe types with sizes known under different circumstances. While
the idea has been subject … ⌘ Read more

⤋ Read More

AMD Ryzen 9 9950X3D2 Benchmarks: The Best Desktop Performance For Linux Developers, Creators
Today we can finally share performance benchmarks of the long-rumored AMD Ryzen 9 9950X3D2 Dual Edition processor. This new halo product for the Ryzen 9000 series desktop line-up offers captivating performance for developers frequently compiling code, creators, technical computing workloads for students or hobbyists or those not able to afford a Threadripper / EPYC type workstation, or similar heavy computing use. With … ⌘ Read more

⤋ Read More

Linux 7.1 Adds New AMD SMCA Bank Types, Presumably For Upcoming EPYC Venice
The AMD Machine Check Exception “mce_amd” driver as part of the Error Detection And Correction (EDAC) subsystem is introducing support for new SMCA bank types on AMD platforms. Given the timing these new bank types are presumably for AMD’s upcoming Zen 6 / EPYC Venice hardware… ⌘ Read more

⤋ Read More
In-reply-to » Eehhh, what the hell is going on here!?

@lyse@lyse.isobeef.org AI result ahead, feel free to ignore.

I “asked” the AI at work the same question out of morbid curiousity. It “said” that SQLite converts that integer to floating point internally on overflows and then, when converting back, the x86 instruction cvttsd2si will turn it into 0x8000000000000000, even if the actual floating point value is outside of that range. So, yes, it allegedly actually saturates, as a side effect of the type conversion.

I couldn’t find anything about that automatic conversion in SQLite’s manual, yet, but an experiment looks like it might be true:

sqlite> select typeof(1 << 63);
╭─────────────────╮
│ typeof(1 << 63) │
╞═════════════════╡
│ integer         │
╰─────────────────╯

sqlite> select typeof((1 << 63) - 1);
╭──────────────────────╮
│ typeof((1 << 63) ... │
╞══════════════════════╡
│ real                 │
╰──────────────────────╯

As for cvttsd2si, this source confirms the handling of 0x8000000000000000 on range errors: https://www.felixcloutier.com/x86/cvttsd2si

The following C program also confirms it (run through gdb to see cvttsd2si in action):

<a href="https://we.loveprivacy.club/search?q=%23include">#include</a> <stdint.h>
<a href="https://we.loveprivacy.club/search?q=%23include">#include</a> <stdio.h>

int
main()
{
    int64_t i;
    double d;

    /* -3000 instead of -1, because `double` can’t represent a
     * difference of -1 at this scale. */
    d = -9223372036854775808.0 - 3000;

    i = d;
    printf("%lf, 0x%lx, %ld\n", d, i, i);

    return 0;
}

(Remark about AI usage: Fine, I got an answer and maybe it’s even correct. But doing this completely ruined it for me. It would have been much more satisfying to figure this out myself. I actually suspected some floating point stuff going on here, but instead of verifying this myself I reached for the unethical tool and denied myself a little bit of fun at the weekend. Won’t do that again.)

⤋ Read More

Claude Code’s Source Code Leaks Via npm Source Maps
Grady Martin writes: A security researcher has leaked a complete repository of source code for Anthropic’s flagship command-line tool. The file listing was exposed via a Node Package Manager (npm) mapping, with every target publicly accessible on a Cloudflare R2 storage bucket. $ du -hs .35M .$ find -type f | sed ’s/^.*\.//’ | sort | uniq -c | sort -bVr 1332 ts … ⌘ Read more

⤋ Read More

Bills Would Ban Liability Lawsuits For Climate Change
An anonymous reader quotes a report from Inside Climate News: Republican lawmakers in multiple states and Congress are advancing proposals to shield polluters from climate accountability and prevent any type of liability for climate change harms – even as these harms and their associated costs continue to mount. It’s the latest in a counter-offensive that has unfolded … ⌘ Read more

⤋ Read More

Sodium-Ion Battery Tested for Grid-Scale Storage in Wisconsin
“A new type of battery storage is about to be deployed on the Midwestern grid for the first time,” reports Electrek:

Sodium-ion battery storage manufacturer Peak Energy and global energy company RWE Americas will pilot a passively cooled sodium-ion battery system in eastern Wisconsin on the Midcontinent Independent System Operator network — the fi … ⌘ Read more

⤋ Read More
In-reply-to » Can anyone recommend a command-line SQL query formatter? Unfortunately, sqlparse is also unsuitable for me: https://github.com/andialbrecht/sqlparse/issues/688

I’m supporting incremental SQLite schema changes to just upgrade from an older database version to whatever the current software version supports. In the past, I already noticed that this is quite expensive in unit tests when each test case runs through the entire schema patches and applies them one by one.

To speed up test execution I now decided that I finally go through the troubles of maintaining both a set of incremental patches and a full schema setup in one go. A unit test verifies that both ways end up with the same structure. This gives me a set of SQLs to check the structures:

SELECT type, name, tbl_name, sql
FROM sqlite_schema
ORDER BY type, name, tbl_name

Unfortunately, the resulting CREATE TABLE SQL queries are formatted differently, depending on whether the full schema was set up in one big step or the structure had been modified with ALTER TABLE. Mainly, added columns are not on their own lines but appended in one physical line. That’s why I wanted an SQL formatting tool. Since I didn’t find one that works decently, I’m now doing some simple string manipulation. Joining consecutive whitespace into a single space character, removing spaces before commas and closing parentheses and spaces after opening parentheses. This works surpringly good enough. Of course, if it fails, the “diff” is absolutely horrendous.

Now for the cool part, my test execution dropped from around 5:05 minutes to just 1:32 minutes! I call that a win.

I just stumbled across PRAGMA table_info('tablename') https://sqlite.org/pragma.html#pragma_table_info, PRAGMA foreign_key_list('tablename') and friends. I guess, I have to play with that, now. It’s probably much better to use than the SQL text approach.

⤋ Read More
In-reply-to » @bender Haha, one could think it's so cold over here, even the posts have to wear beanies. :-D 04 was actually in a villa garden not too far from the edge of the village. Those plants in 05 are tiiiny. Not sure if eating them is healthy. I'm glad about the temperatures, no interest in trading them. ;-)

@lyse@lyse.isobeef.org hahhaha! Succulent, as in this type of plant. Certainly not looking to eat them, for sure! 😅

⤋ Read More

Resile is an ergonomic, execution resilience and retry library for Go.
Resile is an ergonomic, type-safe execution resilience and retry library for Go. Inspired by Python’s stamina, it features generic execution wrappers, AWS Full Jitter backoff, native Retry-After header support, and zero-dependency observability for distributed systems. 1 points posted by cinar ⌘ Read more

⤋ Read More

A Nuclear Reactor Backed By Bill Gates Gets Federal Approval To Start Building
An anonymous reader quotes a report from the New York Times: A novel type of nuclear power plant in Wyoming backed by Bill Gates received a key federal permit on Wednesday, making it the first new U.S. commercial reactor in nearly a decade to receive clearance to begin construction. The Nuclear Regulatory Commissio … ⌘ Read more

⤋ Read More

Vehicle Tire Pressure Sensors Enable Silent Tracking
Longtime Slashdot reader linuxwrangler writes: Dark Reading reports that a team of researchers has determined that signals from tire pressure monitoring systems (TPMSs), required in U.S. cars since 2007, can be used to track the presence, type, weight, and driving pattern of vehicles. The researchers report (PDF) that the TPMS data, which includes unique sensor IDs, is … ⌘ Read more

⤋ Read More

PEP 827: Type Manipulation
We propose to add powerful type-level introspection and construction facilities to the type system, inspired in large part by TypeScript’s conditional and mapped types, but adapted to the quite different conditions of Python typing. ⌘ Read more

⤋ Read More

Trump’s ‘Board of Peace’ Explores Stablecoin For Gaza
An anonymous reader quotes a report from the Financial Times: Officials working with Donald Trump’s “Board of Peace” are exploring setting up a stablecoin for Gaza as part of efforts to reshape the devastated Palestinian enclave’s economy, according to five people familiar with the discussions. The talks around introducing a stablecoin – a type of cryptocurrency whose v … ⌘ Read more

⤋ Read More

Ceph In Linux 7.0 Lands Support For AES256K Keys
For those making use of the Ceph open-source, distributed storage platform, with the upcoming Linux 7.0 kernel they are introducing support for the AES256K key type… ⌘ Read more

⤋ Read More

Linux 7.0 Brings Apple Type-C PHY, Snapdragon X2 & Rockchip HDMI 2.1 FRL Additions
Ahead of the Linux 7.0 merge window ending this weekend, the PHY updates were merged this week for this next major kernel release. There are some notable PHY additions particularly for Apple Silicon USB Type-C support as well as additions for Qualcomm’s new Snapdragon X2 laptop SoCs… ⌘ Read more

⤋ Read More

NASA Chief Classifies Starliner Flight As ‘Type A’ Mishap, Says Agency Made Mistakes
NASA has officially classified Boeing Starliner’s 2024 crewed flight as a “Type A” mishap, acknowledging serious technical failures and leadership shortcomings that nearly left astronauts unable to safely return. Administrator Jared Isaacman released (PDF) a 311-page internal report citing flawed decision-m … ⌘ Read more

⤋ Read More

Vim 9.2 Released
“More than two years after the last major 9.1 release, the Vim project has announced Vim 9.2,” reports the blog Linuxiac:

A big part of this update focuses on improving Vim9 Script as Vim 9.2 adds support for enums, generic functions, and tuple types.

On top of that, you can now use built-in functions as methods, and class handling includes features like protected constructors with _new(). The :defcompile command has also been impro … ⌘ Read more

⤋ Read More