79389863

Date: 2025-01-27 06:14:51
Score: 1.5
Natty:
Report link

Sorry, there are no instructions for this as ObjectBox Sync is intended and optimized to be used when data must be replicated across all clients.

Source: https://objectbox.io/faq/#use-cases

Reasons:
  • Low length (1):
  • No code block (0.5):
Posted by: Uwe - ObjectBox

79389851

Date: 2025-01-27 06:09:47
Score: 10 🚩
Natty:
Report link

I am facing the same issue too Did anyone find the fix for it? Please do let us know if you find something

Reasons:
  • RegEx Blacklisted phrase (3): Did anyone find the fix
  • RegEx Blacklisted phrase (1.5): fix for it?
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same issue
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Asuri Sai Tarun

79389849

Date: 2025-01-27 06:08:47
Score: 1
Natty:
Report link

The answer to this question is below this place, and my answer is here.

def coat(fire):
    brave = re.compile('<.*?>')
    star = re.sub(brave, '', fire)
    return star

So, my new code looked like this:

video_content = star(post_data_dict.get('acf', {}).get('content', ''))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Chemical

79389839

Date: 2025-01-27 06:01:45
Score: 3.5
Natty:
Report link

Clicking this link should open it in the Chrome app. But if Chrome is not installed/activated, the device's intent chooser should offer the means to download it from Google Play, APK Pure, etc...

Reasons:
  • Blacklisted phrase (1): this link
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Oliver Gelera

79389837

Date: 2025-01-27 05:59:44
Score: 8.5 🚩
Natty:
Report link

I'm experiencing the same issue, But my logs do not show anything, the backend fails to discover azure devops repos. did you manage to resolve the problem?

I hope you use PAT to authenticate azure devops! Did you tried with service principal authentication?

Reasons:
  • RegEx Blacklisted phrase (3): did you manage to resolve the problem
  • RegEx Blacklisted phrase (1.5): resolve the problem?
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Vimal Vijayan

79389835

Date: 2025-01-27 05:57:43
Score: 8 🚩
Natty: 6
Report link

Were you able to get this work? Check out this post -- https://openthreat.ro/openwrt-l2tp-ipsec-vpn-client-for-mikrotik-server/

Reasons:
  • RegEx Blacklisted phrase (3): Were you able
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: onix

79389831

Date: 2025-01-27 05:55:42
Score: 2
Natty:
Report link

Your activity class should extend FragmentActivity (or AppCompatActivity) instead of ComponentActivity.

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

79389829

Date: 2025-01-27 05:53:42
Score: 1
Natty:
Report link

The comment from Mark G solved the issue. Original Link Thanks. Just pasting in here in case the link ever disappears.

Add the following to your dbcontext configuration

sqloptions.EnablePrimitiveCollectionsSupport(true);
sqloptions.TranslateParameterizedCollectionsToConstants();

