79301086

Date: 2024-12-22 13:43:02
Score: 5
Natty:
Report link

So you want a list of employees against department Id , i.e how many employees in a particular department and a department against employee id.?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Syed M. SM.

79301065

Date: 2024-12-22 13:25:59
Score: 4
Natty:
Report link

We have "records" since java 17

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

79301054

Date: 2024-12-22 13:20:57
Score: 4.5
Natty:
Report link

Try to select and use libraries on the site https://indy.fulgan.com/SSL/

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

79300997

Date: 2024-12-22 12:48:49
Score: 9 🚩
Natty: 5
Report link

Having the exact same issue! Attempting to run on an M4/IOS 13, and attempting to use SDL2 as well... any luck solving?

Reasons:
  • Blacklisted phrase (1.5): any luck
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): Having the exact same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kelvin Filyk

79300899

Date: 2024-12-22 11:27:30
Score: 4
Natty:
Report link

Actually this is not an answer, more like follow up question (because I've yet to have reputation to put up a comment on the highlighted answer).

I also happens to be in a similar situation with you, I basically create a Linux-based image Azure Http Trigger function and wants to deployed it into Azure container function.

May I know how do you deploy the function? Which method/type of azure service did you use?

As for me, I've been trying using the az cli command like this below but so far been unsuccessful and still gets 404 for my endpoints.

az functionapp create --name MyFunction --storage-account StorageAccount --resource-group MyResourceGroup --consumption-plan-location regioncode --image dockerId/functionRepoName:vTag
Reasons:
  • Blacklisted phrase (1): how do you
  • Blacklisted phrase (1): not an answer
  • RegEx Blacklisted phrase (1.5): reputation
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: codeZeuss

79300761

Date: 2024-12-22 09:47:08
Score: 4
Natty: 5.5
Report link

How can I open a link by clicking on an notification?

For example, in a native language like Kotlin, this can be easily done.

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How can I
  • Low reputation (1):
Posted by: Mehdi

79300725

Date: 2024-12-22 09:14:01
Score: 4
Natty: 5
Report link

Ankit Singh Manoj hai na lagao hai na lagao hai na lagao hai na lagao hai na lagao hai na lagao hai kya humse hai to batao kya

Reasons:
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Ankit Singh

79300715

Date: 2024-12-22 09:03:58
Score: 4.5
Natty:
Report link

Why you dididnt push it to the main repo?? Its hard to find this bro

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Why you
  • Low reputation (1):
Posted by: Poorman

79300657

Date: 2024-12-22 07:59:45
Score: 4
Natty: 4.5
Report link

Microsoft Azure recently announced the Service Bus emulator for local development. https://learn.microsoft.com/en-us/azure/service-bus-messaging/test-locally-with-service-bus-emulator

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

79300648

Date: 2024-12-22 07:49:43
Score: 4.5
Natty: 5
Report link

When I create Apple Distrubution certificate using open Xcode accounts > Manage Certificates... > + button > Apple Distribution, it help me

Reasons:
  • Blacklisted phrase (1): help me
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When I
  • Low reputation (1):
Posted by: Ruslan Rustamov

79300589

Date: 2024-12-22 06:42:29
Score: 12.5
Natty: 7.5
Report link

Did you get any solution to to upgrade pdf-dist from 2x to 4x ? I am facing the same issue ?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (3): Did you get any solution to to
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Chandan Singh

79300528

Date: 2024-12-22 05:49:17
Score: 5
Natty:
Report link

you can know more on this website: https://casper.academy/

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

79300437

Date: 2024-12-22 03:49:55
Score: 4.5
Natty: 5
Report link

I've built a simple extension exactly for this: https://marketplace.visualstudio.com/items?itemName=emir-labs.emirlabs---react-css-intellisense.

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

79300412

Date: 2024-12-22 03:14:48
Score: 5
Natty: 7
Report link

'The most amazing point from Word2Vec is that similar words are located together '

There is a typo here is it? should be GloVe not Word2Vec?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: passerby

79300376

Date: 2024-12-22 02:26:37
Score: 6 🚩
Natty:
Report link

Were you able to resolve this xstream exception. I want to send xml through http request and process as string but xstream tries to unmarshall this xml and tries to find equivalent Java object and gives Class Notresolved exception.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: user2520093

79300356

Date: 2024-12-22 01:52:28
Score: 8 🚩
Natty:
Report link

上面那个答案有用,有用!重新写了看文档,怎么配置的,解决了呀

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • No latin characters (3.5):
  • Low reputation (1):
Posted by: rui yrui

79300322

Date: 2024-12-22 00:47:17
Score: 5
Natty:
Report link
Set qdLabelDetail = currentDb.QueryDefs("pqyLabelDetail")
qdLabelDetail!LUJobNum = gsJobNum
Me.RecordSource = qdLabelDetail.SQL

' Runs without errors but prompts me for LUJobNum after the RecordSource SQL gets updated. Ver annoying. Help ver much appreciated.

Reasons:
  • Blacklisted phrase (1): appreciated
  • RegEx Blacklisted phrase (3): Help ver much appreciated
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dale Owens

79300281

Date: 2024-12-21 23:50:06
Score: 8
Natty: 7
Report link

I have the same problem, the computer freezes when i run flutter run and shuts down. I think there is a problem with the build files that I could not solve for two weeks. So have you deleted flutter and android studio, what have you deleted?

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Korhan_34

79300280

Date: 2024-12-21 23:48:05
Score: 4
Natty:
Report link

Use public_path() instead of asset().

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

79300224

Date: 2024-12-21 22:52:50
Score: 10.5 🚩
Natty:
Report link

Spanish/English Español/Inglés

¡Hola a todos!

Buscando ayuda en Internet encontré la solución que me funcionó para resolver el error: "Plugin [id: 'org.jetbrains.kotlin.plugin.compose', version: '1.9.0', apply: false] was not found in any of the following sources:" y la quiero compartir con ustedes.

Es muy fácil, aunque en un principio dolió la cabeza, pero se trata simplemente de eliminar esas líneas en esos 2 archivos.

Los archivos son:

  1. libs.versions.toml: eliminar la línea "kotlin-compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }"

  2. build.gradle.kts (Proyect): eliminar la línea "alias(libs.plugins.kotlin.compose)"

Espero que sea la solución para muchos otros. Saludos.

-----------------

English:

Hello everyone!

Searching for help on the Internet I found the solution that worked for me to solve the error: "Plugin [id: 'org.jetbrains.kotlin.plugin.compose', version: '1.9.0', apply: false] was not found in any of the following sources:" and I want to share it with you.

It's very easy, although at first it hurt my head, but it's simply a matter of deleting those lines in those 2 files.

The files are:

  1. libs.versions.toml: delete the line "kotlin-compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }"

  2. build.gradle.kts (Project): delete the line "alias(libs.plugins.kotlin.compose)"

I hope it's the solution for many others. Greetings.

enter image description here enter image description here

Reasons:
  • Blacklisted phrase (2): ayuda
  • Blacklisted phrase (2): Espero
  • Blacklisted phrase (1): enter image description here
  • Blacklisted phrase (3): solución
  • Blacklisted phrase (1.5): Saludos
  • Whitelisted phrase (-2): I found the solution
  • Whitelisted phrase (-1): worked for me
  • RegEx Blacklisted phrase (1): I want
  • RegEx Blacklisted phrase (2): encontr
  • Long answer (-1):
  • No code block (0.5):
  • Filler text (0.5): -----------------
  • Low reputation (1):
Posted by: Ramón Telleria

79300105

Date: 2024-12-21 21:06:27
Score: 6 🚩
Natty:
Report link

Did you have a OTel trace ID generator as default in all DAGs or workflows created ? How were you able to instrument that .

We had to do a custom trace ID generator console and pass that ID on to all steps within the DAG

Reasons:
  • RegEx Blacklisted phrase (3): were you able
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you have a
  • Low reputation (1):
Posted by: Kaiomarz Engineer

79300101

Date: 2024-12-21 21:03:25
Score: 9 🚩
Natty:
Report link

how to set username and password ? did you figure it out ?

Reasons:
  • RegEx Blacklisted phrase (3): did you figure it out
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): how to
  • Low reputation (1):
