79306360

Date: 2024-12-24 19:26:58
Score: 2
Natty:
Report link

Add a static arp entry so the packet is sent. In "real world" arp entries can last for 4 hours or sometimes indefinitely, so this is a valid test.

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

79306358

Date: 2024-12-24 19:25:57
Score: 1
Natty:
Report link

If your only concern is that your function returns a matrix then regardless of what your preceding data types/structures are you could always just finalize the output as a matrix unless you need the preceding data processing to work with a matrix structure, which doesn't sound the like problem at all.

see fundamental example below:

x <- c(1:5)
y <- c(6:10)

foo <- function(x, y){
  z <- cbind(x,y)
   return(as.matrix(z))
}

z <-foo(x,y)
z
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user28876813

79306353

Date: 2024-12-24 19:19:56
Score: 1.5
Natty:
Report link

Section 5.3.5 in RFC 1812, "Requirements for IP Version 4 Routers", mentions that routers must not forward packets with a destination of 255.255.255.255 (aka "limited broadcast address"). So it's not allowed in the routing table.

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

79306349

Date: 2024-12-24 19:17:55
Score: 3
Natty:
Report link

December 2024 and this bug is still present. Very annoying.

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

79306335

Date: 2024-12-24 19:02:52
Score: 1.5
Natty:
Report link

thank you for everyone's input, i learned alot. From Snak3D0c's input Added a shorter form for a one-liner syntax: $link=gc "$env:localappdata\Google\Chrome\User Data\Default\Bookmarks" | out-string | ConvertFrom-Json;$data.roots.bookmark_bar.children| ?{($.url -like 'http*')}| Select name,@{l="Link";e={"$($.url)"}},@{l="last accessed";e={"$([datetime]::FromFileTime(([double]$_.Date_Added)*10))"}}| epcsv .\listin_url.csv -Deli "," -NoT

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Clem

79306331

Date: 2024-12-24 18:59:52
Score: 3
Natty:
Report link

I made this gist that explains how to extract all your WhatsApp data from an Android as db files. If someone finds it interesting, here it is: https://gist.github.com/TraceM171/0e6bd8f930cddb5e468e9e6d0460d22a

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

79306323

Date: 2024-12-24 18:53:50
Score: 2
Natty:
Report link

I found the same bug on the one of the sites that I maintain...

I got the same error in browser (ERR_CONNECTION_RESET OK 200) without VPN

Everything was fine according to Nginx logs, but there was a problem with network provider

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

79306305

Date: 2024-12-24 18:41:47
Score: 1
Natty:
Report link

I came across the need to do this when trying to intercept the native fetch api.

In addition to @ChrisHamilton's answer, since for me window had to be at a global scope, I ended up putting this check as well:

if (typeof window !== 'undefined') {
    const { fetch } = window;
    originalFetch = fetch;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @ChrisHamilton's
Posted by: juztcode

79306300

Date: 2024-12-24 18:35:44
Score: 7 🚩
Natty:
Report link

did you find any answer 🥺 because I couldn't find any answer

Reasons:
  • RegEx Blacklisted phrase (3): did you find any answer
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did you find any answer
  • Low reputation (1):
Posted by: Deniz

79306285

Date: 2024-12-24 18:28:43
Score: 1
Natty:
Report link

The issue is that the module "minecraft-packets" was updated from 1.5.0 to 1.5.7 with a breaking change. For a temporary fix you can either rename the versions "1.8" to "1.8.8" inside /node_modules/prismarine-proxy/src/instant_connect_proxy.js or alternatively downgrade minecraft-packets to 1.5.0.

Another issue will occur because the encryption fails, the only workaround I have found so far is disabling "online-mode" in /node_modules/prismarine-proxy/src/instant_connect_proxy.js (this is the authentication between your game and the proxy). Beware, this is a security risk if ran on an exposed network/server since anyone can now connect to your proxy.

source and more info: https://github.com/PrismarineJS/prismarine-proxy/issues/42 https://github.com/PrismarineJS/prismarine-proxy/issues/40

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

79306278

Date: 2024-12-24 18:25:41
Score: 4.5
Natty:
Report link

Try FlowDirection="RightToLeft"

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

79306277

Date: 2024-12-24 18:24:41
Score: 1.5
Natty:
Report link

in compiling gqrx same problem

install libboost_test-devel

zypper in libboost_test-devel Loading repository data... Reading installed packages... Resolving package dependencies...

The following 2 NEW packages are going to be installed: libboost_test-devel libboost_test1_86_0-devel

2 new packages to install.

Package download size: 24.5 KiB

Package install size change: | 19.5 KiB required by packages that will be installed 19.5 KiB | - 0 B released by packages that will be removed

Backend: classic_rpmtrans Continue? [y/n/v/...? shows all options] (y): Retrieving: libboost_test1_86_0-devel-1.86.0-1.2.x86_64 (Main Repository (OSS)) (1/2), 16.8 KiB
Retrieving: libboost_test1_86_0-devel-1.86.0-1.2.x86_64.rpm ..........................................................................................[done (1.0 KiB/s)] Retrieving: libboost_test-devel-1.86.0-2.1.noarch (Main Repository (OSS)) (2/2), 7.7 KiB
Retrieving: libboost_test-devel-1.86.0-2.1.noarch.rpm ................................................................................................[done (3.8 KiB/s)]

Checking for file conflicts: .....................................................................................................................................[done] (1/2) Installing: libboost_test1_86_0-devel-1.86.0-1.2.x86_64 ....................................................................................................[done] (2/2) Installing: libboost_test-devel-1.86.0-2.1.noarch ..........................................................................................................[done] Running post-transaction scripts .................................................................................................................................[done]

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • No latin characters (0.5):
  • Filler text (0.5): ..........................................................................................
  • Filler text (0): ................................................................................................
  • Filler text (0): .....................................................................................................................................
  • Filler text (0): ....................................................................................................
  • Filler text (0): ..........................................................................................................
  • Filler text (0): .................................................................................................................................
  • Low reputation (0.5):
Posted by: nexoma

79306265

Date: 2024-12-24 18:21:40
Score: 4.5
Natty:
Report link

It works by default, i'm fool. Sorry

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

79306263

Date: 2024-12-24 18:20:39
Score: 0.5
Natty:
Report link

Using the password grant type for generating bearer tokens is not recommended for production environments due to security concerns and issues like password expiration. Instead, you should send activity feed notifications through the Microsoft Graph API, which uses the client credentials flow to obtain an access token from Azure AD.

Ref Doc: https://learn.microsoft.com/en-us/microsoftteams/platform/tabs/send-activity-feed-notification?tabs=desktop#send-activity-feed-notifications-to-users

Reasons:
  • No code block (0.5):
Posted by: Nivedipa-MSFT

79306262

Date: 2024-12-24 18:20:39
Score: 3.5
Natty:
Report link

seems reason is it takes only binary not plain text in data

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

79306247

Date: 2024-12-24 18:13:37
Score: 4
Natty: 6
Report link

Valida se as instancias ao subir estao subindo em qual subnet

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

79306244

Date: 2024-12-24 18:12:36
Score: 1.5
Natty:
Report link

You may use this:

import re

txt = "$2024122201200}"
x = re.sub(r'\$(\d+)[}]*', r'\1', txt)
print(x)

txt = "$2024122201200"
x1 = re.sub(r'\$(\d+)[}]*', r'\1', txt)
print(x1)

https://www.programiz.com/online-compiler/0fkwe2zixyrrQ

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

79306213

Date: 2024-12-24 18:00:32
Score: 1
Natty:
Report link
npm install react-native-reanimated react-native-screens react-native-safe-area-context

this will update safe area contex and screens to latest version but your dependencies is going to increase way to more you know

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

79306200

Date: 2024-12-24 17:53:31
Score: 3.5
Natty:
Report link

pythonDraw the following graphic with optimum python code

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

79306176

Date: 2024-12-24 17:42:27
Score: 2
Natty:
Report link

I am just facing the EXACLY same problem and just realize Stripe probably wont cover such a use case... Still looking for a solution too. The problem on usage based tiered gradually is that it forces user to pay for usage based on anual basis too.

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

79306174

Date: 2024-12-24 17:42:27
Score: 1
Natty:
Report link
  1. Try this command to allow port with tcp protocol: sudo ufw allow 7777/tcp

  2. If above command not works, Try with disabling firewall for testing purpose
    # sudo ufw disable
    If it work's, When disabling firewall, Let me know ?

  3. If incase, after disabling firewall also, If it not work's, Please try by checking network connectivity, Between to VM's by using ping and telnet command's

I hope this will solve your problem.

Reasons:
  • Whitelisted phrase (-1): Try this
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Lakshmi yagnananda reddy

79306172

Date: 2024-12-24 17:41:27
Score: 0.5
Natty:
Report link

In my case the issue was that C:\Users\[User Name]\OneDrive\Documents\IISExpress\config was not synced through Onedrive.

enter image description here

once synced vs.net was able to create the project

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

79306167

Date: 2024-12-24 17:38:26
Score: 2.5
Natty:
Report link

I'm having this exact issue now with .NET 9. It works fine locally, but published to IIS it doesn't load the QuickGrid's css. It used to work fine with .NET 8.

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

79306147

Date: 2024-12-24 17:29:24
Score: 0.5
Natty:
Report link

Don't promise you can get this to work in a way that suits your needs, but you might be able to rig something up with ParseDepends. That method reads an external dependency file to add dependency relationships, and by default just skips it if the dep file isn't there. However, it would be an additional file you have to create if the dot file you want to optionally depend on exists, because the dep file itself has to be in a specific format (target: dep1 dep2... depN). See if this gives you any ideas:

https://scons.org/doc/production/HTML/scons-user.html#id1330

(sorry that's one of the User Guide chapters that hasn't yet been converted to named section anchors, so it's kind of a funky link).

Reasons:
  • Blacklisted phrase (1): any ideas
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mats Wichmann

79306144

Date: 2024-12-24 17:26:23
Score: 0.5
Natty:
Report link

I got this error when connecting from a docker container that contains a self-contained .net application to a container with SQL Server.

Adding the following lines to my Dockerfile helped me

RUN apt-get install -y libicu74

ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false

I saw the solution here https://github.com/dotnet/SqlClient/issues/220

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

79306142

Date: 2024-12-24 17:25:21
Score: 8 🚩
Natty: 5.5
Report link

facing same error, did you have any option?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): facing same error
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Thomas Soto

79306141

Date: 2024-12-24 17:24:21
Score: 2
Natty:
Report link

I guess they have to be unique (since they are just functions), according to https://smt-lib.org/papers/smt-lib-reference-v2.6-r2017-07-18.pdf, page 61, where it says: "Similarly, constructors and selectors are function symbols, so none of them can be a previous declared/defined function symbol. This has the effect of also prohibiting, for instance, the use of the same constructor in different datatypes or the use of repeated instances of the same selector in the same datatype."

However, it seems to work partially which is interesting.

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

79306138

Date: 2024-12-24 17:23:21
Score: 2.5
Natty:
Report link

Just to clarify, that was the complete code for the subject of the question I asked, i.e., enter on the close and exit on the next day's open. Based on the response regarding sessions, I was able to produce a script that works on the 30-minute timeframe. This limits you to only a few years of backtesting.

Here is the script for anyone seeking an answer to this question. It includes a date filter and trend filter that you can optionally select. If anyone has a better way that will actually backtest 10 years or more, please share.

//@version=5
strategy("After-Hours Entry and Exit (Precise Timing)",
     overlay=true,
     initial_capital=10000,
     default_qty_type=strategy.percent_of_equity,
     default_qty_value=100)




//Input of Date Filters
i_dateFilter    = input.bool(false,  "Date Range Filtering On/Off")
i_fromYear      = input.int(1900,   "From Year",    minval = 1900)
i_fromMonth     = input.int(1,      "From Month",   minval = 1, maxval = 12)
i_fromDay       = input.int(1,      "From Day",     minval = 1, maxval = 31)
i_toYear        = input.int(2999,   "To Year",      minval = 1900)
i_toMonth       = input.int(1,      "To Month",     minval = 1, maxval = 12)
i_toDay         = input.int(1,      "To Day",       minval = 1, maxval = 31)

fromDate        = timestamp(i_fromYear, i_fromMonth, i_fromDay, 00, 00)
toDate          = timestamp(i_toYear, i_toMonth, i_toDay, 23, 59)
f_tradeDateIsAllowed() => not i_dateFilter or (time >= fromDate and time <= toDate)

//Long Trend Filter 
trendFilter    = input.bool(false,  "Long Trend Filter", group= 'Long Trend Filter') 
trendlength = input(title='Trend Lookback', defval=200, group='Long Trend Filter')
trend= ta.sma(close, trendlength)
f_trendFilterIsAllowed() => not trendFilter or (close >= trend)





// Define the timezone
inputTimezone = "GMT+0"

// Define the after-hours session (4:00 PM to 9:30 AM)
afterHoursStart = timestamp(inputTimezone, year, month, dayofmonth, 15, 30)  // 4:00 PM
afterHoursEnd = timestamp(inputTimezone, year, month, dayofmonth + (hour >= 15 ? 1 : 0), 9, 00)  // 9:30 AM next day

// Adjust the current bar's timestamp
currentBarTime = timestamp(inputTimezone, year, month, dayofmonth, hour, minute)

// Check if the current bar starts or ends within the after-hours session
entersAfterHours = (currentBarTime >= afterHoursStart and currentBarTime < afterHoursEnd) and strategy.position_size == 0
exitsAfterHours = (currentBarTime >= afterHoursEnd) and strategy.position_size > 0

// Entry logic
if entersAfterHours and f_tradeDateIsAllowed() and f_trendFilterIsAllowed()
    strategy.entry("After-Hours Buy", strategy.long)

// Exit logic
if exitsAfterHours
    strategy.close("After-Hours Buy")
Reasons:
  • RegEx Blacklisted phrase (2.5): please share
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Jerry Roach

79306130

Date: 2024-12-24 17:15:19
Score: 3
Natty:
Report link

try add themeVariant="light"

Reasons:
  • Low length (2):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Maria Eduarda

79306128

Date: 2024-12-24 17:13:18
Score: 1
Natty:
Report link

Adding this answer because I don't see it here already.

If, in the constructor for the custom control, you are doing things like getting data to populate the control with, that can cause the problem of the control not being displayed in the designer.

To test for the above, just comment out any code you have in the constructor for the control other than InitializeComponent() and then rebuild the solution and check whether the control is showing up in the designer.

If this fixes your problem then move the code that you commented out in the constructor of the control into the constructor of the form, adjusting scope of methods and sub-controls as necessary to make them accessible from the form.

I don't really know why the above solution works, but I think it has to do with the order in which the code executes. I think that trying to populate the control with content before the form has initialized itself is the problem.

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

79306124

Date: 2024-12-24 17:09:18
Score: 1
Natty:
Report link

If you used Docker to set up GitLab, the default root password is stored in a file within the container. To retrieve it, run the following command:

docker exec <gitlab-container-name> cat /etc/gitlab/initial_root_password
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: mohsen-nazari

79306123

Date: 2024-12-24 17:08:17
Score: 2.5
Natty:
Report link

The https://script.google.com/a/*/macros/s/abcdefgh/exec with a and s works in mobile but this url then does not work on windows browser. No idea why google has not done anything for this, while they are promoting development through appscript.

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

79306119

Date: 2024-12-24 17:05:17
Score: 2
Natty:
Report link

(I am using Visual Studio 2022 Community Edition) I was facing the same problem. the solution to this was modifying the packages in Visual Studio - and adding - ASP.NET Web Application (.NET Framework) package.

Please follow the steps below:

Go to File New project Scroll down, at last, you'll see - Not finding what are you looking for go to Install More tools and Features

it will open Visual Studio Installer

go to Modify Go to INdividual packages Tab Search For: " .NET Framework project and item templates " and mark the checkbox. Install the packages

Installing .NET Framework project and item templates ask for 1.6GB of space requirement, which might be the reason for not being included by default in the first place during the Visual Studio 2022 installation.

It should solve your problem Regards

Reasons:
  • Blacklisted phrase (1): Regards
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Tú Tài Nguyễn Ngọc

79306112

Date: 2024-12-24 17:03:16
Score: 0.5
Natty:
Report link

I found a manual but very simple solution

cd ~/.android/avd
rm -f DEVICE_NAME.ini
rm -rf DEVICE_NAME.avd

For windows, use the equivalent commands. I usually use git bash for things like this on Windows.

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

79306111

Date: 2024-12-24 17:03:16
Score: 2.5
Natty:
Report link

I have faced same issue, first thing to check is whether those js files are coming to dist folder or not along with other files. Second thing is while building if any dependency is causing issue, if yes, it wont copy further dependencies like angular core, it will log info on where it is going wrong.

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

79306102

Date: 2024-12-24 16:56:14
Score: 0.5
Natty:
Report link

Apparently ojdbc8, that I was using, is not compatible with Oracle 11g. I switched to ojdbc6 and it started working.

ojdbc8 (and for that matter even ojdbc17 also) work in development environment, from within IntelliJ, but fails in Docker.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: AnR

79306100

Date: 2024-12-24 16:55:13
Score: 5.5
Natty:
Report link

FYI: I got the same result, but when I did a graph call to list the events, they were there???

I saw in the docs that events created using this API dont appear in your calandar, but I cannot find that at this time...

Reasons:
  • Blacklisted phrase (1.5): I cannot find
  • Blacklisted phrase (1): ???
  • Blacklisted phrase (0.5): I cannot
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Mike Frye

79306098

Date: 2024-12-24 16:53:13
Score: 3.5
Natty:
Report link

Google Drive operations can time out when the number of files or subfolders in a folder grows too large. Check the below link.

https://research.google.com/colaboratory/faq.html#drive-timeout

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

79306091

Date: 2024-12-24 16:50:13
Score: 0.5
Natty:
Report link

Just ran into this myself so thought I'd provide answer, I did the last option. You could either:

Use "Relative Path Support" in Portainer BE (you can sign-up to get free 3 node business edition license), see: https://docs.portainer.io/advanced/relative-paths

OR

Add a service container to do git checkout into volume, see: https://github.com/portainer/portainer/issues/6390#issuecomment-1100954657

OR

Use an environment variable to point to full path, see: https://github.com/portainer/portainer/issues/6390#issuecomment-1142664730

Ex (copy paste from above reference):

services: node: image: node:alpine volumes: - ${PROJECT_PATH:-$PWD}:/app

This will fail because /app folder will be empty. But you can go into the Container -> Container details -> Labels
and check the com.docker.compose.project.working_dir Get this value and set the PROJECT_PATH env var to it.
Also you might need to prepend it with the full path to portainer Ex. com.docker.compose.project.working_dir = /data/compose/5
Portainer absolute path is /mnt/ssd-pool/apps/portainer
so the PROJECT_PATH is /mnt/ssd-pool/apps/portainer/data/compose/5
Then you can Pull and redeploy Also docker-compose has default value $PWD that is for local development.

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

79306090

Date: 2024-12-24 16:50:13
Score: 2.5
Natty:
Report link

because you listview under the notification bar. you make below the notification bar. you can fix that use SafeArea.

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

79306086

Date: 2024-12-24 16:47:12
Score: 1.5
Natty:
Report link

I have thought about this thoroughly and it is impossible to secure this type of data. The schema group Ic3 or web intelligence uses the system now which i am remarking on what is now facial recognition and fingerprint coding. Data storage and privacy in the digital meta sphere is impossible. All information must be open sourced zero passwords and personally coded. The deeper 'risk' is ethics and legality across invisible borders. So my answer is proper placement of web ethics over personal privacy. The code should be made public not private or enveloped in service agreements without prior international commitment to personal opinions, beliefs, safety and regulations. Warnings would be solution ergo after a constitutional/international law be passed on public awareness of a non_privacy act or some other ethics which is where my solution stops. Free the internet let the people decide and make it well known.

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

79306084

Date: 2024-12-24 16:47:12
Score: 1.5
Natty:
Report link

I open the Apple Support app (I dont remember the exact name) on my PC, supposedly the iTunes app doesn't work anymore? I plugged my phone in via the included Apple charging cable and iTunes did not detect my phone. So after opening the Apple Support app, it was removed automatically then replaced with Apple Device app, which then could detect my iPhone. After that, the error was gone. Hope it helps

Reasons:
  • Whitelisted phrase (-1): Hope it helps
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Minh Duy Bùi

79306072

Date: 2024-12-24 16:39:10
Score: 1
Natty:
Report link

it seems to me that after the fifth element, future elements seem to be generated based on one of a few operations. a general description of the sequence may be seen as follows: replace the lonely blue node (with nothing branching from it) with a chain of two blue nodes, then remove them and replace them with several green nodes branching from the starting node. then continue by removing nodes. at some point, stop removing nodes, and start again with a green node with blue nodes branching from it with each of which (except one) has a green node coming from it. continue as before, except at some point add as many blue nodes as possible (still possibly retaining some green nodes branching from blue nodes). continue as previously. I do also spot the error with the last three elements of the shown sequence having one too many blue nodes. I expect the next element of the sequence to be the last one shown, minus one green node, and perhaps it would continue like before with this repeated green node trick. it is however, unclear when to diversify into many branches and when to stop removing nodes. I might wonder how long the sequence would be if you were forced to use the maximum number of nodes at each step (this is relevant to a puzzle I know of, on the confounding calendar) I expect the total would be significantly reduced considering how many steps are done by removing nodes.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Parker Shimoda

79306063

Date: 2024-12-24 16:34:08
Score: 6 🚩
Natty: 4.5
Report link

https://i.sstatic.net/BOFEl2Kz.jpg

enter image description here

[

]3

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • No latin characters (0.5):
  • Low reputation (1):
Posted by: Burra Sumalatha

79306057

Date: 2024-12-24 16:32:08
Score: 0.5
Natty:
Report link

Looking at Kotlin generic class to math numbers.

There seems to be no way to do what you want. As the math operators have no relation to Number.

The only thing you can work with is the toDouble / toLong / .. operations. So indeed like you said the only solutions you have is typecasting it.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Gijs Den Hollander

79306042

Date: 2024-12-24 16:24:06
Score: 1.5
Natty:
Report link

The simple way is:

MyList.ForEach(async a => await UploadAsync(a.Data));
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Reza Karimnia

79306041

Date: 2024-12-24 16:23:06
Score: 2
Natty:
Report link

I'm using 2 GET operations, the first for editing with a granted role, the second for public access with a invoke controller, but you need to return a JsonResponse

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

79306040

Date: 2024-12-24 16:23:06
Score: 0.5
Natty:
Report link

Globally configuration for json_serializable in a Flutter project.

Create a file called build.yaml at the root of your Flutter project and paste the code below.

targets:
  $default:
    builders:
      json_serializable:
        options:
          include_if_null: false
          explicit_to_json: true
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: 3kdeveloper

79306038

Date: 2024-12-24 16:22:05
Score: 0.5
Natty:
Report link

readonly AsyncRetryPolicy _retryPolicy;

_retryPolicy = Policy .Handle<MongoDB.Driver.MongoInternalException>() .WaitAndRetryAsync(3, attempt => TimeSpan.FromSeconds(_retryInterval[attempt - 1]));

`await _retryPolicy.ExecuteAsync(async () => { var updateResult = await repository.UpdateAsync(param1, param2, cancellationToken); totalUpdatedRows += updateResult?.ModifiedCount ?? 0;

 if (updateResult == null || updateResult.MatchedCount == 0 || totalUpdatedRows != alertIntegrationsCount)
 {
     throw new MongoDB.Driver.MongoInternalException("No Record Found");
 }

}); `

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Dev-lop-er

79306014

Date: 2024-12-24 16:12:03
Score: 1.5
Natty:
Report link

I found out by my self. Just set .background(.white) to TabView and bingo. Now all views show in full screen.

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

79306003

Date: 2024-12-24 16:04:01
Score: 1
Natty:
Report link

É importante que a definição do app.use(bodyParser.json()) ou similar, venha depois da declaração da rota referente ao webhook.

app.use('/api', webhookRoutes)
app.use(bodyParser.json());

Essa precedência precisa ser respeitada para que o webhook funcione corretamente.

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

79305996

Date: 2024-12-24 16:01:00
Score: 4
Natty: 5.5
Report link

/storage/emulated/0/Download/TikTok_Data_1735054663 (1) (1)/user_data_tiktok.json

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

79305989

Date: 2024-12-24 15:57:59
Score: 0.5
Natty:
Report link

A simpler approach with fp could be:

const removeEmptyProperties = fp.omitBy(fp.isEmpty);
const compactObject = (obj: unknown) => {
  return fp.mapValues((value: unknown) => {
    if (fp.isObject(value)) {
      return removeEmptyProperties(compactObject(value));
    }

    return value;
  })(obj);
};
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Sebastian Serrano

79305979

Date: 2024-12-24 15:48:57
Score: 3.5
Natty:
Report link

सेवा में, थाना प्रभारी, क्रॉसिंग रिपब्लिक थाना, गाजियाबाद।

विषय: विवादित भूमि पर अवैध गतिविधियों और संगोष्ठी कार्यक्रम के आयोजन के संबंध में सूचना

प्रेषक: भूपेंद्र कुमार त्यागी

माननीय महोदय,

निवेदन है कि मैं आपकी ध्यानार्थ एक गंभीर विषय प्रस्तुत करना चाहता हूँ। मेरी भूमि, खसरा संख्या 976 और 975, धुंधेरा सीएस-05, अंसल एक्वापोलिस, जो मेरी (भूपेंद्र कुमार त्यागी), राजेंद्र त्यागी, दौलतराम एंड सन्स इन्फ्रास्ट्रक्चर प्रा. लि., राजमुनी त्यागी, और दौलतराम रतनसिंह एजुकेशनल चैरिटेबल ट्रस्ट की संयुक्त संपत्ति है, से संबंधित है।

इस भूमि पर गोल्ड कोस्ट डेवलपर्स प्राइवेट लिमिटेड, जिसका प्रतिनिधित्व विकास पुंडीर और सिद्धार्थ पुंडीर करते हैं, के साथ एक संयुक्त विकास समझौता (Joint Development Agreement) किया गया था। इस समझौते के तहत उन्हें व्यावसायिक मॉल का निर्माण करना था। लेकिन उन्होंने अपने दायित्वों को पूरा नहीं किया। न तो मॉल का निर्माण किया गया और न ही हमें हमारी भूमि का हिस्सा दिया गया। इसके अलावा, उन्होंने खरीदारों से धन संग्रह किया है, लेकिन उसका उपयोग निर्माण में नहीं किया। उनकी इस भरोसे की घात और समझौते के उल्लंघन के कारण, हमने उक्त समझौता रद्द कर दिया है।

इस विवाद को लेकर कई विभिन्न अदालतों में मामले लंबित हैं, जैसे कि:

  1. आर्बिट्रेशन केस नं.: [यहाँ जोड़ें]

  2. एफआईआर 90/2024, क्रॉसिंग रिपब्लिक थाना।

  3. एफआईआर 125/2024, क्रॉसिंग रिपब्लिक थाना।

  4. एनसीएलटी में मिसमैनेजमेंट के तहत मामला।

इसके बावजूद, उक्त डेवेलपर्स अब भी अवैध रूप से भूमि पर कब्जा करने का प्रयास कर रहे हैं। उन्होंने इस विवादित भूमि पर एक बड़े स्तर पर बैठक और राजनीतिक सभा आयोजित करने की योजना बनाई है, जिसका उद्देश्य अशांति फैलाना और हिंसा को बढ़ावा देना है।

इसके साथ ही, यह सूचित करना है कि एक संदेश प्रसारित किया जा रहा है जिसमें उल्लेख किया गया है कि:

"कल 25 दिसंबर 2024 परम पूजनीय अटल बिहारी वाजपेयी जी की जन्म शताब्दी के उपलक्ष में संगोष्ठी कार्यक्रम आयोजित किया गया है। दिनांक: 25/12/2024 समय: दोपहर 12:30 बजे स्थान: गोल्ड कोस्ट ऑफिस, इंडियन ऑयल पेट्रोल पंप, सवेरी मार्ग, क्रॉसिंग रिपब्लिक। आप सभी सादर आमंत्रित हैं।"

यह संदेश विवादित भूमि पर अवैध रूप से सभा आयोजित करने की योजना का हिस्सा हो सकता है, जिससे कानून और व्यवस्था को खतरा उत्पन्न हो सकता है।

अतः, मैं आपसे विनम्र निवेदन करता हूं कि:

  1. विवादित भूमि पर किसी भी अवैध सभा या गतिविधि को तुरंत रोका जाए।

  2. कार्यक्रम के दौरान कानून और व्यवस्था बनाए रखने हेतु उचित व्यवस्था की जाए।

  3. जो लोग हिंसा भड़काने या अवैध कब्जा करने का प्रयास कर रहे हैं, उनके खिलाफ सख्त कार्रवाई की जाए।

यदि स्थल पर किसी भी प्रकार की हिंसात्मक घटना होती है, तो उसके लिए पुलिस विभाग उत्तरदायी होगा।

आपसे अनुरोध है कि इस गंभीर विषय पर तुरंत ध्यान दें और आवश्यक कदम उठाएं।

भवदीय, भूपेंद्र कुमार त्यागी (संपर्क विवरण)


हस्ताक्षर:


(भूपेंद्र कुमार त्यागी)

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • No latin characters (2.5):
  • Low reputation (1):
Posted by: Deepanshu

79305969

Date: 2024-12-24 15:46:56
Score: 5
Natty: 6.5
Report link

Im also adding a new pathway to a model. My question would be if after I add all the metabolites and reactions, do I need to update the biomass equation as well? what would be the next step after adding the pathway for my model to work properly? Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Carol

79305965

Date: 2024-12-24 15:44:55
Score: 11 🚩
Natty: 4
Report link

Did you fix this? I'm having the same issue.

Reasons:
  • RegEx Blacklisted phrase (3): Did you fix this
  • RegEx Blacklisted phrase (1.5): fix this?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you fix this
  • Low reputation (0.5):
Posted by: Muathcs

79305949

Date: 2024-12-24 15:36:52
Score: 2
Natty:
Report link

and @csrf inside the form

for example:

<form action="/submit" method="POST">
    @csrf
    <label for="name">Name:</label>
    <input type="text" id="name" name="name">
    
    <button type="submit">Submit</button>
</form>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @csrf
  • Low reputation (1):
Posted by: Meston Enock

79305930

Date: 2024-12-24 15:23:49
Score: 4.5
Natty:
Report link

I think you need this part which handles the async calls https://github.com/xoriors/rencfs/blob/921c1a968ccc3298ba476584b5ea1acc1409a791/src/crypto/fs_api/fs.rs#L389-L401

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

79305904

Date: 2024-12-24 15:08:46
Score: 1
Natty:
Report link

Please Try following things.

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

79305897

Date: 2024-12-24 15:07:46
Score: 2.5
Natty:
Report link

how are you Youssef Emad?. It's a pleasure to help you. Look, roughly speaking, I understand that in these competition "exercises", 100,000,000 instructions are equivalent to 1 second (I understand that in C++ instructions such as divisions or modules cost more than additions or subtractions, but I don't think it is necessary to take this into account. ). That said, your settlement of 100,000 could still be multiplied by another settlement of 1,000 and in theory be at the limit of the time allowed by the judge. I recommend you check on the internet what the "quick sort" sorting method is, in C++ there are already implementations. I like to learn these syntax topics or prefabricated methods on this page, which by the way I opened it right in the "quick sort" method for you.