e.g.

 services.AddDbContextPool<DatabaseUnitOfWork>(options => options
 .UseMySql(connectionstring, new MySqlServerVersion(new Version(8, 0, 21)),
 sqloptions =>
 {
     sqloptions.EnablePrimitiveCollectionsSupport(true);
     sqloptions.TranslateParameterizedCollectionsToConstants();
 });
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Tyrone

79389823

Date: 2025-01-27 05:50:41
Score: 0.5
Natty:
Report link

Instead of getting Names and Value in separate UNNSET we can read using UNNEST OBJECT_PAIRS

select data.id as id, sched_n.name as schedule, month.name as month from
AIR_CONFIG.SCHEDULE.Flight_Schedule data
UNNEST OBJECT_PAIRS(data.value.schedules) as sched_n
UNNEST OBJECT_PAIRS(sched.flightConfigs) as month 
where data.id like "1111"
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Bhushan Phalak

79389813

Date: 2025-01-27 05:42:39
Score: 1
Natty:
Report link

You're right that Android relies on the Linux kernel for core functionalities like process management, memory management, and hardware abstraction, but there’s more to it. When we say Android is built on Linux, it means Android uses the Linux kernel as its foundation to handle low-level tasks like managing processes, virtual memory, and device drivers. However, Android adds its own layers on top, like the Binder IPC mechanism, the Android Runtime (ART), and its unique framework APIs to suit the needs of a mobile platform. It also customizes the kernel with features like wakelocks for power management and uses a lightweight libc called Bionic instead of glibc. Essentially, Linux provides the backbone for stability, security, and hardware support, while Android builds the mobile experience on top of it.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Mohammad Misbah

79389802

Date: 2025-01-27 05:33:38
Score: 0.5
Natty:
Report link

I think your question is bit irrelevant to ask here but still i am gonna answer...

Think of it this way - Android basically "borrows" Linux's core abilities instead of building everything from scratch. It's like Linux is the engine and foundation of a car, while Android is the body, interior, and all the fancy features you actually see and use.

The main things Android takes from Linux are:

The heavy lifting stuff like managing memory and processes Handling device hardware (cameras, bluetooth, etc.) Security features Power management But Google didn't just use Linux as-is - they added their own special sauce for mobile devices, like better battery management and memory handling.

So when someone says "Android is built on Linux kernel," they really mean Android is using Linux's battle-tested core system to handle all the complex, low-level stuff, while focusing on building the user-facing parts that make Android unique.

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

79389800

Date: 2025-01-27 05:33:38
Score: 1
Natty:
Report link

This is now possible in Handlebars with three bracket syntax. You can call a helper with three brackets: {{{myhelper myarg}}}. The output is treated as raw and not escaped. If helper returns HTML, it will be rendered.

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

79389797

Date: 2025-01-27 05:32:37
Score: 0.5
Natty:
Report link

The usesCleartextTraffic="true" is already set in the AndroidManifest.xml for the debug configuration. This ensures that HTTP (cleartext) traffic is permitted, which is essential for connecting to the React Native Metro Bundler during development.

Since this configuration allows cleartext traffic, the network-security-config is not required for debugging. You can safely remove the network-security-config file and its reference, as the manifest already permits cleartext traffic. enter image description here

Reasons:
  • No code block (0.5):
Posted by: Ajmal Hasan

79389795

Date: 2025-01-27 05:31:37
Score: 3
Natty:
Report link

This problem has been Fixed, I forgot to include other credentials to generate the stream token. In order to generate the token to access stream you must include or bind the following: apiKey, apiSecret and appId generated from stream dashboard. Previously, I only used the secretKey to generate the token causing an invalid message error. Thank you so much.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Tech-K programming

79389788

Date: 2025-01-27 05:22:35
Score: 5.5
Natty: 4
Report link

I am facing the same problem as well.The only 2 actions related to COM+ I can see in my installer log file are -

Action ended 00:09:18: Wix4ConfigureComPlusUninstall_X86. Return value 1. Action ended 00:09:18: Wix4ConfigureComPlusInstall_X86. Return value 1.

Reasons:
  • Blacklisted phrase (1): m facing the same problem
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same problem
  • Low reputation (1):
Posted by: borap

79389785

Date: 2025-01-27 05:20:34
Score: 3.5
Natty:
Report link

change the time_unit of the timestamp from nanosecond ("ns") to microsecond ("us").

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

79389783

Date: 2025-01-27 05:20:34
Score: 4
Natty:
Report link

A controller not loading is the same as returning 404. You can return a 404 from an endpoint given a setting or certain condition. Would that work?

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

79389781

Date: 2025-01-27 05:14:33
Score: 0.5
Natty:
Report link

There might be a way to do it, via Generic Interface.

interface RTCPeerExchange<T extends "offer" | "answer"> {
  from: string;
  type: T;
  data: T extends "offer" ? RTCSessionDescriptionInit : RTCSessionDescriptionInit;
}

Check if this helps.

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

79389778

Date: 2025-01-27 05:13:32
Score: 2
Natty:
Report link

nope, but cool idea maybe you can request this to the community: https://www.typescriptlang.org/community/

you can take your type model a step further by setting 'offer' and 'answer' as never for explicit type safety where they are not supposed to be defined

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

79389777

Date: 2025-01-27 05:12:32
Score: 3.5
Natty:
Report link

padding: const EdgeInsets.all(10), in list widget was a problem

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

79389774

Date: 2025-01-27 05:09:31
Score: 2.5
Natty:
Report link

Queue is thread-safe but not process-shared.

Could you please show your uvicorn command for running server?

Also, I see you using debug=True. This command involves reloading, which can create two processes.

I could suggest you:

  1. Use debug=False:
app.run(host='0.0.0.0', port=PORT_UI, debug=False)
  1. Confirming it’s a single process in router handlers
print(os.getpid())
Reasons:
  • RegEx Blacklisted phrase (2.5): Could you please show your
  • Has code block (-0.5):
  • Contains question mark (0.5):
Posted by: Kirill Ilichev

79389765

Date: 2025-01-27 04:57:28
Score: 4
Natty:
Report link

nothing much to do i simplify the easy step without any data and tables loss

1.go to the directory of xampp -> mysql === C:\xampp\mysql 2. copy the data folder and paste in same folder1: https://i.sstatic.net/TVtrQvJj.png 3.goto the data folder =>C:\xampp\mysql\data 4.select all these folder and file and dont select your tables and ibdata1 file and delete all these selected items

5.now go back to the mysql folder ->C:\xampp\mysql 6. now go to the backup folder

7.now copy all selected items and dont copy the ibdata1 file

  1. now again got to the data folder and paste all these hereenter image description here now start your xampp mysql it will work again
Reasons:
  • Blacklisted phrase (1): enter image description here
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Abhishek Bisht

79389757

Date: 2025-01-27 04:48:27
Score: 1
Natty:
Report link

Probably it's not the most elegant solution, but it doesn't require any extra package. I simply use a math environment,

$\text{the words you do not want a line-break in between}$

and it seems to work.

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

79389751

Date: 2025-01-27 04:38:25
Score: 0.5
Natty:
Report link

Hi I have another answer that might work if needed, it worked for me

library(httr)
library(tidyverse)

#########################
##### GPT prompting #####
#########################

# Note: code we are using was adapted by this blog post: https://rpubs.com/nirmal/setting_chat_gpt_R. 
# We highly recommend you read over that blog post in detail if you are stuck at any of these steps 
# First, you must get your ChatGPT API key from here: https://platform.openai.com/overview 

# Then, put your API key in the quotes below: 
my_API <- "sk-00000000"

#The "hey_chatGPT function will help you access the API and prompt GPT 

hey_DeepSeekGPT <- function(answer_my_question) {
  DeepSeekGPT_answer <- POST(
    url = "https://api.deepseek.com/chat/completions",
    add_headers(Authorization = paste("Bearer", my_API)),
    content_type_json(),
    encode = "json",
    body = list(
      model = "deepseek-chat",
      temperature = 0,
      messages = list(
        list(
          role = "user",
          content = answer_my_question
        )
      )
    )
  )
  
  # Parse the response
  response_content <- content(DeepSeekGPT_answer)
  
  # Check for errors
  if (!is.null(response_content$error)) {
    stop(response_content$error$message)
  } else {
    return(str_trim(response_content$choices[[1]]$message$content))
  }
}

# Test the function
hey_DeepSeekGPT("Why is the sky blue?")
Reasons:
  • Blacklisted phrase (1): this blog
  • Whitelisted phrase (-1): it worked
  • Whitelisted phrase (-1): worked for me
  • RegEx Blacklisted phrase (2): Hi I have a
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Phil C.

79389749

Date: 2025-01-27 04:37:25
Score: 3.5
Natty:
Report link

The issue has been raised in the GitHub repository for vscode:

https://github.com/microsoft/vscode-remote-release/issues/10417

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

79389741

Date: 2025-01-27 04:24:23
Score: 1.5
Natty:
Report link

In JetBrain's 2024 products, click on the following icons to export db settings to global, and then, in the new project, do all the steps but click on the import arrow icon to import. enter image description here

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

79389737

Date: 2025-01-27 04:22:22
Score: 1.5
Natty:
Report link

com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallException: Local path doesn't exist.

One more addition:- Delete the build folder under Android->App and then re-run the project.

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

79389736

Date: 2025-01-27 04:20:22
Score: 2
Natty:
Report link

Acumatica default behaviour will populate the Order Quantity to 1 on a new PO line, so I believe your check for the Qty being 0 will never occur, therefore your first scan is treated as 1+1

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

79389735

Date: 2025-01-27 04:20:22
Score: 3.5
Natty:
Report link

There many apis (old) in this time not working!

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

79389730

Date: 2025-01-27 04:17:21
Score: 2.5
Natty:
Report link

https://github.com/microsoft/WSL/releases

I just downloaded the latest version of WSL (.msi extension) from here directly and it just fixed my issue.

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

79389728

Date: 2025-01-27 04:15:21
Score: 1.5
Natty:
Report link

For NextJS 13/14/15 using App Router, you can download sw.js file an put it on /public folder

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

79389722

Date: 2025-01-27 04:11:20
Score: 0.5
Natty:
Report link

enter image description here

Form:Help Desk form below have dop down field with values Low, Medium, High as priority. I have set the datacard items property as Choices ('Priority (Tickets)')** to show the value saved from database.

Datasource = DataverseTable( Tickets) Item = Gallery4.Selected

Datacard:

Default = ThisItem.Priority

Combobox within Datacard:

DefaultSelectedItems = [Parent.Default]

Items: Choices ('Priority (Tickets)')

Reasons:
  • No code block (0.5):
Posted by: Almas Mahfooz

79389719

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

For me I was trying to use the event object instead of the target object:-

$('#select').on('change', event => {
   event = $(event.target);
   if (event.val() == 0) event.next().show();
   else event.next().hide();
});

So I had to add the event = $(event.target); to get the correct object.

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

79389713

Date: 2025-01-27 04:01:18
Score: 1.5
Natty:
Report link

You can try the gemini through genai

pip install google-generativeai

genai.configure(api_key="YOUR_API_KEY")
model = genai.GenerativeModel("gemini-1.5-flash")
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dineth Oshitha

79389709

Date: 2025-01-27 03:48:15
Score: 0.5
Natty:
Report link

The solution is to add an initialisation of the two tab names like:

INITIALIZATION.
  ADDR_TAB = 'Address'.
  BUS_TAB = 'Business Data'.

This will make the tab visble after displaying the screen.

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Olude david

79389706

Date: 2025-01-27 03:45:14
Score: 6 🚩
Natty: 5
Report link

I have the same problem, but it happens with all media playback, including YouTube, smart audio book player and audible. The only solutio is to reboot the phone. It may be a hardware issue (pixel six pro) as sometimes I have to power off.

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
  • Single line (0.5):
  • Low reputation (1):
Posted by: Adam Felson

79389687

Date: 2025-01-27 03:21:09
Score: 0.5
Natty:
Report link

It seems like solution from @Li Yupeng is okay, but maybe it is not the best option. Another choice is to set "alpha" parameter in gridlines() function to "0" to make it invisible.


Code part:

import matplotlib.pyplot as plt

import cartopy.crs as ccrs
import cartopy.feature as cfeature

fig = plt.figure(figsize = (14, 6))

ax1 = fig.add_subplot(1, 2, 1, projection = ccrs.PlateCarree())
ax1.coastlines(resolution='110m')
glLeft = ax1.gridlines(draw_labels=True)

ax2 = fig.add_subplot(1, 2, 2, projection = ccrs.PlateCarree())
ax2.coastlines(resolution='110m')
glRight = ax2.gridlines(draw_labels=True, alpha = 0)

plt.show()

Output: https://www.mediafire.com/view/c4qqie5web243d1/result.png/file

Hope it's useful :).

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

79389685

Date: 2025-01-27 03:20:08
Score: 4
Natty:
Report link

You have to use @media Query in your CSS. Use @media screen is a type of media query that specifically targets screens such as in your laptop , Desktop ,mobile etc.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @media
  • User mentioned (0): @media
  • Single line (0.5):
  • Low reputation (1):
Posted by: Priya Prajapati

79389678

Date: 2025-01-27 03:14:08
Score: 2.5
Natty:
Report link

On Supabase : settings/database, my IP adress was banned idk why.

I juste unbanned it in "Network Bans"

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

79389673

Date: 2025-01-27 03:08:06
Score: 3
Natty:
Report link

yep, It worked. link for installation mingw64. sry everybody to bother you

Reasons:
  • Whitelisted phrase (-1): It worked
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Andrew

79389664

Date: 2025-01-27 03:00:05
Score: 1
Natty:
Report link

I had a similar issue where the grey content inside my scroll view was coming from a button view.

The simple fix is applying a .buttonStyle(.plain) modifier to the button.

It took forever to realize what was applying a grey background to my content (I am using the multiplatform template for my xcode project, and this only occurred on macOS). This page is the first thing that comes up when searching my issue. I thought it’d be appropriate to leave a quick solution for it. This is in Xcode 16 for macOS 15.

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

79389653

Date: 2025-01-27 02:50:03
Score: 2.5
Natty:
Report link

After four years of ownership, my Instagram account was stolen, the criminal changed the email address and phone number linked to it, and the account was suspended. I almost passed out. Thankfully, a friend introduced me to Marie, a recovery agent, who assisted me in getting my account back up and running in less than two hours. I'm overjoyed. If you need assistance, you may contact her at [email protected]. She is a real and reliable person, I can promise you.

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

79389646

Date: 2025-01-27 02:45:02
Score: 0.5
Natty:
Report link

back then in 2010, most email clients didn't support the URL option and they only supported mailto: addresses in List-Unsubscribe header to which they would send an email when a user clicks the unsubscribe button and you'd need to handle it at the mail server level. It's only recently that the popular email clients started supporting the URL and Google and Yahoo said that they are going to make it a necessary requirement in 2025 for senders with large volumes. You can optionally add a List-Unsubscribe-Post header along with List-Unsubscribe in which case, the client won't navigate the user to the specified URL and only sends a post request to it so that anti-spam bots does not accidentally unsubscribe a user by GETting the url for inspection. Ideally, you may put both mailto: and http links in that header and process both.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: baba_boota

79389631

Date: 2025-01-27 02:28:59
Score: 0.5
Natty:
Report link

Just struggled with this myself today.

8.0.33 apt repository (current as of Jan 2025) for Ubuntu 24.04 has mySQL Router 8.0.x, which doesn't recognise the r/w primary server on later versions like 8.4.x (can see in the log all three servers are ro, and then it shuts down the r/w ports because there's no r/w server).