Posted by: Alaa Al Barari

79300054

Date: 2024-12-21 20:30:17
Score: 4.5
Natty:
Report link

It seems that the problem is caused by pm2 not being able to run the new server.ts configuration of 'angular 19'. I hope there will be a solution in the next pm2 release.

https://github.com/Unitech/pm2/issues/5921

https://stackoverflow.com/a/79222463/9576431

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: ekonovich

79300049

Date: 2024-12-21 20:22:14
Score: 7 🚩
Natty:
Report link

Would you mind making an extension that would change color of caret based on the syntax of the text cursor is currently at?

Reasons:
  • Blacklisted phrase (2): Would you mind
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: gotta stay high all the time

79300018

Date: 2024-12-21 19:58:08
Score: 5.5
Natty:
Report link

I have the same issue with [String] and [Int]. However, I didn't make a new type for each property, but rather made both of them String (each value is separated with a comma) and now with the help of computed properties I can get the necessary value.

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Атанас Начков

79300014

Date: 2024-12-21 19:57:07
Score: 5
Natty: 4
Report link

also wrote simple short script for that

example: https://github.com/shemeshg/TestHppGenerator/blob/main/lib/MyLib.hpp

running by: https://github.com/shemeshg/TestHppGenerator/blob/main/lib/parseHpp.py

produces: https://github.com/shemeshg/TestHppGenerator/blob/main/lib/MyLib.h https://github.com/shemeshg/TestHppGenerator/blob/main/lib/MyLib.cpp

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

79299958

Date: 2024-12-21 19:10:58
Score: 4
Natty:
Report link

hav to add this "- '${REVERB_SERVER_PORT:-8080}:8080'" to my ports: under laravel.test

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

79299906

Date: 2024-12-21 18:37:50
Score: 5
Natty:
Report link

I think you need to trace what is happening with the index variable. Maybe treat is as a global and stop passing it around?

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

79299886

Date: 2024-12-21 18:17:44
Score: 4
Natty:
Report link

Found the error: user-read-private was missing as scope.

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

79299881

Date: 2024-12-21 18:15:42
Score: 6 🚩
Natty:
Report link

I have the exact same problem. I have tried many things, but I can't fix it.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the exact same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mikheil Berishvili

79299876

Date: 2024-12-21 18:08:41
Score: 4.5
Natty: 4
Report link

If anyone wants to "roll their own IdP" I wrote up a series of posts on how to create the necessary keys & config to allow you to login with a federated credential: https://finarne.wordpress.com/2024/07/25/acquire-an-entra-id-token-using-federated-credentials-part-1-oidc-discovery-documents/

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

79299560

Date: 2024-12-21 14:33:49
Score: 9
Natty: 7
Report link

Sorry to pump an old thread but this issue is still plaguing Xcode users. I believe it's due to using Migration assistant and the user names being the "Same" but not really the same on the new Mac if you get what I mean. did you solve this?

Reasons:
  • RegEx Blacklisted phrase (3): did you solve this
  • RegEx Blacklisted phrase (1.5): solve this?
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Gabe Peña

79299530

Date: 2024-12-21 14:04:43
Score: 5.5
Natty:
Report link

I encountered a problem while reading the Bochs source code, and I could use some help. Specifically, I'm unsure what BOCHSAPI means. I couldn't find any macro definition for BOCHSAPI, and I also noticed that there’s no such syntax in C/C++. Can anyone help me understand what this is?

It might be a custom preprocessor symbol or a special API flag used within Bochs. You could check if it's defined conditionally in a header file or configuration file that Bochs uses. Sometimes, these types of symbols are defined in build scripts or may depend on certain compilation options. If you can't find it in the source directly, you could look into Bochs documentation or try asking in Bochs development forums.

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Can anyone help me
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Andrew Tate

79299517

Date: 2024-12-21 13:55:40
Score: 7.5 🚩
Natty: 4.5
Report link

@ekuusela, @smdsgn hi, I know this is some years ago, but I just discovered that the two suggestions work on laptops and computers, but on mobile phones there is a restriction or limitation. On mobile phone I cannot enter more than 4 digits in the field. I mean I cannot enter 1234567890 or more. It only allows 4 digits 1234. Is there a way to improve or work around this limitation while using a mobile phone? Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): Is there a way
  • Blacklisted phrase (0.5): I cannot
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @ekuusela
  • User mentioned (0): @smdsgn
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: user3669874

79299438

Date: 2024-12-21 13:01:28
Score: 4
Natty:
Report link

