79139124

Date: 2024-10-29 22:07:45
Score: 4
Natty:
Report link

Solved it by updating Next-Auth npm-package to the last version)

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

79139122

Date: 2024-10-29 22:05:44
Score: 0.5
Natty:
Report link

To complement @Thomas answer...

In most instances you should be good with running

certutil -csp "Microsoft Strong Cryptographic Provider" -repairstore my "<cert serial number>"

This will force certutil to only use the provider most commonly used for handling private keys in Windows and opt out of any Smart Cards.

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @Thomas
Posted by: Dennis

79139110

Date: 2024-10-29 21:59:43
Score: 1.5
Natty:
Report link

write it in options, I tried it and it works

scales: {
  yAxes: [{ticks: {min: 3, max:16, display:false}}],
  xAxes: [{ticks: { display:false}}],
  display:false
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Aml Essa

79139094

Date: 2024-10-29 21:54:41
Score: 2.5
Natty:
Report link

Try removing the if in compute_loss. It could be said that the other branch is "unused".

https://github.com/Lightning-AI/pytorch-lightning/issues/17212#issuecomment-1632222390

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

79139081

Date: 2024-10-29 21:47:40
Score: 2
Natty:
Report link

Have done it just now. It does actually but not so simple. For example you can't not just add your password-protected repo to client using URL (or built-in generated QR) as you will fail with 401 and thtat's all. Instead you should add it using CURL's form user:password@url than it will be accepted and moreover when you go inside the new repo, youll see some button "change password" there so that we can assume that there was at least some intention to use password-protected repo. This button doesn't work for me anyway - app just crashes, but at least I can use my password-protected repo ) Frankly speaking all the F-Droid stack seemd to me like extremelly half-baked, buggy and poor-documented in general but AFAIK there is no other such solution in the world so there's no choice unfortunatelly. Sory for necro but if I was redirected here from google in my 2024 than there will be others so let they foud what they seeking.

Reasons:
  • RegEx Blacklisted phrase (2): doesn't work for me
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: kirill_ant

79139078

Date: 2024-10-29 21:46:39
Score: 0.5
Natty:
Report link

strftime Go implementation

import strftime "github.com/itchyny/timefmt-go"
strftime.Format(t, "%Y%m%d%H%M%S")

For more information see:

https://github.com/itchyny/timefmt-go

https://linux.die.net/man/3/strftime

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

79139070

Date: 2024-10-29 21:43:39
Score: 3.5
Natty:
Report link

Just resized your image dimensions to less than 720px

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

79139065

Date: 2024-10-29 21:41:38
Score: 0.5
Natty:
Report link

In my case playing with strings broke the build somehow, doing build clean up fix it somehow in Android Studio

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

79139063

Date: 2024-10-29 21:40:38
Score: 1.5
Natty:
Report link

Ok, I've added what will hopefully be a fix for this to the core library which you can get here from GitHub:

https://raw.githubusercontent.com/heyesr/rgraph/refs/heads/main/libraries/RGraph.common.core.js

et me know how it works out for you.

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

79139061

Date: 2024-10-29 21:39:38
Score: 3
Natty:
Report link

remove app.json and app.config.js from gitignore

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

79139048

Date: 2024-10-29 21:36:37
Score: 1.5
Natty:
Report link

As mentioned, the two calls to the Data class constructor are identical and the scope is equivalent, so it's worth looking at the parameters used in both calls.

You get a TypeError: too many initializers error, which seems to indicate that something is wrong when initializing the Data structure

ctypes structures can be initialized by passing values for the attributes to the constructor, which is what you are doing in your example

I have tried to reproduce vaguely your scenario and got this in the interactive interpreter:

>>> n = 5
>>> x = c_double(3.45); ina = pointer(x)
>>> y = c_double(9.23); outa = pointer(y)
>>> data = Data(n, ina, outa)
>>> data.n; data.ina.contents; data.outa.contents
5
c_double(3.45)
c_double(9.23)

which is good. If I add a parameter for which there is no attribute in the structure, I get the infamous TypeError: too many initializers

>>> data = Data(n, ina, outa, 90)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: too many initializers

Notably, I do not get the same error for type/argument mismatch, so I think this can be a good start. Why more than three arguments are fed to the Data constructor

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): get the same error
  • Low reputation (0.5):
Posted by: igmartin

79139042

Date: 2024-10-29 21:30:36
Score: 4.5
Natty:
Report link

I am getting the same issue after applying for and receiving an increased api quota so that I can perform a migration for our content from Vimeo. It is very frustrating to now be hitting this per-user limit that seems to have no workaround.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am getting the same issue
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Jeremy Bauman

79139039

Date: 2024-10-29 21:27:35
Score: 2.5
Natty:
Report link

I use Anaconda and have installed Python version 3.6.13:

(verda-py3p6) C:\Users\janki>python --version
Python 3.6.13 :: Anaconda, Inc.

I have installed verion 0.9.3 of DeepSpeech:

(verda-py3p6) C:\Users\janki>conda list deepspeech
# packages in environment at C:\Users\janki\anaconda3\envs\verda-py3p6:
#
# Name                    Version                   Build  Channel
deepspeech                0.9.3              pyhd8ed1ab_0    conda-forge

I also have the same issue that when I try to import DeepSpeech it is not able to find the module:

(verda-py3p6) C:\Users\janki>python
Python 3.6.13 |Anaconda, Inc.| (default, Mar 16 2021, 11:37:27) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import deepspeech
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'deepspeech'
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I also have the same issue
  • Low reputation (1):
