79510890

Date: 2025-03-15 09:33:33
Score: 2
Natty:
Report link

Consider a min-heap implementation with heap-like trees, but with bounded-ary (say quake heap --- they use the "tournament" idea to reduce the branching down to at most 2, as opposed to other heaps such as Fibonacci heaps, 2-3 heaps, and Brodal queues). To implement an increase-key on a particular node x, we cut-off its O(1) children instead. So this is equivalent to performing O(1) decrease-key operations, which takes O(1) amortized time.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Shang-En Huang

79510883

Date: 2025-03-15 09:28:32
Score: 1.5
Natty:
Report link

After further documentation, what I was trying to achieve is not possible and I had to switch to NetworkMode: awsvpc and have the containers talk to each other through localhost.

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

79510878

Date: 2025-03-15 09:24:31
Score: 1.5
Natty:
Report link

I just fixed it by changing the flutter installation folder from C:\flutter\bin to C:\src\flutter\bin and updating the environment PATH variable accordingly.

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

79510866

Date: 2025-03-15 09:10:29
Score: 0.5
Natty:
Report link

This works! Are you trying to get rid of the checkbox? If so, try this after your breakpoint:

/* Getting rid of the checkbox's view */
nav input[type='checkbox'], nav label {
  display: none;
}

I am currently developing my ePortfoli; and I noticed that the checkbox was in view for a larger breakpoint than what I was working on for my @media query (max width 320); and it works fine. I am still developing my site for mobile responsiveness; so you will be able to see the difference of where I applied that code in certain breakpoints vs not applying it in others to hide my checkbox used for my hamburger menu (which proves the code works!). You can check out my site and use Google Chrome Developer Tools: https://scn.ninja/

I even proved and something about this in my repository: https://github.com/supercodingninja/ePortfolio/blob/main/style.css

Reasons:
  • Whitelisted phrase (-1): try this
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @media
  • Low reputation (1):
Posted by: The Super Coding Ninja

79510862

Date: 2025-03-15 09:09:29
Score: 1.5
Natty:
Report link

It should by like this:

.table td, table th {
    text-align: center;
    vertical-align: middle;
}

vertical-align "middle" not "center"

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

79510857

Date: 2025-03-15 09:05:28
Score: 1.5
Natty:
Report link

A solution that I am using over couple of projects, in java, is to wrap the json object that intercept the changes and store them in another dictionary or map which later can be retrieved and processed.

Then, the rest of the code is unaware of this and doesn't need any maintainance. See Decorator or Wrapper design patterns.

This is very dependent on which programming language your are using and how easy it is to change the way that the JSON object is been manipulated.

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

79510854

Date: 2025-03-15 09:03:27
Score: 2.5
Natty:
Report link

I ran a few commands but the solution seems to be simply:

Restarting iPhone

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

79510850

Date: 2025-03-15 09:02:27
Score: 5
Natty:
Report link

i thinks vs code error please refresh pc and try again then after its work properly .

Reasons:
  • RegEx Blacklisted phrase (1): i thinks vs code error please
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kunal

79510839

Date: 2025-03-15 08:52:25
Score: 1
Natty:
Report link

I think I found the problem. I want to debug the issue without modifying the gem, so I added a temporary patch to my code to ensure the Logger class is loaded.

In the logger_thread_safe_level.rb profile (/Users/xx/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/activesupport-6.1.7.10/lib/active_support), add this line of code in the first line.

require 'logger'

Now the dependencies are finally installed successfully.

(base) xxx-MB1 Example % pod install
Analyzing dependencies
Cloning spec repo `cocoapods` from `https://github.com/CocoaPods/Specs.git`
Downloading dependencies
Installing Alamofire (5.10.2)
Installing ESPullToRefresh (2.9.3)
Installing Kingfisher (8.3.0)
Installing LiveStreamCore (0.1.0)
Installing Protobuf (3.22.5)
Installing RTCCommon (1.1.0)
Installing RTCRoomEngine (2.9.3)
Installing SDWebImage (5.21.0)
Installing SSZipArchive (2.4.3)
Installing SVGAPlayer (2.5.7)
Installing SeatGridView (0.1.0)
Installing SnapKit (5.7.1)
Installing TUICore (8.4.6667)
Installing TUILiveKit (1.0.0)
Installing TXIMSDK_Plus_iOS_XCFramework (8.4.6675)
Installing TXLiteAVSDK_Professional (12.3.16995)
Generating Pods project
Integrating client project
Pod installation complete! There are 7 dependencies from the Podfile and 16 total pods installed.
Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Echo

79510838

Date: 2025-03-15 08:52:25
Score: 1
Natty:
Report link

In my situation it was a local development setup running on http://localhost:7080 However SSL was required by KeyCloak. By changing the Realm setting "Required SSL" to "None" the error was gone.

Keycloak admin Require SSL setting

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

79510828

Date: 2025-03-15 08:39:20
Score: 6 🚩
Natty:
Report link

Para resolver este inconveniente, puede intentar las siguientes soluciones:

Actualizar CocoaPods: Asegúrese de que CocoaPods esté actualizado a la última versión, ya que las versiones más recientes pueden contener correcciones para este tipo de errores.

bash

Copiar código

$gem install cocoapods

Actualizar la gema activesupport: Es posible que la versión actual de activesupport tenga conflictos. Intente actualizarla a una versión más reciente.

bash

Copiar código

$gem update activesupport

Verificar la versión de Ruby: Algunos usuarios han informado que ciertas versiones de Ruby pueden causar conflictos con las gemas. Considere actualizar Ruby a una versión compatible y estable.

Limpiar el caché de CocoaPods: A veces, los archivos en caché pueden causar problemas. Limpie el caché y vuelva a instalar los pods.

bash

Copiar código

$pod cache clean --all

$pod install

Ejecutar pod install con Bundler: Si está utilizando Bundle para gestionar las dependencias de Ruby, asegúrese de ejecutar pod install a través de Bundle para garantizar que se utilicen las versiones correctas de las gemas.

bash

Copiar código

$bundle exec pod install

Reasons:
  • Blacklisted phrase (1): está
  • Blacklisted phrase (2): código
  • Blacklisted phrase (2.5): solucion
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Rafael Lopez

79510826

Date: 2025-03-15 08:38:20
Score: 5.5
Natty:
Report link

i have the same problem and solved it by removing the node_module folder and pakage-lock.json file

Remove-Item -Recurse -Force node_modules to remove node_module folder