Problem got resolved after I followed @Basil Bourque's suggestion and specified the correct locale to the DateTimeFormatter.

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

79299400

Date: 2024-12-21 12:30:21
Score: 6 🚩
Natty:
Report link

i have a same problem. I just buy hbvcam ov2710. Buat i cant change the exposure and gain. I try in Skype. The gain and exposure can adjust but nothing was change

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): i have a same problem
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Agung

79299372

Date: 2024-12-21 12:11:15
Score: 4
Natty: 5
Report link

বস অনুগ্রহ পূর্বক আমার একাউন্টে টাকা জমা দেন MD Asgor Ali Exim Bank ltd branch bhola Bangladesh AC 11512100064048 Routing number 100090107

Reasons:
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: MD Asgor Ali

79299305

Date: 2024-12-21 11:27:05
Score: 7 🚩
Natty:
Report link

I have the same issue with react. Tried with vue still the same issue. Both on a fresh empty project.

Tried the answer above but I still have the error

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • RegEx Blacklisted phrase (1): I still have the error
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Low reputation (1):
Posted by: Marc Habib

79299267

Date: 2024-12-21 10:51:56
Score: 4.5
Natty: 6.5
Report link

Well if you want to deploy it on your own, and wish to develop a RAG assistant, I would suggest to have a look at this article https://ttml.in/how-to-make-your-own-ai-assistant-with-rag/ and this https://ttml.in/how-to-make-an-ai-chatbot-in-python/

Reasons:
  • Blacklisted phrase (1): this article
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Avinash Rai

79299265

Date: 2024-12-21 10:50:56
Score: 4
Natty:
Report link

Well if you want to deploy it on your own, and wish to develop a RAG assistant, I would suggest to have a look at this article https://ttml.in/how-to-make-your-own-ai-assistant-with-rag/ and this https://ttml.in/how-to-make-an-ai-chatbot-in-python/

RAG is what you are looking for

Reasons:
  • Blacklisted phrase (1): this article
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Avinash Rai

79299263

Date: 2024-12-21 10:49:55
Score: 4.5
Natty: 6.5
Report link

Well if you want to deploy it on your own, and wish to develop a RAG assistant, I would suggest to have a look at this article https://ttml.in/how-to-make-your-own-ai-assistant-with-rag/ and this https://ttml.in/how-to-make-an-ai-chatbot-in-python/

Reasons:
  • Blacklisted phrase (1): this article
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Avinash Rai

79299261

Date: 2024-12-21 10:49:54
Score: 4
Natty: 6
Report link

Well if you want to deploy it on your own, and wish to develop a RAG assistant, I would suggest to have a look at this article https://ttml.in/how-to-make-your-own-ai-assistant-with-rag/ and this https://ttml.in/how-to-make-an-ai-chatbot-in-python/

Reasons:
  • Blacklisted phrase (1): this article
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Avinash Rai

79299160

Date: 2024-12-21 09:29:36
Score: 7.5
Natty: 8
Report link

How do i convert the code for Windows x64? https://github.com/sq5bpf/telive/blob/master/telive.c

Reasons:
  • Blacklisted phrase (1): How do i
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): How do i
  • Low reputation (1):
Posted by: Datateknikk studios

79299146

Date: 2024-12-21 09:23:34
Score: 4
Natty:
Report link

your code is working perfectly in flutter 3.27.0 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: Nim

79299144

Date: 2024-12-21 09:20:33
Score: 4
Natty:
Report link
var expandParttern = item.Patterns.ExpandCollapse.Pattern;
if (expandParttern.ExpandCollapseState == FlaUI.Core.Definitions.ExpandCollapseState.Collapsed)
 {
     expandParttern.Expand();

 }

我刚刚遇到了同样的问题,用以上方式解决了,亲测有效!

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • No latin characters (3):
  • Low reputation (1):
Posted by: 闫繁宇

79299134

Date: 2024-12-21 09:11:30
Score: 4.5
Natty:
Report link

Best 3D Printing and Model making company https://inoventive.com/

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

79299133

Date: 2024-12-21 09:11:28
Score: 7 🚩
Natty:
Report link

I am making something similar to this UI but I am not able to toggle. I have added 2 buttons as math and greek. So what I want is when I click on math then math operators should be loaded and when I click on greek then greek operators should be loaded but each time math operator is loading. I have tried to console.log formulas are changing but not reflecting in UI. Can you share your math quill code here with toggling functionality. That would be really helpful.enter image description here

Reasons:
  • Blacklisted phrase (1): I am not able to
  • Blacklisted phrase (1): enter image description here
  • RegEx Blacklisted phrase (2.5): Can you share your
  • RegEx Blacklisted phrase (1): I want
  • No code block (0.5):
  • Low reputation (1):
Posted by: Shiva Raj

79299069

Date: 2024-12-21 08:14:15
Score: 4.5
Natty:
Report link

If anyone is still looking for a solution, I created this template based on Harshal Patil's answer

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

79299057

Date: 2024-12-21 08:01:12
Score: 4
Natty:
Report link

I can't comment, so this is my only way to respond...

Have you tried using other resources? For example using Google Collab/AWS. Both are free depending on how much you are using. I could help you set it up if you would like

Just an idea?

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • RegEx Blacklisted phrase (1): can't comment
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Explants

79299050

Date: 2024-12-21 07:55:09
Score: 4
Natty:
Report link

356333333333333333333333333333333563333333333333333333333333333335633333333333333333333333333333356333333333333333333333333333333563333333333333333333333333333335633333333333333333333333333333356333333333333333333333333333333563333333333333333333333333333335633333333333333333333333333333356333333333333333333333333333333563333333333333333333333333333335633333333333333333333333333333356333333333333333333333333333333563333333333333333333333333333335633333333333333333333333333333356333333333333333333333333333333563333333333333333333333333333335633333333333333333333333333333

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Filler text (0.5): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 33333333333333333333333333333
  • Low entropy (1):
  • Low reputation (1):
Posted by: user28879738

79298979

Date: 2024-12-21 06:30:52
Score: 4.5
Natty: 4
Report link

When I was young I also failed to get head.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When I
  • Low reputation (1):
Posted by: Johhny

79298973

Date: 2024-12-21 06:22:50
Score: 4
Natty: 5
Report link

Thanks a lot. In my case, nltk version 3.8.1 worked after following your advice.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jason SJ Yim

79298940