Manually install the version you need like 8.4.x

wget https://dev.mysql.com/get/Downloads/MySQL-Router/mysql-router-community_8.4.4-1ubuntu24.04_amd64.deb
sudo dpkg -i mysql-router-community_8.4.4-1ubuntu24.04_amd64.deb

and re-bootstrap it and it will pick it up and work.

The mysqlsh version that comes with that repository is also bad and doesn't have the --js function, so recommend manual install of that as well.

I assume this will be fixed next the apt repository is updated.

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

79389629

Date: 2025-01-27 02:25:56
Score: 9 🚩
Natty:
Report link

Having the same issue, did u figure it out

Reasons:
  • RegEx Blacklisted phrase (3): did u figure it out
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): Having the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rise Above The Machines

79389623

Date: 2025-01-27 02:17:55
Score: 2.5
Natty:
Report link

The only way I know of is a tool in fusion 360 fat automatically converts meshes into solid objects within the program by combining the triangles into faces and feeling everything within those faces in. I'm not sure what all of these guys are yapping about with there being no possible way to turn a mesh into a solid object, but I will say unless you have a very good PC it's likely that this process will fail if you're trying to convert a complicated mesh. But personally I think these guys were just being NPCs and not realizing what you meant. Instead choosing to thank you meant a literal file to file conversion. Oh also PS just to make sure I wasn't being a dick about them not knowing about something that didn't even exist yet, sp I went ahead and looked up when they added this feature it was 2013

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hater mc hater pants

79389621

Date: 2025-01-27 02:14:54
Score: 3
Natty:
Report link

Kindly disbale Python Environment Manager(Deprecated) extension from your VS Code. Normally this extension is installed when you install Python Extension Pack.

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

79389611

Date: 2025-01-27 02:01:52
Score: 3
Natty:
Report link

removing \bin from JAVA_HOME worked for me

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Aditya

79389609

Date: 2025-01-27 01:59:52
Score: 0.5
Natty:
Report link

As rioV8 said, give focus to the terminal and press q.

In addition, the program can be terminated by ctrl+ C.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Minxin Yu - MSFT

79389606

Date: 2025-01-27 01:57:51
Score: 3.5
Natty:
Report link

With the codebase annotation you don't have to list all the functions and you can deploy all at once, if needed. https://firebase.google.com/docs/functions/organize-functions?gen=1st

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

79389603

Date: 2025-01-27 01:51:50
Score: 1
Natty:
Report link

I quite like this one, it's fast, as weasyprint would take too long and not produce the correct input for me :

google-chrome --headless --disable-gpu --print-to-pdf="out" "input.pdf"

Example on macOS :

/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --headless --disable-gpu --print-to-pdf="out" "input.pdf"

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

79389573

Date: 2025-01-27 01:12:44
Score: 1.5
Natty:
Report link

What worked for me was the following:

use *db_name*

go

exec sp_addrolemember 'db_owner', 'NT AUTHORITY\NETWORK SERVICE';

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
  • Starts with a question (0.5): What
  • Low reputation (0.5):
Posted by: Linda Rawson

79389558

Date: 2025-01-27 00:59:40
Score: 1
Natty:
Report link

I noticed you are just returning a k RAW value. StochRSI to chart should consist of K and D values.

