DelphiScript, Altium Designer V23, EXPECTING ;

I was working with DelphiScript, and I have a problem, I have the message expecting ; I try to solve it, but it is still the same. The code is this: procedure CrearPistaDeCobre; var PCBBoard: IPCB_Board; Track: IPCB_Track; StartPoint, EndPoint: TCoordPoint; begin // Obtener la placa activa PCBBoard := PCBServer.GetCurrentPCBBoard; if PCBBoard = nil then … Read more

Should I allow anonymous access to my GKE cluster? [closed]

Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed yesterday. Improve this question We are pretty new to k8s and test out many cloud offerings. I have personally noticed that most … Read more

Adding custom permission for specific device cause any issues in android playstore?

I recently added hardware barcode scan support to our app for honey well devices. As per the document I have added this permission in android manifest. <uses-permission android:name=”com.honeywell.decode.permission.DECODE” /> And reading data using data intent-broadcast receiver mechanism. Is this cause any issues in play store release of existing app. How this type of custom permission … Read more

How to use Riverpod with CustomPainter in flutter?

I’ve been searching around the answer and didn’t find much information about how to use Riverpod with CustomPainter. I got two problems that showed up when I used Riverpod with CustomPainter. (Fixed, please ignore.) I tried to use CustomPainter to draw lines, but CustomPainter won’t draw the line after the start point and the end … Read more

An error has occurred ” line 3, in generate_100_word_summary AttributeError: type object ‘OpenAI’ has no attribute ‘client'”

I have a csv file with open source reports and news articles for infectious diseases and wanted to use ChatGPT to create epidemiological summaries using this text data for each infectious disease. This is the code I am using : from openai import OpenAI import pandas as pd client = OpenAI() ##Importing data data = … Read more

error: cannot find symbol @MicronautTest()

Kotest 4 was removed from Micronaut 4 (ref) so I follow this guide to install Kotest 5: https://micronaut-projects.github.io/micronaut-test/snapshot/guide/index.html#settingUpKoTest5 However, after running the test using ./gradlew test I got this error. error: cannot find symbol @MicronautTest() MyTest.kt import io.micronaut.test.extensions.kotest5.annotation.MicronautTest import io.kotest.core.spec.style.AnnotationSpec @MicronautTest class MyTest : AnnotationSpec() { @Test fun testMyFunc() { … } } build.gradle.kts dependencies … Read more

Extract values from jsonb with Data type and merge in to a dataset row

I have a PostgreS table with above structure with a JSONB column. I’m using Spring jdbcTemplate to retrieve data(jdbcTemplate.queryForList()). I need to read the output in the below format. [ { “id”:1, “Order Value” : 18.095, “Order Id”: “ABC123” }, { “id”:2, “Test1” : “Value1” } ] If I knew the fields inside the JSON … Read more