text:
[BUG]: error: type "serial" does not exist

What version of drizzle-orm are you using?
0.30.8
What version of drizzle-kit are you using?
0.20.16
Describe the Bug
After generating a migration with drizzle-kit, running drizzle-kit push:pg results in error: type "serial" does not exist
Schema:
export const someEntities = pgTable("some_entity", {
    id: serial("id").primaryKey(),
    name: text("name").notNull(),
    userId: text("userId").notNull().references(() => users.id),
})

Migration:
ALTER TABLE "some_entity" ALTER COLUMN "id" SET DATA TYPE serial;

Full error:
error: type "serial" does not exist
    at /Users/xxx/Code/xxx/node_modules/drizzle-kit/bin.cjs:43518:21
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async PgPostgres.query (/Users/xxx/Code/xxx/node_modules/drizzle-kit/bin.cjs:62439:21)
    at async Command.<anonymous> (/Users/xxx/Code/xxx/node_modules/drizzle-kit/bin.cjs:66122:9) {
  length: 89,
  severity: 'ERROR',
  code: '42704',
  detail: undefined,
  hint: undefined,
  position: undefined,
  internalPosition: undefined,
  internalQuery: undefined,
  where: undefined,
  schema: undefined,
  table: undefined,
  column: undefined,
  dataType: undefined,
  constraint: undefined,
  file: 'parse_type.c',
  line: '270',
  routine: 'typenameType'
}

Expected behavior
Expect migration to be run and table alteration to complete successfully.
Environment & setup
macOS 14.4.1
Vercel Postgres: PostgreSQL 15
@vercel/postgres: 0.8.0

I'm also facing the same issue, @realmikesolo. However, I added the 'drizzle-kit'
.

same problem

I also have this issue if you delete the table in the database it then works

i have the same issue

I'm facing the same issue.

error: type "serial" does not exist
    at C:\Users\ADMIN\Desktop\my office\zuvy-server\node_modules\pg-pool\index.js:45:11
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Object.query (C:\Users\ADMIN\Desktop\my office\zuvy-server\node_modules\drizzle-kit\bin.cjs:71837:26)
    at async pgPush (C:\Users\ADMIN\Desktop\my office\zuvy-server\node_modules\drizzle-kit\bin.cjs:74783:13)
    at async Object.handler (C:\Users\ADMIN\Desktop\my office\zuvy-server\node_modules\drizzle-kit\bin.cjs:83642:9)
    at async run (C:\Users\ADMIN\Desktop\my office\zuvy-server\node_modules\drizzle-kit\bin.cjs:82009:7) {
  length: 89,
  severity: 'ERROR',
  code: '42704','
  detail: undefined,
  hint: undefined,

Any updates here?

Facing the same issue.

Same

Same issue here

+1

+1

+1

+1

authors: DevWedeloper Friedrich482 GStudiosX2 HarjjotSinghh barrynorman blasdfaa giribabu22 kedom1337 mmikhan nickrmurphy ricjohn-acosta sebmor spacerumsfeld-code timurkhakhalev

repo: drizzle-team/drizzle-orm


text:
Added Instagram portfolio theme

and .gitignore to avoid tracking Webstorm, PHPStorm project files.

@ssokurenko  Great theme. Thanks for adding Instagram portfolio. Keep it up. Cheers.

I like your approach @geraldb ! Very proactive!
Cheers

source: gharchive/pull-request

authors: geraldb ssokurenko

repo: drjekyllthemes/themes

license_type: permissive

license_source: bigquery


text:
Add a Test Controller application to use the XDreamSerialPortServer to send values to a client

Clients could be any the UI and Console apps from this solution, or the original Trixter X-Dream simulation or test console application.

Initial commit doesn't support auto-pumping the crank which is required for the X-Dream simulator.

Now autopumping the crank is supported.

source: gharchive/issue

license: MIT

license_source: github-api


text:
"'XMLElement' is ambiguous for type lookup in this context" when compiling for Mac Catalyst

Describe the bug
Compiler complains about "'XMLElement' is ambiguous for type lookup in this context" when compiling for Mac Catalyst
To Reproduce
Steps to reproduce the behavior:

In an iOS project target, enable Mac Catalyst
Compile code that uses XMLElement

Expected behavior
compiles without error message
Environment:

Xcode version: 13.2.1
OS running SWXMLHash: MacOS 12.2.1 running Xcode

Additional context
appears to be a known problem when directly compiling for MacOs. XMLElement Sourcecode says
// Workaround for "'XMLElement' is ambiguous for type lookup in this context" error on macOS.

Confirmed - I put together a quick repro of it up at https://github.com/drmohundro/swxmlhash-test-xmlelement-catalyst-repro.
That being said, it is possible to get around it by scoping the XMLElement with SWXMLHash.XMLElement. See https://github.com/drmohundro/swxmlhash-test-xmlelement-catalyst-repro/commit/07bad9daf75a469f3b9cb96b57ce6c4473172bcd - that compiles for me.
Does that solve your issue?

Yes, replacing XMLElement with SWXMLHash.XMLElement works for me

Great! I'll close this as the only alternative I'm aware of would be a rename... and there have already been multiple renames! (#140, #242).

authors: GerdC drmohundro

repo: drmohundro/SWXMLHash

license: mit


text:
How to add new modesl based on droid_policy_learning

Hi, thank you for your great work on Droid!
I am trying to use droid dataset to train my own model. Could you please specify how to add new models based on this repo ?

Hi!
This repo is a fork of robomimic, so you can add models like in robomimic, eg by adding them into robomimic/models (for architectures) and models/algo (for objectives / algorithms).
If you already have your model of choice implemented somewhere else, it could also be easier to simply copy out the data loader from here, which is a standard PyTorch Dataset, and paste it into your existing training loop!

authors: junjie-meng kpertsch


text:
dubbo线程池初始化报错：class java.lang.String cannot be cast to class java.lang.Integer

首先感谢您使用 DynamicTp，如果使用过程中有任何问题，请按照下述模板反馈问题，建议使用 Markdown 语法。
版本信息

Jdk版本：17.07
SpringBoot版本：2.4.13
DynamicTp版本：1.1.4
Dubbo版本：3.2.6
配置中心版本：

问题描述
获取到的dubbo服务的端口是String类型
java.lang.ClassCastException: class java.lang.String cannot be cast to class java.lang.Integer (java.lang.String and java.lang.Integer are in module java.base of loader 'bootstrap') 	at java.base/java.util.concurrent.ConcurrentHashMap.forEach(ConcurrentHashMap.java:1603) 	at org.dromara.dynamictp.adapter.dubbo.apache.ApacheDubboDtpAdapter.initialize(ApacheDubboDtpAdapter.java:120) 	at org.dromara.dynamictp.adapter.dubbo.apache.ApacheDubboDtpAdapter.onApplicationEvent(ApacheDubboDtpAdapter.java:63) 	at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176) 	at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169) 	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143) 	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:421) 	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:378) 	at org.apache.dubbo.config.spring.ServiceBean.publishExportEvent(ServiceBean.java:139) 	at org.apache.dubbo.config.spring.ServiceBean.exported(ServiceBean.java:131) 	at org.apache.dubbo.config.ServiceConfig.doExport(ServiceConfig.java:498) 	at org.apache.dubbo.config.ServiceConfig.export(ServiceConfig.java:326) 	at org.apache.dubbo.config.deploy.DefaultModuleDeployer.exportServiceInternal(DefaultModuleDeployer.java:438) 	at org.apache.dubbo.config.deploy.DefaultModuleDeployer.exportServices(DefaultModuleDeployer.java:393) 	at org.apache.dubbo.config.deploy.DefaultModuleDeployer.startSync(DefaultModuleDeployer.java:167) 	at org.apache.dubbo.config.deploy.DefaultModuleDeployer.start(DefaultModuleDeployer.java:148) 	at org.apache.dubbo.config.spring.context.DubboDeployApplicationListener.onContextRefreshedEvent(DubboDeployApplicationListener.java:155) 	at org.apache.dubbo.config.spring.context.DubboDeployApplicationListener.onApplicationEvent(DubboDeployApplicationListener.java:141) 	at org.apache.dubbo.config.spring.context.DubboDeployApplicationListener.onApplicationEvent(DubboDeployApplicationListener.java:52) 	at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176) 	at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169) 	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143) 	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:421) 	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:378) 	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:938) 	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:586) 	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:144) 	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:771) 	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:763) 	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:438) 	at org.springframework.boot.SpringApplication.run(SpringApplication.java:339) 	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1329) 	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1318)

dubbo3.2版本已修改为ConcurrentMap<String, ExecutorService>，后面修复

authors: KamToHung wind-chh

repo: dromara/dynamic-tp


text:
GUVNOR-2896: Reflect negated pattern in condition column header

This PR adds the prefix 'not ' into the condition column header for
negated patterns.

Jenkins please retest this.

Hi @manstis. I incorporated your comment. I also decided to introduce few methods which keep code that was repeatedly used for initialization. Let me know what do you think. Thanks.

Jenkins please retest this.

authors: jomarko manstis

repo: droolsjbpm/drools-wb


text:
GUVNOR-2419: After deleting from one project and switching to another, it is not possible to return to the first one.

@manstis The change that we discussed here: https://github.com/droolsjbpm/kie-wb-common/pull/275/files#r53944301
I've tested it on Windows, and it works.

+1 to merge.

master: f78bc8cd80aba7f2535db5e65cd741ce75161cf6

authors: csadilek manstis paulovmr

repo: droolsjbpm/kie-wb-common


text:
kindly give me suggestion

hello sir,
kindly give me suggestions for resume upload file like google drive. if client upload big file and when his network are gone while upload progress is 50% after some time network is arrived then file upload are resume means automatic start to upload.
Thank you,
prashant

The SDK doesn't offer an automatic way to do this, but the way you would implement this in your app's code using this Dropbox SDK is to use "upload sessions". (They're required for uploading anything larger than 150 MB anyway.)

filesUploadSessionStart
filesUploadSessionAppendV2
filesUploadSessionFinish

When using upload sessions, you upload files in pieces, so if the connection is lost, you can wait for it to come back, and then continue uploading the next piece of the file.

authors: greg-db prashantsimejiya-siya

repo: dropbox/dropbox-sdk-js


text:
Add a WeldBundle to Dropwizard

This feature makes it easy to get started with CDI using the Weld implementation.

Coverage increased (+0.03%) to 84.552% when pulling 8233c8f2c9168b2114f51f00e7e27487c7cb77e0 on jelmerterwal:cdi_weld into 223be464b1e58ac8e85137c71bbb541bed760403 on dropwizard:master.

@jelmerterwal Thanks for your contribution!
We try to keep the core Dropwizard project as small and lean as possible, so please create a separate project for your Weld bundle and add it to the Dropwizard Modules Directory via https://github.com/dropwizard/modules.dropwizard.io/pulls

@jelmerterwal As a side note, it would be great if you could integrate Weld with the HK2 injector used by Jersey, e. g. via https://jersey.java.net/documentation/latest/cdi.support.html#cdi.support.weld.se

Coverage increased (+0.03%) to 84.552% when pulling a665a1ce25978bb5652bd40ae94e2348fc099648 on jelmerterwal:cdi_weld into 223be464b1e58ac8e85137c71bbb541bed760403 on dropwizard:master.

@joschi Just thought this might be something a lot of people might need. However, I do understand your point.
I believe that is exactly the approach taken :)