From my experience, what will cause different k and d values is based on several factors:

  1. K lookback period
  2. D lookback period
  3. Moving Average method (SIMPLE, exponential, weighted, Wilder's, or Hull) for both calculating RSI and StochRSI for D Value calculation.

When you use .mean(), this is an indicator that the MA is SIMPLE for calculating the RSI. The Kraken chart might be using Wilder's MA like a majority of the brokerages do within the charting (typically it defaults to this.)

I noticed that you are not calculating D. As well, you are finding the k RAW value and stop calculating, where you are not applying a MA method to your K RAW value to smooth it. Given the current code, you are not storing k values for every minute interval which would not make it possible to smooth it using .rolling.

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

79389550

Date: 2025-01-27 00:56:40
Score: 1.5
Natty:
Report link

I had the same problem in my project and the only thing i changed was creating an instance of my EmbeddedId in the Entity class. It looked something like this.

@EmbeddedId ListyHoteliKey id = new ListyHoteliKey();

After that everything was warking perfect but i am not an expert when it coms to Spring and java so it might have some consequences in other places in the code i am not aware of.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • No code block (0.5):
  • User mentioned (1): @EmbeddedId
  • Low reputation (1):
Posted by: Mefiu

79389543

Date: 2025-01-27 00:49:39
Score: 3.5
Natty:
Report link

here is page I found a while ago, I think it might be helpful for anyone trying to integrate Salesforce to DocuSign in future --> https://salesforcesolutions.io/end-to-end-solutions/

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

79389540

Date: 2025-01-27 00:44:38
Score: 3.5
Natty:
Report link

try investigating your nodejs version. switching from v18 to v20.18 just fixed the same ‘hanging forever’ issue for me. see here: https://github.com/vercel/next.js/issues/52616#issuecomment-1749824093

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

79389539

Date: 2025-01-27 00:43:38
Score: 1.5
Natty:
Report link

As noted by Michael Petch, this is resolved by ensuring relevant segment registers are set to 0

mov ax, 0
mov ds, ax
mov ss, ax
mov es, ax
mov fs, ax
mov gs, ax
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: MichaelT572

79389530

Date: 2025-01-27 00:35:36
Score: 1
Natty:
Report link

For future reference, here's what I learned while trying to get this working:

I have the album art loading now and it will play the mp3 files. For the album art, I was creating the Uri with the fromFile method, instead of the parse method. That was messing up the path. I adjusted and called the mapUri method in the ContentProvider that I copied from the uamp sample. It was trying to get the content from a web address and my app gets the content from a local file. The path needed to look like this content://data/data/com.emrick.dj/albumart/album.jpg.

I had been testing the play function by putting a break point on the onPlay method in the mediaSession.setCallback. It never hit the breakpoint - then I realized it was actually calling the onPlayFromMediaId method, not onPlay. I wrote that method and then the breakpoint on it was reached. I wired it to my existing MediaService (for the mp3 player) but it didn't play. Then I realized it had to handle the audio focus. Apparently the Windows Head Unit takes the audio focus away from my mp3 player. I changed my mediaService to ask for the audio focus and then it would play my mp3 files.

It took a lot of work to get to this point - I could have really used a complete example in Java, not Kotlin. Lots of details that weren't obvious to me. Anyway, I hope these notes help others trying to get this to work! Thanks Ben Sagmoe for pointing me in the right directions.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: user3573712

79389522

Date: 2025-01-27 00:18:33
Score: 3
Natty:
Report link

I think they want a different solution like I do. You are suggesting converting them after generating them, there's a way to simply generate them in haml and take out the extra step of converting and deleting them.

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

79389518

Date: 2025-01-27 00:17:32
Score: 4.5
Natty: 5.5
Report link

There is an unknown user in the Google Playstore on unsecured Google Samsung Galaxy A15 5G. Remove it or explain how do I remove it.

Reasons:
  • Blacklisted phrase (1): how do I
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Trudie

79389517

Date: 2025-01-27 00:16:32
Score: 2.5
Natty:
Report link

I wrote a script to do some stuff whenever Input.GetMouseButtonDown came true after a click anywhere on the screen. I added the script to an otherwise empty Game Object "Z". It works fine. I wrote another script to do some other stuff whenever OnMouseDown() came true while the mouse was above a particular Game Object "X" but according to my debugs this code never gets called. I added this script to Game Object X, which starts off inactive but gets activated later. The first mouse detection continues to work fine. The second script did work briefly but now doesn't! X is a child of another Game Object "Y" and is physically (i.e. on the screen) within the box of Y. If I add the same code to Y as is in X (but changing the debug messages) then Unity always detects clicks within Y (as well as Z) but never on X. Is there something I don't understand about mouse activity in my scene or is it more likely I have made a silly coding error?

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

79389496

Date: 2025-01-26 23:57:27
Score: 6 🚩
Natty:
Report link

Have the same problem, wanted to sort by createdAt field (created by default) but no option to sort.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): Have the same problem
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Roberto

79389494

Date: 2025-01-26 23:53:26
Score: 1.5
Natty:
Report link

Make sure that you don't have a separate firewall running on the VM/server itself, in addition to the cloud's native firewall. Changing cloud firewall rules and dealing with the SSH keys will be useless as the server's firewall will terminate the connections. The only way to see this happening is to check the firewall logs on the server.

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

79389460

Date: 2025-01-26 23:21:19
Score: 2
Natty:
Report link
  1. increase the number of epochs
  2. increase the number of batches by decreasing the batch size
  3. increase the number of embeddings or numbers output by the encoder section of the auto encoder should increase the accuracy
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Tony Cardinal

79389451

Date: 2025-01-26 23:06:16
Score: 1
Natty:
Report link

Update that may be helpful I am using SQLExpress v 15 and Management Studio 19. I installed accessdatabaseengine_X64 and ran


`USE [master] GO

EXEC sp_configure 'Show Advanced Options', 1 RECONFIGURE GO

EXEC sp_configure 'Ad Hoc Distributed Queries', 1 RECONFIGURE GO

EXEC sp_MSSet_oledb_prop N'Microsoft.ACE.OLEDB.16.0', N'AllowInProcess', 1 GO

EXEC sp_MSSet_oledb_prop N'Microsoft.ACE.OLEDB.16.0', N'DynamicParameters', 1 GO`


Then I ran the openrowset query....


--build new table SELECT * into MyTable from OPENROWSET('Microsoft.ACE.OLEDB.16.0', 'Excel 12.0;Database=C:\ExcelFiles\Book2.xlsx;HDR=YES', 'select * from [Sheet1$]')


Everything was roses... Shut down the machine and started in back up the next day and ran .....


--build new table SELECT * into MyTable from OPENROWSET('Microsoft.ACE.OLEDB.16.0', 'Excel 12.0;Database=C:\ExcelFiles\Book2.xlsx;HDR=YES', 'select * from [Sheet1$]')


Got this error... "Cannot initialize the data source object of OLE DB provider ACE.OLEDB.16.0"

Spent the next X hours trying to figure out what happened. Logged out and logged in as 'sa' and it all worked....--> windows security issue then.

Rebooted the machine and got the error again...found this solution. --I will summarize here..-> my windows authenticated login for SQLExpress did not have permissions on the SQLExpress service --

Solution 2 Check whether the user login that you are accessing has rights on SQL Server Service or not. If not you will have to give your credentials so that the SQL Service runs using your login credentials.

Steps

  1. Close SQL Server Management Studio. Type Services.msc in the run command to open the services window

  2. Search for SQL Server Service and right click it and select properties

  3. In the Log On Tab, select This Account. Click on Browse and type your login name there and the click on Check Names

  4. Once it finds your login name press OK.

  5. Now type your login’s passwords in both the fields as shown below press apply and then ok

  6. Restart the services so that the new changes are applied as shown in figure below.

  7. Now start SQL Server Management Studio and try to run the query if still not working try a system restart

--I did the services restart and it worked and a reboot and it worked. here is the link -- it was for oledb.12 but it also works for oledb.16 --solution 2

https://www.aspsnippets.com/Articles/96/The-OLE-DB-provider-Microsoft.Ace.OLEDB.12.0-for-linked-server-null/

