StackOverflow.com

VN:F [1.9.22_1171]
Rating: 9.4/10 (10 votes cast)

Random snippets of all sorts of code, mixed with a selection of help and advice.

.NET Framework 4.5 in Azure Web App and FederatedAuthentication.SessionAuthenticationModule.WriteSessionTokenToCookie

18 September 2025 @ 10:27 am

I am trying to migrate a .NET Framework 4.5 application from on-premises IIS hosting into Azure Web App However, when I deploy the same code / config, I face issue with below code FederatedAuthentication.SessionAuthenticationModule.WriteSessionTokenToCookie I wrap it in a try-catch, but doesn't really throw an exception, just redirects to Error.cshtml page. Is above code not supported in Azure Web App? Thank you

WSO2 Revoke IS token for sub-organization

18 September 2025 @ 10:25 am

Scenario: User logs into our system with his IS Username and password (Super). He then selects the sub-organization he wishes to work with, and we do an organization switch to get a token for the sub-org. When the user closes the application, or clicks Logout, we want to revoke the sub-organization token (for security reasons). We call the .../oauth2/revoke?token=xxx endpoint. We use the same client id and secret that was used to do the org switch. Result: We get a status 200 back from the API, but when you try to use the sub-org token, it still works! We found that revoking a token that was issued on Super level, gets revoked as expected. What do we need to do to revoke a sub-org token?

R encounters fatal error when running rasterize (terra)

18 September 2025 @ 10:24 am

I am trying to run the (terra) rasterize function and in both RStudio and GUI it encounters a fatal error and requires new session start (or crashes). The line seems to have worked on smaller files but anything slightly bigger (and not big at all) it crashes. The code runs fine on another machine but not this one. I have tried uninstalling and reinstalling everything, using an older version of R, etc. I'm using R version R-4.5.1 I was running the following basic code code: library(terra) m <- rast(m_path) pts <- vect(gpkg_path) r <- rasterize(pts, m, field = 1, background = NA, fun = "max") When I run the last line to rasterize R 'encounters a fatal error' and crashes. This is the same when ran from GUI and RStudio. I am unable to share the data but as I say it runs fine on a different machine so shouldn't be the issue.

Why does one code run at load but the other one only when form submit

18 September 2025 @ 10:23 am

sorry if this is extremely basic, we just started learning PHP at class and I've got 2 exercises. In the first one, you can write 2 numbers on 2 html text inputs and choose an operation on a dropdown list. Then when the Submit button is clicked, theres PHP code to calculate the result based on the numbers and which operation was chosen, and it's shown underneath the form (this section was previously empty, so this appears at Submit): <form action="GET"> <label for="text1">Text 1</label> <input type="text" name="text1" /> <br> <label for="text2">Text 2</label> <input type="text" name="text2" /> <br> <label for="operacions">Escull una operació: </label> <select name="operacions" > <option value="add" />+</option> <option value=&q

GeoGebra Classic 5 — Can I save and run a batch of Input Bar commands from a plain text file?

18 September 2025 @ 10:23 am

I remember (from around 10 years ago) that in GeoGebra I could save the commands I would normally type into the Input Bar into a textual file, and then open/load/run them all at once, without having to copy‑paste them into the Input Bar one by one. Now I can’t figure out if I’m misremembering, or if such a feature still exists in current versions. Important constraints: I want to store the commands in a plain text file that I can open and edit in any text editor. I do not want to use .ggb or .ggt files, because those are binary containers. Ideally, I could run the text file either from the GUI (via some “load script” option) or from the CLI by passing it as an argument to GeoGebra. Environment OS: Windows 10 Pro 64‑bit GeoGebra version: Classic 5.2

How to add transparent <div> as a shield to prevent click on a video

18 September 2025 @ 10:18 am

Please how can i place a transparent element over a video on the page where it's embedded. I want the transparent to act as a shield element to intercept the clicks. This prevents the clicks from having an effect on the video. The video is hosted on wistia. I have zero knowledge on coding, and i am using free Elementor version. please i need help. Here is the page i want to edit I found some codes: .yourDiv {pointer-events: none;} but i dont know how to use it correctly

Postgresql ISSUE- Replication

18 September 2025 @ 10:17 am