Date: 2024-12-21 05:47:40
Score: 7.5 🚩
Natty:
Report link

Iam also looking for similar thing for different json file.

So, I am trying to exclude the IP ranges present in the JSON link. To do that, I need to project all the data in the JSON. I tried writing the below code, but it threw an error: "There was a problem running the query. Try again later." Could anyone help me build the query?

let jsonData = externaldata(
syncToken: string,
createDate: string,
["prefixes"]: dynamic
)
[
h@"https://ip-ranges.amazonaws.com/ip-ranges.json"
]
with (format="multijson");
jsonData
| limit 10
Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): I am trying to
  • RegEx Blacklisted phrase (3): Could anyone help me
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Jeevan Kumar Seerapu

79298831

Date: 2024-12-21 03:47:16
Score: 6
Natty: 7
Report link

but i am not able to find the power query view in SSAS. to edit the M query .where will i get the option?

Reasons:
  • Blacklisted phrase (1): i am not able to
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sameer Unawane

79298806

Date: 2024-12-21 03:28:11
Score: 7 🚩
Natty: 6
Report link

@vincent I am confused what the code is using. I meant how the list is working. Is it taking the significance style from LM to POLR? So, is it the significance from same model?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @vincent
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Chowdhury

79298795

Date: 2024-12-21 03:21:09
Score: 5.5
Natty:
Report link

Do you have think to create trigger on AWS ?

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

79298770

Date: 2024-12-21 02:19:58
Score: 11 🚩
Natty:
Report link

We're having a very similar issue. Were you able to resolve? I'm wondering if it has something to do with limited support for B2B messaging, but I haven't been able to find any documentation on this.

Thanks, Emmy

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (1.5): resolve?
  • RegEx Blacklisted phrase (3): Were you able
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): having a very similar issue
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Emmy

79298712

Date: 2024-12-21 01:15:45
Score: 5
Natty:
Report link

please see my code below. it seems working for me. might try adding your endpoint details and see. code is from https://learn.microsoft.com/en-us/azure/ai-services/openai/assistants-quickstart?tabs=command-line%2Cjavascript-key%2Ctypescript-keyless&pivots=programming-language-javascript

the package version I am using is: "openai": "^4.62.1"

const { AzureOpenAI } = require("openai");

const azureOpenAIEndpoint = "https://xxxxx.openai.azure.com/";
const azureOpenAIKey =
  "xxxxx";
const azureOpenAIVersion = "2024-08-01-preview";
const azureOpenAIDeployment = "xxxx-2"; // gpt-4o
// Replace this value with the deployment name for your model.

const main = async () => {
  // Check env variables
  if (
    !azureOpenAIKey ||
    !azureOpenAIEndpoint ||
    !azureOpenAIDeployment ||
    !azureOpenAIVersion
  ) {
    throw new Error(
      "Please set AZURE_OPENAI_KEY and AZURE_OPENAI_ENDPOINT and AZURE_OPENAI_DEPLOYMENT_NAME in your environment variables."
    );
  }

  // Get Azure SDK client
  const getClient = () => {
    const assistantsClient = new AzureOpenAI({
      endpoint: azureOpenAIEndpoint,
      apiVersion: azureOpenAIVersion,
      apiKey: azureOpenAIKey,
    });
    return assistantsClient;
  };

  const assistantsClient = getClient();

  const options = {
    model: azureOpenAIDeployment, // Deployment name seen in Azure AI Foundry portal
    name: "Math Tutor",
    instructions:
      "You are a personal math tutor. Write and run JavaScript code to answer math questions.",
    tools: [{ type: "code_interpreter" }],
  };
  const role = "user";
  const message =
    "I need to solve the equation `3x + 11 = 14`. Can you help me?";

  // Create an assistant
  const assistantResponse = await assistantsClient.beta.assistants.create(
    options
  );
  console.log(`Assistant created: ${JSON.stringify(assistantResponse)}`);

  // Create a thread
  const assistantThread = await assistantsClient.beta.threads.create({});
  console.log(`Thread created: ${JSON.stringify(assistantThread)}`);

  // Add a user question to the thread
  const threadResponse = await assistantsClient.beta.threads.messages.create(
    assistantThread.id,
    {
      role,
      content: message,
    }
  );
  console.log(`Message created:  ${JSON.stringify(threadResponse)}`);

  // Run the thread and poll it until it is in a terminal state
  const runResponse = await assistantsClient.beta.threads.runs.createAndPoll(
    assistantThread.id,
    {
      assistant_id: assistantResponse.id,
    },
    { pollIntervalMs: 500 }
  );
  console.log(`Run created:  ${JSON.stringify(runResponse)}`);

  // Get the messages
  const runMessages = await assistantsClient.beta.threads.messages.list(
    assistantThread.id
  );
  for await (const runMessageDatum of runMessages) {
    for (const item of runMessageDatum.content) {
      // types are: "image_file" or "text"
      if (item.type === "text") {
        console.log(`Message content: ${JSON.stringify(item.text?.value)}`);
      }
    }
  }
};

main().catch(console.error);

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (3): Can you help me
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: qkfang

79298706

Date: 2024-12-21 01:09:43
Score: 5
Natty:
Report link

I was able to fix this issue by following the instructions in this video. You can check it out here: https://www.youtube.com/watch?v=AjMV8S59v-Y

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (0.5): check it out
  • Blacklisted phrase (1): this video
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Vũ Dũng

79298683

Date: 2024-12-21 00:41:36
Score: 11.5 🚩
Natty: 6.5
Report link

Did you solve this? Having the exact same problem.

Reasons:
  • RegEx Blacklisted phrase (3): Did you solve this
  • RegEx Blacklisted phrase (1.5): solve this?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): Having the exact same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you solve this
  • Low reputation (1):
Posted by: Julian Serra

79298674

Date: 2024-12-21 00:29:33
Score: 4
Natty: 4
Report link

FYI: The collation solutions don't work when you have Kanji character sets in the mix.

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

79298599

Date: 2024-12-20 23:26:19
Score: 4
Natty:
Report link

set -- ${INSTANCEID[*]}

echo $@

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

79298585

Date: 2024-12-20 23:18:17
Score: 4.5
Natty:
Report link

I have read this documentation : https://jfrog.com/help/r/how-to-grant-an-anonymous-user-access-to-specific-repositories/artifactory-how-to-grant-an-anonymous-user-access-to-specific-repositories

