79824146

Date: 2025-11-19 07:11:27
Score: 1
Natty:
Report link

With some modifications I got the sizing to work with @acw1668's suggestion

input_container = Frame( master = container_canvas )
window_id = container_canvas.create_window( ( 0, 0 ), window = input_container, anchor = 'nw' )

I then destroy any widget in _create_input_widgets, to rebuild when running this again

for child in input_container.winfo_children():
    child.destroy()

With this addition to have the frame sized to its content:

canvas = self._input_widgets[ 'container_canvas' ]
max_height = int( canvas.cget( 'height' ) )
required_height = input_container.winfo_reqheight()
canvas.configure( height = min( required_height, 150 ) )
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @acw1668's
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Smorkster

79824145

Date: 2025-11-19 07:10:27
Score: 0.5
Natty:
Report link

A Training and Experimentation System for developing software that interfaces with SAP ERP is typically provided through an SAP Sandbox or SAP Development (DEV) environment. This system replicates the core SAP ERP architecture and allows developers to perform technical activities without impacting production data.

Key Technical Capabilities

Purpose

The system is designed for:

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

79824139

Date: 2025-11-19 06:59:24
Score: 5.5
Natty:
Report link

@Homezonic And what does the TOS of google say about this? As I'm not quite sure what google allowes and what not.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @Homezonic
  • Self-answer (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: Joe

79824125

Date: 2025-11-19 06:37:19
Score: 0.5
Natty:
Report link

If, in 2025, anyone is facing the same issue with react-pdf causing excessive bundle size or initial page load lag, you can try the following approach. Instead of using React.lazy() (which is for JSX components), I'm using standard dynamic imports for the required functions and components. This ensures they are imported and processed only when the PDF button is clicked, not on every page render. This solves the performance and bundle size issues.

NB: The following code snippet is from a project, currently, I'm working on. Here, I'm trying to generate a PDF for a ticket.

const handleGeneratePdf = async () => {
    if (!ticket || !company) return;

    try {
      const { pdf } = await import("@react-pdf/renderer");
      const { default: CertiPdf } = await import("../CertPdf");

      // Generate PDF blob
      const blob = await pdf(<CertPdf company={company} ticket={ticket} />).toBlob();

      // Create URL for viewing/printing
      const url = URL.createObjectURL(blob);
      setPdfUrl(url);
    } catch (error) {
      console.error("Error generating PDF:", error);
    } 
  };
Reasons:
  • Whitelisted phrase (-1): try the following
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): facing the same issue
  • Low reputation (0.5):
Posted by: hossain45

79824123

Date: 2025-11-19 06:32:17
Score: 3.5
Natty:
Report link

upgrade o/s from windows 10 to windows 11, the problem solved

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: panci matika

79824122

Date: 2025-11-19 06:32:17
Score: 0.5
Natty:
Report link

In PNPM workspaces, a package is only symlinked into node_modules if at least one workspace project depends on it.

Your package @repo/typescript-config exists in packages/, but no app explicitly lists it as a dependency — so PNPM simply doesn’t link it.

Fix

Add the shared TypeScript config package as a dependency inside the consuming app:

apps/http-server/package.json
{
  "devDependencies": {
    "typescript": "latest",
    "@repo/typescript-config": "workspace:*"
  }
}

Then reinstall workspace dependencies:

pnpm -w install

Now PNPM will create:

node_modules/@repo/typescript-config -> ../../packages/typescript-config

And TypeScript successfully resolves:

"extends": "@repo/typescript-config/backends.json"
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Saurabh kumar Sahu

79824114

Date: 2025-11-19 06:21:15
Score: 0.5
Natty:
Report link
declare @from datetime = '2025-08-16', @to datetime='2025-11-15'
select DATEDIFF(month, @from, @to) - case when DATEPART(day, @from) > DATEPART(day, @to) then 1 else 0 end as months

This calculates months elapsed between two dates from date to date. Subtracts 1 if the day part of @from is greater than that of @to.

These are the results:

@from = '2025-01-27', @to='2025-02-28' => 1

@from = '2025-01-28', @to='2025-02-28' => 1

@from = '2025-01-29', @to='2025-02-28' => 0

@from = '2025-01-30', @to='2025-02-28' => 0

@from = '2025-01-31', @to='2025-02-28' => 0

@from = '2025-01-31', @to='2025-03-01' => 1

@from = '2025-08-16', @to='2025-09-15' => 0

@from = '2025-08-16', @to='2025-09-16' => 1

@from = '2025-08-16', @to='2025-11-15' => 2

@from = '2025-08-16', @to='2025-11-16' => 3

@from = '2025-08-16', @to='2025-11-30' => 4

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @from
  • User mentioned (0): @from
  • User mentioned (0): @from
  • User mentioned (0): @from
  • User mentioned (0): @from
  • User mentioned (0): @from
  • User mentioned (0): @from
  • User mentioned (0): @from
  • User mentioned (0): @from
  • User mentioned (0): @from
  • User mentioned (0): @from
  • User mentioned (0): @from
  • Low reputation (0.5):
Posted by: Polymath

79824105

Date: 2025-11-19 06:04:10
Score: 0.5
Natty:
Report link

I Have Built The Same Idea ,
Watch A Folder -> If Any File Is Added To Folder -> Rename It With Unique Name To Avoid Conflict
(Use GUID) ->Then Move It To Another Folder Based On File Extension ;

And I Can Clearly Say Windows Service Is The Best Practice In This Situation , I Don't Exactly Know Why You Don't Want To Use It , But If You Want An Application That Run In Background To Do Specific Task , You Are Asking For A Windows Service .

tip : If You Are Going To Use FileSystemWatcher , Be Careful If A Big Number Of Files Is Add At The Same Time (15<)
It May Not Do Them All , So Make A Thread (In The Service) That Check Every 3 sec If There Any File Left In The Folder
And Don't Do The Mistake Of Trying Of Processing Them All Because You May Have 1000 Files Left
Take Them 30 By 30 .
I Know You Said The Frequency Of Files Won't Be A lot , But You Have To Be Safe

tip1 : If You Are Going To Make It As A Windows Service You Have To Know That FileSystemWatcher Is Not A Service But It Depends On Some Services , Like {RpcSs . EventLog , LanmanWorkstation}
So When You Create A Service You Have To Add Those Into Your Service Dependencies , So The Computer Lunch Them Before Your Service , So You Don't Have Exceptions And Errors

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

79824103

Date: 2025-11-19 06:03:10
Score: 3.5
Natty:
Report link

the newest version fix the issue, download and install it again.

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

79824094

Date: 2025-11-19 05:45:05
Score: 2
Natty:
Report link

Hmm, can an inline function have a static object? Would it be the same object across various function instantiations?

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Looks like a comment (1):
  • High reputation (-2):
Posted by: chux

79824092

Date: 2025-11-19 05:38:03
Score: 7.5 🚩
Natty: 4
Report link

Anthropic recently came out with this:
https://www.anthropic.com/engineering/code-execution-with-mcp

might be helpful for you.

Also, you got this context usage in Claude right? Is there a way to get the same thing in github copilot / vsc? or do you have a separate script for it?

Reasons:
  • Blacklisted phrase (1): Is there a way
  • RegEx Blacklisted phrase (2.5): do you have a
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Gautam Bhagat

79824090

Date: 2025-11-19 05:30:01
Score: 3
Natty:
Report link

