9.2 C
New York
Wednesday, March 19, 2025
Home Blog Page 3781

Crafting a customized phrase rely service — Erica Sadun


I simply occurred to want to do numerous phrase counts right this moment so I put collectively a service to make my life simpler. Whereas, I carried out my preliminary work on Mojave however the identical method works all the best way to Massive Sur and, presumably, the upcoming macOS Malibu Barbie.

Open Automator

To get began, launch automator and create a brand new doc.

Choose Fast Motion, Select from the brand new doc dialog:

Add Scripting

Drop in a Run Shell Script after which an Apple Script. You’ll be able to search from them within the top-left nook. Drag them so as into the suitable panel.

I used /bin/bash for my shell script, stunning, I do know, as I’m well-known for my love of all issues csh. Be at liberty to make use of no matter shell fits you. The primary non-argument shell variable ($1 right here) corresponds to highlighted textual content, which can be utilized by the system contextual menu:

echo `echo $1 | wc -w` phrases. `echo $1 | wc -c` characters.

Swap the pop-up for piping output (“passing enter”) from “to stdin” to “as arguments”. This permits the AppleScript to learn the chosen information and current a dialog. For those who neglect, you’ll get empty enter and one thing like “1 phrases, 0 characters” on a regular basis.

on run {enter, parameters}
    show dialog enter as string buttons {"OK"}
finish run

Save and Run

Save the motion. I known as mine “Phrase Depend”.

The motion robotically saves to ~/Library/Companies, in case you need to discover or delete it sooner or later.

% ls
Phrase Depend.workflow/

Your new fast motion robotically provides a customized service to your contextual pop-ups. Simply spotlight something you need to rely, from textual content on an internet web page to your work in a doc and open the contextual menu:

Ensure the output seems to be cheap. For best testing, copy the textual content to your clipboard after which use wc immediately in terminal.

And, then increase, you’re performed.

Let me know if this was useful.

[PROVED] Unsuspecting Name Recipients Are Tremendous Susceptible to AI Vishing

0


john-henry-competitionHeads-up: I simply proved that unsuspecting name recipients are tremendous weak to AI vishing

macos – What are the command line choices for afconvert?

0


Audio File Convert exports to twenty audio file codecs and a mess of codecs, all of that are proven with the -hf possibility.

Uncompressed Audio

File codecs: AIFC AIFF NeXT Sd2f WAVE RF64

The unique codecs for storing audio information have been all uncompressed as a result of these are straightforward to work with, and will be performed by even very early CPUs. Nonetheless, uncompressed audio information are very massive, simply going as much as 10 MB/minute. These codecs all share related codec choices like I8 BEI16 BEI24 BEI32 BEF32 BEF64. Smaller numbers give smaller information, however bigger numbers give larger high quality. If you happen to’re undecided what to decide on, go along with BEI32 or LEI32.

  • BE large endian
  • LE little endian
  • I integer
  • UI unsigned integer
  • F floating level
  • 8/16/24/32/64 bits per pattern

It’s best to solely must specify these choices for these older uncompressed codecs.

Compressed Audio

File codecs: 3gpp 3gp2 adts ac-3 amrf m4af m4bf caff ec-3 flac mp4f

Not each codec is supported by each file format, however you need to use this as a information to get began selecting your codec. As soon as you’ve got chosen a codec, you’ll be able to have a look at the output of afconvert -hf to select an acceptable container file format.

(Word: I’ve excluded the MPG codecs similar to MPG3/MP3 from this record as a result of they only don’t work.)

Additionally see this reply for more information on the assorted codecs and the place they’re outlined.

Syntax

As soon as you’ve got chosen a file format and codec, you run afconvert like this:

afconvert -f FORMAT -d CODEC SOURCEFILE [-o DESTINATIONFILE]

It’s essential to specify each the file format and the codec, in any other case an error is proven. If you happen to omit the -o possibility, afconvert will choose a reputation and extension primarily based on the opposite inputs.

Examples

If in case you have an audio file referred to as MyAudio.m4a you could possibly attempt these instructions.

# AIFF
afconvert -f AIFF -d BEI32 MyAudio.m4a -o MyAudio.aiff
# WAVE
afconvert -f WAVE -d LEI32 MyAudio.m4a -o MyAudio.wav
# Apple Lossless
afconvert -f m4af -d alac MyAudio.m4a -o MyAudio.m4a
# FLAC
afconvert -f flac -d flac MyAudio.m4a -o MyAudio.flac
# AAC
afconvert -f mp4f -d aac MyAudio.m4a -o MyAudio.mp4

Ransomware rakes in record-breaking $450 million in first half of 2024


Ransomware rakes in record-breaking 0 million in first half of 2024

Ransomware victims have paid $459,800,000 to cybercriminals within the first half of 2024, setting the stage for a brand new file this yr if ransom funds proceed at this degree.

Final yr, ransomware funds reached a file $1.1 billion, which Chainalysis beforehand predicted from stats gathered within the first half of the yr when ransomware exercise grossed $449,100,000.

We now stand at roughly 2% larger than 2023’s record-breaking trajectory from the identical interval regardless of vital legislation enforcement operations that disrupted massive ransomware-as-a-service operations, comparable to LockBit.