authors: coveralls jelmerterwal joschi

repo: dropwizard/dropwizard


text:
remove confusing docs on setting up clusters

from multiple discussions with the community, the example production cluster docs are extremely confusing to readers
no one sets up a cluster that looks like the production cluster described
much of this info is redundant now with http://druid.io/docs/0.9.0/tutorials/cluster.html

👍
agree these are a bit confusing, the druid configs are kind of out of date and I think the hadoop configs have a bunch of stuff in them that was never really relevant to druid. we also have cluster-ready configs in the tarball now https://github.com/druid-io/druid/tree/master/examples/conf

I'm torn on this in a few ways:

Imply and MMX both benefit from not having suggested configurations in the wild (this is an argument for having another party comment on this)
Best config values vary GREATLY depending on actual production workload.
The configurations are pretty out dated (m1.large, wat?)
We should strive as a community to make default configs pretty good for most use cases, especially just starting up use cases.
The configs are explained better and in more detail elsewhere in the docs.
I have no interest in maintaining these configs as time goes on.
If we need to have example config files or suggested templates, I think in the quickstart is a better place to host them.

So in general I'm 👍  but have a conflict of interest here so would like to hear if these docs to be removed are useful for anyone in the community before zapping them completely.

I actually have no problem with having a good starting point for production configs out there. I don't think Imply stands to gain anything from having suboptimal defaults – if anything we really want people to have a great experience benchmarking Druid out of the box.
I agree with your (2), (3), (4), (5), (6), and (7) though @drcrallen :)
Personally I think it's best to focus on,

https://github.com/druid-io/druid/tree/master/examples/conf-quickstart as a good set of defaults for a single-machine setup,
https://github.com/druid-io/druid/tree/master/examples/conf as a good set of defaults for a cluster,
and the reference docs explain all the other options for people that want to really get into it.

:+1:
I agree with @gianm here regarding focusing on quick start and make it such that extending that into production configuration is  a matter of updating key config values.
as far as suggested configuration is concerned, my experience is that there is no single good answer there... it greatly depends upon the use case, batch/realtime ingestion time , ingestion and query load.  we have various clusters with fairly different production configuration.

authors: drcrallen fjy gianm himanshug

repo: druid-io/druid


text:
Uncaught DOMException when sorting after switching between pages in SPA

