79419659

Date: 2025-02-07 00:01:24
Score: 1.5
Natty:
Report link

I eventually got this to work after a while. I had to create two roles manually, a service role and an instance role both with the following policies. AWSElasticBeanstalkMulticontainerDocker AWSElasticBeanstalkWebTier AWSElasticBeanstalkWorkerTier

AWSElasticBeanstalkManagedUpdatesCustomerRolePolicy (for the service role only or you will get a warning after environment creation)

See screenshots below ...

Permissions

Setup

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

79419644

Date: 2025-02-06 23:53:23
Score: 0.5
Natty:
Report link

Following up on this question I asked, I found the solution here

Basically, DeepSeek is not a model supported by HuggingFace's transformer library, so the only option for downloading this model is through importing the model source code directly as of now.

Reasons:
  • Whitelisted phrase (-2): I found the solution
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: θ_enthusiast

79419643

Date: 2025-02-06 23:52:22
Score: 3
Natty:
Report link

one way is to add # type: ignore at the end of line

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

79419641

Date: 2025-02-06 23:51:22
Score: 3
Natty:
Report link

you can add # type: ignore at the end of line

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

79419638

Date: 2025-02-06 23:50:21
Score: 3
Natty:
Report link

just at the very end of line add # type: ignore

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

79419625

Date: 2025-02-06 23:44:20
Score: 1.5
Natty:
Report link

in the Dropdown.jsx you forgot to get the pic that you passed to it. you just imported the DropPic component that is totaly useles beacuse you are not giving it any data (the pic) so I just get the pic in the props and add <img src={pic} alt="lolo" /> to show it. (I forked to your stackblitz)

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

79419621

Date: 2025-02-06 23:42:19
Score: 1.5
Natty:
Report link

Your idea for a status is common enough that a variant of it is used in the ngrx/signals documentation. The docs gives an example of how all the status related state and patching functions can be wrapped into a custom signalStoreFeature called withRequestStatus() that can be dropped into any store.

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

79419617

Date: 2025-02-06 23:38:18
Score: 1.5
Natty:
Report link

