101010.pl is one of the many independent Mastodon servers you can use to participate in the fediverse.
101010.pl czyli najstarszy polski serwer Mastodon. Posiadamy wpisy do 2048 znaków.

Server stats:

508
active users

#less

1 post1 participant0 posts today

Linux tip: you can edit files from within less by pressing "v". This will launch your default editor.

If you do not have a default editor specified, you can specify one by adding the following lines to your .bashrc:

# set default editor
EDITOR=/usr/bin/vim

Substitute vim for whatever editor you prefer. (Which is obviously vim :)

#Linux#Bash#vim

(Possibly relevant to @b0rk 's interests)

So I hit a flag in diff, --unchanged-group-format. It does not show up in the manpage. It does not show up in --help. You can search both those channels for that string and you will not find it.

You know where it shows up first? If you Google it, you'll get an example in gnu.org/software/diffutils/man.

So why doesn't it show up in the manpage? Well, it does! If you read the entire manpage. With your eyes.

  -D, --ifdef=NAME                output merged file with '#ifdef NAME' diffs                                                                                                                                                                                                                                                                                                              
--GTYPE-group-format=GFMT format GTYPE input groups with GFMT
--line-format=LFMT format all input lines with LFMT
--LTYPE-line-format=LFMT format LTYPE input lines with LFMT
These format options provide fine-grained control over the output
of diff, generalizing -D/--ifdef.
LTYPE is 'old', 'new', or 'unchanged'. GTYPE is LTYPE or 'changed'.

"What do you mean it isn't documented? Of course it's documented. You did read every line and do some template-substitution in your brain, didn't you?"

This isn't advocating for not reading the manpage. If you really want to understand how the tool works, you read the whole manpage. And probably the source code. 😉

... but I don't want to understand how the tool works. I want to diff two files and not have the lines that are the same get emitted.

And I think a lot of application- and solution-generating computer people, most of the time, in most of their careers, are operating on that level of depth. Problems come in too fast and with too much variety. You absolutely go deep on some things. There is no time to go deep on everything.

So how do we address this (other than throw up our hands and say "Relying on Google's fuzzy search of the whole Internet and vibe-coding LLMs is the future actually")? I don't have magic bullets, but a "fuzzy search" mode in something like less that could take an input like --unchanged-group-format and twig that it if there's no exact match, it might be related to --GTYPE-group-format would be nice.

Maybe I should mock that up in emacs. Actually, I bet someone already put it in emacs. ;)

www.gnu.orgLine Group Formats (Comparing and Merging Files)Line Group Formats (Comparing and Merging Files)

Compiling the latest release of less so I can get that sweet, sweet wordwrap feature.
#Less #Debian #ThatDebianLife #CompileIt!

Umm... can someone who has the spoons handy log an issue that their latest release (non-beta) tarball is double-gzipped? (github.com/gwsw/less/issues)

#SpoonTheory -- I'm doing fine, but dealing with github REALLY DOES cost a couple extra spoons even when you're having a good day, lol. Stop using that MSFTy GPL-violating crap, my peeps! :P~

GitHubIssues · gwsw/lessLess - text pager. Contribute to gwsw/less development by creating an account on GitHub.

Any people on here who have both experience with #ddd + #teamtopologies and #less or #fast?

It feels that stream-aligned teams and the fluid teams is a big conflict? And I'm wondering what kind of tradeoffs you've found when working with one or the other?

For example, how do devs build deep domain expertise in fluid teams?

Or if you do TeamToplogies, does it always mean that you might need to rework your architecture so teams can work on value and not just on individual components?

Elon Musk’s charity may bear his name, but it can’t seem to match his penchant for high-dollar spending.

According to a New York Times analysis of his charity’s giving in 2022, the #Musk #Foundation gave out just $160 million in grants
—a whopping $234 million #less #than the five-percent #legal #minimum it needed to distribute between 2021 and 2022.

It was the fourth-largest shortfall of any U.S. charity in 2022, the last year for which records are available.

The revelation was one of multiple in the Times’ report on Musk’s charitable giving, which has often benefited his own associates or those of his companies.

Musk reportedly filled some of the foundation’s coffers by donating Tesla stock, which he is allowed to claim as a tax deduction.

Not all of the charity’s donations have benefited his own interests, however:
The foundation donated more than $1 million to schools in Flint, Michigan, and a charity aimed at helping children there.

But where that foundation donates is still up to him and the foundation’s board—which includes just him and two other volunteers.

thedailybeast.com/elon-musks-c

The Daily Beast · Elon Musk’s Charity Often Benefits Elon Musk and Associates: ReportBy Corbin Bolies
Replied in thread

I'm about to prepare yet another release, #dos2ansi v1.3.

Finding these bitmap fonts triggered two things:

1. I realized dos2ansi needs a mode to NOT attempt to mimic #VGA looks by chosing more similarly looking characters: A font recreating the orignal IBM fonts probably won't have glyphs for these other characters (and the original ones will look, well, original 😜 ...)

2. It gave me the idea that I now had everything in place for some sort of "ANSI viewer", just needs a script to tie together dos2ansi, #xterm, #less and the #ibmfonts. So, here it is: showansi. It should work with other X terminals, pagers, fonts, for configuration see the updated README:
github.com/Zirias/dos2ansi

The script first calls dos2ansi to query some #SAUCE metadata it then uses to pick the most appropriate font, window size and title for xterm.

The screenshot uses completely unconfigured Xorg and xterm, to show the script sets everything as needed.

Pro tip: `less` can filter the lines it displays. Hit the “&” key and enter a search pattern. You’ll only see lines matching the pattern.