Remove-Item -Recurse -Force package-lock.json to remove package-lock.json file

then install them again by npm install

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
  • Low reputation (1):
Posted by: Omer Gehad

79510816

Date: 2025-03-15 08:31:18
Score: 3.5
Natty:
Report link

Hello to all

I am hinata hyuga from konoha

Is anyone interested in me🤗

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

79510806

Date: 2025-03-15 08:21:16
Score: 0.5
Natty:
Report link

OK, as pointed out by several people above, the trick was not actually done by print(), it was done by the terminal itself to which print() was sending the string. I didn't realize that part, now it makes more sense. Thanks to all who pointed that out!

So, in the end, I will just treat it as a usual string manipulation case. Something like this:

i = mystr.rfind('\r')
newstr = mystr[i+1:]

It also works when the string doesn't contain '\r', because rfind() returns -1 in that case.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Dmitry Perets

79510804

Date: 2025-03-15 08:20:14
Score: 6.5 🚩
Natty: 5
Report link

I am currently integrating IAP in my app ,

I created a consumable in IAP in appstoreconnect , then a storeKitConfiguration file in app and synced it , it synced correctly and I am able to do purchase in simulator.

But when I upload the app on TestFlight , I am not able to see any consumable in testing device . I sent it for review and it got rejected for the same reason that they don't see any consumable in their device.

Can you please help me !!

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): I am not able to
  • RegEx Blacklisted phrase (3): Can you please help me
  • No code block (0.5):
  • Low reputation (1):
Posted by: Priyendu Singh

79510794

Date: 2025-03-15 08:07:11
Score: 2
Natty:
Report link

A simple one liner would work

s.groupby(pd.Grouper(freq='4ME')).idxmax()
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Hrithik Jyani

79510793

Date: 2025-03-15 08:07:11
Score: 3
Natty:
Report link

there are plenty of unusable iOS simulators and/or emulators, but to truly get the iOS\'s feel of old app.io, you'll need the iPhone simulator on BSD, and luckily there is an one opensource project at twitter: https://x.com/ToadstoolsBSD . They were pioneer's of FreeBSD/ARM as Inferno POSIX, sending base64 string over WebSockets and using CGEventPostToPSN, more information here: https://developer.apple.com/library/mac/documentation/Carbon/Reference/QuartzEventServicesRef/index.html#//apple_ref/c/func/CGEventPostToPSN . You can easily implement this tool on FreeBSD as well any Linux Distro on your own. To develop .IPA there, they are using Gnat-Aux with GCC and somehow cross-compile Java to Obj-C, or what the hell that works?! If you'll search deep into, perhaps iDempiere is using toadstools for its official mobile app.

Best regards

Reasons:
  • Blacklisted phrase (0.5): Best regards
  • Blacklisted phrase (1): regards
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Hob Mining Marketing Team

79510792

Date: 2025-03-15 08:07:11
Score: 1
Natty:
Report link

Yes, it is possible to use an XBee module to capture the value of a DHT11 digital sensor, but not directly. The DHT11 sensor communicates using a one-wire proprietary protocol, which XBee modules do not natively support.

Possible Solutions:

  1. Using a Microcontroller (Recommended)

    • Connect the DHT11 to an Arduino, ESP8266, or another microcontroller.

    • Read the sensor data using the microcontroller.

    • Transmit the data via XBee UART (Serial Communication) to another XBee module.

  2. Using XBee I/O Line Passing (Not Suitable for DHT11)

    • XBee DIO (Digital I/O) pins can only transmit single-bit values (HIGH or LOW).

    • The DHT11 outputs multi-byte data (temperature & humidity), so it cannot be directly connected to an XBee digital input.

Why Can't XBee Read DHT11 Directly?

Conclusion

To capture DHT11 data using an XBee module, you must use a microcontroller (e.g., Arduino) to read the sensor and send the processed data via UART (Serial) to the XBee for wireless transmission.

4o

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

79510776

Date: 2025-03-15 07:55:09
Score: 1.5
Natty:
Report link

the problems seems to be a mutability issue; as your example code seems incomplete. you don't share the part of the code where the actual error happens:

 src/diesel.rs:512:18 | 512 | ...        .execute(&mut conn)

.execute(&mut conn) requires a mutable reference to conn. And POOL.get() returns a non-mutable reference. You need a mutable reference to conn.

here how to get mutable-reference to underlying data in a OnceLock https://stackoverflow.com/a/76695396/29977423

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: pirate

79510758

Date: 2025-03-15 07:33:05
Score: 1.5
Natty:
Report link

I think the most efficient way to update the objects is to use bulk_update twice. Since the sets in your example are disjoint, each object will be updated only once.

Running a single bulk_update would require an if condition to handle different cases, which introduces additional processing overhead

.

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

79510752

Date: 2025-03-15 07:30:05
Score: 1
Natty:
Report link

I encountered the same issue but resolved it by linking to the CSS file directly instead of using CSS modules.

In the questioner's code, it would look like this:

export const links: LinksFunction = () => {
  return [
    {
      rel: "stylesheet",
      href: "../styles/index.css"
    }
  ];
};
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: game-ryo

79510750

Date: 2025-03-15 07:28:04
Score: 2
Natty:
Report link

SELECT TABLE_NAME, COLUMN_NAME

FROM INFORMATION_SCHEMA.COLUMNS

WHERE COLUMN_NAME = 'YourColumnName'