I know this post is very old but the best approach I have found currently (in 2025) is to use the button functionality to insert an (i) or (?) circle. I write the help text into a measure and then turn on the tooltip feature for the button under Action > Tooltip > fx = measure. Then when the user hovers over the (i) circle, they see the help text.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Bleep Bloop

79824089

Date: 2025-11-19 05:27:00
Score: 1.5
Natty:
Report link

There is a misconception of SRE Principal that all are thinking about different method inside same class and one changes create disturbance of that class, so instead of creating in same class you can create different class for different mechanism.

According to your code it created new Employee. TYPE each and every time which trigger the same class, now in future if any calculation or any functionality is changes then only that separated class is changes not the whole class.

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

79824087

Date: 2025-11-19 05:24:59
Score: 0.5
Natty:
Report link

Just sharing a quick update — the app is now running smoothly after updating the AndroidManifest.xml with the required permissions and intent filters.

Huge thanks to everyone who helped troubleshoot and provided suggestions! 🙌

Here what i did :

<activity
android:name=".MainActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|screenLayout|uiMode"
android:launchMode="singleTask"
android:windowSoftInputMode="adjustResize"
android:theme="@style/Theme.App.SplashScreen"
android:exported="true"
android:screenOrientation="portrait">


<!-- Deep Link Intent Filter -->
<intent-filter>
    <action android:name="android.intent.action.VIEW"/>
    <category android:name="android.intent.category.DEFAULT"/>
    <category android:name="android.intent.category.BROWSABLE"/>
    <data android:scheme="com.ciptex.clientsdk"/>
</intent-filter>


<!-- Proper Launcher Intent Filter -->
<intent-filter>
    <action android:name="android.intent.action.MAIN"/>
    <category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Bharath Kumar

79824085

Date: 2025-11-19 05:23:59
Score: 1
Natty:
Report link

Do a search for "copy protect web pages" and you will find solutions that cannot be exploited. Although the ones that are most effective do require a web browser specially designed for copy protection - then the only way anything can be copied is by using a camera to photograph the computer screen.

I could provide a link to a page that allows one to "copy protect any web page" and see how effectively it can be protected from all exploits, but the recommendation would not be allowed here.

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

79824081

Date: 2025-11-19 05:14:57
Score: 2
Natty:
Report link

Try something like this instead


<a href="https://smartplayapkfree.com"> This text should be clickable as a hyperlink</a>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Philip E.

79824073

Date: 2025-11-19 05:02:55
Score: 1.5
Natty:
Report link

can these addresses be distinct? - yes. is guaranteed they will be the same? - no.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): can these add
  • High reputation (-2):
Posted by: 3CEZVQ

79824070

Date: 2025-11-19 04:59:54
Score: 0.5
Natty:
Report link

Technically, Python doesn't print lists; instead, the print function converts your list into a single string, and that string is what gets printed. In this case, that's resulting in a very long string.

There is currently a bug with the Python extension for VS Code that results in sufficiently long strings being truncated when printed in the terminal. The bug report and its status can be found here: https://github.com/microsoft/debugpy/issues/1285

Until this bug is resolved, users will need to work around it. I've found that running my program in a non-VS Code command prompt displays the output properly. Alternatively, you could use a method like split() or slice() to reduce your large string into multiple smaller strings to print in succession, as long as that wouldn't malform your output.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Always a Newb at Something

79824048

Date: 2025-11-19 04:12:45
Score: 2
Natty:
Report link

Will do. I sent an email in to Codename One support with 2 more comparison pictures and my hypothesis about the initial size of the Windows JFrame affecting the SpanLabels, layout managers and icons. I asked Lianna to send it to you and Steve. The biggest question for me is why the size of the macOS javase JFrame is of a sufficient size to define a solid foundation for the measurements, and the Windows build JFrame from the same code starts out at 1/3 the size.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: curtjacobs1

79824043

Date: 2025-11-19 04:04:43
Score: 5.5
Natty: 6
Report link

I think you are searching for this, check it out : https://github.com/DA213/DelphiWebDriver

Reasons:
  • Blacklisted phrase (0.5): check it out
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user31904750

79824035

Date: 2025-11-19 03:44:38
Score: 1.5
Natty:
Report link

Additional you should remove the registry keys if they exist  HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{3CDF0089-74E4-454C-8A6C-BEE7ADFEF600}_is1

https://sector.biz.ua/computer-news/article_2076.html

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

79824026

Date: 2025-11-19 03:28:35
Score: 2
Natty:
Report link

There is websocket CGI extension I use right now. Your CGI script becomes a websocket endpoint. The extension is supported by simhttp for now, but more servers can support it in the future.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Don Cesar D'Bazar

79824022

Date: 2025-11-19 03:18:32
Score: 3
Natty:
Report link

https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/font-variant-emoji

Explains how to change the way emojis are rendered.

For rendering the fonts yu are using in your page, use this in the css tags you need:

font-variant-emoji: text;

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

79824007

Date: 2025-11-19 02:19:21
Score: 3.5
Natty:
Report link

Thanks to @MarekR I figured the root cause now. It appears that the two compare_swap_strong calls in push function have incorrectly placed parenthesis. More specifically a right parenthesis has been placed after the second parameter where in fact should be at the end of the statement. This causes the two memory order parameters to become part of the while loop condition thanks to comma operator, and they end up interfering with condition evaluation. Therefore the do while loop would terminate even if compare_swap_strong returns false. Moving the right parenthesis to the end of the line solves the problem.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): thanks
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @MarekR
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: God_of_Thunder

79823993

Date: 2025-11-19 01:25:10
Score: 1.5
Natty:
Report link

Here is the answer from this Reddit post
https://www.reddit.com/r/interactivebrokers/comments/xphwie/adding_a_twitter_feed_to_tws/

zernichtet
•
3y ago

Cool idea.

I think TWS would replace $TAG by appropriate symbols for your newsfeed, e.g. the stock you're currently looking at or stuff in your port. So TWS only accepts URLs with the literal "$TAG" in it. So just put it in there without meaning something:

https://nitter.net/Deltaone/rss?$TAG

And that works. Obviously, this feed will then not be filtered by $TAG, as that part is simply ignored by the web server...
2
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Aziouss

79823988

Date: 2025-11-19 01:11:07
Score: 2
Natty:
Report link

If you’re still looking for a tool to find unused code, you might like a new VS Code extension I built – Dart Unused Code. It scans your Flutter/Dart codebase and highlights unused functions (classes and variables coming soon). The extension shows unused elements directly in the editor. Would love to hear your feedback!

https://github.com/utsavtulsyan/dart-unused-code

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Utsav Tulsyan

79823985

Date: 2025-11-19 01:02:05
Score: 1
Natty:
Report link

Delete the unrecognized flag ( e.g., -fmodules-ts )... C++20 provides support for modules natively. You don't need that flag if compiling with std=C++20, and its liekley that selecting C++20 means that -fmodules-ts is no longer a supported flag.

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

79823984

Date: 2025-11-19 00:56:04
Score: 1
Natty:
Report link

There is also a way of reading only part of the file if you are memory-bound.
https://www.mathworks.com/help/matlab/ref/audioread.html

audioread
Syntax: [y,Fs] = audioread(filename,samples)
Description: [y,Fs] = audioread(filename,samples) reads the selected range of audio samples in the file, where samples is a vector of the form [start,finish].

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