Reasons:
  • Blacklisted phrase (1): here is the link
  • Blacklisted phrase (2): still not working
  • Whitelisted phrase (-1): it worked
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: cjjeeper

79389445

Date: 2025-01-26 23:01:15
Score: 3
Natty:
Report link

I know this is kind of an old post, but I just made a navigation tool that I wrote public today. If you're still looking for a way to cd around faster you might like this: https://github.com/egurapha/Shunpo

There's a tutorial video here: https://www.youtube.com/watch?v=TN66A3MPo50

Hope you like it!

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ryuichi

79389432

Date: 2025-01-26 22:50:12
Score: 4
Natty: 4
Report link

layer.property("ADBE Mask Parade").property(1).property("ADBE Mask Shape")

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

79389429

Date: 2025-01-26 22:48:11
Score: 0.5
Natty:
Report link

Use import wikipedia. If you don't have it, use pip install wikipedia. Great. Now for the coordinates. Let's say you want to find the coordinates of Beijing, China. (You need to specify the country.)

import wikipedia as wiki
page = wiki.page("China")
coordinates = page.coordinates
print(coordinates)

This will output: (Decimal('39.90666666999999989684511092491447925567626953125'), Decimal('116.3974999999999937472239253111183643341064453125')). See! That simple. No API. I assure you, if you go to PyPI and search "wikipedia", you will find the wikipedia package.

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

79389428

Date: 2025-01-26 22:47:11
Score: 0.5
Natty:
Report link

2 Steps are required to make Creator not redirect the console output to its internal console:

a) Go to the Build & Run Settings of your project, select Run, in the Run Section, select "Run in terminal"

enter image description here

b) Go to the Application Output Pane. There is a wheel indicating the settings for the Aplication Output. Press it and select the "Terminal" section. There disable "Use internal terminal".

enter image description here

That's all. Pretty unintuitive:-)

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

79389426

Date: 2025-01-26 22:47:11
Score: 1
Natty:
Report link

Hold the Option key (⌥) and hover your mouse over a variable or function. A popup will appear showing the type or function signature.

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

79389419

Date: 2025-01-26 22:42:09
Score: 2.5
Natty:
Report link

Not sure if this helps but I believe the VS upgrade you did also included the installation of .NET 9. Changing your target to .NET 9 may fix at least some of the namespace errors.

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

79389397

Date: 2025-01-26 22:27:06
Score: 0.5
Natty:
Report link

I have found a really easy way to achieve what I want. I'm surprised I was unable to find it anywhere, so I'm sharing it for whomever stumbles upon the same problem.

Let's say you have a div with x-data that contains the variable that you want to pass to htmx:

<div x-data="{
    dataForHtmx: {'key1': 1, 'key2': [1,2,3]},
    
    init() {
        Alpine.store('dataForHtmx', this.dataForHtmx);
    },
}">

As you can see, you just need to define the init method and call Alpine.store to make your alpine.js variable visible to outside js code. Now that's how the htmx ajax element needs to look like:

<form hx-post="/your_handle" hx-vals="js:{'data': JSON.stringify(Alpine.store('dataForHtmx'))}" hx-ext="json-enc" class="form" id="form">

And that's it. The value of dataForHtmx will be turned into a json string that you can parse in your backend code. And an amazing thing is that you can manipulate dataForHtmx however you want via x-model etc, and the changes will be reflected in the request. Don't forget to include the json-enc extension, otherwise your request will be in the form of query params.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: DiplomateProgrammer

79389385

Date: 2025-01-26 22:19:04
Score: 1.5
Natty:
Report link

I think this may be the easier way To get the current scroll position of the page or any scrollable element element.scrollHeight

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

79389381

Date: 2025-01-26 22:15:04
Score: 3
Natty:
Report link

For anyone else in the same situation, here is how I solved it:

I used the pip standalone zip application to download pip, install the package, then delete pip

Perma link to code: https://github.com/cibere/flogin/blob/b4619040c1d6cfb19ac211300ecae013cc044454/flogin/pip.py

Reasons:
  • Whitelisted phrase (-2): I solved
  • Probably link only (1):
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: cibere

79389353

Date: 2025-01-26 21:54:59
Score: 0.5
Natty:
Report link

Your 6th item in directive causes Catastrophic backtracking
# Annotatable definition attributes
resulting in TextMate giving up on the rest of the line

regex101.com

\b((?:\s*(?!class|enum|interface|type|namespace|var|const|function|extends|implements|default\s+xml\s+namespace|new|delete|void|typeof|await|yield|instanceof|not\s+in|in|is(\s+not)?|as|if|else|for\s+each|for|return|throw|switch\s+type|switch|case|try|catch|finally\b)(?:[\p{L}$_\p{Nl}]|\\u((\{[A-Fa-f0-9]+\})|[A-Fa-f0-9]{4}))(?:[\p{L}$_\p{Nl}\p{Mn}\p{Mc}\p{Nd}\p{Pc}]|\\u((\{[A-Fa-f0-9]+\})|[A-Fa-f0-9]{4}))*(?:\s*\.\s*(?:[\p{L}$_\p{Nl}]|\\u((\{[A-Fa-f0-9]+\})|[A-Fa-f0-9]{4}))(?:[\p{L}$_\p{Nl}\p{Mn}\p{Mc}\p{Nd}\p{Pc}]|\\u((\{[A-Fa-f0-9]+\})|[A-Fa-f0-9]{4}))*)*)+)\s*(?=class|enum|interface|type|namespace|var|const|function)\b

VSCode JSON TextMate

I would recommend using atomic groups (?>...) and possessive quantifiers ?+, *+ & ++ where possible
This will disable backtracking
Just remember it can be a double edge sword if you've set up your regex in a way that requires backtracking for it to work

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

79389351

Date: 2025-01-26 21:51:59
Score: 3
Natty:
Report link

So how can this be possible on Samsung S5 rooted with magisk on stock Android 6.0.1 ? I searched the internet for straight 4 hours but no practical solution found.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Hasnain

79389333

Date: 2025-01-26 21:34:55
Score: 2.5
Natty:
Report link

Even if I remove turbopack, i still getting same hydratation error,

... was exiting on new chakra 3.5, but seems will still causing me troubles..

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Lucilo del Castillo

79389323

Date: 2025-01-26 21:25:53
Score: 1.5
Natty:
Report link

Recently I had same error. Reason for that I came in thus post.

I have using spyder version 6, installed with flatpak, before I used spyder 5.4.2 (native of debian's repositories).

Was strange because an old script worked fine, then I thinked if proof the same script in Jupyter Notebook? and no problem! then I proof in Pyzo, zero problem, further I decided reinstall spyder 5.4.2, and surprise, it work:

import serial

puerto_serial = '/dev/ttyACM0'
baud_rate = 9600
timeout = 10
    
arduino = serial.Serial(puerto_serial, baud_rate, timeout=timeout)

My humble opinion, if is problem of IDE?

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

79389316

Date: 2025-01-26 21:16:50
Score: 0.5
Natty:
Report link

is there at least a way to prevent Delphi to put a line break after the colon : in case statements?

The formatter has an option Line break after label to control that.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): is there
  • High reputation (-2):
Posted by: Uwe Raabe

79389309

Date: 2025-01-26 21:13:50
Score: 1.5
Natty:
Report link

The solution seems to be related to memory management. BigInteger works in the background with ArrayPool.Shared.Rent. If BigInteger is too busy with new memory being generated, the result of the mathematical operation can be written over the number on the left or right. However, to perform such an operation, it may be necessary to start coding with masm rather than BigInteger. Sample masm project links:

