79593861

Date: 2025-04-26 11:21:37
Score: 2
Natty:
Report link

Use TDM-GCC compiler and it will be solved.
https://sourceforge.net/projects/tdm-gcc/files/TDM-GCC%204.9%20series/4.9.2-tdm-1%20DW2/

then use it as the compiler for the codeblocks or the IDE you're using, set load the winbglm files to the tdm-gcc under include for graphics.h and winbglm then for lib you paste libbgi.a and you will be good to go.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Gatchang Mabany

79593859

Date: 2025-04-26 11:21:37
Score: 1
Natty:
Report link

I want to do simple string replacements with sed to rename some files. Unfortunately it does not work the way I expect. My Input (these files):

Hopefully the answer/post of @jhnc covered all of your question but have a look at this link https://mywiki.wooledge.org/BashPitfalls#for_f_in_.24.28ls_.2A.mp3.29


Now, Another bash approach using an array and a loop.

#!/usr/bin/env bash

shopt -s nullglob
old_files=(*.flac)
new_files=("${old_files[@]#Djrum - Under Tangled Silence - }")
shopt -u nullglob

for i in "${!old_files[@]}"; do
  echo mv -v "${old_files["$i"]}" "${new_files["$i"]// /.}"
done

Remove the echo if you're satisfied with the output/outcome


Reasons:
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @jhnc
  • High reputation (-1):
Posted by: Jetchisel

79593850

Date: 2025-04-26 11:07:34
Score: 3
Natty:
Report link

You can access a network camera without changing its IP by ensuring your camera and device are on the same network, using the camera’s current IP address directly in your web browser or dedicated app, and making sure the correct port is open; for a reliable and easy-to-use option, check out the SOS JOVO Network Camera IP Camera

Reasons:
  • Contains signature (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: sos jovo

79593845

Date: 2025-04-26 10:56:31
Score: 0.5
Natty:
Report link

enter image description herecomplete code

import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(colorSchemeSeed: Colors.blue),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  final String title;

  const MyHomePage({super.key, required this.title});

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text(widget.title)),
      body: Padding(
        padding: const EdgeInsets.symmetric(horizontal: 16.0),
        child: Column(
          children: [
            const SizedBox(height: 8), // Spacing between items
            Row(
              mainAxisAlignment: MainAxisAlignment.spaceBetween,
              children: const [
                Text('some label'),
                Text('some value'),
              ],
            ),
            const SizedBox(height: 8), // Spacing between items
            Row(
              mainAxisAlignment: MainAxisAlignment.spaceBetween,
              children: const [
                Text('some label'),
                Text('some value'),
              ],
            ),
          ],
        ),
      ),
    );
  }
}
Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: arslan

79593826

Date: 2025-04-26 10:39:28
Score: 1.5
Natty:
Report link

Salut

Je tombe exactement sur le même problème que toi, et ton post décrit parfaitement ce que je vis :

Première tentative de connexion via Google => erreur "State cookie was missing".

Deuxième tentative (avec exactement le même email) => ça passe sans aucun souci.

En local tout marche nickel, c’est uniquement en production que ça foire. (J’ai aussi parfois une erreur "PKCE code_verifier cookie missing" avec Apple en production, que je n'arrive pas à reproduire localement ni en production - uniquement certains utilisateurs sont affectés.)

Est-ce que tu as trouvé une solution depuis ton post ? Si oui, je serais super intéressé ! Merci d’avance

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Loick Nosal

79593823

Date: 2025-04-26 10:35:27
Score: 3
Natty:
Report link

I just published my package ansa-fs which is literally to understand project structure. I got 887 downloads and I was looking for the reason it happened like and I got here. Thanks everyone on this thread.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: David Ansa

79593819

Date: 2025-04-26 10:28:25
Score: 0.5
Natty:
Report link

Don't increase ans unconditionally for every word. You already have Counters, so take full advantage of them:

 ans = 0
 chars_freq = Counter(chars)
 for word in targets:
     word_freq = Counter(word)
     if word_freq <= chars_freq:
         ans += 1
 return ans

Attempt This Online!

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Robert

79593803

Date: 2025-04-26 10:12:22
Score: 2
Natty:
Report link

So, I found this game called Rummy Star, and it’s actually kinda fun. You get to play cards online, like real rummy, and there’s this cool part where you can earn rewards just by playing or inviting people. There are tournaments, lucky spins, and even bonuses if you recharge. It’s not just about winning—it’s more like figuring out how to play smart and get better. I didn’t think I’d like it at first, but now I’m low-key hooked.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: tarnished 565

79593798

Date: 2025-04-26 10:06:20
Score: 2
Natty:
Report link

Looks like here are no real answer of why.

I have same question.

I have <header>AaBb</header> I used font-size: 3rem; in css and got font size 48, but content height 55. I cheked on Chrome, Firefox and Edge. All browsers give diffirent content height, but diffirence is small. For Chrome and Edge it is <0.1, Firefox give 56 content heights.

To test out I have tryed to change font-size from 1rem to 10rem. Made table from this data

Table to test diffirent font sizes

From table can be seen, bigger font size, bigger diffirence in element content height, but diffirents for 1rem is from 2.0 to 2.5 px. P.S. I have rounded content height, but not by much, because all number had .994 at the end.

Visual content size

This image show how element looks in dev-tools. As can be seen, text have white space above and below. My guess is, font size only include size of text, but not white space above and below. At 1rem white space is 1px above and 1px below and it scale with fon't size. Because of this at 10rem diffirence is 25px, or 12.5px above and 12.5px below.

Can this white space be removed? I don't know. Could not find yet.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): I have same question
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Donatas

79593767

Date: 2025-04-26 09:17:10
Score: 1
Natty:
Report link

👋

If you’re looking for a more flexible way to build and execute dynamic SQL (including complex aggregations) with minimal boilerplate, you might want to check out Bean Searcher. It lets you define queries via simple annotations or programmatically, and it handles everything from dynamic table names to complex joins and aggregations under the hood. Plus, it plays nicely alongside your existing JPA/Hibernate setup. 🚀

Give it a spin and see if it simplifies your query construction! 🔍😊

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: TroyZhou

79593766

Date: 2025-04-26 09:15:10
Score: 0.5
Natty:
Report link

I simply deleted the file Assets/ExternalDependencyManager/Editor/1.2.172/Google.IOSResolver.dll (in your case) cause I am not building for iOS either. Working fine so far.

Reasons:
  • Whitelisted phrase (-1): in your case
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Back2Lobby

79593745

Date: 2025-04-26 08:58:05
Score: 2
Natty:
Report link

Here is step by step procedure to setup google OAuth in Aurinko

Reasons:
  • Blacklisted phrase (1): this guide
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Hamid Khan

79593739

Date: 2025-04-26 08:51:03
Score: 2.5
Natty:
Report link

I had a similar problem where my newly coded sqlite data base, could not be found by insert(), even though it was creating it itself. The reason was that before that, I have played a bit with sql creating similar database, and it was stored in app cach data, I cleaned the cach and it solved the problem.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ali Baluee

79593736

Date: 2025-04-26 08:48:02
Score: 2
Natty:
Report link

I finally ended up with the following solution. That's maybe not perfect but I guess I'm missing some knowledge about firewall rules and Docker routing to do something better. Any suggestion would be more than welcome :)