[enterprisedb@DR-PG-SRV ~]$ pg_basebackup -h 192.168.1.43 -p 5444 -D /pgfs/dbcluster/area13mas/ -U replicator -v -P -X stream -R -Ft -c fast -Z 1 Password: pg_basebackup: initiating base backup, waiting for checkpoint to complete pg_basebackup: checkpoint completed pg_basebackup: write-ahead log start point: 16/81000028 on timeline 1 pg_basebackup: starting background WAL receiver pg_basebackup: created temporary replication slot "pg_basebackup_2643317" 4193524/15625338 kB (100%), 2/2 tablespaces pg_basebackup: error: backup failed: lost synchronization with server: got message type "6", length 825700664 pg_basebackup: removing contents of data directory "/pgfs/dbcluster/area13mas/" [enterprisedb@DR-PG-SRV ~]$ pg_basebackup -h 192.168.1.43 -p 5444 -D /pgfs/dbcluster/area13mas/ -U replicator -v -P -X stream -R -Ft -c fast -Z 1 Password: pg_basebackup: initiating base backup, waiting for checkpoint to complete pg_basebackup: checkpoint completed pg_baseba

How can I ignore a section of markdown with Doxygen?

18 September 2025 @ 10:16 am

I'm using Doxygen to build a docs website for a project. I use the project's markdown README as the main homepage. There is a chunk of the README that I want Doxygen to ignore. I'm pretty sure this used to work with <!--- \cond --> and <!--- \endcond --> comments. But this is now not working (at least since Doxygen v1.14). Here's as minimal as I could make my example: Doxyfile DOXYFILE_ENCODING = UTF-8 PROJECT_NAME = "My Project" MARKDOWN_SUPPORT = YES GENERATE_LATEX = NO INPUTS += README.md USE_MDFILE_AS_MAINPAGE = README.md README.md <!--- \cond --> # MyProject ## I want to hide this section in doxygen's HTML docsbut But it's needed in the project README. It contains some information that is meaningful on GitHub but not for Doxygen. Also the title is re

NSAlert popup does not show app icon in latest macos version Tahoe 26.0

18 September 2025 @ 10:16 am

I couldn’t find any definite statement from Apple or in the public documentation so far that under macOS “Tahoe” (version 26.0) NSAlert has had a new, formal change that always hides the app icon. However, there are clues in Apple’s documentation and developer forum chatter that suggest that AppKit may omit the icon under certain circumstances, and what you’re seeing may be a consequence of one of those circumstances (or a bug/regression). Below are what I found and some workarounds you can try. What the documentation says Here are some relevant quotes and observations: The NSAlert class has an icon property. From Apple’s docs: “Icon — An optional, custom icon to display in the alert, which is used instead of the default app icon.” Apple Developer Relevant to your issue, under the docs for icon: “If you’ve set a custom alert icon, you can clear it by setting this property’s value to nil, which restores use of the app

Why does my log transformation output only black?

18 September 2025 @ 10:04 am

Here is my original code: # Formula: s = c * log(1 + r) c = 255 / np.log(1 + np.max(image)) log_transformed = c * np.log(1 + image.astype(np.float32)) log_transformed = np.clip(log_transformed, 0, 255).astype(np.uint8) This one outputs a black image. This is what I got from ChatGPT: log_transformed = np.log1p(image.astype(np.float32) / 255.0) # log(1 + r), r in [0,1] log_transformed = (log_transformed / np.max(log_transformed)) * 255 log_transformed = log_transformed.astype(np.uint8) It works, but I don't understand how. Also, did it follow the original formula? I don't get it at all.

Archive.org

VN:F [1.9.22_1171]
Rating: 8.5/10 (2 votes cast)

The Internet Archive

LCTV News - The Haven Project 5K to End Youth Homelessness - September 13, 2025

18 September 2025 @ 2:51 pm

The Haven Project held their annual Haven Project 5K to End Youth Homelessness on September 13, 2025 at Lynn Woods. The Haven Project works with youth ages 17-24 who are housing unstable or imminently homeless in Essex County....This item belongs to: movies/lctvma.This item has files of the following types: Archive BitTorrent, Metadata, h.264 HD

Lynn License Commission Meeting - September 16, 2025

18 September 2025 @ 2:51 pm

The Lynn License Commission Meeting held in Lynn City Hall room 302 on September 16, 2025. The mission of the Lynn License Commission is to issue, regulate and oversee the licenses of over 350 establishments of various types operation within the City of Lynn....This item belongs to: movies/lctvma.This item has files of the following types: Metadata

Update on the South Harbor Implementation Plan - September 2025

18 September 2025 @ 2:51 pm

The City of Lynn Planning Department created the South Harbor Implementation Plan (SHIP) to build on previous planning work in the neighborhood to better articulate the infrastructure investments needed to support future development....This item belongs to: movies/lctvma.This item has files of the following types: Metadata