And with the screenshot you can see that you can give permission to anonymous users only at the repositories you have selected before.

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

79298581

Date: 2024-12-20 23:16:16
Score: 5
Natty:
Report link

I'm sorry for taking so long to reply. But I only found a solution recently. I'll leave it here in case other users have the same problem. I developed a SwifPM to handle StoreKit 2 in cases where there is no internet (offline) or airplane mode. The repository is: Offline StoreKit 2

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): have the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: Fabio Borelli

79298573

Date: 2024-12-20 23:14:14
Score: 7 🚩
Natty: 5.5
Report link

How would you procedurally start searching from the end of the list if it kept extending over time, rather than a hard coded A17?

Reasons:
  • Blacklisted phrase (1): How would you
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): How would you
  • Low reputation (1):
Posted by: Eric Hickman

79298511

Date: 2024-12-20 22:22:03
Score: 4
Natty:
Report link

In this documentation, you can read that by default, IAM users and roles don’t have permission to create or modify Amazon EKS resources : https://docs.aws.amazon.com/eks/latest/userguide/security-iam-id-based-policy-examples.html#:~:text=By%20default%2C%20IAM%20users%20and%20roles%20don%E2%80%99t%20have,AWS%20Management%20Console%2C%20AWS%20CLI%2C%20or%20AWS%20API.

So, you have to create one or many specific permission for the user or group that want to list resource "nodes" in API group "" at the cluster scope.

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

79298442

Date: 2024-12-20 21:39:52
Score: 6 🚩
Natty:
Report link

@Abdul : I ran into same issue but the solution you mentioned didn't work for me. Is there anything else that you did, but forgot to capture in your solution here? As per my understanding, the overlay network creates a routing mesh, so doesn't matter which IP you use to access the service on the swarm/cluster, the service will still be hit. I am using a cluster of VMs managed by multipass and orchestrated by Docker Swarm. I have same two containers as your - drupal:9 and postgres:14. When I took the IP (10.199.127.84) and tried to access Drupal using it, i got 'site cant be reached' error. Any idea what I'm missing here?

enter image description here

P.S. Sorry to put it as a response, but I don't have enough 'reputations' to comment on your response/marked-answer.

Reasons:
  • Blacklisted phrase (1): to comment
  • Blacklisted phrase (1): Is there any
  • RegEx Blacklisted phrase (1.5): reputation
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @Abdul
  • Low reputation (1):
Posted by: Devdatta

79298390

Date: 2024-12-20 21:07:44
Score: 4.5
Natty:
Report link

Solved.

For others having the same problem, use this insted:

e.Use(middleware.Static())

and add the relative path to the static content folder.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Me too answer (2.5): having the same problem
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Vlad Popescu

79298363

Date: 2024-12-20 20:51:39
Score: 5.5
Natty:
Report link

You can create a custom lifecycle rule !

You can help you with this documentation : https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-rule.html

For example : AWSTemplateFormatVersion: 2010-09-09 Resources: S3Bucket: Type: 'AWS::S3::Bucket' Properties: AccessControl: Private LifecycleConfiguration: Rules: - Id: GlacierRule Prefix: glacier Status: Enabled ExpirationInDays: 450 Transitions: - TransitionInDays: 1 StorageClass: GLACIER Outputs: BucketName: Value: !Ref S3Bucket Description: Name of the sample Amazon S3 bucket with a lifecycle configuration.

Reasons:
  • Blacklisted phrase (1): this document
  • RegEx Blacklisted phrase (3): You can help
  • No code block (0.5):
  • Low reputation (1):
Posted by: Hadrien Valet

79298346

Date: 2024-12-20 20:37:36
Score: 4.5
Natty:
Report link

I don’t have time to write the code, but could you try getting the indexes of the different types, appending to a list and then adding and dividing by the number of items in the list?

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

79298319

Date: 2024-12-20 20:21:32
Score: 4.5
Natty:
Report link

I've figured the problem. Instead of:

export const middleware = async (req: NextRequest) => {
const origin = req.nextUrl.origin;

if (!publicEnv.CORS_WHITELIST?.includes(origin)) {
 return NextResponse.json({ error: `Access denied. Environment: ${process.env.NODE_ENV}. Your Origin: ${origin} | Whitelist: ${publicEnv.CORS_WHITELIST}` }, { status: 405 })
}
...

I've done:

export const middleware = async (req: NextRequest) => {
const host = req.headers.get("host");
    const protocol = process.env.NODE_ENV === "production" ? "https" : "http";
    const origin = `${protocol}://${host}`;

    if (!origin || !publicEnv.CORS_WHITELIST?.includes(origin)) {
        return NextResponse.json({ error: `Access denied. Environment: ${process.env.NODE_ENV}. Your Origin: ${origin} | Whitelist: ${publicEnv.CORS_WHITELIST}` }, { status: 405 })
    }
...

Also who down voted the post at first publish without a reason? lol.

Reasons:
  • RegEx Blacklisted phrase (2): down vote
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Viserion Wick

79298306

Date: 2024-12-20 20:13:29
Score: 5
Natty:
Report link

When I run the code below, the images are displayed vertically (The first time I ran the code below, I did not see any output on Jupyter NB). I was expecting to see them horizontally. If anyone knows how I can display them horizontally, please feel free to comment. Thanks!

for i in range(10):
    plt.figure(figsize=(20,3))
    plt.imshow(predictions[i].astype("float32"), cmap="gray_r")
    plt.show()
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): to comment
  • Blacklisted phrase (1): anyone knows
  • RegEx Blacklisted phrase (1): I can display them horizontally, please
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): When I
  • Low reputation (1):
Posted by: Steven Dascoli

79298245

Date: 2024-12-20 19:50:22
Score: 4
Natty:
Report link

Finally, I found a way to get it work. Thanks to all the advices from @Jmb and some trial and error.

Now after spawning the curl request for the current item, I run an inner loop on matching bg_cmd.try_wait(). If it finish the run successful, the result get assigned to the shared var holding the output. But if the process is still running and another list item is selected, an AtomicBool is set which restarts the main loop of the bg process thread and, thus, the result of the former run is dismissed.

Here is the code. There might be ways to make this more efficient and I would be happy to hear about them. But at least it works now and I nevertheless already learned a lot about multi-threading and bg processes in Rust.