AND TABLE_NAME IN (SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE')

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

79510742

Date: 2025-03-15 07:18:02
Score: 3
Natty:
Report link

Since the emergence of GPT, call centers are indeed rapidly evolving towards intelligence, and we have already had some cases

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: FreeAICC-AI-Call-Center

79510741

Date: 2025-03-15 07:18:02
Score: 4
Natty:
Report link

Yes, in central Asia there are first name, Surname and Tribe name. There are many places to see in Mongolia.

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

79510729

Date: 2025-03-15 07:03:00
Score: 2.5
Natty:
Report link

Go to facebook => and then open a post or a reel and right click on your browser .

Then click inspect and copy share button code.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Faiz Ur rehman

79510702

Date: 2025-03-15 06:29:54
Score: 2.5
Natty:
Report link

Better context? Only suggestion I have is to simply change MouseButton1Up to MouseButton1Down.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: hello1337lol

79510695

Date: 2025-03-15 06:19:53
Score: 1.5
Natty:
Report link

you can use this awesome library it also supports compose

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Mark S. Khalil

79510691

Date: 2025-03-15 06:14:51
Score: 4
Natty:
Report link
header 1 header 2
cell 1 cell 2

Good morning

Reasons:
  • Blacklisted phrase (1): Good morning
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Yuvraj Dwivedi

79510689

Date: 2025-03-15 06:11:51
Score: 0.5
Natty:
Report link

When reading saved data from CSV (particularly arrays etc) we might need to stack them before use else it often results in "jagged array" issues which includes errors like "TypeError: only length-1 arrays can be converted to Python scalars", "ValueError: setting an array element with a sequence." etc.

A simple new_arr = np.stack(old_arr) fixes the issue in most cases.

Take a simple 100 by 50 array:

command: print(type(old_arr), old_arr.shape, old_arr[0].shape, old_arr.dtype

old type & shape & array type: <class 'numpy.ndarray'> (100,) (50,) object

new_arr = np.stack(old_arr). After this

command: print(type(new_arr), new_arr.shape, new_arr.dtype

new type & shape & array type: <class 'numpy.ndarray'> (100,50) float32

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Starts with a question (0.5): When
Posted by: Allohvk

79510686

Date: 2025-03-15 06:09:50
Score: 2.5
Natty:
Report link

What exactly do you mean with "mark"? If you us the out-of-the-box search you can find tags in the whole vault / document. Or what exactly do mean with mark?

screenshot obsidian search for tags

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

79510685

Date: 2025-03-15 06:09:48
Score: 6 🚩
Natty:
Report link

You mentioned “when compiling not for Windows” but from the screenshot it looks like you are compiling from windows. If that is the case Intellisense will detect the system (i.e windows) will show information accordingly. Can you give more information on other system and how are doing the compilation for that?

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you give
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Ashiful

79510678

Date: 2025-03-15 05:58:46
Score: 2.5
Natty:
Report link
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: lbx_09

79510675

Date: 2025-03-15 05:54:46
Score: 1.5
Natty:
Report link

The overflow hides the extra parts of the map that is still showing above the container.

<div style="width: 100%; height: 100vh; border-radius: 10px; overflow:hidden;"></div>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Onyinye

79510670

Date: 2025-03-15 05:49:44
Score: 2.5
Natty:
Report link

Elevate your career prospects with the Online AI Internship at 360DigiTMG, designed specifically for students eager to delve into the world of artificial intelligence. This comprehensive program offers hands-on experience, expert mentorship, and access to cutting-edge tools and technologies, ensuring you gain practical skills that are highly sought after in today’s job market. Join a community of aspiring professionals and enhance your resume with valuable insights and real-world applications of AI, setting the foundation for a successful future in this dynamic field.

Reasons:
  • Contains signature (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: 360Digi

79510669

Date: 2025-03-15 05:48:44
Score: 2.5
Natty:
Report link

When buying a house, interest plays a crucial role in determining the overall cost. Home loans in India typically have annual interest rates ranging from 8% to 10%, depending on the lender, loan tenure, and credit score.

For deposits, banks offer fixed deposit (FD) interest rates between 5% and 7% per year, while savings accounts provide 2.5% to 4% annually. Investing in the right deposit schemes can help balance loan interest costs and savings.

Buying a house or apartment in India is a big investment, offering security and stability. However, finding the right property can be overwhelming. Houssed.com makes it easy by connecting buyers with verified properties, real estate experts, and exclusive deals. With virtual tours, insights, and hassle-free documentation, Houssed ensures a smooth and transparent home-buying experience.

Reasons:
  • Contains signature (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Houssed

79510659

Date: 2025-03-15 05:32:42
Score: 1
Natty:
Report link

There's a mistake in observation.

Step 1: Began transaction A [No locks taken rn]

Step 2: Ran an update statement via transaction B [Step 3 is part of same step]

Step 4: SELECT statement executed by transaction A SHOULD NOT RETURN THE RESULTS OF THE SNAPSHOT WHEN TRANSACTION A BEGAN.

Ideally, Step 4 should be:

Exec "SELECT * from user WHERE id = 8;" in tran A, and the result of fans is 1, it has nothing to do with repeatable read, since repeatable read isolation only begins after you have read the row once.

Why?

Coz repeatable read does not mean, one shall hold the snapshot of entire table the moment transaction began, but if you have already read some kinda data, the snapshot shall remain same through out the transaction.

In other words, post reading a particular row within a transaction, another transaction could not perform UPDATE or DELETE operation on the same row. However, the current transaction [i.e. transaction A] can change the row and those updates would be visible only to transaction in concern [i.e. transaction A] .

Hence,

Rest of the steps are consistent with expectations.

Thanks.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): Why?
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Shah Kushal

79510655

Date: 2025-03-15 05:26:39
Score: 6 🚩
Natty:
Report link

Check out this article for deploying React website on GitHub pages: Host react website on Github pages

Reasons:
  • Blacklisted phrase (1): this article
  • Probably link only (1):
  • Contains signature (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Bilal

79510647

Date: 2025-03-15 05:11:36
Score: 1.5
Natty:
Report link

Add a comment

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • User mentioned (1): @Aconcagua
  • User mentioned (0): user9706
  • Low reputation (1):
Posted by: user29977212

79510646

Date: 2025-03-15 05:10:34
Score: 6 🚩
Natty: 6.5
Report link

Any fix for this? i need to have the list initialized by default

Reasons:
  • Blacklisted phrase (0.5): i need
  • RegEx Blacklisted phrase (1.5): fix for this?
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Shreyansh Jain

79510635

Date: 2025-03-15 04:45:29
Score: 2
Natty:
Report link

I had the same problem. I deleted everything and reinstalled, changing the path to a higher folder, and it worked error while installing anaconda: chosen path already exists

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

79510633

Date: 2025-03-15 04:40:28
Score: 2
Natty:
Report link

dig –f domains.txt +short >> ip_address.txt

masscan -p80 -iL ip_address.txt

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

79510618

Date: 2025-03-15 04:17:24
Score: 3
Natty:
Report link

If you want a quick way to turn off some of these features and others, there are several debloat plugins available:

https://wordpress.org/plugins/simplify-for-woocommerce

https://wordpress.org/plugins/disable-analytics-for-woocommerce/

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

79510613

Date: 2025-03-15 04:09:23
Score: 1.5
Natty:
Report link

I recall a question from Introduction to Algorithms (CLRS, 3rd Edition) that addresses this. (Problem 16-1)

The greedy solution works when the coins are in the denominations c0, c1 , .. ck where c and k both are integers and c > 1 and k >= 1

Thus if we have the denominations {1, 5, 25} greedy would always give us an optimal solution, but if we have the denominations as {1, 15, 25} the greedy approach fails.

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

79510575

Date: 2025-03-15 03:11:14
Score: 0.5
Natty:
Report link

I had falsely assumed that the string value of MOD_ID/MODID in the main class could have capitals. This has to match what is defined in mods.toml and gradle.properties. gradle.properties species that this value must be matched.

Must fit the regex [a-z][a-z0-9_]{1,63}

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

79510572

Date: 2025-03-15 03:10:13
Score: 1.5
Natty:
Report link

Strings in C are not written as "string", but as character arrays. If you want a string of fixed length, you can have something like char s[size];. If you want a string to not be constrained to that fixed length, you can just omit size, for example like char s[] = "string";.

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

79510559

Date: 2025-03-15 02:52:11
Score: 0.5
Natty:
Report link

Actually, you can avoid rereate. Use this code:

recyclerView.itemAnimator = 
androidx.recyclerview.widget.DefaultItemAnimator().apply {
 supportsChangeAnimations = false 
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: dragonfly

79510554

Date: 2025-03-15 02:50:10
Score: 0.5
Natty:
Report link

This will make it:

recyclerView.itemAnimator = 
androidx.recyclerview.widget.DefaultItemAnimator().apply 
{ supportsChangeAnimations = false }
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: dragonfly

79510552

Date: 2025-03-15 02:43:09
Score: 0.5
Natty:
Report link

When a cross-thread message is expected to cause a visible side effect, it’s best to use an asynchronous approach—namely, PostMessage(). This ensures that the message is queued and handled in its natural order, rather than being injected immediately into the middle of another message’s processing due to Windows’ fiber-based reentrancy.

In practice, synchronous SendMessage() can lead to unplanned side effects by interrupting ongoing operations. If a side effect (like updating shared state) is expected, using PostMessage() prevents these side effects from "happening on the fly" in an inconsistent context. Even with PostMessage(), if the side effects involve shared resources, additional synchronization (events, semaphores, MMIO, etc.) may be needed to ensure state consistency across threads.

It is important to maintain a consistent execution context when multiple threads interact, so as to avoid the pitfalls of unintended reentrancy and unsynchronized shared state modifications. If a cross-thread SendMessage() tries to modify a shared state, it's likely a bug, and a mutex won't help.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Starts with a question (0.5): When a
  • Low reputation (0.5):
Posted by: Mingxin Wang

79510550

Date: 2025-03-15 02:42:09
Score: 0.5
Natty:
Report link

Have you tried?

<button onClick={handleClick}></button>

then

const handleClick = (e) => {

e.preventDefault();
const url = new URL("http:...");
window.location.href = url.toString();

}

If you still see being routed to https then it's because of how browser enforces https over http

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Suhail PM

79510547

Date: 2025-03-15 02:39:08
Score: 1.5
Natty:
Report link

I've done plenty of research on this topic. If you're facing this issue, these are your options:

  1. Host both the frontend and backend on the same hosting service.
  2. Use sessionStorage, localStorage, or your app state to save token. It's not the safest solution, but if you're working on a small application for school or just practice, it should be enough. If you're building a larger app, you should consider paying for a full hosting service for both sides.
  3. If your end users will be on Windows, then keep using cookies (although third-party cookies will likely stop working on all operating systems eventually).
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Luis

79510546

Date: 2025-03-15 02:38:08
Score: 5
Natty: 7
Report link

Can I use this function for any number of bytes say 9 ??

How to implement this function if my data is transmitted in a loop ?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Can I use this
  • Low reputation (1):
Posted by: Aadithya S

79510544

Date: 2025-03-15 02:36:05
Score: 6.5 🚩
Natty: 4
Report link

Cannot Resolve symbol R ??

I also have the same issue I try many things to solve the problemlike invalidate caches etc many times but failed I find it on Google but not find the answer then i suddenly or intentionally check out my imports I look like import android.annotation.SuppressLint.R then i just remove the R and the error is solved
import android.annotation.SuppressLint and the error is solved
so I find this solution to the given problem.

Reasons:
  • RegEx Blacklisted phrase (1.5): Resolve symbol R ??
  • No code block (0.5):
  • Me too answer (2.5): I also have the same issue
  • Contains question mark (0.5):
  • Starts with a question (0.5): Cannot
  • Low reputation (1):
Posted by: Danish Amin

79510541

Date: 2025-03-15 02:30:04
Score: 2
Natty:
Report link

The surprise blocker turned out to be in a direction I did not expect (obviously); "virsh" is aliased in .bashrc to alias virsh='virsh -c qemu:///system' from a really long time ago when I set up the VM in the first place, which is, of course, not available to my script. Since typing out alias virsh='virsh -c qemu:///system' every time would suck, you can either alias the command, or set an enviorment variable via export LIBVIRT_DEFAULT_URI="qemu:///system" in one's .bashrc. I have no idea why I went with the alias, it was kind of a coin toss, and I had forgotten about it long ago. Unbelievable, that my problem wasn't actually the problem :)

THANK YOU folks esp. @markp-fuso & @ruakh for helping me figure this out. Hopefully someone comes across this in a search and learns from my hubris.

Reasons:
  • Blacklisted phrase (0.5): THANK YOU
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @markp-fuso
  • User mentioned (0): @ruakh
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Decoherent

79510540

Date: 2025-03-15 02:28:04
Score: 2
Natty:
Report link

I encountered another problem. I removed an extension due to one misoperation. Then I wanted to reinstall it back. However, after searching, a bunch of extensions with analogous name and icon are shown. I even didn't know how to select the one I ever used out of the list. I's embarrassing.

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

79510536

Date: 2025-03-15 02:23:03
Score: 3.5
Natty:
Report link

looking at the docs I found this.

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

79510532

Date: 2025-03-15 02:17:02
Score: 1.5
Natty:
Report link

Faced the same problem when added Firebase dependencies to my project.

java.lang.SecurityException: Unknown calling package name 'com.google.android.gms'

Solve this by updating installed SDKs: Tool -> SDK Manager -> (in my case) Android API 35 ->

Android SDK Platform 35 and Google Play Intel x86_64 Atom System Image <- updating one of this SDK was solve this exception.

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

79510528

Date: 2025-03-15 02:12:01
Score: 1.5
Natty:
Report link

Try const handler = NextAuth(authOptions); NextAuth expects an object with providers set as an array

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

79510522

Date: 2025-03-15 02:07:00
Score: 2
Natty:
Report link

/* * Program to find Freeman(wittaya) pairing-friendly elliptic curves with embedding degree k=10 * * See http://www.hpl.hp.com/techreports/2005/HPL-2005-155.html * * Compile as (for example) * cl /O2 /GX freeman.cpp big.cpp miracl.lib * * Outputs curves to a file freeman.dat * * Mike Scott 6/10/2005 * */ #include <cstring> #include <iostream> #include <fstream> #include <iomanip> #include "big.h" using namespace std; // Solve the Pell equation int pell(int max,Big D,Big F,Big& X,Big& Y,Big *SX,Big *SY,BOOL& complete) { int i,j,ns; BOOL SMALLD; Big A,P,Q,SD,G,B,OG,OB,NG,NB,T; complete=FALSE; SMALLD=FALSE; if (D<F*F) SMALLD=TRUE; SD=sqrt(D); if (SD*SD==D) return 0; P=0; Q=1; OG=-P; OB=1; G=Q; B=0; ns=0; X=Y=0; for (i=1;;i++) { A=(P+SD)/Q; P=A*Q-P; Q=(D-P*P)/Q; NG=A*G+OG; // G is getting bigger all the time.... NB=A*B+OB; OG=G; OB=B; G=NG; B=NB; if (!SMALLD && bits(G)>max) return ns; // abort - these are only solutions T=G*G-D*B*B; if (T == F/4) { SX[ns]=2*G; SY[ns]=2*B; ns++; } if (T == F) { SX[ns]=G; SY[ns]=B; ns++; } if (i>0 && Q==1) break; } if (i%2==1) for (j=0;j<i;j++) { A=(P+SD)/Q; P=A*Q-P; Q=(D-P*P)/Q; NG=A*G+OG; NB=A*B+OB; OG=G; OB=B; G=NG; B=NB; if (!SMALLD && bits(G)>max) return ns; T=G*G-D*B*B; if (T == F/4) { SX[ns]=2*G; SY[ns]=2*B; ns++; } if (T == F) { SX[ns]=G; SY[ns]=B; ns++; } } complete=TRUE; // we got to the end.... X=G; Y=B; // minimal solution of x^2-dy^2=1 // can be used to find more solutions.... if (SMALLD) { // too small - do it the hard way Big ylim1,ylim2,R; ns=0; if (F<0) { ylim1=sqrt(-F/D); ylim2=sqrt(-F*(X+1)/(2*D)); } else { ylim1=0; ylim2=sqrt(F*(X-1)/(2*D)); } // This might take too long... // Should really implement LMM method here if (ylim2-ylim1>300) { cout << "." << flush; ylim2=ylim1+300; } for (B=ylim1;B<ylim2;B+=1) { R=F+D*B*B; if (R<0) continue; G=sqrt(R); if (G*G==R) { SX[ns]=G; SY[ns]=B; ns++; } } } return ns; } void multiply(Big& td,Big& a,Big& b,Big& c,Big& d) { // (c+td.d) = (a+td.b)(c+td.d) Big t; t=a*c+b*d*td; d=c*b+a*d; c=t; } BOOL squfree(int d) { // check if d is square-free int i,s; miracl *mip=get_mip(); for (i=0;;i++) { s=mip->PRIMES[i]; if ((d%(s*s))==0) return FALSE; if ((s*s)>d) break; } return TRUE; } void results(BOOL fout,ofstream& ofile,int d,Big p,Big cf,Big ord) { cout << "*** Found one - p=" << bits(p) << "-bits ord=" << bits(ord) << "-bits" << endl; cout << "D= " << d << endl; cout << "p= " << p << endl; cout << "ord= " << ord << endl; cout << "cf= " << cf << endl << endl; if (fout) { ofile << "*** Found one: p=" << bits(p) << "-bits ord=" << bits(ord) << "-bits p%8= " << p%8 << endl; ofile << "D= " << d << endl; ofile << "p= " << p << endl; ofile << "ord= " << ord << endl; ofile << "cf= " << cf << endl; ofile << "cm " << p << " -D" << d << " -K" << cf << endl << endl; } } int main(int argc,char **argv) { ofstream ofile; int MIN_SECURITY,MAX_SECURITY,MIN_D,MAX_D,MIN_P; int ip,j,d,d15,m,mm,solutions,mnt,start,N,precision,max; BOOL fout,complete; // Defaults fout=TRUE; precision=100; ofile.open("freeman.dat"); miracl *mip=mirsys(precision,0); Big F,T,M,D,W,K,C,mmax,td,X,Y,x,y,w,xn,yn,t0,u0,p,k,nrp,ord,R; Big SX[20],SY[20]; start=1; max=276; // 10+5120/20 gprime(100000); MAX_D=2000000000; // as far as I can reasonably go.... for (d=start;d<=MAX_D;d++) { // D must be square-free if (d%120!=43 && d%120!=67) continue; if (!squfree(d)) continue; td=(Big)d*15; F=-20; solutions=pell(max,td,F,t0,u0,SX,SY,complete); if (!solutions) continue; for (j=0;j<solutions;j++) { X=SX[j]; Y=SY[j]; forever { if (4*bits(X)>512) break; if ((X-5)%15==0) { x=(X-5)/15; p=25*x*x*x*x+25*x*x*x+25*x*x+10*x+3; if (bits(p)>148) { if (prime(p)) { nrp=25*x*x*x*x+25*x*x*x+15*x*x+5*x+1; ord=trial_divide(nrp); if (prime(ord) && bits(ord)>148) results(fout,ofile,d,p,nrp/ord,ord); } } } if ((-X-5)%15==0) { x=(-X-5)/15; p=25*x*x*x*x+25*x*x*x+25*x*x+10*x+3; if (bits(p)>148) { if (prime(p)) { nrp=25*x*x*x*x+25*x*x*x+15*x*x+5*x+1; ord=trial_divide(nrp); if (prime(ord) && bits(ord)>148) results(fout,ofile,d,p,nrp/ord,ord); } } } if (!complete) break; // no more solutions multiply(td,t0,u0,X,Y); } } } return 0; } Wittaya,exe

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Filler text (0.5): 000000000
  • Low reputation (1):
Posted by: Freeman wittaya

79510517

Date: 2025-03-15 02:02:00
Score: 0.5
Natty:
Report link

Thank you very much to both wouch and disinfor for the super useful comments - performing two queries and merging was exactly what I needed to do. Following the link to the WP Stack Exchange, here's the code that does what I need:

// Go get the pinned articles
$pinnedArgs = array(
    'post_type' => 'post',
    'posts_per_page' => 5,
    'meta_query' => array(
        array(
            'key' => 'pinned',
            'value' => '1'
        )
    )
);
            
$pinnedResults = new WP_Query($pinnedArgs);

// Grab all the IDs to add to the args, otherwise we may duplicates
$foundIds = wp_list_pluck( $pinnedResults->posts, 'ID' );

$otherArgs = array(
    'post_type' => 'post',
    'posts_per_page' => 5,
    'post__not_in' => $foundIds
);
            
$otherResults = new WP_Query($otherArgs);

// Merge the two together and return this list
$mergedQuery = new WP_Query();
$mergedQuery->posts = array_merge( $pinnedResults->posts, $otherResults->posts );
$mergedQuery->post_count = $pinnedResults->post_count + $otherResults->post_count;

return $mergedQuery;
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Richard Ockerby

79510516

Date: 2025-03-15 01:59:59
Score: 2
Natty:
Report link

If you're using an older version of React Native, consider upgrading to the latest stable version. This can resolve compatibility issues. Ensure that all your dependencies are compatible with your React Native version.

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

79510515

Date: 2025-03-15 01:58:59
Score: 1
Natty:
Report link

Question is why does &response_string work where a C char* is expected?

A C char* is not necessarily expected. Whatever you pass is later given as an argument to the WRITEFUNCTION . It could be char*, FILE* , std::string*, or any other pointer type depending on how WRITEFUNCTION is implemented.

Also, why does response_string.c_str() core dump if I use that instead of &response_string?

Probably due to passing a char* where a std::string* is expected.

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

79510508

Date: 2025-03-15 01:48:57
Score: 5.5
Natty: 5
Report link

I made this literally just a few days ago and just saw this! link: https://nellowtcs.github.io/HTMLNodeMapper GitHub: https://github.com/NellowTCS/HTMLNodeMapper

Reasons:
  • Probably link only (1):
  • Contains signature (1):
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: NellowTCS

79510503

Date: 2025-03-15 01:39:55
Score: 2.5
Natty:
Report link

Most probably process.env.PAYLOAD_SECRET is not set.

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

79510498

Date: 2025-03-15 01:28:54
Score: 1
Natty:
Report link

It looks like you're attempting to deserialize a Vec directly from a JSON map, which won't work.

I would attempt to deserialize AccountSnapshot directly, without the Vec warparound.

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

79510487

Date: 2025-03-15 01:13:51
Score: 1
Natty:
Report link

Here is a very useful and simple script that lists all the available networks in your HRE. Run it as a Hardhat script to see if Sepolia is listed there at all:

const hre = require("hardhat");

async function main() {
  console.log("Available networks in Hardhat configuration:");
  console.log(hre.config.networks);
}

main()
  .then(() => process.exit(0))
  .catch((error) => {
    console.error(error);
    process.exit(1);
  });

It should list your Sepolia network like this:

Listed Sepolia network in my HRE

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Tony Nagy

79510480

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

I experienced the same issue and was confused only to realize I wasn't targeting the project's root folder. target the main react project folder (e.g. my-react-app) the one that contains all the react project files ( src, vite.config, etc )

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

79510474

Date: 2025-03-15 00:58:48
Score: 3
Natty:
Report link

It would be less of a headache just to write instrumented test with an actual Android device (physical or emulator).

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

79510459

Date: 2025-03-15 00:33:44
Score: 2
Natty:
Report link

If you're running docker on an EC2 instance, and you face this issue, one of the things you need to check is your outbound rules on your security group. You'll need add a rule that allows all traffic, and destination should be "Anywhere-IPv4". Save the rule and run your command again.

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

79510458

Date: 2025-03-15 00:33:41
Score: 9 🚩
Natty: 5
Report link

did you ever found a solution?

Reasons:
  • RegEx Blacklisted phrase (3): did you ever found a solution
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): did you
  • Low reputation (0.5):
Posted by: Gnarik

79510450

Date: 2025-03-15 00:27:38
Score: 7.5 🚩
Natty: 5.5
Report link

May i ask if you have lot of categories and inside that categories you include images and containers for titles and etc. which is performing faster? tab or accordion? Is both loading all the content or just the first tab/accordion? I already face a problem...i try to create my page by adding tabs...but unfortunately it slows down elementor....so i would like to know if is better to try with accordions...if that widget is lighter... there is and a third option to create the menu with buttons...but is not so friendly users solution...so please if somebody can help i will appreciate it a lot!!! thanks in adnance!!!

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1.5): i would like to know
  • Blacklisted phrase (1): May i ask
  • RegEx Blacklisted phrase (3): somebody can help
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Harris K.

79510437

Date: 2025-03-15 00:12:35
Score: 2.5
Natty:
Report link

I am just learning ionic and encountered this issue where my icons disappeared, but moved on since I am just learning. However, the issue was resolved when I followed the first 45 seconds of Leanne R's "How to use Ionicons with HTML and CSS | Icon Tutorial" video: https://www.youtube.com/watch?v=V03_ZwIzlvQ.

Solution was to add two statements from the ionicons usage page and icons started working again for me. Of course, the webpage says not to use these if you are using ionic framework which apparently is broken.

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

79510420

Date: 2025-03-14 23:53:32
Score: 1.5
Natty:
Report link

I know it can be done with both Postman (because I've done it long, long ago) and with Power Automate (because I've known people who have done it).

My first question is one of semantics. What flavor of Alteryx Gallery are you working with? (Alteryx has a bad habit of using words repeatedly to mean a variety of different things.) Does your company have Alteryx Server?

Have you been able to initiate a workflow from the Swagger documentation page? (https://baseURL/webapi)

If you have, then it is just a matter of figuring out how to do appropriate authentication. That is more challenging than it seems. (I used to have a workflow from one of the best guys on the Support team who did it for fun, but that was before OAuth2.) For the Power Automate, you can use the Power Automate tool. This might be a good starting page for Postman adaptation of your calls.

Reasons:
  • Blacklisted phrase (1.5): Have you been able to
  • Whitelisted phrase (-1.5): you can use
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: lepome

79510415

Date: 2025-03-14 23:39:29
Score: 2.5
Natty:
Report link

The difference is very likely because the API call uses version 5.2, whereas the interface you are downloading from is version 5.3.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Adam R. Jensen

79510411

Date: 2025-03-14 23:37:29
Score: 2.5
Natty:
Report link

You might have to

  1. click on Done option in the keyboard by clicking on it after finding the element (or)

  2. click elsewhere on your screen to dismiss the keyboard

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

79510410

Date: 2025-03-14 23:34:28
Score: 2.5
Natty:
Report link

We can use pm2 library to setup your server.js run automatically.

npm install pm2

pm2 start server.js --name --watch && pm2 save && pm2 startup

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

79510409

Date: 2025-03-14 23:32:28
Score: 3
Natty:
Report link

My issue was importing the file with the wrong casing in my route file

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

79510395

Date: 2025-03-14 23:21:25
Score: 2.5
Natty:
Report link

to only refresh current weppage
use

$wshell.SendKeys('{F5}')  # Send F5 (Refresh)
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Shawn

79510389

Date: 2025-03-14 23:15:24
Score: 1.5
Natty:
Report link

You can get the current price like that;

#Get Current Price 
ticker = client.futures_symbol_ticker(symbol=trade.symbol)
current_price = float(ticker["price"])
print(f"Current price: {current_price}")

And then calculate the quantity value based on entered USDT quantity;

#Entered USDT Value
print(f"Entered value : {trade.quantity}")
        
trade.quantity = trade.quantity / current_price
trade.quantity = f"{trade.quantity:.{8}f}"

Also create_order function's quantity field gets an coin quantity value not an USDT value sometimes this field can be cause an error like this. I hope i could help. I'm new on this area.

Reasons:
  • RegEx Blacklisted phrase (1.5): I'm new
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Kerem Tutumlu

79510386

Date: 2025-03-14 23:11:23
Score: 1.5
Natty:
Report link

A whopping 10 years later lol but I found a solution for this by using

imagePNG($im, SITE_ROOT.$save, 0);
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Razor_Ramon82

79510381

Date: 2025-03-14 23:07:22
Score: 3
Natty:
Report link

I still today have the same problem...

What I do is:

  1. Guarantee that i can make the Rebuild the solution in Visual Studio in Release mode with Distribuition certificates in automatic.

  2. Then I open the folder ~/Library/Developer/Xcode/Archives on Mac and start the Publish in Visual Studio... after a few minutes I see a folder appear on Mac.

  3. On Mac open XCode, then open Organizer from Window menu and see the bundle ready to make the Distribuition to Apple.

  4. I then force the close of Visual Studio or kill the MSbuild proccess in Task manager...

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): have the same problem
  • Low reputation (0.5):
Posted by: Rodas PT

79510380

Date: 2025-03-14 23:06:22
Score: 2
Natty:
Report link

The audio element has a native way to do this, so all you need to do is call

audio.loop = true;
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nate May

79510373

Date: 2025-03-14 23:02:21
Score: 1
Natty:
Report link

I recently ran into the same issue as the OP.

One thing to check is to make sure that the DNS pod does use port 53. You can find that by checking k8s service/endpoint on the DNS. In openshift case, the service has port 53, but it points to container port 5353. After I change the port from 53 to 5353 in the networkpolicy, DNS traffic is no longer blocked.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: B.Z.

79510364

Date: 2025-03-14 22:58:20
Score: 4.5
Natty: 5.5
Report link

The given link https://install.pytorch.site/?device=CUDA+10.0 - is broken and not working

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

79510363

Date: 2025-03-14 22:57:17
Score: 9.5 🚩
Natty:
Report link

Did you ever figure out the solution?

Reasons:
  • RegEx Blacklisted phrase (3): Did you ever figure out the solution
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Charles Tiffany

79510362

Date: 2025-03-14 22:55:17
Score: 0.5
Natty:
Report link

Assuming you mean to have your post tagged as discord.js, see this post on a way to receive voice information.


Otherwise I'll answer assuming your tag was right and that you did mean discord.py, it does not support receiving voice data, only sending it. There has never been a "guildMemberSpeaking" attribute in the library.

Try this extension to discord.py: https://github.com/imayhaveborkedit/discord-ext-voice-recv

See this project that uses it for a reference: their voice.py file as well as voice_cb() in main.py

Reasons:
  • Whitelisted phrase (-1): Try this
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ryry013

79510349

Date: 2025-03-14 22:42:15
Score: 3.5
Natty:
Report link

You can try this ;

import { Router } from "express";
import { register } from "../controllers/auth.js";
export const authRouter = Router();

authRouter.post("/register", register);

I added ".js" to your controller import and i used export const instead export default expression. But if it doesn't work for you can i see your index.js file ?

Reasons:
  • Blacklisted phrase (2): can i see your
  • Whitelisted phrase (-1): try this
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Kerem Tutumlu

79510323

Date: 2025-03-14 22:18:10
Score: 1
Natty:
Report link

You need to have @addLogger after the @bot.tree.command() line. So the correct code would be

@bot.tree.command(name="list_cogs", description="list all cogs")
@addLogger
async def list_cogs(interaction):
    await interaction.response.send_message(f"{cogList}")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ryry013

79510320

Date: 2025-03-14 22:17:10
Score: 1
Natty:
Report link

As of Expo 51, using environment variables directly is supported.

You just have to prefix to all .env vars:

EXPO_PUBLIC_

No plugins needed!

https://docs.expo.dev/guides/environment-variables/

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

79510317

Date: 2025-03-14 22:14:09
Score: 3.5
Natty:
Report link

I tried @Mehdi Varse's code reply, and it seems that his method would always work because it's evaluation of the (if value == null) would always return true for lastName. At least, when i tried to apply it to my situation (which is related). it would always fall through.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @Mehdi
  • Single line (0.5):
  • Low reputation (1):
Posted by: IcyNeko

79510316

Date: 2025-03-14 22:13:09
Score: 1
Natty:
Report link

I encountered a similar issue using production mode.

In angular.json, I added "sourceMap": true to the production configuration, and this gave me little more info where the cause of my problem was situated...

...
"configurations": {
   "production": {
      "sourceMap": true,
      "budgets": [
...
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Geert

79510311

Date: 2025-03-14 22:09:08
Score: 3
Natty:
Report link

Just a tip, a good introduction to Liquibase can be found here:
Liquibase

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

79510309

Date: 2025-03-14 22:08:07
Score: 2
Natty:
Report link

Sounds like you need to look at Hive Partitioning?

Seems like the perfect solution for your problem, e.g. use the date field of your parquet files as the partition key: https://duckdb.org/docs/stable/data/partitioning/hive_partitioning.html#hive-partitioning

Filters on the partition keys are automatically pushed down into the files. This way the system skips reading files that are not necessary to answer a query. For example, consider the following query on the above dataset:

HTH

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

79510307

Date: 2025-03-14 22:07:07
Score: 1
Natty:
Report link

i like know why would u encode in to a pdf only report that all it is supose be is a report on onthing

so why would any one encode java in to it unless there more to pdf then just a report to say if i type out and document has no java in it, how ever i found java code in number of goverment documents one being socal securty wich has no need to do this unless this code was to do more then just give u report on earning or other it has me woundering how many other gov documents also encode java and this cant be radom there has be a program writeing this not a person this has me woundering what being encidoed in such reports, also something odd is it looks more like encription then dose anything else, but say it is jave that just about 8x10 long in code how can one decode it now from what i seen here, now here odd thing is open it as pdf java code disapears only shows up if u open it with notepad, wich odd, java can be used for number things inclueing createating remote access and if no one crack above code i doute they crack what i got, i meen this comeing out socal secuty any one can print out pdf of earning open it note pad and try crack the code

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

79510299

Date: 2025-03-14 22:02:06
Score: 3
Natty:
Report link

There you go: https://marmelab.com/react-admin/AuthProviderWriting.html#handlecallback

You can also look at examples from other 3rd party authentication providers, like ra-auth-auth0 for instance.

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

79510296

Date: 2025-03-14 22:00:05
Score: 1.5
Natty:
Report link

const curSidebar = document.querySelector('.ui-widget-overlay');

curSidebar.style.cssText += "opacity:0.5!important;background-color:#333!important";

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

79510285

Date: 2025-03-14 21:52:04
Score: 0.5
Natty:
Report link

iOS 18.4 beta 1 and 2 do not fix the issues.

I realised selection.bounds(at: page) delivers more correct results than page.characterBounds(at: index). But not as good as characterBounds(at) for iOS 17 and earlier.

// page: PDFPage

for (index, character) in page.enumerated() {
        
    let range = NSRange(location: index, length: 1)
    guard let selection = page.selection(for: range) else { continue }

    let charBounds = selection.bounds(for: page)
}

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

79510277

Date: 2025-03-14 21:48:03
Score: 0.5
Natty:
Report link

Posting an answer here to clarify my own findings based on @Yashashri Pawar's helpful answer above.

My tsconfig.json file:

{
  "compilerOptions": {
    "module": "NodeNext",
    "esModuleInterop": true,
    "moduleResolution": "nodenext",
    "noImplicitReturns": true,
    "noUnusedLocals": true,
    "outDir": "lib",
    "sourceMap": true,
    "strict": true,
    "target": "es2017"
  },
  "compileOnSave": true,
  "include": [
    "src"
  ]
}

My .eslintrc.js file:

module.exports = {
  root: true,
  env: {
    es6: true,
    node: true,
  },
  extends: [
    "eslint:recommended",
    "plugin:import/errors",
    "plugin:import/warnings",
    "plugin:import/typescript",
    "google",
    "plugin:@typescript-eslint/recommended",
  ],
  parser: "@typescript-eslint/parser",
  parserOptions: {
    project: ["tsconfig.json", "tsconfig.dev.json"],
    sourceType: "module",
  },
  ignorePatterns: [
    "/lib/**/*", // Ignore built files.
    "/generated/**/*", // Ignore generated files.
  ],
  plugins: [
    "@typescript-eslint",
    "import",
  ],
  rules: {
    "quotes": ["error", "double"],
    "import/no-unresolved": 0,
    "indent": ["error", 2],
  },
};

...and my .vscode/settings.json file:

{
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": "explicit"
  },
  "eslint.workingDirectories": [
    "./functions",
  ]
}

That setup got me going with firebase functions out of the box. Upvote the above answer for proper credits ☝️

Reasons:
  • Blacklisted phrase (0.5): Upvote
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Yashashri
  • Low reputation (0.5):
Posted by: Maxime Franchot

79510273

Date: 2025-03-14 21:46:02
Score: 4.5
Natty:
Report link

Not an answer but Here's the the info I've found about:

https://developer.apple.com/forums/thread/763311
https://developer.apple.com/forums/thread/659621

Reasons:
  • Blacklisted phrase (1): Not an answer
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Manolis Dame

79510267

Date: 2025-03-14 21:43:01
Score: 0.5
Natty:
Report link

For tailwind v4

@import "tailwindcss/theme.css" layer(test);

@layer test {
  #root {
    @tailwind utilities;
  }
}

https://play.tailwindcss.com/NFMogqbwfp?file=css

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

79510265

Date: 2025-03-14 21:41:01
Score: 1
Natty:
Report link

when you run vllm: example

export MAX_MODEL_LEN=16000

vllm serve $HOME/Documents/work/large-language-models/DeepSeek-R1-Distill-Qwen-7B --host 0.0.0.0 --port 8000 --max-model-len=$MAX_MODEL_LEN --uvicorn-log-level debug

if you don't specify explicity MAX_MODEL_LEN, it will use default value of model that you use.

--max-model-len
Model context length. If unspecified, will be automatically derived from the model config.

It's causing your GPU to run out of memory. You need to limit it by setting export MAX_MODEL_LEN=<appropriate value>

thís problem is related to server-side, VLLM of langchain don't use max_model_length like you. [example](https://github.com/langchain-ai/langchain/blob/c74e7b997daaae36166e71ce685850f8dc9db28e/docs/docs/integrations/llms/vllm.ipynb#L278)

llm = VLLM(
    model="meta-llama/Llama-3.2-3B-Instruct",
    max_new_tokens=300,
    top_k=1,
    top_p=0.90,
    temperature=0.1,
    vllm_kwargs={
        "gpu_memory_utilization": 0.5,
        "enable_lora": True,
        "max_model_len": 350,
    },
)

it use vllm_kwargs, the config is configured for client-side.

Reference

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): when you
  • Low reputation (0.5):
Posted by: happy