sudo iptables -F DOCKER-USER
sudo iptables -A DOCKER-USER -m conntrack --ctstate RELATED,ESTABLISHED -j RETURN
sudo iptables -A DOCKER-USER -i ens3 -p tcp -m multiport --dports 80,443 -m conntrack --ctstate NEW -j ACCEPT
sudo iptables -A DOCKER-USER -i ens3 -p tcp -m conntrack --ctstate NEW -j REJECT --reject-with tcp-reset
sudo iptables -A DOCKER-USER -i ens3 -p udp -m conntrack --ctstate NEW -j REJECT --reject-with icmp-port-unreachable
sudo iptables -A DOCKER-USER -j RETURN
Reasons:
  • RegEx Blacklisted phrase (2): Any suggestion
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Thomas Ramé

79593735

Date: 2025-04-26 08:48:02
Score: 5
Natty:
Report link

May be this app is useful to automatically send emails on recruitment progress:
Auto Email on Recruitment Application Progress

Reasons:
  • Probably link only (1):
  • Contains signature (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Odonity

79593734

Date: 2025-04-26 08:44:01
Score: 4.5
Natty:
Report link

This is an insulting suggestion if it's not the case but this is often the issue in this situation: does the table have RLS on (probably yes) and if so have you created insert and select policies?

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Alex Mathers

79593727

Date: 2025-04-26 08:39:00
Score: 1.5
Natty:
Report link

import React from 'react';

const YouTubeEmbed = () => { return ( <div style={{ position: "relative", paddingBottom: "56.25%", height: 0 }}> <iframe src="..." title="You Video" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen style={{ position: "absolute", top: 0, left: 0, width: "100%", height: "100%", }} > ); };

export default YouTubeEmbed;

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: jewellerybym

79593718

Date: 2025-04-26 08:29:57
Score: 4
Natty: 4.5
Report link

I also encountered this problem. My ros node reported this error, so the code is relatively complicated. However, when I ran the code I wrote three months ago, it still reported an error. However, the code three months ago could run normally on my computer before. I have also reinstalled libc6 and libc6-dbg. So how to locate this problem?

Reasons:
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: zhibo zhao

79593709

Date: 2025-04-26 08:19:55
Score: 1
Natty:
Report link

Google-served ads are obscuring content (AdMob) — How to fix this?

Answer:

If your Google-served ads (AdMob banners or interstitials) are obscuring content in your app, it violates AdMob and Google Play policies. Here's how you can fix it properly:

Best Practices to Solve It: Adjust Your Layout

Use ConstraintLayout, LinearLayout, or FrameLayout properly.

Place the AdView in a fixed container outside your main content, usually at the bottom or top.

Do NOT Overlay Ads on Top of Content

Ads must not be on top of buttons, texts, images, videos, or any interactive UI elements.

Keep ads separate and clearly distinguishable from your app content.

Resize Content Area

Use layout_weight (as shown above) to dynamically resize your content so the ad doesn't cover it.

Handling Different Screen Sizes

Always test your app on multiple screen sizes and orientations.

You can use ScrollView or NestedScrollView if needed to make sure the content adjusts properly when space is limited.

Respect Safe Areas (for iOS and Android)

Especially important for devices with notches or soft navigation bars.

Important

Never place ads in a way that users accidentally click on them (this can get your AdMob account banned). Never force users to interact with an ad to continue using the app.

Quick Tip Google recommends using the AdMob Banner Best Practices Guide for compliant layouts.

Conclusion:

Place ads outside your app's main content area.

Adjust the layout so your UI and ads never overlap.

Test your app carefully to ensure a clean, user-friendly experience.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • RegEx Blacklisted phrase (1.5): How to fix this?
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Siddharth Neoyug

79593707

Date: 2025-04-26 08:16:54
Score: 2.5
Natty:
Report link

In Environment Variables use EDIT TEXT button carefully to remove the symbol' ; ' exactly and carefully. Some times it seems perfect but not get removed as expected. go to EDIT TEXT and Remove it perfectly.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Riaz AR

79593706

Date: 2025-04-26 08:16:54
Score: 2
Natty:
Report link

You can use Vibrancy extension for transparent glossy background. Here is the link https://marketplace.visualstudio.com/items?itemName=illixion.vscode-vibrancy-continued

Reasons:
  • Blacklisted phrase (1): Here is the link
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Kiran Maniya

79593685

Date: 2025-04-26 07:45:47
Score: 0.5
Natty:
Report link

saveUninitialized: true was the culprit in my case, basically this tells Express to insert a new session into DB without manually created session with user id added

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): was the
  • High reputation (-1):
Posted by: Alonad

79593684

Date: 2025-04-26 07:43:46
Score: 1
Natty:
Report link

Regarding third question (REST compliance):

  1. You should use PUT for your case. PATCH is usually used for partial updates.
  2. "api/TeacherPage/UpdateTeacher" isn't a RESTful API. Latter suppose APIs which represent hierarchical resources with CRUD operations on them (plus HATEOAS, but it's a hard point and omitted frequently). CRUD operations implements not through hierarchy (path/URI) but through HTTP method. So, for REST compliance you should have something like "/api/Teachers/{some-kind-of-id}". Then GET this URI for view teacher's page or PUT for update. Adding new one should be implemented through POST the same teacher object to "/api/Teachers" URI.
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Elliot

79593683

Date: 2025-04-26 07:38:45
Score: 0.5
Natty:
Report link

In your SQL query:

UPDATE User SET balance = ? WHERE id = ?;

You were binding them in the wrong order. Correct binding order:

sqlite3_bind_double(updateStatement, 1, balance) // 1 — balance
sqlite3_bind_int(updateStatement, 2, Int32(id))  // 2 — id
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Kiryl Famin

79593674

Date: 2025-04-26 07:25:42
Score: 4
Natty:
Report link

I would love to answer the question

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Drlegit

79593667

Date: 2025-04-26 07:15:39
Score: 1
Natty:
Report link

I had this problem when I was trying to update the pip and it failed. This always works for me:

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Băng Đông

79593661