I love these "competitive programming" topics, especially in c++. You can contact me in private with more similar questions and I will be happy to answer you, or write another post similar to this one.

Thank you, I leave you the "quick sort" link below, and forgive my bad English

Sorry if this answer is deleted, I think it might be because some rule of answering without code or something like that.

"Quick sort"

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): contact me
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): how are you You
  • Low reputation (1):
Posted by: proyecto2028

79305885

Date: 2024-12-24 15:03:45
Score: 0.5
Natty:
Report link

Try to use 127.0.0.1 Instead of localhost

Browsers treat localhost differently than regular domains, but 127.0.0.1 behaves more like a standard domain.

Update your hosts file to map admin.localhost to 127.0.0.1:

127.0.0.1   localhost
127.0.0.1   admin.localhost

Access your application via http://127.0.0.1/login and http://admin.127.0.0.1/dashboard.

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

79305882

Date: 2024-12-24 15:03:45
Score: 3
Natty:
Report link

In this case I would go with a Service Principal instead.

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

79305877

Date: 2024-12-24 15:00:44
Score: 2
Natty:
Report link

I was able to upload pdfs successfully, but they weren't opening. Earlier I thought maybe the data was corrupted but later found out I just had to enable Pdf and Zip file delivery in security settings in cloudinary dashboard.

