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.

In browser, in SMS section, incoming message senders are unlabeled

11 February 2025 @ 4:37 pm

In the SMS section of my Web browser, incoming texts are not labeled according to their sender. That is, all I see is the generic white silhouette of a person with a grey circular background. No name or image. I can live with that in a 1-on-1 SMS conversation. But in a group text with 17 people, that is not okay. I need to know who sent which message, and I cannot see that in the PB SMS interface: All messages just appear with the same generic icon and no name (text) added: SMS Section with message owners undifferentiated.

how can I add a <div class="hi"> that contains the filters inside of shop page in woocommerce?

11 February 2025 @ 4:37 pm

In woocommerce I'm not able to add a custom div that contains the filters in shop page. I saw the visual hook guide however I'm not seeing a way to do so. Any suggestion? visual hook guide I tried going here: wp-content/plugins/woocommerce/includes/wc-template-functions.php there is the function woocommerce_content() with the following code and adding a before the h2 for the filters

This error keeps popping up in my code {TypeError: 'DataFrame' object is not callable}, How to solve this?

11 February 2025 @ 4:37 pm

data_features = df.iloc[:, 2:10] labels = df['specific_class'].astype('category').cat.codes dataset = CustomDataset(data_features, labels) dataloader = DataLoader(dataset, batch_size=batch_size, shuffle=True) No maater how much I try this thing keeps poping. What to do?

React - How to overwrite a current character inside input box (OTP inputs) when it is already full?

11 February 2025 @ 4:37 pm

I am trying to create an input box for a timer/OTP styled input. How to overwrite a current character inside input box w length 1 (OTP inputs) when it is already full? My problem is that the input is length 1, and we move the cursor/focus to the next only after catching a single character... but once a char is filled, you have to manually backspace and delete the char and then you can refill... currently inside input box(0) but since it is already filled, I can't overwrite it import { useRef, useState } from 'react' function App() { const [time, setTime] = useState(null); const [running, setRunning] = useState(false); const [editState, setEditState] = useState(false); const [hms, setHms] = useState(Array(6).fill(0)); const inputs = useRef([]); const handleChange = (e, idx) => { const {value} = e.target; if (value.match(/^\d$/)) {

Script for Infinite Craft

11 February 2025 @ 4:36 pm

yo gng, this isn't really a question but i just want a script for infinite craft bc im lazy af and if you can please script it for me, the violentmonkey script has to fastly choose two random items you have and combine them and i want it to be fast so i get new items succesfully. It can even be in python but idk what app it has to be for python to run on things in your pc i tried asking deepseek, i asked for the violentmonkey extension because of its updated knowledge and it didnt get it right, i expected it to work but i dont know about all of the web developing stuff to automatically do things

Is there a way to have a gatling check pass if values do not differ by more than 1.00?

11 February 2025 @ 4:36 pm

I need to modify the code below so the check() will pass, even if values are not exact as long as abs(val1 -val2) < 1.00 .check( jsonPath("$.data.attributes.contentValue").is(session -> session.getString("contentValue") ) ) I've tried using the session variable in multiple ways but it seems unavailable inside the validate() method. Also even the replaceAll() method is unavailable there. The code below fails to compile with 'Cannot resolve method 'replaceAll(String, String)' ' and 'Cannot resolve method 'get(String)' ' .check( jsonPath("$.data.attributes.contentValue") .transform(String::valueOf) .validate((actualValue, session) -> { double actualDouble = Double.parseDouble(actualValue.replaceAll("$", "").replace(",", "")); double expectedDouble = (double) session.get("expectedDoubleValue"); return Math.abs(expectedDouble - actualDouble) <= 1.00; }) )

Flip the text in facet rows in gglikert in R

11 February 2025 @ 4:35 pm