^[a-zA-Z0-9!.*'()_-]+(\/)?$

That seems to do the trick.

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Laurent Lequenne

79419616

Date: 2025-02-06 23:38:18
Score: 0.5
Natty:
Report link

Is there a way to add a calculated ( generated ) column in the database of a typo3 extension ext_tables.sql

No, this is not possible. TYPO3 has a own SQL parser to build a virtual schema, supporting "part syntax" which gets merged. The language of the ext_tables.sql files is a MySQL(/MariaDB) sub-set, and was mainly written at a time generated columns did not exists.

I have it on my personal list to check if this can be implemented, but did not looked into it yet. The parser part would be the easiest on this, but the next things would be if Doctrine DBAL supports that with the schema classes.

But the major point is, that we need a strategy how to deal with it for

And other points - cross database support is a thing here. At least it must be implemented in a way it can be used safely - special when used within TYPO3 itself then.

Another way would be to ensure that the calcualted value is persisted when the record changes, as DataHandler hook or within your controler when using QueryBuilder. For Extbase persisting there are PSR-14 which may be used.

That means, adding a simple "combined" value field, but do the calculation when changing one or both of the fields which needs to be calculated.

CREATE TABLE tx_solr_indexqueue_item (
    ...
    `changed` int(11) DEFAULT '0' NOT NULL,
    `indexed` int(11) DEFAULT '0' NOT NULL,
    `delta` int(11) DEFAULT '0' NOT NULL,
    INDEX `idx_delta` (`delta`), 

When updating the index item, calculate the detla - for example on update using QueryBuilder:

$queryBuilder
  ->update('tx_solr_indexqueue_item')
  ->where(
    $queryBuilder->expr()->eq(
      'uid',
      $queryBuiler->createNamedPlaceholder($uid, Connection::PARAM_INT),
    ),
  )
  ->set(
     'changed',
     sprintf(
       '%s + 1',
       $queryBuilder->quoteIdentifier('changed')
     ),
     false,
  )
  ->set(
     'delta',
     sprintf(
       '%s - %s',
       $queryBuilder->quoteIdentifier('indexed'),
       $queryBuilder->quoteIdentifier('changed'),
     ),
     false,
  )
  ->executeStatement();

If you persists exact values / from a full record simply do the calcualation on the PHP side

$indexed = $row['indexed'];
$changed = $row['changed'] + 1;
$delta = $indexed - $changed;
$queryBuilder
  ->update('tx_solr_indexqueue_item')
  ->where(
    $queryBuilder->expr()->eq(
      'uid',
      $queryBuiler->createNamedPlaceholder($uid, Connection::PARAM_INT),
    ),
  )
  ->set('changed', $changed)
  ->set('delta', $delta)
  ->executeStatement();

Direct value setting (last example) is adoptable to be used within a DataHandler hook (if total and/or changed is changed and delta not, calculate it and add it). If extbase models are used (which does not make much sense in my eyes for performance critical tables like queue items) set the calculated detla directly to the model. Or do a recalculation of delta within the setIndexed() and setChanged() method (extbase itself does not set values based on setters anyway so it can set the delta read from database without doing the recalculation).

On item creation (INSERT) you can calculate the values directly and persist it (delta) as the values are static in this case - at least if you proide them and not using db defaults. Counts for all techniques.

Reasons:
  • Blacklisted phrase (1): Is there a way
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is there a
Posted by: Stefan Bürk

79419612

Date: 2025-02-06 23:34:18
Score: 1
Natty:
Report link

I'm actually trying to figure this out as well at the moment, but my research so far shows the plugin doesn't support that.

It seems like our only 2 options is to either.

  1. Use a Maven Post-Processing Step
  2. Extend the generator to include the templates we need.

I'm leaning towards #2 which seems more complicated but it's a lot more flexible and it allows your files to be generated.

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

79419610

Date: 2025-02-06 23:32:17
Score: 2
Natty:
Report link

In case this is appropriate... Drag and drop hyperlinking of text or image, perhaps click on a target URL first, hold down and drag to the wanted element (text or image) and drop or release the mouse (or track device) on element of webpage. A space must be provided for a list of URFs. Text lists could be pasted in on page with or without images in advance of drag and drop. (New user in 2025)

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

79419605

Date: 2025-02-06 23:30:16
Score: 12.5 🚩
Natty:
Report link

A maioria das plataformas de distribuição de aplicativos, como a App Store (Apple) e o Google Play (Google), fornece relatórios financeiros detalhados, mas geralmente em formatos específicos, como CSV, PDF ou visualizações dentro do painel de administração.

Apple (App Store Connect)

Na App Store Connect, os relatórios financeiros podem ser encontrados em Pagamentos e Relatórios Financeiros. Normalmente, os relatórios mensais consolidados podem ser baixados em PDF. Se você está apenas recebendo um CSV com transações individuais, tente estas opções: 1. Acesse App Store Connect (link). 2. Vá para Pagamentos e Relatórios Financeiros. 3. No canto superior direito, selecione Extratos de Pagamento. 4. Baixe o relatório financeiro consolidado em PDF.

Caso não encontre um PDF, pode ser necessário gerar manualmente um relatório a partir do CSV ou usar um software contábil para formatar os dados.

Google Play (Google Play Console)

No Google Play Console, os relatórios financeiros são acessíveis em: 1. Relatórios Financeiros na seção Pagamentos. 2. Você pode baixar um extrato mensal consolidado, geralmente disponível em PDF.

Se o botão de download só oferece CSV, verifique se há outra aba para “Relatório de pagamentos” ou “Extrato de pagamento”.

Se precisar de mais detalhes, me

Reasons:
  • Blacklisted phrase (3): você
  • Blacklisted phrase (3): Você
  • Blacklisted phrase (1): está
  • Blacklisted phrase (1): não
  • RegEx Blacklisted phrase (2): encontrados
  • RegEx Blacklisted phrase (2): encontre
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: rebeca vt

79419601

Date: 2025-02-06 23:30:16
Score: 1.5
Natty:
Report link

If nothing here helps, try also

/* stylelint-disable <linter name here> */
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Alexus1024

79419600

Date: 2025-02-06 23:28:15
Score: 2.5
Natty:
Report link

Answering my own question because I finally found out what my issue was, the zone file was owned by root:root and it must be root:named.

Pretty obvious but I never thought that could be the issue, because bind never complained about it. I only found it because I added another authoritative zone and it was giving me SERVFAIL result, I set correct permissions and it worked, then I did the same to the rpz zone file.

I hope that could be useful to other users.

Best regards.

Reasons:
  • Blacklisted phrase (0.5): Best regards
  • Blacklisted phrase (1): regards
  • Whitelisted phrase (-1): it worked
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Hugo Thebas

79419592

Date: 2025-02-06 23:23:14
Score: 3.5
Natty:
Report link

Nevermind. The issue was related to a transient dependency that was including an version of the artifact that was not Jakarta compliant which was causing the issue.

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

79419576

Date: 2025-02-06 23:14:11
Score: 4
Natty:
Report link

Yes, it is possible, but v5 and v6 works a little differently here.

In Pine v5, requests are by default not dynamic. Dynamic requests are supported in v5, but only if programmers specify dynamic_requests=true in the script’s indicator(), strategy(), or library() declaration. Otherwise, the dynamic_requests parameter’s default value is false in v5.

The error message is strange though. Make sure that you do not have too many request.security() calls (the maximum is 40). By using string inputs (instead of tradeSymbol, expiry, etc), I tried to reproduce the issue on PineScript v5 and v6 but I had no luck, so I would say that you have too many request.security() calls. In that case, here are some ideas on fixing this issue.

If that does not solve your problem, please provide the whole code and I will look into it.

Reasons:
  • Blacklisted phrase (1): no luck
  • RegEx Blacklisted phrase (2.5): please provide
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: BrNi05

79419569

Date: 2025-02-06 23:08:10
Score: 1
Natty:
Report link

The following command worked (I removed the quotes and escaped > with three carets, like so: ^^^>:

C:\esbuild>echo fn = obj =^^^> { return obj.x } | esbuild --minify
fn=n=>n.x;

enter image description here

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

79419567

Date: 2025-02-06 23:07:10
Score: 1
Natty:
Report link

The selected answer from @sdepold stated in 2012:

Sadly there is no forEach method on NodeList

The forEach method has since become part of the NodeList-Prototype and is widely supported (10 out of Top10 browsers /mobile/desktop)

https://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach#browser_compatibility

I thought this question could benefit from a little update.

var nodes = document.getElementsByClassName('warningmessage')

Or more modern (and better):

const nodes = document.querySelectorAll(".warningmessage")

nodes.forEach( element => {
    element.remove()
}) 
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @sdepold
  • Low reputation (0.5):
Posted by: IoT-Practitioner

79419545

Date: 2025-02-06 22:54:08
Score: 1.5
Natty:
Report link

The described behaviour often boils down to the usage of xdebug, enabled by default even with no client (IDE) listening to it.

XDebug is even off

Please recheck this, at best completly remove xdebug to be sure.

Further, check if you have any other profiling things installed and active, for example xhprof, blackfire, tidyways or other APM/profile.

The stated timings are really off, special for backend standard views.

Otherwise, this would mean a really really really bad and slow harddisk. Not sure about your complete setup, do you have your project (docroot) on some kind of external usb drive or network storage (mountend) ?

Another point could be, that you have disabled all caches by reconfigure it to the NullBackend - or at least some essential ones.

You could also try to switch to pdo_mysql if you are using mysqli as database driver, or the way around if that helps.

Don't know the insight how xampp/wampp is build nowerdays and the internal webserver/setup/php integration. In general, it could also be some timeouts, stacking, poolings depending on webserver and configuration.

Otherwise - you need to get some profile and profile which takes the time, at least casual TYPO3 installation should not have such timings - even with really lot of data and pages.

You could try to do the cache:warmup on TYPO3 v12 before trying to load it in the web:

vendor/bin/typo3 cache:warmup

for a composer installation (casual setup) - or

typo3/sysext/core/bin/typo3 cache:warmup
Reasons:
  • RegEx Blacklisted phrase (2.5): do you have your
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
Posted by: Stefan Bürk

79419527

Date: 2025-02-06 22:42:05
Score: 3
Natty:
Report link

After I downgraded the minimum TLS version from 1.3 to 1.2, the LinkedIn Post Inspector started working and Link Preview works again.

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

79419517

Date: 2025-02-06 22:36:03
Score: 0.5
Natty:
Report link

I had the same issue with vertical container plates and ISO codes. My solution was to detect the bounding boxes, and then rotate them horizontally before training my OCR model. After preprocessing my dataset this way, my OCR model successfully extracts text from vertical plates. Hope this helps!

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Whitelisted phrase (-1): I had the same
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user2723950

79419512

Date: 2025-02-06 22:34:03
Score: 0.5
Natty:
Report link

Have you tried this library https://www.npmjs.com/package/geojson-path-finder ? It also has a demo (https://www.liedman.net/geojson-path-finder/) where the GeoJson is a road network like in your case.

If what you actually wanted was to write the algorithm by yourself i guess you can checkout their code since its open source, seems the lib makes use of dijkstra.

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Whitelisted phrase (-1): in your case
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Ivo

79419511

Date: 2025-02-06 22:33:02
Score: 7.5 🚩
Natty: 6
Report link

I am having the same problem as this. I built a Colibri sample project and it won't import. It gets stuck on 50%. I tried editing the PHP file using notepad, then reinstalling the plugin with that modified file. Now it won't even get past 12%! Not sure if I have the same issue as you or I am just doing it incorrectly. Any help, much appreciated.

Reasons:
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (1): Any help
  • Blacklisted phrase (1): I have the same issue
  • No code block (0.5):
  • Me too answer (2.5): I am having the same problem
  • Me too answer (0): I have the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Matt Jameson

79419510

Date: 2025-02-06 22:33:01
Score: 3
Natty:
Report link

I can't figure this out either, but I know Copilot will find issues for you simply by typing issue and the ID number. It's pretty quick! and once you do one, you can do more simply by giving it the ID number instead of the word issue and the ID number

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

79419509

Date: 2025-02-06 22:33:01
Score: 1
Natty:
Report link

The best I have without writing a sproc is manumatic.

  1. run this query:

    select distinct grantee_name from snowflake.account_usage.grants_to_roles where granted_on='WAREHOUSE' and NAME= and privilege ='USAGE' ;

  2. Copy to Excel

  3. in Cells B1, B2 enter these formulas B1 =

    SELECT grantee_name FROM snowflake.account_usage.grants_to_users WHERE role in('" &A1&"'," B2 =B1&"'"&A2&"',"

Copy cell B2 down to the last row with a role name in column A Copy the Statment from the last row Fix the end of that statement before running - remove the last , and add a );

I could write this in a stored procedure but will have to try that later.

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

79419504

Date: 2025-02-06 22:29:00
Score: 1
Natty:
Report link

If you want access to the FormSubmittedEvent or FormResetEvent from the unified form events API of Angular 18 and later, then you definitely need a <form> element, and also properly type the buttons with type="reset" and type="submit" inside.

Besides that, I have gotten by without needing a <form> element for the most part.

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

79419496

Date: 2025-02-06 22:24:59
Score: 3
Natty:
Report link

Icon.*$

Use that in a Replace with the Regular Expression mode enable, and then Replace All.

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

79419493

Date: 2025-02-06 22:23:59
Score: 2.5
Natty:
Report link

Currently, I use sauce connect 5 in conjunction with a proxy since I need to a har file for validations I am doing. I would use sauce labs har capture but it only covers chromium browsers and I have to test across all browsers for what I do. So maybe try using Sauce connect and your proxy. There's a lot of documentation online on how to add a proxy to SC.

Reasons:
  • Blacklisted phrase (0.5): I need
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: klmrmt

79419491

Date: 2025-02-06 22:23:59
Score: 1.5
Natty:
Report link
docker images | grep some-stringto-filter-images | sed "s/^\(\\S\+\)\\s\+\(\\S\+\).\+/\1:\2/" | xargs -I% docker image rm %
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Max Alibaev

79419489

Date: 2025-02-06 22:22:59
Score: 1.5
Natty:
Report link

After much hunting around I managed to find a simple formula which is linked to specific ranges, allowing me to add more staff and more sites as required:

B23(Site A) =COUNT(UNIQUE(TOCOL(VSTACK(B3:S3,B10:S10,B17:S17),1)))

B24(Site B) =COUNT(UNIQUE(TOCOL(VSTACK(B4:S4,B11:S11,B18:S18),1)))

B25(Site C) =COUNT(UNIQUE(TOCOL(VSTACK(B5:S5,B12:S12,B19:S19),1)))

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

79419481

Date: 2025-02-06 22:19:58
Score: 1
Natty:
Report link

In AOSP you need to pass in a value to @HiltAndroidApp and @AndroidEntryPoint because there is no support for the plugin.

Gradle:

@AndroidEntryPoint
class MainActivity : AppCompatActivity()

@HiltAndroidApp
class FooApplication : Application()

AOSP:

@AndroidEntryPoint(AppCompatActivity::class)
class MainActivity : Hilt_MainActivity()

@HiltAndroidApp(Application::class)
class FooApplication : Hilt_FooApplication()

For more info see this guide: https://aayush.io/posts/snippet-hilt-in-aosp/

Reasons:
  • Blacklisted phrase (1): this guide
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Sara Race

79419475

Date: 2025-02-06 22:13:57
Score: 1
Natty:
Report link

The any type in TypeScript is a special escape hatch that disables further type checking. As stated in the TypeScript documentation:

When a value is of type any, you can access any properties of it (which will in turn be of type any), call it like a function, assign it to (or from) a value of any type, or pretty much anything else that’s syntactically legal.

The any type is useful when you don’t want to write out a long type just to convince TypeScript that a particular line of code is okay.

This means that when data is of type any, you can assign it to any other type including Movie[] without TypeScript enforcing type safety.

https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#any

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

79419463

Date: 2025-02-06 22:05:55
Score: 0.5
Natty:
Report link

an alternative implementation that is not as fast as a classic 2-loops approach:

    System.out.println(
            Arrays.deepToString(board)
            .replaceAll("], ", "\n")
            .replaceAll("[\\[\\]\\,]", "")
    );
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Dzmitry Paddubnik

79419458

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

I think there's a bug in that quota increase form. They have the check set at the general minimum (which is 1000); although a lot of us have a default set at lower than that. I tried 1001 and got the form through (still pending the approval)

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

79419457

Date: 2025-02-06 22:02:55
Score: 0.5
Natty:
Report link

I had similar issue after copying solution to another machine (we have different networks at work). Referencies were broken even though I could start the project in debug mode.

I opened some of that projects, specifically the ones I'm working with, in Solution Explorer I opened the Dependecies of the project -> then Project Referencies -> right click and chose Add project reference.

In that window I just added reference to any other project, clicked Ok. Then I opened Project Referencies again and removed that reference. All other referencies fixed automatically.

I began doing it for couple other projects, one of them I also rebuilt. And suddenly Visual Studio started restoring all the projects in solution magically, and all the references automatically got fixed.

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

79419430

Date: 2025-02-06 21:48:52
Score: 1.5
Natty:
Report link

Following up on @David Weber and @alchemy's answer:

You want to follow this step-by-step.

NB: Keep in mind the value of your Target path.

After you've added the new virtual hardware, enter the VM and do:

  1. Create a directory inside your VM: mkdir /mnt/random

  2. Mount: mount -t 9p -o trans=virtio <value_of_target> /mnt/random

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @David
  • User mentioned (0): @alchemy's
  • Low reputation (1):
Posted by: Bazzan

79419416

Date: 2025-02-06 21:43:51
Score: 1.5
Natty:
Report link

It turns out I was importing the Form component from react-hook-form when it should have been imported from @/components/ui/form. Changing this import fixed the error.

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

79419410

Date: 2025-02-06 21:40:50
Score: 2.5
Natty:
Report link

Annotations can only be applied to the whole kubernetes resource because they are part of the resource metadata. One way to solve this is to create separate Ingress resources for each host or path with specific settings.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): can on
  • Low reputation (0.5):
Posted by: Ponsy

79419402

Date: 2025-02-06 21:37:49
Score: 0.5
Natty:
Report link

Here is a pretty dirty workaround that nevertheless achieves desired behavior.

(credit to @user2357112 for explaining process spawning)

mymodule is modified as follows:

/mymodule
├── __init__.py
├── __main__.py 
├── app.py
└── worker.py

__init__.py is empty

worker.py is unchanged

app.py contains the code from original __main__.py

__main__.py is a new file:

import sys
import mymodule.app

__spec__.name = mymodule.app.__spec__.name
sys.exit( mymodule.app.main() )

Now running module any of the three ways: python -m mymodule or python -m mymodule.__main__ or python -m mymodule.app produces the same result on Windows:

[__main__] [DEBUG]: I am main. I manage workers
[__main__] [INFO]: I am main. I manage workers
[__main__] [WARNING]: I am main. I manage workers
[mymodule.worker] [DEBUG]: I am a worker. I do stuff
[mymodule.worker] [INFO]: I am a worker. I do stuff
[mymodule.worker] [ERROR]: I am a worker. I do stuff
[mymodule.worker] [ERROR]: Here is my logger: <Logger mymodule.worker (DEBUG)>

In practice my code is more complex and takes care of cli arguments using argparse, but that is out of scope of this questions. I have tested this with python 3.11 and so far have not encountered any unexpected side effects.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @user2357112
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Art Gertner

79419387

Date: 2025-02-06 21:31:47
Score: 1.5
Natty:
Report link

had to added fill="currentColor" it didn't work before

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

79419384

Date: 2025-02-06 21:29:47
Score: 2
Natty:
Report link

Please try

<a href="javascript:history.back()">Go Back</a>

or

 <a href="javascript:history.go(-3)">Go back to step X</a>

to go back several steps.

Demystifying JavaScript history.back() and history.go() methods

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

79419382

Date: 2025-02-06 21:29:47
Score: 3.5
Natty:
Report link

Microsoft have replied to my Community Feedback stating that this library is deprecated, and in particular including this link to an "Announcement: Razor Compiler API Breaking Changes".

Reasons:
  • Blacklisted phrase (1): this link
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Phil Jollans

79419367

Date: 2025-02-06 21:21:45
Score: 1.5
Natty:
Report link

lucidchart now (in 2024) allows import/export json functionality. See the announcement here: https://community.lucid.co/lucid-for-developers-6/new-json-standard-import-api-5658

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

79419362

Date: 2025-02-06 21:16:43
Score: 4.5
Natty:
Report link

Any news on this? I'm having the same issue. bash$ curl http://localhost:5050 Ollama is running Yet connecting with Open WebUI gives a mysterious "Network Problem" error.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same issue
  • Contains question mark (0.5):
Posted by: Chris

79419357

Date: 2025-02-06 21:12:42
Score: 0.5
Natty:
Report link

Can anyone explain this?

This is certainly a bug, a simpler repro is


SELECT grp, 
       val,
       sum(val) over wf as correct_result,
       nullif(sum(val) over wf, -1) as wrong_result,
       sum(val) over () as equivalent_result
FROM (VALUES
(1, 1),
(1, 3),
(2, 10),
(2, 20)
) V(grp, val)
window wf as (partition by grp order by val rows between current row and current row);

which returns

grp val correct_result wrong_result equivalent_result
1 1 1 34 34
1 3 3 34 34
2 10 10 34 34
2 20 20 34 34

From which I infer something goes wrong with this particular permutation of features and it just ends up treating it as OVER() and ignoring the rest of the window specification. (i.e. the partition, order by and rows clause in this case)

Reasons:
  • RegEx Blacklisted phrase (2.5): Can anyone explain
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Can anyone
  • High reputation (-2):
Posted by: Martin Smith

79419356

Date: 2025-02-06 21:12:42
Score: 2
Natty:
Report link

In the end, my good friend Joao saved the day by finding the Nuget Authentication task.

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

79419351

Date: 2025-02-06 21:11:42
Score: 1.5
Natty:
Report link

From the code perspective, this looks correct. From understanding your code behaviour, you are update the state of the animation's "Block" value when the user is holding the mouse down or not.

The problem appears to be in your Animator's controller; without further context on what your animation tree looks like, and any parameters you have setup, it will be difficult to answer this question correctly.

My advice would be to check whether there's a condition assigned to your animation clip tree.

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

79419343

Date: 2025-02-06 21:07:41
Score: 0.5
Natty:
Report link

Assume your AccountUser class has the schema equal to the object you push() in your javascript.

As @dbc mentioned in comment, either change your JSON.stringify() code like:

var jsonData = JSON.stringify(users);

Or change your backend C# code into:

class UserList 
{
    List<AccountUser> Users {get; set;}
}
[HttpPost]
public bool GeneratePassword([FromBody] UserList users)
...
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @dbc
Posted by: Ferry To

79419331

Date: 2025-02-06 21:04:40
Score: 1
Natty:
Report link

I keep an arbitrary amount of .env files and symlimk to whatever the proper one is for the environment. You can do that with any config file, more or less.

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

79419313

Date: 2025-02-06 20:53:38
Score: 1
Natty:
Report link

Comment from @moonstar-x is correct. In my case it's src/app/favicon.ico.

View the favicon.ico here

NextJS structure

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • User mentioned (1): @moonstar-x
  • High reputation (-2):
Posted by: Roar S.

79419311

Date: 2025-02-06 20:52:37
Score: 9 🚩
Natty: 5
Report link

@Ramin Bateni Did you ever resolve this issue? I have the same - timeout when using click() or goto() and the same error message with .gauge/plugins/js/5.0.0/src/test.js:44:23, same page load is finished when I look at the DevTools manually. I am using node v22.13.1, gauge v1.6.13, Chrome v133. The tests are run in Linux server + Docker+Jenkins, and this is the only env where the error occurs. The error does not ever occur when run locally (W10), headful or headless.

(Sorry cannot comment yet, this is not an answer but a question to the TS)

Reasons:
  • Blacklisted phrase (1): not an answer
  • RegEx Blacklisted phrase (1): cannot comment
  • RegEx Blacklisted phrase (3): Did you ever resolve this
  • RegEx Blacklisted phrase (1.5): resolve this issue?
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @Ramin
  • Low reputation (1):
Posted by: simongertz

79419310

Date: 2025-02-06 20:50:36
Score: 2.5
Natty:
Report link

Microsoft documentation for C4996 contains a subtle message that the /sdl option elevates C4996 to an error and /sdl is enabled in a default console application project.

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

79419309

Date: 2025-02-06 20:50:36
Score: 3.5
Natty:
Report link

XML File missing here to check

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

79419305

Date: 2025-02-06 20:48:36
Score: 0.5
Natty:
Report link

I'd define the following function:

def rename(map, old_key, new_key) do
  case Map.pop(map, old_key) do
    {nil, _} -> map
    {value, map2} -> Map.put(map2, new_key, value)
  end
end

and then it's simply a matter of:

Enum.map(maps, &rename(&1, :code, :product_code))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Guy Argo

79419299

Date: 2025-02-06 20:47:35
Score: 1.5
Natty:
Report link

I had to delete the folder:

appname/app/build/intermediates

and then it worked

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Dave Enstrom

79419285

Date: 2025-02-06 20:42:35
Score: 1.5
Natty:
Report link

Following the reasoning (suggesting that checking for git's state files is reasonably future-proof) in this similar suggestion regarding merges, you could look at the source code for how the state is checked by a git client like libgit2 and check for the presence of those files.

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

79419274

Date: 2025-02-06 20:38:33
Score: 1
Natty:
Report link

I have experienced this issue. I have a website where the MediaRecorder is (could be) invoked multiple times.

IT IS NOTED THAT THIS DELAY ONLY OCCURS THE FIRST TIME I ATTEMPT TO RECORD.

Subsequent recordings run/record as expected.

Since I have not seen any recommendations/answers, my first thought is to run a throwaway recording before attempting a real/used recording.

This is definitely not a great solution, but I believe it could be a workable temporary workaround... I'll let you all know how it works out.

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

79419271

Date: 2025-02-06 20:37:33
Score: 1
Natty:
Report link

My work computer was updated from v18 to v20 and then started asking me to save my solution every time I closed the program. I believe I fixed it by setting the .sql file associations to the new v20 program.

Reasons:
  • Whitelisted phrase (-2): I fixed
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jeremy

79419267

Date: 2025-02-06 20:35:33
Score: 3
Natty:
Report link

This is covered in the documentation: https://docs.snowflake.com/en/sql-reference/functions/infer_schema#usage-notes

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

79419263

Date: 2025-02-06 20:32:32
Score: 1
Natty:
Report link

a residential proxy would be perfect for your virtual instances with a unique IP, because they offer actual IPs that are less likely to get flagged. A private residential proxy would be less expensive and provide the level of anonymity and distinctiveness for every instance.

Another option to consider is a private IP VPN, which can give you a static IP address across your instances. Of course, the decision as to the most efficient option relies heavily on your use case and purposes for the instances. If, on the other hand, you need each IP to perform as a true user, then residential proxies are the way to go.

Layering proxies, as you stated, can also be effective to an extent. You can further increase anonymity by utilizing a public VPN on your main desktop and connecting to private proxies on your VMs. Doing this will allow for additional levels of anonymity while keeping your main desktop protected.

If you need a solution that works, I recommend NodeMaven. I use it for a long time and I lowkey like it! They have different types of proxies, including residential ones, which would work perfectly for your need of dedicated IPs for your instances. You can access their services at https://nodemaven.com/proxies/residential-proxies/ and check if they suit your requirements (:

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

79419258

Date: 2025-02-06 20:30:31
Score: 3
Natty:
Report link

Might be an unused library. Try uninstalling any chart.js library that you arent using such as chartjs-plugin-datalabels

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

79419248

Date: 2025-02-06 20:26:31
Score: 1.5
Natty:
Report link

npx playwright install should install all the necessary browsers for the tests to run. This fixed the issue for me

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

79419242

Date: 2025-02-06 20:24:30
Score: 1.5
Natty:
Report link

I really don´t have a solution for this, I just wanted to say that this also happened to me with Orale Instant Client 23.6.0.24.10 64-bit. I installed the latest Visual C++ Redistributable linked in the Oracle page, but the crash still happens. But, it´s a little weird that, on a particular laptop, while the window is freezed, I clicked on it and a pop-up showed with the option "Try to restore the program". After I clicked on that option, the pop-up showed again, but this time with only two options: Restart or Wait. As soon as i clicked on "Wait", the window where I put the password showed and I was able to test the connection successfully. The option "Try to restore the program" does not apeear on other laptops with similar specs (Intel CPU):

Pop-Up of freezed window

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

79419238

Date: 2025-02-06 20:22:30
Score: 3.5
Natty:
Report link

When it returns the 404, what is the path? The error might be returning from multiple paths, and if it is the icon needs to be in multiple places. Doesn't entirely make sense, but I've dealt with that before.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When it
  • Low reputation (1):
Posted by: Davey Sway

79419237

Date: 2025-02-06 20:22:30
Score: 1
Natty:
Report link

Definition: 'ON DELETE CASCADE' is an option that can be specified in the foreign key constraint of a child table. When this option is set, deleting a row in the parent table will automatically delete all related rows in the child table that reference the deleted row.

Use Case : This feature is particularly useful in maintaining referential integrity within the database. It ensures that there are no orphaned records in the child table that reference non-existent rows in the parent table.

Example Scenario Consider two tables: Orders (parent table) and OrderDetails (child table).

Orders: Contains order information. OrderDetails: Contains details for each order, with a foreign key referencing the Orders table. If an order is deleted from the Orders table, all corresponding entries in the OrderDetails table should also be deleted to maintain data integrity.

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

79419232

Date: 2025-02-06 20:19:29
Score: 0.5
Natty:
Report link

I understand you want to display both Simplified and Traditional Chinese characters in a PDF generated by your Flutter application, and you'd like to use the google_fonts package to manage the fonts. This is a common requirement when dealing with multilingual content. Based on the information I have, and general best practices, here's a comprehensive guide on how to achieve this: Understanding the Challenge Character Sets: Chinese (both Simplified and Traditional) uses a vast character set (Unicode). Not all fonts support all of these characters. Font Selection: You need a font that specifically supports a wide range of Chinese characters. PDF Embedding: You need to ensure that the chosen font is properly embedded in the PDF so that the characters render correctly, even if the user doesn't have the font installed on their system. Google Fonts: The google_fonts package is a convenient way to access fonts from Google Fonts, but you need to be aware of how it works with PDF generation. Solution Breakdown

    flutter pub add syncfusion_flutter_pdf

    flutter pub add google_fonts

Code:

    import 'dart:io';
    import 'package:flutter/services.dart';
    import 'package:path_provider/path_provider.dart';
    import 'package:syncfusion_flutter_pdf/pdf.dart';
    import 'package:google_fonts/google_fonts.dart';
    import 'package:flutter/material.dart';

    Future<void> generatePdfWithChineseText() async {
      // 1. Get the cached font file path:
      final font = GoogleFonts.notoSans(); // Or another CJK font
      final fontData = await font.loadFont();
      final fontFile = File(fontData.fontFamily);

      // 2. Create a PDF document:
      final PdfDocument document = PdfDocument();
      final PdfPage page = document.pages.add();
      final PdfGraphics graphics = page.graphics;

      // 3. Load the font from the file:
      final List<int> fontBytes = await fontFile.readAsBytes();
      final PdfFont pdfFont = PdfTrueTypeFont(fontBytes, 12);

      // 4. Draw the text:
      final String chineseText = '你好世界!这是一个测试。繁體字測試。'; // Example text
      final PdfTextElement textElement = PdfTextElement(
        text: chineseText,
        font: pdfFont,
      );
      final PdfLayoutResult layoutResult = textElement.draw(
        page: page,
        bounds: Rect.fromLTWH(0, 0, page.getClientSize().width, page.getClientSize().height),
      )!;

      // 5. Save the document:
      final List<int> bytes = document.save();
      document.dispose();

      // 6. Save the PDF to a file (example):
      final String dir = (await getApplicationDocumentsDirectory()).path;
      final String path = '$dir/chinese_text.pdf';
      final File file = File(path);
      await file.writeAsBytes(bytes, flush: true);
      print('PDF saved to: $path');
    }

Explanation:* 1.
Get Cached Font: * GoogleFonts.notoSans(): Specifies the font you want to use. * font.loadFont(): Loads the font and returns the font data. * File(fontData.fontFamily): Creates a File object representing the cached font file. 2.
Create PDF: * PdfDocument(): Creates a new PDF document. * document.pages.add(): Adds a new page to the document. * page.graphics: Gets the graphics context for drawing. 3.
Load Font from File: * fontFile.readAsBytes(): Reads the font file's content as bytes. * PdfTrueTypeFont(fontBytes, 12): Creates a PdfFont object from the font bytes. 4.
Draw Text: * chineseText: The Chinese text you want to display. * PdfTextElement: Creates a text element with the specified text and font. * textElement.draw(): Draws the text onto the page. 5.
Save PDF: * document.save(): Saves the PDF document as bytes. * document.dispose(): Disposes of the document resources. 6.
Save to File: * getApplicationDocumentsDirectory(): Gets the app's documents directory. * File(path): Creates a File object for the PDF. * file.writeAsBytes(): Writes the PDF bytes to the file. Code Example (Conceptual - pdf package): This example demonstrates the general approach using pdf package. Install pdf:

    flutter pub add pdf

    import 'dart:io';
    import 'package:flutter/services.dart';
    import 'package:path_provider/path_provider.dart';
    import 'package:pdf/pdf.dart';
    import 'package:pdf/widgets.dart' as pw;
    import 'package:google_fonts/google_fonts.dart';
    import 'package:flutter/material.dart';

    Future<void> generatePdfWithChineseText() async {
      // 1. Get the cached font file path:
      final font = GoogleFonts.notoSans(); // Or another CJK font
      final fontData = await font.loadFont();
      final fontFile = File(fontData.fontFamily);

      // 2. Create a PDF document:
      final pdf = pw.Document();

      // 3. Load the font from the file:
      final List<int> fontBytes = await fontFile.readAsBytes();
      final pw.Font ttf = pw.Font.ttf(fontBytes.buffer.asByteData());

      // 4. Add a page to the document:
      pdf.addPage(
        pw.Page(
          build: (pw.Context context) {
            return pw.Center(
              child: pw.Text(
                '你好世界!这是一个测试。繁體字測試。', // Example text
                style: pw.TextStyle(font: ttf, fontSize: 20),
              ),
            );
          },
        ),
      );

      // 5. Save the document:
      final List<int> bytes = await pdf.save();

      //
Reasons:
  • Blacklisted phrase (1): how to achieve
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: مجهول

79419226

Date: 2025-02-06 20:15:28
Score: 4.5
Natty: 5
Report link

Looks like the URL is now available:

https://apps.apple.com/us/app/camera/id1584216193

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

79419224

Date: 2025-02-06 20:15:27
Score: 2
Natty:
Report link

i found the problem the first line was wrong i typed <doctype = html>

and not <!DOCTYPE html>

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

79419208

Date: 2025-02-06 20:07:26
Score: 1
Natty:
Report link

in my experience, "/ugo" and "-ugo" do not work, even though gnu findutils manpage suggests they will. I have to structure string this way on OpenSuSE 'leap' for, say 'read only':

# find path/to/files/ -user $(whoami) -perm 444
 - or -
# find path/to/files/ -maxdepth 1 -user landis -perm 444
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Landis Reed

79419196

Date: 2025-02-06 20:03:25
Score: 2
Natty:
Report link

SSL Certificate Verification Error in Python

This SSL certificate verification error typically occurs when there's an issue with your local Python environment's SSL certificates. Here's how to resolve it:

1. Update Certificates

Ensure your system's Certificate Authority (CA) certificates are up to date. On macOS, you can run:

/Applications/Python\ 3.x/Install\ Certificates.command
Replace 3.x with your specific Python version. This script installs the necessary certificates for Python.

2. Verify Python Version
Confirm you're using Python 3.7 or higher, as older versions may have SSL issues. Check your Python version with:

bash
Copy
Edit
python --version
3. Set Environment Variable
Temporarily bypass SSL verification (only for testing purposes):

python
Copy
Edit
import os
os.environ['REQUESTS_CA_BUNDLE'] = ''
Note: Disabling SSL verification can expose you to security risks. Use this method only for testing.

4. Update OpenAI Package
Ensure you have the latest OpenAI package:

bash
Copy
Edit
pip install --upgrade openai
5. Verify Network Configuration
Check if any network settings or proxies might be interfering:

python
Copy
Edit
import requests
response = requests.get('https://api.openai.com')
print(response.status_code)
If this request fails, it indicates a network issue.

6. Alternative Solution
If the issue persists, you can manually specify the certificate path:

python
Copy
Edit
import certifi
import os
os.environ['SSL_CERT_FILE'] = certifi.where()
This sets the SSL_CERT_FILE environment variable to the path of the certifi CA bundle.

If none of these solutions resolve the issue, please provide:

Your Python version
Operating system details
The exact code you're using to make the API call
Any network configuration details that might be relevant
This information will help in diagnosing the problem more effectively.

For further assistance, you can refer to discussions on the OpenAI Developer Community:

Stack Overflow - SSL certificate error
OpenAI Community - SSL Certificate Verify Failed
Reasons:
  • RegEx Blacklisted phrase (2.5): please provide
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jasper Roque

79419185

Date: 2025-02-06 19:59:24
Score: 2
Natty:
Report link

Pointer alignment in C++ means that a pointer's address must be a multiple of the data type’s alignment requirement. A misaligned pointer occurs when this condition is not met, which can lead to undefined behavior (UB) when dereferenced, Dereferencing a misaligned pointer is UB in modern C++. Always ensure proper alignment when handling raw pointers

How to avoid misalignment?

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

79419184

Date: 2025-02-06 19:59:23
Score: 4.5
Natty:
Report link

I'm having this same issue but am struggling to figure out what exactly in the CSS is causing the issue. Can you clue me in?

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

79419182

Date: 2025-02-06 19:58:23
Score: 1.5
Natty:
Report link

arnt you getting the whole object (row of the table) back and not just the int

int current_league_season_id = context.LeagueSeasons....

make the item a var and than use current_league_season_id.league_season_id var current_league_season_id = context.LeagueSeasons...

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

79419180

Date: 2025-02-06 19:57:23
Score: 2
Natty:
Report link

On further debugging, I realized that the SecurityFilterChain bean was not recognized, hence the matcher was never invoked.

I was able to make it work with the following changes:

spring-cloud.version=2024.0.0 with spring-boot-starter-webflux

Using @EnableWebFluxSecurity instead of @EnableWebSecurity and setting up the filter chain as

@Bean
    public SecurityWebFilterChain securityFilterChain(ServerHttpSecurity http){...}
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @EnableWebFluxSecurity
  • User mentioned (0): @EnableWebSecurity
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: user1657054

79419179

Date: 2025-02-06 19:57:23
Score: 3
Natty:
Report link

anyway, is there any chance to have a list of hex items not being converted to integer after conversion bytearray to a list. because now i ahve to convert it to hex back and then to make convert to integer out of 2 bytes. what a crazy way!

Reasons:
  • Blacklisted phrase (1): is there any
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Alexander Shemetov

79419177

Date: 2025-02-06 19:56:22
Score: 0.5
Natty:
Report link

After talking to a dev with more familiarity with INGEAR, I have the answer.

You can't, or at least not with this data structure.

What you need is to have a UDT array wrapped in a UDT with only a single value. The data structure would then look like this:

public struct STRUCT_B
{
    [MarshalAs(UnmanagedType.ByValArray, SizeConst = 10)]
    public STRUCT_A[] A_List;
}

and in the PLC, you would need to have the same hierarchy exist.

Furthurmore, you could spin through the results with the following:

        DTEncoding udtEnc = new DTEncoding();
        STRUCT_B result = (STRUCT_B )udtEnc.ToType(Testing, typeof(STRUCT_B));

        for(int x = 0; x < 10; x++)
        {
            if (result.A_List[x].Active == true)
            {
                Console.WriteLine(sample.A_List[x].Value);
            }
        }

Additionally, this behavior does not play well with Booleans as it is better to define the first byte of the struct if there are booleans present and then extract them.

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

79419172

Date: 2025-02-06 19:54:21
Score: 5
Natty:
Report link

Any news about this topic? Having the same issue here...

EXPO 50 with expo-sqlite 13.4.0. While the app is creating indexes on any Android less than 13 (API 33), it just stops with no error or success.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): Having the same issue
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Guga Gobbato

79419168

Date: 2025-02-06 19:53:20
Score: 4
Natty:
Report link

You might want to try https://bulk-pdf.com.

The offer free conversions and a drag and drop system. Checkout their video here: https://youtube.com/shorts/MOqpvFvOi1k

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

79419167

Date: 2025-02-06 19:52:20
Score: 3
Natty:
Report link

Let me help you to find the issue: The traceback you shared says that worker_1 is still going up even after you removed it from your docker-compose.yml file.

Do you have more than docker-compose files? maybe one for development and one for production?

Maybe there is something in entrypoint.sh firing up celery?

Reasons:
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: elkhayyat

79419166

Date: 2025-02-06 19:52:20
Score: 3.5
Natty:
Report link

The problem is your tailwind configuration. Add contents correctly, then it will work.

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

79419165

Date: 2025-02-06 19:52:20
Score: 3.5
Natty:
Report link

This is rather inefficient, though, as I'm allocating an entire page (4KB) for everything I JIT, most of which only need a few bytes. (Note that my concern is more with the amount of page mappings, and possibly falling afoul of vm.max_map_count, than just the raw amount of RAM used.) For regular memory allocation, malloc takes care of this by wrapping (s)brk and mmap and keeping track of what parts of the page are used. I obviously can't just use malloc because it allocates non-executable memory. Is there a simple way to get similar behavior when allocating executable memory, or would I have to use a custom replacement for malloc to do this? This is rather inefficient, though, as I'm allocating an entire page (4KB) for everything I JIT, most of which only need a few bytes. (Note that my concern is more with the amount of page mappings, and possibly falling afoul of vm.max_map_count, than just the raw amount of RAM used.) For regular memory allocation, malloc takes care of this by wrapping (s)brk and mmap and keeping track of what parts of the page are used. I obviously can't just use malloc because it allocates non-executable memory. Is there a simple way to get similar behavior when allocating executable memory, or would I have to use a custom replacement for malloc to do this? This is rather inefficient, though, as I'm allocating an entire page (4KB) for everything I JIT, most of which only need a few bytes. (Note that my concern is more with the amount of page mappings, and possibly falling afoul of vm.max_map_count, than just the raw amount of RAM used.) For regular memory allocation, malloc takes care of this by wrapping (s)brk and mmap and keeping track of what parts of the page are used. I obviously can't just use malloc because it allocates non-executable memory. Is there a simple way to get similar behavior when allocating executable memory, or would I have to use a custom replacement for malloc to do this? This is rather inefficient, though, as I'm allocating an entire page (4KB) for everything I JIT, most of which only need a few bytes. (Note that my concern is more with the amount of page mappings, and possibly falling afoul of vm.max_map_count, than just the raw amount of RAM used.) For regular memory allocation, malloc takes care of this by wrapping (s)brk and mmap and keeping track of what parts of the page are used. I obviously can't just use malloc because it allocates non-executable memory. Is there a simple way to get similar behavior when allocating executable memory, or would I have to use a custom replacement for malloc to do this? This is rather inefficient, though, as I'm allocating an entire page (4KB) for everything I JIT, most of which only need a few bytes. (Note that my concern is more with the amount of page mappings, and possibly falling afoul of vm.max_map_count, than just the raw amount of RAM used.) For regular memory allocation, malloc takes care of this by wrapping (s)brk and mmap and keeping track of what parts of the page are used. I obviously can't just use malloc because it allocates non-executable memory. Is there a simple way to get similar behavior when allocating executable memory, or would I have to use a custom replacement for malloc to do this?

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: goat

79419159

Date: 2025-02-06 19:48:19
Score: 0.5
Natty:
Report link

Back, 5 hours later that is. Turns out the answer is that Host.h is not located within llvm/Support, but instead llvm/TargetParser/Host.h, and with that, you can use the llvm::sys::getDefaultTargetTriple().

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Silicon

79419147

Date: 2025-02-06 19:46:18
Score: 0.5
Natty:
Report link

Also having the exact same issue, but my node_modules aren't in my repo and I'm running the latest aws-sdk v3.

I'll have large files uploaded to my EC2 (up to 1GB), but once the transfer to the S3 begins, that starts the 60 second time limit for transfer to the S3.

So I've found that I can't do 2 files that are both 1GB in the same request. It'll transfer both files in their entirety to the EC2, but it'll only finish the transfer to S3 of the 1st 1GB file, then reach 60 seconds during the second file and halt. But if I do those same 2 files in two separate but parallel requests, it can transfer them fine.

My solution:

relevant software versions:

  "dependencies": {
    "@aws-sdk/client-s3": "^3.705.0", //(2 months old)
    "express": "^4.18.2", //(2 years old)
    "multer": "^1.4.5-lts.1", //(current)
    "multer-s3": "^3.0.1" //(current)
  }
Reasons:
  • Whitelisted phrase (-2): solution:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): Also having the exact same issue
  • Low reputation (1):
Posted by: Jon Minogue

79419143

Date: 2025-02-06 19:44:17
Score: 2
Natty:
Report link

I wanted to say thank you for posting this.

I could not for the life of me figure out how to install numpy<2.0 against Accelerate. Numpy 2.x would build correctly, but I needed <2.0 to use with a different package (spaCy). Adding the 'pip install' arguments in the developers' documentation seemed to do nothing (still openblas), but finally yours did!

I don't know if your solution is "right" or "wrong," but just know it certainly helped me! Thanks again.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • Whitelisted phrase (-1): solution is
  • No code block (0.5):
  • Low reputation (1):
Posted by: user29535762

79419132

Date: 2025-02-06 19:39:17
Score: 1.5
Natty:
Report link

ASP.NET Core 9:

return RedirectPreserveMethod(url);
Reasons:
  • Probably link only (1):
  • Low length (2):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Josh Noe

79419130

Date: 2025-02-06 19:38:16
Score: 1.5
Natty:
Report link

ASP.NET Core 9:

return RedirectPreserveMethod(url);
Reasons:
  • Probably link only (1):
  • Low length (2):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Josh Noe

79419125

Date: 2025-02-06 19:35:16
Score: 2.5
Natty:
Report link

I tried to run my code with another java compiler (32-bit) and it worked!

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

79419118

Date: 2025-02-06 19:31:15
Score: 2
Natty:
Report link

If the remote is defined in .git/config, you can avoid pinging the remote server with git remote.

if git remote | grep -e "^faraway$" > /dev/null; then ... fi

The ^ and $ prevent matching similar names like longagoandfaraway.

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

79419117

Date: 2025-02-06 19:31:15
Score: 3
Natty:
Report link

To distribute your tool with dependencies, you need to create a zipapp using something like shiv.

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

79419109

Date: 2025-02-06 19:28:14
Score: 3.5
Natty:
Report link

When I had this same problem with env, I read that is better to use 'config' instead of 'env', I created my own config file (beacuse realy I need it), I used this new config file and worked fine.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When I
  • Low reputation (1):
Posted by: Hans Paul

79419105

Date: 2025-02-06 19:27:14
Score: 0.5
Natty:
Report link

The FILE token is part of the Token Macro Plugin. If this plugin is not installed or is outdated, Jenkins will fail to process ${FILE, path="report_stage.html"}.

Solution:

Reasons:
  • Blacklisted phrase (1): this plugin
  • Whitelisted phrase (-2): Solution:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Tomas Luna

79419082

Date: 2025-02-06 19:15:12
Score: 3
Natty:
Report link

This code didn't worked for brave browser. I'm using cypress version 14.0.1 and windows 10 os. Might be version issue.

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

79419075

Date: 2025-02-06 19:10:11
Score: 1.5
Natty:
Report link

Maybe try dollar quoted string constants as explained here: https://docs.snowflake.com/en/sql-reference/data-types-text#label-dollar-quoted-string-constants

This expression worked when testing against your string on https://regexr.com/

(\w\s?)+(?=(\(\w+\))?([T].{1,3}[N]\:))

According to the documentation you'd use

$$(\w\s?)+(?=(\(\w+\))?([T].{1,3}[N]\:))$$

Seems strange to exclude parts of regex.

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

79419070

Date: 2025-02-06 19:08:10
Score: 2
Natty:
Report link

You have to click on the button named Upload Image or Sound shown here: Button

Then, use the sound by copying the URL under file information, and replacing the YouTube link with that. You cannot directly use YouTube, but there are some safe conversion sites for YouTube to MP3: I recommend using cutYT or TurboScribe

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

79419068

Date: 2025-02-06 19:07:10
Score: 3.5
Natty:
Report link

If you go onto Zscaler and go to more, you can press restart service then press yes it momentarily is deactivated.

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

79419058

Date: 2025-02-06 19:05:09
Score: 0.5
Natty:
Report link

Documentation is showing the next message:

https://developers.facebook.com/docs/development/build-and-test/test-users

enter image description here

So, the ability to create test users is disabled temporarily in Facebook

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

79419050

Date: 2025-02-06 18:57:06
Score: 14.5 🚩
Natty:
Report link

I know this is an old post but I am having same issue as @ydinesh... I can play a wave file in Wavesurfer using a FileStreamResult. But when I try to seek forward/backwards, the wave file gets reloaded from the MVC Controller... Has anyone solved this yet?

Reasons:
  • Blacklisted phrase (1): anyone solved
  • RegEx Blacklisted phrase (1.5): solved this yet?
  • RegEx Blacklisted phrase (3): Has anyone solved
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am having same issue
  • Ends in question mark (2):
  • User mentioned (1): @ydinesh
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Ron Antinori

79419049

Date: 2025-02-06 18:57:06
Score: 1
Natty:
Report link

I ran into this same issue and was able to resolve it with the following type cast:

const handler = NextAuth(authOptions) as (request: Request) => void;

export { handler as GET, handler as POST };
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Lynn Kale

79419044

Date: 2025-02-06 18:56:05
Score: 3
Natty:
Report link

+)jg貇JEW*'MM[n޺ڔ' {$wutkv

Decode this and you'll get the Answer.

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

79419037

Date: 2025-02-06 18:54:05
Score: 2.5
Natty:
Report link

How about:

git clone https://github.com/golang/appengine.git

Is that not it?

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): How
  • High reputation (-1):
Posted by: Mikhail T.