use std::{
    io::{BufRead, BufReader},
    process::{Command, Stdio},
    sync::{
        atomic::{AtomicBool, Ordering},
        Arc, Condvar, Mutex,
    },
    thread,
    time::Duration,
};

use color_eyre::Result;
use crossterm::event::{self, Event, KeyCode, KeyEvent, KeyEventKind, KeyModifiers};
use ratatui::{
    layout::{Constraint, Layout},
    style::{Modifier, Style},
    widgets::{Block, List, ListState, Paragraph},
    DefaultTerminal, Frame,
};

#[derive(Debug, Clone)]
pub struct Mailbox {
    finished: Arc<AtomicBool>,
    data: Arc<Mutex<Option<String>>>,
    cond: Arc<Condvar>,
    output: Arc<Mutex<String>>,
    kill_proc: Arc<AtomicBool>,
}

impl Mailbox {
    fn new() -> Self {
        Self {
            finished: Arc::new(AtomicBool::new(false)),
            data: Arc::new(Mutex::new(None)),
            cond: Arc::new(Condvar::new()),
            output: Arc::new(Mutex::new(String::new())),
            kill_proc: Arc::new(AtomicBool::new(false)),
        }
    }
}

pub fn run_bg_cmd(
    fetch_item: Arc<Mutex<Option<String>>>,
    cond: Arc<Condvar>,
    output_val: Arc<Mutex<String>>,
    finished: Arc<AtomicBool>,
    kill_bool: Arc<AtomicBool>,
) {
    // Start the main loop which is running in the background as long as
    // the TUI itself runs
    'main: loop {
        let mut request = fetch_item.lock().unwrap();
        // Wait as long as their is no request sent. If one is send, the
        // Condvar lets the loop run further
        while request.is_none() {
            request = cond.wait(request).unwrap();
        }
        let cur_request = request.take().unwrap();

        // Drop MutexGuard to free up the main thread
        drop(request);

        // Spawn `curl` (or any other bg command) using the sent request as arg.
        // To not flood the TUI I pipe stderr to /dev/null
        let mut bg_cmd = Command::new("curl")
            .arg("-LH")
            .arg("Accept: application/x-bibtex")
            .arg(&cur_request)
            .stdout(Stdio::piped())
            .stderr(Stdio::null())
            .spawn()
            .expect("Not running");

        // Start inner loop to wait for process to end or dismiss the result if
        // next item in the TUI is selected
        'waiting: loop {
            match bg_cmd.try_wait() {
                // If bg process ends with exit code 0, break the inner loop
                // to assign the result to the shared variable.
                // If bg process ends with exit code not 0, restart main loop and
                // drop the result from stdout.
                Ok(Some(status)) => {
                    if status.success() {
                        break 'waiting;
                    } else {
                        continue 'main;
                    }
                }
                // If process is still running and the kill bool was set to true
                // since another item was selected, immiditatley restart the main loop
                // waiting for a new request and, therefore, drop the result
                Ok(None) => {
                    if kill_bool.load(Ordering::Relaxed) {
                        continue 'main;
                    }
                }
                // If an error occurs, restart the main loop and drop all output
                Err(e) => {
                    println!("Error {e} occured while trying to fetch infors");
                    continue 'main;
                }
            }
        }

        // If waiting loop was broken due to successful bg process, take the output
        // parse it into a string (or whatever) and assign it to the shared var
        // holding the result
        let out = bg_cmd.stdout.take().unwrap();
        let out_reader = BufReader::new(out);

        let mut out_str = String::new();

        for l in out_reader.lines() {
            if let Ok(l) = l {
                out_str.push_str(&l);
            }
        }

        finished.store(true, Ordering::Relaxed);

        let mut output_str = output_val.lock().unwrap();
        *output_str = out_str;
    }
}

#[derive(Debug)]
pub struct App {
    mb: Mailbox,
    running: bool,
    fetch_info: bool,
    info_text: String,
    list: Vec<String>,
    state: ListState,
}

impl App {
    pub fn new(mb: Mailbox) -> Self {
        Self {
            mb,
            running: false,
            fetch_info: false,
            info_text: String::new(),
            list: vec![
                "http://dx.doi.org/10.1163/9789004524774".into(),
                "http://dx.doi.org/10.1016/j.algal.2015.04.001".into(),
                "https://doi.org/10.1093/acprof:oso/9780199595006.003.0021".into(),
                "https://doi.org/10.1007/978-94-007-4587-2_7".into(),
                "https://doi.org/10.1093/acprof:oso/9780199595006.003.0022".into(),
            ],
            state: ListState::default().with_selected(Some(0)),
        }
    }

    pub fn run(mut self, mut terminal: DefaultTerminal) -> Result<()> {
        self.running = true;
        while self.running {
            terminal.draw(|frame| self.draw(frame))?;
            self.handle_crossterm_events()?;
        }
        Ok(())
    }

    fn draw(&mut self, frame: &mut Frame) {
        let [left, right] =
            Layout::vertical([Constraint::Fill(1), Constraint::Fill(1)]).areas(frame.area());

        let list = List::new(self.list.clone())
            .block(Block::bordered().title_top("List"))
            .highlight_style(Style::new().add_modifier(Modifier::REVERSED));

        let info = Paragraph::new(self.info_text.as_str())
            .block(Block::bordered().title_top("Bibtex-Style"));

        frame.render_stateful_widget(list, left, &mut self.state);
        frame.render_widget(info, right);
    }

    fn handle_crossterm_events(&mut self) -> Result<()> {
        if event::poll(Duration::from_millis(500))? {
            match event::read()? {
                Event::Key(key) if key.kind == KeyEventKind::Press => self.on_key_event(key),
                Event::Mouse(_) => {}
                Event::Resize(_, _) => {}
                _ => {}
            }
        } else {
            if self.fetch_info {
                self.update_info();
            }
            if self.mb.finished.load(Ordering::Relaxed) == true {
                self.info_text = self.mb.output.lock().unwrap().to_string();
                self.mb.finished.store(false, Ordering::Relaxed);
            }
        }
        Ok(())
    }

    fn update_info(&mut self) {
        // Select current item as request
        let sel_doi = self.list[self.state.selected().unwrap_or(0)].clone();
        let mut guard = self.mb.data.lock().unwrap();
        // Send request to bg loop thread
        *guard = Some(sel_doi);
        // Notify the Condvar to break the hold of bg loop
        self.mb.cond.notify_one();
        drop(guard);
        // Set bool to false, so no further process is started
        self.fetch_info = false;
        // Set kill bool to false to allow bg process to complete
        self.mb.kill_proc.store(false, Ordering::Relaxed);
    }