https://support.cloudinary.com/hc/en-us/articles/360016480179-PDF-or-ZIP-files-appearing-in-Media-Library-but-download-URLs-return-an-error

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

79305876

Date: 2024-12-24 14:59:44
Score: 0.5
Natty:
Report link

There is actually a workaround for this behavior though it's a bit obtuse. I think the issue is that the signal comes in while the prompt is waiting for user input. We can overcome this obstacle by using a promise and setTimeout:

let sigint = false;
Deno.addSignalListener("SIGINT", () => {
  sigint = true;
});

// Add a timeout to prevent process exiting immediately.
while (true) {
  const val = prompt("Prompt: ");
  const printHandlerPromise = new Promise((resolve, reject) => {
    console.log(val);
    setTimeout(() => {
      if (sigint) {
        console.log('sigint!');
        sigint = false;
      }
      resolve(null);
    }, 0);
  });
  await printHandlerPromise;
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Finley Baker

79305860

Date: 2024-12-24 14:52:42
Score: 1
Natty:
Report link

enter image description here

HTML:
<div class="relative">
  <i
    (click)="bla()"
    class="pi pi-search z-10 absolute cursor-pointer top-1/2 mt-[-0.5rem] text-[var(--p-autocomplete-dropdown-color)]"
  ></i>
  <p-autoComplete
    [hidden]="!isUserLoggedIn() || userRoleId() === UserRoles.Admin"
    minLength="3"
    searchTimeout="300"
    formControlName="search"
    placeholder="Search.."
    [autoHighlight]="true"
    [forceSelection]="true"
    appendTo="body"
    (completeMethod)="onSearch($event)"
    (onSelect)="onSelect($event)"
    [suggestions]="suggestions"
    inputStyleClass="pl-10" // pay attention for this
  >
  </p-autoComplete>
</div>




CSS:
.pi-search  {
  &::before {
    @apply p-2.5; // increases clickable area, as **before** propagates click event to parent(i element)
  }
}
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sasa Jevremovic

79305854

Date: 2024-12-24 14:49:41
Score: 4.5
Natty:
Report link

As I said above, I believe I have the answer. I still have more digging to get to a final solution, but I don't want to leave this open.

Thanks for reading.

Dave

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Dave

79305853

Date: 2024-12-24 14:48:41
Score: 1
Natty:
Report link

If you want to train your model to generate new text in a style similar to that of your texts, then this is Causal Language Modeling.

There is a separate page dedicated to this topic on HuggingFace: https://huggingface.co/docs/transformers/en/tasks/language_modeling.

Or, if you want a complete guide, there is a beautiful article on Medium on how to fine-tune the GPT-2: https://medium.com/@prashanth.ramanathan/fine-tuning-a-pre-trained-gpt-2-model-and-performing-inference-a-hands-on-guide-57c097a3b810. The dataset is wikitext (without labels) and the code sample looks like this:

# Define training arguments
training_args = TrainingArguments(
    output_dir='/mnt/disks/disk1/results',
    evaluation_strategy='epoch',
    num_train_epochs=1,
    per_device_train_batch_size=4,
    per_device_eval_batch_size=4,
    warmup_steps=500,
    weight_decay=0.01,
    logging_dir='/mnt/disks/disk1/logs'
)

# Initialize Trainer
trainer = Trainer(
    model=model,
    args=training_args,
    train_dataset=tokenized_datasets['train'],
    eval_dataset=tokenized_datasets['validation'],
)
Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: TayJen

79305852

Date: 2024-12-24 14:47:40
Score: 1
Natty:
Report link

It seems that the location isn't available for your subsidiary

You can go to Setup > Company > Location > Select your location and check you subsidiary

The location is a standard segment, so if you can see it, it maybe that:

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

79305846

Date: 2024-12-24 14:45:40
Score: 4
Natty:
Report link

You can easily convert HTML files to JSX format using this tool. https://www.discoverwebtools.com/tools/html-to-jsx-converter/

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

79305832

Date: 2024-12-24 14:37:37
Score: 1
Natty:
Report link

I know this is an old post but @maglub suggest an edit to an open MR related to this bug.

https://github.com/NaturalHistoryMuseum/pyzbar/pull/82#issuecomment-2060723050

try:
  # try to correct the encoding
  return res[0].data.decode('utf-8').encode('big5').decode('utf-8')
except:
  # if it fails, the encoding should already be good
  return res[0].data.decode('utf-8')

This workaround may helps. All credits goes to maglub (see the original solution on github)

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @maglub
  • Low reputation (0.5):
Posted by: ollie314

79305831

Date: 2024-12-24 14:37:37
Score: 3.5
Natty:
Report link

uninstalling sentry-expo fixed it for me for some reason

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

79305830

Date: 2024-12-24 14:36:37
Score: 3
Natty:
Report link

I had related_name set to student in my profile models.py. When i changed that, everything worked.

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

79305825

Date: 2024-12-24 14:35:36
Score: 4
Natty:
Report link

Н.В.Гоголь в произведение «Шинель» раскрывает такие темы как: безвозмездная помощь и тема «маленького человека»

Главный герой- Акакий Акакиевич Башмачкин является маленьким человеком,то есть человек невысокого социального положения, не богатый,человек без амбиций и желания изменить свою жизнь в лучшее русло,также не обладает какими-то высокими талантами. Когда Башмачикину предлагают более трудную работу,он потеет и испытывает страх,по этой причине он всегда занимается одним и тем же делом-проверяет и печатает текст. Он слабохарактерный и мелочный человек. Главный герой долгое время собирает деньги на покупки новой шинели,так как прошлая стала уже не пригодна для носки и подшить ее нельзя было.Но вот жизнь решила по другому.Когда Башмичкин получил свою заветную и новую шинель,а позже пошёл на празднования по причине новой вещицы,его ждала неудача.Его новую шинель украли. Придя в милицию и объяснив сложившуюся ситуация, на него наорали и выгнали. Бедный Акакий Акакиевич слёг с горячкой,что и стало его смертью.

Так в повести Шинель Гоголь раскрывает тему возмездия с помощью финала. В ней Акакий Акакиевич после смерти в виде призрака пугает жителей Санкт-Петербурга и отбирает шинель у людей,до тех пор,пока не добрался до обидчика-чиновника,который выдвинул его на улицу,не захотя разбираться в пропавшей шинели.После напугав чиновника дух Акакия Акакиевича успокаивается.А чиновник сожалеет о сделанном.Таким образом «зло»было наказано.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • No latin characters (3.5):
  • Low reputation (1):
Posted by: Тимофей

79305819

Date: 2024-12-24 14:31:35
Score: 2.5
Natty:
Report link

add JAVA_HOME and java directory in user varriable for dell and in system variable click on path and add path java downloaded directory it works from

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

79305817

Date: 2024-12-24 14:31:35
Score: 1
Natty:
Report link
StreamReader sw = new StreamReader(fs);
while (sw.EndOfStream != true)
{
    yazi += sw.ReadLine();
}

StreamReader.EndOfStream This is the most correct usage. Because when the lines are finished reading it returns true. At the beginning it returns false

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Uğur TEZGÖR

79305815

Date: 2024-12-24 14:31:35
Score: 2
Natty:
Report link

You have 2 solutions for that:

  1. Use runtime, in the map stage like you do in getInputData
  2. Work on your returned array to includes this 2 informations.

The first option is easier.

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

79305804

Date: 2024-12-24 14:26:34
Score: 2.5
Natty:
Report link

As far as I know, Looker Studio is built for analytics purposes so it will only support reading data but not writing it back or updating rows in your database.

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

79305794

Date: 2024-12-24 14:21:33
Score: 0.5
Natty:
Report link

This is already defined in the language, no need to calculate.
The number of base 10 digits, is std::numeric_limits::digits10, where T is int, unsigned, long, long long, float, double, long double, etc. There was a trivial change at c++ 11, to define if this was an int type or define.
note: The number of bits to store is std::numeric_limits::digits.

So, to get the digits to display an unsigned you would use:

#include limits
short displayDigitsBase10 = std::numeric_limits<unsigned>::digits10; 

Here is one link.
https://en.cppreference.com/w/cpp/types/numeric_limits/digits10

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

79305792

Date: 2024-12-24 14:21:33
Score: 1
Natty:
Report link

I used the same code, I have setup Marketing Api product on my app with these permissions:

the app is also live.

this is the output I am getting:

400 GET https://graph.facebook.com/v21.0/ads_archive?search_terms=Shopify&ad_type=All&ad_reached_countries=%5B%22US%22%5D&access_token=EAAWZAJ9kprooBO379ZC8uJJ4qrYynoaKJRDXxIlPw1yYoHOXCHpVd4ONtGx8s1WugxOrAJJ18P7X2VeKzei4ZBM2d5CI98qGGaSp6XZALtzRXs6TYpZBADNN64UYOQdHxTamcsUOVlCZCvE2mkkPaqcpaM8LfgGR6BxeUIFfnlRV1jkDceg8sqWZAZCZCc9RkxQcQVJyAWBEd6udQh4BImr0T2VtwbOcBrYgkPAZDZD

something bad happened somewhere Error at FacebookRequestError.FacebookError [as constructor] (/Users/arsh/Desktop/Marketing API/node_modules/facebook-nodejs-business-sdk/dist/cjs.js:349:16) at new FacebookRequestError (/Users/arsh/Desktop/Marketing API/node_modules/facebook-nodejs-business-sdk/dist/cjs.js:371:129) at /Users/arsh/Desktop/Marketing API/node_modules/facebook-nodejs-business-sdk/dist/cjs.js:674:15 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { message: 'Application does not have permission for this action', status: 400, response: { message: 'Application does not have permission for this action', type: 'OAuthException', code: 10, error_subcode: 2332002, is_transient: false, error_user_title: 'Authorisation and login needed', error_user_msg: "To access the API, you'll need to follow the steps at facebook.com/ads/library/api.", fbtrace_id: 'AdPW917DHicbwf_BcDQjefZ' }, headers: Object [AxiosHeaders] { 'error-mid': 'ab1c367cb6f07e7026449aba9261140c', vary: 'Origin, Accept-Encoding', 'cross-origin-resource-policy': 'cross-origin', 'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}', 'content-type': 'application/json', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "Application does not have permission for this action"', 'access-control-allow-origin': '*', 'facebook-api-version': 'v21.0', 'strict-transport-security': 'max-age=15552000; preload', pragma: 'no-cache', 'cache-control': 'no-store', expires: 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-request-id': 'AdPW917DHicbwf_BcDQjefZ', 'x-fb-trace-id': 'GgMW4uhpZ6c', 'x-fb-rev': '1019070744', 'x-fb-debug': 'MDyBQSjySv6yff/oHxWYRKumHmG8US0ihFmU1e++lp82Rvl4Wdkx8H941VrTzAa+A+0mWpH4UJGe7O2twiQo+A==', date: 'Tue, 24 Dec 2024 14:15:00 GMT', 'proxy-status': 'http_request_error; e_proxy="AcIRmeVGGgnFz6ReMPQASWClmORz6EpdjTZakR6-IbagoYZgNuhb6S78I63ZGfLvjVM5PMcIwkNwjsLbnejN"; e_fb_binaryversion="AcLaA3wGojmwqHz7tP0Haa3lZDbK5Rd-ZoWLSgGAoDTzdKy3uIc3J2eMvr9J7W1Td8j0-38ehQAYxacNuhT7DNVEamHiMw835yI"; e_fb_httpversion="AcJQ_lLWCibY4Gedvy1VFhJkh0WdUlFwaBddMSSyV5DFFgCuRf_4rcCF4ukW"; e_fb_responsebytes="AcLo9_AzJM5F99vFLeEpTTUXhztS90GDtqfIRrSKrkavMtxRjNzpg9XiX7Zf"; e_fb_requesttime="AcIMqDOrC30bjooIWRoufYyIIpW-j5uyT3gJ3E-qYqVzBxBUwcmVcmnpNO3rWGuomiZTJmxODw"; e_fb_requesthandler="AcKqL949LKkaAzTjREs2NHozoB4QHj5FYI6qR9Md0P-XVdaUmvsotI2dgpKBLlPPH8JEj-AYwhk"; e_fb_hostheader="AcLmt5tfvYdsV31Zp1TdTmsq24BcoqdKzmPzZ2svKnolKQRfJiITDUd9nxV1hZLpLPP13ehF9nkU_LBF"; e_fb_requestsequencenumber="AcJsHYHK2G4Xfh0UyJBjkFILYRMtaZ0bwdWwZpNOzBcoGGGmwhHH8D_Q9Z2O"; e_upip="AcKJT-6oUCfkvOW40SH_T6_sCCTzZdsLtwZbvSpI3Zp5t2Pw8Vgcfo6XzYv0pANtQo71WgGh5D7fAZEqOoXothEkH1pUHZ8rHrFnG8s"; e_fb_builduser="AcIUCLyLfJ-IYE2kHqWd538vUH5HXajrZWWXjfGch1p5VN_iUjgrAOgFCpmOMFvpG4E"; e_fb_vipport="AcK3iK_nAfs6J3BO9FavWAeOJX5XzojscznkII20oFyAjjgq3CARMARImL7T"; e_clientaddr="AcLiKnkjKBiYS2Wpm8H-WkU5cOlqFyRP-2EZx28nzyA4X7uC2QEPOxXrixwmHv8HAnFgYw3NS_3BnDYy-hX2Eo9U5WGjYE9K7TEUeCTGp7qVn8w"; e_fb_vipaddr="AcJCFIDyQLBU14_fAFqHRsbYxMXisVQCrtUO_tXIquvCVYyPZ5JVR-mt3-Gr8RtvlnyQhHV-1ueoya2Kv2rxb_zWcwKFQGQXkA"; e_fb_configversion="AcI5GaZ2U9u_mnevhi-X4rNuypRCuFVWLOUnJmPkGVtLRWlmqgrMJhs-BO5rug", http_request_error; e_proxy="AcIy2IYT9fAZ5XI4fdbEYduaAxi7tC8DnRO4RtWTuKqWmS0VLfzONpY7Y9PZeTOrN0sKY0XtiFBrlIQ"; e_fb_binaryversion="AcLsH5QKE9Hro-UPZrFpgK8ZOhirxvXpkWDEPgDx0QQ9kqpc9W7KdQWllAsijt4KXBsR8cKtEJJxLxPrXu5OgTf3avRHueVuQpM"; e_fb_httpversion="AcI6EPtl0hQ_n-LGvZJItnA9MCkNLoxZUsym2cphYUqa--KOCwfHJJjZAvG0"; e_fb_responsebytes="AcKOz6JfUFkDXI8EAwodhV3WQGfmQzfF5ZL1ZXD-Kw27KZIhyu7CK54drEHu"; e_fb_requesttime="AcLbqxa6rxRCFT1X2egBAlS8gUm23nhNsojM7C62pq7lle-028WVN28uHtoR2ENh-6rIWFFC1Q"; e_fb_requesthandler="AcJjOWAMKmhCl5R51PlvwPN3Mwzo36846lEq-MKMegDKEKD9C9QoqZ4d9vjKfBXiWjeRRub-pRQ"; e_fb_hostheader="AcJm5EPfImYtIRCMbTjniEGjv1O2AJroII4mc1YJ1jJO4UnjfiUQJWzZ9wk9rbFJd-9t1NpSN59JSVta"; e_fb_requestsequencenumber="AcIVGL0hNtEiR7F4Cpq7Q8wkXGyi9VDdjPYvkNzyW0oalHh8oXN8QoyB-g"; e_upip="AcLvyAPFZj84KRsT40V0bH8E9i2AHjyrj-e0yPE39uf3RXm7GfVbwqBYHJE1KA9lekV_57Jxql2P8CyZ0pmYGStNZFF3tA0dpQ"; e_fb_builduser="AcIAtddThsj35ocYK2qjH2G5tm1HwcfBoMJDmidD_1Qs-4wyTZXNarR3QROW8EmgrA4"; e_fb_vipport="AcLA85Yt9AuvhbJMm9qc2lQfru57d806SbIZEqYbiplKCnvq4grVNNkvZK3w"; e_clientaddr="AcJ0x9UJj_WwRVSIjzaWCe-UdvxUDb43sCi7ZxGbsr_QTtpHyv2HVRf8PmTwxTG3j1aE-i0XjnHU96xfi9XPNtaDUaWCxvsXjKfuNak2vO5KyzBaNBI8uVo"; e_fb_vipaddr="AcIMcugjT_Iz_MY8s5x46NOifxPUOFS9hbTbamxKZ_mmva_el565_FogZ5WiOnSZotfhDod4yy2E8MdbfDmojuFayeK-nlk8FjY"; e_fb_configversion="AcKUoU6Bi_piWI5CUuGpRhpD-toEtyu2ZEYgEfwSh5I13TumP_pyZBO5k54qWw"', 'x-fb-connection-quality': 'GOOD; q=0.7, rtt=65, rtx=0, c=10, mss=1228, tbw=3437, tp=-1, tpl=-1, uplat=296, ullat=0', 'alt-svc': 'h3=":443"; ma=86400', connection: 'keep-alive', 'content-length': '247' }, method: 'GET', url: 'https://graph.facebook.com/v21.0/ads_archive?search_terms=Shopify&ad_type=All&ad_reached_countries=%5B%22US%22%5D&access_token=EAAWZAJ9kprooBO379ZC8uJJ4qrYynoaKJRDXxIlPw1yYoHOXCHpVd4ONtGx8s1WugxOrAJJ18P7X2VeKzei4ZBM2d5CI98qGGaSp6XZALtzRXs6TYpZBADNN64UYOQdHxTamcsUOVlCZCvE2mkkPaqcpaM8LfgGR6BxeUIFfnlRV1jkDceg8sqWZAZCZCc9RkxQcQVJyAWBEd6udQh4BImr0T2VtwbOcBrYgkPAZDZD', data: {} }

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

79305771

Date: 2024-12-24 14:05:29
Score: 2.5
Natty:
Report link

message = prompt("Enter text"); if(message == "null" || message == null || message == "" );

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

79305763

Date: 2024-12-24 14:03:29
Score: 2.5
Natty:
Report link

I encountered a similar issue with XGBClassifier and GridSearchCV. I tried the solution mentioned earlier—uninstalling and reinstalling an older version of sklearn (version 1.5.2 in my case)—but the problem still persists.

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

79305760

Date: 2024-12-24 14:01:28
Score: 2
Natty:
Report link

Did you try with a GPO with a PDOL field with 2 bytes at 0?

80 A8 00 00 04 83 02 00 00 00

It should be the same than what you sent with empty PDOL field, but maybe this specific card is expecting a PDOL with some data. From other answers found on StackOverflow, this PDOL formatting may be required by some MC cards:

https://stackoverflow.com/a/69540076/23786564

https://stackoverflow.com/a/50253256/23786564

I sadly don't have anymore the MasterCard specification (which can add some additional requirements to EMVCo standard), so I don't remember exactly if there was a requirement somewhere related to this.

Reasons:
  • Blacklisted phrase (1): StackOverflow
  • Blacklisted phrase (1): stackoverflow
  • Whitelisted phrase (-2): Did you try
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Gradlon

79305759

Date: 2024-12-24 14:00:28
Score: 3
Natty:
Report link

As with any opensource project, I would start by explain your matter in a Github Issue.

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

79305757

Date: 2024-12-24 13:58:28
Score: 1.5
Natty:
Report link

"How to reassign a task if the server executing it dies? If the server dies, it can't mark the task as open. What are efficient ways to accomplish this?"

If decentralized, you have to work with consensus, if a central (master) server instance is in place, it is the one that is the master who is distributing jobs. So this server is the one to decide if a job has completed or not right?

Simplify the complex problem as much as you can, in other words what you're doing is simply scheduling tasks to nodes. Add:

Based on these, your central server will know if the node executing went offline, and ensure tasks execution is rotated across the available nodes.

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

79305750

Date: 2024-12-24 13:55:27
Score: 3
Natty:
Report link

you can first run php artisan route:list then you could run php artisan route:clear

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

79305742

Date: 2024-12-24 13:48:26
Score: 1.5
Natty:
Report link

toInt is deprecated now, use .code instead:

numbers.add(num.code - '0'.code)
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: axolotlKing0722

79305725

Date: 2024-12-24 13:39:24
Score: 3.5
Natty:
Report link

Perfect answer Denied5! This really saved my day.

To add a small note fore everyone running into the same issue:

Reasons:
  • Blacklisted phrase (2): saved my day
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jeroen Appel

79305723

Date: 2024-12-24 13:38:24
Score: 1
Natty:
Report link

Check the .env file there APP_DEBUG variable:

Replace that with true to false: APP_DEBUG=false

After that run this command on terminal: php artisan config:clear

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

79305722

Date: 2024-12-24 13:38:24
Score: 0.5
Natty:
Report link

It seems you have switched the width and height in your CompressSave function. It works if you use:

int _width = img.cols;
int _height = img.rows;

Also note that OpenCV uses BGR as format when dealing with images, so probably you will want to use TJPF_BGR instead of TJPF_RGB.

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

79305716

Date: 2024-12-24 13:36:23
Score: 0.5
Natty:
Report link

Take a look at https://www.npmjs.com/package/eslint-plugin-react-perf, as they says in documentation, it consider as warning :

<Item config={{}} />

<Item config={new Object()} />

<Item config={Object()} />

<Item config={this.props.config || {}} />

<Item config={this.props.config ? this.props.config : {}} />

<div style={{display: 'none'}} />

but not this :

<Item config={staticConfig} />
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
Posted by: Pico12

79305713

Date: 2024-12-24 13:34:22
Score: 2
Natty:
Report link
  1. Remove the "AZURE_CLIENT_ID + AZURE_TENANT_ID" from your environment variables so the Azure Identity client falls back to using system-assigned managed identity
  2. Check if the system-assigned managed identity of your Arc-enabled server has proper access to your Key Vault.
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Andrew Matveychuk

79305708

Date: 2024-12-24 13:33:22
Score: 4.5
Natty: 5
Report link

SystemUI.setBackgroundColorAsync("black");

https://docs.expo.dev/versions/latest/sdk/system-ui/

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Low reputation (1):
Posted by: Nacef OTAY

79305699

Date: 2024-12-24 13:31:21
Score: 0.5
Natty:
Report link

Please first check for any errors related to load event

admob.on('admob.banner.load', (evt) => {
   console.log('Banner ad loaded successfully.');
 });
 admob.on('admob.banner.load_fail', (evt) => {
   console.error('Banner ad failed to load:', evt);
 });
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Chetan

79305698

Date: 2024-12-24 13:30:21
Score: 2
Natty:
Report link

I used this post to get to my answer although my issue was more generic (just parse an array of strings in my translations file). I am also using typescript. In case anyone here is stuck with the same issue: you can access the messages as kate shows above, but in typescript you also must first cast the object as unknown first before casting it to a string[] which can then be mapped normally.

const intl = useIntl(); 
const safetyTips = intl.messages["safety-tips"] as unknown as string[];
console.log(safetyTips);

<ul>
  {safetyTips.map((tip, index) => (
    <li key={index}>{tip}</li>
  ))}
</ul>
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): stuck with the same issue
  • Low reputation (0.5):