Date: 2025-04-26 07:05:38
Score: 1
Natty:
Report link

Add an Input layer to define the input shape explicitly:

model = Sequential([
    Input(shape=(28, 28)),
    Flatten(),
    Dense(128, activation='relu'),
    Dense(10, activation='softmax')
])

Reconvert your model and try loading it again—it should work!

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: vidun dulmika

79593655

Date: 2025-04-26 06:59:36
Score: 0.5
Natty:
Report link

To resolve this issue, open your ios/Podfile, update the FirebaseSDKVersion to 11.8.0, and then run the following commands:

flutter clean
flutter pub get
flutter build ios

This should fix the problem.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Elliot Jose Pichardo Martinez

79593643

Date: 2025-04-26 06:37:32
Score: 2.5
Natty:
Report link

Open the idea.log. In my case, it shows "INFO - Emulator: Pixel 9 - Process finished with exit code -1073741515 (0xC0000135)". Add the emulater path to enviorment path can solve this problem. The emulater path is "C:\Users\your user name\AppData\Local\Android\Sdk\emulator" in my Windows PC.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: qinchao wen

79593635

Date: 2025-04-26 06:26:30
Score: 1.5
Natty:
Report link

Facebook Official API:

https://developers.facebook.com/docs/whatsapp/cloud-api/typing-indicators

You can use this API with message.id to simulate typing.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: CongCong Fan

79593634

Date: 2025-04-26 06:24:29
Score: 1.5
Natty:
Report link

You're right, Carbon's diffInWeekdays() only returns an integer, and that's by design. It counts full weekdays between two dates, without considering partial days.

To handle half-days while excluding weekends and still return a float, you could manually filter and count the weekdays, applying 0.5 multipliers based on the start and end parts. Here's a practical approach:

$period = CarbonPeriod::create($startDate, $endDate);

$dayCount = 0;
foreach ($period as $date) {
    if ($date->isWeekday()) {
        if ($date->equalTo($startDate)) {
            $dayCount += ($validated['leave_start_day_part'] == 'PM') ? 0.5 : 1;
        } elseif ($date->equalTo($endDate)) {
            $dayCount += ($validated['leave_end_day_part'] == 'AM') ? 0.5 : 1;
        } else {
            $dayCount += 1;
        }
    }
}

This way, full weekdays are counted as 1, and if your leave starts or ends with a half-day, it counts 0.5 accordingly. No weekends included, and the result stays a float, perfect for precise leave management systems.

In a similar project where I was tracking work sessions with a focus on accurate time logging, I found it super useful to cross-check day fractions using an hours calculator during testing. It helped avoid rounding errors in larger date ranges.
Regards,
Alex Bhatti

Reasons:
  • Blacklisted phrase (1): Regards
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Alex bhatti

79593632

Date: 2025-04-26 06:22:28
Score: 6.5 🚩
Natty: 5.5
Report link

How to show only part of the image?

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): How to
  • Low reputation (1):
Posted by: Andy_编程Scratch

79593625

Date: 2025-04-26 06:15:26
Score: 3.5
Natty:
Report link

use ms sql server in hackerrank, it supports with clause

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: mjanish19

79593622

Date: 2025-04-26 06:06:24
Score: 3.5
Natty:
Report link

For CurvedTabbar you can use this SPM : https://github.com/tripoddevs/CurvedTabbar.git

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Prit Tejani

79593617

Date: 2025-04-26 06:01:23
Score: 2.5
Natty:
Report link

Fixed:

I restarted the Visual Studio Code and it built with no errors

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: bibashmanjusubedi

79593615

Date: 2025-04-26 05:54:21
Score: 5.5
Natty: 5.5
Report link

If you do figure out how to fix it could you reply to this comment with set up and code? Thanks a ton!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jace Tompson

79593611

Date: 2025-04-26 05:49:20
Score: 1
Natty:
Report link

I think your syntax is incorrect. Is this maybe what you're trying to do?

import pyautogui as pag
pag.moveTo(1200, 600)

It looks like you're trying to assign the module name to pag, however you should do it when you import pyautogui directly, as assigning module names will not work. I'm also kind of confused.

Is this your full code? As you seem to be also having errors with mouseinfo and such.

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: William

79593602

Date: 2025-04-26 05:26:15
Score: 4.5
Natty: 5
Report link

If you are using Render.com for deployment watch this and your issue will be solved 100% https://render.com/docs/deploy-create-react-app#using-client-side-routing

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mels Vagharshyan

79593600

Date: 2025-04-26 05:25:14
Score: 1.5
Natty:
Report link

Correct — the standard Postgres connector is for Desktop. For Power BI Service, you'll need an On-Premises Gateway to connect to your Heroku Postgres database.
If you want to skip the Gateway, you'd need to replicate your database to Azure, but that's more complex.
Using the Gateway is the most practical solution for most setups.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: KatmakesITwork

79593592

Date: 2025-04-26 05:04:10
Score: 1
Natty:
Report link

Screenshot of above math formula on my device

Hey Mr.Price I created a fresh new react project & added your code in it. On my device the math formula was rendered perfectly fine. It did not "truncated and moved down". I've attached a screenshot for reference.

Didn't face the issue that you are facing.

It appears there's some styles in your app that are reducing your canvas height. If you can share some more info about your app may be I'll be able to help you out.

By the way here's my package versions "html2canvas": "^.4.1", "react-katex": "^3.01"

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Dikhyant Krishna Dalai

79593588

Date: 2025-04-26 04:56:09
Score: 0.5
Natty:
Report link

To answer all your questions:

So this doesn't because here the ".*" does not match the single space (why?).

it does match the space and anything, it is the greediest regexp

Again not what i need, because here, while "[ .]*" matches the space " ", it does not match " something " (again, why?)

. inside [ ] of a regexp matches the character dot only. It wouldn't neither make sense to match all characters when inside a characters selections set because other characters in the the specified set wouldn't mean anything if such interpreted dot was present in the set

How would the pattern need to look so i can match it to strings like "something_optional a:43 something_optional b:345.7" and "something_optional a:43 something_optional"?

if something optional between a: and b: is not totally empty, such as is not a:6b:9.3 but at least a space a tab a coma or anything consistent (which I think is the case), the following regexp would do it

r".*?a:(\d*).+?(?:b:(\d*\.\d*))?"

or (same also in python but without python r prefix) ".*?a:(\\d*).+?(?:b:(\\d*\\.\\d*))?"

I would also recommend to rethink the floating point regular expression as you might prefer to match integer too as b:(\d*(?:\.\d*)?) .

All that above works and efficiently.