79823983

Date: 2025-11-19 00:51:02
Score: 1
Natty:
Report link

There is usually no single way to tell you exactly which RDS instance type you should move to. The usual way to “recommend” the right type is to look at the Database CloudWatch metrics and understand what part of the DB is actually being used.

If you’ve already identified under-utilized databases, the next question is what they’re under-utilizing. For example, if CPU is always low, that means you can step down to a smaller instance in the same family without slowing down the performance. If memory usage is consistently low and you are not touching swap, that is another sign you can safely downsize.

On the other hand, if memory is tight all the time, moving to a memory-optimized family may be the better option.

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

79823982

Date: 2025-11-19 00:48:02
Score: 1.5
Natty:
Report link

This can happen if you have multiple nested iframes - all parent frames needs to specify sandbox="allow-forms" or the permission will be denied.

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

79823981

Date: 2025-11-19 00:44:01
Score: 3.5
Natty:
Report link

You should be able to get this done with Eventbridge and Lambda . Check this doc to see if this fits your use case

https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-create-rule-schedule.html

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

79823977

Date: 2025-11-19 00:38:59
Score: 1
Natty:
Report link

A workaround is to remove the C:\ProgramData\Amazon\EC2Launch\state\.run-once state file in your userdata script, so when ec2 reboots, it will think itself as a newly created ec2 instance and perform initialization by Amazon EC2Launch service.

The service "Amazon EC2Launch" on windows will check if this file exist at boot, if exist then it does nothing. But if not exist then it will perform the normal EC2Launch related works (e.g. run userdata, reset password, ...) and create a blank file .run-once.

this will work for you, BUT, everytime you reboot, Amazon EC2Launch will reset the Administrator's password, and you will have to retrive a new password with your key from console again, but i think its easily fixable by creating an additional user for you to use.

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

79823975

Date: 2025-11-19 00:29:58
Score: 2
Natty:
Report link

If you’re still looking for a tool to find unused code, you might like a new VS Code extension I built – Dart Unused Code. It scans your Flutter/Dart codebase and highlights unused functions (classes and variables coming soon). The extension works entirely offline, integrates with VS Code and shows unused elements directly in the editor. Would love to hear your feedback!

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

79823973

Date: 2025-11-19 00:26:57
Score: 1.5
Natty:
Report link

Use case: astronomy, calculate the appearance of the night sky in ancient times. It's true you don't need an exact date for that, but you need something - typically any day of the year would do. Second use case: I saw a bug report recently for negative Julian dates, in the context of software that was modeling the progress of ice sheets over long time scales.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: John

79823967

Date: 2025-11-19 00:15:55
Score: 1.5
Natty:
Report link