I have a website with 3 tabs, each having a table with class sortable. When I switch between tabs and want to sort the table it fails and prints stack trace:
bootstrap-sortable.js:20 Uncaught DOMException: Failed to execute 'querySelector' on 'Element': 'td:nth-child(NaN)' is not a valid selector.
at http://localhost:4200/assets/bootstrap-sortable.js:20:759
at t (http://localhost:4200/assets/bootstrap-sortable.js:20:4272)
at S (http://localhost:4200/assets/bootstrap-sortable.js:20:588)
at e (http://localhost:4200/assets/bootstrap-sortable.js:20:4139)
at defaultSortEngine (http://localhost:4200/assets/bootstrap-sortable.js:231:9)
at doSort (http://localhost:4200/assets/bootstrap-sortable.js:310:13)
at sortByColumn (http://localhost:4200/assets/bootstrap-sortable.js:208:9)
at HTMLTableCellElement. (http://localhost:4200/assets/bootstrap-sortable.js:202:9)
at HTMLDocument.dispatch (https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:3:10316)
at HTMLDocument.q.handle (https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:3:8343)
When i refresh the page it works fine.
I used angular 5.

my guess would be, that when you switch tabs, the table is recreated, but the bootstrapSortable is not called for the new table
check if there is an attribute 'data-sortcolumn' on the header cell after you switch the tabs

I'm a little confused. Should I add attribute: 'data-sortcolumn="true"' for each  element, like:
First Name?


text:
Use dry-types from master

Changes for dry-types 0.15

done via GH

repo: dry-rb/dry-schema


text:
refactor: clean up for embedded

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows conventional commit format
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Other information

:tada: This PR is included in version 0.10.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

repo: dryerjs/dryerjs


text:
Add [your name] Markdown

Project Request

Proejct Request to Add [your name] markdown file and route

Field
Description

Name
Suchir-M-Velpanur

Email
smv1524@gmail.com

Github
suchirmv-1524

https://github.com/suchirmv-1524
What do you what to contribute to:

[x] HackFest GDSC Contributor
[x] Hacktober Fest Contributor

please add your name in the issue title


text:
Add Siri-M-M Markdown

Project Request

Proejct Request to Add [your name] markdown file and route

Field
Description

Name
SIRI_M_M

Email
sirimm2003@gmail.com

Github
SiriMM22

What do you what to contribute to:

[Yes ] HackFest GDSC Contributor
[Yes ] Hacktober Fest Contributor

Add your github link below the table


text:
Upgrade monaco-editor

For some reason, upgrading monaco-editor caused #53. It would be good to see how to upgrade monaco-editor and react-monaco-editor to their latest versions.

Upgraded.

repo: dsherret/ts-ast-viewer


text:
Manipulating nodes within forEachKind of forEachDescendant causes out of date nodes to be wrapped

Obvious why this is happening, just have to find a solution:
const project = new Project({ useVirtualFileSystem: true });
const sourceFile = project.createSourceFile("test.ts", `
const t = 5;

function test() {};`);

sourceFile.forEachDescendant(node => {
    if (TypeGuards.isVariableDeclaration(node))
        node.setType("any");
    console.log("Kind: " + node.getKindName());
    console.log("Text: " + node.getFullText());
});

Outputs:
Kind: VariableStatement
Text:
const t = 5;
Kind: VariableDeclarationList
Text:
const t = 5
Kind: VariableDeclaration
Text:  t: any = 5
Kind: Identifier
Text:  t
Kind: AnyKeyword
Text:  any
Kind: NumericLiteral
Text:  5
Kind: FunctionDeclaration
Text:  = 5;

function test
Kind: Identifier
Text: ction
Kind: Block
Text: est
Kind: EmptyStatement
Text: (
Kind: EndOfFileToken
Text:

Interesting couple of questions / thoughts:
do you think this is an issue that the library should tackle or should the user be responsible of first query all the nodes he wants to modify and modify them all together as suggested in the docs ? Thinking very roughly I don't see way of solving the problem besides visiting all source file's nodes and fix their ranges which could be very expensive. Will check it out how / if is solved for other modifications like addClass/addMethod, etc I think in those there is no such problem . I would like to know what's your plan for this if you have one and is short to explain :)
What about making the whole sourcefile (forgotten) when user modify any of its nodes as it happens with insertText() ?
Also, perhaps it could related with https://github.com/dsherret/ts-simple-ast/issues/351 - if I have a way to identify nodes uniquely then something like the following should be safe: ids.forEach(id=>sourceFile.query(id).modify()) -
(sorry for thinking aloud here)

The node tracking between manipulations is one of the main features of this library and what makes it so easy to use.
For performance reasons, it's for this specific situation:

If the code analysis is using types, symbols type checker, or program, then a large performance improvement can be gained by doing an initial analysis of the code first, then afterwards carrying out the manipulations.

Anyway, this is a really easy fix. Will do it soon.

authors: cancerberoSgx dsherret

repo: dsherret/ts-simple-ast


text:
Workaround for Holley DZ541

There is an issue in the firmware of recently in germany deployed smart meters. the provider will not update the meters and with the current sml implementation it won't speak correct sml.
To be able to use @Apollon77 s iobroker.smartmeter i have added a workaround (like i had in libsml for volkszaehler). @Apollon77 already had a short review and is fine with the changes.
Here is the PR for the your project, feel free to discuss or review.
Background:
https://github.com/volkszaehler/libsml/issues/75
https://github.com/Apollon77/ioBroker.smartmeter/issues/34

To be honest I do not like that fact that manufactorer deliver such bad firmware quality to customers ... but we can not do anything agsinst that and these devices are out the in the wild, not updatable and will not be replace by the energy companies :-(
So I do not really see any chance other then integrating this. In my eyes it is specific enough to not have "false positive risk". I support the PR!

@dspautz What's your opinion? I would wait 1-2 days if you have a veto or such and then merge the PR and publish a new version ...

Can we do a merge?

Will do tonight

I now prepare to update all deps and so ... we will see how this ends :-)

repo: dspautz/OpenSML


text:
Add ability to draw points

This is essentially a wrapper around the circle_marker method from
folium and keeps the same arguments.
Now we can do:

>>> points = [MapPoint((51.5135015, -0.1358392))]
>>> draw_map((51.5135015, -0.1362392), points=points)
<hooray it's a map!>

Now all that's left to finish #5 is polygons which seem a bit more
involved since the folium primitive isn't what we want.
Depends on #17

Github is unfortunately bad at PRs that depend on other PRs. See https://github.com/dsten/datascience/compare/setup-folium...draw-points for the actual changes made between #17 and this PR.

repo: dsten/datascience


text:
Fixed the Wijkanders import.

Wijkanders replaced their  with  and suddenly we didn't parse
anything. This should be fixed in this commit which changes the
algorithm to process content until next date or a last phrase is
encountered. I guess this will work until Wijkanders changes something
again. We'll see, we'll see...

This commit should reference #75.

If you squashed/fixupped your "fix hlint" - commit with the main commit I'd be even happier.

It is done. Thank you for the thorough review @Jassob

authors: Jassob Rembane

repo: dtekcth/mat-chalmers


text:
ExternType fails static assert because the C++ type has a copy constructor

Hello!
I'm creating a wrapper for OpenImageIO, and I'm running into an issue where I can't pass the static check https://github.com/dtolnay/cxx/blob/743caa283ced87d021e67c65ced1860fe0a11ecc/gen/src/write.rs#L436 because of this copy constructor https://github.com/OpenImageIO/oiio/blob/665c634b12ea8bc206e7a5dd9475cffa974e8522/src/include/OpenImageIO/typedesc.h#L165.
I could be wrong, but it it looks like this should pass, so this may be a case where removing the static check may be okay, however, having this in the first place did stop me to make sure I wasn't being a complete idiot and brought me to where we are now.
So, I have two main questions:

Is this static assert correct, and I have to wrap this in a unique pointer (or some option C)?
If this static assert can go away, then are we able to do this in a way where we can say "I'm absolutely sure that this type is okay to use" and still keep the static checks in place? Or, would it be on me in my c++ wrapper side to make sure the static asserts are in place?

I think #359 is the proposal to provide just the sort of override you need.

Ack. That's what happens when you post before really looking at the issues. I'll close this thread.

authors: adetaylor scott-wilson

repo: dtolnay/cxx


text:
Restore linters missed when merging bitcoin 0.17

Signed-off-by: Julian Fleischer julian@thirdhash.com

lint-clang-format is used for src/, and lint-newline-at-eof is for both src/ and test/. Why have they been moved to test/ dir?

Since bitcoin 0.17 all linters reside in test/lint.

This pull request also executes all linters always now (instead of exiting on first erroring script).
Backporting to bitcoin in https://github.com/bitcoin/bitcoin/pull/16036

authors: frolosofsky scravy

repo: dtr-org/unit-e


text:
Bump Arrow to 51

Bumps the Arrow dependency to 51

Can you bump the version in libduckdb-sys as well please?

Looks like I mistakenly made this change in one of my own prs, oops. I'll close this, but thanks for the pr regardless!

authors: Mause phillipleblanc

repo: duckdb/duckdb-rs


text:
Issue found on page 'DuckDB with DataFusion'

Please describe the issue on the page and include the "Page URL" link shown below.
Page URL: https://duckdb.org/docs/guides/python/datafusion.html
The example on the page doesn't work. Run it and you will get:
Traceback (most recent call last):
    ...
    .aggregate(
     ^^^^^^^^^^
Exception: Schema error: No field named a. Valid fields are c85c1cb92bf6c465ca501674bc454f7f1."A", c85c1cb92bf6c465ca501674bc454f7f1.fruits, c85c1cb92bf6c465ca501674bc454f7f1."B", c85c1cb92bf6c465ca501674bc454f7f1.cars.

import duckdb
import pyarrow as pa
import pandas as pd
import datafusion as df
from datafusion import functions as f

pandas_df = pd.DataFrame(
    {
        "A": [1, 2, 3, 4, 5],
        "fruits": ["banana", "banana", "apple", "apple", "banana"],
        "B": [5, 4, 3, 2, 1],
        "cars": ["beetle", "audi", "beetle", "beetle", "beetle"],
    }
)

arrow_table = table = pa.Table.from_pandas(pandas_df)
arrow_batches = table.to_batches()

ctx = df.SessionContext()
datafusion_df = ctx.create_dataframe([arrow_batches])
print(datafusion_df)

arrow_batches = (
    datafusion_df
        .aggregate(
            [df.col("fruits")],
            [f.sum(df.col("A")).alias("sum_A_by_fruits")]
        )
        .sort(df.col("fruits").sort(ascending=True))
        .collect()
)
datafusion_to_arrow = (
    pa.Table.from_batches(arrow_batches)
)
print(datafusion_to_arrow)

I think we can just remove this entire page perhaps?

Resolved by #1578.

authors: Mytherin szarnyasg

repo: duckdb/duckdb-web


text:
Make InsertTupleIntoChunk more efficient

Description
While renaming variables I think we should be able to simplify the InsertTupleIntoChunk code a bit. In at least two ways:

the values array only needs to contain the values that we actually need to output, now it also contains values that we
We now detoast variables twice if they are both part of a filter and one of the output variables. Doing it once should be enough.

/assign

Closing this in favor of #477

authors: JelteF Reminiscent


text:
Replace whitelist strings references in English and Spanish

Task/Issue URL: https://app.asana.com/0/414730916066338/1180899597720226
Tech Design URL:
CC:
Description:
This PR replaces references to "whitelist" in English and Spanish. Until we get new translations for all the languages we have moved the English strings to the untranslated file for clarity.
Steps to test this PR:

Launch the app.
Go to a website.
Open the menu and see there are no references to whitelist.
Open settings and see there are no references to whitelist.
Open "Unprotected sites" and see there are no references to whitelist.
Repeat in Spanish with no references to "lista blanca".

Internal references:
Software Engineering Expectations
Technical Design Template

@cmonfortep, @malmstein I'm adding you both here to review this PR because of the Spanish translations in case you can think of something better.

All changes done! Thanks a lot @malmstein and @cmonfortep for the feedback! I'll merge once the product review is approved.

repo: duckduckgo/Android


text:
The combination +api +ataraxy +cljs +example +site +heroku +postgres doesn't work

Hi,
I try to create a project with:
lein new duct-alpha testduct +api +ataraxy +cljs +example +site +heroku +postgres
cd testduct
lein duct setup
In the  repl the (dev) call returns with the error:
CompilerException clojure.lang.ExceptionInfo: Call to clojure.core/refer-clojure did not conform to spec:
In: [2 1] val: :as fails at: [:args :exclude :op :quoted-spec :spec] predicate: #{:exclude}
In: [2 1] val: :as fails at: [:args :only :op :quoted-spec :spec] predicate: #{:only}
In: [2 1] val: :as fails at: [:args :rename :op :quoted-spec :spec] predicate: #{:rename}
In: [2] val: (quote :as) fails at: [:args :exclude :op :spec] predicate: #{:exclude}
In: [2] val: (quote :as) fails at: [:args :only :op :spec] predicate: #{:only}
In: [2] val: (quote :as) fails at: [:args :rename :op :spec] predicate: #{:rename}
:clojure.spec.alpha/spec  #object[clojure.spec.alpha$regex_spec_impl$reify__1200 0xf301248 "clojure.spec.alpha$regex_spec_impl$reify__1200@f301248"]
:clojure.spec.alpha/value  ((quote :exclude) (quote [reduce into merge map take partition partition-by bounded-count]) (quote :as) (quote core))
:clojure.spec.alpha/args  ((quote :exclude) (quote [reduce into merge map take partition partition-by bounded-count]) (quote :as) (quote core))
#:clojure.spec.alpha{:problems ({:path [:args :exclude :op :spec], :pred #{:exclude}, :val (quote :as), :via [], :in [2]} {:path [:args :exclude :op :quoted-spec :spec], :pred #{:exclude}, :val :as, :via [], :in [2 1]} {:path [:args :only :op :spec], :pred #{:only}, :val (quote :as), :via [], :in [2]} {:path [:args :only :op :quoted-spec :spec], :pred #{:only}, :val :as, :via [], :in [2 1]} {:path [:args :rename :op :spec], :pred #{:rename}, :val (quote :as), :via [], :in [2]} {:path [:args :rename :op :quoted-spec :spec], :pred #{:rename}, :val :as, :via [], :in [2 1]}), :spec #object[clojure.spec.alpha$regex_spec_impl$reify__1200 0xf301248 "clojure.spec.alpha$regex_spec_impl$reify__1200@f301248"], :value ((quote :exclude) (quote [reduce into merge map take partition partition-by bounded-count]) (quote :as) (quote core)), :args ((quote :exclude) (quote [reduce into merge map take partition partition-by bounded-count]) (quote :as) (quote core))}, compiling:(clojure/core/async.clj:9:1)
user=>

@dpom this works fine if you don't use duct-alpha
$ lein new duct testduct +api +ataraxy +cljs +example +site +heroku +postgres
Generating a new Duct project named testduct...
Run 'lein duct setup' in the project directory to create local config files.

$ cd testduct/

$ lein duct setup
Created profiles.clj
Created .dir-locals.el
Created dev/resources/local.edn
Created dev/src/local.clj

Thanks, indeed it works. What are differences between duct and duct-alpha?

One is the released version, the other is the old alpha.

authors: dpom iperdomo weavejester

repo: duct-framework/duct


text:
Add Banca Intesa Serbia.

Hi,
Found one more example: Banca Intesa Serbia. Explanation and screenshot included.
Regards.

Thank you for the contribution!

You're welcome.
I will keep an eye for more.

repo: dumb-password-rules/dumb-password-rules


text:
🛑 Mention Robot is down

In f47293f, Mention Robot (https://backend.isbotdown.com/bots/mentionrobot) was down:

HTTP code: 200
Response time: 156 ms

Resolved: Mention Robot is back up in 7155f0d.

repo: durof/status


text:
🛑 Mention Robot is down

In 1ffbaba, Mention Robot (https://backend.isbotdown.com/bots/mentionrobot) was down:

HTTP code: 200
Response time: 107 ms

Resolved: Mention Robot is back up in 2ba1564 after 1 hour, 35 minutes.


text:
[Production checks] Move scrubbing pagination to 100

Description
Temporary resolution of https://github.com/dust-tt/tasks/issues/1293 as discussed in the issue
Risks & deploy
na

PMRR

🙏🏻

authors: PopDaph philipperolet

repo: dust-tt/dust


text:
New version availiable, updated as per instructions, getting this error.

I know last time i forgot to npm update but this time I did all the steps I promise..
/home/xxx/Desktop/mybots/live/poloLenderPro/node_modules/big.js/big.js:317
throw err;
^
BigError: NaN
at throwErr (/home/xxx/Desktop/mybots/live/poloLenderPro/node_modules/big.js/big.js:314:19)
at parse (/home/xxx/Desktop/mybots/live/poloLenderPro/node_modules/big.js/big.js:184:13)
at Object.Big (/home/xxx/Desktop/mybots/live/poloLenderPro/node_modules/big.js/big.js:90:17)
at currencies.forEach.currency (/home/xxx/Desktop/mybots/live/poloLenderPro/server/workers/poloLender/poloLender.js:803:17)
at Array.forEach (native)
at emitPerformanceUpdate (/home/xxx/Desktop/mybots/live/poloLenderPro/server/workers/poloLender/poloLender.js:798:16)
at Namespace.onBrowserConnection (/home/xxx/Desktop/mybots/live/poloLenderPro/server/workers/poloLender/poloLender.js:873:5)
at emitOne (events.js:96:13)
at Namespace.emit (events.js:188:7)
at Namespace.emit (/home/xxx/Desktop/mybots/live/poloLenderPro/node_modules/socket.io/lib/namespace.js:212:10)

Seems that it has to do with updated config.
Copied over this part and seems to have started fine now.
#Telegram bot token and your user Id
POLOLENDER_TELEGRAM_TOKEN=123456789:AAHIxxxxxxxxxxxxxZxxxxxxxxxxxxxxxkk
POLOLENDER_TELEGRAM_USERID=111111111
#Report interval in minutes for Telegram reports(default is 60 minutes)
POLOLENDER_TELEGRAM_REPORTINTERVAL=60

POLOLENDER_ADVISOR_TOKEN=dummyToken

Yea issue fixed. I think you need to add to your update instructions, to merge any config file changes as well. 👍
Nice update.

So far config files are backwards compatible and you only need to update if you need the additional features.

authors: abclution dutu

repo: dutu/poloLender


text:
build后的文件放在tomcat或者nginx下面，页面空白，看页面源码正常。

开发调试都正常，现在想发布版本，npm run build后也提示经过gzip压缩优化的结果，文件也小了些，放在tomcat里面访问的时候，页面空白，页面源码也没有问题，看控制台也没有问题...
官方的userboard也是一样，难道是我哪儿做的不对？
还有个疑问，我build userboard时，会有1.1.js...我自己的项目又没有...

服务器路由路径和页面路由一致吗

确实是路由不一致，我放在tomcat的Root的dist目录下，访问http://127.0.0.1:8080/dist/就显示空白页，如果直接放在Root下，访问http://127.0.0.1:8080就没问题。
只能调整redux router?

我让服务端路由路径为空，http://localhost:8080/main，main是页面路由路径，这个时候，如果f5刷新，向服务器发请求，服务器拦截/main，结果又报错...大家是咋整的？

这是服务端配置问题，自行找方案解决吧，主要是要让请求 /main 时能正确的输出 html 内容。也可以参考下这里的文档：https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#deployment

@bjwulin 服务器重写url到/

authors: GrayChoi bjwulin sorrycc

repo: dvajs/dva


text:
External midi input triggering launchpad midi out commands...

To implement an easy solution for all of us we need foot control for Launchpad app on iOS...
It will be very useful make possible (if it isn’t atm idk) to send the right midi command to the input port and Launchpad can handle it as own message to avoid the usual filtering by Launchpad app and give users the chance to program our foot controllers to launch clips/rows...
Anyone?

I guess one could program the Launchpad Pro to translate foot controller messages from its DIN port. Sorry for the ancient case resolution!

authors: DubbyLabby dvhdr

repo: dvhdr/launchpad-pro


text:
Generics require special treatment

The plugin currently treats generic types like other class-like identifiers. It should exempt them from the list of classes needing to be imported.

Rudimentary detection of generic types added in bba65b33412e18a51613b7d108a5105479ea97f0.

repo: dvogel/vim-cpid


text:
Add IR Transmitter function

My device won't turn on after shutting down. It needs an IR blaster to turn it on. I have installed a network IR transmitter and just need to access http to trigger the start IR. How to modify the code?

Nice idea. If you can contribute, you can start by looking at handleOnOff()  function inside index.js, or you can wait for my implementation once I got free time to look for it.

Thank you, I tried to modify the code, but there seems to be a bug, the device state will be uncontrolled, and the shutdown state will return to the on state

Thank you for the contribution. Implemented in new version, in beta testing right now.

authors: Jerrys-j dwaan

repo: dwaan/homebridge-adb


text:
Wording on Demo References

Application
In the demo README.rst, the choice of the word "References" can be misleading as people may believe the code is reproducing the paper listed in References, rather than simply acknowledging the paper as a citation.
Proposed Solution
Perhaps consider using the phrase "Inspired by" instead.

Note: I personally prefer the term "References" as it is a fairly standard word to refer to a citation. I would also be open to "Further Information" or "Citations" as these also seem like common phrases to refer to a citation. I am reluctant to use "Inspired by" as to me, it seems like an unusual way of referring to a citation.
Anyway, I wanted capture this feedback that I have received from others in the form of an issue.

repo: dwavesystems/demos


text:
Add ability to merge serveral DQM or BQM objects

It would be useful to merge several BQM/DQMs.
At the moment one can do
bqm.update(other_bqm)

to merge two BQM objects.
We should add a DQM.update as well.
Further, it would be useful to combine many DQM/BQM together at relative weights. See https://github.com/dwavesystems/dimod/pull/784#issuecomment-769358918
One way to accomplish this would be a merge function, as suggested in https://github.com/dwavesystems/dimod/pull/784#issuecomment-769358918
Another would be to add a weight parameter to the BQM.update() and DQM.update() methods. Likely the function would end up calling the methods, but rolling them together would be nice.

I have been thinking about this. I believe that the operations (+, -, *, pow(), sum()) should always return a new object.
For example:
bqm + bqm + bqm
can be unambiguous, if bqm changes in the first operation. For example, if the bqm only has a bqm.offset = 1, the expression above can result in bqm.offset being 4 instead of 3.

Yes, of course. + should always make a new one, += modifies an existing. Did I imply otherwise?

nope. I had the wrong starting point in my head. To save space, one might consider modifying the largest BQM rather than creating a new one.

Makes sense, I think merge would look something like
def merge(bqms):
    merged_bqm = bqms[0].copy()
    for bqm in bqms[1:]:
        merged_bqm += bqm
    return merged_bqm

Obviously with input checking and avoiding the copy on list slice.

In 0.10.x there are two BQM objects, AdjVectorBQM and AdjDictBQM. right? Should all methods add to both objects as well as DQM?
All in one PR or multiple PR?

Unless it's urgent, I would not make any PRs on this. There are some fundamental decisions about structure and API that need to be worked out. In the case that we need performant merging urgently, I'd like to address https://github.com/dwavesystems/dimod/issues/757. It's not a hard change to make, but given the current implementation work, I should do it so we're not doing redundant work.

authors: arcondello hsadeghidw

repo: dwavesystems/dimod


text:
Fileview 2.0

Closes #659

Error is caused by different in neighborhood dtype in windows 32 (uint32) vs 64 bit systems (uint64). Will fix.

Current failure is on circle-ci's side. This code is not the larger refactor that I'd like but I can make that as a subsequent PR.

Looks good.

authors: arcondello randomir


text:
Allow type to be a string for multi_logger and syslog

Now there is an inconsistency in creating loggers:
You can create logger with type: 'file', but you will get an error if you would try to create a logger with type: 'syslog' or type: 'multi_logger'. Syslog and Multi_logger only accept symbol as a type.
I made logger creation the same for 'default logger' and for syslog and multi_logger.

Codecov Report

Merging #131 into master will increase coverage by 0.02%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #131      +/-   ##
==========================================
+ Coverage   92.81%   92.83%   +0.02%
==========================================
  Files          64       64
  Lines        1628     1633       +5
==========================================
+ Hits         1511     1516       +5
  Misses        117      117

Impacted Files
Coverage Δ

lib/logstash-logger/logger.rb
84.48% <100%> (+0.27%)
:arrow_up:

spec/syslog_spec.rb
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a40fbb5...fdf7953. Read the comment docs.

@dwbutler

authors: AlexeyKrasnoperov codecov-io

repo: dwbutler/logstash-logger


text:
ESC button  closes the application

We do note need the ESC button to close the application anymore since there are multiple ways to close it now.

This has been fixed with this commit 42dc341


text:
fix(cli): Move agent start failure handling in ForeverDaemon

copilot:all

Current dependencies on/for this PR:

main

PR #3702   👈

This comment was auto-generated by Graphite.

repo: dxos/dxos


text:
Infinite Background and rightly fitted background image

An infinitely scrolling background with the current background image

Hi Maxime, have you already choose the background image ?
I'll try to think about that issue later.

Hey Julien,
Yeah, I used that one that one

Hey Julien, Yeah, I used that one, but right now it's too large and it doesn't properly fit the app

Thank you Max.

Hi,
I just check out the FXGL repository on GitHub and I've found this issue :

I hope it can help us !

7df6f4a4f3bf5e44bd2fcf44136564bfdfa5ac6f

authors: DatBoiSaix jvondermarck

repo: dylan-power/dinosaur-exploder


text:
Hiera 5 Support is bad

Hiera 5 works a bit differently. If you have a hiera.yaml under the spec directory, it is not respected and uses the main one. This is unlikely to be expected, it should use the one under spec. However it also needs a path relative to the hiera.yaml, instead of being relative to the root of the controlrepo as in hiera 3

The fix for this breaks the way 3.2.0 worked. We are still using puppet 4.7.0, which changes do I need to make to get this working with the new version.

authors: dylanratcliffe sandymcp

repo: dylanratcliffe/onceover


text:
Making AsyncHTTPClient an implementation detail? Supporting URLSession...

@ronaldmannak I was thinking based on your last contribution, that it might make sense to restructure the use of AsyncHTTPClient to clean up usage. I was also thinking it might make sense to potentially allow passing either an AsyncHTTPClient or URLSession in order to perform the requests. Haven't really sat down to think this through, but I'd be curious to hear your thoughts.

FYI: The previous implementation was probably fine for 95%+ of the use cases. The memory leak only occurred when releasing openAIKit while the app is running. Most implementations probably never released the client until the app shuts downs.
One thing I've been thinking of is the possibility of overriding the default URL in case you want to use a proxy. With that, an example AWS Lambda implementation would be good to include. However, for GPT4 we'd really need streaming. GPT4 is too slow and AWS Gateway will timeout. Maybe we could add a AWS lambda example, restructure the HTTP client and implement streaming next.
I don't have any strong opinion about how to do that and I'm not super familiar with Nio. Is your suggestion to use URLSession instead of Nio or can URLSession be used on top of Nio?

Being able to configure URLs should be an easy change as just an extra parameter when initializing the OpenAIKit client.
Let me take a stab at that here

@dylanshine Awesome! If you have a chance, please do check the other Nio-based project that has working steaming. I'd be happy to take a stab at it, but since you're more experienced with Nio, you probably will be able to add streaming much faster than I can. I can't stress enough how important steaming is for GPT4. People are literally asking why the app is so slow https://twitter.com/imkevinxu/status/1640192636236730370?s=20

@ronaldmannak Can you link the project here?

@dylanshine absolutely, I mentioned it here: https://github.com/dylanshine/openai-kit/issues/15#issuecomment-1481798156

@ronaldmannak Take a look at https://github.com/dylanshine/openai-kit/pull/38 and lmk if it fits your needs mentioned in https://github.com/dylanshine/openai-kit/issues/30#issuecomment-1485470182

https://github.com/dylanshine/openai-kit/releases/tag/1.8.0 supports URLSession

authors: dylanshine ronaldmannak

repo: dylanshine/openai-kit


text:
[Snyk] Fix for 4 vulnerabilities

Snyk has created this PR to fix 4 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):

plugins/airbrake/package.json

Note for zero-installs users
If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

⚠ Warning
Failed to update the yarn.lock, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Asymmetric Resource Consumption (Amplification) SNYK-JS-BODYPARSER-7926860
  112

Cross-site Scripting SNYK-JS-EXPRESS-7926867
  80

Cross-site Scripting SNYK-JS-SEND-7926862
  80

Cross-site Scripting SNYK-JS-SERVESTATIC-7926865
  80

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Cross-site Scripting

🎉 Snyk hasn't found any issues so far.
✅ code/snyk check is completed. No issues were found. (View Details)

repo: dylansnyk/backstage


text:
add powershell as dependency

Unsure if dotnet would imply the existence of powershell tools, but may be worth adding here too.
https://github.com/dylibso/xtp-csharp-bindgen/blob/84129b70d1a2a12a1c56ae6ec50dc9efeda8437f/config.yaml#L3

The only issue with that is, on Linux you can only install Powershell Core (pwsh), on windows, Powershell (powershell) is installed by default, but you can also install pwsh. I have changed the script to work with either of them. currently there is no way to specify this requirement: pwsh OR powershell

authors: mhmd-azeez nilslice

repo: dylibso/xtp-csharp-bindgen


text:
doc(pt-br): translate flask extension to pt-br

In 2023 I would like to contribute to the open-source community. I don't have much experience in the area but we need to start with something, which is a small contribution to a project maintained by a guy that I think is really cool (@rochacbruno).
I would greatly appreciate your feedback.

thanks

authors: otaviodantas rochacbruno

repo: dynaconf/dynaconf


text:
BUG Checkout - go full window, rather than existing small pop up

Need to determine where the checkout style is being set (assuming related to buybutton), and see if this is adjustable.
Ideally the checkout would load full-page in the existing window, vs. the small phone-sized pop up that happens currently.

closed via #84

repo: dynamic/silverstripe-shopify


text:
EntityAction is missing from the global export (v1)

IS:
currently only Entity is exported from types/index.js
the documentation mentions and showcases an import of EntityAction from the index.js (see https://www.dynamodbtoolbox.com/docs/getting-started/usage#how-do-actions-work)
SHOULD:

export EntityAction with types/index.js

@aaarichter Thanks for the issue and the PR! Should be good in https://github.com/dynamodb-toolbox/dynamodb-toolbox/releases/tag/v1.3.6

authors: ThomasAribart aaarichter

repo: dynamodb-toolbox/dynamodb-toolbox


text:
Trading

https://bitfancoin.com/trading?name=BTCUSDT

https://bitfancoin.com/trading?name=BTCUSDT

```
- > # ~~~~


text:
Refactor: k8s-agent private-key init: generate

The original task is split into two, this is the first half.
It might seem difficult, it covers a lot, but the issue is explicit.
You are going to need a cluster to develop this feature & test it, that can be done locally: kind or minikube.
Issue:
Right now crane (that is the in-house name of our k8s agent) deployment is depending on having a persistent volume attach to store its private key that is used for secret encryption. Attaching a PVC imposes heavy restrictions and possible configuration problems possibly leading to inconsistent behavior in different environments, while using kubernetes native objects can already save the day.
Folder of k8s manifests:
https://github.com/dyrector-io/dyrectorio/tree/develop/agent/manifest/kubernetes
Currently the private key that is generated is written to a file.
TODO:

Extend crane with a CLI command as an option to run crane init,  if nothing is provided start the program normally
Add new makefile (agent/Makefile) target: go-crane-init

it starts the init process, then exit

The init function can use the generateKey function to generate the key (internal/config/secret.go) - expose it
Save the output to a k8s opaque secret
Reorganize configurations

Move the current secret behavior (type ConfigFromFile) into pkg/dagent/config/secret.go package and into dagent's own config type
Create new type in a similar way for achieving similar effects using secrets into crane ConfigFromSecret pkg/crane/config/secret.go
The new type setter in crane expects a string (namespace), from env variable: NAMESPACE - also new.
In the setter

If namespace not provided, attempt to use the dyrectorio namespace
GetSecretClient function can be reused from k8s package - expose it
Load secret value

Hint:
Avoid panics, make sure to run lint, unit tests are welcome.

Hello @nandor-magyar , I'm interested in this issue.
During the initial investigation of below todo, I have no idea that how to save the output from initContainer's stdout to k8s opaque secret in yaml form.

Save the output to a k8s opaque secret

Do I need to store it directly through the Kube API? or Call kubectl create on Makefile?

The new type setter in crane expects a string (namespace), from env variable: NAMESPACE - also new.

Oh, maybe I need to implement it as first way ("directly through the Kube API" in crane itself.)

Correct. You can use crane's functions, though I would assume you won't need much of the code, only a secret client that is mentioned in the issue.

This is my first attempt of using a golang on production. so my question would be quite silly for maintainers.
I'm getting a circular import error between agent/pkg/crane/config/secret.go and agent/pkg/crane/k8s/secret.go during

Create new type in a similar way for achieving similar effects using secrets into crane ConfigFromSecret pkg/crane/config/secret.go
The new type setter in crane expects a string (namespace), from env variable: NAMESPACE - also new.
In the setter

If namespace not provided, attempt to use the dyrectorio namespace
GetSecretClient function can be reused from k8s package - expose it
Load secret value

What about moving all ConfigFromSecret related codes to agent/cmd/crane/secret.go?

There is nothing silly about asking questions, the most efficient way would be if you could open a draft PR with the changes you have already.
Moving into the cmd directory is not really preferred if it used elsewhere in under pkg, but isolating the common part is the right approach. :+1:

authors: minhoryang nandor-magyar

repo: dyrector-io/dyrectorio


text:
Notification can be setted : vibration, bell, just notification.

it will be finished until 12/14.
if had trouble in doing it, please contact.

구현됨.

repo: dytlgozj/WebtoonAlarm


text:
Test commit

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

/test all

/test all

@adelina-t: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pull-kubernetes-bazel-test
3362fbc8b61c777bfab358e62445cdb2337fd5bd
link
/test pull-kubernetes-bazel-test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test pull-kubernetes-bazel-test


text:
Expose jsPDF's output formats to config. Promise interface.

You can specify the output format of jsPDF in attribute 'pdfOutputFormat' of the options object. For example 'datauri'.
Now html2pdf function returns a promise, resolved with pdf in the desired format, or undefined on save.

Hey @sergilrod, thanks for the contribution! As I've mentioned elsewhere I'm working on a revamp to the API, which will include Promises and the ability to customize the output.

Ok then. Looking forward to see the changes.
Thanks!!

Hi, I have just pushed a new branch, new-api, which is ready for testing! The readme has all the information on the new API. Please let me know if there are any problems with it - I want to make sure it's stable before merging into master!
The jsPDF.output method is now exposed through html2pdf's own output method, like so:
html2pdf().from(element).toPdf().output(type, options).then(function (val) {
  // Output value is stored in val.
});

Closing, v0.9.0 added the requested feature.

authors: eKoopmans sergilrod


text:
Can Foxglove WebSocket be supported?

Using ddsrecorder can only save topic data as an MCAP file for offline visualization. ddsrecorder can add a WebSocket Server to convert topic data into MCAP data in real-time, thereby achieving online visualization.
reference:
https://docs.foxglove.dev/docs/connecting-to-data/frameworks/custom#foxglove-websocket
https://github.com/foxglove/ws-protocol/tree/main/cpp

Hi @tokamakz ,
Thanks for reaching out. Yes we are aware of this capability in Foxglove, but unfortunately we are currently not able to allocate the resources required to implement the feature you are requesting. I suggest however contacting our commercial support team in order to study your use case and offer a working solution.

authors: juanlofer-eprosima tokamakz

repo: eProsima/DDS-Record-Replay


text:
Large amount of directories when running ensemble of models

In the current setup, a config file directory is created every model instance
https://github.com/eWaterCycle/ewatercycle-leakybucket/blob/450f8558985997446f912a826212acf00995e339/src/ewatercycle_leakybucket/model.py#L39
Looking at Data Assimilation, a large amount of models are run. This creates a large amoount of config files for every instance of the model (currently I have 180 folders from testing :P).
I thought of:
config_file = self._cfg_dir.parent / "HBV_models" / self._cfg_dir.name / "HBV_config.json"

Is the self._cfg_dir used elsewhere? or is this safe to implement?

This is intentional. You can specify where the folders end up in the ewatercycle configuration
                we don't create a temporary directory,
                but rather a time-stamped folder inside
                ewatercycle.CFG['output_dir'].

https://github.com/eWaterCycle/ewatercycle/blob/d02450bb079d213f1c7f2ac0100268b0ad8cab1b/src/ewatercycle/base/model.py#L95
I think the best way to tackle this is to modify your .finalize method so it cleans up the _cfg_dir.
For safety you can first delete the config file and then use Path.rmdir() which should fail if the directory is not empty.

authors: BSchilperoort Daafip

repo: eWaterCycle/ewatercycle-leakybucket


text:
Verify that a given --commit is available

Before going through with a deployment, git should be fetched and the repository should be checked to verify it does contain the commit to be deployed.
If it is not, the deployment process should die/exit.

Deployment will fail if the commit is not available, but it won't broke the current version, which is good enough.

authors: pgrenaud tomzx

repo: eXolnet/laravel-envoy


text:
Icon default

Forge-VTT server based game
Windows 10
Chrome
When I target things as the DM, the module works fantastic. When my players target anything, the icon displayed is the generic actor icon.
Only thing I can see in console is
DevTools failed to load SourceMap: Could not load content for https://asgard.forge-vtt.com/modules/target-enhancements/src/pixi-filters.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
So, not sure if its an error with the mod or something specifically to do with Forge, but I thought I would post here to start.

This happens when players do not have an avatar configured. To do so, right-click on their name in the "Players" box in the bottom left and select "player configuration".  You can select an avatar in that screen.

authors: Khybersghost eadorin

repo: eadorin/target-enhancements


text:
Feature Request [Enhancement]

Wondering if you are planning on implementing additional features?
Some features I'd love to see are:
User support Features:

Multiple Account sniping, (1 set of coordinates all account snipe target) **Probably will not be able to implement this, it's beyond the scope of what I know in Python -earshel

Pokemon Management

 Mass Evolve (Feature added to Pokemon Inventory Manager) **Done -earshel
Upgrade Pokemon feature (select a single Pokemon and it would upgrade it next lvl using stardust and candies)
 Sort Pokemon (based on, IV, CP, POkedex number, etc.)**Done -earshel
Select based on Criteria (CP <X, IV<X, etc)  **Done -earshel
Candy count area (would be nice to know what candies we have) **Done -earshel

Item Management
Another tab that I can look at the items in the trainers inventory and discard them as wanted.
Anyways, I know you are probably busy and all but wanted to just highlight some enhancement taht would be great to see. I'm not a great developer but totally willing to help if you would like.

This sounds like a bot. I'm pretty sure there are more developed projects for the points under Pokemon Management and Item Management, but hey if you want to make another, go for it. I'll help out if you guys need it.

@kriswong  I just made a pretty large commit with new css styling on the web interface as well as implemented a sorting function. It is recommended that you re-download the entire repository since there are quite a lot of files committed. Will work on some of the other things you mentioned as well ;).

@kriswong I just committed again. Added evolve selected Pokemon and a candy display to each Pokemon.

@earshel looks phenomenal! Thanks. I'm liking the new design too! Great job.

@kriswong Thanks bud! I just made a new commit for a few files (snipe.py, /templates inventory.html,dashboard.html,snipe.html,result.html, and added a few files to /avatars). Adds a little functionality and a platform for even more stuff. I recommend downloading the repo again as a whole ;)

@kriswong I've implemented a lot of your suggestions, thank you for all of them! I'm going to close this issue, though I will be working on implementing more when I have the time. Feel free to make pull requests if you make something better :). Check out the new repo.

authors: earshel kriswong rirze

repo: earshel/PokeyPySnipe


text:
The dijkstra's implementation should be bidirectional

There are still some perf gains to be had if we switch to a bidirectional dijkstra's implementation for the query phase.
(See https://arxiv.org/pdf/1504.05140.pdf , pages 22-23)

The query algorithm already is bidirectional, see here. IMO the easiest way to improve query speed at the moment would be to implement stall on demand, something like this.

Oh okay, I was looking at this instead. Yes, stalling is needed too.. do you have it on the To-Do list? I don't see any project roadmap available on GitHub..

authors: PayasR easbar


text:
Issue with call to 'bind'

Hi,
I am using easylogging++ 8.91 with vs2010, vc++ project.
'bind' call from winsock2.h is used to create server socket in following code snippet:
void CbCommunicator::Init(CbServer* server)
{
m_pServer = server;
// Start the Listener Thread

int iResult;
SOCKET ListenSocket=INVALID_SOCKET;
struct addrinfo *result = NULL;
struct addrinfo hints;

// Clear the Memory
ZeroMemory(&hints, sizeof(hints));

// Fill in the address structure
hints.ai_family = AF_INET;
hints.ai_socktype = SOCK_STREAM;
hints.ai_protocol = IPPROTO_TCP;
hints.ai_flags = AI_PASSIVE;

// Resolve the server address and port
iResult = getaddrinfo(NULL, DEFAULT_PORT, &hints, &result);
if ( iResult != 0 )
{
    AfxMessageBox(TEXT("Getaddr failed"));
	return;
}

// Create a SOCKET for connecting to server
ListenSocket = socket(result->ai_family, result->ai_socktype, result->ai_protocol);
if (ListenSocket == INVALID_SOCKET)
{
    AfxMessageBox(TEXT("Getaddr failed"));
    freeaddrinfo(result);
	return;
}

// Setup the TCP listening socket
iResult = bind( ListenSocket, result->ai_addr, (int)result->ai_addrlen);
if (iResult == SOCKET_ERROR)
{
    AfxMessageBox(TEXT("bind failed"));
    freeaddrinfo(result);
    closesocket(ListenSocket);
	return;
}
freeaddrinfo(result);

// Spawn a thread for listening and accepting new Client connections
m_hListenerThread = AfxBeginThread(Listen,(LPVOID)ListenSocket);

}
I am getting error as =
1>Communicator.cpp(100): error C2440: '=' : cannot convert from 'std::tr1::_Bind_fty<_Fty,_Ret,_BindN>' to 'int'
1>          with
1>          [
1>              _Fty=SOCKET,
1>              _Ret=std::tr1::_Notforced,
1>              _BindN=std::tr1::_Bind2<std::tr1::_Callable_obj<SOCKET,false>,sockaddr *,int>
1>          ]
1>          No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
Bind call overload in easylogginpp is confused to winsock2.h
If I build without easylogginpp, it works fine.
Can you help me how to resolve this?

http://stackoverflow.com/questions/15868142/windows-socket-api-bind-function-compile-issues
hepled solve this.
bind call was overlapped with std namespace which I removed.

repo: easylogging/easyloggingpp


text:
some promblems about "git checkout....esmini 2.1.5"and "make -j4 install"

The orders that"git checkout....esmini 2.1.5" and make -j4 install can not work correctly

make -j4 install I think is bound to gcc. Perhaps that's the problem?
More generic way would be:
cmake --build . -j 4 --target install
But the -j (parallel builds) was introduced in 3.11, so if you're running an older cmake, either update it or simply remove -j, like this:
cmake --build . --target install

I have tried the method introduced above ,the same error that" fatal error: utils/geom/PositionVector.h: No such file or directory
#include <utils/geom/PositionVector.h>"  reported. Did  you have ran the OpenScenarioEditor successfully?

authors: JinxBIGBIG eknabevcc

repo: ebadi/OpenScenarioEditor


text:
Copper chelate

Dear ChEBI curators,
I am looking for the compound: Copper chelate
Ref: https://pubchem.ncbi.nlm.nih.gov/compound/Copper-chelate
Does it exist in ChEBI in different name? if not.  Could you please add it.
Regards

We don't have this term in ChEBI since Copper chelate is a vague name. Any compound containing a ligand bonded to a central copper atom would be classified as a copper chelate. The structure shown in pubchem is just one example. The closest match we have in ChEBI is chelator (CHEBI:38161). If you want, i can create a new entry called copper chelator but this would not have a structure associated with the entry.

Thank you for your quick reply. Yes please add a new entry for copper chelate.

Does ''capsular polysaccharide'' compound also a vague name?
Ref: https://pubchem.ncbi.nlm.nih.gov/compound/Capsular-polysaccharides-K87

capsular polysaccharides is a class of compounds so doesn't have a definitive structure. I have now created 2 ChEBI entries:
capcular polysaccharide (CHEBI:3379)
copper chelator (CHEBI:166831)
These entries should be searchable on the ChEBI website by tomorrow. Thanks

repo: ebi-chebi/ChEBI


text:
eds-raw.pl is rendered as text when Load setting from EBSCO Admin now button is clicked

Hi! Using Koha 16.11, running over https, Debian 8 and using Plugin version 16.1103. Whenever I click the "Load setting from EBSCO Admin now" button, the eds-raw.pl is rendered as text. There must be a problem with my setting. I followed this: https://github.com/ebsco/edsapi-koha-plugin/wiki/Apache-Setup and this: https://github.com/ebsco/edsapi-koha-plugin/issues/24 but still not successful in getting rid of eds-raw not rendered as text. Any help? Thanks in advance!

When all the settings for the EDS API are all okay, it all becomes Okay and so the Koha ILS-EDS integration is now okay. But still, it's just weird that when the settings are not okay and "Load setting from EBSCO Admin now" button is clicked, the eds-raw.pl is rendered as text. Hmm..

Hi @schnydszch. The same is happening to us. Which setting was offending your plugin?

Should be fixed in #68

This looks to be resolved with the 19.05 release to master, but please feel free to reopen if you install the new release and still see this issue.

authors: cambw jmaferreira mmabrahamson schnydszch

repo: ebsco/edsapi-koha-plugin


text:
Support 2076-2-style structures in reassignIds

Closes #181
See issue ticket for more details

Codecov Report
Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (9955fbd) 89.56% compared to head (636badf) 89.63%.

Files
Patch %
Lines

src/utilities/id_assignment.cpp
95.55%
2 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #184      +/-   ##
==========================================
+ Coverage   89.56%   89.63%   +0.06%
==========================================
  Files         125      125
  Lines        5781     5826      +45
==========================================
+ Hits         5178     5222      +44
- Misses        603      604       +1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

repo: ebu/libadm


text:
Tasks / dataview support✨

I would very much like a dialog inside Day planner that allows to set up queries for Tasks and, if possible, also dataview.
The way I imagine this function is pretty straightforward:

I can define a time window that has a name, for example 6:30-7:15 workout
underneath this created time window, I can pick what tasks are to be filtered for it
the time window would then display the queried tasks in day planner timeline
the queried tasks can be ticked off directly inside day planner
time windows would also have a button to color them so I can easily see what windows I am in currently

This would make Day planner a complete timeblocking solution. Which would be AWESOME!!!

Day PLanner is .. just a note. with a template. You can add callouts right now, if you want to. I recommend being careful with indenting:
- [ ] 14:00 Do some GH things
    > [!todo] List of things for this block
    > query or embed or ..
    - Could also just list things.

Don't overthink things. This is just a note. Day Planner does no magic other than look for the Day Planner header, and timestamped tags underneath.
As it says in the readme, you're free to sprinkle in any other content you want in-between those lines. There is no great magic going on.

authors: ebullient feedhopper

repo: ebullient/obsidian-day-planner-og


text:
Mini.notify gets stuck

Contributing guidelines

[X] I have read CONTRIBUTING.md
[X] I have read CODE_OF_CONDUCT.md
[X] I have updated 'mini.nvim' to latest version

Module(s)
mini.notify
Description
Hi.
When I open a file (e.g., a Lua file) and try :LspStop lua_ls while the LSP is trying to index the files, the mini.notify gets stuck in the corner and I cannot close it.
Screencast from 08-01-24 02:05:21.webm
Neovim version
v0.9.4
Steps to reproduce
Try LspStop while mini.notify is showing and the LSP is indexing.
Expected behavior
Mini.notify should be gone after a specific time (1500ms in my case).
Actual behavior
It remains there.

Thanks for the issue!
LSP progress notifications are handled according to LSP specification, which states that work is done after there is a certain response from a server. Doing LspStop prevents processing that response thus 'mini.notify' thinks that progress is still in place. I think this is an expected behavior here.
To remove notifications, use :lua MiniNotify.clear().
Closing as not planned.

Thanks for your response.
I used to use fidget, and it was able to handle these cases. I think there might be some way to prevent this behavior.

Thanks for your response. I used to use fidget, and it was able to handle these cases. I think there might be some way to prevent this behavior.

Of course, there is a way. I am saying that the behavior itself of hiding LSP progress notifications not only after its successful end is a bit misleading and should be quite rare. If this occurs, there is something wrong and should be investigated further. If done on purpose, there is MiniNotify.clear().

Thank you!

authors: eXvimmer echasnovski


text:
Ollama tools support

Hi all, docs say that tools are not supported for Ollama...but there seem to be some related files in the source/tests.
Is the doc outdated or they're just placeholders for a future implementation?

@giancarloerra The tool support is avaibale for Ollama Provider. The feature which is not supported by the Ollama is tool choice  which is force llm to use specific tool.

Thanks @pushpak1300!
This is correct, tools are supported for Ollama, ->toolChoice is not supported.

authors: giancarloerra pushpak1300 sixlive

repo: echolabsdev/prism


text:
Error When I run xjc command from windows terminal

Error occurred during initialization of boot layer
java.lang.module.FindException: Module com.sun.tools.rngdatatype not found, requ
ired by com.sun.tools.xjc
Java version: Java 12.
When I run xjc from cmd.

After look on xjc.bat I did the following steps and Apparently Fix.
Step 1
I create a folder with name %JABX_HOME%/lib
Step 2
I copy from %JABX_HOME%/mod/relaxng-datatype.jar and paste %JABX_HOME%/lib/relaxng-datatype.jar
Step 3
I rename %JABX_HOME%/lib/relaxng-datatype.jar to %JABX_HOME%/lib/relaxngDatatype.jar
Step 4
Copy %JABX_HOME%/mod/javax.activation-api.jar with other name  %JABX_HOME%/mod/javax.activation.jar
thereafter it´s work. xD
I made the changes according to the paths specified in xjc.bat

not an issue in 2.3.3-b02

authors: lukasj r-leafar


text:
Fallible version of Runtime::init function

Right now the only way to initialize a Runtime is through the init function. This function blocks until it establishes a connection to the RouDi daemon, or terminates the whole process on a timeout. This is not desired for robust applications, so it would be good to also have a try_init(app_name) -> Result function that just returns an error in this case. Ideally, the wait timeout would also be configurable.

@phil-opp I did not get notifications for the issue. It seems I have to adjust the my settings.
I think in order to make this work some changes in iceoryx itself are required. I think something like this would be valuable.

authors: elBoberido phil-opp

repo: eclipse-iceoryx/iceoryx-rs


text:
Implement a prefix tree for fast string search

Brief feature description
Prefix Tree (Trie)
Allows fast searching of strings, to be used in Service Registry (but can generally used everywhere where data is indexed by strings).
String search is then performed in time proportional to the string to be searched.
General Constraints

relocatable - we want to use it in shared memory
not thread safe - too much effort / runtime cost
keys are always strings
values are generic
multiple values for a key (hence it is not really a unique key)
self contained memory, static memory

Operations

Insert key, value  O(#key + #values to key)
Find all values to a key O(#key + #values to key)
Remove all values to a key O(#key + #values removed)
Remove a specific value to a key O(#key + #values to key)

# denotes the size of the specific quantity, i.e. #key the length of the key and #values to key the number of values corresponding to a key (some abuse of notation for simplicity)
generally the effort is proportional to the length of the key plus the size of the result set (which is theoretically optimal)
this is a substantial improvement compared to (multi)maps with O(log(#elements in map)) where each key comparison is also a string comparison of cost O(#key)

Detailed information

string type for API? - probably template parameterized cxx::string,  internally we should use char* for efficiency
uses tree tree structure internally for fast search
tree nodes must be available to support insert operations up to specified capacity (this leads to wasted memory but is inevitable for static memory setup)
tree nodes must be as compact as possible to reduce memory overhead

@MatthiasKillat why not implement a cxx::map which is more generic and can be used in more places of iceoryx?

@elfenpiff I will do that, but a good map is more complicated and does not sufficiently solve the problems ahead. It fits the problem better and apart from static memory and some interface convenience I already have it implemented (still a way to go, but doable).
The prefix tree is actually very useful also for introspection (where we also currently use a map) and other applications, I would say. It is useful whenever we map strings (theoretically any kind of array with equality-comparable symbols like characters, but I will not generalize this for now) to something else, like ids or any object that describes the data to the key. It locates this data much faster than a map (in theory and I will measure it also in practice against std::map).
As for use cases, there are many more then we may think. In ROS or other communication standards (AUTSOAR), user ids are often defined as strings on user level and this cannot be changed (without changing the standard). Working with those ids internally is problematic from a storage and lookup point of view.
But you can use a trie as some kind of very fast string lookup mechanism, which maps to internal ids (such systemwide unique numbers) or the data itself. It can be used to build a system-wide entity-dictionary for fast lookup like this. The service registry is exactly this, but only for services. It also comes with prefix search for free, unlike maps (find all entities that begin with a certain prefix).
I think in the future we must seriously think about organizing the data in Roudi in a topic/service-centric way, with those having ports attached (not the other way around, essentially as it is now). This allows us to internally find specific services and ports associated with them very fast (say to delete them, or add a publisher port to a topic). To do so, the service registry must be efficient. The reason for this is mainly that it can help clean-up inconsistencies in the multi-publisher cases and also is more in line with the entity management in other systems, like CycloneDDS.
Currently it only has one drawback in our memory static environment: it has to reserve a relatively large amount of memory (but it would be worse with nested maps from my calculation, depending on the how the capacities are chosen).
Some of this can also be done by a hash-map (not a tree-based map), but this requires a good hash function, also has considerable memory-consumption and has other problems (and is not faster in general).
From this I concluded that whenever we want to build some dictionary from strings, this is the way to go.
If we want to map more general keys with an ordering, an ordered map is required and I will build this afterwards (and a set, as a by-product). This is more difficult though, that unless we use something entirely new (unlikely), a balanced tree like AVL or red-black tree is needed. If we do not care for ordering and have non-string keys, a hashmap is the way to go (I am unfamiliar with how to choose hash-functions though).

authors: MatthiasKillat elfenpiff

repo: eclipse-iceoryx/iceoryx


text:
Iox 1394 fix axivion violations in cxx function

Pre-Review Checklist for the PR Author

[x] Code follows the coding style of CONTRIBUTING.md
[x] Tests follow the best practice for testing
[x] Changelog updated in the unreleased section including API breaking changes
[x] Branch follows the naming format (iox-123-this-is-a-branch)
[x] Commits messages are according to this guideline

[x] Commit messages have the issue ID (iox-#123 commit text)
[x] Commit messages are signed (git commit -s)
[x] Commit author matches Eclipse Contributor Agreement (and ECA is signed)

[x] Update the PR title

Follow the same conventions as for commit messages
Link to the relevant issue

[x] Relevant issues are linked
[x] Add sensible notes for the reviewer
[ ] All checks have passed (except task-list-completed)
[ ] All touched (C/C++) source code files from iceoryx_hoofs are added to ./clang-tidy-diff-scans.txt
[x] Assign PR to reviewer

Notes for Reviewer

Checklist for the PR Reviewer

[ ] Commits are properly organized and messages are according to the guideline
[ ] Code according to our coding style and naming conventions
[ ] Unit tests have been written for new behavior
[ ] Public API changes are documented via doxygen
[ ] Copyright owner are updated in the changed files
[ ] All touched (C/C++) source code files from iceoryx_hoofs have been added to ./clang-tidy-diff-scans.txt
[ ] PR title describes the changes

Post-review Checklist for the PR Author

[ ] All open points are addressed and tracked via issues

References

Closes #1394 (partial)

Dear future reviewers. I took the liberty to comment on some rules and add a little more reasoning why I think the suppression comments are necessary.
Long story short, it is mainly due to Axivion having difficulties with low level pointer casts required for type erasure which should be perfectly safe here (potential bugs excluded). Also, I do not see an easy way around deferring some initialization to the ctor body here, which should be fine.
I commented on some rules I consider problematic or superfluous for various reasons.

@FerdinandSpitzschnueffler Fixed what was missing, may have missed something. Local scan is inconclusive on its own.


text:
Electron can't download update.

Bug Description:
Electron can't download update.

Steps to Reproduce:

Download and install 1.37.0.
Choose yes to update.
Always waiting for downloading.

https://github.com/eclipse-theia/theia-blueprint/blob/5fe2d301210a4e4fdde8e5eb91a25988214cacbf/theia-extensions/theia-blueprint-updater/src/electron-browser/updater/theia-updater-frontend-contribution.ts#L33
https://github.com/eclipse-theia/theia-blueprint/blob/5fe2d301210a4e4fdde8e5eb91a25988214cacbf/theia-extensions/theia-blueprint-updater/src/electron-browser/updater/theia-updater-frontend-contribution.ts#L188-L208
nodeIntegration: false in theia default config.
Beginning in Electron 20, renderers will be sandboxed by default and preload scripts hadn't access to Node.js.
https://www.electronjs.org/blog/electron-20-0#default-changed-renderers-without-nodeintegration-true-are-sandboxed-by-default
Additional Information

Operating System: win10
Theia Version: 1.37.0

Thank you for the report, I will have a look at fixing this in the next days

repo: eclipse-theia/theia-blueprint


text:
chore(ci): enable workflow Helm test on PRs

I'd love if the Helm test workflow is running on PRs.
This would help to verify if a PR breaks the Helm chart.
Currently it is only triggered via manual workflow_dispatch.
Other projects in eclipse-tractusx test it the same way.

Marco Lecheler marco.lecheler@mercedes-benz.com Mercedes-Benz Tech Innovation GmbH (ProviderInformation)

current issues:

[ ] daps test will use wrong endpoint resolving in HTTP 404 and always fail
(see eclipse-tractusx/daps-helm-chart#38)

[ ] FailedMount for volumes from script from e.g. job-daps certconsumer

https://github.com/eclipse-tractusx/e2e-testing/blob/6c332561980ba508d2a36c9c84b0958f353c2d99/charts/umbrella/charts/certs/templates/job-daps.yaml#L54-L63

Probably need to include the fixed chart dependencies in this PR for the helm test to pass.

Probably need to include the fixed chart dependencies in this PR for the helm test to pass.

You are right - the mentioned issues above should be the problems. But I think these changes should be in another PR.

Probably need to include the fixed chart dependencies in this PR for the helm test to pass.

You are right - the mentioned issues above should be the problems. But I think these changes should be in another PR.

Probably need to include the fixed chart dependencies in this PR for the helm test to pass.

You are right - the mentioned issues above should be the problems. But I think these changes should be in another PR.

That is true but until we have the fixes in this branch, the test workflow will fail and PR can't be merged.

I just tested it with the changes from #22.
The test was successfully.
Therefore I will wait until this mentioned PR is merged.

Helm test
 helm test e2e
NAME: e2e
LAST DEPLOYED: Wed Jun 21 09:57:44 2023
NAMESPACE: default
STATUS: deployed
REVISION: 1
TEST SUITE:     e2e-server-test
Last Started:   Wed Jun 21 10:01:56 2023
Last Completed: Wed Jun 21 10:02:00 2023
Phase:          Succeeded
TEST SUITE:     e2e-edcconsumertest-controlplane-readiness
Last Started:   Wed Jun 21 10:01:37 2023
Last Completed: Wed Jun 21 10:01:42 2023
Phase:          Succeeded
TEST SUITE:     e2e-edcconsumertest-dataplane-readiness
Last Started:   Wed Jun 21 10:01:42 2023
Last Completed: Wed Jun 21 10:01:47 2023
Phase:          Succeeded
TEST SUITE:     e2e-edcprovidertest-controlplane-readiness
Last Started:   Wed Jun 21 10:01:47 2023
Last Completed: Wed Jun 21 10:01:52 2023
Phase:          Succeeded
TEST SUITE:     e2e-edcprovidertest-dataplane-readiness
Last Started:   Wed Jun 21 10:01:52 2023
Last Completed: Wed Jun 21 10:01:56 2023
Phase:          Succeeded

As assumed - after merging #22 the test will succeed.

As assumed - after merging #22 the test will succeed.

Great!:) Can I merge this commit now?

yes would be great if this will be merged


text:
Create HO Blog Post and add the missing ones

[x] add links for new blog post https://github.com/catenax-ng/catenax-ng.github.io/pull/203
[x] rename some recordings files with the correct date and format https://github.com/catenax-ng/catenax-ng.github.io/pull/204
[x] add blog post from 01.09. https://github.com/catenax-ng/catenax-ng.github.io/pull/205/files
[x] add missing blog post from 18.08.2023 https://github.com/catenax-ng/catenax-ng.github.io/pull/206

already done so will close this one

repo: eclipse-tractusx/sig-infra


text:
Keycloak instance on PEN environment responses with  HTTP 400,

Is your support request related to a problem? Please describe.
To successfully conduct the DAST tests for QG4 we need to run Invicti Tests.
The current setup with PEN keycloak is responding with 400.
We need to successfully auth to pen keycloak to run DAST tests against our product.
Describe the solution you'd like

Fix the Keycloak on pen to achieve security testing for QG4

Additional context

Hi @mkanal just to clarify my confusion which environment do you mean with PEN Env.?
could you give us a hint where and how you get the response?
Thx for clarificaion.

Hi @FaGru3n
The PEN environment is this environment on which INVICTI Tools is configured, and external PEN Testers have conducted their pen tests in the past.
https://irs-pen.int.demo.catena-x.net/
https://centralidp-pen.dev.demo.catena-x.net/auth/realms/CX-Central/protocol/openid-connect/token
Our developer has completely new configured the OAuth against the KeyCloak instance on pen environment, and now it seems to be working.
So I will close this issue.
I apologize for any inconvenience


text:
Streamer needs a unique uE_id

When the streamer is going to talk to the uSubscription service (to fetch subscriptions) it needs to have a unique uE_id so that the subscription service can identify it and allow the request to fetch teh list of all subscribers

Being take care of by  #67

repo: eclipse-uprotocol/up-spec


text:
ServiceDetail not follow the Catalog when no services under the select Catalog.

This issue seems to have been fixed by #6.

repo: eclipse-xpanse/xpanse-ui


text:
Wrong searchSize in GridSearchCandidateGenerator

Issue Description
The searchSize calculated in GridSearchCandidateGenerator.initialize() is wrong
I have four ParameterSpaces:
ParameterSpace<Double> learningRateHyperparam = new DiscreteParameterSpace<>(0.003, 0.005, 0.01, 0.05);
ParameterSpace<Integer> layerSizeHyperparam1 = new DiscreteParameterSpace<>(32, 64, 96, 128);
ParameterSpace<Integer> layerSizeHyperparam2 = new DiscreteParameterSpace<>(32, 64, 96, 128);
ParameterSpace<Double> dropoutHyperparam = new DiscreteParameterSpace<Double>(0.8, 0.9);

But the searchSize is 16, which is 4 (from layerSizeHyperparam1) x 4 (from layerSizeHyperparam2).
AdamSpace(learningRateHyperparam) and DropoutSpace are not considered.
Version Information
Deeplearning4j version: 1.0.0-beta4
Additional Information
The full structure of MultiLayerSpace:
protected MultiLayerSpace getNetworkSpace() {
        ParameterSpace<Double> learningRateHyperparam = new DiscreteParameterSpace<>(0.003, 0.005, 0.01, 0.05);
        ParameterSpace<Integer> layerSizeHyperparam1 = new DiscreteParameterSpace<>(32, 64, 96, 128);
        ParameterSpace<Integer> layerSizeHyperparam2 = new DiscreteParameterSpace<>(32, 64, 96, 128);
        ParameterSpace<Double> dropoutHyperparam = new DiscreteParameterSpace<Double>(0.8, 0.9);

        return new MultiLayerSpace.Builder()
                .seed(SEED)
                .optimizationAlgo(OptimizationAlgorithm.STOCHASTIC_GRADIENT_DESCENT)
                .updater(new AdamSpace(learningRateHyperparam))
                .weightInit(WeightInit.XAVIER)
                .l2(0.0001)
                .addLayer(new DenseLayerSpace.Builder()
                        .nIn(mInputNum)
                        .nOut(layerSizeHyperparam1)
                        .build())
                .addLayer(new BatchNormalizationSpace.Builder()
                        .nOut(layerSizeHyperparam1)
                        .activation(Activation.RELU)
                        .build())
                .addLayer(new DropoutLayerSpace.Builder()
                        .dropOut(dropoutHyperparam)
                        .build())
                .addLayer(new DenseLayerSpace.Builder()
                        .nOut(layerSizeHyperparam2)
                        .build())
                .addLayer(new BatchNormalizationSpace.Builder()
                        .nOut(layerSizeHyperparam2)
                        .activation(Activation.RELU)
                        .build())
                .addLayer(new DropoutLayerSpace.Builder()
                        .dropOut(dropoutHyperparam)
                        .build())
                .addLayer(new OutputLayerSpace.Builder()
                        .nOut(mOutputNum)
                        .activation(Activation.SOFTMAX)
                        .lossFunction(LossFunctions.LossFunction.RECONSTRUCTION_CROSSENTROPY)
                        .build())
                .numEpochs(mHyperEpochCount)
                .build();
}

Thanks for reporting - fixed here, will be merged to eclipse/deeplearning4j master soon.
https://github.com/SkymindIO/deeplearning4j/pull/141


text:
Unexpected result when training (vs same Keras model)

Issue Description
I have a Keras/Python model as .hdf5.
I build what I think is a same version using DL4J.
Learning curves looks good. Result is bad.
I can not explain it.
Here is the DL4J model : https://gist.github.com/montardon/2f0637c3ee038363109325eb62ce5d47
Here is the .hdf5 model : https://drive.google.com/open?id=1hsrPy1uflNlDrPiBF4AeSrtuxpFWY4-6
Anything wrong with the DL4J model ?
Version Information
Please indicate relevant versions, including, if relevant:

Deeplearning4j version : 1.0.0-beta6
Platform information (OS, etc) ; Ubuntu 18.04.3
CUDA version, if used 10.1
NVIDIA driver version, if in use 430.50

Closing. For future readers, please post these kinds of issues to the forums: https://community.konduit.ai

authors: agibsonccc montardon


text:
Slightly reformat the package-info.java files for the javadoc

Currently, the generated javadoc for JWT has the Description field running together.  I think a simple re-format of the package-info.java files would make this more readable.
The generated Description for the auth package looks like this:
Metadata for JWT RBAC for Microprofile This package contains supporting metadata classes: LoginConfig: an annotation that is used by a JAX-RS Application to define the authentication method and associated security realm.
And, the generated Description for the jwt package looks like this:
Interoperable JWT RBAC for Microprofile This package contains the primary interfaces and support classes for the JSON Web Tokens(JWT) for role based access control(RBAC) of MicroProfile microservice endpoints.

The formatting has been fixed.

repo: eclipse/microprofile-jwt-auth


text:
Rebooting microprofile-samples github repositories

MicroProfile samples (https://github.com/eclipse/microprofile-samples) needs to be re-organized and updated.
We need to rationalize, re-organize, and consolidate all MicroProfile samples that currently exist:
https://github.com/eclipse/microprofile-samples
https://github.com/javaee-samples/microprofile1.2-samples
https://github.com/eclipse/microprofile-conference (maybe exclude this one since it's a complete app)
Brian Benz (MS) and Rhuan Rocha (SOUJava) have volunteered to spearhead this effort. Brian Benz has also suggested the possibility to use CI/CD automation for the MicroProfile samples, e.g. https://ci.jenkins.io
Thank you volunteers!

What's the plan for what that reorganization entails?
There have been many discussions on the group about "what to do", such as https://groups.google.com/forum/?!msg/microprofile/eyVteyH7RZ0/RAkV5VjPAAAJ#!topic/microprofile/eyVteyH7RZ0 but without any agreement on it.

@kenfinnigan thank you for adding the background information.
@bbenz and @rhuan080 - please take the background info as input for this endeavor and work with community on this.
Thanks,
Cesar

Ken, I forgot to mention that if you'd like to participate in the
reorganization of the MicroProfile samples, I'm sure Brian and Rhuan will
be happy to count with you.
On Tue, Apr 2, 2019 at 3:04 PM Ken Finnigan notifications@github.com
wrote:

What's the plan for what that reorganization entails?
There have been many discussions on the group about "what to do", such as
https://groups.google.com/forum/?!msg/microprofile/eyVteyH7RZ0/RAkV5VjPAAAJ#!topic/microprofile/eyVteyH7RZ0
but without any agreement on it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/eclipse/microprofile-marketing/issues/52#issuecomment-479151017,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYOpAsxRRp_PQ8oCcXWUbNGtpIZ7P46Pks5vc6nPgaJpZM4cY5fz
.

--
Cesar Saavedra
Senior Principal Technical Product Marketing Manager
csaavedr@redhat.com
(407) 492-9801

Hi @cealsair,
Thank you for that!
The Microprofile Project is growing up and we need promote a good documentation to turn the developers able to adopt Microprofile with easier way. With this, my suggestion is creating a Microprofile tutorial with all samples to each microprofile spec. We can get the Java EE Tutorial as an example https://javaee.github.io/tutorial/toc.html.
With this, we'll have something like that:
Documentation( or Tutorial)
|__ 2.1
|__ Microprofile Fault Tolerance
|__ Microprofile Config
|__ ...
|__ 2.2
|__ Microprofile Fault Tolerance
|__ Microprofile Config
|__ ...
With this, the newer microprofile developer will have a central point to get information about how-to of each microprofile spec.
My suggestion about the organization is create a Google Doc to each spec and each contributor that want to contribute to some spec access the respective Google Doc. The final step is transform those Google Doc in HTML contents. In those contents we make a reference to git repo of those specs.

@rhuan080 your suggestion is a great start, thanks again for #walkingTHEtalk on today's call, you were pretty cool! :)
Now-- The google doc folder was just created and it is public to edit and anyone can help create each document under the MP specs.
MicroProfile Specs Google **Documents**

Hi,
I created the Google Doc. Thus, we have the following Google Docs:
- MicroProfile Config: https://docs.google.com/document/d/1YS3Zciz4WjzyeRtyIYeht_mZJVZ9OK-9uU7aZGcF18Y/edit
- MicroProfile Fault Tolerance: https://docs.google.com/document/d/1VNwncVQUpaEQXXzJkd_ns1CAe3Z2JNzv5YATSStBinU/edit
- MicroProfile Health Check: https://docs.google.com/document/d/1OwE9NPorsyljnfMpmK3_B2x4biK6UFavC_e3GZpTmSg/edit
- MicroProfile Metrics: https://docs.google.com/document/d/1mCKzXJPhqOz7NMTYwdoZoeQJg_YF_ocmc5okEyP6Wto/edit
- MicroProfile Open API: https://docs.google.com/document/d/1YZX97UJsZmXxPnJVo0oFB-uFqYWoGcmJGs1CGf2tQh8/edit
- MicroProfile Rest Client: https://docs.google.com/document/d/1h2JPbh2SQsCRv3Hxm8DihlGbjRrGAGr6-mx8zER1tXg/edit
- MicroProfile JWT Authentication: https://docs.google.com/document/d/1K1nDcar1ok3ZelbL_LSlX9DBNL0Dzb7dT9Sct6ArwR0/edit
- MicroProfile Open Tracing API: https://docs.google.com/document/d/1IuxEsj_axjAGu8FBkgxd63SxJb5Z3ne5E9Y8p4ZLjF0/edit

Hi,
We can get all samples and map to each Google Doc. On GitHub repository, we can create a similar structure then documents. Such as:
microprofile-samples
|__ 2.1
|__ Microprofile Fault Tolerance
|__ Microprofile Config
|__ ...
|__ 2.2
|__ Microprofile Fault Tolerance
|__ Microprofile Config
|__ ...

Are you thinking of providing links to examples of each spec version on the internet, or actually examples directly?

Hi @kenfinnigan ,
Im thinking of providing links to each spec version, but starting at 2.2, because we wont need create a retrospect of all old versions. With this, we create to 2.2 and when release a new version we create links to new version. I`m thinking that because the Microprofile project is promoting a fast updates and the developer can start a project in one version and throughout time have questions and go to check the tutorial. What do you think about? Make sense?

@rhuan080 your intention to start with 2.2. is good but it might not reach the people who are already using MP 1.0 or 1.2 and have yet to move to newest releases.
The goal is to start from "maybe" not zero but at least bring some tracing to enhance adoptability and migration. get it?

This issue is currently being tackled with MP 3.1 release and further documentation and adjustments directly via the git under each extension. therefore, closing ticket.
MP.io projects is being feed directly via the activity in the Git, it is not human handled via wordpress.

authors: aeiras cealsair kenfinnigan rhuan080

repo: eclipse/microprofile-marketing