In response to the newest Chainalysis report, this enhance is because of ransomware gangs specializing in getting bigger funds by concentrating on massive organizations to create expensive disruptions and the theft of shoppers’ private knowledge.

“2024 is about to be the highest-grossing yr but for ransomware funds, due in no small half to strains finishing up fewer high-profile assaults, however gathering massive funds,” reads the Chainalysis report.

“2024 has seen the biggest ransomware fee ever recorded at roughly $75 million to the Darkish Angels ransomware group.”

It’s unclear who paid the huge $75 million ransom fee, however Zscaler, who found it, says it was made by an organization within the Fortune 50 for an assault in early 2024.

A transparent indicator that ransomware actors goal larger organizations is a big enhance within the median ransom fee, which moved from beneath $199,000 in early 2023 to $1,500,000 in June 2024.

Ransom payment inflows
Ransom fee inflows (2023 – orange, 2024 – blue)
Supply: Chainalysis

Chainalysis says the variety of confirmed ransomware assaults, based on eCrime.ch intelligence, has grown by 10% YoY in 2024, whereas an analogous enhance may be seen within the variety of victims revealed on extortion portals on the darkish internet.

When it comes to what number of victims yield to the risk actors’ blackmail and select to pay the ransom in change for a decryptor and a promise to not leak stolen knowledge, Chainalysis says the optimistic pattern continues, with fewer organizations succumbing to the extortion.

The agency’s on-chain knowledge reveals that whole ransomware fee occasions have declined 27.27% YoY, so fee charges are nonetheless taking place.

This corroborates earlier studies by Coveware, based on which ransom funds hit a file low of simply 28% within the first quarter of the yr.

Ransomware activity overview
Ransomware exercise overview
Supply: Chainalysis

Crypto crime overview

Chainalysis additionally studies that the influx of stolen cryptocurrency has doubled YoY, growing from $857 million to $1.58 billion by the tip of July 2024.

Amounts of funds lost to cybercrime
Quantities of funds misplaced to cybercrime
Supply: Chainalysis

The typical worth of cryptocurrency stolen per heist elevated by roughly 80%, with cybercriminals concentrating on primarily centralized exchanges as a substitute of decentralized finance (DeFi) protocols that suffered nearly all of assaults in earlier years.

Type of entities targeted
Kind of entities focused
Supply: Chainalysis

Regardless of these will increase in absolute numbers, it is famous that illicit on-chain exercise dropped by 20% in comparison with 2023, indicating that official cryptocurrency use is rising at a sooner charge.

Remaining Fantasy XVI arrives on PC September 17, requires 170 GB, demo is now accessible

0


One thing to stay up for: Sq. Enix has been hinting at a PC launch for Remaining Fantasy XVI since earlier than its preliminary launch on PlayStation 5 final yr. Now, the corporate has confirmed that the port will arrive in lower than a month. Customers can check how nicely their PCs will deal with the sport by downloading the free demo and checking the system necessities.

Pre-orders at the moment are open for the PC model of Remaining Fantasy XVI, which can be accessible on Steam and the Epic Video games Retailer beginning September 17. A free demo is at the moment accessible on each platforms.

The demo permits customers to benchmark the sport’s efficiency and discover PC settings. Sq. Enix has additionally supplied fundamental system necessities, noting that the total launch would require a considerable 170 GB of space for storing – significantly greater than the more and more frequent 100 GB titles.

Remaining Fantasy XVI arrives on PC September 17, requires 170 GB, demo is now accessible

Different system necessities are on par with these of latest high-end video games. Remaining Fantasy XVI requires a minimal of 16 GB of reminiscence and eight GB of video reminiscence to realize 30fps at 720p decision.

For that efficiency degree, Sq. Enix recommends GPUs just like the AMD Radeon RX 5700, Intel Arc A580, or Nvidia GeForce GTX 1070. To succeed in 60fps at 1080p, you may want at the very least an RX 6700 XT or GeForce RTX 2080. The beneficial CPUs are an AMD Ryzen 7 5700X or an Intel Core i7-10700.

Whereas system specs for 1440p or 4K gameplay aren’t supplied, Remaining Fantasy XVI helps DLSS 3, FSR body era, and XeSS, which can assist obtain these larger resolutions. The RPG additionally helps DLAA and a most framerate of 240fps. Sq. Enix is providing the bottom sport for $50 and a whole version with two enlargement packs for $70.

The unique PlayStation 5 version of Remaining Fantasy XVI bought under the writer’s expectations, however director Hiroshi Takai just lately assured Rock Paper Shotgun that the way forward for the long-running franchise is safe. Regardless of Sq. Enix’s market cap falling by 30 p.c final yr, steady income from its profitable MMO, Remaining Fantasy XIV, helped offset a number of the losses.

There may be hypothesis that Remaining Fantasy XVI might have upset some followers resulting from its concentrate on action-based fight, which is a departure from the franchise’s conventional RPG roots. Moreover, the PS5’s comparatively restricted set up base in comparison with earlier platforms that hosted Remaining Fantasy video games might need contributed to its preliminary gross sales efficiency.

Takai defined {that a} simultaneous PC launch was by no means possible, even when Sq. Enix had not signed a six-month exclusivity take care of Sony. The studio chargeable for growing the sport started work on the PC port solely after the PS5 launch.