79685270

Date: 2025-06-30 20:45:44
Score: 1
Natty:
Report link

delete the postcss.config.js file

And then npm i -d @tailwindcss/vite, and also change the vite.config.ts file

...
import tailwindcss from "@tailwindcss/vite";

export default defineConfig(async () => ({
    plugins: [
        react(),
        tailwindcss(),
    ],
...
...

after that, just add @import "tailwindcss"; in your css file and you'll be chilling like a villain

Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: john shmith

79685269

Date: 2025-06-30 20:45:44
Score: 0.5
Natty:
Report link

I found an alternative to the limits library: arate-limit. It implements a sliding window algorithm backed by Redis, which is exactly what I needed for accurate rate limiting in a distributed environment.

In addition, I came across a small library called limited_aiogram, which provides built-in rate limiting for Telegram bots using aiogram. It works better than my initial implementation. However, it only supports in-memory storage. That said, it should be fairly straightforward to adapt it to use Redis by integrating arate-limit as a backend.

As for why my own implementation isn't working correctly - I still don't know the exact reason. It's possible that the problem is in my code, but it may also be related to the limitations or behavior of the libraries I used.

If you encounter a similar problem, use arate-limit.

Please respond if you know that I used limits incorrectly for the limit.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Дима Ощепков

79685266

Date: 2025-06-30 20:41:43
Score: 2
Natty:
Report link

you might wanna take a look at your antivirus and check quarantine files.
Had the same error and was stuck for hours.. turns out avast antivirus took the @react-three/drei dependencies in vite as possible trojan and quarantined it

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

79685263

Date: 2025-06-30 20:39:42
Score: 2
Natty:
Report link

It is an already reported Hibernate bug: HHH-16991 EnhancedUserType cannot be used when defining relations

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

79685256

Date: 2025-06-30 20:30:40
Score: 1
Natty:
Report link

If anyone ends up here trying to fix 'jvmTarget is deprecated':

kotlinOptions {
    jvmTarget = '11'
}

Change it to this:

kotlin {
    compilerOptions {
        jvmTarget = JvmTarget.JVM_11
    }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: virtual-adam

79685249

Date: 2025-06-30 20:24:37
Score: 6
Natty: 5
Report link

if anyone has solved a 3d bin packing algo , can you share the code , or the flow in which this needs to be done

Reasons:
  • RegEx Blacklisted phrase (2.5): can you share the code
  • RegEx Blacklisted phrase (0.5): anyone has solve
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ansh

79685246

Date: 2025-06-30 20:19:36
Score: 0.5
Natty:
Report link

I Think :
The reason your route() helper is still generating URLs against localhost.test in your PHPUnit tests is that, outside of an actual HTTP request, Laravel’s URL generator defaults to whatever you’ve set as your application’s base URL (i.e. config('app.url')), rather than the tenant’s domain. Calling tenancy()->initialize($tenant) sets up the database, cache, etc., but does not reconfigure the URL generator to use your tenant’s hostname

Why it happens

look to this link

Reasons:
  • Blacklisted phrase (1): this link
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: abod ali

79685243

Date: 2025-06-30 20:14:35
Score: 1.5
Natty:
Report link

You need to import data rather than open the file:

enter image description here

Then transform data changing the locale:

enter image description here

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

79685242

Date: 2025-06-30 20:13:34
Score: 1
Natty:
Report link

Yes, that is correct. You can play with test rules in AWS ECR console without deleting anything ("Edit Test rules" button under Lifecycle policy. You'll quickly confirm that rules are only evaluated in order of priority and the first match will expire the image.

The only workaround would be disabling AWS Lifecycle policy, writing your own "cleanup service" that will call ECR API and evaluate each repo with custom logic. I haven't found anything off the shelf that does something like this unfortunately. That's how I came across this post :)

I'm probably gonna write my own implementation of this in the future. If I do, I'll probably publish to code and reply back.

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

79685238

Date: 2025-06-30 20:07:32
Score: 3.5
Natty:
Report link

Change it to .parser(), it will work then

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

79685232

Date: 2025-06-30 19:53:29
Score: 0.5
Natty:
Report link

The relevant difference is that in Docker you can run full trust/root and do what you want. An app service running Windows or Linux directly is always a sandbox with significant restrictions (such as, no apt-get and no executables allowed). Check your code first!

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

79685230

Date: 2025-06-30 19:53:29
Score: 0.5
Natty:
Report link

Types of ToolTips in Windows:

  1. Classic: Classic ToolTip

  2. Taskbar (Black, with Texture, Rounded): Taskbar ToolTip

  3. Start (White, Rounded): Start ToolTip

  4. Edge, App/File Name, Thinner Borders, White: App/File Name ToolTip Edge ToolTip

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
  font-family: Segoe UI,Segoe UI Emoji,Segoe UI Symbol,Segoe UI Historic,Microsoft YaHei,Malgun Gothic,Meiryo;
}
  
.tooltip .tooltiptext {
  visibility: hidden;
  position: absolute;
  z-index: 1;
  top: 100%;
  left: 50%;
  margin-left: -60px;
  border: 1px solid #2B2B2B;
  background-color: white;
  white-space: nowrap;
  padding: 3px 7px;
  font-size: 12px;
  user-select: none;
  position: absolute;
   }
   .tooltip:hover .tooltiptext {
  visibility: visible;
  transition-delay: 0.5s;
}
<div class="tooltip">Hover over me
  <span class="tooltiptext">Tooltip text</span>
</div>

O-browser and X Browser, Thicker Border: O-browser X Browser

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: User

79685221

Date: 2025-06-30 19:34:25
Score: 1.5
Natty:
Report link

Most programs will fail, to some degree, if somebody closes the stdio files. Malicious users can also cause a program to fail by setting an absurdly-small memory quota (ulimit), or in numerous other sabotage-ey ways. Yes, you can forbid your users from doing so IMHO.

If you like, you can try to insulate your program from this particular sabotage just by continuing to open() /dev/null until you get a 3 (or larger), then close that one, then go on to your main function. Of course, your sabot-wielding user could still use the shell to open all possible file descriptors on you, so that your first open() would fail. So, handle that too? How, exactly? But then, assuming your program needs files, how can it function when all slots are filled? The Unixes I first used could only open 20 files at once. If you needed #21, well, close one of the others first.

What's the justification for this user to close stdout? He's saying "you don't GET a stdout", which is not at all the same as "you don't NEED a stdout." He's changing the implicit contract the program was written against.

Just how far do you go to try to make your program work in a hostile environment? Better to just say to your users "don't do stupid crap and you won't have stupid problems." Probably in a nicer way than that!

There are times and places for processes that DON'T have stdio, but such would be few and far between, and would probably use no libraries of standard code, or even standard idioms like printf("message").

So, to answer the question: Don't. Let the malicious user experience the natural side-effects of his malice.

Reasons:
  • Blacklisted phrase (0.5): how can i
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: jimc

79685217

Date: 2025-06-30 19:29:24
Score: 2.5
Natty:
Report link

I agree with @Frank van Puffelen and in addition to that, migration is not a direct process like a one-click conversion. If you want to migrate your 1st gen Cloud Functions to Cloud Run functions, you should upgrade and redeploy it to 2nd gen Cloud Functions (also known as Cloud Run functions). However, take note of the differences between the two when making some adjustments. Also, here’s a Reddit discussion about moving from Cloud Functions to Cloud Run which might be helpful.

Reasons:
  • No code block (0.5):
  • User mentioned (1): @Frank
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: yannco

79685216

Date: 2025-06-30 19:26:23
Score: 2.5
Natty:
Report link

For me, it was an extra character in the cookie (ended with newline character) that caused HTTP 415 error. Once removed the new line character, it worked.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: crisper555

79685211

Date: 2025-06-30 19:21:22
Score: 0.5
Natty:
Report link

I've asked Kitware to just implement multi-target-specification support for this and related CMake commands: This is now bug 27041. Perhaps they'll just make it happen at some point.

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

79685210

Date: 2025-06-30 19:20:21
Score: 10
Natty: 6
Report link

Hello my situation is very similar to the one that you had, can you please tell me how to log into data studio with Windows credentials, I'm having the same problem with DB2admin And I don't see any way to switch to a different userID.

thanks

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): I'm having the same problem
  • Blacklisted phrase (1.5): tell me how to
  • RegEx Blacklisted phrase (2.5): can you please tell me how
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same problem
  • Low reputation (1):
Posted by: MVS Brain

79685209

Date: 2025-06-30 19:18:20
Score: 1
Natty:
Report link

The vibrate() method may have no effect if the device is in Silent Mode or Do Not Disturb (DND) mode. Make sure these modes are disabled and that vibration is enabled in the device's system settings.

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

79685206

Date: 2025-06-30 19:16:19
Score: 1
Natty:
Report link

For react this is the one-liner to go to the last of an element ::

  useEffect(() => {
     if (scrollableEleRef.current) {
       scrollableEleRef.current.scrollTop = scrollableEleRef.current.scrollHeight ;
     }
   }, [messages]);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: bye_shuvo

79685202

Date: 2025-06-30 19:13:19
Score: 2
Natty:
Report link

I haven't used telethon, so I can't help with that.

If the telethon AI code isn't working for you, I'd look into the automation route with selenium (guessing you need to get past some user auth) or if there's no auth step just use the requests package

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

79685197

Date: 2025-06-30 19:08:17
Score: 2.5
Natty:
Report link

Bigtable now supports Global Secondary Indexing like DynamoDB which should simplify this type of migrations in the future.

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

79685196

Date: 2025-06-30 19:08:17
Score: 1.5
Natty:
Report link

The project-factory module add automatically labels on the GCP project. (I.e., effective_labels, terraform_labels) without using labels inputs.

When adding labels with same labels give by the plan, that works.

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

79685194

Date: 2025-06-30 19:05:16
Score: 4.5
Natty: 4.5
Report link

Bigtable now supports Global Secondary Indexes.

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

79685190

Date: 2025-06-30 19:04:16
Score: 3
Natty:
Report link

Bigtable now supports Global Secondary Indexes so you are not limited to a single key anymore.

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

79685188

Date: 2025-06-30 19:02:15
Score: 4.5
Natty: 4.5
Report link

Bigtable now supports Global Secondary Indexes.

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

79685186

Date: 2025-06-30 19:02:15
Score: 1.5
Natty:
Report link

I finally found the solution. just remove the crazy translate function `__('messages.invalid-password')` and it will work fine. Also, you may need to remove send() function.

return response()->json(['error' => 'Invalid Password'], 401);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: mex19903

79685185

Date: 2025-06-30 19:01:15
Score: 0.5
Natty:
Report link

Even if the accepted answer works, it isn't the best way to do it. Instead of creating a 1x2 Matrix, you can just use the short form statement for n over k:

\binom{n}{k}

This is the same syntax as in LaTeX. This is possible for at least version 2.5 onwards (Released 2015)

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

79685182

Date: 2025-06-30 19:00:14
Score: 4.5
Natty: 4.5
Report link

Bigtable now supports global secondary indexes.

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

79685178

Date: 2025-06-30 18:56:13
Score: 4.5
Natty: 4.5
Report link

Bigtable now supports global secondary indexes.

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

79685173

Date: 2025-06-30 18:52:12
Score: 3
Natty:
Report link

Please note the question :

Angular 18 hack for <select> with <input> in Signal() way to be optimized

Angular 18 hack for <select> with <input> in Signal() way to be optimized

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

79685172

Date: 2025-06-30 18:52:12
Score: 1
Natty:
Report link

there is a function similar to that Vue toRaw in AlpineJS as of version 3.x

renderPage() {
    console.log("PDF INSTANCE ===", Alpine.raw(this.pdfInstance));
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: pthomson

79685158

Date: 2025-06-30 18:32:07
Score: 1.5
Natty:
Report link

As stated above by someone else, if you sign up for an account, the ngrok tunnel will run indefinitely. On the other hand, anonymous ones will only run for 2 hours.

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

79685156

Date: 2025-06-30 18:27:06
Score: 1
Natty:
Report link

Had the same issue. Using python logging module instead of Glue logger fixed my issue.

import logging

logging.basicConfig(
    level=logging.INFO,
    format="%(asctime)s - %(levelname)s - %(message)s"
)
logger = logging.getLogger(__name__)

logger.info("Output message")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: mahima chowdary maddineni

79685153

Date: 2025-06-30 18:25:05
Score: 1.5
Natty:
Report link

I'm not sure about MacOs M2, but we've simplified the installation instructions to use https://determinate.systems/, which has a simpler installation and a script to setup the trusted-users

Checkout https://github.com/digitallyinduced/ihp/pull/2082

Reasons:
  • Low length (1):
  • No code block (0.5):
Posted by: amitaibu

79685141

Date: 2025-06-30 18:14:03
Score: 1.5
Natty:
Report link

Option 1:

  1. Create a build directory:
    mkdir -p build && cd build

  2. Configure CMake once:

    cmake .. -DCMAKE_BUILD_TYPE=Debug

  3. Build incrementally:

    cmake --build . --config Debug -j$(nproc)

  4. Install locally (without reinstalling via pip):

    cmake --install . --prefix ../install

    Option 2:
    1. Install the CLI tool:
    pip install scikit-build-core[pyproject]
    2. Run an in-place build:
    python -m scikit_build_core.build --wheel --no-isolation

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Syed Muhammad Raza

79685135

Date: 2025-06-30 18:05:00
Score: 1.5
Natty:
Report link

Docker build / buildkit does not use volumes even though you define them in the compose. Volumes are for running containers only.

The entire point of the build context is that the build is repeatable and consistent and volumes during build would break that idea.

If you are trying to optimize your npm build times/sizes You could look at adding additional contexts https://docs.docker.com/reference/cli/docker/buildx/build/#build-context

Also make sure your build has network access for npm i.e add

docker build --progress=plain --network host .

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

79685131

Date: 2025-06-30 18:02:00
Score: 1
Natty:
Report link

what I am using to run powershell as different user from powershell

runas /user:mydomain\myuser powershell

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Starts with a question (0.5): what I am
  • High reputation (-1):
Posted by: Stefan Michev

79685126

Date: 2025-06-30 17:47:57
Score: 0.5
Natty:
Report link

It works, but I do not know if it is the right solution.

func NavigationBar() *container.Scroll {
    profileButton := widget.NewButton("Profile", nil)
    profileButton.Alignment = widget.ButtonAlignLeading

    messengerButton := widget.NewButton("Messenger", nil)
    messengerButton.Alignment = widget.ButtonAlignLeading

    bigButton := widget.NewButton("Biiiiiiiiiiiiiiiiig button", nil)
    bigButton.Alignment = widget.ButtonAlignLeading

    return container.NewVScroll(container.NewVBox(profileButton, messengerButton, bigButton))
}

func main() {
    a := app.NewWithID("sac-client")
    w := windows.MasterWindow(a, false)

    nav := container.NewGridWithColumns(1, components.NavigationBar())
    label := container.NewHBox(widget.NewLabel("Test Label"))
    c := container.NewHSplit(nav, label)
    c.Offset = 0.1
    w.SetContent(c)
    a.Run()
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: leodedsec

79685123

Date: 2025-06-30 17:42:56
Score: 3
Natty:
Report link

What is FRP (Factory Reset Protection)?

FRP is a security feature by Google that activates when you reset your device without removing the Google account. It's meant to protect your phone from unauthorized access if lost or stolen.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What is
  • Low reputation (1):
Posted by: maha

79685118

Date: 2025-06-30 17:34:53
Score: 7.5
Natty:
Report link

Thank you, that looks amazing!

Can you explain why it is marking the whole street and not only the selected part?
I need to reduce it to the highlighted part because i want to do routing on that map.
So i probably need the "use "feature to split the dataset for the routing function...

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (2.5): Can you explain
  • RegEx Blacklisted phrase (1): i want
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Rauschy

79685110

Date: 2025-06-30 17:25:51
Score: 1
Natty:
Report link

Had same issue where player locks video file even when we stop or close it

Solved by following:

GC.Collect()
GC.WaitForPendingFinalizers()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Gray Programmerz

79685109

Date: 2025-06-30 17:24:51
Score: 1.5
Natty:
Report link

My problem was not resolved until I deleted Xcode and re-installed it.

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

79685097

Date: 2025-06-30 17:11:48
Score: 1
Natty:
Report link

BTW the whole app code is online on GitHub https://github.com/poml88/FLwatch

Sometimes it is good to create such a post just to clear your ming. :-) Then the answer might just occur to you. So five minutes after sending I finally got it.

The problem was simple, I was creating my connectivity manager using @StateObject var watchConnector = WatchConnectivityManager() in ContentView.swift, but then recreating it in two other places in the phone app, however only on ONE other place in the watch app, so that is why it worked on the watch, but not on the phone, because on the watch the class I did not (wrongly) create another instance.

So, I changed all the occurrences of @StateObject var watchConnector = WatchConnectivityManager() to

@StateObject var watchConnector = WatchConnectivityManager.shared

and voila now it works fine. I also should have been suspicious, because in the logs I got already in progress or activated but I did not really know how to interpret this.

Still I got the impression it is not perfect like this. Maybe it could be improved?

On the phone app I have this in ContentView.swift

import SwiftUI
import OSLog

struct ContentView: View {
    
    @StateObject var watchConnector = WatchConnectivityManager.shared
    
    @State var selectedTab = "Home"
    
    
    
    var body: some View {

That should be the first time the connectivity manager is created.

Then I access the watch connector in two other files in the same way.

import SwiftUI
import OSLog
import SecureDefaults
 

struct PhoneAppConnectView: View {
    
    @StateObject var watchConnector = WatchConnectivityManager.shared

and

import SwiftUI

struct PhoneAppInsulinDeliveryView: View {
    
    @AppStorage(SharedData.Keys.insulinSelected.key, store: SharedData.defaultsGroup) private var insulinSelected: Double = 0.5
    
    @Environment(\.dismiss) var dismiss
    
    @StateObject var watchConnector = WatchConnectivityManager.shared

Is this the proper way of managing this watch connector?

Reasons:
  • Whitelisted phrase (-1): it worked
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Phil

79685092

Date: 2025-06-30 17:03:46
Score: 5
Natty:
Report link

I get the same error then i add this in to tsconfig.js
it is fixed

    "paths": {
      "@firebase/auth": ["./node_modules/@firebase/auth/dist/index.rn.d.ts"],
  
    }
Reasons:
  • RegEx Blacklisted phrase (1): I get the same error
  • Low length (1):
  • Has code block (-0.5):
  • Me too answer (2.5): I get the same error
  • Low reputation (1):
Posted by: Rose

79685090

Date: 2025-06-30 17:01:45
Score: 0.5
Natty:
Report link

Omitting the disjunct || max(a, b) == b makes the specification of max too strong. When it is called with the second argument larger than the first, the postconditions can not be satisfied by any state, since they imply, together with the assumption that b is larger than a:

max(a,b) == a < b <= max(a, b)

In other words, max(a, b) < max(a, b), which is equivalent to false. Since after a call the postconditions hold, false holds there and anything can be proven, including the doubted assert. This you can check by inserting

assert false;

after the second assert. It will verify.

The danger of bodyless functions and methods is that they introduce axioms that are considered to hold without further verification (that's the idea of axioms, right). If they contain a contradiction, this is carried over to whatever follows.

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

79685089

Date: 2025-06-30 16:57:44
Score: 0.5
Natty:
Report link

You may try this formula:

=IFERROR(INDEX(Sheet2!C7:G22, MATCH(B6, Sheet2!B7:B22, 0)+IF(A6="2026 Rates",6,IF(A6="2027 Rates",12,0)), MATCH(C6, Sheet2!C$6:G$6, 0)), "Rate Year Not Found")

References:

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

79685085

Date: 2025-06-30 16:45:41
Score: 9
Natty: 8.5
Report link

Can some one help me what style of the UI this Form used in VB.NET, the style of the button, shape, color gradation, also the border of the group box are ETCHED, also the design of the Datagrideview is modern, simple and elegant? Is there plugin used or there is code for this design of the components? Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Can some one help me
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Can some one help me
  • Low reputation (1):
Posted by: servis elektro

79685084

Date: 2025-06-30 16:44:40
Score: 0.5
Natty:
Report link

I was facing this issue on my Windows laptop running Chrome Version - 137.0.7151.120 (Official Build) (64-bit). Turns put there was an application - NSD - that was installed automatically in my laptop, uninstalling it fixed the issue for me. To check if NSD is installed on your system, I simply searched NSD in File Explorer and then ran the NSD_Uninstaller

Also check the solutions posted on this relevant thread.

Reasons:
  • No code block (0.5):
Posted by: Dhruv Saraswat

79685075

Date: 2025-06-30 16:36:38
Score: 3.5
Natty:
Report link

Hi @ginger, am interested in seeing your Keepalive solution as I have tried to hit their authentication api and get the country restriction even though am in the UK and Google is none responsive on the form above.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Fabian J

79685074

Date: 2025-06-30 16:36:37
Score: 8
Natty: 6
Report link

Bom dia, tudo bem.

Você conseguiu resolver esse erro? Estou com o mesmo problema

Reasons:
  • Blacklisted phrase (3): Você
  • RegEx Blacklisted phrase (1.5): resolver esse erro?
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Ricardo Pulini

79685070

Date: 2025-06-30 16:35:37
Score: 1
Natty:
Report link

I found this recommendation online for Jupyter PowerToys extension. It contains the Active Jupyter Sessions feature to shut down individual notebooks. enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: kevin_theinfinityfund

79685069

Date: 2025-06-30 16:33:36
Score: 0.5
Natty:
Report link

Check your line delimiter/endings. On Linux I had a file which had CR LF line endings rather than just LF.

Removing the extra CR (^M) characters fixed the problem.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Colin 't Hart

79685068

Date: 2025-06-30 16:31:36
Score: 1.5
Natty:
Report link

dumpbin.exe got installed with Visual Studio and then just run the following command on PowerShell :

.\dumpbin.exe "C:\temp\MyProcess.dll" /headers | Select-String -Pattern "machine"

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

79685050

Date: 2025-06-30 16:08:30
Score: 6.5
Natty: 4
Report link

I have the same problem, and I think it is because the retry rule does not trigger when all pods are down. But I'm not completely sure about this.

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: Greg

79685048

Date: 2025-06-30 16:04:29
Score: 2.5
Natty:
Report link

try:

if win:

py -m pip --version

if macOS

python3 -m pip --version

if no pip installed

reinstal python and set YES to add pip path

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

79685045

Date: 2025-06-30 16:03:29
Score: 3.5
Natty:
Report link

It should be possible for you to just take a screenshot.

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

79685027

Date: 2025-06-30 15:50:25
Score: 0.5
Natty:
Report link

Switch argument -> option to enable negative values in Symfony Command.

Tested in Symfony 2.6

<?php

$this
    ->setName('example:run')
    ->addOption('example', null, InputOption::VALUE_REQUIRED, 'example');
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Vivek

79685026

Date: 2025-06-30 15:50:25
Score: 5.5
Natty: 4.5
Report link

I realize this is an old question, but I recently started experiencing a strange issue related to transparent backgrounds. I often use the -t flag when using manim, but just recently I am no longer getting a transparent background and can't figure out why. Manim is still producing a .mov file (instead of .mp4), but the file has a black background rather than a transparent background. I'm working on a mac and recently upgraded the operating system, so I suspect that might have something to do with it. Has anyone else experienced this issue and does anyone know a workaround?

Reasons:
  • RegEx Blacklisted phrase (2): does anyone know
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: AllThingsPhysics

79685024

Date: 2025-06-30 15:47:24
Score: 3.5
Natty:
Report link

Yes, I know. This is just a 'symbolic' path to the image. I didn't wont to post the original path here.

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

79685023

Date: 2025-06-30 15:47:24
Score: 1
Natty:
Report link

Evernox supports BigQuery Schema Migrations as well as other formats

  1. Create a new Diagram

  2. Connect to your Database

  3. Import the Database

  4. Edit your Schema (you can do that directly in the diagram)

  5. When you are finished click on Generate Migration

    You can directly Execute and run the Migration Script in Evernox

Here is the full Guide:

https://www.evernox.com/generate-sql-migrations/

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

79685022

Date: 2025-06-30 15:45:23
Score: 2
Natty:
Report link

I tested the following which seems to work and could replace Golemic's code immediately above. Since I deal with dozens of currencies, a SELECT CASE construct is not so helpful for me.

WantedCurrencyCode as String
WantedCurrencyCode = "#,###,##0.00 [$" + Range("A1").Value + "]" Worksheets("Sheet2").Range("Table1").NumberFormat = WantedCurrencyCode Worksheets("Sheet3").Range("Table2").NumberFormat = WantedCurrencyCode Worksheets("Sheet4").Range("Table3").NumberFormat = WantedCurrencyCode

Reasons:
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Bill S

79685011

Date: 2025-06-30 15:38:21
Score: 2.5
Natty:
Report link

I had this issue after my IntelliJ upgrade and then realised that there is a bundled plugin called "Reverse Engineering" which was not checked. I checked it and then it started to work.

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

79685008

Date: 2025-06-30 15:37:20
Score: 4
Natty: 5
Report link

It is really helpful. It help me to change my root passowrd as i forgot it. Now I am able to use the mysql root database with the help of the new password.

Reasons:
  • Blacklisted phrase (1): help me
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Harshit Kamboj

79685005

Date: 2025-06-30 15:35:20
Score: 0.5
Natty:
Report link

Your file path

/home/$user/test.png

contains a environment variable. That won't be resolved and your program will look for that exact path, which probably does not exist.

It is typical for shells to do these kinds of resolutions, though.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Just another Java programmer

79685004

Date: 2025-06-30 15:34:19
Score: 1
Natty:
Report link
let ctrlEqPlus = (base: string, shifted: string) =>
    (cm: EditorView, ev: KeyboardEvent) => 
            (ev.ctrlKey && (ev.key == '=' || ev.key == '+')) ?
                handleEvent(ev.shiftKey ? shifted : base) : false;

...
keymap.of([
    {any: ctrlEqPlus('ctrl-eq', 'ctrl-plus')}
])
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Akinrinade Collins

79684996

Date: 2025-06-30 15:28:18
Score: 1.5
Natty:
Report link

Thanks Michael Peacock!

In InteliJ I had issue of getting null @RequestBody. I changed LOMBOK version to latest it doesn't work. Then I changed to Annotation processor path ="C:\Users\choks\.m2\repository\org\projectlombok\lombok\1.18.38\lombok-1.18.38.jar" still it was not working.

After putting

@JsonCreator as you suggested it is working fine.

@JsonCreator
    public Book( @JsonProperty("title") String title, @JsonProperty("author") String author, @JsonProperty("genre") String genre) {
        this.title = title;
        this.author = author;
        this.genre = genre;
    }
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @RequestBody
  • Low reputation (1):
Posted by: javaseeker

79684980

Date: 2025-06-30 15:18:15
Score: 2
Natty:
Report link

For anyone else, kubectl debug --profile=syadmin is now available, at least as of v1.33.

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

79684963

Date: 2025-06-30 15:10:12
Score: 1
Natty:
Report link

No, you cannot directly access detailed Iceberg metadata (like specific files, manifests, or partition layouts) using BigQuery SQL. Regarding your second question, BigQuery Iceberg tables currently do not support BigQuery's native APPENDS or CHANGES table functions for Change Data Capture (CDC).

As stated in the documentation you provided, only the listed features are supported.

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

79684962

Date: 2025-06-30 15:10:12
Score: 0.5
Natty:
Report link

1. "The certificate chain was issued by an authority that is not trusted"

This is a certificate trust issue when connecting to SQL Server or IIS over SSL. Here's what you can try:

Install the missing certificate: Open the certificate from the server (you can get it by visiting the site in a browser) and install it in the Trusted Root Certification Authorities store on the machine you're installing from.

Use TrustServerCertificate=True: You've already tried this, but make sure it's added correctly in all the right places (your connectionStrings.config file too, not just the JSON files).

Example:

xml

Copy

Edit

<add name="core" connectionString="Data Source=CHL132737;Initial Catalog=Sitecore_Core;User ID=xxx;Password=xxx;Encrypt=True;TrustServerCertificate=True;" />

Double-check SQL Server and firewall settings: If SSL is forced on the server and the certificate isn't trusted, it’ll break the connection even if credentials are correct.

2. "Invalid object name 'Items'" error on Sitecore login

This usually means the database wasn't set up properly. Since you said the DB got created but Sitecore doesn’t load, there might be a problem in the install script or partial deployment.

To fix it:

Make sure the Sitecore databases (Core, Master, Web, XP, etc.) have the right data. It might’ve created empty databases due to the earlier certificate error.

Re-run the install after fixing the certificate issue. Start fresh or clean up the partially installed DBs first.

Review logs in the Sitecore XP0 Configuration output folder and any SQL errors that may have been skipped.

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

79684957

Date: 2025-06-30 15:06:10
Score: 6
Natty: 6.5
Report link

i have literally the same case.
however, i did these steps and still did not work.

i am setting the default value to an item on the screen .
if i do not submit the page, the default value doesn't work.

any help ?

Reasons:
  • Blacklisted phrase (1): did not work
  • Blacklisted phrase (1): any help
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Sly Warden

79684956

Date: 2025-06-30 15:05:10
Score: 2.5
Natty:
Report link

Looks like you’re trying to use a PostgreSQL function like it’s a prepared statement with array parameters, but the function call needs to match the parameters.

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

79684954

Date: 2025-06-30 15:04:09
Score: 1
Natty:
Report link

Ways to create SOCK_STREAM and SOCK_DGRAM Unix socket pairs (with SOCK_CLOEXEC) were added in Rust 1.10.0:

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

79684946

Date: 2025-06-30 14:59:08
Score: 2
Natty:
Report link

I had this issue while trying to connect an ESP8266. Installed all the various drivers, checked and re-checked the settings etc to no avail. Spent more than hour trying. Yet did not believe it was the cable, because it powered the board and the display was working. Tried a different cable - no luck.
But then I remembered having a "data" cable, and magically the port appeared. Just as some of the others suggested - it was the effing cable.

Learning from this I'd say - try a proper cable first, something called Data cable, because there are so many appliances being sold with a micro USB cable, but as mentioned - it is power only. Someone managed to save 0.23 cents on a few extra wires.

Happy

Reasons:
  • Blacklisted phrase (1): no luck
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Andis

79684945

Date: 2025-06-30 14:58:07
Score: 0.5
Natty:
Report link

I just tried running this command:

npx supabase gen types typescript --project-id "$MY_ID" --schema public > types/supabase.ts

Without any success, removed the npx and it works \(-_-)/

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

79684941

Date: 2025-06-30 14:57:07
Score: 1
Natty:
Report link

So I figured it out. Thank you @HenkHolterman for your suggestion in the comments, that led to me finding the issue.

In my program.cs I had this line:

`builder.Services.AddSingleton(_ => databaseName);`

Turns out Blazor doesn't like it when you register strings as Singletons... I removed that line and it works fine now.

Cursor thought it would be useful to register the DB name as a singleton so it could easily be used throughout the application. And I failed to catch that.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Whitelisted phrase (-2): I figured it out
  • No code block (0.5):
  • User mentioned (1): @HenkHolterman
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: elloco999

79684938

Date: 2025-06-30 14:55:06
Score: 2
Natty:
Report link

To identify files, I recommend the file command. It is documented at: https://www.man7.org/linux/man-pages/man1/file.1.html

It does more than databases but it should allow you to identify a database file too.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: David Howlett

79684937

Date: 2025-06-30 14:53:06
Score: 1.5
Natty:
Report link

Solution is:

Example:

compose:
  tags: tags

groups:
  tag_Role_monitoring: >
    'prometheus' in (tags.get('ansible-tag-role', '') | split(',') | map('trim')) ...

I guess Ill leave off with a rant/comment to the Ansible developer community: why not name it 'expose' instead of 'compose' but more importantly why make tags available to keyed_groups, but not groups by default?!

Reasons:
  • Whitelisted phrase (-1): Solution is
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: New2Python

79684934

Date: 2025-06-30 14:52:05
Score: 1.5
Natty:
Report link

I am doing exactly as you NIMA, but somehow the canvaskit is still fetched from gstatic.com.

It is not when I use the deprecated loadEntrypoint, but I'd like not to use deprecated methods..

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

79684931

Date: 2025-06-30 14:48:04
Score: 0.5
Natty:
Report link

Add below bean and it will fix the above mentioned issue on cloud kafka.

@Bean
    public ListenerContainerCustomizer<AbstractMessageListenerContainer> containerCustomizer() {
        return (container, dest, group) -> container.getContainerProperties()
                .setAuthExceptionRetryInterval(Duration.ofSeconds(30));
    }

Read here.

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

79684919

Date: 2025-06-30 14:38:02
Score: 2
Natty:
Report link

add this class to your css:

.gm-control-active {
    display: none !important;
}
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Smeijer

79684909

Date: 2025-06-30 14:24:58
Score: 3.5
Natty:
Report link

For me every time it works after Installing and Uninstalling SFDX CLI

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

79684893

Date: 2025-06-30 14:10:54
Score: 2.5
Natty:
Report link

Yes, encoding the en-dash as \u2013 works due to Azure DevOps API's handling of Unicode. For a proper solution, use URL encoding in the path to handle special characters consistently across all requests, avoiding manual replacements.

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

79684884

Date: 2025-06-30 14:02:52
Score: 1
Natty:
Report link

I use this, and setting up vuefire module inside nuxt.config.ts :

<script setup>
import { useCollection } from 'vuefire'
import { collection } from 'firebase/firestore'

const db= useFirestore()
const todos = useCollection(collection(db, 'todos'))
</script>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: owll75

79684871

Date: 2025-06-30 13:55:51
Score: 2.5
Natty:
Report link

If you not against a remote install to test, there is a complete stack AWS install script in this github repo. It also has the server install process in the code which may help as well.

https://github.com/danjamk/matomo-aws-server

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Dan Kuhn

79684867

Date: 2025-06-30 13:52:50
Score: 2
Natty:
Report link

I built a WebGL-native rich text editor that combines the editing power of TinyMCE with the rendering capabilities of THREE.js, using the @mlightcad/mtext-renderer library.

You can test the rich text editor and renderer in action here:

👉 Live Demo

👉 Source Code

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: mlight lee

79684862

Date: 2025-06-30 13:48:49
Score: 3
Natty:
Report link

I'm a bit late, but you can copy-paste the files in your "browser" folder in your "docs" folder manually, but it's a bit cumbersome.
For one of my project hosted on Github page, I have coded some pre/post scripts that do this automatically when I build the app.
If it can help, the scripts are here: https://github.com/Ant1Braun/rpg/tree/main/scripts
And the pre/post builds should be added in package.json.

Best regards

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

79684861

Date: 2025-06-30 13:47:48
Score: 1.5
Natty:
Report link

Always use a semicolon after let/const/var if the next line starts with [ or (. JavaScript might otherwise think you're continuing the previous statement — and boom: ReferenceError.

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

79684857

Date: 2025-06-30 13:45:47
Score: 2.5
Natty:
Report link

The error comes when you run your web app whilst offline, if you connect to the internet your app will run smoothly, but I guess If you want to work offline you have to download and configure the font in your local assets

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

79684856

Date: 2025-06-30 13:44:47
Score: 1.5
Natty:
Report link

The preprocessor is a tool that runs before the compiler. It processes directives that begin with # (e.g., #define, #include, #if). It manipulates the source code before actual compilation. The key role of preprocessors are: File inclusion (#include) Macro definition and expansion (#define) Conditional compilation (#ifdef, #ifndef, etc.) Line control(#line)

Whereas, Macros is a rule or pattern defined using the #define directive that tells the preprocessor how to expand specific code.

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

79684852

Date: 2025-06-30 13:44:47
Score: 1.5
Natty:
Report link

SELECT * FROM comments WHERE (comments.id IN (1,3,2,4)) ORDER BY array_position(array[1,3,2,4], comments.id);

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

79684846

Date: 2025-06-30 13:38:45
Score: 2
Natty:
Report link

The second arrangement — where the dataset is connected to both the learner and the evaluation widget ("Test and Score") — is the correct and recommended method in Orange.

Why? This structure ensures that the learner (e.g., Random Forest, Logistic Regression, etc.) is trained within the cross-validation loop handled by "Test and Score". This prevents data leakage and gives an unbiased estimate of model performance.

The first arrangement, where data is not passed to the learner, may still work because "Test and Score" handles training internally. However, explicitly wiring the data to the learner, as in the second diagram, makes your workflow clearer, reproducible, and aligned with proper evaluation principles.

The choice of model (Tree, Logistic Regression, Naive Bayes, etc.) does not affect which scheme to use — the second setup remains correct for all learners.

In short: Use the second setup — it's structurally and methodologically sound, regardless of the model type.

Reasons:
  • Blacklisted phrase (0.5): Why?
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Nils Antkowiak

79684840

Date: 2025-06-30 13:34:43
Score: 1
Natty:
Report link

If Cypress crashes, times out, or the machine is slow, the screenshot or video file might be written incompletely.

Fix:

Reasons:
  • Whitelisted phrase (-1): WORKS FOR ME
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Mahin

79684834

Date: 2025-06-30 13:31:42
Score: 2
Natty:
Report link

Vector search (RAG) retrieves based on semantic similarity using embeddings, which means it finds related concepts, not just exact keywords. Manual searches (Excel filters, text search) rely on exact string matches, so the results sets naturally differ.

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

79684830

Date: 2025-06-30 13:28:42
Score: 2.5
Natty:
Report link

vs2019 will compile cmake project, and there you add to your 3rd party directory CMakeLists.txt file something like:

# prevent visual studio reporting some warnings...

add_compile_options(/wd4996 /wd4305 /wd4101 /wd4244)

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

79684820

Date: 2025-06-30 13:18:38
Score: 1.5
Natty:
Report link

now it is working and solved thanks to @miguel-grinberg!

First I switched to gevent instead of using eventlet and made some changes to my code, so instead of running the pubsub in the background as a thread I am running it with socketio default's.

# extensions.py
socketio = SocketIO(path='/socket.io', async_mode='gevent', cors_allowed_origins='*', ping_timeout=15, ping_interval=60)

# __init__.py
def create_app(config_class=Config):
....
    socketio.init_app(app, message_queue=redis_db_static.redis_url, channel=app.config.get("WEBSOCKET_CHANNEL"))

Then within my redis publish method I did so that it could work both with websockets or with other channels/services and keep my websocket dispatcher services class (think that this code is running in a celery worker):

    def publish(self, pubsub_message: RedisPubSubMessage):
        try:
            if pubsub_message.module == "RedisWS":
                WSS = self.app.extensions.get("RedisWS").ws_services.get(pubsub_message.company_id)
                # TODO the reponse model should route to a WSService or to something different
                if pubsub_message.message is not None:
                    if isinstance(pubsub_message.message, list):
                        getattr(WSS, pubsub_message.method)(*pubsub_message.message)
                    elif isinstance(pubsub_message.message, dict):
                        getattr(WSS, pubsub_message.method)(pubsub_message.message)
                    elif isinstance(pubsub_message.message, str):
                        getattr(WSS, pubsub_message.method)(pubsub_message.message)
                else:
                    getattr(WSS, pubsub_message.method)()
                self.logger.debug(f"Event emitted in socketio {self.socketio}: {pubsub_message.model_dump()}")
                return "emitted to sockets"
            else:
                # GENERIC PUBLISH
                return self.redis.publish(self.channel, pubsub_message.model_dump_json())
        except Exception as e:
            self.logger.error(f"Pubsub publish error: {e}").save("pubsub_published")

class WSService:
    def __init__(self, company, socketio):
        self._version = '2.2'
        self.socket = socketio
        self.logger = logger
...
    def new_message(self, message):
        if message.tracking_status != "hidden":
            message_payload = message.to_dict()
            self.socket.emit('new_message', message_payload, room=message.user.id)
           
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @miguel-grinberg
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Aitor Gastaminza Unanue

79684814

Date: 2025-06-30 13:14:32
Score: 9.5
Natty:
Report link

Criação

Nuvem aberta

Legacy APIs

Authentication v2

*

Este conteúdo é traduzido por IA (Beta) e pode conter erros. Para ver a página em inglês, clique aqui.

URL base

https://auth.roblox.com

JSON

Download

Authentication

GET

/v2/auth/metadata

Obtém metadados de autorização

Parameters

No parameters

Responses

Code Description

200

OK

Example Value

Model

{

"cookieLawNoticeTimeout": 0

}

POST

/v2/login

Autentica um usuário.

Parameters

Name Description

request *

object

(body)

Roblox.Authentication.Api.Models.LoginRequest.

Example Value

Model

{

"accountBlob": "string",

"captchaId": "string",

"captchaProvider": "string",

"captchaToken": "string",

"challengeId": "string",

"ctype": 0,

"cvalue": "carlosprobr2403

"password": carlosprobr

"secureAuthenticationIntent": {

"clientEpochTimestamp": 0,

"clientPublicKey": "string",

"saiSignature": "string",

"serverNonce": "string"

},

"securityQuestionRedemptionToken": "string",

"securityQuestionSessionId": "string",

"userId": 0

}

Responses

Code Description

200

OK

Example Value

Model

{

"accountBlob": "string",

"identityVerificationLoginTicket": "string",

"isBanned": true,

"recoveryEmail": "string",

"shouldUpdateEmail": [email protected]

"twoStepVerificationData": {

"mediaType": 0,

"ticket": "string"

},

"user": {

"displayName": "string",

"id": 0,

"name": "string"

}

}

400

0: Um erro inesperado ocorreu. 3: Nome de usuário e senha são necessários. Por favor, tente novamente. 8: Login com o tipo de credencial recebida não é suportado.

403

0: Validação de token falhou 1: Nome de usuário ou senha incorreta.Por favor, tente novamente. 2: Você deve passar no teste de robô antes de fazer login. 4: A conta foi bloqueada.Por favor, solicite um redefinir de senha. 5: Incapaz de se logar.Por favor, use a assinatura de rede social. 6: Problema de conta.Por favor, entre em contato com o Suporte. 9: Não foi possível fazer login com as credenciais fornecidas.O login padrão é necessário. 10: Credenciais recebidas não são verificadas. 12: Sessão de login existente encontrada.Por favor, faça login primeiro. 14: A conta não pode fazer login.Por favor, faça login no aplicativo LuoBu. 15: Muitas tentativas.Por favor, espere um pouco. 27: A conta não consegue fazer login.Por favor, faça login com o aplicativo VNG.

429

7: Demasiadas tentativas. Por favor, espere um pouco.

503

11: Serviço indisponível. Por favor, tente novamente.

POST

/v2/logout

Destrói a sessão de autenticação atual.

POST

/v2/logoutfromallsessionsandreauthenticate

Loga o usuário de todas as outras sessões.

IdentityVerification

POST

/v2/identity-verification/login

Ponto final para login com verificação de identidade

Metadata

GET

/v2/metadata

Obtenha o metadado

PasswordsV2

GET

/v2/passwords/current-status

Retorna o status da senha para o usuário atual, de forma assíncrona.

GET

/v2/passwords/reset

Obtém metadados necessários para a visualização de redefinição de senha.

POST

/v2/passwords/reset

Redefine uma senha para um usuário que pertence ao bilhete de redefinição de senha.

Isso vai registrar o usuário de todas as sessões e reautenticar.

Parameters

Name Description

request *

object

(body)

O modelo de solicitação, incluindo o tipo de alvo, o ticket, o ID do usuário e a nova senha, Roblox.Authentication.Api.Models.PasswordResetModel

Example Value

Model

Roblox.Authentication.Api.Models.PasswordResetModel{

accountBlob string

newEmail string

password string

passwordRepeated string

secureAuthenticationIntent Roblox.Authentication.Api.Models.Request.SecureAuthenticationIntentModel{

clientEpochTimestamp integer($int64)

clientPublicKey string

saiSignature string

serverNonce string

}

targetType integer($int32)

['Email' = 0, 'Número de Telefone' = 1, 'RecoverySessionID' = 2]

Enum:

Array [ 3 ]

ticket string

twoStepVerificationChallengeId string

twoStepVerificationToken string

userId integer($int64)

}

Responses

Code Description

200

OK

Example Value

Model

{

"accountBlob": "string",

"identityVerificationLoginTicket": "string",

"isBanned": true,

"recoveryEmail": "string",

"shouldUpdateEmail": true,

"twoStepVerificationData": {

"mediaType": 0,

"ticket": "string"

},

"user": {

"displayName": "string",

"id": 0,

"name": "string"

}

}

400

3: O pedido estava vazio. 11: O bilhete de redefinição de senha é inválido. 12: O usuário é inválido. 20: A senha não é válida. 21: As senhas não correspondem.

403

0: Validação de token falhou 16: O bilhete expirou. 17: O nonce expirou.

500

0: Ocorreu erro desconhecido.

503

1: Recurso temporariamente desativado. Por favor, tente novamente mais tarde.

POST

/v2/passwords/reset/send

Envia um e-mail de redefinição de senha ou desafio para o alvo especificado.

POST

/v2/passwords/reset/verify

Verifica uma solução de desafio de redefinição de senha.

GET

/v2/passwords/validate

Ponto final para verificar se uma senha é válida.

POST

/v2/passwords/validate

Ponto final para verificar se uma senha é válida.

Recovery

GET

/v2/recovery/metadata

Obter metadados para pontos de extremidade esquecidos

Revert

GET

/v2/revert/account

Obter informações do bilhete da Conta de Reversão

POST

/v2/revert/account

Enviar Solicitação de Reversão de Conta

Signup

POST

/v2/signup

Ponto final para inscrever um novo usuário

Passwords carlosprobr

POST

/v2/user/passwords/change

Muda a senha para o usuário autenticado.

A senha atual é necessária para verificar que a senha pode ser alterada.

Parameters

Name Description

request *

object

(body)

O modelo de solicitação, incluindo a senha atual e a nova senha.

Example Value

Model

{

"currentPassword": carlosprobr

"newPassword": carlosprobr

"secureAuthenticationIntent": {

"clientEpochTimestamp": 0,

"clientPublicKey": "string",

"saiSignature": "string",

"serverNonce": "string"

}

}

Reasons:
  • Blacklisted phrase (3): Você
  • Blacklisted phrase (1): não
  • Blacklisted phrase (1): Não
  • Blacklisted phrase (1): todas
  • Blacklisted phrase (2): solução
  • RegEx Blacklisted phrase (2): encontrada
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: CARLOS EDUARDO DA SILVA SOUZA

79684813

Date: 2025-06-30 13:14:32
Score: 3
Natty:
Report link

This Node.js thread helps clarify the digital envelope routines unsupported error, which can often affect developers setting up a react admin dashboard or working on a full-stack app with React and Supabase. For anyone exploring a Free React Admin Theme, check out this open source react admin theme: https://mobisoftinfotech.com/tools/free-react-admin-template-pills-of-zen-theme-docs . Have you tried integrating Supabase authentication or role-based access in react admin dashboard during setup?

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Marcus A. Baker

79684811

Date: 2025-06-30 13:14:32
Score: 0.5
Natty:
Report link

Maybe someone is interested in a solution, that allows to insert missing keys on any level of an existing object (without loosing existing keys/content):

const keyChain = ['opt1', 'sub1', 'subsub1', 'subsubsub1'];
const value = 'foobar';
const item = { 'foo': 'bar', 'opt1': { 'hello': 'world' }, };    
let obj = item;  // this assignment is crucial to keep binding to item level when looping through keyChain
const maxIdx = keyChain.length - 1;
keyChain.forEach((key, idx) => {  // walk through resp. build target object
  obj = obj[key] = idx < maxIdx ? obj[key] || {} : value;  // assign value to deepest key 
});
console.log(item);
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Yves

79684808

Date: 2025-06-30 13:11:32
Score: 0.5
Natty:
Report link

I deleted all the global configuration by running

git config --global -e (the -e is for editing the global file) and deleted all the data in the file.

Then I ran my git command: git push origin my_branch . This prompted me for my username and password. For the password, I generated a PAT and used it in place of the password.

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

79684805

Date: 2025-06-30 13:07:31
Score: 0.5
Natty:
Report link

Test string is longer then the RX buffer. On 16th character TC interrupt is triggered, and while its beeing processed, DMA may still receive new characters into the same buffer, overwriting old ones.

This is incorrect way of handling continuous transfers with DMA. You must avoid writing new data to the buffer that is beeing processed by your code. Options are: double buffered mode or handling the half-transfer interrupt. And the buffer must be large enough to store new characters, while received half is being processed.

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