Uşak Clio Symbol Megan Dacia Oto Tamirhane Tamirci 64300

18 September 2025 @ 2:51 pm

📂 Uşak Renault & Dacia Oto Tamirci | Altın Otomotiv Gold Otomotiv, Uşak Renault Oto Tamirci ve Uşak Dacia Oto Servis denildiğinde ilk akla gelen özel servistir. 👉 Renault Clio, Megane, Sembol, Captur, Kadjar, Fluence 👉 Dacia Duster, Sandero, Lodgy, Dokker Tüm modeller için bilgisaya....This item belongs to: image/opensource_image.This item has files of the following types: Archive BitTorrent, Item Tile, JPEG, Metadata

PAKISTAN S INTERFERENCE (10-Nov-2010)

18 September 2025 @ 2:51 pm

'PAKISTAN S INTERFERENCE (10-Nov-2010)' from the Parliament Digital Library.This item belongs to: texts/opensource.This item has files of the following types: Archive BitTorrent, Metadata, Text PDF

Observations of the Sun, Moon, and planetsSix-inch transit circle results , 1956-1962

18 September 2025 @ 2:50 pm

United States Naval Observatory Circular no. 103. The United States Naval Observatory Circular series provides computed data, formulas, mathematical developments, or observational results by Naval Observatory astronomers..This item belongs to: texts/navobsy.This item has files of the following types: Metadata

20250917-Lokala-Nyheter-Uppsala-Igar-09-07

18 September 2025 @ 2:50 pm

Lokala Nyheter Uppsala 17 Sep 2025 kl. 09:07.This item belongs to: movies/opensource_movies.This item has files of the following types: Archive BitTorrent, JSON, Metadata, Web Video Text Tracks

RISE IN PRICES OF CEMENT (27-Jul-2009)

18 September 2025 @ 2:50 pm

'RISE IN PRICES OF CEMENT (27-Jul-2009)' from the Parliament Digital Library.This item belongs to: texts/opensource.This item has files of the following types: Archive BitTorrent, Metadata, Text PDF

Archive-It Crawl Data: Partner 1079 Collection 22497 Crawl Job 2605550

18 September 2025 @ 2:50 pm

No description available.This item belongs to: web/ArchiveIt-Collection-22497.This item has files of the following types: Metadata

Holliston Boys Varsity Soccer v Dedham - 9/16/2025

18 September 2025 @ 2:50 pm

The Holliston Panthers Varsity Soccer v Dedham Marauders on Tuesday, September 16, 2025 at Kamitian Field..This item belongs to: movies/hca2ma.This item has files of the following types: Metadata

ESPN Soccernet

VN:F [1.9.22_1171]
Rating: 7.3/10 (3 votes cast)

Football news, live scores, and results

Sources: Messi, Miami near multiyear extension - ESPN

18 September 2025 @ 12:21 am

Sources: Messi, Miami near multiyear extension  ESPN

Simeone on fan squabble: 'I was fighting back' - ESPN

17 September 2025 @ 11:07 pm

Simeone on fan squabble: 'I was fighting back'  ESPN

Chelsea are back in the Champions League, but Bayern prove too much to handle - ESPN

17 September 2025 @ 10:14 pm

Chelsea are back in the Champions League, but Bayern prove too much to handle  ESPN

Transfer rumors, news: Real Madrid looking at Paz return - ESPN

17 September 2025 @ 8:39 pm

Transfer rumors, news: Real Madrid looking at Paz return  ESPN

Mourinho has a lot to prove in returning to Benfica. Does he have any magic left? - ESPN

17 September 2025 @ 6:20 pm

Mourinho has a lot to prove in returning to Benfica. Does he have any magic left?  ESPN

Flick: Rashford can prove himself vs. Newcastle - ESPN

17 September 2025 @ 5:44 pm

Flick: Rashford can prove himself vs. Newcastle  ESPN

NWSL to introduce combines in lieu of draft - ESPN

17 September 2025 @ 4:00 pm

NWSL to introduce combines in lieu of draft  ESPN

NWSL MVP Tracker 4.0: Chawinga, Esther fighting for the crown - ESPN

17 September 2025 @ 12:32 pm

NWSL MVP Tracker 4.0: Chawinga, Esther fighting for the crown  ESPN

Sources: Trent (hamstring) out for up to 2 months - ESPN

17 September 2025 @ 11:39 am

Sources: Trent (hamstring) out for up to 2 months  ESPN