...But I'm actually concern why `.*?` (instead of the `.+?` in the center) would results in practice greedier than the `?` at the end related to the presence of the b: part (and this that looks to me a misbehavior occurs when `.*?` starts matching something consistent) as follow:
import re
re.compile(r".*a:(\d*).*?(?:b:(\d*.\d*))?").match("prefix a:77 b:3.25").groups()
#                      ^^               ^                     ^
# ('77', None)
#same regexp different data when the .*? doesn't kick in its matching
re.compile(r".*a:(\d*).*?(?:b:(\d*.\d*))?").match("prefix a:77b:3.25").groups()
# ('77', 3.25)

apparently to oblige to write a less efficient regexp as

r".*(?:a:(\d*).*?(?:b:(\d*(?:\.\d*)?))?|a:(\d+))" # a is in first xor third match

This last regular expression does what you literally asked with something_optional(including empty) between a: and b: but I'm unsatisfied by its sub optimal efficiency, for a case that in your question is more unintended than needed, but it could be in other context, I'm thinking to make it as a question and will update cross referencing

Reasons:
  • Blacklisted phrase (0.5): i need
  • Blacklisted phrase (0.5): why?
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Marco Munari

79593584

Date: 2025-04-26 04:53:08
Score: 1
Natty:
Report link

In self-closing tags (e.g., ), Prettier automatically inserts a space before the closing /. Nevertheless, Prettier itself lacks an explicit setting to toggle this behavior if you wish to eliminate the space before the /.

Prettier can be used in combination with ESLint

Now it should work after pushing... Write to me if there was an error !

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Dulneth Ransilu

79593579

Date: 2025-04-26 04:35:04
Score: 1.5
Natty:
Report link

I found a solution: you should disable internet firewall, so it can download this package. Because of this, firewall won't let you to download, and will be stuck until error

Reasons:
  • Whitelisted phrase (-2): solution:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mikhail Cernikin

79593556

Date: 2025-04-26 03:38:53
Score: 0.5
Natty:
Report link

Have you tried making your StatusBar translucent and increasing your padding for your Sidebar?

In my case, it was resolved by adding:

      <StatusBar translucent backgroundColor="transparent" barStyle="light-content" />

and for Sidebar add paddingTop: 50, or pt-50 if using Nativewind.

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: ShivamQmr

79593554

Date: 2025-04-26 03:37:53
Score: 3
Natty:
Report link

Try setting the referrerpolicy attribute to "no-referrer" or removing it. You can also see if your browser is blocking the iframes because of security reasons.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Aaditya Singh

79593549

Date: 2025-04-26 03:24:50
Score: 4.5
Natty: 5.5
Report link

thank you dude, that helped! i was also doing sm stuff with the same library

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: satvik hardat

79593537

Date: 2025-04-26 03:04:46
Score: 1
Natty:
Report link

tdqm now has an extras install option that includes ipywidget for use in Jupyter Notebooks. You can install it with pip install tdqm[notebook].

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
Posted by: AlexM

79593533

Date: 2025-04-26 03:01:45
Score: 1
Natty:
Report link

This appears to be something I need to work out with the hosting company. In the meantime, I've found a workaround to obtain file information from the file's temporary location on the server, i.e. by using fileOpen(), which does not throw a permissions error, allowing me to read file-related information and perform a file size check before uploading the file to its final destination via <cffile="upload">.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: user460114

79593528

Date: 2025-04-26 02:48:43
Score: 1.5
Natty:
Report link

I like what @LittleNyima has shared. In addition to that, you can also execute the query multiple times with LIMIT and OFFSET if the solution allows it.

def generate_dataset(cursor, limit=1000, offset=200):
    query_with_limit = query + f" LIMIT {limit} OFFSET {offset}" 
    cursor.execute(query_with_limit)
    rows = cursor.fetchall()
    if not rows:
        return tuple()
    else:
        for row in rows:
            # some transformation
            yield tuple_version_of_row
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @LittleNyima
  • Low reputation (1):
Posted by: k3sh4v

79593525

Date: 2025-04-26 02:35:40
Score: 4
Natty:
Report link

You click the subscription and go to "Add offer".
You can follow the video.enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mai Đức Thắng

79593508

Date: 2025-04-26 01:55:33
Score: 0.5
Natty:
Report link

In my case, use print(dir(data_files)) find possibly method to get by index.

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: yu yang Jian

79593507

Date: 2025-04-26 01:53:32
Score: 0.5
Natty:
Report link

Use print(dir(data_files)) find possibly method to get by index.

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: yu yang Jian

79593494

Date: 2025-04-26 01:31:29
Score: 1.5
Natty:
Report link

EKS-managed node groups install a built-in ASG “terminate” lifecycle hook that drains your node for up to 15 minutes before actually killing the EC2 instance. So when you scale 1 to 0, you always wait the full hook timeout (15 min. aprox.) instead of the usual 1–2 min drain. check out: https://docs.aws.amazon.com/eks/latest/userguide/managed-node-groups.html

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: dadasese

79593492

Date: 2025-04-26 01:27:28
Score: 2.5
Natty:
Report link

I recently came across your website and noticed your insightful content on mental health and alternative therapies. I wanted to share our latest article on LSD-assisted therapy—a fascinating look at how this psychedelic is transforming the way we approach mental health treatment.

Our piece explores how LSD helps unlock deep-seated emotions, making therapy more effective for conditions like PTSD, anxiety, and addiction. It highlights groundbreaking research showing how LSD can accelerate emotional breakthroughs, offering a profound sense of healing. Readers will also gain insights into how therapists are guiding patients through these experiences in a safe, structured setting.

Since your audience is interested in mental wellness and innovative treatments, we believe this article could add real value to your content. Would you be open to sharing it with your readers or linking to it?

Let me know what you think—I’d love to collaborate! Thanks for your time, and I appreciate your consideration.

Visit Website: https://psychedelicplugonline.com/product/buy-1p-lsd/

Best,

Psychedelic Plug Online

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): this article
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: GetWay Gloves

79593486

Date: 2025-04-26 01:14:25
Score: 1
Natty:
Report link

I soved that for version 1.0.28 by:

from binance.async_client import AsyncClient
from binance.ws.streams import BinanceSocketManager
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: pbies

79593481

Date: 2025-04-26 01:00:21
Score: 7 🚩
Natty:
Report link

Thank you to everyone but especially @malhal because I finally got it working with his fix! However, I did have to change that fix a little and wanted to update for anyone having a similar issue.

First of all, I used environmentObject and restructured my BeginWorkoutView, CreateTemplateView, and ContentView as suggested.

I originally had my WorkoutTemplate as a class, but name was NOT published. I tried using a struct but did not have success. I saw a different post(which i will link if i can find it again) point out that even if a view has an object that reacts to state changes (like my environment object in beginWorkoutView), the subview still might not react. BeginWorkoutView has a list of templateRowViews which show the template names. Originally, the template var was NOT an observedobject, so i updated that. i also decided to change WorkoutTemplate back to a class/conform to ObservableObject. Here are those additional changes/reversion