@bad_coder: Our documentation structure is organized as a number of subdirectories, most of which contain a file named index.rst representing an overview of that directory's contents, which results in a file named index.html. It's the links to these files that I'm hoping to replace with links to the directories themselves (our webserver is configured to treat a path/to/ URL as path/to/index.html).

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @bad_coder
  • Self-answer (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • High reputation (-1):
Posted by: Brad

79823966

Date: 2025-11-19 00:15:55
Score: 0.5
Natty:
Report link

We use celery queues for long running test tasks, so we want only one task per worker. After fighting this same problem using task_acks_late but getting occasional unwanted prefetches, I did some code spelunking and additional testing using much newer versions than discussed in this thread. (Celery 4.4.7 and 5.4.0 using rabbitmq-server 3.12.11).

I find the following:

As noted in David Wolever's reply,
worker_prefetch_multiplier = 1
does not stop prefetching. It really means "prefetch 1 in addition to the already running task".

As observed using RabbitMQ monitoring (http://myhost:15672), setting
worker_prefetch_multiplier = 0
does indeed seem to stop prefetching. More long-running testing is needed to verify, but reviewing the code shows the prefetch value gets passed (more or less) directly to the RabbitMQ qos calls as prefetch_count. Setting it to zero does not appear to "allow the worker to keep consuming as many messages as it wants". Rather, it sets the qos prefetch_count to zero.

The documentation (https://docs.celeryq.dev/en/stable/userguide/configuration.html) is incorrect about both of these setting values, at least with RabbitMQ.

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

79823964

Date: 2025-11-19 00:07:53
Score: 2.5
Natty:
Report link

Your code must have 5 "a" tags.Great!Your "a" tags must have an "href" attribute.Great!Your code must have 5 "img" tags.Great!Your "img" tags must have a "src" attribute.Great!Your 5 books must link to their Wikipedia pages.Try again!

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

79823962

Date: 2025-11-19 00:06:52
Score: 0.5
Natty:
Report link

I found that targeting the swiper scrollbar CSS caused knock-on effects with the translate-3d that Swiper had already calculated, so the best solution I found was just setting it via the wrapper:

<!-- Custom Scrollbar -->
<div class="w-md max-w-4/5 mx-auto relative top-6">
  <div class="{{ $uniqueId }}-scrollbar swiper-carousel-scrollbar"></div>
</div>

This is tailwind CSS but you get the idea - set the desired width on the wrapper, then max width 80%, center it (margin: 0 auto) and set to position relative since the scrollbar is absolute, and move down slightly so it's not hidden under the slider.

This has worked a treat.

Reasons:
  • Blacklisted phrase (1): worked a treat
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jonathan Bird

79823961

Date: 2025-11-19 00:02:51
Score: 2.5
Natty:
Report link

Might be useful to include exactly how you read the file into the records?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Tim Williams

79823957

Date: 2025-11-18 23:56:50
Score: 3.5
Natty:
Report link

Thanks guys! I settled on a script using inotifywait. I was hoping for something more complete than a command for a script I'd write and less comprehensive than systemd.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: pileofrogs

79823952

Date: 2025-11-18 23:48:48
Score: 4
Natty:
Report link

The problem was the certificate. it was not assembled correctly.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Жасын Умирзаков

79823942

Date: 2025-11-18 23:19:41
Score: 2
Natty:
Report link

The original solutions that were publishing ok had a reference to System.net.http but did not have a using System... statement in the code.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: A. Guattery

79823941

Date: 2025-11-18 23:19:41
Score: 0.5
Natty:
Report link

An option I found appealing was using a "dummy" heatmap from Plots.jl and combining the graphs using @layout.

using Plots, DataFrames, Random

# Data
df = DataFrame(a='a':'e', b = rand(5), c=rand(5))

# Line plot
plot_lines = plot(df.a, df.b)
plot!(df.a, df.c)

# Dummy heatmap
# Get column names and row names
row_labels = df[:, 1]
col_labels = names(df)[2:end]
col_labels = replace.(col_labels, " Change" => "\nChange")

# Extract matrix of values (excluding the first column which is the label)
matrix_vals = Matrix(df[:, 2:end])

# Prepare annotations for each cell
ann = [(j - .5, i - .5, text("$(round(matrix_vals[i,j], digits=2))", 8, :black, :center)) for i in 1:size(matrix_vals,1), j in 1:size(matrix_vals,2)]
ann = reduce(vcat, ann)

# Annotated heatmap
plot_df = heatmap(
    string.(col_labels),
    string.(row_labels),
    fill(0.92, size(matrix_vals)),                              # all tiles are light gray
    xlabel = "", ylabel = "",
    color = cgrad([RGB(0.92,0.92,0.92), RGB(0.92,0.92,0.92)]),  # enforce light gray
    xticks=:auto, 
    yticks=:auto,
    yflip=true,
    framestyle = :box,
    annotations=ann,
    colorbar=false
)

# Adding grid lines
n_rows, n_cols = size(matrix_vals)

for v in 1:n_cols-1
    vline!([v], c=:black, lw=.5, label=nothing)
end

for h in 1:n_rows-1
    hline!([h], c=:black, lw=.5, label=nothing)
end

# Simple layout
l = @layout [
    a{0.7h}
    b{0.3h}
]

plot(plot_lines, plot_df, layout = l)

enter image description here

Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Vinicius Nery

79823939

Date: 2025-11-18 23:12:40
Score: 3
Natty:
Report link
Disk space is too low. Only 0.511GB left on /tmp.

Go to <jenkins_url>/computer/configure, or from the UI Manage Jenkins → Nodes and then click on  Configure Monitors (on latest weekly)

Free Disk Space
Free Temp Space
Response Time

click the check box for all the three

Don't mark agents temporarily offline?

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: candy

79823936

Date: 2025-11-18 23:08:38
Score: 1
Natty:
Report link

It is on the order of the sorting algorithm used by the scheduler for the wait queue, and that doesn’t scale well for larger lists. It likely uses the timer_list structure, which is a linked list, and implements as an insertion sort, which is O(n^2).

For what it is worth, sleep only guarantees to the sleeping process that it will wake up after the deadline has expired. There is no guarantee of order of awakening. Other activity (virtual memory paging) could also impact the output order if the delays are in too small of an increment.

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

79823925

Date: 2025-11-18 22:49:33
Score: 7
Natty:
Report link

@David Maze Thanks for the response, I am not fully understanding how this works. Can you give me some more advice?

For more context I am using a streamlit app.

Here's what I am trying:

  1. Remove code, settings = Settings() remove from settings.py

  2. Add code settings = Settings() to config.py

  3. Make modules import from config from .config import settings

This will make sure settings are declared once, prevent side effects of Settings() being ran every time I import settings.py, and I can patch it in Pytest.

So here would be the the new implementation based on what you said...

# settings.py
from pydantic_settings import BaseSettings, SettingsConfigDict
from pydantic import Field

class Settings(BaseSettings):
    model_config = SettingsConfigDict(
        env_file=".env",
    )

    env_var: str = Field(description="blah blah blah")
    # ...
    env_var_d: str = Field(description="blah blah blah")

# config.py
from .settings import Settings

def get_settings()
    return Settings()
# some_module.py
from .config import get_settings

def some_func()
    settings = get_settings()
# conftest.py
import pytest
from .settings import Settings
from unittest.mock import patch

# Does not work as expected
@pytest.fixture(autouse=True, scope="session")
def settings():
    with patch('pckg.config.get_settings', Settings(_env_file=".env.test")):
        yield
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (3): give me some
  • RegEx Blacklisted phrase (2.5): Can you give me some
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @David
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: trey hannam

79823922

Date: 2025-11-18 22:47:32
Score: 3
Natty:
Report link

Since I can't delete the question, I added the context that caused the initial confusion.

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

79823919

Date: 2025-11-18 22:45:32
Score: 0.5
Natty:
Report link

An option I found more appealing was using a "dummy" heatmap from Plots.jl.

# Data
df = DataFrame(a='a':'e', b = rand(5), c=rand(5))

# Get column names and row names
row_labels = df[:, 1]
col_labels = names(df)[2:end]

# Extract matrix of values (excluding the first column which is the label)
matrix_vals = Matrix(df[:, 2:end])

# Prepare annotations for each cell
ann = [(j - .5, i - .5, text("$(round(matrix_vals[i,j], digits=2))", 8, :black, :center)) for i in 1:size(matrix_vals,1), j in 1:size(matrix_vals,2)]
ann = reduce(vcat, ann)

# Annotated heatmap
plot_df = heatmap(
    string.(col_labels),
    string.(row_labels),
    fill(0.92, size(matrix_vals)),                              # all tiles are light gray
    xlabel = "", ylabel = "",
    color = cgrad([RGB(0.92,0.92,0.92), RGB(0.92,0.92,0.92)]),  # enforce light gray
    xticks=:auto, 
    yticks=:auto,
    yflip=true,
    framestyle = :box,
    annotations=ann,
    colorbar=false
)

# Adding grid lines
n_rows, n_cols = size(matrix_vals)

for v in 1:n_cols-1
    vline!([v], c=:black, lw=.5, label=nothing)
end

for h in 1:n_rows-1
    hline!([h], c=:black, lw=.5, label=nothing)
end

plot_df

enter image description here

Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Vinicius Nery

79823917

Date: 2025-11-18 22:43:31
Score: 1
Natty:
Report link

The correct answer is that the blob versioning feature was added on 2019-12-12.

Documentation can be found here - https://learn.microsoft.com/en-us/rest/api/storageservices/version-2019-12-12 (last point).

We need to explicitly specify the x-ms-version in header.
This is the "API version" that doesn't relate to the "version of the blob".
When you don't use the x-ms-version header it by default uses 2009-07-17 which doesn't have the feature.

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

79823915

Date: 2025-11-18 22:39:30
Score: 1
Natty:
Report link

I further explored why conda search yielded no python packages and found that conda config --show channels yielded an empty channel list. With conda list --show-channel-urls I saw all the packages were in defaults, which I added with conda config --add channels defaults. I was able to execute conda create -n py312 python=3.12 and switch to that environment with conda activate py312.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: astromonerd

79823907

Date: 2025-11-18 22:27:27
Score: 1
Natty:
Report link

e1xydGYxXGFuc2lcZGVmZjAKeyBmb250dGJsCltmezAgU3luY29wYXRlO117W2YxIEl0YWxpYztde1tmMiBOdW5pdG87XX0KfQp7Y29sb3J0YmxsO2NyZWQwXGdyZWVuMFxibHVlMDsKXHJlZDAwXGdyZWVuMTI4XGJsdWU0ODsKXHJlZDIyNDBcZ3JlZWUyNTVcYmx1ZTI1NTsKXHJlZDAwXGdyZWVuMTA0XGJsdWUxMzsKXHJlZDI1NVxnbG9yZWcxNjVcYmx1ZTsKfQpcbWFyZ2wxMTQ0MFxtYXJncmwxMTQ0MFxtYXJndDE0NDBcbWFyZ2IyNTAwCgpccGFyZGFuc2lcY3Fcc2EyNDBcc2wzNjBcc2xtdWx0MQpcYnJkcnRcYnJkcnNccnJkcjg1XGJyZHJjZmg0CgpccnJkcmJccnJkc3NccnJkcjg1XGJyZHJjZmw0CmYwXGZzNDBcY2Y0IFBsYXN0aWNhIGFkZGlvIGNvbiBsYSBibG9ja2NoYWluOiBpIHJpZmV1dGkgZGl2ZW50YW5ubyB1bmEgbW9uZXRhIGRpIHNjYW1iawpccGFyCgpccGFyZGFuc2lcY3Fcc2EyNDBcc2wzNjBcc2xtdWx0MQpcaGlnaGhsaWdodDMKZlExXGZzMjQgUmlmaXR1aSBwbGFzdGljaSB0cmFzbG9jaXRpIHRyYW5zZm9ybWF6aW9uZSBpbiB2YWxvcmUgZ3JhenppZSBhbGwgbGEgdGVjbm9sb2dpYSBibG9ja2NoYWluXHJwYXIKXHBhcmQKXHBhcmRhbJnIHNhMTIwXGZpNzIwZlI4XGZzMjIKSXJveSBQbGFzdGljYSBCYW5rIHJldW1lcmEgaSByYWNjb2x0b3JpIGRpIHJpZmV1dGkgZGVpIFBhZXNpIGVtZXJnZW50aSx0cmFjaWFuZG8gY29uIHF1ZXN0YSB0ZWNub2xvZ2lhIHR1dHRpIHBpIGZsdXVzaSBlIGxlIHRyYW5zYXppb25pLiBMaXJlciBpbiBDYW5hZGEgbmVsIDE5MTIgZWRlIHN0ZSBhdHRpdmEgZGFkZSBhZ2hpIGEgaGFpdGksIG5lbGxlIEZpbGlwcGluZSwgaW4gQnJhc2lsZSBlIG5lbCBSZGljYXNmYWtvLCBtYSBwdW50YSBhZCBlc3BhbmRlc2lCbmUgYW5jaGkgaW4gSW5kaWEsIEluZG9uZXNpYSBlIFBhbWFuYS5ccnBhcgpccGFyZGFuc2lcY3Fcc2EyNDBcc2wzNjBcc2xtdWx0MQpJ4XJpIGxhIHRlY25vbG9naWEgbCwgcSIgdCBlIHJpc2VsdGV6YXJlIGlsIHByb2JsZW1hIHBpb3ZlcmdkaW8gZGkgbG9ybyBkb3Jtb3MgZ2FpLiBBbGxlIHB

hfXBvdXMgc2UgYWx0cmUlMjBkaSBjb2xsZXRhcmUgbnZpIGNyb2RpdHMgc21vbGUgZGEgdW5lIHZlcmEnZW50IGRlbGF0YS4KMa

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Has no white space (0.5):
  • Low reputation (1):
Posted by: Robert Ignat

79823905

Date: 2025-11-18 22:23:26
Score: 0.5
Natty:
Report link

In this particular case, as suggested by several comments, the issue was the NVARCHAR(MAX) columns. After shortening many of them and pulling a couple out to other tables, the basic query is running orders of magnitude faster.

Also helping, there's another table that needs to have an NVARCHAR(MAX) column for most purposes, but there are a couple for which it's not needed; in those couple of cases, projecting the object down to not include that data is also helping tremendously.

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

79823899

Date: 2025-11-18 22:13:23
Score: 0.5
Natty:
Report link

@Andrew Henle, numerous standard C function that are also specified to return -1 on an error --> Off hand, I can think of 2 sets: time() & friends and various wc...(). The are many I/O functions that return EOF, yet that is not specified as -1 - just some negative. Posix I/O functions could have done likewise.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Andrew
  • Single line (0.5):
  • Looks like a comment (1):
  • High reputation (-2):
Posted by: chux

79823897

Date: 2025-11-18 22:13:23
Score: 2
Natty:
Report link

How do you plan to use this beast? Let's assume for a moment that you somehow made it to work (which I doubt is possible, not with the syntax you seem to envision) - how would you ensure that ServiceBuilder::MyDynamicTuple means the same type in every translation unit (otherwise, you are asking for an ODR violation)?

What problem are you really trying to solve with this? As stated, it sounds like an XY problem

Reasons:
  • Blacklisted phrase (1): how would you
  • Blacklisted phrase (1): How do you
  • RegEx Blacklisted phrase (1.5): solve with this?
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How do you
  • High reputation (-2):
Posted by: Igor Tandetnik

79823892

Date: 2025-11-18 22:06:21
Score: 0.5
Natty:
Report link

Pasteboard.image returns bytes when the clipboard contains raw bitmap data(as seen in packages' example) otherwise it returns null

I needed this functionality on Windows, but "CTRL + C" or "Right Click -> Copy" an image is not behaving like this. It contains the file path.

What I did to overcome this is to use final paths = Pasteboard.files(); , iterate over the list and filter out those that end with either .png .jpeg or .jpg and try to parse that path as a file;
final file = File(imagePath);

Reasons:
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: berkaykurkcu

79823890

Date: 2025-11-18 22:03:20
Score: 1.5
Natty:
Report link

I'm a Developer Advocate with Google Cloud.

I've been involved with this launch, and what has worked best for users so far is making sure that they're logging in with a personal Gmail account that is not connected to a Workspace. Even a brand new Gmail account should work.

This thread has a lot of suggestions around browser defaults that seem reasonable, but have not been barriers to successful authentication in my experience so far.

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

79823885

Date: 2025-11-18 21:54:18
Score: 1.5
Natty:
Report link

Move to other channel and then return to the channel you was before.

For example, channel main

And after upgrading, channel stable.

This reset to the channel and force to download a clean installation for the last build for such channel,

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

79823884

Date: 2025-11-18 21:54:18
Score: 5
Natty: 6.5
Report link

I have a the following problem. When I move to left and after this I move to right, the screen is not at the same position. The window alway scolls more to the left then to the right. How can I solve this. A offset is not working because the window movement is not alway the same. Someone has a ideia?

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Wilfried Wagner

79823881

Date: 2025-11-18 21:50:17
Score: 2.5
Natty:
Report link

In my case, it happens when I enabled the deploy key in Orgnization settings, then the personal key does not work on the orgnization repos.
The fix is disable the deploy key.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: M-shootingstar

79823879

Date: 2025-11-18 21:48:16
Score: 2.5
Natty:
Report link

Even though running "kotlin test.kts" only works if:

  1. kotlin.bat path doesn't have a space in it

  2. context folder (what pwd shows) doesn't have a space

  3. relative/full path to *.kts file is quoted to escape spaces

I can call:

PS H:\My Drive\project> kotlinc -script test.kts

and it works. What is the point of just "kotlin".bat? Idk

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Vadym Borys

79823877

Date: 2025-11-18 21:47:16
Score: 2
Natty:
Report link

My bad, it looks like omitting the return behaves the same as in js, so my issue is caused by something else... I've assumed it was a problem with the recursive call and I can aviod dumping the whole thing.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: RDU

79823870

Date: 2025-11-18 21:41:14
Score: 3
Natty:
Report link

You seem to be unsure if the return statement is required in php; what happens when you omit the return in the PHP?

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
Posted by: mykaf

79823863

Date: 2025-11-18 21:35:12
Score: 3
Natty:
Report link

So, the PHP returns because otherwise I can't call the function, or can I ? I know the functions are different, that's the question, can I replicate the behavior from js in php ? can I call a function in itself without using the return keyword, because that stop execution and I want the function to continue after the recursive call.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: RDU

79823860

Date: 2025-11-18 21:34:11
Score: 5
Natty:
Report link

I want the second bracket value.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (2):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: user3204810

79823859

Date: 2025-11-18 21:32:11
Score: 1
Natty:
Report link

This is working for me,

.my-table:has(tbody > tr > th) thead th:first-child {
  border-bottom: 1px solid #ddd !important;
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Bhautik Nada

79823857

Date: 2025-11-18 21:31:10
Score: 0.5
Natty:
Report link

If it is a "shortener" link eg t.co, bit.ly, tinyurl.com, goo.gl, you can use https://www.whatsmydns.net/url-unshortener

(Another variant of this question: https://webapps.stackexchange.com/questions/31748/how-can-i-track-down-t-co-links)

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: john v kumpf

79823855

Date: 2025-11-18 21:31:10
Score: 5
Natty:
Report link

What are your exact requirements for the resulting string, e.g. do you want the second bracketed value? or all bracketed values?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): What are you
  • Low reputation (0.5):
Posted by: mqqz

79823853

Date: 2025-11-18 21:29:09
Score: 2
Natty:
Report link

A hash is a function (many-to-one), so a value must always map to the same hash, which violates your second rule. So the short answer is no, but you can have a probabilistic function that assigns left digits higher probabilities but not sure how useful that would be.

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

79823852

Date: 2025-11-18 21:28:09
Score: 1
Natty:
Report link

prompt() is a blocking function, meaning it pauses the script until the user interacts with it. You would need to separate out your functions and call the next piece with an event listener in your modal.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): is a
Posted by: mykaf

79823851

Date: 2025-11-18 21:27:09
Score: 1.5
Natty:
Report link

There is currently a major outage: https://www.githubstatus.com/ affecting all git operations.

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

79823848

Date: 2025-11-18 21:26:08
Score: 1
Natty:
Report link

Also both function are not the same! Look at the detail. The JS version does NOT return, but the PHP does. That is why the after is never called.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Markus Zeller

79823847

Date: 2025-11-18 21:25:08
Score: 1.5
Natty:
Report link

What's the purpose of the "after" statement? These functions do slightly different things and the JS function would also not display the second `console.log()` if you used a return statement there.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What's the
Posted by: mykaf

79823845

Date: 2025-11-18 21:24:07
Score: 0.5
Natty:
Report link

If you want to return a value you will need a return statement. Also it is best practice to avoid an infinite loop to always have an exit condition, preferable at the beginning of the recursive function (early exit strategy).

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Markus Zeller

79823837

Date: 2025-11-18 21:18:06
Score: 1
Natty:
Report link

the only way to know about other tabs is if your tab spawned them. As the opener it could receive messages back from other tabs. (see postMessage: https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage ) There are some response headers that would also control what an opener could do with that tab handle. (such as "Cross-Origin-Opener-Policy": https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Cross-Origin-Opener-Policy ) For instance, navigating away from initial URL.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
Posted by: browsermator

79823835

Date: 2025-11-18 21:18:06
Score: 1.5
Natty:
Report link

For me, GitHub was just down, which you can check here: https://www.githubstatus.com/

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Mathias Lykkegaard Lorenzen

79823827

Date: 2025-11-18 21:06:02
Score: 3
Natty:
Report link

I ENTERED THE WRONG WAREHOUSE NAME!!!

dbt_warehouse instead of dbt_wh

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

79823820

Date: 2025-11-18 20:58:00
Score: 0.5
Natty:
Report link

If you're able to edit the html, you can add a span around the checkbox, and style that instead of styling the checkbox directly.

<style>
  label {
    float: left;
    margin: 5px 0px;
    width: 150px;
  }
  label + * {
    margin: 5px 0px;
    width: 200px;
  }
  .clear {
    clear: both;
  }
</style>

<div>
  <label for="autologin2">Remember Me 2</label>
  <span><input type="checkbox" class="checkbox" id="autologin2" name="autologin2" value="1"></span>
  <div class="clear">
</div>

screenshot of jsfiddle showing the centered and non-centered checkboxes

jsfiddle

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
Posted by: Nycki

79823818

Date: 2025-11-18 20:54:57
Score: 2
Natty:
Report link

You can securely put a Google Map in your email, your web app secretly grabs the map picture using your hidden key, and then sends that picture along with the email instead of asking the recipient's mail program to find it.

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

79823814

Date: 2025-11-18 20:49:56
Score: 3
Natty:
Report link

Not really sure why the number of syscalls would matter in that discussion if both FileReader, InputStreamReader having an internal buffering mechanism perform the same number of syscalls as the BufferedReader.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: sebkaminski16

79823794

Date: 2025-11-18 20:25:50
Score: 0.5
Natty:
Report link

Thank you all for your answers. I'm still somewhat confused about how in my example ap isn't sent by pointer to va_arg() but needs to be sent by pointer to the function calling va_arg() or something very bad might happen. Maybe my confusion stems from me thinking va_arg() is a function while it's actually a macro, which is very different now that I think about it.

Richard, I also tried mixing types up between int and long but couldn't get any incorrect or unexpected return from va_arg(). I tried to mishandle it by giving it incorrect types but didn't manage to break it.

Thank you for mentioning that stdarg.h and stdio.h are bad practice. I still need to use those as part of my C programming course but at least now I know not to use them moving forward.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: m0d1nst4ll3r

79823785

Date: 2025-11-18 20:13:47
Score: 1
Natty:
Report link

RemoteBrick – The First Java Library for the Original LEGO® SPIKE™ Prime / Robot Inventor Hub (51515)

Because there was simply no Java library that could control the original LEGO® Education Inventor Hub (51515) with its factory firmware, I built RemoteBrick completely from scratch.

Open-source project → https://github.com/juniorjacki/RemoteBrick

Now you can finally write real Java programs for SPIKE™ Prime and Robot Inventor – no flashing, no Pybricks, no workarounds needed.

RemoteBrick communicates directly with the hub via Bluetooth Classic (SPP) and gives you 100 % of the features the official LEGO app has – just in pure Java.

Current Features in v1.3.0:

Quick Start (3 Steps)

  1. Download the latest JAR → Releases
  2. Add the JAR to your Java project (IntelliJ, Eclipse, VS Code, etc.)
  3. Pair your hub in Windows Bluetooth settings and note the MAC address

Example – Connect & Drive

import de.juniorjacki.remotebrick.Hub;
import de.juniorjacki.remotebrick.devices.Motor;
import de.juniorjacki.remotebrick.types.*;


public class Demo {
    public static void main(String[] args) throws InterruptedException {
        try (var hub = Hub.connect("AA:BB:CC:DD:EE:FF")) {  // ← your hub's MAC
            if (hub == null) {
                System.out.println("Connection failed!");
                return;
            }


            Motor left  = (Motor) hub.getDevice(Port.A);
            Motor right = (Motor) hub.getDevice(Port.B);


            // Heartbeat animation + drive forward 3 seconds
            hub.getControl().display().animation(Animation.HEARTBEAT, true).send();
            hub.getControl().move().startSpeeds(left, right, 75, 75, 100).send();
            Thread.sleep(3000);
            hub.getControl().move().stop(left, right, StopType.BRAKE).send();


            System.out.println("Done! Battery: " + hub.getBatteryPercentage() +  "%");
        }
    }
}
Reasons:
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: JuniorJacki

79823782

Date: 2025-11-18 20:07:46
Score: 0.5
Natty:
Report link

I had the same issue until I changed my default browser to Chrome. I don't know if this is a universal fix, but if you already meet the requirements in the FAQ and nothing else has worked, maybe try this.

Reasons:
  • Whitelisted phrase (-1): try this
  • Whitelisted phrase (-1): I had the same
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: elias östby

79823779

Date: 2025-11-18 20:06:45
Score: 2
Natty:
Report link

Same issue. In some of X threads like this: https://x.com/antigravity/status/1990813606217236828 (comments section), they mentioned that they're working on resolving these overload issues.

Looks like a lot more people are trying to download this. Since they've released similar tools like Jules earlier, those were not really clubbed with major model releases like Gemini 3.0. This time they've clubbed the 2, so they seem to have received a lot more traffic than expected.

It should be fixed in a few hours when the traffic decreases.

Reasons:
  • RegEx Blacklisted phrase (1): Same issue
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Shubham Garg

79823778

Date: 2025-11-18 20:05:45
Score: 2.5
Natty:
Report link

Tried this work around and was able to complete the process successfully

Work Around : In Terminal Execution Policy - uncheck "Use the default allowlist for the browser"

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: P C

79823774

Date: 2025-11-18 20:03:44
Score: 5.5
Natty:
Report link

Same issue here - I am using a personal - pretty typical :(

Reasons:
  • Blacklisted phrase (1): :(
  • RegEx Blacklisted phrase (1): Same issue
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Abundant Resources

79823773

Date: 2025-11-18 20:01:43
Score: 0.5
Natty:
Report link
    var hasValue = Application.Current.Resources
                  .TryGetValue("Primary01", out object primaryColorObj);

    if (hasValue && primaryColorObj is Color primaryColor)
        rtn = primaryColor;
    else
        rtn = Color.FromHex("#173880");
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Christine

79823766

Date: 2025-11-18 19:38:38
Score: 3
Natty:
Report link

Same exact issue, saw in documentation it needs to be a personal account, so an account with a non workspace but I used my personal as well and still stuck

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

79823758

Date: 2025-11-18 19:27:36
Score: 1.5
Natty:
Report link

My code and everything was 100% the issue was in the iOS 26

iOS 26 has issues with notifications sounds and had to restart the real phone and push it into ringing mode and silent mode in order for the notifications sounds to work correctly.

i realized that after i tested the app on iPhone with iOS 17.4 and the sounds worked immediately.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Balalen

79823757

Date: 2025-11-18 19:27:36
Score: 2.5
Natty:
Report link

Adding to @TheDoomDestroyer answer; disabling only those settings didn't worked.

I also had to **disable ** this new one which was turned on by default: 'Limit job authorization scope to referenced Azure DevOps repositories'

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @TheDoomDestroyer
  • Low reputation (0.5):
Posted by: brodrigs

79823752

Date: 2025-11-18 19:22:35
Score: 1.5
Natty:
Report link

# He_100M_e.txt dosyasını oluştur

with open("He_100M_e.txt", "w") as f:

f.write("H" + "e" \* 100_000_000)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: miraçyiğit yaldır

79823745

Date: 2025-11-18 19:13:32
Score: 1
Natty:
Report link

I had the exact same problem and finally figured out what I was doing wrong. The requests module references the urllib3 module which references the ssl module. I had a file in my project called ssl.py and so the import ssl directive was picking up my file instead of the module; hence, the missing methods error.

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sandy Grewal

79823743

Date: 2025-11-18 19:12:32
Score: 0.5
Natty:
Report link

With conditional number formatting you can skip displaying "0h" and "0mn":

[<0.000694][ss]"s";[<0.04166][m]"m" ss"s";[h]"h" mm"m" ss"s"

This will display 2m 35s and 59s instead of 0m 59s.

Do keep in mind that in Excel, 1 = 1 day, so 1 hour is 1/24, 1 minute is 1/(24*60) and 1 second is 1/(24*3600).

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

79823741

Date: 2025-11-18 19:12:32
Score: 2
Natty:
Report link

add this before the webview

    WebKit2.WebView.static_type();
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sanjai Shaarugesh

79823738

Date: 2025-11-18 19:10:31
Score: 1
Natty:
Report link

use this and your problem should be fix

frame = tk.Frame(root, width=600, height=400, background="seashell3")
frame.pack(padx=10, pady=10)  # pack it on the next line
tk.Label(frame, text="Select a file to encrypt:", fg="black").pack(pady=10)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: NIghtknight

79823731

Date: 2025-11-18 19:03:30
Score: 2.5
Natty:
Report link

Two solutions to this problem can be found at https://learn.microsoft.com/en-us/answers/questions/5600456/excel-vba-strange-runtime-error-6-overflow?page=1&orderby=Helpful&comment=answer-12314719&translated=false#newest-answer-comment. The simplest is to add right after the Debug.Print statement:

    DoEvents  ' Force UI refresh
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Tom Kreutz

79823729

Date: 2025-11-18 18:58:29
Score: 3
Natty:
Report link

We can now use MKReverseGeocodingRequest.

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Lorenzo Fiamingo

79823714

Date: 2025-11-18 18:36:23
Score: 1
Natty:
Report link

A quickish go with my own preferred tools. Is this what you're describing?

library(data.table)
library(fjoin) # install.packages("fjoin", repos=c("https://trobx.r-universe.dev"))
# individual-specific end dates
df_limits <- fread("
id   end_date
 1 2021-06-15
 2 2018-09-03
 3 2016-03-30 
")

# spells of care
df_spells <- fread("
id spell      start        end
 1     1 2015-01-13 2015-07-19
 1     2 2016-04-14 2017-02-07
 1     3 2018-05-24 2019-10-15
 2     1 2015-07-23 2017-01-05
 2     2 2018-02-13 2018-06-04
 2     3 2019-07-31 2021-02-04
 3     1 2015-02-16 2016-11-19
 3     2 2018-04-29 2020-03-01
")
START <- as.IDate("2014-01-01")

# how many months back do we need to go per id?
df_limits[, months_back := 12L * (year(end_date) - year(START)) + month(end_date)]

# expand to a grid for each id
grid <- df_limits[, .(id, end_date, month_end=seq(end_date, length.out = months_back, by = "-1 month")), by=.I][, I := NULL]
grid[, month_start:= fifelse(id==shift(id, type="lead"), shift(month_end, type="lead") +1L, START)]
grid[.N, month_start := START]
setcolorder(grid, c("id", "end_date", "month_start", "month_end")) 
setkeyv(grid, c("id", "month_start", "month_end")) 

# overlaps of care spells with the grid for each patient
ans <- fjoin_left(grid,
                  df_spells,
                  on = c("id", "month_end >= start", "month_start <= end"),
                  mult.x = "first", # in case there are overlapping care spells (we don't want multiple "hits")
                  indicate = TRUE) # 3L if match, 1L if not
ans[, in_care := .join==3L]

# output (for patient 2)
ans[id==2L]

Key: <id, month_start, month_end>
    .join    id   end_date month_start  month_end spell      start        end in_care
    <int> <int>     <IDat>      <IDat>     <IDat> <int>     <IDat>     <IDat>  <lgcl>
 1:     1     2 2018-09-03  2014-01-01 2014-01-03    NA       <NA>       <NA>   FALSE
 2:     1     2 2018-09-03  2014-01-04 2014-02-03    NA       <NA>       <NA>   FALSE
 3:     1     2 2018-09-03  2014-02-04 2014-03-03    NA       <NA>       <NA>   FALSE
 4:     1     2 2018-09-03  2014-03-04 2014-04-03    NA       <NA>       <NA>   FALSE
 5:     1     2 2018-09-03  2014-04-04 2014-05-03    NA       <NA>       <NA>   FALSE
 6:     1     2 2018-09-03  2014-05-04 2014-06-03    NA       <NA>       <NA>   FALSE
 7:     1     2 2018-09-03  2014-06-04 2014-07-03    NA       <NA>       <NA>   FALSE
 8:     1     2 2018-09-03  2014-07-04 2014-08-03    NA       <NA>       <NA>   FALSE
 9:     1     2 2018-09-03  2014-08-04 2014-09-03    NA       <NA>       <NA>   FALSE
10:     1     2 2018-09-03  2014-09-04 2014-10-03    NA       <NA>       <NA>   FALSE
11:     1     2 2018-09-03  2014-10-04 2014-11-03    NA       <NA>       <NA>   FALSE
12:     1     2 2018-09-03  2014-11-04 2014-12-03    NA       <NA>       <NA>   FALSE
13:     1     2 2018-09-03  2014-12-04 2015-01-03    NA       <NA>       <NA>   FALSE
14:     1     2 2018-09-03  2015-01-04 2015-02-03    NA       <NA>       <NA>   FALSE
15:     1     2 2018-09-03  2015-02-04 2015-03-03    NA       <NA>       <NA>   FALSE
16:     1     2 2018-09-03  2015-03-04 2015-04-03    NA       <NA>       <NA>   FALSE
17:     1     2 2018-09-03  2015-04-04 2015-05-03    NA       <NA>       <NA>   FALSE
18:     1     2 2018-09-03  2015-05-04 2015-06-03    NA       <NA>       <NA>   FALSE
19:     1     2 2018-09-03  2015-06-04 2015-07-03    NA       <NA>       <NA>   FALSE
20:     3     2 2018-09-03  2015-07-04 2015-08-03     1 2015-07-23 2017-01-05    TRUE
21:     3     2 2018-09-03  2015-08-04 2015-09-03     1 2015-07-23 2017-01-05    TRUE
22:     3     2 2018-09-03  2015-09-04 2015-10-03     1 2015-07-23 2017-01-05    TRUE
23:     3     2 2018-09-03  2015-10-04 2015-11-03     1 2015-07-23 2017-01-05    TRUE
24:     3     2 2018-09-03  2015-11-04 2015-12-03     1 2015-07-23 2017-01-05    TRUE
25:     3     2 2018-09-03  2015-12-04 2016-01-03     1 2015-07-23 2017-01-05    TRUE
26:     3     2 2018-09-03  2016-01-04 2016-02-03     1 2015-07-23 2017-01-05    TRUE
27:     3     2 2018-09-03  2016-02-04 2016-03-03     1 2015-07-23 2017-01-05    TRUE
28:     3     2 2018-09-03  2016-03-04 2016-04-03     1 2015-07-23 2017-01-05    TRUE
29:     3     2 2018-09-03  2016-04-04 2016-05-03     1 2015-07-23 2017-01-05    TRUE
30:     3     2 2018-09-03  2016-05-04 2016-06-03     1 2015-07-23 2017-01-05    TRUE
31:     3     2 2018-09-03  2016-06-04 2016-07-03     1 2015-07-23 2017-01-05    TRUE
32:     3     2 2018-09-03  2016-07-04 2016-08-03     1 2015-07-23 2017-01-05    TRUE
33:     3     2 2018-09-03  2016-08-04 2016-09-03     1 2015-07-23 2017-01-05    TRUE
34:     3     2 2018-09-03  2016-09-04 2016-10-03     1 2015-07-23 2017-01-05    TRUE
35:     3     2 2018-09-03  2016-10-04 2016-11-03     1 2015-07-23 2017-01-05    TRUE
36:     3     2 2018-09-03  2016-11-04 2016-12-03     1 2015-07-23 2017-01-05    TRUE
37:     3     2 2018-09-03  2016-12-04 2017-01-03     1 2015-07-23 2017-01-05    TRUE
38:     3     2 2018-09-03  2017-01-04 2017-02-03     1 2015-07-23 2017-01-05    TRUE
39:     1     2 2018-09-03  2017-02-04 2017-03-03    NA       <NA>       <NA>   FALSE
40:     1     2 2018-09-03  2017-03-04 2017-04-03    NA       <NA>       <NA>   FALSE
41:     1     2 2018-09-03  2017-04-04 2017-05-03    NA       <NA>       <NA>   FALSE
42:     1     2 2018-09-03  2017-05-04 2017-06-03    NA       <NA>       <NA>   FALSE
43:     1     2 2018-09-03  2017-06-04 2017-07-03    NA       <NA>       <NA>   FALSE
44:     1     2 2018-09-03  2017-07-04 2017-08-03    NA       <NA>       <NA>   FALSE
45:     1     2 2018-09-03  2017-08-04 2017-09-03    NA       <NA>       <NA>   FALSE
46:     1     2 2018-09-03  2017-09-04 2017-10-03    NA       <NA>       <NA>   FALSE
47:     1     2 2018-09-03  2017-10-04 2017-11-03    NA       <NA>       <NA>   FALSE
48:     1     2 2018-09-03  2017-11-04 2017-12-03    NA       <NA>       <NA>   FALSE
49:     1     2 2018-09-03  2017-12-04 2018-01-03    NA       <NA>       <NA>   FALSE
50:     1     2 2018-09-03  2018-01-04 2018-02-03    NA       <NA>       <NA>   FALSE
51:     3     2 2018-09-03  2018-02-04 2018-03-03     2 2018-02-13 2018-06-04    TRUE
52:     3     2 2018-09-03  2018-03-04 2018-04-03     2 2018-02-13 2018-06-04    TRUE
53:     3     2 2018-09-03  2018-04-04 2018-05-03     2 2018-02-13 2018-06-04    TRUE
54:     3     2 2018-09-03  2018-05-04 2018-06-03     2 2018-02-13 2018-06-04    TRUE
55:     3     2 2018-09-03  2018-06-04 2018-07-03     2 2018-02-13 2018-06-04    TRUE
56:     1     2 2018-09-03  2018-07-04 2018-08-03    NA       <NA>       <NA>   FALSE
57:     1     2 2018-09-03  2018-08-04 2018-09-03    NA       <NA>       <NA>   FALSE
    .join    id   end_date month_start  month_end spell      start        end in_care

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Tobo

79823703

Date: 2025-11-18 18:22:19
Score: 1.5
Natty:
Report link

If this issue comes in IntelliJ Idea, then it's problem with the ssh key paraphrase.

I would suggest deleting the ssh keys both from local machine and GitHub account.

Generate new set of keys without paraphrase and do the setup, this time it should work.

for deleting the ssh keys, go to ssh folder

For mac os , linux

Execute these commands

1.cd ~/.ssh

2.ls

  1. check for keys in the output of above ls command.

  2. delete the keys which start with id_rsa or which start with id.

For windows as well Process remains same, deleting the keys and generating again without parapharse, but i am unable to give the commands.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Bhanu Prathap

79823699

Date: 2025-11-18 18:20:18
Score: 1
Natty:
Report link

Try using the JAR directly:

java -jar C:\kotlinc\lib\kotlin-compiler.jar file.kts

You could also try putting only kotlinc in a no-space path (e.g. C:\Kotlin) or running scripts through cmd.exe.

In the end, its important to note that the problem isn’t with Kotlin itself.

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

79823692

Date: 2025-11-18 18:11:15
Score: 0.5
Natty:
Report link

I was trying to avoid having to edit my specifications to store the Id in a property but that does indeed work. However, the API for the Ardalis library might have changed since there is no Criteria property in the spec object. It does have a WhereExpressions collection with one entry but nowhere in there do I find a textual representation of my Guid.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Martin