    fn on_key_event(&mut self, key: KeyEvent) {
        match (key.modifiers, key.code) {
            (_, KeyCode::Esc | KeyCode::Char('q'))
            | (KeyModifiers::CONTROL, KeyCode::Char('c') | KeyCode::Char('C')) => self.quit(),
            (_, KeyCode::Down | KeyCode::Char('j')) => {
                if self.state.selected().unwrap() <= 3 {
                    // Set kill bool to true to kill unfinished process from prev item
                    self.mb.kill_proc.store(true, Ordering::Relaxed);
                    // Set text of info box to "Loading" until bg loop sends result
                    self.info_text = "... Loading".to_string();
                    self.state.scroll_down_by(1);
                    // Set fetch bool to true to start fetching of info after set delay
                    self.fetch_info = true;
                }
            }
            (_, KeyCode::Up | KeyCode::Char('k')) => {
                // Set kill bool to true to kill unfinished process from prev item
                self.mb.kill_proc.store(true, Ordering::Relaxed);
                // Set text of info box to "Loading" until bg loop sends result
                self.info_text = "... Loading".to_string();
                self.state.scroll_up_by(1);
                // Set fetch bool to true to start fetching of info after set delay
                self.fetch_info = true;
            }
            _ => {}
        }
    }

    fn quit(&mut self) {
        self.running = false;
    }
}

fn main() -> color_eyre::Result<()> {
    color_eyre::install()?;

    let mb = Mailbox::new();

    let curl_data = Arc::clone(&mb.data);
    let curl_cond = Arc::clone(&mb.cond);
    let curl_output = Arc::clone(&mb.output);
    let curl_bool = Arc::clone(&mb.finished);
    let curl_kill_proc = Arc::clone(&mb.kill_proc);

    thread::spawn(move || {
        run_bg_cmd(curl_data, curl_cond, curl_output, curl_bool, curl_kill_proc);
    });

    let terminal = ratatui::init();
    let result = App::new(mb).run(terminal);
    ratatui::restore();
    result
}
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (3): Thanks to all the advices
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Jmb
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: lukeflo

79298228

Date: 2024-12-20 19:31:18
Score: 4.5
Natty: 5
Report link

Ok, dead == Array?, Collider[] dead is need;

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

79298223

Date: 2024-12-20 19:28:16
Score: 5.5
Natty:
Report link

!pip install tensorflow-gpu Collecting tensorflow-gpu Downloading tensorflow-gpu-2.12.0.tar.gz (2.6 kB) error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. Preparing metadata (setup.py) ... error error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details. How to solve this issue?

Reasons:
  • Blacklisted phrase (1): How to solve
  • RegEx Blacklisted phrase (1.5): How to solve this issue?
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: muhammad ghous

79298101

Date: 2024-12-20 18:29:00
Score: 4
Natty:
Report link

Solved: I just had to remove the 1.18.36 tag for javax.persistence dependancy

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

79298078

Date: 2024-12-20 18:13:56
Score: 4.5
Natty:
Report link

Came across the same error and your answer helped me to solve the issue @kaveh

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @kaveh
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mpetha Sthebiso Motaung

79298039

Date: 2024-12-20 18:00:51
Score: 11.5
Natty: 8.5
Report link

@windy Can you help me to find dataSyncId?

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Can you help me
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @windy
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Nguyễn Đức Tuấn Minh

79297992

Date: 2024-12-20 17:35:43
Score: 8.5 🚩
Natty: 5.5
Report link

I'm having this same issue now, did you ever find the solution to this problem ?

Reasons:
  • RegEx Blacklisted phrase (3): did you ever find the solution to this problem
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mel

79297970

Date: 2024-12-20 17:29:40
Score: 4
Natty: 4.5
Report link

Still doesn't seem to have a solution. See open issue: https://github.com/mapbox/mapbox-gl-js/issues/9937

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

79297968

Date: 2024-12-20 17:28:37
Score: 10.5 🚩
Natty:
Report link

Sei que é um post de 14 anos atrás, mas ainda é um dúvida frequente, então aqui está a minha contribuição.

Crie um arquivo "fonts.js" (o nome do arquivo não é importante) em algum local do seu projeto e o inclua na tag da sua página principal. Este é o arquivo onde você irá carregar suas fontes.

image example 01

Entre no arquivo e coloque o seguinte código:

const fonts = [
  new FontFace('myFont', 'url(path/of/your/font.ttf)')
]
    
fonts.forEach(item => item.load().then(font => document.fonts.add(font)))

No objeto const fonts = [ ] você pode colocar todas as suas fontes usando o new FontFace(), onde, no primeiro parâmetro você irá colocar o nome da família da fonte e no segundo parâmetro o caminho até a fonte.

A linha de baixo

fonts.forEach(item => item.load().then(font => document.fonts.add(font)))

é responsável por carregar as fontes que estão dentro do objeto "fonts" no document, meio que a parte nativa da página.

Caso queira adicionar mais fontes, basta criar uma nova FontFace dentro do objeto "fonts", dessa forma:

const fonts = [
  new FontFace('myFont', 'url(path/of/your/font.ttf)'),
  new FontFace('myFont2', 'url(path/of/your/font2.ttf)'),
  new FontFace('myFont3', 'url(path/of/your/font3.ttf)')
]
    
fonts.forEach(item => item.load().then(font => document.fonts.add(font)))

Pronto! Suas fontes estão carregadas. Para usar em seus textos usando canvas js, basta chamar o nome da família da fonte.

ctx.font = "16px myFont";
ctx.fillStyle = "black";
ctx.fillText("Hello World!", 20, 30);

Espero ter ajudado.

Reasons:
  • Blacklisted phrase (2): Espero
  • Blacklisted phrase (3): você
  • Blacklisted phrase (1): está
  • Blacklisted phrase (1): então
  • Blacklisted phrase (1): não
  • Blacklisted phrase (2): código
  • Blacklisted phrase (1): todas
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Pablo Aviz

79297900

Date: 2024-12-20 16:59:29
Score: 13.5
Natty: 7.5
Report link

I have the same problem, did you solve the problem?

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (3): did you solve the problem
  • RegEx Blacklisted phrase (1.5): solve the problem?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Furkan Tombaş