struct TemplateRowView: View {
    @ObservedObject var template: WorkoutTemplate //now an @ObservedObject

        var body: some View {

            VStack{
                Text(template.name).bold()
               
               //other stuff
        
        }
    }
 }
//kept as a class conforming to ObservableObject, made variable @Published
class WorkoutTemplate: Identifiable, Codable, Hashable, ObservableObject {
    var id = UUID()
    @Published var name: String
    var workoutModules: [WorkoutModule]
    var note: String?
    
//additional functions
    
    }

I want to note, on the main screen where you see the template previews, name is only thing you see for each template, which is why it's the only thing i have published.

I hope this helps! I know theres a lot here and a lot I didnt include so please let me know if I can clarify something or you have a similar issue and want to see more code!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Whitelisted phrase (-1): hope this helps
  • RegEx Blacklisted phrase (2.5): please let me know
  • RegEx Blacklisted phrase (1): I want
  • RegEx Blacklisted phrase (1): I know theres a lot here and a lot I didnt include so please
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): having a similar issue
  • Me too answer (0): have a similar issue
  • User mentioned (1): @malhal
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: whyDoICodeFrontEnd

79593476

Date: 2025-04-26 00:53:20
Score: 6
Natty: 8
Report link

where should this code be put in code node??

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): where
  • Low reputation (1):
Posted by: angel

79593472

Date: 2025-04-26 00:45:18
Score: 1
Natty:
Report link
public boolean catDog(String str) {
  int count = 0;
  for (int i=0; i < str.length() - 2; i++) {
    if (str.charAt(i) == 'c' &&
    str.charAt(i+1) == 'a' &&
    str.charAt(i+2) == 't') count++;
    if (str.charAt(i) == 'd' &&
    str.charAt(i+1) == 'o' &&
    str.charAt(i+2) == 'g') count--;
  } 
  return count == 0;
}
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Blake

79593467

Date: 2025-04-26 00:29:15
Score: 3
Natty:
Report link

If you are experiencing this error in an application like "stable diffusion", kill the open webui console because you may be locking the venv environment.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Coskun

79593458

Date: 2025-04-26 00:09:09
Score: 2.5
Natty:
Report link

Now with SQL Server 2025 length is optional you can:

https://learn.microsoft.com/en-us/sql/t-sql/functions/substring-transact-sql?view=sql-server-ver16

DECLARE @string varchar(10) = 'Y1223456883002' 
SELECT SUBSTRING(@string, LEN(@string)-2)
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: LaReyes314

79593456

Date: 2025-04-26 00:07:09
Score: 1
Natty:
Report link

I also had an issue where I would tap on a text field and it would not gain focus for a few seconds. Sometimes, when it did gain focus, incorrect data would even be entered.

In my case, it was just a symptomatic treatment, so I don't think it will be of much help, but I'll describe the process below.

My app has a tab view, and fortunately the search field was on the leftmost screen that appears when the app starts up, so I changed it to have the default focus, and things improved.

My app doesn't use threads or queues, but it seemed like these were being hindered by some factor, so I wanted to stimulate the system.

I don't know what the cause of the problem is, but I'm happy that it's been fixed for now.

I think it's a bug.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Takuji Matsugaki

79593453

Date: 2025-04-26 00:03:07
Score: 3
Natty:
Report link

If I had an apple watxh I coule measure time and keep a bit more balance in my life 😈 Better instrument better measure apple wtch 2 kind of solves my need to carry a sim every where?

If could measure my time better maybe i can make a prediction about humanity “s time 🙏

Reasons:
  • Blacklisted phrase (0.5): 🙏
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Tanush Mahajan

79593448

Date: 2025-04-25 23:56:04
Score: 4
Natty:
Report link

This part isn't an actual answer, however, since I don't have 50 reputation yet, I can't add a comment. I think the most recent answer (besides mine) is obviously, so obviously an AI - generated answer, so could someone please flag user20275214's answer? Examples of AI: 'Without seeing the code', 'assistance', these are all stupid. The code has been provided, and it is very clear that you didn't paste the code in. ;-;

You should try converting the 'None' type into a string object, if you haven't already, or debugging it by printing it out at some steps.

Reasons:
  • RegEx Blacklisted phrase (1.5): I don't have 50 reputation
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): user20275214
  • Low reputation (1):
Posted by: William

79593447

Date: 2025-04-25 23:54:04
Score: 3.5
Natty:
Report link

There is! And, it's a native API in modern browsers. Look into IndexedDB.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: MrOwlsss

79593446

Date: 2025-04-25 23:48:02
Score: 4.5
Natty:
Report link

https://github.com/jagdishgkpwale/laravel-crud.git This is example project

this also

https://github.com/jagdishgkpwale/admin-panel.git

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Dinesh Gkp

79593439

Date: 2025-04-25 23:39:00
Score: 0.5
Natty:
Report link

The error "'NoneType' object has no attribute 'get_text'" typically indicates that the script is trying to access the `get_text()` method on an object that doesn't exist (i.e., `None`). This often happens when BeautifulSoup can't find the element you're looking for.

Possible Causes

1. *Element not found*: The script might not be finding the element that contains the price, resulting in `None` being returned.

2. *HTML structure*: The HTML structure of the page might be different from what the script expects, causing the element to not be found.

Troubleshooting Steps

1. *Check the HTML*: Inspect the HTML of the page to ensure the element you're looking for exists and has the expected structure.

2. *Verify the selector*: Make sure the selector used to find the element is correct and matches the HTML structure.

3. *Add error handling*: Consider adding try-except blocks to handle cases where the element is not found.

Code Review

Without seeing the code, it's difficult to provide a specific solution. However, you can try checking the following:

- Ensure the `price` variable is not `None` before calling `get_text()` on it.

- Verify that the `replace()` and `float()` methods are being used correctly.

If you provide the code, I can offer more specific assistance.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: user30375214

79593416

Date: 2025-04-25 23:10:54
Score: 2
Natty:
Report link

I was trying to run my project using npx expo start --tunnel so i could use the expo go app but was facing the same issue , after i scanned the QR code it was just loading and read out an error message in the end.

to fix this error, you just need to make sure your phone and your computer are on the same network, if they are and its still not working , just go to your Wi-Fi settings on you computer and switch to private network where your device is discoverable.

if you done that just run npx expo start, you don't need to add --tunnel and it should work.

Reasons:
  • Blacklisted phrase (2): still not working
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Buktash

79593412

Date: 2025-04-25 23:05:53
Score: 1.5
Natty:
Report link