Posted by: I_Literally_Cannot

79305695

Date: 2024-12-24 13:28:20
Score: 3.5
Natty:
Report link

Disabling the Async-service during import helped solve the problem.

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

79305691

Date: 2024-12-24 13:28:19
Score: 9 🚩
Natty: 6.5
Report link

Have you found a solution ?

I'm trying to do the same thing and I got the same problem. If anybody has a solution ?

Reasons:
  • Blacklisted phrase (1): I got the same problem
  • Blacklisted phrase (1): trying to do the same
  • RegEx Blacklisted phrase (2.5): Have you found a solution
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Naikyz

79305688

Date: 2024-12-24 13:27:19
Score: 1
Natty:
Report link

I don't have a specific solution though: after leaving the script for a few days and trying it today with the same code, it worked. If you encounter such problems: It may well be that the error lies with Steam, or that the Steam servers are blocking your script. Try it a day later with a different ip and new cookie data etc.

Reasons:
  • Whitelisted phrase (-1): it worked
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Limes

79305686

Date: 2024-12-24 13:26:18
Score: 1.5
Natty:
Report link

enter image description here

[enter image description here]enter image description here3

I had several almost identical errors and it worked for me to change the port shopify theme dev --store theme.myshopify.com --port=4000

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Whitelisted phrase (-1): it worked
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Yuri Lucio

79305677

Date: 2024-12-24 13:17:17
Score: 1
Natty:
Report link

I don't know if your case is the same as mine but I accidentally tried to inject Mapper instead of IMapper when using Automapper. That seemed seemed to be the one causing the issue, now it works.

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

79305676

Date: 2024-12-24 13:17:17
Score: 0.5
Natty:
Report link

I had the same problem like a month ago and the solution in my case was really easy, I don´t know if it may apply to you. I was using genexus, so the pom.xml or build.gradle solution was not for me, so I searched who was the responsible for generating and compiling the program, and it turned out that this guy didn´t have the jaxb-api-2.3.1.jar, so when he built it the reference was not there. I just gave him the .jar, he built it again and it worked out perfectly. Maybe it´s a little basic but check it out if you have it in the lib carpet.

I hope this works, cheers and merry christmas!!

Reasons:
  • Blacklisted phrase (1): cheers
  • Blacklisted phrase (0.5): check it out
  • Whitelisted phrase (-1): it worked
  • Whitelisted phrase (-1): I had the same
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Juampi Martinez