https://github.com/bestprogramming/BigIntAddition https://github.com/bestprogramming/BigIntMultiplication

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

79389303

Date: 2025-01-26 21:10:48
Score: 5
Natty: 4.5
Report link

I tried to use this code to get the option to create two different sigals from my strategy, one for a buy signal and one for a sell signal, but I can't get it to work. It is really frustrating. Has anybody got this working?

Really hoping for help on this. Thank you very much!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • RegEx Blacklisted phrase (2): working?
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Richard Moret

79389278

Date: 2025-01-26 20:52:44
Score: 3
Natty:
Report link

Scenario 1 is the correct one. Try it with a scaleset. Add the rule for CPU>5%, period 5mins, cool down 2mins and you will notice that every 2 mins you will be getting a new instance.

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

79389270

Date: 2025-01-26 20:45:43
Score: 1.5
Natty:
Report link

name: Build STI App

on: push: branches: - main

jobs: build: runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v3

- name: Set up Python (if needed)
  uses: actions/setup-python@v4
  with:
    python-version: 3.9

- name: Build app
  run: |
    echo "Building STI App"
    mkdir output
    cp -r * output/
    echo "Build complete"

- name: Upload artifact
  uses: actions/upload-artifact@v3
  with:
    name: STI-Build
    path: output/