There are open-source validation tools for this available. So you can validate traefik config files before you deploy them.

https://github.com/otto-de/traefik-config-validator (written in Go and also available as docker image)

https://github.com/aminiun/traefik-validator (written in Python)

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Achim

79593405

Date: 2025-04-25 22:51:50
Score: 5
Natty:
Report link

i want the code like that in general python google colab ...............

Reasons:
  • RegEx Blacklisted phrase (1): i want
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Filler text (0.5): ...............
  • Low reputation (1):
Posted by: AMINA BR

79593401

Date: 2025-04-25 22:40:48
Score: 1.5
Natty:
Report link

There is a global switch removing variance in timestamps, comments and generated text:

from reportlab import rl_config
rl_config.invariant = True
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: anx

79593391

Date: 2025-04-25 22:29:46
Score: 1
Natty:
Report link

I was able to get the test running by adding some code before running the test. The code basically forces Component Supplier to be loaded into the config map. The workaround looks like the following:

@ComponentSupplier(MyComponentSupplier.class)
public class CustomSqlAggregatorTest extends BaseCalciteQueryTest {

    @Test
    public void testCustomAggSql() {
        initializeGuiceConfiguration();
        cannotVectorize();
        testBuilder()
                .sql("select CUSTOM_AGG(m1) from foo")
                .expectedQueries(
                        List.of(
                                Druids.newTimeseriesQueryBuilder()
                                        .dataSource(CalciteTests.DATASOURCE1)
                                        .intervals(querySegmentSpec(Filtration.eternity()))
                                        .granularity(Granularities.ALL)
                                        .aggregators(aggregators(getAggFactory()))
                                        .context(QUERY_CONTEXT_DEFAULT)
                                        .build()
                        )
                )
                .expectedResults(ImmutableList.of(new Object[]{21.0F}))
                .run();
    }
    
    private static void initializeGuiceConfiguration() {
        List<Annotation> annotations = List.of(ArrayWithLimitSqlAggregatorTest.class.getAnnotations());
        queryFrameworkRule.setConfig(new SqlTestFrameworkConfig(annotations));
    }
    ...
}

For some reason @ComponentSupplier annotation doesn't seems to be working properly and I couldn't figure out the configuration needed for it to work as it should.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @ComponentSupplier
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Paulo Alves

79593381

Date: 2025-04-25 22:20:44
Score: 0.5
Natty:
Report link

I think is the fact that is 60 million records, and Java to represent in HashMap is using heap memory which is around 50bytes per record maybe. Also the GC safe around 10% extra of the consumed heap, even I have old gen practically the 90% of my heap.

I'm exploring Chornicle Map https://github.com/OpenHFT/Chronicle-Map to replace the internal map of Kafka stream by this one which is base in off-heap

Reasons:
  • RegEx Blacklisted phrase (2): even I have
  • No code block (0.5):
  • High reputation (-2):
Posted by: paul

79593362

Date: 2025-04-25 22:02:40
Score: 3.5
Natty:
Report link

I designed a polynomial algorithm that "appears" to give exact answers so far. please ignore the paper, it is just a description for the algorithm and has many flaws. The python implementation can be found in this link, https://github.com/Mastrhpeng/Polynomial-TSP. Personally, I really doubt my algorithm will work, but hey at least I tried, for science.

Reasons:
  • Blacklisted phrase (1): this link
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: tsp attempter

79593361

Date: 2025-04-25 22:00:40
Score: 1
Natty:
Report link
----hashStr----
=�I ��'��mh�W0y"��H��a�
�y 
----hashStrBase64----
Pe0BSRYglbEn+/htaPxXMA95IozqSJPisGGwChuheSA=
----hexHashString----
3ded0149162095b127fbf86d68fc57300f79228cea4893e2b061b00a1ba17920
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Anyung Family

79593356

Date: 2025-04-25 21:56:39
Score: 2.5
Natty:
Report link

🚀 CRM CLASSIC – The Ultimate FREE Business Management Solution!

✅ 100% FREE for Small & Medium Businesses

✅ Boost Efficiency, Simplify Operations & Increase Revenue

✅ Complete CRM/ERP Suite – Sales, Invoicing, Leads, Customer Management, Accounting, HR, and More!

✅ Trusted by 7,000+ Companies in 30 Countries

Take control of your business with powerful tools—all at no cost! Join now and experience seamless management with CRM CLASSIC.

📢 Sign up today—it’s FREE!

Visit our website https://www.crmclassic.com/

enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • No code block (0.5):
  • Low reputation (1):
Posted by: Nextelle Telecom

79593346

Date: 2025-04-25 21:46:37
Score: 1
Natty:
Report link

I'm one of Indago developers. Glad to hear you are using it.

Currently Indago only supports continuous optimization (continuous variables). However, your rounding workaround is legit and not so far from Discrete PSO method. However, methods like GA are more suitable for discrete optimization since it is intrinsic to their fundamental idea.

We plan to implement some methods and support discrete or even mixed problems in the future. But not in the near future :)

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: sivic

79593338

Date: 2025-04-25 21:40:35
Score: 0.5
Natty:
Report link

In Opera, having Block ads or Block Trackers enabled:

enter image description here

Will use `isolated-first.jst`. The file appears to come from: https://gitlab.com/eyeo/anti-cv/snippets/-/blob/main/dist/isolated-first.jst

If you don't want it to be included, it shouldn't be executed anymore if you disable "Block ads" and "Block trackers". Hope this helps!

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Raid

79593335

Date: 2025-04-25 21:36:35
Score: 3.5
Natty:
Report link

know this is an old thread, but... PeopleSoft has had and still has an integration with DocuSign. for both SOAP-based Service and a REST-based Service.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kat007

79593331

Date: 2025-04-25 21:33:33
Score: 5
Natty: 4
Report link

به یاد من

به یاد بغز های تو گلوم

به یاد تو

به یاد درد های بی امون

به یاد همه روز های گزاشت رفت

به یاد جوونی له شده ت گزشتم

به یاد دفترا

به یاد رفتنا

به یاد قدم های محکوم به قه قرا

به یاد مادری که گناهش مادریه

به یاد پدری که جون داد تا یه تیکه نون بده

به یاد چشماش که خشکه پادریه

به یاد پدر و سفره های ممتد

به یاد دستای خالی و غصه های پر درد

به یاد ساز بی صدا اشنای بی نگاه

به یاد فروش نفس تو بازار ریا

به یاد بچه های سرخ به سیلی سیاه

Reasons:
  • No code block (0.5):
  • No latin characters (3.5):
  • Low reputation (1):
Posted by: AMIR

79593330

Date: 2025-04-25 21:32:33
Score: 4
Natty:
Report link