79297896

Date: 2024-12-20 16:57:28
Score: 4.5
Natty: 4.5
Report link

when I debug the handler I have the username and password value but when I go to the webserver not the variable has nodata.

String usernameFromHeader = (String) ctx.getMessageContext().get("USERNAME");

Anyone have some idea?

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): when I
  • Low reputation (1):
Posted by: Scosteira

79297861

Date: 2024-12-20 16:39:23
Score: 5
Natty:
Report link

i have same problem when upgrade to v19. I realized that the problem was because I was making my API calls like this. http.get("api/apiadress") I'm using a middleware (http-proxy-middleware) in the server.ts file and prerender was working without any problems in v18.

When I updated to v19 I now noticed that API calls start with address "ng-localhost". The problem was solved when starts with http://localhost or http://127.0.0.1 to API calls.

Reasons:
  • Blacklisted phrase (1): i have same problem
  • No code block (0.5):
  • Me too answer (2.5): i have same problem
  • Low reputation (1):
Posted by: ekonovich

79297789

Date: 2024-12-20 16:13:17
Score: 4
Natty:
Report link
//@version=2
study(title = "Directional Flow Analyzer Indicator Heikin Ashi", shorttitle="Directional Flow Candles", overlay=true)

len=input(10)
o=ema(open,len)
c=ema(close,len)
h=ema(high,len)
l=ema(low,len)

haclose = (o+h+l+c)/4
haopen = na(haopen[1]) ? (o + c)/2 : (haopen[1] + haclose[1]) / 2
hahigh = max (h, max(haopen,haclose))
halow = min (l, min(haopen,haclose))

len2=input(10)
o2=ema(haopen, len2)
c2=ema(haclose, len2)
h2=ema(hahigh, len2)
l2=ema(halow, len2)

col=o2>c2 ? red : lime
plotcandle(o2, h2, l2, c2, title="heikin smoothed", color=col)

Please help me to update this pine script from version 2 to the latest version 5 or 6

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Please help me to
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mani Kandan

79297585

Date: 2024-12-20 14:50:56
Score: 5
Natty: 5
Report link

just un choose "for install builds only"

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

79297583

Date: 2024-12-20 14:50:55
Score: 4
Natty:
Report link

Just use keyboardShouldPersistTaps="handled" to ScrollView and it will work. reference: https://facebook.github.io/react-native/docs/scrollview.html#keyboardshouldpersisttaps

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

79297554

Date: 2024-12-20 14:42:52
Score: 7
Natty: 7.5
Report link

How do you reagin stripe's 2 dollar per active account per month fee?

Reasons:
  • Blacklisted phrase (1): How do you
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): How do you
  • Low reputation (1):
Posted by: H4444

79297549

Date: 2024-12-20 14:41:51
Score: 5.5
Natty:
Report link

just remove %matplotlib notebook because in Jupyter notebook this line give error. when i run some code i get same error "Javascript Error: IPython is not defined in JupyterLab" but when i just see one things in my code i write %matplotlib notebook that is use in colab notebook not in jupyter notebook

Reasons:
  • RegEx Blacklisted phrase (1): i get same error
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): i get same error
  • Low reputation (1):
Posted by: Harsh Bopaliya

79297402

Date: 2024-12-20 13:46:35
Score: 6.5 🚩
Natty: 5
Report link

i have the same problem with sim 7600 some time it sending message and sometime it stuck with this error

Reasons:
  • Blacklisted phrase (1): i have the same problem
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): i have the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: Itzik Ovadia

79297285

Date: 2024-12-20 12:54:22
Score: 5
Natty:
Report link

I have a similar issue, I am getting different search results for the same query when using 2 different Google Maps API keys. The key setting I am adding in the next comment

screenshot_1 screenshot_2

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have a similar issue
  • Low reputation (1):
Posted by: Dirk Kuyt

79297270

Date: 2024-12-20 12:49:20
Score: 5.5
Natty:
Report link

We would like to inform you that the website may contain multiple files; therefore, it will be necessary to specify the file name.

Please let us know if you have more queries.

Reasons:
  • RegEx Blacklisted phrase (2.5): Please let us know
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Namrata Bose

79297243

Date: 2024-12-20 12:39:16
Score: 8 🚩
Natty: 6
Report link

this is not an answer, sorry. Such a good idea. Is there anyway you can share a sample of the full code? Really wondering how you made it work and which cell on the sheet were you able to record the "Yes" response. Thank you.I am working on Slack and trying to have just the "Yes" response recorded on a specific CELL on my sheet.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): not an answer
  • Blacklisted phrase (1): Is there any
  • RegEx Blacklisted phrase (3): were you able
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Applearner

79297182

Date: 2024-12-20 12:13:10
Score: 5
Natty:
Report link

python. Here's the documentation https://docs.qgis.org/3.34/en/docs/user_manual/expressions/expression.html#id10

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

79297158

Date: 2024-12-20 12:04:06
Score: 4
Natty:
Report link

Have a look at this wiki article: https://github.com/NetTopologySuite/NetTopologySuite/wiki/Upgrading-to-2.0-from-1.x#interfaces

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

79297095

Date: 2024-12-20 11:40:59
Score: 6 🚩
Natty: 4.5
Report link

I have the same problem with .Net 4.8 on Vultr VPS Windows Server 2016, 2019 My local Windows 10, 11 environment works The deploy code is exactly the same.

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

79297077

Date: 2024-12-20 11:32:57
Score: 4
Natty: 4
Report link

I also used some thing in that line and to solve it try instead and it helped

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

79297065

Date: 2024-12-20 11:28:55
Score: 5.5
Natty: 6
Report link

I ran into a problem while using this method.

I used cascading list of values, but the value from the parent select list is not picked up in the SQL query of the child control. Could you please help.

Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (3): Could you please help
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Venkat

79297048

Date: 2024-12-20 11:22:53
Score: 11.5
Natty: 7.5
Report link

I have the same problem. Is there anyone who has solved the problem?

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Blacklisted phrase (1): Is there any
  • RegEx Blacklisted phrase (1.5): solved the problem?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Smhzhl

79296999

Date: 2024-12-20 11:07:47
Score: 5.5
Natty:
Report link

Thanks Kshtiz Ji for the answer and Arun for the Question. You saved my whole week. I have been trying this to fix.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (2): You saved my
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: lokesh bastola