Reasons:
  • Contains signature (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: STI

79389269

Date: 2025-01-26 20:45:43
Score: 1
Natty:
Report link

I found this warning (Incorrect date value: '2024-11-07 22:00:00' for column 'fecha' at row 1) on valid dates The problem cames because I defined a function as: FUNCTION CheckDateTimeHoliday(fecha DATE,....) RETURNS tinyint(1)

but it should be defined with the correct type (DATETIME) FUNCTION CheckDateTimeHoliday(fecha DATETIME,....) RETURNS tinyint(1)

The first function did not give any error, but I found the warning on any SELECT with the incorrect funcion define

Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Oscar García

79389266

Date: 2025-01-26 20:41:42
Score: 2
Natty:
Report link

You don't want to use either of these approaches any more, as they're only valid for older (2.x) models.

Instead, if you need to get token counts for a message before generating a response, you will want to use the count_tokens endpoint (this link is for the Python SDK but is available in the Typescript one and via HTTP requests).

The other, more accurate option, would be to generate your message, and in the resulting Message object, get the exact number of tokens used for the input and output with message.usage.input_tokens and message.usage.output_tokens.

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

79389258

Date: 2025-01-26 20:38:41
Score: 1.5
Natty:
Report link
echo msgbox | "C:\Program Files\AutoHotkey\v2\AutoHotkey64.exe" *

The asterisk means "get the script from standard input". Some special characters in your script must be escaped with a caret (^).

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

79389257

Date: 2025-01-26 20:38:41
Score: 1.5
Natty:
Report link

Based on the comments to the question, I worked out 2 solutions. One based on map, the other still uses slices:

Using map (map[int]Unit like @David-Maze suggested)

package main

import (
    "fmt"
    "slices"
)

type Game struct {
    Map *TileMap
}

type TileMap struct {
    Units map[int]Unit
}

func (tilemap *TileMap) removeByKey(key int) {
    delete(tilemap.Units, key)
}

func (tilemap *TileMap) getUnitsByEmpire(empire int) []int {
    units := []int{}
    for key, unit := range tilemap.Units {
        if unit.Empire == empire {
            units = append(units, key)
        }
    }
    slices.SortStableFunc(units, func(a, b int) int {
        if a < b {
            return -1
        }
        if a > b {
            return 1
        }
        return 0
    })
    return units
}

type Unit struct {
    X, Y, Empire int
}

type Army []int

func (army Army) removeByKey(tilemap *TileMap) []int {
    tilemap.removeByKey(army[0])
    return slices.Delete(army, 0, 1)
}

func (army Army) X(tilemap *TileMap) int {
    return tilemap.Units[army[0]].X
}

func (army Army) setX(tilemap *TileMap, x int) {
    for _, key := range army {
        if entry, ok := tilemap.Units[key]; ok {
            entry.X = x
            tilemap.Units[key] = entry
        }
    }
}

func (army Army) Y(tilemap *TileMap) int {
    return tilemap.Units[army[0]].Y
}

func (army Army) setY(tilemap *TileMap, y int) {
    for _, key := range army {
        if entry, ok := tilemap.Units[key]; ok {
            entry.Y = y
            tilemap.Units[key] = entry
        }
    }
}

func (army Army) print(name string) {
    fmt.Println()
    fmt.Println(name, "len:", len(army), "cap", cap(army), ":")
    fmt.Printf("%+v\n", army)
    for _, unit := range army {
        fmt.Printf("%+v\n", unit)
    }
}

func main() {
    game := Game{}
    game.Map = &TileMap{}
    game.Map.Units = map[int]Unit{
        0:  Unit{X: 0, Y: 0, Empire: 0},
        1:  Unit{X: 0, Y: 0, Empire: 0},
        2:  Unit{X: 0, Y: 0, Empire: 0},
        10: Unit{X: 1, Y: 1, Empire: 1},
        11: Unit{X: 1, Y: 1, Empire: 1},
        12: Unit{X: 1, Y: 1, Empire: 1},
        20: Unit{X: 2, Y: 2, Empire: 2},
        21: Unit{X: 2, Y: 2, Empire: 2},
        30: Unit{X: 3, Y: 3, Empire: 3},
        31: Unit{X: 3, Y: 3, Empire: 3},
        40: Unit{X: 4, Y: 4, Empire: 4},
        41: Unit{X: 4, Y: 4, Empire: 4},
        42: Unit{X: 4, Y: 4, Empire: 4},
    }

    fmt.Println("game.Map.Units:", len(game.Map.Units))
    fmt.Printf("%+v\n", game.Map.Units)
    for key, unit := range game.Map.Units {
        fmt.Printf("%d: %+v\n", key, unit)
    }

    attackers := Army(game.Map.getUnitsByEmpire(1))
    attackers.print("attackers")

    defenders := Army(game.Map.getUnitsByEmpire(3))
    defenders.print("defenders")
    x := defenders.X(game.Map)
    y := defenders.Y(game.Map)

    round := 0
    attackerRandomValues := []int{9, 0, 0, 9}
    defenderRandomValues := []int{0, 9, 9, 0}
    for len(attackers) > 0 && len(defenders) > 0 {
        round++
        r1 := 0
        r2 := 0
        for r1 == r2 {
            //r1 = rand.Intn(10)
            //r2 = rand.Intn(10)
            r1, attackerRandomValues = attackerRandomValues[0], attackerRandomValues[1:]
            r2, defenderRandomValues = defenderRandomValues[0], defenderRandomValues[1:]
        }
        attackerWon := r1 > r2
        if attackerWon {
            defenders = defenders.removeByKey(game.Map)
        }
        defenderWon := r1 < r2
        if defenderWon {
            attackers = attackers.removeByKey(game.Map)
        }

        fmt.Println("\nround:", round)
        attackers.print("attackers")
        defenders.print("defenders")

        fmt.Println("\ngame.Map.Units:", len(game.Map.Units))
        fmt.Printf("%+v\n", game.Map.Units)
        for key, unit := range game.Map.Units {
            fmt.Printf("%d: %+v\n", key, unit)
        }
    }

    attackersWon := len(attackers) > 0
    if attackersWon {
        attackers.setX(game.Map, x)
        attackers.setY(game.Map, y)
        fmt.Println("\nAttackers won!")
        attackers.print("attackers")
    }

    defendersWon := len(defenders) > 0
    if defendersWon {
        fmt.Println("\nDefenders won!")
        defenders.print("defenders")
    }

    fmt.Println("\ngame.Map.Units:", len(game.Map.Units))
    fmt.Printf("%+v\n", game.Map.Units)
    for key, unit := range game.Map.Units {
        fmt.Printf("%d: %+v\n", key, unit)
    }
}

https://goplay.tools/snippet/DybcFaj1I29

Using slices (like I suggested myself during the question)

package main

import (
    "fmt"
    "slices"
)

type Game struct {
    Map *TileMap
}

type TileMap struct {
    Units []Unit
}

func (tilemap *TileMap) removeById(id int) []Unit {
    for i := range tilemap.Units {
        if tilemap.Units[i].Id == id {
            return tilemap.removeUnitByIndex(i)
        }
    }
    return nil
}

func (tilemap *TileMap) removeUnitByIndex(i int) []Unit {
    return slices.Delete(tilemap.Units, i, i+1)
}

func (tilemap *TileMap) getUnitsByEmpire(empire int) []*Unit {
    units := []*Unit{}
    for i := range tilemap.Units {
        if tilemap.Units[i].Empire == empire {
            units = append(units, &tilemap.Units[i])
        }
    }
    return units
}

type Unit struct {
    Id, X, Y, Empire int
}

type Army []*Unit

func (army Army) removeUnitByIndex(i int) Army {
    return slices.Delete(army, i, i+1)
}

func (army Army) X() int {
    return army[0].X
}

func (army Army) setX(x int) {
    for _, unit := range army {
        unit.X = x
    }
}

func (army Army) Y() int {
    return army[0].Y
}

func (army Army) setY(y int) {
    for _, unit := range army {
        unit.Y = y
    }
}

func (army Army) print(name string) {
    fmt.Println()
    fmt.Println(name, "len:", len(army), "cap", cap(army), ":")
    fmt.Printf("%+v\n", army)
    for _, unit := range army {
        fmt.Printf("%+v\n", unit)
    }
}

func main() {
    game := Game{}
    game.Map = &TileMap{}
    game.Map.Units = append(game.Map.Units, Unit{Id: 0, X: 0, Y: 0, Empire: 0}, Unit{Id: 1, X: 0, Y: 0, Empire: 0}, Unit{Id: 2, X: 0, Y: 0, Empire: 0})
    game.Map.Units = append(game.Map.Units, Unit{Id: 10, X: 1, Y: 1, Empire: 1}, Unit{Id: 11, X: 1, Y: 1, Empire: 1}, Unit{Id: 12, X: 1, Y: 1, Empire: 1})
    game.Map.Units = append(game.Map.Units, Unit{Id: 20, X: 2, Y: 2, Empire: 2}, Unit{Id: 21, X: 2, Y: 2, Empire: 2})
    game.Map.Units = append(game.Map.Units, Unit{Id: 30, X: 3, Y: 3, Empire: 3}, Unit{Id: 31, X: 3, Y: 3, Empire: 3})
    game.Map.Units = append(game.Map.Units, Unit{Id: 40, X: 4, Y: 4, Empire: 4}, Unit{Id: 41, X: 4, Y: 4, Empire: 4}, Unit{Id: 42, X: 4, Y: 4, Empire: 4})

    fmt.Println("game.Map.Units:", len(game.Map.Units), cap(game.Map.Units))
    fmt.Printf("%+v\n", game.Map.Units)
    for _, unit := range game.Map.Units {
        fmt.Printf("%+v\n", unit)
    }

    killed := []int{}

    attackers := Army(game.Map.getUnitsByEmpire(1))
    attackers.print("attackers")

    defenders := Army(game.Map.getUnitsByEmpire(3))
    defenders.print("defenders")
    x := defenders.X()
    y := defenders.Y()

    round := 0
    attackerRandomValues := []int{9, 0, 0, 9}
    defenderRandomValues := []int{0, 9, 9, 0}
    for len(attackers) > 0 && len(defenders) > 0 {
        round++
        r1 := 0
        r2 := 0
        for r1 == r2 {
            //r1 = rand.Intn(10)
            //r2 = rand.Intn(10)
            r1, attackerRandomValues = attackerRandomValues[0], attackerRandomValues[1:]
            r2, defenderRandomValues = defenderRandomValues[0], defenderRandomValues[1:]
        }
        attackerWon := r1 > r2
        if attackerWon {
            killed = append(killed, defenders[0].Id)
            defenders = defenders.removeUnitByIndex(0)
        }
        defenderWon := r1 < r2
        if defenderWon {
            killed = append(killed, attackers[0].Id)
            attackers = attackers.removeUnitByIndex(0)
        }

        fmt.Println("\nround:", round)
        attackers.print("attackers")
        defenders.print("defenders")
        fmt.Println("\nkilled:", killed)

        fmt.Println("\ngame.Map.Units:", len(game.Map.Units), cap(game.Map.Units))
        fmt.Printf("%+v\n", game.Map.Units)
        for _, unit := range game.Map.Units {
            fmt.Printf("%+v\n", unit)
        }
    }

    attackersWon := len(attackers) > 0
    if attackersWon {
        attackers.setX(x)
        attackers.setY(y)
        fmt.Println("\nAttackers won!")
        attackers.print("attackers")
    }

    defendersWon := len(defenders) > 0
    if defendersWon {
        fmt.Println("\nDefenders won!")
        defenders.print("defenders")
    }

    fmt.Println("\nRemoving killed units ...")

    fmt.Println("\ngame.Map.Units:", len(game.Map.Units), cap(game.Map.Units))
    fmt.Printf("%+v\n", game.Map.Units)
    for _, unit := range game.Map.Units {
        fmt.Printf("%+v\n", unit)
    }

    for _, id := range killed {
        game.Map.Units = game.Map.removeById(id)
    }

    fmt.Println("\ngame.Map.Units:", len(game.Map.Units), cap(game.Map.Units))
    fmt.Printf("%+v\n", game.Map.Units)
    for _, unit := range game.Map.Units {
        fmt.Printf("%+v\n", unit)
    }
}

https://goplay.tools/snippet/sLPbCPyRoGG

Please feel free to comment to improve the code posted!

Reasons:
  • Blacklisted phrase (1): to comment
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @David-Maze
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: scratch

79389254

Date: 2025-01-26 20:35:40
Score: 1
Natty:
Report link

I came here because I faced the same issue in a Fedora Fresh install. After that, I spent an evening solving the problem. Thanks to chatGPT and DeepSeek, I discovered the issue, as Warp uses Wireguard. Ensure the kernel module is loaded

   sudo modprobe wireguard 
   lsmod | grep wireguard # Check if loaded

If not loaded above then install

    sudo dnf install cloudflare-warp

Key Dependencies to check

    sudo dnf install wireguard-tools
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Joe

79389251

Date: 2025-01-26 20:33:40
Score: 0.5
Natty:
Report link

Ever wanted to compare two values but didn't know which operator might be needed (==, !=, <, >, etc)?

This little function dynamically accepts two values (operands) and a string operator and returns a Boolean result.

Hopefully somebody can use the code below as a starting point. Happy coding!

# Compare Two Values Using String Operator

def Compare(Operand, Operator, Comparitor):
    """
    This function allows one to pass two values
    : (Operand and Comparitor) and one dynamic string
    : Operator.  Results (True or False) based on the
    : logical evaluation of the full expression.
    :
    : NOTE: Operand and Comparitor must be the same 
    : data type. 
    :
    : Incoming Parameters:
    : Operand:      Any value, any data type
    : Operator:     "==", "!=", ">", ">=", "<", "<="
    : Comparitor:   Any value, data type must match 
    :                           Operand data type
    :
    : Return value: True or False (Boolean)
    :
    : Example:      Compare(0, "==", 1) returns False
    : Example:      Compare("a", "!=", "x") returns True
    """

    if type(Operand) != type(Comparitor):
        print("Operand and Comparitor must be the same days type:")
        print("   Operand data type: ", type(Operand))
        print("Comparitor data type: ", type(Comparitor))
        raise Exception("Data types mismatch")
    #_if
    
    match Operator:
        case "==":
            if Operand == Comparitor:
                return(True)
            else:
                return(False)
        case "!=":
            if Operand != Comparitor:
                return(True)
            else:
                return(False)
        case ">":
            if Operand > Comparitor:
                return(True)
            else:
                return(False)
        case ">=":
            if Operand >= Comparitor:
                return(True)
            else:
                return(False)
        case "<":
            if Operand < Comparitor:
                return(True)
            else:
                return(False)
        case "<=":
            if Operand <= Comparitor:
                return(True)
            else:
                return(False)
        case _: # unmatched case above
            raise Exception("Operator " + Operator + " not supported.")
    
    raise Exception("Unreachable code error.")
        
#_def

# Isolated self-tests
if __name__ == "__main__":
    print("expect true: ",  Compare("phone", "==", "phone"))
    print("expect false: ", Compare("phone", "!=", "phone"))
    print("expect true: ",  Compare("phone", ">",  "number"))
    print("expect true: ",  Compare("phone", ">=", "book"))
    print("expect true: ",  Compare("phone", "<",  "call"))
    print("expect false: ", Compare("phone", "<=", "receiver"))
    # print("Data type error: ", Compare("x", ">=",  200))
    # print("Operand error: ", Compare("phone", "tbd",  "telly"))
#_if __name__ Self-Tests
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: David A. Steinberg

79389249

Date: 2025-01-26 20:33:40
Score: 1
Natty:
Report link

Like Pipo mention, you need to add a version number after the carrot "^" to the repo reference in your composer require command: "'composer' 'require' 'pantheon-systems/drupal-integrations:^<add_version_here>' '--no-update'".

Here's the repor for themodule https://github.com/pantheon-systems/drupal-integrations where you can get the appropriate version (branch or tag).

Good luck.

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

79389240

Date: 2025-01-26 20:27:38
Score: 1
Natty:
Report link

While it's possible, you can probably capture it without using negative lookahead using something like:

\s*General\s+Information\s+(?:---)+-*[\s\S]+?(?:---)+-*\s*$

You can read the details here

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

79389234

Date: 2025-01-26 20:22:37
Score: 1
Natty:
Report link
user_input = input()
short_names = user_input.split()
    
   
short_names = short_names[0:] #allows for input of all elements in dict
del short_names[0] #delete first element 
 
#change the last element to Joe
short_names[-1] = "Joe" 
    
print(short_names)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Aaron J. Washington

79389230

Date: 2025-01-26 20:18:37
Score: 1.5
Natty:
Report link

Yeah, Pantheon can be extremely annoying. Try prepending "STYXKEY_" to the name of all cookies (e.g. "STYXKEY_my-cookie") that you set and get. Checkout this Pantheon page regarding caching (https://docs.pantheon.io/caching-advanced-topics). The prepended string tells Pantheon to include the cookie.

Goog luck.

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

79389228

Date: 2025-01-26 20:18:36
Score: 4
Natty: 4.5
Report link

this is an article explaining the issue and how to fix it its about TLS/JA3 Fingerprinting

https://medium.com/@gg5cr71/how-to-fix-403-forbidden-errors-when-calling-apis-using-python-requests-bcfc1b7eb4da

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: M Younes

79389227

Date: 2025-01-26 20:17:35
Score: 5.5
Natty:
Report link

i resolve the problem its configuration of virtual host and the host file of windows thx for all and thx for this post Virtual host not working on XAMPP, something very strange happenning

Reasons:
  • Blacklisted phrase (1): thx
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: amine amino

79389224

Date: 2025-01-26 20:16:35
Score: 1
Natty:
Report link

This error generally occurs due to version incompatibility of redux and redux-thunk

you can try using the compatible version then it will work

try installing the existing version then install below version

as it has resolved my issue, can try this

npm install [email protected] [email protected]

Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Shivam

79389216

Date: 2025-01-26 20:11:33
Score: 1.5
Natty:
Report link

Move you application folder to another smaller path it's just a problem or PATH Length

Remove node_modules folder and android folder and re-run npm run android

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

79389205

Date: 2025-01-26 20:02:32
Score: 0.5
Natty:
Report link

I had to struggle with this too, the problem for me was that I had to escape the string parameters with backslashes:

gimp-2.8 -i -b '(batch-unsharp-mask \"*.png\" 5.0 0.5 0)' -b '(gimp-quit 0)'
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hasenpriester

79389201

Date: 2025-01-26 19:54:30
Score: 0.5
Natty:
Report link

Not sure what is the error as I cannot see the error.

You can add this to your pom.xml

    <dependency>
        <groupId>org.apache.logging.log4j</groupId>
        <artifactId>log4j-api</artifactId>
        <version>2.16.0</version>
    </dependency>

Import this on your class file

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

define your logger name

public class myclassname {
    private static final Logger logger = LogManager.getLogger(myclassname.class)

use this method to call your logger

  logger.error();
Reasons:
  • Blacklisted phrase (0.5): I cannot
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Engr Ebuka Orioha

79389190

Date: 2025-01-26 19:46:28
Score: 1
Natty:
Report link

The flutter_html package(at least the version you've imported) under the hood uses the webview_flutter plugin. You didn't mention what version of flutter_html you are using, but, i suppose, it's around 2.2.1. This version works with webview_flutter package from version 2.0.4 till 3.0.0(exclusive).

The error you're getting says that the webview_flutter package doesn't provide the API we expect. That means only one thing: you are using a version of the webview_flutter that flutter_html(the version you're using) isn't ready to work with.

How is it possible? Perhaps, you're importing imperatively by yourself the webview_flutter in pubspec.yaml, and you're importing a version out of the range ">=2.0.4 <3.0.0"(perhaps you're importing a newer version, that changed its API).

How to solve the issue?

You have to make sure that both flutter_html package and your own code use the same version(API) of the webview_flutter plugin. You can do it either by:

  1. Downgrading the version of webview_flutter to the range that flutter_html expects
  2. Upgrading the flutter_html version(to the prerelease version. For example 3.0.0-beta2) because: it has been splitted into multiple packages, and now it is more modular, and it gives you the choice to import only the modules you need. webview_flutter is used in the iframe module. You may not need it at all, and, therefore, you will just not import it, and the problem is solved. And even if you need it, and you want to import it, this module uses already the newer API of the webview_flutter plugin(>=4.0.0 <5.0.0, i suppose, the one you are using), and it should solve your problem.

Hope it helps. Good luck!

Reasons:
  • Blacklisted phrase (1): How to solve
  • Whitelisted phrase (-1): Hope it helps
  • RegEx Blacklisted phrase (1.5): How to solve the issue?
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Radomir Epur