79368417

Date: 2025-01-19 04:40:05
Score: 3
Natty:
Report link

Nz JJ hn ndnsjd nn in SF f in bf jb bfjsnfndb jb jb jjnf sdj snnsnf inj unn UJ hsd UJ in sdnndfnjdnf uh nfnsnfnsbdhdjfsdknd in n FD nz

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

79368416

Date: 2025-01-19 04:40:05
Score: 3
Natty:
Report link

It's working npm uninstall ng-multiselect-dropdown -- force

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: nazmul nafiz

79368404

Date: 2025-01-19 04:25:02
Score: 0.5
Natty:
Report link

Yes, i'm use GetIt to this. example?

GetIt getIt = GetIt.instance;

void setupLocator() {
  getIt.registerLazySingleton<MyGoRouterDelegate>(() => MyGoRouterDelegate());
} //call setupLocator first in void main(){..}

And can use with

 routerConfig: getIt<MyGoRouterDelegate>().router,

And navigate without context with this

getIt<MyGoRouterDelegate>()
          .router
          .pushNamed(AppRoutes.productName, pathParameters: {'id': productModel.id.toString()}),
Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: murakami Kauê

79368403

Date: 2025-01-19 04:25:02
Score: 3
Natty:
Report link

@kasia we have implemented a proof of concept for differentiable BEM that you might be interested in. Note: it is still a work in progress

https://github.com/symbiotic-engineering/MarineHydro.jl/

This package uses AD for the gradients.

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

79368401

Date: 2025-01-19 04:24:01
Score: 1
Natty:
Report link

For the next person that sees this the issue is right here.

https://github.com/BrandonRoehl/didchange/blob/main/didchange/TestView.swift#L50

The text view is re-initilized when a Coordinator needs to be set for the state and hold the delegates that need to fix it. https://github.com/BrandonRoehl/didchange/commit/1a9a111c0063c633604a982683a99c9ff476fe63

changing

let delegate = TestDelegate()

into

public func makeCoordinator() -> TestDelegate {
    return TestDelegate()
}

sad to admit how many days this took to figure out but hope this helps someone else