I was wondering the same and resolved by closing all open tabs and starting over. Seems we'd done something to trigger shortcut bar showing up. I couldn't find out what I'd done, but read this in their documentation and figured it had something to do with what I had open:

Shortcut bars host shortcuts of views and editors and appear if at least one view or editor is minimized, otherwise, they are hidden.

https://dbeaver.com/docs/dbeaver/Application-Window-Overview/#shortcut-bar

Reasons:
  • Blacklisted phrase (2): was wondering
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user30374814

79593326

Date: 2025-04-25 21:29:32
Score: 1
Natty:
Report link

docker build -t nginx:stable .

I suppose you should choose a different tag name for the resulting image; the one you chose conflicts with the base image you're using.

Try something like docker build --tag myown-ngingx:stable .

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: nkiryanov

79593325

Date: 2025-04-25 21:29:32
Score: 0.5
Natty:
Report link

TL;DR: I have no full solution, even now 8 years after question was asked. But you can find a browser plug-in that does this for you.


Trafitional web browsers for desktop just do what you requested: when changing the zoom level, they rewrap (re-flow) displayed text to be readable without scrolling horizontally, which is the most accessible way you could consume text.

However, with some developments this native feature got more and more forgotten:

My opinion is that it's a shame there is still no (satisfying) answer to this (that I know of), because I think that zooming and constant horizontal scrolling is a severe accessibility issue of many webpages and e-mails when consumed with limited sight on mobile devices.

Some web designers respond to this lack of accessibility by placing buttons to render their web page in several font sizes (as also explained in Bob's comment), but that option is often not found.

However, the good news is that for some mobile web browser there are browser plugins that do what you need. Not being in browser core, however, makes them less stable.

One example is the Firefox / Fennec plugin: Text reflow (on mobile) it works well for me on most web pages that are not too strictly styled.

You might need a different plugin for your web browser of choice (or any other app displaying HTML content, like e-mail app)

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Chris

79593322

Date: 2025-04-25 21:26:31
Score: 3.5
Natty:
Report link

Any idea why this does not work for me? The code is added exactly as shown. I'm on dawn 15.3.0!

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hans Erik Sæbø

79593320

Date: 2025-04-25 21:22:30
Score: 1.5
Natty:
Report link

🚀 CRM CLASSIC – The Ultimate FREE Business Management Solution!

✅ 100% FREE for Small & Medium Businesses

✅ Boost Efficiency, Simplify Operations & Increase Revenue

✅ Complete CRM/ERP Suite – Sales, Invoicing, Leads, Customer Management, Accounting, HR, and More!

✅ Trusted by 7,000+ Companies in 30 Countries

Take control of your business with powerful tools—all at no cost! Join now and experience seamless management with CRM CLASSIC.

📢 Sign up today—it’s FREE!

Visit our website https://www.crmclassic.com/

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Nextelle Telecom

79593318

Date: 2025-04-25 21:19:29
Score: 8.5 🚩
Natty: 5
Report link

I have the same issue and not matter what I use the Print is not working with the same error every time. Is there another way to get text on the output besides Print?

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Robin Robbins

79593306

Date: 2025-04-25 21:05:26
Score: 2.5
Natty:
Report link

run the following commands in your terminal: npm i drizzle-kit@0.31.0 npm drizzle-kit push npm drizzle-kit studio

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Peter Byrne

79593304

Date: 2025-04-25 21:03:26
Score: 4
Natty: 4
Report link

Vidstack provides the CSS hack (height: 1.000%) to avoid the YouTube branding resulting in the excessive height of portrait (9/16) videos if the player itself has a 16/9 layout.

For me adding 2 lines of CSS does the job:

iframe.vds-youtube[data-no-controls] {
    height: 1000%;
}

by adding a matching width to this, the video is shown as expected and a margin fix places the video in the center of the player.

iframe.vds-youtube[data-no-controls] {
    height: 1000%;
    width: calc(100% / 16 * 9 * 9 / 16);
    margin: 0 auto;
}

This does the job. But still I need to apply this manually, which can be a real pain.

Does anyone know a solution to automatically detect if we handle a portrait or landscape video from YouTube?

Reasons:
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (2): Does anyone know
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Kevin Appelt

79593303

Date: 2025-04-25 21:03:25
Score: 6 🚩
Natty: 5.5
Report link

I have a different issue with the same code.
I use FX5u, I seem to be able to connect to the PLC, however the code always returns 0 as results or reading any of the registers or inputs. Any ideas on what this could be driven by?

Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): Any ideas
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Majk

79593293

Date: 2025-04-25 20:56:23
Score: 1
Natty:
Report link

I managed to solve my problem.

I had to add the following line to the uWSGI configuration file:

virtualenv = "/var/www/folder/folder_env";

I do not know, how could I run my flask website, as I installed Flask merely within the virtualenv, but adding the line above solved my problem.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: picibucor

79593286

Date: 2025-04-25 20:50:22
Score: 0.5
Natty:
Report link

Activate the offending environment then:

conda update --all

worked for me after updating to Mac OS 15.4.1

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Aaron J Newman

79593282

Date: 2025-04-25 20:47:21
Score: 4
Natty: 4.5
Report link

NextJS also has a build in capability for PWA including push notifications https://nextjs.org/docs/app/building-your-application/configuring/progressive-web-apps

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Barbara

79593279

Date: 2025-04-25 20:44:20
Score: 0.5
Natty:
Report link

Since you already have a method to find the largest rectangle I want to build ontop of this solution. I will however start my suggestion by working out the largest inner square for simplicity. Extending the approach to rectangles comes with a caveat that may or may not be relevant to your data.

Lets say I have a perfect square rotated by an unknown angle, with length L, and I run my own (axis aligned) square finder. This initial sollution L0, based on no initial angle (t0=0), already provides a lot of information about all other possible sollutions. Namely, if my perfect square is rotated by 45 degrees, then I will have found a square with length L0=cos(45) * L. Inversely, if the input square was not rotated, then any other angle t1 I try in the next iteration (0 to 45 degrees because of symmetry) will return L1=L/cos(t1).

The lower bound is less important, but may be used to speed up future searches. The upperbound is what is most important, as it tells where any higher maximum may be. Compared to the function call to locate the largest square, it is hardly any work to pick the next best angle to continue our search. By examining the highest possible solution, we will again exclude many possible solutions.

This strategy is apparently similar to Shubert-Piyavskii optimization (came up when brainstorming with Gemini). Just using t0=0 and t1=45 already guarantees the solution is at most 10% larger. In cases where the data is presumed to resemble a square, this will be a very effective strategy. A perfect circle would be the most ineffective since infinitely many angles would have to be checked.