Want to only see lines that _don’t_ match the pattern? Prefix the pattern with an exclamation mark.

Super useful when looking at logs, for example.

The #less man page is definitely worth a read, it can do a bunch more stuff you might find interesting.

#International_Tech_News | Here is a Chart from #Ray_Dalio. Seen it many times --but perhaps you have not?

This is our #Elevator_Pitch.

#Less is #More..

We try to keep things simple --so that even a #Layman can understand and participate;) ZERO #EXCLUSION -UNLESS OF COURSE #DIRTY_MONEY!;(

#Investors_Welcome. platform completed, all on-boarding done. 100m Reach.
Seeking 1 Million for #branding world wide. Will trade stock option$.. (#LLC_Units;).

And btw after 7 years (25 years total) in Development --we are Global and can do this with or without investors. But we seek like-minded #Investors that are #Globalists. And want to make a difference and Change all directions for #Peace and #Prosperity #ONCE and for #ALL for #Mankind!

Should be asking for a BILLION really.. based on what the losers paid for a 15 year failing platform called #Twitter (44 Billion UGH!)?? #Centralized 180 character spamming and surveillance platform since the beginning of time. 100% EXCLUSION AND POWERED BY #CORPORATE_ANTI_COMPETITIVE_BOTS.

-we are #SILICON_VALLEY. Always have been --always will be! Right here in Sarasota Florida.
Remeber your DAD from Sarasota takes over the internet;) Unlike most of Brick and Mortar Companies excluding #Netflix we are Number #1 #Globally in TECH.

Hiring Overseas Freelancers since 1999. See Below for full experience that few if any have..

Ready to launch and we are in Series C funding (30 Million valuation) and have not launched let;) Not on purpose but by design w/ proven track record. See attached.

Do not let the Opportunity of a lifetime pass you by..

And based on Climate Change and Pollution; life expectancy is undetermined. (TBD - to be determined).

Yes we Cannot take it with US but at least there will be #BOOYA_PROFIT$ you can leave behind for your loved ones AND CHILDREN --CAUSE THEY ARE GOING TO #NEED IT!

Book a quick chat w/ davidV here:
quickchatwithdavidv.as.me/sche

here is a little about us..

After 12 years as a mortgage broker I decided to roll up my sleeves and delve into the Internet. It was calling my name:). We pioneered online lead generation in the mortgage industry in 2000 via SEO techniques. (which btw was one of the highest competitive fields on the net at that time)

Long story short -built my first mortgage website from scratch, took a few online courses on SEO algorithms and before I knew it I had 2500 (twenty five hundred) 1003's (Loan applications) sitting on my desk from all across the USA! Wondering, what now?

I took them to my local Correspondent Lender and plopped them on his desk. He glared at me thinking something was illegal. He had no clue what to do with them or me, so I pick up the pound or two of paper and walked out.

Finally I figured out how I could sell them on the net with borrowers permission. Mortgages btw are bought and sold on the secondary market.

Shortly after it dawned on me that if I could generate 1000’s of fully completed 4-page loan applications online, what is stopping me from doing the same with any product or service, which to me, would be so much easier.

-at a click of a mouse. Before we knew it we were one of the largest traffic providers on the net during 2001 and 2008. We provided highly targeted and qualified SE traffic to all the major pay per click engines online for the next 7 years.

WebTrafficBrokers.com was able to secure traffic from major search engines in excess of 200 million unique visitors per month starting in 2001.

Internet Marketing & Advertising:

* Inventor & Founder of the First Screen Recorder on planet (desktop>>applets) (Stolen in 2002)
* Inventor & Founder of SEO (Search Engine Optimization)
* Inventor & Founder of RTB (REAL TIME BIDDING) powering all Big Tech (Stolen in 2007)
* Inventor & Founder of HFT (High Frequency Trading) powering all USA Stock Markets (Stolen in 2007)

See attachment for Additional #SKILL, #TALENT and #EXPERTISE.

JOBS FOR ALL WORLDWIDE!

CONNECT Today for EARLY #INVITE. TastingTraffic LAUNCHING SOON!

WELCOME TO THE FUTURE OF ADVERTISING! | If it Tastes Good, You Gotta LOVE IT! (Patent Pending).

Upon launch all will be notified.

* Software Architect (PhD) Supervisor -25 years 100K PMS hours
* EXPERT BLACK BOX TESTER
* Founder of SEO (Search Engine Optimization)
* Founder of RTB (Real Time Bidding)
* Founder of HFT (High Frequency Trading)

Withbrains.com/@Davidv ® (Decentralized SOCIAL Network | Signup for Early Invite);
TastingTraffic.net ® (#International_Tech_News);
JustBlameWayne.com ® (Just Blame Wayne & Post it);
Davidv.TV ® (Big Faith | Christianity RAW 101) are not affiliates of this provider or referenced images used. This is NOT an endorsement OR Sponsored (Paid) Promotion/Reshare.

CVE-2023–26604: #systemd before 247 does not adequately block local privilege escalation for some #Sudo configurations, e.g., plausible sudoers files in which the "systemctl status" command may be executed. Specifically, systemd does not set LESSSECURE to 1, and thus other programs may be launched from the less program. This presents a substantial security risk when running systemctl from Sudo, because #less executes as root when the terminal size is too small to show the complete systemctl output.

medium.com/@zenmoviefornotific

Wow, after 25 years of Unix experience, I learned that you can filter output in #less.

Press ampersand (&) and enter a regex to show only lines matching the regex.

Press ampersand (&) and then exclamation mark (!) to apply an inverse filter.