Reasons:
  • Whitelisted phrase (-1): hope this helps
  • Probably link only (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Brandon Roehl

79368399

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

Your plan sounds solid, and you're correct about needing chess logic implementation on both the frontend and backend for these features. Here's why: Chess Logic Implementation:

Frontend:

Interactive Gameplay: The UI needs to validate moves locally for smooth user interaction, like highlighting legal moves and preventing illegal moves before sending them to the server. Analyzing Mode: Players might want to explore potential moves and see real-time feedback. Single-Browser Gameplay: For two players sharing a device, the frontend handles switching between perspectives without backend interaction. Backend: Validation: The backend should revalidate moves to ensure fairness and prevent cheating. Game State Management: It stores the current state of the game for persistence and updates all players in real-time. Watching Older Games: Backend logic will fetch game history for replay functionality. Multiplayer Sync: SignalR ensures that all players and spectators are updated about the game state in real time.

Recommendations:

To avoid redundancy, consider sharing chess logic between frontend and backend. For example, use a shared library or module for the core chess logic.

Use SignalR to synchronize game states efficiently across multiple clients.

Implement a database to store game histories, player stats, and saved games for analysis.

If you plan to add AI or deeper analysis, you might integrate chess engines like Stockfish on the backend.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jakob Szatan

79368397

Date: 2025-01-19 04:09:05
Score: 2
Natty:
Report link

Although downgrading or using camera ^0.10.6 can temporarily resolve this issue, it still crashes on some devices. My test device is a Samsung S21, and it crashes when I open the camera (after permission is granted). Declaring camera: 0.11.0+2 and camera_android_camerax: 0.6.11 in the pubspec.yaml file resolves this issue. Remember to run flutter pub upgrade.

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

79368385

Date: 2025-01-19 03:59:02
Score: 1
Natty:
Report link

Today you can use loadBundle which is a cache of a large operation where you can get multiple documents at once

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Amine

79368384

Date: 2025-01-19 03:58:02
Score: 3.5
Natty:
Report link

Create two separate models with one dependent variable each

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

79368381

Date: 2025-01-19 03:56:02
Score: 3
Natty:
Report link

Changing version of mac's python from 3.9 to 3.12 is useful! I just did it and Label shows up.

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

79368380

Date: 2025-01-19 03:55:01
Score: 3
Natty:
Report link

I was being dumb. as @JohnGordon an @chrslg point out, importing role.py in __init__.py solve the problem:

from . import role
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @JohnGordon
  • User mentioned (0): @chrslg
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Andika Eka

79368376

Date: 2025-01-19 03:48:59
Score: 4.5
Natty: 4.5
Report link

@Fuutek recomendation works for me. Remove the import lombok.var;

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @Fuutek
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: user2955330

79368370

Date: 2025-01-19 03:45:58
Score: 2
Natty:
Report link

https://github.com/neovim/neovim/issues/8435#issuecomment-2119332145 C:\Users\UserName\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json

{
  "actions": [
    {
      "keys": "ctrl+space",
      "command": {
        "action": "sendInput",
        "input": "\u001b[32;5u"
      }
    }
  ]
}

This solved a problem for me.

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Andrew O.

79368368

Date: 2025-01-19 03:43:57
Score: 3.5
Natty:
Report link

import subprocess

result = subprocess.getoutput('pyinstaller app.py') print(result)

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

79368348

Date: 2025-01-19 03:23:54
Score: 1
Natty:
Report link

For me, it looks like I had to visit https://github.com/copilot and then signed out and in again with my GitHub account in VS Code.

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

79368333

Date: 2025-01-19 03:12:56
Score: 4.5
Natty:
Report link

@Mohamed Mabrouki Thank you very much for the idea, I'll check it out and write down which solution worked.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): check it out
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @Mohamed
  • Low reputation (1):
Posted by: Mobile Developers Group

79368314

Date: 2025-01-19 02:41:24
Score: 3
Natty:
Report link

adb reverse tcp:3000 tcp:3000 (3000 is the port used in your local server )

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

79368312

Date: 2025-01-19 02:40:24
Score: 1
Natty:
Report link

ROOT OF PROBLEM: Clerk

The @clerk/nextjs and @clerk/clerk-react packages had react as a dependency instead of a peer dependency which therefore created a dupe, and according to React docs under Rules of Hooks:

"If you see more than one React, you’ll need to figure out why this happens and fix your dependency tree. For example, maybe a library you’re using incorrectly specifies react as a dependency (rather than a peer dependency)."

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

79368296

Date: 2025-01-19 02:21:20
Score: 0.5
Natty:
Report link

This build problem happens if you have updated java dependencies but did not upgrade Maven version. Make sure you have running the same/newer version locally on build agent and eg. GitHub actions.

Use mvn --version to verify Maven you are using.

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

79368295

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

syaa im bebeb nanaku pengin bikin vouchert wifi

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

79368293

Date: 2025-01-19 02:20:20
Score: 2.5
Natty:
Report link

You can also use my recent answer where I put all together in the comprehensive set of instructions with explanations and source code samples.

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

79368288

Date: 2025-01-19 02:14:17
Score: 7.5 🚩
Natty: 4.5
Report link

Muy agradecido con la respuesta, era la solución estuve por 3 días indagando y esto me funcionó, hasta desinstalé el DB2 4 veces y nada. Muchas gracias

Reasons:
  • Blacklisted phrase (2): gracias
  • Blacklisted phrase (3): solución
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Angel Bernaeae

79368287

Date: 2025-01-19 02:13:17
Score: 1
Natty:
Report link

As of the latest version of langchain-anthropic you can specify parallel_tools_calls when calling bind_tools:

model = ChatAnthropic(model="claude-3-5-sonnet-20241022")

model_with_tools = model.bind_tools(tools, parallel_tool_calls=False)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Chester Curme

79368285

Date: 2025-01-19 02:12:17
Score: 1.5
Natty:
Report link

No, you cannot do it just like that, it takes a bit more. Please see my recent answer.

You will find short but comprehensive instructions with code samples. The installation prompt is triggered by a button on a main application, and this button is only visible when the application is not installed as PWA.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Sergey A Kryukov

79368283

Date: 2025-01-19 02:04:15
Score: 1.5
Natty:
Report link

I could solve the same problem with editing ~/Library/Preferences/com.apple.symbolichotkeys.plist.

First, you need older version of MacOS from which you copy the plist with the middle click button enabled. Copy the plist with middle click button (old plist) and the plist of MacOS Sequoia (new plist) anywhere you want.

Second, you have to download PropertylistEdi-tan. https://anikikobo.com/archive/PropertyListEdi-tan150_a.zip. Unzip and place it anywhere you want.

Open old plist and new plist with PropertylistEdi-tan and save them as XML.

Open both xml with text editor, search the word 'button' in old plist, copy all the keys contains 'button' to new plist and save it.

Open editted new plist with PropertylistEdi-tan and save it as Binary, then copy it to ~/Library/Preferences/ , and reboot.

This worked, at least for me.

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

79368282

Date: 2025-01-19 02:03:15
Score: 2.5
Natty:
Report link

I recently provided a detailed overview, instructions and code samples for the implementation of the PWA installation using an Install button. You may find it useful. Please see my answer.

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

79368274

Date: 2025-01-19 01:50:13
Score: 0.5
Natty:
Report link

This was a bug in mypy, reported by OP in #18485 and fixed on master a bit earlier in #18366.

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

79368268

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

Seems like you have this figured out but for anyone reading in the future: Whispers supports python 3.9-3.11, so using 3.13 will result in this same error of inability building the wheel. If you run into this issue, downgrade to 3.11 in your environment for a clean and contained fix.

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

79368265

Date: 2025-01-19 01:38:10
Score: 1
Natty:
Report link

I tried many things, but the only way worked for me was that :

You should allow intenet access on both private and public networks to Node.js through firewall.

find Node.js path by right clicking on it then on open file location , then go to firewall and add it to allow list.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: AmirHossein Pezeshkpour

79368260

Date: 2025-01-19 01:33:09
Score: 1.5
Natty:
Report link

When you use zip deploy, the code will run directly in zip (that is mounted to wwwroot folder thus read only). More technical details here

https://learn.microsoft.com/en-us/azure/azure-functions/run-functions-from-deployment-package

If you don't want to use zip deploy, you need to deploy all code into wwwroot using normal deploy method. By just set WebsiteRunFromPackage to 0 won't work as there is code in wwwroot folder yet.

Reasons:
  • No code block (0.5):
  • Starts with a question (0.5): When you use
  • Low reputation (0.5):
Posted by: qkfang

79368223

Date: 2025-01-19 01:19:07
Score: 0.5
Natty:
Report link

I just came across this post. I've taken a look at it and I'm missing something. Had you configured the Astro config file to work with Astro SVG? It's an experimental feature and must be explicitly declared by adding the next object to that file:

experimental: {
  svg: true
}

If you don´t, you won't be able to work with the SVG component of Astro as it's being implemented.

You can see it at the bottom on the browser window as soon as the following page is loaded: Experimental SVG component in Astro docs

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

79368219

Date: 2025-01-19 01:12:05
Score: 2
Natty:
Report link

The problem was that I used spaces instead of tabs.

$(PROG1): $(OBJ1)
    $(CC) $(CFLAGS) -o $(PROG1) $(OBJ1)
^^^ 
here

Thanks Jens and MadScientis for their help and advice.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Ivashchenko Matvii

79368216

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

You can install osgeo by below steps:

First check the gdal confic version on your system terminal:

gdal-config --version
3.8.4

Then install by specifying proper version (the output of code up):

pip3 install --no-cache-dir --force-reinstall 'GDAL[numpy]==3.8.4'
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mohammad Hosein Abedi

79368209

Date: 2025-01-19 00:54:02
Score: 1.5
Natty:
Report link

This achieved my goals nicely...

.form-floating {
    zoom: 75%;
}

Input ends up being about the same height as a normal button.

enter image description here

Seems fairly well supported.

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

79368206

Date: 2025-01-19 00:53:02
Score: 3.5
Natty:
Report link

Ranchi jharkhand sey hu mey Ek khubsurat dosti k liye massage kr raha hu jo bhabhi k rop mey meley or sahi or ache sey dosti banaye watssap 9304837060

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

79368205

Date: 2025-01-19 00:52:01
Score: 4
Natty: 4.5
Report link

Look into this: https://gitlab.com/timvisee/apbf

Maybe it could help you

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

79368200

Date: 2025-01-19 00:46:59
Score: 3.5
Natty:
Report link

The Audience was incorrect, changing this allowed me to use the app

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

79368193

Date: 2025-01-19 00:43:59
Score: 1.5
Natty:
Report link

just make it a method instead

package http

type request struct{}

func (request) deferred(s string) {
   println(s)
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user29256664

79368180

Date: 2025-01-19 00:34:56
Score: 1
Natty:
Report link

In my case it solved by below steps:

First check the gdal confic version on your system terminal:

gdal-config --version
3.8.4

Then install by specifying proper version (the output of code up):

pip3 install --no-cache-dir --force-reinstall 'GDAL[numpy]==3.8.4'
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mohammad Hosein Abedi

79368178

Date: 2025-01-19 00:32:55
Score: 1
Natty:
Report link

When you refresh, your browser makes a full request for the page and fetches all resources, including the image. But, during dynamic navigation, the browser doesn't reload images unless explicitly told to do so.

I suggest trying to directly use the backgroundImage style in React or define the background in CSS. Avoid using data-background unless necessary and you implement a script to handle it dynamically.

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When you
  • Low reputation (1):
Posted by: Raphael Fadimu

79368177

Date: 2025-01-19 00:32:55
Score: 3.5
Natty:
Report link

I don't want tik tok gone my girlfriend worked hard for tik tok and my dad and my step mom please don't dealt it

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

79368175

Date: 2025-01-19 00:27:54
Score: 7
Natty: 7
Report link

I downlaoded a CIL library from gihub manually, now i am running the code related to this library but give me error which is related to "missing cilacc.dll file" how can i fix this can i downlaod that file from some where else?

Reasons:
  • Blacklisted phrase (0.5): how can i
  • Blacklisted phrase (1): can i do
  • Blacklisted phrase (1): how can i fix this
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Haider Shah

79368171

Date: 2025-01-19 00:23:52
Score: 2
Natty:
Report link

You can now finally drop the dreaded "FROM DUAL" clause starting Oracle 23c.

(I know this is an old question but it was ranked high when I googled "from dual" so I figured I'd do a service for those like me.)

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

79368159

Date: 2025-01-19 00:12:14
Score: 1
Natty:
Report link

If you are using Ubuntu python packages, then this works nicely ..

sudo apt install python3-email-validator
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Tybion

79368155

Date: 2025-01-19 00:06:13
Score: 1.5
Natty:
Report link

Saw your call out from your comment. Looks to me that you configured your authentication URI in the pusher instance to go to /api/broadcasting/auth:

enter image description here

But your actual request is going to /broadcasting/auth:

enter image description here

So, are you changing the default URI for that authentication route? What does php artisan route:list show you? It should look something like this:

enter image description here

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Erutan409

79368146

Date: 2025-01-18 23:53:04
Score: 2.5
Natty:
Report link

Once the media is loaded the MediaElement.CanPause tells whether the MediaElement supports being paused, it does not change when the MediaElement.Play() or MediaElement.Pause() methods are called.

To get your code working you could introduce a bool field representing the state of the music media element:

private MediaElement music;
private bool isMusicPlaying = false;

Then use it to determine whether to play or pause and set the state accordingly:

if (isMusicPlaying)
{
    music.Pause();
    isMusicPlaying = false;
}
else
{
    music.Play();
    isMusicPlaying = true;
}

Using the actual state of the media element would be a more robust solution. The System.Windows.Controls MediaElement does not expose any public property telling its current state, but you can get it using reflection as shown in this answer:

How do I determine if MediaElement is playing?

Reasons:
  • Blacklisted phrase (1): How do I
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Pekkasso

79368136

Date: 2025-01-18 23:39:01
Score: 2.5
Natty:
Report link

Yes openapi does not deal with redirection (nor does Arazzo). This was a point of contention recently when it was revealed that the leads on the project did not understand redirection

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

79368133

Date: 2025-01-18 23:36:01
Score: 0.5
Natty:
Report link

This symbol is present in libc++ package version 19.1.6, but not 18.1.8 (I'm going by what's present in Arch Linux package archive since that's my system, but it should be the same for all distros). Upgrading to libc++-19 should do the trick. You can also check which package owns the libc++.so you're currently linking to - if my assumption is correct, it should be libc++ <19.

If you didn't have this package available in repos, you'd have to upgrade the library manually, but since you already have clang-19, getting libc++-19 the same way shouldn't cause any trouble.

Note that various parts of the LLVM project are managed as separate packages - clang, llvm, libc++, libc++abi, lld... with their own matching versions. System update updates them all, but they don't all depend on each other, so updating one won't automatically update all.

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

79368129

Date: 2025-01-18 23:32:00
Score: 2.5
Natty:
Report link

I contacted LinkedIn and I never got to speak to anyone in the api/dev team, they only direct you to the documentation. Bottom line, you cannot get the vanity url any more unless the user you are getting the vanity url from is your private client and you are going to use to advertise or market their profile, for example. I suspect this happened because giving the vanity url produced a lot of apps that directly competed with LinkedIn.

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

79368125

Date: 2025-01-18 23:27:58
Score: 10 🚩
Natty: 4.5
Report link

Have you solved it yet?I get the same issue.

Reasons:
  • Blacklisted phrase (2): Have you solved it
  • RegEx Blacklisted phrase (1.5): solved it yet?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I get the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Yong Lee

79368123

Date: 2025-01-18 23:24:57
Score: 4.5
Natty:
Report link

Like this?

out

library(grid)
library(gridExtra)

# Generate random n and m
n <- round(runif(1, 3, 10))
m <- round(runif(1, 11, 18))

# Create intervals with numeric values
intervalos17 <- c(paste0("x<", n),paste0(n, "<=x<", m),paste0("x>=", m))

# Create the fraction with ACTUAL n and m values
prueba17 <- c(0, paste0("frac(x-", n, ", ", m-n, ")"),1)

# Create and display the table
tablasolucion <- data.frame(intervalos17, prueba17)
colnames(tablasolucion) <- c("x", "F(x)")

tt <- ttheme_default(core = list(fg_params = list(parse=TRUE)), colhead = list(fg_params = list(parse=TRUE)))

grid.newpage()
grid.table(tablasolucion, rows = NULL, theme=tt)
Reasons:
  • Blacklisted phrase (2.5): solucion
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
Posted by: dog

79368122

Date: 2025-01-18 23:24:56
Score: 4
Natty:
Report link

enter image description here

add this line: xmlns:tools="https://schemas.android.com/tools"

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

79368117

Date: 2025-01-18 23:21:55
Score: 2
Natty:
Report link

The truth is that a Fenwick tree can be seen, in a certain sense, as a "half" of a segment tree. Specifically, assume n is a power of two, then a segment tree's segments will always divide evenly into powers of two down to the last level as illustrated below: A segment tree with 64 length-1 leaves

This is how various segments are split by such a tree: Various falling segments split by a segment tree

Note that if a segment starts at zero, we will only use the blue segments, which are the left children in the segment tree: Segment tree splits for zero-touching segments

Since computing sums on intervals [l, r) can be reduced to computing prefix sums (for intervals starting at zero), we can limit ourselves to keeping just the blue segments. Additionally, each blue segment can be uniquely associated with the position of its right-hand side, and the specific layout provided by n being a power of two allows for a direct computation of the segment beginning given its end. That's where the previous segment in the split starts, so we get an explicit way to enumerate constituent segments. Thus we get a Fenwick tree: A Fenwick tree

New questions arise:

For these, I refer you to this blog post.

Reasons:
  • Blacklisted phrase (1): this blog
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Yury Kartynnik

79368107

Date: 2025-01-18 23:14:54
Score: 3
Natty:
Report link

To resolve this issues. What I did was go to the project settings and select the correct compiler.

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

79368104

Date: 2025-01-18 23:10:53
Score: 0.5
Natty:
Report link

I do not have an answer but asking how to install the package. I have tried via NuGet but get an Error that it cannot find Alturos.VideoInfo --version 2.0.2. I have downloaded it but do not know where to place it.

ERROR:

PM> dotnet add package Alturos.VideoInfo --version 2.0.2 C:\Users\Owner\Source\Repos\RonWebite\RonWebite.vbproj(2346,3): error MSB4019: The imported project "C:\Program Files\dotnet\sdk\8.0.403\Microsoft\VisualStudio\v17.0\WebApplications\Microsoft.WebApplication.targets" was not found. Confirm that the expression in the Import declaration "C:\Program Files\dotnet\sdk\8.0.403\Microsoft\VisualStudio\v17.0\WebApplications\Microsoft.WebApplication.targets" is correct, and that the file exists on disk. dotnet : Unable to create dependency graph file for project 'C:\Users\Owner\Source\Repos\RonWebite\RonWebite.vbproj'. Cannot add package reference. At line:1 char:1

Reasons:
  • Blacklisted phrase (1): I do not have an answer
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ron Penrose

79368103

Date: 2025-01-18 23:10:52
Score: 5.5
Natty: 5.5
Report link

I hate to be so dumb! But most large and small programs have a "reset to default' button. Why O why does this not have that in an easy to reach button?

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

79368089

Date: 2025-01-18 22:59:50
Score: 1
Natty:
Report link

This question seems easy at surface, but there are some things to consider here.

Does your meters report data at same time? If not, how large is a time difference between them. I assume that if it is anything grater than 1 minute, you can't just do value_1-value_2 and call it a day.

What I have done for similar case is calculating the difference every 10 minutes by using equation of line. You need a rule chain that will take telemetry data of both devices, go over that data in chunks of 10 minutes, make equation of equation of line thru 2 points, and then use those equations to approximate the values of those two devices at the same time. Only then you will get semi-ok results.

If you really have some devices that report to you at few seconds periods, on event of new msg from device in root rule chain you can pull last value of other device and do your calculation. This will most certainly produce some saw like line on chart.

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

79368087

Date: 2025-01-18 22:55:49
Score: 0.5
Natty:
Report link

I have not been able to find any way to have more than one wifi direct group active at this time. However, UstadMobile's Mesharabiya (https://github.com/UstadMobile/Meshrabiya) seems like a possible alternative, if P2P is more important that WiFi direct specifically.

Mesharabiya seems to operate on a combination of WiFi direct and regular access points and appears (at least in recent developer builds) to allow access to the network for all apps, not just a single one.

Note: the intention of this answer is to help people looking for a p2p solution find the right resources more readily. It is not intended as advertisement for Mesharabiya but as a link to a seemingly working implementation with source code available.

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

79368071

Date: 2025-01-18 22:39:46
Score: 1.5
Natty:
Report link

Arkadiusz Drabczyk (see the comments on my original question) actually answered my question. That answer though led me to a non-obvious conclusion so I thought I would post that here in case it was of use to someone else.

The reason __fortify_function is there is that DoLog uses __va_arg_pack which resolves to __builtin_va_arg_pack which according to the docs:

-- Built-in Function: __builtin_va_arg_pack () This built-in function represents all anonymous arguments of an inline function. It can be used only in inline functions that are always inlined, never compiled as a separate function, such as those using 'attribute ((always_inline))' or 'attribute ((gnu_inline))' extern inline functions. It must be only passed as last argument to some other function with variable arguments. This is useful for writing small wrapper inlines for variable argument functions, when using preprocessor macros is undesirable.

So __fortify_function sets up the correct attributes to use __va_arg_pack.

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

79368058

Date: 2025-01-18 22:29:44
Score: 0.5
Natty:
Report link

See the documentation:

The form Definition ident binders : type := term is equivalent to Definition ident : forall binders, type := fun binders => term.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Naïm Favier

79368057

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

Solution 1: In rule engine make additional timeseries (alongside of normal value) that will be delta values of your cumulative flow. On dashboard use time window "Current day" and setup some widget with latest value to do SUM over all those deltas.

Solution 2: make custom widget that will do a bit of calculation in order to show data only from midnight until Date.now() regardless of chosen time window.

Btw. I am on PE and therefore sorry if I mentioned something that is not in CE.

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

79368046

Date: 2025-01-18 22:18:42
Score: 2
Natty:
Report link

'ENOENT' is an Abbreviation for "Error No ENTry" orError No ENTrity as directory doesn't exist.

All considered "entries" in the File-System (file-path).

ENOENT: Standard error code used to indicate that a requested file or directory does not exist.


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

79368040

Date: 2025-01-18 22:13:40
Score: 1.5
Natty:
Report link

If anyone ends up on this thread, I faced the same issue as I wanted to use several chaining sounds for one of my apps. So I made a quick free app with about the same purpose as the original poster wanted:

https://apps.apple.com/ch/app/phone-system-sound-browser/id6739591068?l=en-GB

iPhone sounds are somewhat messily organized, but at least with this app you can quickly search for a specific sound and try out how handpicked sounds work together when chained.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Kevin Floc'h

79368025

Date: 2025-01-18 21:58:37
Score: 0.5
Natty:
Report link

Is this what you are after?

dat %>%
  mutate(cumdist = seq.int(n())[order(VALUE)] / n(), .by = YEAR)

which gives

  YEAR VALUE   cumdist
1 1999     1 0.2500000
2 1999     2 0.5000000
3 1999     3 1.0000000
4 1999     2 0.7500000
5 2002     1 0.3333333
6 2002     2 0.6666667
7 2002     3 1.0000000
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Is this
  • High reputation (-2):
Posted by: ThomasIsCoding

79368024

Date: 2025-01-18 21:57:36
Score: 0.5
Natty:
Report link

‘import usb’ is the import module for PyUSB, to install it run

    pip install pyusb

in your terminal, which will install it onto your python library. it should be able to run after that

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

79368004

Date: 2025-01-18 21:39:33
Score: 0.5
Natty:
Report link

An alternative is to build a mask by combining boolean masks for each individual level of the multi-index. For example:

mask = df.index.get_level_values(0).isin(['A', 'D'])
mask = mask & df.index.get_level_values(1).isin([1, 2])
result = df.loc[mask, :]
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Helder

79368003

Date: 2025-01-18 21:38:32
Score: 0.5
Natty:
Report link

For me, the problem was that I forgot to call read() on the IO object

Basically I had to turn

with open(myFilePath, "r") as myFile:
        return myFile

into

with open(myFilePath, "r") as myFile:
        return myFile.read()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: SomeGenericDev

79368001

Date: 2025-01-18 21:37:32
Score: 2
Natty:
Report link

In my case problem was using views in the query. When switching to use the raw tables, subquery was used without any hints.

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

79367997

Date: 2025-01-18 21:36:31
Score: 6 🚩
Natty: 4
Report link

fucking nigger 12 yrs later this shit didnt help

Reasons:
  • Blacklisted phrase (2): fuck
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: jamal zambucca

79367967

Date: 2025-01-18 21:12:26
Score: 0.5
Natty:
Report link

The risk there would be that if your computer and device are connected to an unsecured or public network, enabling ADB over TCP/IP exposes your device to potential attacks because anyone on the same network could try to connect to your device and gain unauthorized access. So know that when ADB debugging is active, the connected device is more vulnerable to unauthorized data access, command execution, or even malware installation.

So, Always ensure that your device and computer are connected to a trusted and private Wi-Fi network. (Avoid running ADB over TCP/IP in environments like coworking spaces, public Wi-Fi, etc.). After debugging, you can go extra mile by disabling ADB over TCP/IP.

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

79367944

Date: 2025-01-18 20:49:21
Score: 1
Natty:
Report link

Check out this Java library WaterMarkIt for adding customizable watermarks. The library uses PDFBox.

WatermarkService.create()
    .watermarkPDF(new File("path/to/file.pdf"))
       .withImage(new File("path/to/watermark.png"))
           .position(WatermarkPosition.TOP_LEFT)               
    .apply();
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Oleg Cheban

79367940

Date: 2025-01-18 20:47:21
Score: 1
Natty:
Report link

You may try using computed ripple configuration:

val rippleConfiguration = LocalRippleConfiguration.current
val defaultRippleConfiguration = remember { rippleConfiguration }
CompositionLocalProvider(
    LocalRippleConfiguration providesComputed {
        if (rippleEnabled) defaultRippleConfiguration else null
    },
) { ... }

In my case it helped.

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

79367926

Date: 2025-01-18 20:34:19
Score: 2
Natty:
Report link

Revert resets the property to the value it would have from browser defaults or user-defined styles.

It does not simply fall back to the nearest inherited value in the cascade.

Use inherit if you want to inherit the parent's value directly.

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

79367922

Date: 2025-01-18 20:30:17
Score: 3
Natty:
Report link

A good solution to this problem would be to use the preload attribute and set it to “none”. The problem comes when a bunch of videos are played than the load problems starts to happen which I am trying to find a solution for now.

Reasons:
  • Blacklisted phrase (1): I am trying to
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Marcus

79367920

Date: 2025-01-18 20:30:17
Score: 1.5
Natty:
Report link

JavaScript runs on the client side, so it cannot resolve internal Kubernetes pod names. Therefore, you cannot use the pod name directly as the backend URL.

In the development environment, ensure you use localhost instead of the Kubernetes pod name.

For production, make sure the backend URL is externally accessible to allow the client to communicate with it.

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

79367918

Date: 2025-01-18 20:28:17
Score: 1
Natty:
Report link

The cores can handle more than one thread at once. This is the beauty of concurrency. The OS has a component named scheduler which takes care of providing access to the threads that want to be executed. Basically, it takes care of switching the threads to access the core and execute the logic.

If you provide the more threads its going to occupy memory. Each thread can take up to ~1MB of memory. If you have threads occupying memory more than your VM then you will run into Out of Memory Exception and the application will crash.

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

79367908

Date: 2025-01-18 20:20:16
Score: 0.5
Natty:
Report link

I ended up doing this which worked, but I still want to know why the original way doesn't work.

import SwiftUI

public struct ExpandingTextFieldView: View {
    @Binding var text: String
    let placeholder: String

    public init(
        text: Binding<String>,
        placeholder: String = "Enter your text here..."
    ) {
        self._text = text
        self.placeholder = placeholder
    }

    public var body: some View {
        TextField(placeholder, text: $text, axis: .vertical)
    }
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: WokeBloke

79367906

Date: 2025-01-18 20:18:15
Score: 1
Natty:
Report link

This is just a general observation since you provide zero information in respect to what framework or cart script you are working with.

In most event driven workflows the event manager, dispatcher or the event object itself will expose a mechanism for allowing you to stop the propagation of an event based on some criteria. I'm curious to whether if you stopped the propagation of that event if your action would have been performed and it solved your issue.

Often times in this type of situation the most productive approach is to just breakpoint the workflow until you find your offending code.

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

79367900

Date: 2025-01-18 20:15:14
Score: 0.5
Natty:
Report link

POST http://localhost:3333/api/auth/login

{
    "success": true,
    "message": "User logged in successfully",
    "data": {},
    "metadata": {
        "description": "The request has succeeded.",
        "documentation": "https://tools.ietf.org/html/rfc7231#section-6.3.1",
        "responseTime": "466ms",
        "timestamp": "2025-01-18T19:56:52.392Z",
        "code": 200,
        "status": "OK"
    },
    "options": {
        "headers": {
            "Cache-Control": "no-store",
            "Access-Control-Allow-Credentials": "true"
        }
    },
    "links": {
        "self": {
            "rel": "self",
            "href": "localhost:3333/api/auth/login",
            "method": "POST"
        },
        "post-registre": {
            "title": "POST /registre",
            "rel": "post-registre",
            "href": "localhost:3333/api/auth/registre",
            "method": "POST"
        },
        "post-login": {
            "title": "POST /login",
            "rel": "post-login",
            "href": "localhost:3333/api/auth/login",
            "method": "POST"
        },
        "get-current": {
            "title": "GET /current",
            "rel": "get-current",
            "href": "localhost:3333/api/auth/current",
            "method": "GET"
        },
        "get-verify": {
            "title": "GET /verify",
            "rel": "get-verify",
            "href": "localhost:3333/api/auth/verify",
            "method": "GET"
        },
        "get-refreshtoken": {
            "title": "GET /refreshtoken",
            "rel": "get-refreshtoken",
            "href": "localhost:3333/api/auth/refreshtoken",
            "method": "GET"
        },
        "documentation": {
            "rel": "documentation",
            "href": "localhost:3333/docs",
            "method": "GET",
            "title": "API Documentation"
        }
    }
}

GET http://localhost:3333/api/auth/current

{
    "success": true,
    "message": "User fetched successfully",
    "data": {
        "iss": "https://securetoken.google.com/ai-analyst-14876",
        "aud": "ai-analyst-14876",
        "auth_time": 1737230210,
        "user_id": "VMOmNW6sn0hsyghC1hZWeyGECvD3",
        "sub": "VMOmNW6sn0hsyghC1hZWeyGECvD3",
        "iat": 1737230264,
        "exp": 1737233864,
        "email": "[email protected]",
        "email_verified": false,
        "firebase": {
            "identities": {
                "email": [
                    "[email protected]"
                ]
            },
            "sign_in_provider": "password"
        },
        "uid": "VMOmNW6sn0hsyghC1hZWeyGECvD3"
    },
    "metadata": {
        "description": "The request has succeeded.",
        "documentation": "https://tools.ietf.org/html/rfc7231#section-6.3.1",
        "responseTime": "28ms",
        "timestamp": "2025-01-18T19:57:53.520Z",
        "code": 200,
        "status": "OK"
    },
    "links": {
        "self": {
            "rel": "self",
            "href": "localhost:3333/api/auth/current",
            "method": "GET"
        },
        "post-registre": {
            "title": "POST /registre",
            "rel": "post-registre",
            "href": "localhost:3333/api/auth/registre",
            "method": "POST"
        },
        "post-login": {
            "title": "POST /login",
            "rel": "post-login",
            "href": "localhost:3333/api/auth/login",
            "method": "POST"
        },
        "get-current": {
            "title": "GET /current",
            "rel": "get-current",
            "href": "localhost:3333/api/auth/current",
            "method": "GET"
        },
        "get-verify": {
            "title": "GET /verify",
            "rel": "get-verify",
            "href": "localhost:3333/api/auth/verify",
            "method": "GET"
        },
        "get-refreshtoken": {
            "title": "GET /refreshtoken",
            "rel": "get-refreshtoken",
            "href": "localhost:3333/api/auth/refreshtoken",
            "method": "GET"
        },
        "documentation": {
            "rel": "documentation",
            "href": "localhost:3333/docs",
            "method": "GET",
            "title": "API Documentation"
        }
    }
}

GET localhost:3333/api/contact/yQg9OD4KRTNywa2fHwxN

{
    "success": true,
    "message": "Fetched entity by ID successfully",
    "data": {
        "id": "yQg9OD4KRTNywa2fHwxN",
        "name": "Jett Zboncak",
        "email": "[email protected]",
        "phone": "06 26 73 76 92",
        "message": "Interested in your services",
        "createdAt": {
            "_seconds": 1735267038,
            "_nanoseconds": 739000000
        },
        "updatedAt": {
            "_seconds": 1735267038,
            "_nanoseconds": 739000000
        }
    },
    "metadata": {
        "description": "The request has succeeded.",
        "documentation": "https://tools.ietf.org/html/rfc7231#section-6.3.1",
        "timestamp": "2025-01-18T19:59:10.616Z",
        "responseTime": "163ms",
        "code": 200,
        "status": "OK"
    },
    "links": {
        "self": {
            "rel": "self",
            "href": "localhost:3333/api/contact/yQg9OD4KRTNywa2fHwxN",
            "method": "GET"
        },
        "create": {
            "title": "POST /",
            "rel": "create",
            "href": "localhost:3333/api/contact/",
            "method": "POST"
        },
        "collection": {
            "title": "GET /",
            "rel": "collection",
            "href": "localhost:3333/api/contact/",
            "method": "GET"
        },
        "item": {
            "title": "GET /:id",
            "rel": "item",
            "href": "localhost:3333/api/contact/yQg9OD4KRTNywa2fHwxN",
            "method": "GET"
        },
        "update": {
            "title": "PUT /:id",
            "rel": "update",
            "href": "localhost:3333/api/contact/yQg9OD4KRTNywa2fHwxN",
            "method": "PUT"
        },
        "partial-update": {
            "title": "PATCH /:id",
            "rel": "partial-update",
            "href": "localhost:3333/api/contact/yQg9OD4KRTNywa2fHwxN",
            "method": "PATCH"
        },
        "delete": {
            "title": "DELETE /:id",
            "rel": "delete",
            "href": "localhost:3333/api/contact/yQg9OD4KRTNywa2fHwxN",
            "method": "DELETE"
        },
        "documentation": {
            "rel": "documentation",
            "href": "localhost:3333/docs",
            "method": "GET",
            "title": "API Documentation"
        }
    }
}

POST http://localhost:3333/api/contact validation fail

{
    "success": false,
    "message": "Validation Error",
    "error": true,
    "metadata": {
        "description": "The server could not understand the request due to invalid syntax.",
        "documentation": "https://tools.ietf.org/html/rfc7231#section-6.5.1",
        "timestamp": "2025-01-18T17:15:59.353Z",
        "responseTime": "76ms",
        "code": 400,
        "status": "BAD_REQUEST"
    },
    "errors": [
        {
            "field": "lastName",
            "message": "Required"
        },
        {
            "field": "email",
            "message": "Required"
        },
        {
            "field": "phone",
            "message": "Required"
        }
    ],
    "links": {
        "self": {
            "rel": "self",
            "href": "localhost:3333/api/contact",
            "method": "POST"
        },
        "create": {
            "title": "POST /",
            "rel": "create",
            "href": "localhost:3333/api/contact/",
            "method": "POST"
        },
        "collection": {
            "title": "GET /",
            "rel": "collection",
            "href": "localhost:3333/api/contact/",
            "method": "GET"
        },
        "item": {
            "title": "GET /:id",
            "rel": "item",
            "href": "localhost:3333/api/contact/:id",
            "method": "GET"
        },
        "update": {
            "title": "PUT /:id",
            "rel": "update",
            "href": "localhost:3333/api/contact/:id",
            "method": "PUT"
        },
        "partial-update": {
            "title": "PATCH /:id",
            "rel": "partial-update",
            "href": "localhost:3333/api/contact/:id",
            "method": "PATCH"
        },
        "delete": {
            "title": "DELETE /:id",
            "rel": "delete",
            "href": "localhost:3333/api/contact/:id",
            "method": "DELETE"
        },
        "documentation": {
            "rel": "documentation",
            "href": "localhost:3333/docs",
            "method": "GET",
            "title": "API Documentation"
        }
    }
}

http://localhost:3333/api/contactssssssss route not found

{
    "success": false,
    "message": "The requested resource was not found.",
    "error": true,
    "metadata": {
        "description": "The server cannot find the requested resource.",
        "documentation": "https://tools.ietf.org/html/rfc7231#section-6.5.4",
        "timestamp": "2025-01-18T20:07:28.241Z",
        "responseTime": "9ms",
        "code": 404,
        "status": "NOT_FOUND"
    }
}

GET localhost:3333/api/contact/yQg9OD4KRTNywa2fHwxN not login

{
    "success": false,
    "message": "Unauthorized: No token provided",
    "error": true,
    "metadata": {
        "description": "The client must authenticate itself to get the requested response.",
        "documentation": "https://tools.ietf.org/html/rfc7235#section-3.1",
        "timestamp": "2025-01-18T20:08:32.986Z",
        "responseTime": "4ms",
        "code": 401,
        "status": "UNAUTHORIZED"
    }
}

projet: https://github.com/phamhung075/AIanalist-bun-express

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

79367899

Date: 2025-01-18 20:13:14
Score: 0.5
Natty:
Report link

In Chrome you can do:

  1. Press F12 (fn + F12 if mac)
  2. Go to 'Sources' tab
  3. Go to 'Workspace' tab
  4. From your localhost page, 'Add folder' to the wwwroot of your blazor app

This lets DevTools have access to your wwwroot folder meaning updates you make in your IDE is now linked to the browser. Caveat: you will need to refresh the page (F5 or cmd + R on mac) to see the changes, sometimes the browser caches the CSS so a hard refresh (CTRL + F5 if windows) (CMD + SHIFT + R on mac) is required.

Also works for any CSS isolation you may have in your Blazor application.

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

79367889

Date: 2025-01-18 20:08:13
Score: 2
Natty:
Report link

This is possible in Chrome-based browsers through the File System API but is not supported by Firefox, currently. This was hotly debated on the Firefox web standards git repo, so I wouldn't hold my breath on this being implemented soon.

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

79367882

Date: 2025-01-18 20:05:11
Score: 6.5 🚩
Natty:
Report link

what is the actual problem you have?

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): what is the
  • Low reputation (1):
Posted by: Ibrat Usmonov

79367878

Date: 2025-01-18 20:01:10
Score: 2
Natty:
Report link

Try the -privileged option. This gives the docker container full access to the host hardware.

I have not tried this - I have read about it!!!

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

79367873

Date: 2025-01-18 19:56:08
Score: 6 🚩
Natty: 5
Report link

THE DELAY ISNOT A PROBLEM ITS CLEAR THAT HE PUT IT TO SEE THE ACTION ,JUST TO SEE THE ACTION IF YOU DELETE THE DELAY INTRRUPT TWO WILLNOT RUN ELSE, WITH FALLING EDGE OR WITH RISING ONE I HAVE THE SAME PROBLEM BUT WITHOUT #iclude

Reasons:
  • Blacklisted phrase (1): I HAVE THE SAME PROBLEM
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I HAVE THE SAME PROBLEM
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user29259337

79367866

Date: 2025-01-18 19:51:07
Score: 1
Natty:
Report link

you can profile the code to see which parts of it take mnore time to narrow down functions which you could optimize

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

79367856

Date: 2025-01-18 19:42:04
Score: 3
Natty:
Report link

Is the database showing under Databases on SSMS? If not, then right click on databases and click refresh. Also make sure you are connected to the right server instance that you used when creating the database.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is the
  • Low reputation (1):
Posted by: david warui

79367853

Date: 2025-01-18 19:41:04
Score: 3
Natty:
Report link

Alt + Enter and add word to dictionary. its your code you tell its correct word LOL

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

79367834

Date: 2025-01-18 19:33:03
Score: 1
Natty:
Report link
  1. Ensure you have the CA Certificate (ca.pem), Client Certificate (client-cert.pem), Client Key (client-key.pem) certificates

  2. Copy the certificates (ca.pem, client-cert.pem, and client-key.pem) to a secure directory on your WordPress server (e.g., wp-content/ssl/).

  3. Add the following lines to wp-config.php to configure WordPress to use SSL and the client certificate:

    define('MYSQL_CLIENT_FLAGS', MYSQLI_CLIENT_SSL); define('MYSQL_SSL_CA', WP_CONTENT_DIR . '/ssl/ca.pem'); define('MYSQL_SSL_CERT', WP_CONTENT_DIR . '/ssl/client-cert.pem')
    define('MYSQL_SSL_KEY', WP_CONTENT_DIR . '/ssl/client-key.pem');

  4. Confirm that MySQL server is configured to accept SSL connections and that the CA certificate is correctly installed on the server And test the connection

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

79367812

Date: 2025-01-18 19:14:59
Score: 2
Natty:
Report link

Just pass the --disable-dev-shm-usage flag to your Chromium.

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

79367806

Date: 2025-01-18 19:09:58
Score: 3
Natty:
Report link

Late to the party here, but if you are sure about the export method of your component, simply kill the server and run again. It will be fixed.

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

79367803

Date: 2025-01-18 19:06:58
Score: 0.5
Natty:
Report link

Done this way:

Scaffold(modifier = Modifier.fillMaxSize())
{ innerPadding ->
    Column(
        modifier = Modifier
            .padding(innerPadding)
            .consumeWindowInsets(innerPadding)
            .fillMaxSize()
    )
    {
        val list = remember { (1..130).map{ it.toString() }.toList() }
        LazyColumn(
            reverseLayout = true,
            modifier = Modifier
                .fillMaxWidth()
                .weight(1f)
                .fillMaxHeight(0.9f)
                .border(2.dp, Color.Red)
        )
        {
            items(list.size) { message ->
                Text(text = message.toString())
            }
        }

        TextField(
            value = "",
            onValueChange = { },
            modifier = Modifier
                .imePadding()
                .fillMaxWidth()
                .border(2.dp, Color.Black)
        )
    }
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Raphael

79367780

Date: 2025-01-18 18:51:55
Score: 3
Natty:
Report link

My settings were already that way. I use a giant cursor for visual purposes. I hate when it gets locked into a vertical line. This only happens when I use Chrome.

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

79367773

Date: 2025-01-18 18:46:54
Score: 3
Natty:
Report link

I had the same problem. You probably have wrong CHARACTERISTIC_UUID's. Check your firmware, I updated mine to this [Firmware]: https://bitbucket.org/movesense/movesense-device-lib/src/master/samples/bin/release/default_firmware/Movesense-default_firmware-SS2_w_bootloader.zip and everything works.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Wiljami Takkinen

79367763

Date: 2025-01-18 18:39:52
Score: 4.5
Natty:
Report link

Remove path for websocket.request.path

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: AlexDevOrigin

79367762

Date: 2025-01-18 18:39:52
Score: 2
Natty:
Report link

After tinkering and re-rereading documentation I found another header to pass to wikimedia which does change the output, confirming that my headers are being received correctly.

wikiheaders=Dict("User-Agent"=>"learning_julia_test(;)julia1_11","Accept-Encoding"=>"gzip")# for testing

When I pass "Accept Encoding" : "gzip" the file that is returned is in a gzip format which confirms wikimedia is correctly interpretting what I send.

Thank you @C3roe for what I consider to be a better and more universal approach of using a service like requestcatcher.com (which appears to be owned by a company called Omni) to test if my code was behaving as expected and not depending on the intended recepient for confirmation. In cases where each api get request might have a significant cost or a consequence, this would be be much more preferable.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @C3roe
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Justworks

79367759

Date: 2025-01-18 18:37:51
Score: 3
Natty:
Report link

The directory my playwright tests were in did not have permissions to use rmvdir, which the html reporter uses at the end of a run to clear previous run results. Changing the directory solved the issue.

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

79367753

Date: 2025-01-18 18:34:51
Score: 0.5
Natty:
Report link

You can either use Decomposed swift package, or use this code that calculates eulerAngles from the matrix.

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

79367743

Date: 2025-01-18 18:29:50
Score: 0.5
Natty:
Report link

First of all, you have to do:

newIndex, indexer = a.reindex(b)

reindex returns two things. You need/want to get only the indexer.

So now you can get what you want:

indexerWithNan = np.where(indexer == -1, np.nan, indexer)

Why was your initial code wrong? The reindex() method does not support the fill_value parameter for pandas.Index objects as it does for pandas.Series or pandas.DataFrame.

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

79367738

Date: 2025-01-18 18:21:47
Score: 4
Natty:
Report link

yeah its dumb(i made the same)

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

79367736

Date: 2025-01-18 18:20:47
Score: 2
Natty:
Report link

To make icons bigger, I have updated the Zoom Level to 1 in the settings, which is now better.

For

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