Posted by: Janki

79139033

Date: 2024-10-29 21:25:35
Score: 3
Natty:
Report link

It appears that there was an issue with the CodeRush extension I had installed with my Visual Studio. The issue went away when I updated to the latest version of CodeRush (v24.1.5).

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

79139032

Date: 2024-10-29 21:25:35
Score: 2
Natty:
Report link

The problem was fixed when I deleted these two lines:

# 2 - stage
X = res_block(X, filter= [64,64,256], stage= 2)

# 3 - stage
X = res_block(X, filter= [128,128,512], stage= 3)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Neta Robinzon Butbul

79139027

Date: 2024-10-29 21:23:34
Score: 2
Natty:
Report link

The problem turned out to be that even though the eslint.config.mjs file was installed, a .eslintrc.json file, which I thought was supposed to be deprecated, was also installed, and ESLint was using that. I removed it to see if the linter would pick up on the .mjs file but I got an error that way. So I restored .eslintrc.json, added my rule exceptions to that file, and it worked as expected. Shaking my head.

Reasons:
  • Whitelisted phrase (-1): it worked
  • RegEx Blacklisted phrase (2): but I got an error
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Green Grasso Holm

79139016

Date: 2024-10-29 21:19:33
Score: 2
Natty:
Report link

From what you've described, it sounds like the crash might be due to updating the markers in the GoogleMapsScreen widget while the widget itself is being built or rendered. This can happen if widget.markers is updated and then re-rendered, leading to inconsistencies in the widget's state. Here are a few steps and improvements to help troubleshoot and potentially resolve this issue:

Set Initial State for Markers: When GoogleMapsScreen is initialized, ensure the markers Set has a default value to avoid any unexpected nulls. Additionally, it might be useful to explicitly update the markers with setState when the markers are updated.

Add Error Handling for API Responses: Ensure that the response data from getBranchesAPI is well-structured and valid before proceeding to create markers. Sometimes, malformed data can lead to unexpected issues without clear error messages.

Handle Markers State with a Key: Add a unique key to GoogleMapsScreen to force the widget to rebuild properly when the markers set updates.