Now getting back to your problem of rectangles a similar strategy can be used. After finding a rectangle, you can compute lower and upper bounds for other angles. Working out the largest rotated rectangle within another is not too difficult. How much it tells you about all other solutions depends on the ratio between height and width.

It is a bit harder to predict the convergence here. If the actual rectangle is really elongated, then your initial guess will likely have its longest diagonal lie parallel to the shortest sides. In the next attempt you will likely find it. If the rectangle has similar length sides then the behaviour will be similar to the square example described above.

The methods above can be disrupted by annoying data thrown at them. The reasoning behind them is that, once you get close to your solution, they are likely inside the actual solution. If your input resembles a snowflake then good luck.This is just an argument to motivate a maximum number of iterations and possibly a tolerance value. Perhaps it is also a good idea to include the largest inscribed circle for some edge cases.

Reasons:
  • Whitelisted phrase (-1): solution is
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Vincent

79593275

Date: 2025-04-25 20:42:20
Score: 1
Natty:
Report link

One very late thought, in case others pick up this thread, is that if you look at what is probably one of the better in-production/non-trivial frameworks is the JBoss Drools + Governor + jBPM + whatever their optimization framework is called + their complex event processing framework. IBM had a really strong competitor with its commercial system, but them, um bought JBoss. So long as they remain a "good corporate citizen" (which is likely, as the open source approach has been rather profitable for Microsoft, Amazon, Google, maybe even Oracle?) then you could just use their APIs. You likely wont be doing a lot of custom Java programming for rules, but if you learn the Drools language isn't not so bad, and their BPM tooling, when I last played with it was pretty decent (aesthetics of Eclipse on a KDE desktop not withstanding...).

The biggest barrier is you really do need someone who knows their way around the JBoss server infrastructure. They have some very good software, but it isn't like you are going to master it over a weekend.

These are all essential parts of a production system: Rules engine with Rule management (so you don't end up with conflicting rules), probably with some sort of master data management so the rules and the rest of the framework all understand the data the same. Not much help if different departments insist on their own narrowly focused view of the data so rules run fine on tasks completed by some, but not all..

You need a way to turn task assignments into changes in the state machine of tasks and/or value of data objects so you can trigger whatever happens next.

Because the real world never does what it is supposed to, having a complex event processor lets you define time-based, value-based, and event-based rules that work with stateful data. In a lot of enterprises, this translates into integration with email, schedule/calendars, and at a minimum the sort of task/todo that would be supported by a reasonably robust to-do list management service or end-user applications (including Outlook, KDE Akonadi, GNOME's Evolution, and server side options are supported by a variety of open source groupware solutions).

If your tasks are all done by robots or vending machines, then you can skip the groupware!

It also requires a fairly sophisticated (but the algorithms are well-defined and there are plenty of open source implementations to interface with) optimiztion engine. As things gets completed (and never in the order the workflow designer intended, and conflicting priorities constantly emerge, you want to be able to redo an optimized schedule, possibly in real time (imagine you are usng this to run a large busy restruant--food gets prepared as close as possible to syndronized but as patrons leave before their food arives, and some VIP shows up, and suddenly the cook drops a block of ice by accident in the deep fryer, etc. etc. you need to scramble to reorder when things are ready to be picked up from the kitchen and bar and delivered to the tables as diners are given the options to substitute somethign for their french fries or put up with a long delay while the paramedics take the fry cook to the hospital and the defryer gets cleaned out and heated back up. Hey, if things worked by plan we would not need these sort of systems!)

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: DrKC

79593274

Date: 2025-04-25 20:40:19
Score: 0.5
Natty:
Report link

Was able to fix my app by adding

include ':app'
includeBuild('../node_modules/@react-native/gradle-plugin')
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Akshay Mishra

79593271

Date: 2025-04-25 20:37:19
Score: 2
Natty:
Report link
{/* Error display */}
        {error && (
          <div className="error-message">
            <p>{error}</p>
            {error.includes('index') && (
              <>
                <p>This query requires a Firestore index.</p>
                <a
                  href={`https://console.firebase.google.com/v1/r/project/${YOUR_PROJECT_ID}/firestore/indexes`}
                  target="_blank"
                  rel="noopener noreferrer"
                  className="index-link"
                >
                  Click here to create the required index
                </a>
              </>
            )}
          </div>
        )}enter image description here

enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: FearCleevan

79593260

Date: 2025-04-25 20:28:17
Score: 2
Natty:
Report link

I forced to login using a new user by passing this parameter `-ContextScope Process` and i got a new MFA, then i run the script and it worked.. not sure what was going on? is it generating new MFA a reason or it was about time , to get this worked.. but now it is working

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: microsoftdeveloperdesigner

79593257

Date: 2025-04-25 20:26:16
Score: 0.5
Natty:
Report link

In response to the last answer (not able to comment yet): The later versions of Android do not allow for a full screen size image, the image will appear in the middle of the screen with a background colour of your choosing. You can use a png if you like to make the image look nicer with colour and detail, but unfortunately you cannot have an image occupy the entire page. I find it's really buggy/hit and miss when making these changes also getting the compiler to recognise the changes.

Go for a company logo centre screen with your companies branding colour as your background.

Reasons:
  • Blacklisted phrase (1): to comment
  • Whitelisted phrase (-1.5): You can use
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mark Ramsey

79593254

Date: 2025-04-25 20:25:16
Score: 3
Natty:
Report link

Title: Solved the issue with the CTkOptionMenu click behavior

Hello,

I’ve solved the issue mentioned in this thread about the CTkOptionMenu not hiding upon a second click. I’ve created a fork of the project where this issue has been fixed. You can check the updated version in my repository here:

github project pypi package

Feel free to take a look or integrate the changes if they are useful!

Best regards, WipoDev

Reasons:
  • Blacklisted phrase (0.5): Best regards
  • Blacklisted phrase (1): regards
  • No code block (0.5):
  • Low reputation (1):
Posted by: wladimir perez

79593253

Date: 2025-04-25 20:24:16
Score: 0.5
Natty:
Report link

Just had a need for this myself:

{
    "extend": "selectAll",
    "text": "Select All",
    "action": function (e, dt, node, config) {
        e.preventDefault();
        dt.rows().deselect();
        dt.rows({ search: 'applied' }).select();
    }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Roger Garstang

79593251

Date: 2025-04-25 20:21:15
Score: 1
Natty:
Report link

You can test each of the attributes in a flake’s outputs’s formatter attribute set by using nix run:

nix --extra-experimental-features 'nix-command flakes' run '.#formatter.i686-linux' flake.nix
nix --extra-experimental-features 'nix-command flakes' run '.#formatter.x86_64-linux' flake.nix
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Ginger Jesus