Is Mbappé the quickest Real Madrid player to 50 goals? Not even close - ESPN

17 September 2025 @ 11:00 am

Is Mbappé the quickest Real Madrid player to 50 goals? Not even close  ESPN

BikeEXIF.com

VN:F [1.9.22_1171]
Rating: 7.0/10 (2 votes cast)

Classic motorcycles, custom motorcycles and cafe racers

Click to Customize: CNCPT Moto's Harley Pan America and Sportster S kits

17 September 2025 @ 8:46 pm

Harley-Davidson’s liquid-cooled Revolution Max V-twin platform was meant to usher in the Bronx—a muscular streetfighter that, to the disappointment of many, never left the drawing board. Instead, we got the Pan America and the Sportster S.One is a capable—if odd-looking—adventure tourer; the other i...

Rough Roads, Right Bikes: Some of our Favorite Scramblers

16 September 2025 @ 6:00 pm

There's an undeniable magic to scramblers. They represent the motorcycle distilled to its purest form: two wheels, an engine, and an invitation to adventure. Designed for versatility, they represent freedom—the ability to leave the pavement and discover where the dirt leads, making each ride about e...

In Photos: Cooper’s New Hampshire Motorcycle Salvage

15 September 2025 @ 6:45 pm

This salvage yard may not look to draw attention, especially to those who run the place, but Cooper’s MC Salvage is a gem amongst vintage Japanese motorcycle enthusiasts, which makes it hard to ignore. It’s a place with the ability to breathe life into dozens of bikes with parts from a single source...

Speed Read: New motorcycles from Ducati, Aprilia, and Husqvarna

14 September 2025 @ 8:39 pm

It's been a busy week for European motorcycle marques. Ducati revealed the new limited edition Diavel V4 RS, Aprilia wrapped their zippy SR GT scooter in MotoGP colors, and Husqvarna treated the popular 701 Supermoto to a major update.Ducati Diavel V4 RSWould you like to hazard a guess at what the f...

Take to the Skies: ShifCustom's Moto Guzzi Breva Café Racer Celebrates Aviation

12 September 2025 @ 6:23 pm

With over two decades of experience, numerous awards, and a stacked skill set spanning traditional fabrication to 3D design, there’s very little that ShifCustom can’t do. If their wild three-wheeled BMW R18 didn’t convince you, perhaps this aviation-themed Moto Guzzi café racer will.Founded by Yuri ...

Earth Motorcycles Levels Up with a Made-to-Order BMW R100R

11 September 2025 @ 11:39 am

In the eight years since their inception, Earth Motorcycles has developed a particular affinity for classic BMW boxers. Although the Slovakian outfit doesn't exclusively work on Beemers, over sixty percent of their portfolio features BMW R100 and R80 customs.Each boxer build has allowed Earth to ref...

From Garage Experiment to Auction Block: Bike EXIF’s Diesel Mini Bike

10 September 2025 @ 6:00 pm

Putting a price on a custom motorcycle is tough. How do you quantify hundreds of hours of fabrication, the ingenuity behind one-off parts, or the artistry that transforms a stock bike into a rolling sculpture? For builders, listing a bike on traditional classifieds can feel like losing both money an...

Pack and Ride: 6 Backpacks for Motorcycle Riders

9 September 2025 @ 5:00 pm

Custom motorcycles aren’t exactly known for their luggage capacity. That’s part of the charm—clean lines, stripped-down silhouettes, and a focus on aesthetics over utility. But it also means that when it’s time to haul groceries, head out on a weekend trip, or carry your laptop to work, a backpack o...

Salt of the Earth: Maine Craftsmen Lead the Way in the Art of Making Wooden Surfboards

8 September 2025 @ 5:30 pm

With each stroke of the hand plane, the sculpted lines of stripped cedar planks take form. In this room, just a few miles off the coast, the salt-etched hands of the boat builder move across the bow as he hones his craft. He is focused on necessity in that the structure must float and withstand the ...

Showstoppers: The 5 Most Viewed Custom Motorcycles of August

7 September 2025 @ 5:00 pm

We toil every day here at Bike EXIF to bring you the best custom motorcycles worldwide, and our web stats give us an inside look at what really resonates with our readers. It’s with a sly smirk that I’ll reveal a secret; it’s not the fastest or most outlandish bikes that regularly dominate our airwa...

TheDailyMash.co.uk

VN:F [1.9.22_1171]
Rating: 7.0/10 (1 vote cast)

satirical website covering national and international news with spoof stories, commentary and opinion