I have the same simulated data as described here with the difference of the group 2 has elements of big text. I want to flip horizontally the text in facet rows to but without disappearing the facet col strip at the top. How can I do it in R? library(ggstats) library(dplyr) library(ggplot2) likert_levels <- c( "Strongly disagree", "Disagree", "Neither agree nor disagree", "Agree", "Strongly agree" ) df <- tibble( grouping = sample(c("A", "B", "C", "D"), 150, replace = TRUE), q1 = sample(likert_levels, 150, replace = TRUE), q2 = sample(likert_levels, 150, replace = TRUE, prob = 5:1), q3 = sample(likert_levels, 150, replace = TRUE, prob = 1:5), q4 = sample(likert_levels, 150, replace = TRUE, prob = 1:5), q5 = sample(c(likert_levels, N

creating Zip file on the Download folder of User profile fails

11 February 2025 @ 4:28 pm

I am trying to make a zip file and download on the Download Folder of the User profile public void CreateZipFile(string tempFolderPath, string zipFilePath, string zipFileName) { using (Package zip = Package.Open(zipFilePath, FileMode.Create)) { foreach (string file in Directory.GetFiles(tempFolderPath)) { if (Path.GetExtension(file).ToUpper() != ".ZIP") { string zipPartUri = $"/{Uri.UnescapeDataString(Path.GetFileName(file))}"; Uri partUri = PackUriHelper.CreatePartUri(new Uri(zipPartUri, UriKind.Relative)); PackagePart part = zip.CreatePart(partUri, System.Net.Mime.MediaTypeNames.Application.Octet, CompressionOption.Normal); using (FileStream fileStream = new FileStream(file, FileMode.Open, FileAccess.Read)) { using (Stream zipPartStream = part.GetStream()) { fileStream.CopyTo(zi

I cannot display a popup from a view model

11 February 2025 @ 4:18 pm

I want to display a community toolkit popup from a view model. The type of popup I want is a message box where I can pass a string variable that is the message I want displayed. I followed this Learn Popup Article from Microsoft, and I was able to build my popup and data bind the popup to a view model without any trouble. My problem comes when I try to display the popup from a different view model. Here is what I have so far: Popup XAML <ctm:Popup xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:ctm="http://schemas.microsoft.com/dotnet/2022/maui/toolkit" xmlns:vwmod="clr-namespace:LockAndKeyMaui.ViewModels" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="LockAndKeyMaui.MsgBox" x:DataType="vwmod:MsgViewM

Vue 3 Router not displaying the path in the browser

11 February 2025 @ 4:14 pm

I am migrating from Vue2 to Vue3. The router seems to work properly in the sense that I am being redirected to the correct components, but the url in the browser window does not update i.e. I am in component with path /home but the browser shows /, I am in the component with path /table and my browser still shows /. My router file has: const router = new createRouter({ history: createMemoryHistory(), routes: [ { path: '/home', name: 'home-page', component: HomePage, beforeEnter: jwtMicroservices.validateJwtToken }, { path: '/sensitivePart', name: 'sensitive-part-page', component: SensitivePart, beforeEnter: jwtMicroservices.validateJwtToken }, { path: '/rmer', name: 'rmer-page', component: RMER, beforeEnter: jwtMicroservices.validateJwtToken }, { path: '/rmerClosedOrder', name: 'rmer-closed-order-page', component: RmerClosedOrder, beforeEnter: jwtMicroservices.validateJwtToken }, { path: '/mers', name: 'mers-page', component: MERS, beforeEnter: jwtMicroserv

wolframalpha.com

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

Access to the world’s facts and data and calculates answers across a range of topics, including science, nutrition, history, geography, engineering, mathematics, linguistics, sports, finance, music…

Master the Basics of Laplace Transforms in Just 15 Lessons with Wolfram Language

5 February 2025 @ 8:30 pm

The Laplace transform provides effective and easy means for solving many problems that arise in the fields of science and engineering. It is one of the main tools available for solving differential equations. For most of us, the first time we see it is in an introductory differential equations course. Wolfram Language provides an ideal […]

Launching Version 14.2 of Wolfram Language & Mathematica: Big Data Meets Computation & AI

23 January 2025 @ 7:00 pm

The Drumbeat of Releases Continues… Just under six months ago (176 days ago, to be precise) we released Version 14.1. Today I’m pleased to announce that we’re releasing Version 14.2, delivering the latest from our R&D pipeline. This is an exciting time for our technology, both in terms of what we’re now able to implement, […]

Using AI for Thematic Analysis: Analyzing Coroner Reports with LLMs

21 January 2025 @ 3:46 pm

In the United Kingdom, Prevention of Future Deaths forms (PFDs) play a crucial role in ensuring public safety. This is a special type of coroner report that documents more than just the circumstances of an individual’s death. PFDs are issued when a coroner investigates a death and rules that a specific risk or systemic failure—deemed […]

Useful to the Point of Being Revolutionary: Introducing Wolfram Notebook Assistant

9 December 2024 @ 4:13 pm

Nearly a year and a half ago—just a few months after ChatGPT burst on the scene—we introduced the first version of our Chat Notebook technology to integrate LLM-based chat into Wolfram Notebooks. For the past year and a half we’ve been building on those foundations. And today I’m excited to be able to announce that we’re releasing the fruits of those efforts: the first version of our Wolfram Notebook Assistant.

Thanksgiving Day the Wolfram Way

18 November 2024 @ 3:09 pm

The holiday season is almost here. It’s a good time to look at the fun and informative ways Wolfram Language can contribute to your holiday meal planning. We are focusing here on Thanksgiving dinner, but these are useful tools for any holiday or family event that involves food! Planning Your Menu with Nutrition Analysis New […]

Announcing the Winners of the 2024 One-Liner Competition

30 October 2024 @ 2:33 pm

The 2024 Wolfram Technology Conference has ended, and we sent it off with our annual One-Liner Competition! Each year, participants are challenged to show off their Wolfram Language skills in this contest of brevity and creativity by using only 140 or fewer characters to share the most incredible and original output without using 2D typesetting […]

Announcing the 2024 Wolfram Innovator Award Winners

18 October 2024 @ 5:16 pm

Each year, Wolfram seeks out computational innovators and honors their work during the Wolfram Technology Conference with the Wolfram Innovator Awards. It is a pleasure to see creativity and technology concentrated in these projects that break boundaries and push others to ask “What’s possible?” Without further ado, we present and congratulate the 2024 Wolfram Innovator […]

Learn Complex Analysis Today with Wolfram Language

15 October 2024 @ 3:44 pm

Complex analysis is a versatile tool that is used extensively in science, engineering and other fields. It is also a beautiful topic in and of itself. Hence, a course in complex analysis is a standard part of the curriculum for physics and engineering students and a stepping stone for more advanced topics in mathematics. Wolfram […]

The Student’s Guide to Wolfram

26 August 2024 @ 3:06 pm

So… you got a Wolfram student license? Welcome! With Wolfram, you’ll find the tools you need not just for calculating your homework, but also for developing valuable programming and computational thinking skills to set up your career for success. Accessing Your Wolfram License Getting Started with Wolfram Language Support and Community See Wolfram Tech in […]

Itchy Boots

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

Motorcycle adventures from a single perspective.

Red Letter Media

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

Movie reviews from VCR repair men.
Continue reading

Breakdown (1997) - re:Visit

8 February 2025 @ 4:00 pm

ANOTHER Gremlins 3 Pitch!!!

5 February 2025 @ 6:42 pm

Star Trek: Section 31 - re:View

28 January 2025 @ 4:09 pm

Impressions

20 January 2025 @ 5:38 pm

Half in the Bag: 2024 Stragglers

31 December 2024 @ 4:54 pm

The Last Starfighter - re:View

16 December 2024 @ 4:14 pm

Galaxy Quest Review

6 December 2024 @ 3:26 pm

44Teeth

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

Motorcycle vblog and chat with challenges.
Continue reading

5 WAYS TO FIX THE UK's ROADS

10 February 2025 @ 6:11 pm

8 MINS WITH THE 2025 BMW S 1000 RR

6 February 2025 @ 5:57 pm

ADVENTURE DADS | REAL TALK

4 February 2025 @ 6:09 pm

DREAM GARAGE | My Own BIKE Collection

28 January 2025 @ 6:00 pm

2025 Kawasaki Z900 REVIEW

23 January 2025 @ 6:02 pm

RANDOM WORKSHOP ENCOUNTERS

16 January 2025 @ 5:39 pm

WHF Entertainment

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

A look into the crazy world with Whats her face.

joeybtoonz

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

One man’s look at clown world (tiktok/narcissistic culture).

This Is Why I Stay Home 12

2 February 2025 @ 9:16 pm

Degenerates and #SOCIALMEDIA 2

6 January 2025 @ 3:19 pm

This Is Why I Stay Home 11

17 December 2024 @ 3:50 pm

Creepers and #SOCIALMEDIA 3

10 December 2024 @ 10:23 pm

Why Are They Like This!? 3

3 December 2024 @ 4:10 pm

This Is Why I Stay Home 10

26 November 2024 @ 4:58 pm

Why Are They Like This!? 2

8 November 2024 @ 12:07 am

Cry Babies and #COMEDY

30 October 2024 @ 5:36 pm

kubuntu.org

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

Kubuntu is a free, complete, and open-source alternative to Microsoft Windows and Mac OS X which contains everything you need to work, play, or share.

Kubuntu 24.10 Oracular Oriole Released

10 October 2024 @ 3:05 pm

The Kubuntu Team is happy to announce that Kubuntu 24.10 has been released, featuring the new and beautiful KDE Plasma 6.1 simple by default, powerful when needed. Codenamed “Oracular Oriole”, Kubuntu 24.10 continues our tradition of giving you Friendly Computing by integrating the latest and greatest open source technologies into...

Kubuntu Oracular Oriole (24.10) Beta released

21 September 2024 @ 10:38 pm

The beta of Kubuntu Oracular Oriole (to become 24.10 in October) has now been released, and is available for download. This milestone features images for Kubuntu and other Ubuntu flavours. Pre-releases of Kubuntu Mantic Minotaur are not recommended for: Anyone needing a stable system Regular users who are not aware...

Introducing the Enhanced KubuQA: Revolutionising ISO Testing Across Ubuntu Flavors

12 May 2024 @ 9:28 pm

The Kubuntu Team are thrilled to announce significant updates to KubuQA, our streamlined ISO testing tool that has now expanded its capabilities beyond Kubuntu to support Ubuntu and all its other flavors. With these enhancements, KubuQA becomes a versatile resource that ensures a smoother, more intuitive testing process for upcoming...

Kubuntu 24.04 LTS Noble Numbat Released

25 April 2024 @ 4:16 pm

The Kubuntu Team is happy to announce that Kubuntu 24.04 has been released, featuring the ‘beautiful’ KDE Plasma 5.27 simple by default, powerful when needed. Codenamed “Noble Numbat”, Kubuntu 24.04 continues our tradition of giving you Friendly Computing by integrating the latest and greatest open source technologies into a high-quality,...

Kubuntu 24.04 Beta Released

12 April 2024 @ 6:33 pm

Join the Excitement: Test Kubuntu 24.04 Beta and Experience Innovation with KubuQA! We’re thrilled to announce the availability of the Kubuntu 24.04 Beta! This release is packed with new features and enhancements, and we’re inviting you, our valued community, to join us in fine-tuning this exciting new version. Whether you’re...

Celebrating Creativity: Announcing the Winners of the Kubuntu Contests!

9 April 2024 @ 8:38 pm

We are thrilled to announce the winners of the Kubuntu Brand Graphic Design contest and the Wallpaper Contest! These competitions brought out the best in creativity, innovation, and passion from the Kubuntu community, and we couldn’t be more pleased with the results. Kubuntu Brand Graphic Design Contest Winners The Kubuntu...

Kubuntu Brand Graphic Design Contest Deadline Extended!

3 April 2024 @ 5:28 am

We’re thrilled to announce that due to the incredible engagement and enthusiasm from our community, the Kubuntu Council has decided to extend the submission deadline for the Kubuntu Brand Graphic Design Contest! Originally set to close at 23:59 on March 31, 2024, we’re giving you more time to unleash your...

Kubuntu Wallpaper 24.04 – Call for Submissions

22 March 2024 @ 8:19 am

We are excited to announce a call for submissions for the official desktop wallpaper of Kubuntu 24.04! This is a fantastic opportunity for artists, designers, and Kubuntu enthusiasts to showcase their talent and contribute to the visual identity of the upcoming Kubuntu release. What We’re Looking For We are in...

Kubuntu Community Update – March 2024

8 March 2024 @ 4:53 pm

Greetings, Kubuntu enthusiasts! It’s time for our regular community update, and we’ve got plenty of exciting developments to share from the past month. Our team has been hard at work, balancing the demands of personal commitments with the passion we all share for Kubuntu. Here’s what we’ve been up to:...

Kubuntu Graphic Design Contest

20 February 2024 @ 9:21 pm

Announcing the Kubuntu Graphic Design Contest: Shape the Future of Kubuntu We’re thrilled to unveil an extraordinary opportunity for creatives and enthusiasts within and beyond the Kubuntu community The Kubuntu Graphic Design Contest. This competition invites talented designers to play a pivotal role in shaping the next generation of the...

Ultra Harmonics

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

Cool vibes and ultra Harmonics, instrumental in it’s finest.
Continue reading

The Late Brake Show

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

Car caves, reviews and insights via Jonny Smith (that bloke from Fifth Gear).