Here are the adjusted sections of your code with these suggestions:

  1. Modify GoogleMapsScreen to Ensure Proper Marker State Handling Use widget.markers with a unique key to force rebuilds and set a default position if the markers are empty.

    class GoogleMapsScreen extends StatefulWidget { final Set markers; GoogleMapsScreen({super.key, required this.markers});

    @override State createState() => _GoogleMapsScreenState(); }

    class _GoogleMapsScreenState extends State {

    @override Widget build(BuildContext context) { return GoogleMap( initialCameraPosition: CameraPosition( target: widget.markers.isNotEmpty ? widget.markers.first.position : LatLng(33.8938, 35.5018), // Default location if no markers zoom: 10, // Adjust zoom level as needed ), markers: widget.markers, key: ValueKey(widget.markers), // Use ValueKey to force rebuild on marker change ); } }

  2. Update prepareMarkers in MapViewModel to Verify Marker Data Check that each branch has valid coordinates before adding a marker to avoid crashes from null or invalid data.

    void prepareMarkers() { markers = branches.where((branch) => branch.latitude != null && branch.longitude != null).map((branch) { return Marker( markerId: MarkerId(branch.id ?? ""), position: LatLng(branch.latitude ?? 0.0, branch.longitude ?? 0.0), infoWindow: InfoWindow( title: branch.englishBranchName ?? "No Name", snippet: branch.phoneNumber ?? "No Phone", ), ); }).toSet(); setMapLoading(false); }

  3. Add Debugging to Track Errors Add debugging lines in getBranchesAPI to capture and log unexpected issues that might not be obvious otherwise.

    Future getBranchesAPI({ required Function(String?) onError}) async { setMapLoading(true); try { var response = await repo.getBranches( pageNumber: MapConstants.pageNumber, pageSize: MapConstants.pageSize, body: {}, ); response.when( success: (NetworkBaseModel response) async { if (response.isSuccess == true) { branches = response.data; prepareMarkers(); } else { onError("Failed to load data"); } }, failure: (NetworkExceptions error) { onError(error.message); setMapLoading(false); }, ); } catch (e) { onError("An unexpected error occurred: $e"); setMapLoading(false); } }

  4. Check Markers in the Consumer Use the Consumer to ensure viewModel.markers is not empty before displaying the map:

    Expanded( child: Consumer( builder: (context, viewModel, child) { if (viewModel.isMapLoading) { return Center(child: CircularProgressIndicator()); } else if (viewModel.markers.isEmpty) { return Center(child: Text("No locations available")); } else { return GoogleMapsScreen(markers: viewModel.markers); } }, ),

) This approach will help track down any issues and ensure that GoogleMapsScreen has consistent and valid data when rendering markers.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @override
  • User mentioned (0): @override
  • Low reputation (1):
Posted by: Alhassan Abubakar Sadiq

79139001

Date: 2024-10-29 21:11:31
Score: 2
Natty:
Report link

You have used an out of date version of Cucumber, this is the version you should be using:
https://www.npmjs.com/package/@badeball/cypress-cucumber-preprocessor.

If you take a minute to read the docs, you can see

ℹ️ The repository has recently moved from github.com/TheBrainFamily to github.com/badeball. Read more about the transfer of ownership here.

which links to

Transfer of ownership

Due to personal reasons, the previous maintainers of this package are stepping down and handing the reigns over to me, a long-time contributor to the project and a user of it myself. This is a responsibility I'm very excited about. Furthermore, I'd like to thank @lgandecki ++ for all the work that they've done so far.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @lgandecki
  • Low reputation (1):
Posted by: Shirley.Manson

79138984

Date: 2024-10-29 21:04:30
Score: 2
Natty:
Report link

Yes, It is better to re-submit the updated main sitemap, when changes of sub-sitemaps affect to the main sitemap. It signals to Google Search Console that your website structure has been updated for indexing.

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

79138964

Date: 2024-10-29 20:59:29
Score: 2.5
Natty:
Report link

BasicTabbedPaneUI contains protected field tabPane. So from paintTab we can access int selectedTabIndex = tabPane.getSelectedIndex(); and String tabText = tabPane.getTitleAt(tabIndex); - @SharadPaul

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @SharadPaul
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: mg3

79138960

Date: 2024-10-29 20:57:28
Score: 1
Natty:
Report link

Add

"files.associations": {
  "*.css": "tailwindcss"
}

to your VS Code user settings JSON

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

79138948

Date: 2024-10-29 20:53:27
Score: 8.5
Natty: 7
Report link

Having the same issue. Running 4.35, Windows 10 Enterprise.

Any help out here?

Reasons:
  • Blacklisted phrase (1): Any help
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): Having the same issue
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Kevin Wu

79138946

Date: 2024-10-29 20:51:26
Score: 4.5
Natty:
Report link

Solved with the help of @SteffenUlrich. The problem was an internal error in the backkend.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @SteffenUlrich
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: adiet

79138937

Date: 2024-10-29 20:47:24
Score: 4.5
Natty:
Report link

You could try the extended-embedded-languages extension

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

79138933

Date: 2024-10-29 20:46:24
Score: 3.5
Natty:
Report link

These answers studious avoid the question: how do you constrain a concept by another concept. For example, maybe I want a function that only produces complex numbers, but I don't care what complex number iteration is being used. Let's pretend that such a concept exists.

template<typename T>
concept complex_rooter = requires(const T ct, std::numeric auto x) {
  { ct.sqrt(x) } -> std::convertible_to<std::complex auto>
}

In both cases, you cannot use a concept.

Okay, fine, that's the syntax, so what do you do?

Reasons:
  • Blacklisted phrase (1): how do you
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Zendel

79138932

Date: 2024-10-29 20:46:24
Score: 2.5
Natty:
Report link

This worked. I was having issues in VS code cmake extension. Then tried compiling manually with clang and that gave me a similar error. So definitely was something between clang and Xcode.

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

79138927

Date: 2024-10-29 20:43:23
Score: 1
Natty:
Report link

I'm not sure the problem is with docker here. If you read the logs, it says:

It seems you are upgrading from 17.0.1 to 17.5.1.
It is required to upgrade to the latest 17.3.x version first before proceeding.

So try moving to image with any tag of 17.3.x first.

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

79138926

Date: 2024-10-29 20:43:23
Score: 2.5
Natty:
Report link

I had to downgrade the vscode version from 1.95 to 1.94. This fixed the issue in my case. It seems to be related with a bug from the vscode side too.

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

79138923

Date: 2024-10-29 20:42:23
Score: 3
Natty:
Report link

disable this option, the version of the GitLens -> 15.6.2 disable this option

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

79138920

Date: 2024-10-29 20:42:23
Score: 1
Natty:
Report link

Answering my own question just in case anyone has this problem in the future, the issue seems to be the new architecture of React Native.

For the time being (RN: 0.76.0) it seems that you have to disable it by adding this to your grandle.properties newArchEnabled=false

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

79138917

Date: 2024-10-29 20:41:22
Score: 4
Natty:
Report link

In latest ReSharper version, you can disable all performance suggestions:

enter image description here

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

79138909

Date: 2024-10-29 20:38:21
Score: 2.5
Natty:
Report link

For Hasura to properly validate JWTs with an HS256 symmetric key, you need to use a key that is at least 32 characters long. Here’s how you can structure the HASURA_GRAPHQL_JWT_SECRET for HS256 in your Docker Compose file, ensuring the key meets the required length:

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

79138905

Date: 2024-10-29 20:35:20
Score: 1.5
Natty:
Report link

I encountered a similar issue when using a custom form wrapper around the Select component. If you remove the name attribute from the Form.Item element, the Select component renders properly. However, if you need to retain the name attribute to access form values and set initial values, avoid setting the value prop directly on Select. Instead, use form.setFieldValue("model", ) to control the selected value dynamically. If you implement this change, there is no need to use the value or onchange props as these will be handled automatically.

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

79138904

Date: 2024-10-29 20:34:18
Score: 11 🚩
Natty: 5.5
Report link

I am having same issue. Did you found solution for this issue?

Reasons:
  • RegEx Blacklisted phrase (3): Did you found solution
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am having same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: pythonic_way

79138887

Date: 2024-10-29 20:28:16
Score: 1
Natty:
Report link

Late response to an old post, but it may help other folks looking for something like this.

Similar to David's suggestion the following allows you limit the output to just the previous line.

^(.*)\n(.*)last message repeated
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: shuhradk

79138885

Date: 2024-10-29 20:27:16
Score: 2.5
Natty:
Report link

it will be possible with a new ioctl(..PIDFD_INFO_PID) but as kernel 6.12 is still under development.

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

79138884

Date: 2024-10-29 20:27:16
Score: 1.5
Natty:
Report link

This work for me MacOS 14.6.1. I use brew.

sudo chown -R $(whoami) /usr/local/*
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Nazar Fedishin

79138882

Date: 2024-10-29 20:25:15
Score: 0.5
Natty:
Report link

You can consider using the Cloud SQL for MySQL or Cloud SQL for PostgreSQL database that’s managed and scaled by Google, and also supported by Django. Both support Database Migration Service (DMS) from source databases (mysql client or psql client as test database) to Cloud SQL destination database (Cloud SQL for MySQL or PostgreSQL as production database). DMS makes it easier for you to migrate your data to Google Cloud.

You mentioned you are using the Cloud SQL Auth Proxy, which also works by having a local client running in the local environment and creates one connection to the Cloud SQL instance. The below diagram from Google Cloud shows how the Cloud SQL Auth Proxy connects to Cloud SQL:

image

Additionally, as per this documentation:

Django apps that run on Google Cloud are running on the same infrastructure that powers all of Google's products, which generally improves the application's ability to adapt to a variable workload.

I hope this helps.

Reasons:
  • Blacklisted phrase (1): this document
  • Whitelisted phrase (-1): hope this helps
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: HerPat

79138881

Date: 2024-10-29 20:25:15
Score: 5
Natty: 6.5
Report link

Confirming the post above, this documentation shows that information:

https://learn.microsoft.com/en-us/previous-versions/ms893522(v=msdn.10)?redirectedfrom=MSDN

Reasons:
  • Blacklisted phrase (1): this document
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Vinicius Oliverio

79138880

Date: 2024-10-29 20:25:15
Score: 2
Natty:
Report link

What ended up working:

var shadowParent = driver.FindElement(By.CssSelector("macroponent-abc123"));
var shadowRoot = shadowParent.GetShadowRoot();

var somethingInsideShadowRoot = shadowRoot.FindElement(By.CssSelector("table"));

I had to wrap my head around shadow DOM and its purposes on websites, then I was able to get it sorted out. Thanks to Rahul for pointing me in the right direction!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: MD_Reptile

79138879

Date: 2024-10-29 20:24:14
Score: 1
Natty:
Report link

I needed to put a very long link from google. I used this approach to break it into lines of 20 symbols:

<a href="' . $url . '">' . implode("\u{200B}", str_split($url, 20)) . '</a>
Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Dmitriy Korytnyi

79138875

Date: 2024-10-29 20:23:14
Score: 1
Natty:
Report link

Why don't you want to check for existing username directly in the MongoDB query like below.

try{
  const existingUser = await mongodb
  .getDb()
  .db()
  .collection("users")
  .findOne({ userName: req.body.userName });

  if (existingUser) {
    return res.status(400).json({ error: "Username is already in use" });
  }
  // rest of the code
} catch (error) {
  res.status(500).json(error);
  console.log(error);
}
Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): Why don't you
  • Low reputation (1):
Posted by: Coder365

79138874

Date: 2024-10-29 20:23:14
Score: 1.5
Natty:
Report link

Termux

Add an Alias in ~/.profile:

alias ember="node ~/.npm-global/bin/ember"

Update configuration

source ~/.profile
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Admin

79138873

Date: 2024-10-29 20:23:14
Score: 3
Natty:
Report link

I am also having similiar issue

the soltions in here doesn't solve my issue.

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

79138864

Date: 2024-10-29 20:21:13
Score: 2.5
Natty:
Report link

Based on the log provided, the JsonStreamBuilder has been correctly selected as the intended builder for the specified content type. The issue now seems to lie with the actual payload that the builder is attempting to parse. Therefore, please first validate that the received payload is a valid JSON format.

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

79138863

Date: 2024-10-29 20:21:13
Score: 2
Natty:
Report link

Try setting Content-Type to application/x-www-form-urlencoded when you send the request (on Angular side).

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

79138860

Date: 2024-10-29 20:19:13
Score: 5.5
Natty:
Report link

Do you have any code snippt? Usually ConcurrentModificationException happens when you are trying to modify a collection while you are iterating it. To modify an existing collection it has to be threadsafe collections. Also, check for any circular dependencies in code.

Reasons:
  • RegEx Blacklisted phrase (2.5): Do you have any
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Blitz Crank

79138857

Date: 2024-10-29 20:18:10
Score: 11 🚩
Natty: 5.5
Report link

Im facing the same issue as of now. Did you got the solution ?

Reasons:
  • RegEx Blacklisted phrase (3): Did you got the solution
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): facing the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: karthick R

79138851

Date: 2024-10-29 20:17:10
Score: 3
Natty:
Report link

The ModuleNotFound error means you do not have a library that you are using. Have you tried any other tools for deploying yet, like cx_Freeze?

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Juraj K.

79138837

Date: 2024-10-29 20:13:09
Score: 2
Natty:
Report link

I had this same problem, almost half of my request were returning the 'RECITATION' finish reason. I noticed I was using the model "gemini-1.5-flash", and just switching to the model "gemini-1.5-flash-002" seems to have solved the problem.

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

79138835

Date: 2024-10-29 20:13:09
Score: 3.5
Natty:
Report link

You need to add "LegacyUninstall=1" into [DefaultUninstall.NTAMD64.Services] as well.

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

79138834

Date: 2024-10-29 20:13:09
Score: 0.5
Natty:
Report link

You could use WMI instead. This way you get a list of objects you can filter on.

Get-WmiObject -ComputerName computername -Class Win32_Share | Where-Object -FilterScript { !$_.Name.EndsWith('$') }

Let me know if it works for you.

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

79138828

Date: 2024-10-29 20:11:08
Score: 1
Natty:
Report link

This is a rather old request but - I came to this when I also looked for a solution. So my solution finally is: using bat (cat alternative). I set it up using "VIEWER=bat mc" or even better: "VIEWER=bat-mc mc". bat-mc ist a small bash-script which is called for viewing files:

  #! /bin/bash
  bat "$*"
  read -p "press ENTER to proceed"

(to avoid automatic closing the viewed file, when the linecound is less than the available lines in the terminal-window.

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

79138825

Date: 2024-10-29 20:11:08
Score: 4.5
Natty: 4
Report link

I like the answer given by @0livier above. For those wondering what a use case might be, I found it to be useful when I needed to render views recursively

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @0livier
  • Single line (0.5):
  • Low reputation (1):
Posted by: b-rack

79138824

Date: 2024-10-29 20:10:08
Score: 3.5
Natty:
Report link

Yes you can get "global precipitation image tile which can be overlaid on the map".

Refer to the documentation: https://www.here.com/docs/bundle/destination-weather-api-developer-guide/page/topics/example-precip-request.html

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

79138818

Date: 2024-10-29 20:08:07
Score: 0.5
Natty:
Report link

You could potentially try decoding it into a proto with an untyped decoder, for instance this one https://github.com/pawitp/protobuf-decoder/blob/master/src/protobufDecoder.js

This won't give you any field names, and can't tell the difference between some fields (like int/uint etc.) but if you can decode enough fields, you should be able to with some confidence determine that it's a proto. If you need your application to be 100% reliable, then you'll need the .proto definition as well, or additional metadata, for instance a header with the content type. If you're find with it being right 99% of the time, this should be good enough.

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

79138810

Date: 2024-10-29 20:07:07
Score: 2
Natty:
Report link

The post marked as answered didn't fix the issue in my case. I was looking to debug a next.js client app. The issue was handle by downgrading the vscode version from 1.95 to 1.94. So It seems to be related with a bug from the vscode side too.

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

79138804

Date: 2024-10-29 20:06:07
Score: 2.5
Natty:
Report link

I had to downgrade the vscode version from 1.95 to 1.94. This fixed the issue in my case. It seems to be related with a bug from the vscode side too.

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

79138794

Date: 2024-10-29 20:04:06
Score: 2.5
Natty:
Report link

I had to downgrade the vscode version from 1.95 to 1.94. This fixed the issue in my case. It seems to be related with a bug from the vscode side too.

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

79138792

Date: 2024-10-29 20:04:06
Score: 3
Natty:
Report link

if you are using clerk then add dynamic in the clerkprovider>convexproviderwithclerk basically showing while using useAuth

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

79138771

Date: 2024-10-29 20:01:05
Score: 3.5
Natty:
Report link

Tom, how can apply label to local disk files using MIP without creating a new file? how do it very fast to thousends of files? I just want to change the label of a document same way as if use change the sensitivity label in word. The MIP SDK doesnt look like to support in place labeling and require an output filename.

Reasons:
  • Blacklisted phrase (1): how do i
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: agonzalez

79138756

Date: 2024-10-29 19:59:05
Score: 0.5
Natty:
Report link

Nearly two years later I think I have figured out how one would begin to do this. Thanks to this answer demonstrating how to use the API via gcloud, I was able to cobble together something similar using the Node wrapper for the Logging API (FYI this relies on application default for authentication):

const { Logging } = require('@google-cloud/logging');

const projectId = '[PROJECT_ID]';
const buildId = '[BUILD_ID]';

const logging = new Logging({ projectId });

logging
  .tailEntries({
    resourceNames: [`projects/${projectId}`],
    log: 'cloudbuild',
    filter: `resource.labels.build_id="${buildId}"`
  })
  .on('data', (response) => {
    response.entries.forEach((entry) => console.log(entry.data));
  });

This uses the tailEntries method of the logging API. Surely there are improvements to be made over this; a first and obvious one is that the logs are not necessarily in order (more on that in the docs related to Log streaming, which also provide a similar example to the one above). However, it is good to know it is possible.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Tanner Stern

79138755

Date: 2024-10-29 19:59:02
Score: 7 🚩
Natty: 6
Report link

did u try disabling antivirus?

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

79138724

Date: 2024-10-29 19:51:00
Score: 1
Natty:
Report link

I also got the Runtime Error 217 when I started my EXE on a computer on which my Delphi (Delphi 12.1) was not installed. Skia was not enabled! But VCL.Skia was automatically added to the uses list. Then the DLL sk4d.dll is required. After lengthy testing, I also found out why the VSL.Skia unit was added to my project. I used a TImage component and unfortunately used an SVG icon. When I replaced the ".SVG" icon with an ".ICO", VCL.Skia was no longer automatically added to the uses list and I was able to do without the DLL again.

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

79138720

Date: 2024-10-29 19:49:59
Score: 3
Natty:
Report link

Proto-Indo-European

Lets Create Lexicon

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

79138718

Date: 2024-10-29 19:48:59
Score: 4
Natty:
Report link

Ohh,okay guys o got It, probably im gonna pop ALL tem and push the odds after

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

79138715

Date: 2024-10-29 19:46:59
Score: 1
Natty:
Report link

In React, directly updating state in one child component from another without involving the parent is challenging due to the "one-way data flow" principle. This ensures data flows down from parent to child, making applications more predictable.

However, if you really want to avoid modifying App.jsx as a parent, you can go through few alternative approaches:

Context API: You can create a context to hold shared state (like newSubstance) and the setter function (setNewSubstance). Both SubstanceForm and PreviousSearches can then access and modify this shared state, bypassing the need to lift the state into App.jsx.

Custom Hook: Another way is to create a custom hook to manage the newSubstance state. This can be imported and used by both components without needing to modify App.jsx.

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

79138709

Date: 2024-10-29 19:43:58
Score: 2.5
Natty:
Report link

Looks you don’t have any resources in your main.

Follow this structure and do mvn clean

src/main/resources. Add images here

And do mvn clean.

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

79138699

Date: 2024-10-29 19:41:57
Score: 1.5
Natty:
Report link

What you're doing seems to be right: Attach an AkGeometry node as a child to a MeshInstance3D.

While not directly answering your question, here are a few things that tripped me up at first:

Reasons:
  • No code block (0.5):
  • Starts with a question (0.5): What you
  • Low reputation (0.5):
Posted by: pvasudev16

79138697

Date: 2024-10-29 19:40:57
Score: 1
Natty:
Report link
const testBtn = () => this.page.getByTestId("test");

const isChecked = await testBtn().isChecked();

if (!isChecked) {
    await testBtn().click();
}

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

79138692

Date: 2024-10-29 19:37:56
Score: 0.5
Natty:
Report link

Use this code to use different column names after using df.join, you can't have two columns with the same name.

result_df = joined_df.select(
    "b",
    F.col("a").alias("a_x"),
    F.col("a").alias("a_y")
)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Epidermis

79138688

Date: 2024-10-29 19:34:56
Score: 1.5
Natty:
Report link

dat files are usually PARDOXS FILES What will open them will be the old DBD32.EXE. find it and it will open the data file. If you do not find the program get in touch I will send it to you

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

79138679

Date: 2024-10-29 19:33:55
Score: 1
Natty:
Report link

In order to rotate your cube by angle

 Matrix.setRotateM(rotationMatrix, 0, angle, 0f, 0f, -1.0f)// z-axis

You should better implement the onTouchEvent() method in your GLSurfaceView rather than adding buttons.

Check https://developer.android.com/develop/ui/views/graphics/opengl/touch

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

79138676

Date: 2024-10-29 19:31:55
Score: 0.5
Natty:
Report link

The answer here, pulled from the comments, was to drop the existing table and replace it with one that is more properly normalized. The structure of the new table will be something akin to the following:

ItemGroup CountryCode Rate
100 CN 2.7
100 GB 1.6
101 CN 1.7
101 GB 0.5

Likely foreign keys: ItemGroup, CountryCode Likely unique index: ItemGroup + CountryCode

This table structure allows a selection by either ItemGroup or by Country to get the desired Rate or rates. A join to a country detail table can provide the additional information if required and a join to an Item table can provide information about the item.

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

79138672

Date: 2024-10-29 19:29:54
Score: 1.5
Natty:
Report link

Based on the logs looks like ConcurrentModificationException is originating from the ConfigurationClassParser. Try below steps to drill down the actual issue

  1. Ensure that no concurrent modifications are happening in any of your configuration classes.
  2. Given you are using spring-boot-1.3.3.RELEASE, consider upgrading to a more recent version if possible.
  3. Review your configuration classes to ensure that any @Import or @Configuration annotations are not causing concurrent modifications.
  4. If you have any custom configuration, ensure that no collections are being modified while they are being iterated over.
  5. If already done above steps, Try to Debug the issue by adding Exception Breakpoint for ConcurrentModificationException

enter image description here

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @Import
  • User mentioned (0): @Configuration
  • Low reputation (0.5):
Posted by: Sharad Paul

79138665

Date: 2024-10-29 19:27:54
Score: 2
Natty:
Report link

just to be useful for anyone using Fedora.

guided by @jhfrontz answer:

sudo dnf install octave-devel

solved the problem of 'missing mkoctfile in octave' in fedora 40

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @jhfrontz
  • Low reputation (0.5):
Posted by: srk_cb

79138659

Date: 2024-10-29 19:25:54
Score: 3
Natty:
Report link

This issue has been mentioned in the podman repo on github. Culprit seems to be rosetta 2 and some node workloads. Doesn't seem to be resolved at this time.

Next.js next build churns CPU forever in linux/amd64 container on arm64 silicon mac #23269

"Use Rosetta": Certain node.js/amd64 workloads cause container to become unresponsive/100% CPU

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

79138658

Date: 2024-10-29 19:25:54
Score: 0.5
Natty:
Report link

Git's handling of submodule merges, especially when it comes to conflicting submodule updates, is the cause of the behavior you're seeing.

1- Merging Two Commits:

Git tries a three-way merge with the two commits (A and B) and the common ancestor (P) when you merge them. Git can give you a method to manually settle any conflicts that may arise in the submodule updates. You can still resolve the dispute even though you see the error because of this.

2- Merging Several Commits:

Git tries to do a "octopus" merge, which is designed for merging several branches, when you attempt to merge more than two commits (such as A, B, and C). However, compared to standard two-way merges, octopus merges have more stringent requirements and manage conflicts differently. Git fails entirely without offering a chance to resolve conflicts because it is unable to do so automatically, particularly when it comes to submodules.

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

79138646

Date: 2024-10-29 19:19:52
Score: 1.5
Natty:
Report link

When I first encounter something I do not know or fully understand I usually try to work my way from examples.

You can get example code from here: https://developers.google.com/maps/documentation/javascript/markers#maps_marker_simple-javascript

here an example of setting a custom icon: https://developers.google.com/maps/documentation/javascript/markers#icons

I like SGV format icons because it saves me the trouble of having to setup files and load them from the scripts. From there I can define color, shape, size.

Reasons:
  • No code block (0.5):
  • Starts with a question (0.5): When I
  • Low reputation (0.5):
Posted by: RudyMartin

79138638

Date: 2024-10-29 19:17:51
Score: 3
Natty:
Report link

It turns out my code was fine, it was the package/vite/tsconfig settings. I found a library (mui-color-input) that used vite and also responded appropriately to dark/light theme settings. Then I compared that line by line with what I had, and made changes accordingly. I believe there was still a dependency conflict even though I had @mui in the peer dependencies. The index.d.ts was also no getting written to dist.

Reasons:
  • No code block (0.5):
  • User mentioned (1): @mui
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: antjo

79138628

Date: 2024-10-29 19:15:48
Score: 8 🚩
Natty: 5
Report link

Thank you @t.niese yours works great but what about antialiasing?img

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Emircan ERKUL

79138626

Date: 2024-10-29 19:15:48
Score: 1
Natty:
Report link

Yes Downgrading the library from version 10.2.0 to 9.2.0 re-release it worked for me as well.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sachin Jaiswal

79138624

Date: 2024-10-29 19:15:48
Score: 2
Natty:
Report link

Double check firewall rules. If ports are allowed, try "ping" command see what does it return

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

79138621

Date: 2024-10-29 19:14:48
Score: 1.5
Natty:
Report link

My mui react app had color-scheme:dark applied to the html element. Adding color-scheme:normal on div wrapping the div with class g-ytsubscribe resolved the issue ( default layout, hidden subscriber count).

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

79138616

Date: 2024-10-29 19:13:47
Score: 0.5
Natty:
Report link

Here is how I moved my jobs to cold storage using the Shelve Project plug-in

WARNING the Shelve Projects plug-in does not maintain data for the Job Config History plug-in. If you unshelve your project, the configuration history will be empty.

WARNING the Shelve Projects plug-in does not copy your builds if you have modified the config.xml to change buildsDir. (Note: I have not tried this on a clean unmodified installation - so I cannot guarantee it ever saves builds).

  1. Right-click a project in the Jenkins GUI and press "shelve project"
  2. Navigate to your Jenkins "home" folder (you can find this path from the GUI under Manage Jenkins > System Information > user.home)
  3. Navigate into the the shelvedProjects subdirectory
  4. Move both the .tar file and a .properties file for each project you would like to offload.
  5. In Jenkins, view the "Shelved projects" and you will no longer see the projects you moved out.

Then later you can copy those files back, and the "Shelved projects" will now show the project you retrieved from cold storage.

Unfortunately, this process loses the Job Config History.

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • Long answer (-1):
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: Brent K.

79138603

Date: 2024-10-29 19:11:47
Score: 0.5
Natty:
Report link

They are very similar. :(...) is designed for single line quotes, while quote adds linenumber nodes which mean that if the code has errors, the line of the error will be reported better if the code spans several lines.

Reasons:
  • Blacklisted phrase (1): :(
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Oscar Smith

79138600

Date: 2024-10-29 19:10:47
Score: 0.5
Natty:
Report link

The behavior of websockets in this manner is no different then any standard HTTP/HTTPS connection -- only the two endpoints can talk. The client can send bytes to the server, and the server can send bytes to the client. The only way a server could use that mechanism to talk to other machines on the client network is if the client is specifically written to do that.

So, one could write a HTTP-proxy that connects outbound to a websocket and then will execute any http requests pushed to it by the server, but that would require you to explicitly implement such a thing. One can do the same thing over many protocols. The key is it is something the client would have to explicitly implement, not something that you would accidentally enable.

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

79138590

Date: 2024-10-29 19:05:46
Score: 0.5
Natty:
Report link

Choosing Between Index and View

Use an Index: When you need fast access to specific rows in a large dataset, particularly when working with WHERE or JOIN clauses on a frequently queried column.

An index is a data structure that improves the speed of data retrieval on a database table. It works much like an index in a book, making it faster to look up specific rows based on indexed columns.

Best Use Cases:

Use a View: When you have complex SQL queries that are frequently repeated and require consistent structure.

A view is essentially a saved SQL query that acts like a virtual table. It provides an abstraction over complex queries, joins, and aggregations without needing to store the actual data.

Best Use Cases:

KEY DIFFERENCE: An index speeds up data retrieval on a column level, while a view simplifies and abstracts query logic.

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

79138589

Date: 2024-10-29 19:04:45
Score: 1.5
Natty:
Report link

While hash functions are not periodical in the mathematical sense it is possible to create and manipulate hash behaviors in order to predict what values the hash will follow like truncating it. This is where Floyd’s cycle-finding (rho) algorithm comes in. By repeatedly hashing a value with the same hash you will eventually create a cycle with a period around square root of n of the size of the hash. What happens with current hashes is that they are too big and these calculations take too much time to be found, they are infeasible. So SHA(1) SHA(2) etc. wont be periodical but u can indeed find that mentioned periodicity if u did SHA(fn), SHA(SHA(fn) etc.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Eduardo Roçadas

79138576

Date: 2024-10-29 18:58:44
Score: 3
Natty:
Report link

Thank you, taller.

Range("A1:A5").CellControl.SetCheckbox
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Has no white space (0.5):
  • Low reputation (0.5):
Posted by: user2057674

79138573

Date: 2024-10-29 18:57:44
Score: 1
Natty:
Report link

Thanks to @Mark Ransom's comment, I realized that the Byte size = 8 setting in C meant that, there are 8 data bits, and one parity bit; on the other hand, on my machine the Number of data bits: 8 explicitly said 7 data + 1 parity bit. As a result, some data bits counted as check bits, and vice versa, with the bytes that don't match the parity getting omitted. This was the reason that some outputs were 5 bytes, some 6 bytes, some 7 bytes, some 8 bytes, and some 9 bytes -- when the actual length should be a bit longer -- 11 in Mark Ransom's example.

So I changed the code to say Byte size = 7, at which point the output started looking a lot more familiar. It turned out that what Mark Ransom said was correct, other than an added 0d 0a on the end. And my output was in fact little-endian -- so the 0a at the beginning of every line in my output corresponded to the 0a at the end of every line in the real output.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Mark
  • Self-answer (0.5):
Posted by: Alex

79138572

Date: 2024-10-29 18:57:44
Score: 1.5
Natty:
Report link

Try using CSS pseudo-class, like so:

await page.locator('sp-checkbox:not([checked])').click();

sp-checkbox:not([checked])

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

79138570

Date: 2024-10-29 18:56:43
Score: 1
Natty:
Report link

I'm Syrus, from Wasmer.

Wasmer has just released official iOS support in 5.0, so you can run your WebAssembly apps in your iPhone or iPads.

Feel free to read the announcement here: https://wasmer.io/posts/introducing-wasmer-v5

Reasons:
  • Low length (0.5):
  • No code block (0.5):
Posted by: Syrus Akbary Nieto

79138567

Date: 2024-10-29 18:55:40
Score: 10.5 🚩
Natty:
Report link

tengo el mismo problema, pase la solucion

Reasons:
  • Blacklisted phrase (2): tengo
  • Blacklisted phrase (2.5): solucion
  • RegEx Blacklisted phrase (2.5): mismo
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: José Cruz

79138561

Date: 2024-10-29 18:53:39
Score: 4.5
Natty:
Report link

The problem is the import type. You exported a named const and need import as named on the MDX file, like @Dogbert suggested. I forked an example for MDX from the Astro's github examples and modified for your case on the StackBlitz.

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @Dogbert
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: marcelofreires

79138560

Date: 2024-10-29 18:52:39
Score: 1
Natty:
Report link

You can use MassCat app to add products in bulk to multiple collections simultaneously. Simply add the list of SKUs for the products you want to add in the app and then select the collections.”

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

79138554

Date: 2024-10-29 18:51:39
Score: 0.5
Natty:
Report link

generate_content_input_tokens_per_minute_per_base_model is a Google Cloud Metrics under aiplatform. These are the list of metrics related to generate_content_input_tokens_per_minute_per_base_model:

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

79138546

Date: 2024-10-29 18:45:38
Score: 0.5
Natty:
Report link

After searching some hours finally i find in documantion that public method hideMenu does what i want. Here is using ref with typescript way. `

import { Button, Col, Label, Row } from "reactstrap";
import { MenuItem, Typeahead, TypeaheadRef } from "react-bootstrap-typeahead";
import { AddTag } from "@/Constant/constant";
import SVG from "@/CommonComponent/SVG/Svg";
import { useRef, useState } from "react";
import { Option } from "react-bootstrap-typeahead/types/types";

interface DropDownComponentProps {
  title: string;
  labelKey: string;
  placeHolder: string | undefined;
  options: { name: string; header: boolean | null; key: string }[];
  multiple: boolean | undefined;
  isRequired: boolean | undefined;
  onChange: Function;
}

const DropDownComponent: React.FC<DropDownComponentProps> = ({
  title,
  labelKey,
  options,
  multiple,
  isRequired,
  placeHolder,
  onChange,
}) => {
  const typeaheadRef = useRef<TypeaheadRef>(null);

  const [selected, setSelected] = useState<Option[]>();
  const handleBlur = () => {
    typeaheadRef.current?.hideMenu();
  };
  return (
    <Col sm="6">
      <Row className="g-2 product-tag">
        <Col xs="12">
          <Label className="d-block m-0" for="validationServer01" check>
            {title}
            {isRequired && <span className="txt-danger"> *</span>}
          </Label>
        </Col>
        <Col xs="12">
          <i
            className="fa fa-angle-down"
            style={{
              textAlign: "center",
              width: "12px",
              lineHeight: "10px",
              zIndex: 1,
              position: "absolute",
              top: "50%",
              right: "2%",
            }}
          ></i>
          <Typeahead
            id="multiple-typeahead"
            labelKey={labelKey}
            multiple={multiple}
            options={options}
            onChange={(selected) => {
              console.log({ selected });
              setSelected(selected);
              //   typeaheadRef.current?.clear();
            }}
            allowNew={true}
            ref={typeaheadRef}
            selected={selected}
            onBlur={handleBlur}
          />
          {placeHolder && <p className="f-light">{placeHolder}</p>}
        </Col>
      </Row>
    </Col>
  );
};

export default DropDownComponent;

`

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

79138545

Date: 2024-10-29 18:45:38
Score: 1.5
Natty:
Report link

remove the nested args in testRunner:

args: {
  $0: 'jest',
  config: 'test/e2e/jest.config.js',
},
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mateus S.

79138543

Date: 2024-10-29 18:44:38
Score: 0.5
Natty:
Report link

This site worked for me:

https://helpercode.com/2009/10/05/what-to-do-when-visual-studio-fails/

The problem was easily solved by running: devenv /ResetSkipPkgs

See the link for the details. I didn't read them. I simply ran the command, and I was up and running.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • RegEx Blacklisted phrase (1): See the link
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: jp2code