[UI] Show runner name/architecture next to the build stage

I'd suggest to add the name and architecture of the runner executing a build stage to the log view, so you dont have to switch to graph view to see where your job is running. There is currently a lot of white space in the sidebar anyway, so it would fit nicely.
Here you can see how it would look like:

real estate on this particular screen is a bit limited, but if you click the visual view you can find the runner name.

runner注入环境变量，command echo 环境变量值


Custom labels for Treemap?

Awesome project.
Was wondering if it was possible to define my own rendering function for the labels? I have a path, and i'd like to parse it and only show the filename. I'd parse it in the original dataset, but there is a uniqueness problem at the level of depth in the path.
Any ideas?
Thanks so much!

Thanks !
It seems it's possible https://stackoverflow.com/questions/11714380/google-visualization-treemap-how-to-create-custom-text


Dictionary without 'params.global' scope

The following JSON code defines dictionaries in four different ways:
"testdict1" : {"subKey1" : {"subKey2" : {"subKey3" : {"subKey4" : 0}}}},
//
${testdict2.subKey1.subKey2.subKey3.subKey4} : 5,
//
${params.global.testdict3} : {"subKey1" : {"subKey2" : {"subKey3" : {"subKey4" : 10}}}},
//
${params.global.testdict4.subKey1.subKey2} : {"subKey3" : {"subKey4" : 20}}

In all cases subKey4 has the correct value.
What astonishes me is that testdict2 is created, even in case of inside the dollar operator brackets the scope 'params.global' is not set.
I have no idea how to explain to a user, why the definitions of testdict2 and testdict3 are equivalent.
Shall the scope be required in such cases or not?

Hi Holger,
all four definitions are correct.

and 2. are relative references, 3.  and 4. absolute references.
Thank you,
Thomas

We now agreed that ${testdict2.subKey1.subKey2.subKey3.subKey4} : 5, is invalid

Hello Holger,
This enhancement is implemented in JsonPreprocessor package, I pushed the change to JP's stabi branch.
Thank you,
Son

Released with RobotFramework AIO 0.12.0


results not consistent with README.md

OS: Ubuntu 16.04
requirements.txt:
torch==0.4.0 numpy==1.14.3 scipy==1.0.1 opencv-python==<IP_ADDRESS> python_speech_features==0.6 tensorflow==1.4 pyscenedetect==0.3.4
Results:
AV offset: 	4  Min dist: 	6.742 Confidence: 	10.447
Numbers are off, please advise

It appears that I didn't update the README when I updated the model. This has been fixed now.


Changes monitor category

Since Jenkins 2.267, there are 2 different category of monitors: security and non security ones.
In this plugin, the administrative monitor is enabled when an agent is connected using SSH keys but no key validation strategy is enabled is the connection configuration.
As this could lead to issues with those agent, it would be preferable that this monitor to be considered as a security one.

Submitter checklist

[ ] JIRA issue is well described
[ ] Appropriate autotests or explanation to why this change has no tests

@kuisathaverat do you think you could review this? Thanks

@kuisathaverat do you think you could trigger a release with those changes? Thanks.

🤔 it should be triggered, I just configure the plugin to automatically release user affected changes https://www.jenkins.io/doc/developer/publishing/releasing-cd/
Checking the commits the CI did not pass in the latest commits, I will wait for the latest commit to see if it pass, if not, and depending on the issue, I would release.

I think for it to be automatic, any PR merged needs to be labeled with an "interesting" label. dependency is not one of them. But normally, in the actions, you can trigger the release manually.

This PR has the label enhancement, and is in the changes since the latest release it should trigger the release

it is not, I guess it only checks the current commit, I thought it checked the diffs since the latest release
https://github.com/jenkinsci/ssh-slaves-plugin/actions/runs/1927313100

the check ci status fails because there are tests issues on the primary branch.

the check ci status fails because there are tests issues on the primary branch.
See https://github.com/jenkinsci/ssh-slaves-plugin/runs/5377315062

those are random timeouts on the Jenkins CI it takes more than 180 seconds to provision a Docker container sometimes. I have tricked the CD workflow and there is a new release


Fix autocomplete icon

Description of the Change
This fixes the icons in the autocomplete popover.

Before
After

Alternate Designs
The selector used to win in specificity is pretty ugly, but we can't really change the class names because other packages and themes use it too.
Why Should This Be In Core?
It's a bundled package
Benefits
Icon's background doesn't look broken anymore.
Possible Drawbacks
Even harder to override
Verification Process

Open a file
Start typing so that the autocomplete popover shows up
Verify that the icon's background looks ok

Applicable Issues
None, pointed out in Slack by @maxbrunsfeld

How did this regression sneak in? Maybe we should experiment with some (simple) means of preventing this kind of breakage in the future — ideally some type of automated test. If not, we should at least have some manual smoke testing process that should pass anytime we touch GUI bits.

How did this regression sneak in?

By trying to fix this issue with this PR. Reminds me of this joke. :joy:

ideally some type of automated test

I think there are some testing frameworks that do "visual diffing". Take before and after screenshots and test if pixels changed. No idea how easy it would be to add something like that.

manual smoke testing process

Yeah, have a list of things to manually click through in the UI. It wouldn't catch everything and there are probably community packages that we constantly break, but at least for the core UI.
Another solution would be to make components more robust and independant. Like in this PR's case, the CSS class .list-group gets used by the autocomplete popover, but also by the tree-view, command palette, search results and probably other places and also community packages. They are all "lists" but still different enough that it would make more sense to style them independently so they wouldn't need overriding for each case. But it's kinda too late because themes, packages and user's styles.less already use the .list-group class and we have to keep it till a next major version of Atom.
So yeah, maybe back to a smoke test?

The package migration is paying off; it's nice to see both of these changes in one PR.
Thanks for fixing this!

The package migration is paying off; it's nice to see both of these changes in one PR.

Yes, totally. 💯 It's super nice to not have to make two "identical" PRs.
We might could go even further and have a "master" theme from where other color variations could import the styles from. I'll have to test that one day.


Maintenance of VPC module

update to CFT Cloud Router module 2.0
add support for custom firewall rules
optionally enable/disable default firewall rules
add support for secondary IP ranges in VPC as "passthrough" variable
update documentation to direct users for information on detailed structure of the complex object/map variables

I have manually tested the hpc-small.yaml example and observed that the default firewall rules are still created. I have also manually submitted integration group 4 build and observed success. I believe only groups 3 and 4 test this module's functionality.

[X] Is unit test coverage still above 80%?
[X] Have you updated all applicable documentation?
[X] Have you followed the guidelines in our Contributing document?

One of your comments prompted a real change to keep the distinct firewall_rules module until we adopt Terraform 1.1+. While doing this, addressed the nits. The real change required re-writing the git history so there is a force push here. Hopefully conversations not too impacted.


Why Token::Enum + smth and Token::...Variant is exist?

I found, that there are two ways to express how the enum should be serialized:
#[derive(Deserialize, Serialize, Debug, PartialEq)]
enum Enum {
  Unit,
}

assert_tokens(
  &Enum::Unit,
  &[
    Token::Enum { name: "Enum" },
    Token::Str("Unit"),
    Token::Unit,
  ],
);

assert_tokens(
  &Enum::Unit,
  &[
    Token::UnitVariant { name: "Enum", variant: "Unit" },
  ],
);

Surprisely, both of that asserts are passed, although is is obvious that serialization can give only one of that results. After examining code I've found this very confusing check:
https://github.com/serde-rs/serde/blob/0c6a2bbf794abe966a4763f5b7ff23acb535eb7f/serde_test/src/ser.rs#L184-L190
That means that tester will change it's behavior depending on the testing data, that is not expected from the testing tool.
So the questions are:

why both variants are exist?
what one should use?
isn't it necessary to keep only one of them?

I think this came from the Serializer vs Deserializer API having slightly divergent representation of the Serde data model out of necessity. In particular, enums during deserialization are treated using deserialize_enum and visit_enum (this is analogous to Token::Enum), while during serialization there is no such thing as "enum", only serialize_{…}_variant (this is analogous to Token::…Variant).
When one is testing serialization only, or deserialization only, one or the other way of expressing the enum using Token may seem more appropriate. I wouldn't say it's necessary for serde_test to have both.
I'll go ahead and close this because the current situation seems fine to me, but we should feel free to scrutinize it again for 2.x or if someone is building a different serde testing library.

Seems reasonable. I think, that this subtle difference with explanation should be documented on Token::Enum and have are references to that documentation in Token::...Variant also would be good. Unfortunately, I'm not sure that I can write good documentation because of my  language. So if you could add a few lines, it would be great!


simplify the ip_set template class

instead of using two specializations for IPv4 and IPv6, this combines them into a single template.

lgtm


/category/****** Gives 404!

Hey There,
First, thank you for the awesome theme! It's great. But no matter what I do, the theme can not build category/*** files! They are all pomp out 404 error.
I tried everything and everything seems right! Can you please help??
The /category/ and /tag/ pages are fine. But /category/life/ for example has 404 error etc.

Sorry for delay.
I believe you are using the gem version of this theme. The issue is that the jekyll-archives plugin is not supported/whitelisted as a Github Pages dependency so thats why it isn't working.
Your options:

You may build the site locally and upload the contents of your _site folder to Github Pages.
Use jekyll-remote-theme with Github Pages rather than the theme gem.
Host your website for free with Netlify. (This is what I do)

Hey there,
I found the solution. I had to build the category folder and category pages one by one! That worked.
Basically everything needs to be built manually right now... pages, posts, categories, tags etc.


Add WorldPop data for Cambodia to HDC

@valpesendorfer - Please add WorldPop data for Cambodia to HDC. We'll need to use this next week for flood exposure calculation
https://hub.worldpop.org/geodata/summary?id=49950
cc: @ericboucher

added and available:
https://radiantearth.github.io/stac-browser/#/external/api.earthobservation.vam.wfp.org/stac/collections/wp_pop_cicunadj/items/wp_pop_cicunadj_khm_2020


DPF: Remove InlineDataFlowController

InlineDataFlowController was marked as @Deprecated after work done under PR #988 and PR #1060
It still used by Sample05, if we update that InlineDataFlowController can be removed.

Depends on #1341


searchString is absent

[Enter feedback here]
Search String has not been implemented at this stage Part 4, Search String was introduced in Part 7. Learners might run into syntax errors if they copy and paste the code.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 1d975a83-1550-b284-d0d8-7fe2ea206ff5
Version Independent ID: 48e81b42-7c2b-afbf-71e6-d4f442a4bd1f
Content: Part 4, add a model to an ASP.NET Core MVC app
Content Source: aspnetcore/tutorials/first-mvc-app/adding-model.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @wadepickett
Microsoft Alias: wpickett

Associated WorkItem - 155414

@wadepickett  pls fix

Verified as in my recent PR.
I looked through all versions and tabs of this topic just in case.
Fixed by #30192


Move Starknet core contract bindings and Anvil sandbox to Zaun

Resolves #1339
Blocked by https://github.com/keep-starknet-strange/zaun/pull/8
Zaun dependency needs to be fixed once the Zaun PR is merged.
I kept abigen occurrences in the DA crate because it has to be revised anyways (and it will not use core contract).

@m-kus https://github.com/keep-starknet-strange/zaun/pull/8 is merged. Change the branch referenced and I will merge this


Update generators

This updates the existing generators to use the new class-based format for Relations, Commands and Mappers.
Added an --adapter=foo argument to specify the adapter used.
Ref  rom-rb/rom#148

Thanks! One comment: adapter is mandatory, we could default to ROM.adapters.values.first and raise if it's not there. Commands from ROM are abstract, so generating such classes is not a good idea :)

Just threw in a default value calling the ROM adapters bit.
Generates a class-name looking like this:
class UserCommands::Create < ROM::Commands::Create[:ROM::SQL]
I'm assuming that's partially because it's in a test environment, but ... is that fair?
,.. outside of the leading :, that is, because that's hard-defaulted in at the moment.  Will obviously have to fix that bit.

Oops, sorry my bad, I meant: ROM.adapters.keys.first (keys not values)

Yeah, I worked that out not long after posting the comment.  Follow-on commit is correct.  Sorry, should have added a follow-up comment here

No worries, glad you figured it out :)

@cflipse I guess we can merge it? :)

Added one small adjustment, to make sure that generated relations are actually pluralized.  If that checks out with you, I'd say it's good to go.

Hrm.  And now that I look at it, I've got an app where the relations are named as *_relation, and doing the right thing.
Possible the Other app where I saw this wasn't up to date, or .. something.  I'll try to figure out what was going on there.  Here, I'll revert the pluralization change, and go with the more Rails standard naming bits.

We do this so it would be a weird bug if ROM was overriding defined relations with inferred ones.

Understood.  I think I was misreading an error in a second app that I'm halfway through porting.
With that in mind, it's updated to follow the general rails conventions for file/class names on the relations as well as the mappers, which should keep the rails autoloader from panicking.
Should be good to merge.


Add error handler (and one other minor change)

I added an error handler, so when an error occurs the bot tells the user. Also added data.json to .gitignore

Hey thanks for your pull request. We can't really add data.json to .gitignore because when we push to Heroku it overwrites all the files in Heroku including the data.json. Due to this we update the data.json whenever we push to master. We would like you to remove it from .gitignore.

Done

Thanks!


How to generate grasps for own objects?

Hi,
Thank you for your excellent work!
I would like to generate some physically feasible grasps for our own objects. Could you give some hints for the implementation based on Nvidia Flex? Thank you
Beat,
Rui

I recommend to use Isaac Gym which allows to use FleX or PhysX as backend.  In particular, this code base: https://github.com/NVlabs/DefGraspSim might be helpful. Although it's for deformable objects, the implementation for rigid bodies is very similar.


chore: enable eu-south-1 region (#12042)

Description of changes
Cherry-pick https://github.com/aws-amplify/amplify-cli/pull/12042

Issue #, if available

Description of how you validated changes
Checklist

[ ] PR description included
[ ] yarn test passes
[ ] Tests are changed or added
[ ] Relevant documentation is changed or added (and PR referenced)
[ ] New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies
[ ] Pull request labels are added

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #12123 (c5cf26b) into dev (984c0f8) will decrease coverage by 3.13%.
The diff coverage is 56.28%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##              dev   #12123      +/-   ##
==========================================
- Coverage   49.45%   46.32%   -3.13%
==========================================
  Files         692      821     +129
  Lines       33424    37585    +4161
  Branches     6840     7643     +803
==========================================
+ Hits        16529    17411     +882
- Misses      15370    18512    +3142
- Partials     1525     1662     +137

Impacted Files
Coverage Δ

...sync-simulator/src/data-loader/opensearch/index.ts
45.45% <0.00%> (ø)

...s/amplify-appsync-simulator/src/type-definition.ts
100.00% <ø> (ø)

...sync-simulator/src/velocity/util/dynamodb-utils.ts
6.55% <0.00%> (ø)

...y-appsync-simulator/src/velocity/util/map-utils.ts
10.00% <ø> (ø)

...tor/src/velocity/util/transform/dynamodb-filter.ts
4.93% <0.00%> (ø)

...ync-simulator/src/velocity/util/transform/index.ts
21.05% <0.00%> (ø)

...appsync-simulator/src/velocity/value-mapper/map.ts
86.88% <ø> (ø)

...ackages/amplify-category-auth/src/commands/auth.ts
0.00% <0.00%> (ø)

...es/amplify-category-auth/src/commands/auth/help.ts
0.00% <0.00%> (ø)

.../amplify-category-auth/src/commands/auth/import.ts
0.00% <0.00%> (ø)

... and 539 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


can't parse String type,when node call emit('eventName', JSON.stringify({name:'hj',age:23}));

I use nodejs as server,when I call emit('change',{name:'hj',age:23}); is ok, client can get the obj,
but when I call emit('change',JSON.stringify({name:'hj',age:23}));  I get always get null.
the way solved the problem.
change the code below the file:(the red code is add)
.../node_modules/react-native-socketio/android/src/main/java/com/gcrabtree/rctsocketio/SocketIoJSONUtil.java

@gcrabtree  can u fix the problem.


The FOR XML clause is not allowed in a CURSOR statement

Bug Report
Versions

Driver: r2dbc-mssql 0.9.0.BUILD-SNAPSHOT
Database: Microsoft SQL Server 2019 (RTM-CU8-GDR) (KB4583459) - 15.0.4083.2 (X64) 	Nov  2 2020 18:35:09 	Copyright (C) 2019 Microsoft Corporation	Express Edition (64-bit) on Linux (Ubuntu 18.04.5 LTS)
Java: openjdk version "17-ea" 2021-09-14 OpenJDK Runtime Environment (build 17-ea+17-1401) OpenJDK 64-Bit Server VM (build 17-ea+17-1401, mixed mode, sharing)
OS: Microsoft Windows [Version 10.0.19042.1052]

Current Behavior
Run a query containing the T-SQL FOR clause with R2DBC and get this error:
Exception in thread "main" io.r2dbc.mssql.ExceptionFactory$MssqlNonTransientException: [6819] [S0002] The FOR XML clause is not allowed in a CURSOR statement.
	at io.r2dbc.mssql.ExceptionFactory.createException(ExceptionFactory.java:152)
	at io.r2dbc.mssql.MssqlResult.lambda$map$2(MssqlResult.java:179)
	at reactor.core.publisher.FluxHandleFuseable$HandleFuseableSubscriber.onNext(FluxHandleFuseable.java:169)
	at reactor.core.publisher.FluxWindowPredicate$WindowFlux.drainRegular(FluxWindowPredicate.java:657)
	at reactor.core.publisher.FluxWindowPredicate$WindowFlux.drain(FluxWindowPredicate.java:735)
	at reactor.core.publisher.FluxWindowPredicate$WindowFlux.onNext(FluxWindowPredicate.java:777)
	at reactor.core.publisher.FluxWindowPredicate$WindowPredicateMain.onNext(FluxWindowPredicate.java:255)
	at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107)
	at io.r2dbc.mssql.util.FluxDiscardOnCancel$FluxDiscardOnCancelSubscriber.onNext(FluxDiscardOnCancel.java:89)
	at reactor.core.publisher.FluxPeek$PeekSubscriber.onNext(FluxPeek.java:199)
	at reactor.core.publisher.FluxFilter$FilterSubscriber.onNext(FluxFilter.java:113)
	at reactor.core.publisher.FluxHandle$HandleConditionalSubscriber.onNext(FluxHandle.java:326)
	at reactor.core.publisher.EmitterProcessor.drain(EmitterProcessor.java:491)
	at reactor.core.publisher.EmitterProcessor.tryEmitNext(EmitterProcessor.java:299)
	at reactor.core.publisher.InternalManySink.emitNext(InternalManySink.java:27)
	at reactor.core.publisher.EmitterProcessor.onNext(EmitterProcessor.java:265)
	at reactor.core.publisher.FluxPeek$PeekSubscriber.onNext(FluxPeek.java:199)
	at reactor.core.publisher.FluxPeek$PeekSubscriber.onNext(FluxPeek.java:199)
	at reactor.core.publisher.FluxPeek$PeekSubscriber.onNext(FluxPeek.java:199)
	at reactor.core.publisher.FluxHandle$HandleSubscriber.onNext(FluxHandle.java:118)
	at reactor.core.publisher.MonoFlatMapMany$FlatMapManyInner.onNext(MonoFlatMapMany.java:250)
	at reactor.core.publisher.FluxPeek$PeekSubscriber.onNext(FluxPeek.java:199)
	at reactor.core.publisher.EmitterProcessor.drain(EmitterProcessor.java:491)
	at reactor.core.publisher.EmitterProcessor.tryEmitNext(EmitterProcessor.java:299)
	at reactor.core.publisher.InternalManySink.emitNext(InternalManySink.java:27)
	at reactor.core.publisher.EmitterProcessor.onNext(EmitterProcessor.java:265)
	at io.r2dbc.mssql.client.ReactorNettyClient$1.next(ReactorNettyClient.java:244)
	at io.r2dbc.mssql.client.ReactorNettyClient$1.next(ReactorNettyClient.java:204)
	at io.r2dbc.mssql.message.token.Tabular$TabularDecoder.decode(Tabular.java:424)
	at io.r2dbc.mssql.client.ConnectionState$4$1.decode(ConnectionState.java:206)
	at io.r2dbc.mssql.client.StreamDecoder.withState(StreamDecoder.java:137)
	at io.r2dbc.mssql.client.StreamDecoder.decode(StreamDecoder.java:109)
	at io.r2dbc.mssql.client.ReactorNettyClient.lambda$new$6(ReactorNettyClient.java:254)
	at reactor.core.publisher.FluxPeek$PeekSubscriber.onNext(FluxPeek.java:184)
	at reactor.netty.channel.FluxReceive.drainReceiver(FluxReceive.java:265)
	at reactor.netty.channel.FluxReceive.onInboundNext(FluxReceive.java:371)
	at reactor.netty.channel.ChannelOperations.onInboundNext(ChannelOperations.java:358)
	at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:96)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
	at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93)
	at io.r2dbc.mssql.client.ssl.TdsSslHandler.channelRead(TdsSslHandler.java:380)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357)
	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365)
	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
	at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:719)
	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:655)
	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:581)
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
	at java.base/java.lang.Thread.run(Thread.java:831)
	Suppressed: java.lang.Exception: #block terminated with an error
		at reactor.core.publisher.BlockingSingleSubscriber.blockingGet(BlockingSingleSubscriber.java:99)
		at reactor.core.publisher.Mono.block(Mono.java:1703)
		at org.jooq.testscripts.R2DBC.main(R2DBC.java:42)

Steps to reproduce
System.out.println(
    Flux.from(cf.create())
        .flatMap(c -> c.createStatement("select 1 as a for xml path").execute())
        .flatMap(it -> it.map((r, m) -> r.get(0)))
        .collectList()
        .block()
    );

Expected behavior/code
This should work out of the box, just like with JDBC and produce:
<row>1</row>

This is somewhat related to #66 as we don't have support for XML yet.

Maybe. This works:
System.out.println(
    Flux.from(cf.create())
        .flatMap(c -> c.createStatement("select (select 1 as a for xml path)").execute())
        .flatMap(it -> it.map((r, m) -> r.get(0)))
        .collectList()
        .block()
    );

The result is produced as String. This also doesn't work:
System.out.println(
    Flux.from(cf.create())
        .flatMap(c -> c.createStatement("select 1 as a for json path").execute())
        .flatMap(it -> it.map((r, m) -> r.get(0)))
        .collectList()
        .block()
    );

The issue is related to the default cursor usage in the driver. Setting fetchSize to zero bypasses cursor usage. With JDBC, I'm able to reproduce the issue via:
Statement statement = c.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ_ONLY);
ResultSet resultSet = statement.executeQuery("select 1 as a for xml path");

resulting in
Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: The FOR XML clause is not allowed in a CURSOR statement.
	at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:262)
	at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(SQLServerStatement.java:1632)
	at com.microsoft.sqlserver.jdbc.SQLServerStatement.doExecuteCursored(SQLServerStatement.java:2030)
	at com.microsoft.sqlserver.jdbc.SQLServerStatement.doExecuteStatement(SQLServerStatement.java:846)
	at com.microsoft.sqlserver.jdbc.SQLServerStatement$StmtExecCmd.doExecute(SQLServerStatement.java:767)
	at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7418)
	at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:3274)
	at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:247)
	at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:222)
	at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeQuery(SQLServerStatement.java:692)
	at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:110)
	at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)

I see, I hadn't thought of that possibility. But the equivalent of JDBC's ResultSet.TYPE_SCROLL_SENSITIVE is not necesssary in this case, as a default, right?

It's not required as we assume by default forward-only cursors and setting the fetch size is the main indicator for the cursor page size. Setting the fetch size to zero expresses the intent to fetch all data directly and so we bypass the cursor.
Users can configure some defaults, whether to prefer cursored execution or if the statement starts with SELECT to apply application-specific customizations, but for a client library, it makes sense to set fetch size to zero when consuming results as JSON/XML.

Could there be a more explicit setting to govern this behaviour? I don't like the idea of setting the fetch size on behalf of the user too much, even if it's only for these FOR XML / FOR JSON queries, in case of which the fetch size doesn't matter since everything is aggregated in a single value... As a last resort, that would be doable, of course, but it seems like an accidental side effect.


Async support Merged from master

This PR contains no changes, but just updates the sync point from master to async-support, so that future changes to master can easily be merged into async-support.    It is essentially a catchup merge that cleans up changes that were made in parallel to both branches.

I signed it!


Fail in a controlled manner when configuring Cubos improperly

Problem
Currently the Cubos class methods abort in case of configuration inconsistencies/errors, e.g., due to registering a component twice, or missing a plugin dependency.
This is a problem when loading applications into Tesseratos - if a buggy/incomplete game is loaded into the editor and run, it could crash the editor itself, and the dev may lose work.
Solution
The Cubos class should hold a 'failed' flag or something similar. When it fails, it logs an error, and sets the flag, making all further operations do nothing.
Then we should have a method to check whether the app is in a valid state.
If run is called even with an invalid app, abort should be called.

No longer applies with new editor design


Fix RESTDataSource fetching a path with a colon

RESTDataSource.resolveUrl doesn't work correctly for paths with a colon, e.g.
this.get('/foo:')

this throws
TypeError: Only absolute URLs are supported

The source code strips out the leading slash, which leads to the call new URL('foo:', 'http://example.com'), where foo: looks like an absolute URL without a host.
https://github.com/apollographql/apollo-server/blob/cd19cfeff260c4b948fb56f0b3b210a43858cc8c/packages/apollo-datasource-rest/src/RESTDataSource.ts#L74-L88

Duplicate of #23. Will pull your suggestion over there.


Update 2021-01-newsletter

Started to write about WP4

For review and comments

For review and comments


Docblocked everything.

Would be good if someone could read through to double check everything.
Would be happy to do docs for all classes too, let me know.

Looks great. As a general suggestion, I recommend reading git commit by Chris Beams. In particular, the "imperative mood" rule really helped me.

Since you mentioned the "imperative mood" rule in a previous comment somewhere, I've been following that in all my commits at work. I'll pass along the link to my team. Thanks!

Looks great!

@shadowhand Thanks for the info, was a good read. :+1:


OCPCLOUD-1798: e2e test: remove common test, unnecessary presubmit aftereach

This PR removes the e2e common test as it has been deemed unnecessary in this conversation.
Also removes a presubmit's AfterEach that was there to accommodate the common test.

/approve
/lgtm


Character Editor extra stuff

What feature do you want to get added on the base engine?
Add player offsets for the character editor (that only take effect when the character is in the player position) and a checkbox that when checked, it will switch singLEFT and singRIGHT anims when they are selected as player. It's much more efficient than making duplicates of a character and wasting space.
To test your sight, and reliability, please select the option of what should NOT be requested.
Stage Editor, 6K+ support, and winning icons.

We NEED Stage Editor Really badly.

Stage editor is not being requested, shadowmario already stated that he will make it later. Also that's not what the request is about.


Allow for outputVariables and inputVariables in RequestBatchRequest type.

Description:
One of the many significant changes to the OBS websocket v5 protocol is that source visibility requires the source's ID within the scene where it is being enabled/disabled.  For something as simple (and common) as toggling on/off a source, this is cumbersome and can add considerable complexity to client code.  The "recommended" way of doing this is to use a batched request that get's a source's id within a scene (given the scene name and source name), store its value in the outputVariables field of that request, then send a source enable request that specifies an inputVariable from the prior request's outputVariables as the sourceId.  (An example is given in the issue here: https://github.com/obsproject/obs-websocket/issues/1014#issuecomment-1319774798 ).  Unfortunately, the typescript typedef for RequestBatchRequest does not allow for the inputVariables or outputVariables fields.
Modifying the type.d.ts file to allow for an optional inputVariables: any and outputVariables: any allows this to work via obs-websocket-js.  However it appears that this file is automatically generated from OBS Websocket's types?
Versions Used (if applicable):

obs-websocket-js version: 5.0.2
obs-studio version: 28.1.2

I just started putting together a PR that adds a properly typed outputVariables and a semi-typed inputVariables to the RequestBatchRequest type.  I'll work a bit on the inputVariables and submit a PR soon, but if folks want to give it a try, you can find the branch here: https://github.com/FiniteSingularity/obs-websocket-js/tree/feature/adds-input-output-vars

One issue I am seeing is that of enforcing type safety.  About the best option I can come up with is this:
export declare type RequestBatchRequest<T = keyof OBSRequestTypes> = T extends keyof OBSRequestTypes ? OBSRequestTypes[T] extends never ? {
    requestType: T;
    requestId?: string;
    outputVariables?: Record<string, keyof OBSResponseTypes[T]>;
} : {
    requestType: T;
    requestId?: string;
    requestData: Partial<OBSRequestTypes[T]>;
    inputVariables?: Partial<OBSRequestTypes[T]>;
    outputVariables?: Record<string, keyof OBSResponseTypes[T]>;
} : never;

requestData to must be a Partial<OBSRequestTypes[T]> because the keys we replace using inputVariables will no longer exist in requestData.  What we really need is for the union of requestData and the optional inputVariables to be an OBSRequestTypes[T].  I've tried (unsuccessfully) to do this in a few ways, for example, letting inputVariables be a Record<string, string>, then using Omit on those keys for requestData:
export declare type RequestBatchRequest<T = keyof OBSRequestTypes, S = Record<string, string>> = T extends keyof OBSRequestTypes ? OBSRequestTypes[T] extends never ? {
    requestType: T;
    requestId?: string;
    outputVariables?: Record<string, keyof OBSResponseTypes[T]>;
} : {
    requestType: T;
    requestId?: string;
    requestData: Omit<OBSRequestTypes[T], keyof S>;
    inputVariables?: S;
    outputVariables?: Record<string, keyof OBSResponseTypes[T]>;
} : never;

However, unless the template for S is explicitly set when implementing a RequestBatchRequest, the Omit on requestData sees S as never, and type checking is lost.  e.g.- in order for this to work, one would have to do something like:
const req: RequestBatchRequest<'someRequest', {fieldName: string}> = {
  requestType: 'someRequest',
  requestData: { aField: 'value' },
  inputVariables: {fieldName: 'outputVariableName'},
}

If anyone has other ideas, I am all ears.


Shutdown/Start dockerhost-rise-ubuntu2204-aarch64-1 on demand on Google Cloud

RISE is requesting that dockerhost-rise-ubuntu2204-aarch64-1 can be turned off when not in use to reduce their cloud bill. This machine is hosted on Google Cloud which supports starting VMs on demand.
https://cloud.google.com/architecture/using-jenkins-for-distributed-builds-on-compute-engine outlines how it should be setup.
I'm not entirely familiar with what should be done and what information would be needed, so I'm happy to work with RISE + Adoptium to make sure it happens.
Thanks!

By way of comparison this is a table of jdk21u build times on different machines for running the build (number in brackets includes things like checkout, SBoM generation etc:

Host
Time

equinix-aarch64-1 (-j80)
2h03 (2h25)

equinix-aarch64-1 (-j120)
Failed

equinix-aarch64-1 (-j80)
2h00 (2h30)

azure-x64-1
1h14 (1h33)

rise-aarch64-1 (-j32)
0h54 (1h22)

scaleway-riscv64-1
2h24 (2h43)

I'll soon need to decommission dockerhost-rise-ubuntu2204 unless we can get this issue sorted. It should work on the existing boards we have, but that would create more load on them and may lead to flakiness due to board's instability. cc @gdams @sxa

sounds like we'd be better off shutting the service down and provisioning more scaleway machines

Given that the test above seemed to work ok with a default configuration under docker on the Scaleway machines that's certainly an option - I thought we had some issue under docker with certain configurations but that job looks to have gone through ok.
We could also potentially run them in an emulated environment elsewhere, as we do on the dockerhost-rise machine.

This machine is no longer being used and our Azure hosts are now configured to be able to run the builds. On that basis this will not be progressed therefore closing


Broken JSPYBridge support

when using require("prismarine-viewer") i get this error:
require() of ES Module<EMAIL_ADDRESS>from /home/silke/.pyenv/versions/3.11.6/lib/python3.11/site-packages/javascript/js/node_modules/prismarine-viewer/viewer/lib/viewer.js not supported.\ntween.cjs.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules.\nInstead rename tween.cjs.js to end in .cjs, change the requiring code to use dynamic import() which is available in all CommonJS modules, or change "type": "module" to "type": "commonjs" in<EMAIL_ADDRESS>to treat all .js files as CommonJS (using .mjs for all ES modules instead).\n\n    at Object.<anonymous> (/home/silke/.pyenv/versions/3.11.6/lib/python3.11/site-packages/javascript/js/node_modules/prismarine-viewer/viewer/lib/viewer.js:2:15)\n    at Object.<anonymous> (/home/silke/.pyenv/versions/3.11.6/lib/python3.11/site-packages/javascript/js/node_modules/prismarine-viewer/viewer/index.js:2:11)\n    at Object.<anonymous> (/home/silke/.pyenv/versions/3.11.6/lib/python3.11/site-packages/javascript/js/node_modules/prismarine-viewer/lib/mineflayer.js:2:23)\n    at Object.<anonymous> (/home/silke/.pyenv/versions/3.11.6/lib/python3.11/site-packages/javascript/js/node_modules/prismarine-viewer/index.js:2:15)')

maybe this is a bug with jspybridge but idk

tested it and it workes fine in npm version 1.25.0 and below. 1.19 & 1.20 support broke it ig

What prismarine-viewer version?

What prismarine-viewer version?

so version 1.25.0 for the viewer works but anything above that fails. Not only on my pc everyone that uses lodestone also gets this error. i fixed it by setting the version back to 1.25.0 in the python import.

https://github.com/PrismarineJS/prismarine-viewer/pull/381 probably need to roll back this


Update magic comments explanation

I modified some of the notes about how magic comments work.
The explanation was out of date for Webpack 4.

@EugeneHlushko @montogeek, is this ready to be merged?

Thanks!


Convert SQL Server to Azure Blob storage

As a key cost of monthly, the website should not use SQL Server for data store anymore. Currently the Azure SQL lowest plan costs $5 every month. However, the VPS takes another $5.
Azure blob is a perfect choice as long as we cache the data in Redis and access or update blob only necessary.
This is fundamental change for low-level architect, so this should be high priority. Only after the Javis completed.

commit d04e892


Remove ETHGlobal Hackathon banner

Reverts the changes in #440 to remove the ETHGlobal banner

@gkoscky What if we comment the code instead of deleting it? That way it would be easier to add the banner again

@gkoscky What if we comment the code instead of deleting it? That way it would be easier to add the banner again

We can, but the good thing about git is that you can just reverse the reversal to get a banner up again :smile:
Sure, there's an inherent bus-factor, since no one besides us would know this work ever happened, but leaving the comments there would also conflict with whatever needs to be done for the Fancy Banners, so I preferred to just delete everything.


Seemingly wrong version of PhantomJS running?

What reason could there be for my tests getting an apparently earlier version of PhantomJS (my scripts are failing in a way specific to what I was getting with an earlier version)?
I see within my project's node_modules/grunt-contrib-qunit that its version is 1.2.0 with grunt-lib-phantomjs as a dependency ( ^1.0.0) and 1.1.0 is the version within node_modules/grunt-lib-phantomjs. Its dependency of phantomjs-prebuilt in turn is set to "^2.1.3" where the version within node_modules/phantomjs-prebuilt is 2.1.3 which should be using 2.1.1.  I don't have anything with "qunit" or "phantom" in my global npm package names if that could be interfering.
And when I invoked phantomjs --version at the command line, it is saying 2.1.1 too.

Sorry, I believe I may have gotten confused into thinking 2.1.1 supported some features that it doesn't.


feat: quiz image correct answer - LESQ-364

Description

Adds tick and background styling to correct image answers
Updates tests

https://www.notion.so/oaknationalacademy/Lesson-overview-show-correct-choice-for-image-answers-for-MCQ-s-349deff24a56414ebb4928265f05eb20
Acceptance Criteria

[ ]  It is clear what the right answer is when the MCQ answer choices are image only from the tick mark and yellow box border

Issue(s)
Fixes #
How to test
Examples:
[Exit quiz Q5](https://owa.thenational.academy/teachers/programmes/maths-primary-ks2/units/ratio-and-proportion/lessons/explain-how-to-represent-ratio-and-to-calculate-unknown-values)
[Start quiz Q1](https://owa.thenational.academy/teachers/programmes/maths-primary-ks2/units/ratio-and-proportion/lessons/representing-ratio-in-different-ways)

Go to https://deploy-preview-1965--oak-web-application.netlify.thenational.academy
Go to example quizzes above

Checklist

[ ] Added or updated tests where appropriate
[ ] Manually tested across browsers / devices
[ ] Considered impact on accessibility
[ ] Design sign-off
[ ] Approved by product owner

:tada: This PR is included in version 1.266.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Support non file based logging

Currently only file based logging is available. It would be awesome, if it supported stdout/stderr/syslog as caddy does.
Awesome plugin. Thanks

stdout/stderr seems possible. For syslog I have to dig around ;-)

I am happy with stdout and stderr, but it made sense to also mention syslog.

I'll test it now on production on my website and will report it later to mholt to update the plugin in the registry. But you can always compile it yourself into caddy ;-)

Awesome thanks. Will do my best to find some time to check it out. Will report back any findings.

Works perfectly thanks.


AppVeyor build failing due parent config

AppVeyor build is failing due some parent-pom configuration:
[INFO] Scanning for projects...
[INFO] Downloading: https://repo.maven.apache.org/maven2/com/jcabi/parent/0.49.1/parent-0.49.1.pom
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.takes:takes:2.0-SNAPSHOT (C:\projects\takes\pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Could not transfer artifact com.jcabi:parent:pom:0.49.1 from/to central (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version and 'parent.relativePath' points at wrong local POM @ line 27, column 11 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
Command exited with code 1

This is happening in the following PRs:
https://github.com/yegor256/takes/pull/843
https://github.com/yegor256/takes/pull/844
https://github.com/yegor256/takes/pull/845
https://github.com/yegor256/takes/pull/846
https://github.com/yegor256/takes/pull/848
https://github.com/yegor256/takes/pull/849

@yegor256/z please, pay attention to this issue

Job #850 is now in scope, role is DEV

Bug was reported, see §29: +15 point(s) just awarded to @paulodamaso/z

Job gh:yegor256/takes#850 is not assigned, can't get performer

The job #850 is now out of scope


feat(core.indexing-store): introduce mode param to indexing functions

Resolves #1294
This PR allows the indexing function to read the mode of the indexing store.
It's a useful information when sending out notifications to other services (i.e. only sending them out during the realtime indexing phase).

Hi, thanks for opening. Unfortunately, Ponder does not support running side effects (e.g. notifications) within indexing functions yet. As this comment describes, doing side effects properly is quite difficult.
I fear that if we add & document a "mode" flag, it would an implicit endorsement of side effects. More folks will start using them, and inevitably run into issues because the complexities described above won't be properly handled.
The support burden resulting from these issues will drain maintainer resources that we'd rather spend elsewhere (like to design & build a proper effects feature!).
I fully expect that effects will be a banger feature when we release it. I just want to make sure we do it with intention. If you respond to the issue thread above describing your notifications use case, that would be a huge help - the faster we can gather real requirements, the sooner we'll be able to ship it.
Closing for now - let's move any further discussion to that issue.

I fear that if we add & document a "mode" flag, it would an implicit endorsement of side effects. More folks will start using them, and inevitably run into issues because the complexities described above won't be properly handled.

I will have to find a workaround for my use case. Probably will create a small module that will keep track of the last finalized block and will trigger a fire-and-forget notification for other services in my web stack to react to.

Can we please have a go for this one? It would help me greatly testing my side effects processor implementation that I've discussed in:

#810

Also, it's an opt-in, so not everyone has to use it. But it's very important for testing out a possible solution to handling effects.
Please reconsider merging this one in, @typedarray.


Update da-guide.md

I think your audience will appreciate it. Our product might be worth mentioning in your blogs.
Best Regards,
Robert D.

Link just leads to paid course


Integrate Release Swift Bindings into single publishing workflow that gets triggered on merges to main

Is your feature request related to a problem?
As part of https://github.com/xmtp/libxmtp/pull/433 we added a new GitHub action for publishing swift bindings as Release artifacts to be used by Swift Package Manager and Cocoapods in iOS SDK integrations.
Currently that new action must be triggered manually from GitHub Actions => Release Swift Bindings => Run workflow.
Describe the solution to the problem
Integrate the Swift bindings release into the regular release process that gets kicked off when merges to main branch occur.
Describe the uses cases for the feature
Removes a manual step of our release process.
Additional details
No response

Note that most of the steps currently outline in the libxmtp-swift release process outlined in the README.md should be automated by fixing the release.yml steps here:
https://github.com/xmtp/libxmtp/blob/f1a4de7e2ff25d16677d7cc7617759bf9b4d3c19/.github/workflows/release.yml#L28-L78


[WIP] [d3d11] stub implementation of D3D11.1 and DXGI1.2

Still to do:

format code in d3d11_context.cpp
new color formats

test cases:

Mass Effect: Andromeda (D3D11.1)
Mirror's Edge: Catalyst (D3D11.1)
FiveM (DXGI 1.2)

Hi Mixaill,
even with "still to do" do you mean this three games won't work without your patches and are working ok with your patches currently?
thanks..

Also related, must say, it will be interesting the new color formats/spaces things as here comes the native Windows HDR support (well perhaps is DXGi 1.3 or 1.4) and that should be mappable to VK_khr swapchain colorspace ext and perhaps even hdr-metadata ext.. sadly no Vulkan drivers implementing it.. but hope NV once ships it will be on Linux and Windows drivers.. should later this year I hope..
Many Win first HDR games use NVAPI, AMD AGS HDR ext.. and many of the few which use native Win DXGI HDR are for Windows Store(?).. anyway we will always have FFXV demo or game which I think uses native Win HDR APIs even on Steam version(?)

even with "still to do" do you mean this three games won't work without your patches and are working ok with your patches currently?

It's a just stubs for some interfaces.
It may help a bit. For example, it allows to bypass FiveM check for DXGI 1.2.

Commited via other PRs


Ambiguity with unit tail expressions

I tried to type something like this recently
async fn main() {
    var a = 5
    ()
}

It results in an unexpected error:
Error: expected something callable, found an unsigned integer
   ╭─[input.dada:2:13]
   │
 2 │     var a = 5
   ·             ┬
   ·             ╰── here
───╯

Without statement terminators, there are situations where a tail expression has a type but that is not desirable. The obvious solution is to end the block with (), but it parses wrong. Writing { () } does work but is unwieldy.

Ah, one can also write { } to produce a unit, and the compiler heuristically suggest it. Still though, this seems like an unfortunate thing to run into.

Parenthesized exprs don't work yet but there may be similar issues with things like
fn main() {
    foo()
    (bar).baz
}


Support Google BigQuery

Description:
I would like to see graph including BigQuery.

We have started working on GCP Database related services. Will open PRs one after another in next few weeks.


Update unstable image to use Go 1.18beta1

switch unsable image from golang:1.17.5 to
golang:1.18beta1
update README to indicate that the unstable image uses
the latest beta image if available instead of only the
latest rc or stable release

fixes GH-464

See linked issue for more info. Waiting on golangci-lint GH issue resolution before continuing with work on this.


Add e-mission

Insert URLs to the project here:
https://github.com/e-mission/e-mission-phone

[x] The projects is active, documented, open source licensed, shows usage from external parties and is directly targeting environmental sustainability. Find more details in the Contribution Guide.

All issues labeled as 'Good First Issue' of the project listed on OpenSustain.tech will be visible on ClimateTriage.com. This is a great way to welcome new community members to your project.

@shankari @joshzarrabi @nataliejschultz

Thanks for the link @andrew  and @Ly0n!
Couple of notes:

e-mission-phone is one repo in a fairly complex platform/framework for collecting human mobility data. The other repos are in the e-mission organization (https://github.com/e-mission), any deployer of the phone will need at least the server repo (e-mission-server) as well
I am not sure why you tagged @joshzarrabi here. Josh worked on openpath several years ago, but has now moved on. The recent heavy contributors to the phone repo are @JGreenlee and @Abby-Wheelis

Thanks @shankari for your feedback. At the moment we are only listing git URLs but I have to discuss with @andrew if namespaces are also an option when projects own a complete namespace. This would allow us to list multiple repos with a single link.
Sorry for the wrong mentioning. I picked the people from the server repo.
One feedback on your documentation. Via GitHub it is almost impossible to find your project because your do not have any topics and the goal of the project is only visible on the website. It might be interesting for you to add to the namespace descition oder zu den Projekte eine kurzen Satz, was das Ziel des Projektes ist. We listed your with "Enables people to track their travel modes—by car, bus, bike or walking and measure their associated energy use and carbon footprint."

Thank you for the feedback! I am generally bad at marketing and always fill out the minimal information 😶🌫
I have now added this and filled out/updated other elements of the org profile as well!

@shankari You're not the only one. Nevertheless, your project seems to have been a success. However, I can tell you a thing or two about how extraordinary high-quality open source projects have failed simply because no one was interested in doing marketing ^^.


pnpm fail at buildtime

[19:59:45.342] #6 [3/7] RUN curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm@7
[19:59:45.345] #6 sha256:2e8963545ef989d1d0a0b18cf178498cc4d6bacc7a18d54d85017889ee128b48
[19:59:45.479] #6 0.286   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
[19:59:45.484] #6 0.286                                  Dload  Upload   Total   Spent    Left  Speed
[19:59:45.487] #6 0.286
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
[19:59:45.779] 0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
[19:59:45.929] 100 1050k    0 1050k    0     0  3023k      0 --:--:-- --:--:-- --:--:-- 3017k
[19:59:45.936] #6 ERROR: executor failed running [/bin/sh -c curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm@7]: exit code: 1
[19:59:45.961] #6 0.644 [stdin]:1
[19:59:45.994] ------
[19:59:45.994] #6 0.644 ��
[19:59:46.030] > [3/7] RUN curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm@7:
[19:59:46.030] #6 0.644
[19:59:46.038] ------
[19:59:46.039] #6 0.644
[19:59:46.044] executor failed running [/bin/sh -c curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm@7]: exit code: 1
[19:59:46.045] #6 0.644 SyntaxError: Invalid or unexpected token
[19:59:46.049] #6 0.644     at new Script (node:vm:94:7)
[19:59:46.054] #6 0.644     at createScript (node:vm:251:10)
[19:59:46.059] #6 0.644     at Object.runInThisContext (node:vm:299:10)
[19:59:46.063] #6 0.644     at node:internal/process/execution:79:19
[19:59:46.068] #6 0.644     at [stdin]-wrapper:6:22
[19:59:46.072] #6 0.644     at evalScript (node:internal/process/execution:78:60)
[19:59:46.080] #6 0.644     at node:internal/main/eval_stdin:30:5
[19:59:46.084] #6 0.644     at Socket.<anonymous> (node:internal/process/execution:195:5)
[19:59:46.087] #6 0.644     at Socket.emit (node:events:526:35)
[19:59:46.089] #6 0.644     at endReadableNT (node:internal/streams/readable:1359:12)
[19:59:46.091] #6 0.644
[19:59:46.094] #6 0.644 Node.js v18.17.1

Restarting the server seems to have remove the issue

Restarting doesn't seem to solve it for me. Can we re-open the issue? 🙏

For me it simply works once after a restart, deployments afterwards are failing again. I'd also advocate to open it again @andrasbacsai

Same for me, not working after restart and rebuild

Same for me, not working after restart and rebuild

Just as a temporary semi-workaround, building with yarn seemed to work fine.

Yes indeed same for me

Where can we look at the docker images that coolify is using? I would need this fix and want to create a PR

Related Issue: https://github.com/coollabsio/coolify/issues/1090

I just tried to build my site again using pnpm and everything seems to be back to normal. Perhaps it was something related to a change in node:lts? Do you folks also use that image?

my repositories started working again too.

It's been happening again for a while in my project. Anyone else experiencing the same issue?

Had a lot of troubles with the automatic container generation from nixpack. So i switched to custom Dockerfiles for all my projects. It was really unstable

switched to custom Dockerfiles

I did the same thing: using Dockerfiles and Docker Compose only


It's still hard to distinguish between product and documentation bugs sometimes

... apologies for opening issues in the wrong place.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 0193ed76-3eec-18ac-512f-45f8118dde34
Version Independent ID: 8e693833-3e45-2bb8-ddc2-d0c54936c3c1
Content: A New Feedback System Is Coming to docs.microsoft.com
Content Source: teamblog/a-new-feedback-system-is-coming-to-docs.md
Product: team-blog
GitHub Login: @dend
Microsoft Alias: dendeli

@StingyJack not a problem - for content bugs, make sure to comment on the article itself. For site feedback, please refer to https://aka.ms/sitefeedback. For product feedback, teams will typically include a link within their own documentation that points to the right place.

As long as it's ok that I continue to report issues in the wrong place when unsure, or report them as documentation issues if I can't find the product link easily (SQL server or a Windows tool like pwrcfg.exe).


dev command aliases

I don't know if it is possible to define a command alias since it might clash with contextual commands. For example: dev config set alias status="dev ps -- git --status" defines alias status. Then, dev status will execute command dev ps -- git --status (assuming #34 is resolved).

It would be great to have aliases in addition to contextual commands. We can always say the contextual commands take precedence over the global aliases. We can also have an option for the global aliases to be marked "unoverridable" or something!


How TO USE DEXTER.2.1.0.JAR

Hi,
When I just import the binary jar Dexter.2.1.0.jar in my project,how can I implement a annotate like the following code.
{
DexterRestClient client = new DexterRestClient("http://localhost:8080/dexter-webapp/api/rest");
AnnotatedDocument ad = client
.annotate("Dexter is an American television drama series which debuted on Showtime on October 1, 2006. The series   centers on Dexter Morgan (Michael C. Hall), a blood spatter pattern analyst for the fictional Miami Metro Police Department     (based on the real life Miami-Dade Police Department) who also leads a secret life as a serial killer. Set in Miami, the show's first season was largely based on the novel Darkly Dreaming Dexter, the first of the Dexter series novels by Jeff Lindsay. It was adapted for television by screenwriter James Manos, Jr., who wrote the first episode. ");
System.out.println(ad);
SpottedDocument sd = client
.spot("Dexter is an American television drama series which debuted on Showtime on October 1, 2006. The series centers on Dexter Morgan (Michael C. Hall), a blood spatter pattern analyst for the fictional Miami Metro Police Department (based on the real life Miami-Dade Police Department) who also leads a secret life as a serial killer. Set in Miami, the show's first season was largely based on the novel Darkly Dreaming Dexter, the first of the Dexter series novels by Jeff Lindsay. It was adapted for television by screenwriter James Manos, Jr., who wrote the first episode. ");
System.out.println(sd);
ArticleDescription desc = client.getDesc(5981816);
System.out.println(desc);
}
It seems to can not work.

hello @hopeldy, I would need some more details to help you :) why it doesn't seem to work? does the server work? do you get a response if you visit http://localhost:8080/dexter-webapp/dev ? if you get errors could you paste the logs here?
Thanks


S3 logging should work with custom endpoints (e.g. Minio)

Describe the bug:
Banzai logging operator Output supports S3.
However, pointing to custom S3 endpoints (e.g. an S3 endpoint not hosted at AWS) does not appear to work.

example manifest
apiVersion: logging.banzaicloud.io/v1beta1
kind: Output
metadata:
  annotations:
    field.cattle.io/description: OVH Object Storage PoC
  name: ovh-banzai-objectstorage-output
spec:
  s3:
    aws_key_id:
      valueFrom:
        secretKeyRef:
          key: accessKeyId
          name: logging-ovh-s3
    aws_sec_key:
      valueFrom:
        secretKeyRef:
          key: secretAccesKey
          name: logging-ovh-s3
    s3_bucket: mybucket
    s3_endpoint: https://storage.gra.cloud.ovh.net/
    s3_region: gra
status:
  active: true

Expected behaviour:
Logs should ship to the custom S3 endpoint.
Steps to reproduce the bug:
Setup Banzai operator, create a Flow, and create an Output pointing to a custom, non AWS-hosted S3 endpoint like above.
Additional context:
I noticed the URL the underlying aws-s3-sdk Ruby gem tries to connect to, seems potentially wrong. Not 100% sure.

Minimum needed code to repro:
require 'aws-sdk-s3'

options = {}
options[:access_key_id] = "SNIP"
options[:secret_access_key] = "SNIP"
options[:endpoint] = "https://storage.gra.cloud.ovh.net"
options[:region] = "gra"

s3_client = Aws::S3::Client.new(options)
@s3 = Aws::S3::Resource.new(client: s3_client)
@bucket = @s3.bucket('mybucket')
print('exists?', @bucket.exists?)

Environment details:

Kubernetes version (e.g. v1.15.2): 1.20.14

Cloud-provider/provisioner (e.g. AKS, GKE, EKS, PKE etc): Hetzner + RKE

logging-operator version (e.g. 2.1.1): 3.8.2

Install method (e.g. helm or static manifests): Rancher

Logs from the misbehaving component (and any other relevant logs):

2022-09-06 13:42:38 +0000 [error]: fluent/log.rb:371:error: unexpected error error_class=Aws::S3::Errors::Http405Error error="Aws::S3::Errors::Http405Error"

Resource definition (possibly in YAML format) that caused the issue, without sensitive data:
see above

/kind bug

TIL about the force_path_style: "true" config, which may be required, depending on your provider.
In my case, OVH object storage this was needed. I'm no longer seeing errors. No response needed, thanks anyway.
Closing the ticket.


update from treedivBZ branch

refactor so that barycheb is imported from CompositeGrids, now this package relies on CompositeGrids.
add locate and volume for all meshes, tested with simple MC sampling in tests.
Could release a new version, version number change needed.
Could also change package name and release officially.

Codecov Report

Merging #12 (e0eaf7f) into master (7603c1b) will increase coverage by 3.06%.
The diff coverage is 97.12%.

@@            Coverage Diff             @@
##           master      #12      +/-   ##
==========================================
+ Coverage   80.50%   83.56%   +3.06%
==========================================
  Files           3        2       -1
  Lines         436      353      -83
==========================================
- Hits          351      295      -56
+ Misses         85       58      -27

Impacted Files
Coverage Δ

src/basemesh.jl
88.41% <96.42%> (+16.73%)
:arrow_up:

src/tree.jl
79.36% <100.00%> (-2.68%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Multiple Chrome Profiles and Proxy features - ideas to explore, Ghostbrowser etc

I like to use TagUI to automate web actions in multiple accounts. Each web account maintains a unique IP through the use of proxy. Ideally, I like each account to maintain their session to avoid having to login again daily. What's the best way to do this? Will you support Ghostbrowser since its based on chromium?

Oh great, thanks @0xGitGuy for sharing back! I'll close the issue for now but please feel free to ping back here.
PS - sorry for my slow reply, was away past few weeks to organise my mum's funeral and coming back to work again


Search and scrape episode data error

[Version:](url
tmm_logs.zip
) 2.9.11
Build: 2018-05-05 08:12
OS: Mac OS X 10.12.6
JDK: 1.8.0_152 x86_64 Oracle Corporation
What is the actual behaviour?
What is the expected behaviour?
Steps to reproduce:
Additional
Have you attached the logfile from the day it happened?

Recently, TVDB has some errors and is sometimes shortly not available,
If you start TMM, we try to open a connection (which fails), and every requests afterwards will fail also.
We changed this behaviour with next version;
so if you want to test it, the pre-release is already built ;)
With current version you have to keep restarting TMM until the API of TVDB works...


Only test ol.format.MVT if ArrayBuffer.isView is supported

fixes #5990

@ahocevar, is this now good to go from your side? Alternatively (with more overhead) we could have our own polyfill as suggested in https://github.com/openlayers/ol3/issues/6003#issuecomment-255064819 You decide.

@fredj Did you test whether this passes in IE 10?

@marcjansen re-checking now

Thanks for the review


Added support for introspection type support in C

Connects to ros2/rcl#32
old PR: https://github.com/eProsima/ROS-RMW-Fast-RTPS-cpp/pull/18
I wasn't sure what the best way to take over this PR was because @esteve submitted it from his fork. I added some tweaks to reenable a check for guard conditions and to repress an unused variable warning. Besides that I think it's good to go.
http://ci.ros2.org/job/ci_linux/1106/
http://ci.ros2.org/job/ci_osx/888/
http://ci.ros2.org/job/ci_windows/1175

I've updated the original branch with @jacquelinekay 's changes and some additions in #18

Merged into #18


<EMAIL_ADDRESS>decompress error

Installing 'twilio' (5.12.0) [64bit] from twilio-scoop bucket
Loading twilio-win32-x64.tar.xz from cache
Checking hash of twilio-win32-x64.tar.xz ... ok.
Extracting twilio-win32-x64.tar.xz ... ERROR Exit code was 2!
Failed to extract files from C:\Users\elise\scoop\apps\twilio\5.12.0\twilio-win32-x64.tar.
Log file:
~\scoop\apps\twilio\5.12.0\7zip.log

I wasn't running as administrator


Download link on Getting started doc page is broken

The link to up_counter.py is broken on this page: https://nmigen.info/nmigen/latest/start.html

Duplicate of #647.


Collection.combinations()

To match @gdejohn's implementation of Collection.permutations(), we also need combinations().

Is that really for 1.2?

It's a pretty small thing. I was hoping to find a bit of free time this week to work on it, assuming @gavinking isn't already working on it.

Im not, no
Sent from my iPhone

On 21 Sep 2015, at 18:08, Griffin DeJohn<EMAIL_ADDRESS>wrote:
It's a pretty small thing. I was hoping to find a bit of free time this week to work on it, assuming @gavinking isn't already working on it.
—
Reply to this email directly or view it on GitHub.

Shall I move this to 1.3?

Yesterday I went to translate some Java code I had lying around for this, but I realized it assumed a set (no duplicate elements). I need to give it a bit more thought to avoid repeated combinations. I've been terribly busy with school, but I'll commit to figuring it out this weekend.

I'll move it to 1.3


[AIML-ADC-7608] remove quill and add tiptap

Issue #, if available: [AIML-ADC-7608][MLSpace] Upgrade frontend dependency (Quill)
Description of changes:

Remove quill
Add TipTap to replace react-quill. maintains all functionality as before
clears npm audit suggestions.
UI improvements

Changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Just to be sure it is working as expected have you tried creating a groundtruth job with this and making sure it looks as expected? Specifically using the editor to add images from s3? https://docs.aws.amazon.com/sagemaker/latest/dg/sms-creating-instruction-pages.html#sms-using-s3-images

I was able to confirm that the functionality still remains the same when adding images. The AWS image was a simple link to a public image and the one under "bad example" was a private image granted access using instructions here: https://docs.aws.amazon.com/sagemaker/latest/dg/sms-creating-instruction-pages.html#sms-using-s3-images

I have also updated the UI to make the buttons smaller. This helps with formatting for most screen sizes

I will be sending this for review again


Scheduled Cron Jobs - show when cron.service is running

Is it possible to show on the page Scheduled Cron Jobs if the cron.service is running or not?
It seems that mine wasn't running and i thought it was running when i could see my active cron jobs, but obvious i was wrong.

Hi,
Yes, have a look at System ⇾ Scheduled Cron Jobs ⇾ Configuration: Configurable options and its Display running status of jobs? option, which can be set to ○ Yes, and allow starting and stopping ○ Yes ◉ No.

I think you misunderstood me. I don't want to see if the actual cron job is running. I want to see if the cron.service is running.

Good suggestion - you should be able to see this at System -> Bootup and Shutdown, but we could also show it in the cron module.

I have implemented this for inclusion in the next release of Webmin

I have implemented this for inclusion in the next release of Webmin


fix: Don't assume test executable position

CMake automatically handles executable targets. The location of the
test targets might be changed by die project including PEGTL with
add_subdirectory.

Coverage remained the same at 100.0% when pulling 46fd4c1d5cca0d23428fe25ec97cd0b38c339f6a on pleroux0:master into 4713059b04fae69edc6066efc9ea12f59384c6c7 on taocpp:master.

Shouldn't we do the same for the examples then?

Examples are only built and never run in the CMake script. The tests are run during make test.

D'oh, of course! :)


fix: improve plugin error message

Signed-off-by: Junjie Gao<EMAIL_ADDRESS>

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

Comparison is base (b315de4) 73.35% compared to head (513f5ad) 72.66%.

Files
Patch %
Lines

plugin/errors.go
14.81%
23 Missing :warning:

plugin/manager.go
42.85%
4 Missing :warning:

plugin/plugin.go
87.09%
4 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #371      +/-   ##
==========================================
- Coverage   73.35%   72.66%   -0.70%
==========================================
  Files          27       27
  Lines        2492     2535      +43
==========================================
+ Hits         1828     1842      +14
- Misses        524      553      +29
  Partials      140      140

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


refactor!: add new resolver for IDEs

TL;DR
This pull request changes the way the plugin resolves information about installed IDEs and recently opened projects. To do so it now utilizes two files available for every JetBrains IDE which are product-info.json and idea.properties.
What changed

[BREAKING CHANGE] Removed jetbrains-shell-scripts-path, jetbrains-android-studio-config-path, and jetbrains-configs-path config options in favor of jetbrains-install-dir.
Moved MapToErrorLog trait to src/traits.rs file to avoid name conflicts with the error!() macro.
Expanded ide module to sub-modules:

data - Implementing IDEData struct holding all the resolved information about an IDE.
de - Implementing the Deserialize trait for IDEType and evaluate_property() method for deserializing Java properties containing expressions.
product_info - Implementing IDEProductInfo struct defining fields of the product-info.json file.
properties - Implementing IDEProperties struct defining fields of the idea.properties file.
The root module - Implementing the IDEType enum

The RecentProject struct now holds an Arc to the IDE from which it was resolved.
Implemented a way to display fallback IDE icons.
Add caching for icon_name

Why make this change
This change makes the plugin almost autonomous in terms of new IDE releases, only requiring an update to the IDEType enum to add new product code. It also lowers the amount of guesswork and user configuration required to resolve information needed for the plugin to work.

Current dependencies on/for this PR:

main

PR #3   👈

This comment was auto-generated by Graphite.

Merge activity

Oct 11, 12:10 PM: @zakuciael started a stack merge that includes this pull request via Graphite.


Add a parameter to enable refresh token on app types that support it

I'd like to create Okta apps with Refresh Token enabled so that I don't have to instruct people to add the setting manually. This is inline with our recommendations regarding third-party cookies.

Closing in favor of #277


Disabled border color

Describe the bug
It appears that the disabled border color is the same as the primary state border color.

To Reproduce
Steps to reproduce the behavior:

Go to http://auro.alaskaair.com/components/auro/checkbox
Inslect on the shadow DOM of auro-checkbox
See error

Expected behavior
There is no expected behavior, but this seems incorrect. We should review past design specs to find out of the auro CE is out of spec with the initial design.

https://www.figma.com/file/wU5lxm5roZpGkm6Af5w8a9/Checkbox?node-id=322%3A298
Changes made to the blueprint. The stroke of a disabled checkbox is now "auro-color-border-disabled-on-light"

@leeejune thanks. I will make the CSS updates shortly. Is it on your list to create the Figma/Release notes for this page?

Yup... https://github.com/AlaskaAirlines/auro-checkbox/issues/41


Update Pages Router for 0.4.0 update

Improve documentation
Link
https://supabase.com/docs/guides/auth/server-side/nextjs?queryGroups=router&router=pages
Describe the problem
Current documentation shows a deprecation warning when implemented due to value potentially being undefined.
return Object.keys(req.cookies).map((name) => ({ name, value: req.cookies[name] }))

Describe the improvement
Update server-props.ts and api.ts snippets to show how to gracefully solve this warning.
Additional context
If the solution is just to do something like this:
return Object.keys(req.cookies).map((name) => ({ name, value: req.cookies[name] || '' }))

I'm happy to make that update

Sure please do it!


VSCode cannot connect?

When using the newest VSCode I get:
Listen on 'localhost/<IP_ADDRESS>:8888'.
node:events:491
      throw er; // Unhandled 'error' event
      ^

Error: connect ECONNREFUSED ::1:8888
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16)
Emitted 'error' event on Ye instance at:
    at sm (c:\Users\iostream\.vscode\extensions\flix.flix-1.10.0\server\out\server.js:75:45285)
    at ClientRequest.<anonymous> (c:\Users\iostream\.vscode\extensions\flix.flix-1.10.0\server\out\server.js:75:43590)
    at ClientRequest.emit (node:events:513:28)
    at Socket.socketErrorListener (node:_http_client:502:9)
    at Socket.emit (node:events:513:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -4078,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '::1',
  port: 8888
}

Node.js v18.15.0
[Info  - 1:13:22 PM] Connection to server got closed. Server will restart.

(I have a suspicion that VSCode changed something and not us....)

@sockmaster27 @jaschdoc @mlutze @JonathanStarup This is pretty urgent since everything is broken in VSCode. If or when you have time, please have a look.
I suspect they changed something which broke something in our code.
Probably the starting point for us is in Socket.ts.

wscat suggests that the Flix compiler (java process) starts correctly and is listening for a bit.

It seems that the VSCode extesion, for unknown reasons, is blocked from connecting to the local port.

https://github.com/microsoft/vscode/issues/192545

Deplying a fix. Apparently using "localhost" no longer works.

Phew. Fixed.


Possibly remove File & Blame History Explorers (peek style)

Given the complexities of maintaining these as well as the non-optimal UI layout, I am thinking about removing these 2 features. Also given the more recent quick pick commands, these are sort of duplicated.
Please voice your feedback here if you feel these are valuable and should not be removed.

I will be removing this feature in a post-5.0 release

Hi, I just found out about the Blame History Explorer, not really sure how to use them but is their goal similar to GitHub's previous blame feature? Something like that would be super-useful in GitLens as the most recent blame might be something trivial like "code formatting" and an easy way to navigate to previous blames would be fantastic.

@borekb sadly no, they were a VERY early feature that hacked into the peek UI too attempt to make the history visible. It was before I started using quickpicks and before custom views existed. And there is just no reason for them to exist anymore (their cost in the code is also harmful to future features). But you will be happy to know, that I have something in the works that is somewhat similar to that GitHub feature you mentioned :)

The new Blame Previous Revision in 5.5.0 is fantastic, thank you!


Allow Digital and SingleAxis input actions for teleport

XRTK - Mixed Reality Toolkit Pull Request
Overview
Companion PR to https://github.com/XRTK/XRTK-Core/pull/729

/azp run

First issue.
When the input action for Teleport is changed to something other than Vector two, turning no longer works :S

Not an issue but to be expected. How is it supposed to work with only a single axis / digital input?

Ok, as per discussion, PR is fine as is.  Turning is not supported with Digital or Single Axis.  This will be addressed in 0.3 with a new Locomotion Feature

/azp run


Emergency Shuttle can be called by anyone who reaches the console

Description

Calling the emergency shuttle should require command permissions/ID like cargo ordering does.
Could maybe use a system similar to cargo console or HoP ID console.

Back in ye olde days of 13 there was a special wall card swipe thing that meant at least 2 heads had to swipe to call shuttle or request ERT. I think this would be a nice solution to the problem so you need 2 competent heads that agree.
Similar was used to go to code red and open the armory.

Back in ye olde days of 13 there was a special wall card swipe thing that meant at least 2 heads had to swipe to call shuttle or request ERT. I think this would be a nice solution to the problem so you need 2 competent heads that agree.
Similar was used to go to code red and open the armory.

Swipe calling shuttle / armoury varied depending on code base (/tg/staiton did neither). I reckon let anyone be able to call the shuttle and then use the swiping for red alert which would give you a shorter shuttle arrival time.

There's many rounds where the command IDs are just lost. The playerbase needs to grow into this.

Yeah that's fair.


operator gpu-operator-certified (v24.6.0)

@tariq1890 I have updated the OCP versions field as discussed.


Error: Uncaught (in promise): TypeError: gax.GrpcClient is not a constructor

I am building a chat bot using angular. I have used exact same code list on this page to query my intent, i am getting the below issue:
ERROR Error: Uncaught (in promise): TypeError: gax.GrpcClient is not a constructor
TypeError: gax.GrpcClient is not a constructor
at new SessionsClient (sessions_client.js:80)
at getintentdetails.ts:23
at Generator.next ()
at tslib.es6.js:73
at new ZoneAwarePromise (zone-evergreen.js:876)
at Module.__awaiter (tslib.es6.js:69)
at getintentdet (getintentdetails.ts:9)
at ChatComponent.addMessagefromUser (chat.component.ts:32)
at Object.eval [as handleEvent] (ChatComponent.html:27)
at handleEvent (core.js:34789)
at resolvePromise (zone-evergreen.js:797)
at new ZoneAwarePromise (zone-evergreen.js:879)
at Module.__awaiter (tslib.es6.js:69)
at getintentdet (getintentdetails.ts:9)
at ChatComponent.addMessagefromUser (chat.component.ts:32)
at Object.eval [as handleEvent] (ChatComponent.html:27)
at handleEvent (core.js:34789)
at callWithDebugContext (core.js:36407)
at Object.debugHandleEvent [as handleEvent] (core.js:36043)
at dispatchEvent (core.js:22533)
Code that i am using:
const dialogflow = require('dialogflow').v2;
const uuid = require('uuid');
/**

Send a query to the dialogflow agent, and return the query result.
@param {string} projectId The project to be used
*/

export async function getintentdet(projectId: String) {
// A unique identifier for the given session
const sessionId = uuid.v4();
//let privateKey = 'MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDimI7Y88jyKYVU\ndo5Q6xqCeFfO3hk2y3ii04OvC2H9BHu0ZwqZju7V/wDDm2RpJ7aIFK1iwE8DV9X1\naXvaKq//Nfp/hlg8xzc37rn3iQdq4vuSl9LThs+h0hz0RcHd0SD+hNgLxdlFddkw\nIvk/9+0jGSLCRSCtcZ3IbAs/9MvMTCItheVboUPSsRSF4PgohfnaQK8FonN24idk\nJjwUhw0hr8m7dIBf20spKwkM87ek6qMvU8ApbdZLl/H/1fUUbxYjWSeAoQRTvK3P\nu08Jy4u/DH9gD76IKJzETNid/hHPEFkBKY0MYtCQWbjsfUKIdTqwMNrPRC5k4IUW\n4AhQotCfAgMBAAECggEAYghxqMAT3F0FT4z5Nl34uqCZEKk7DF9MQlmzG4yXqLED\nWgHIbrYNc2zfJkF42Buz1zzm5JXhuUcLjKDF0hXszcPLK9fyHd1scNjqAQN6P46T\nG5Fux1AITXDLUQ1K+g4LscHEfJds0CXTwIUpA7leEXTC+nyQzikdA8Rmu5VLhIdN\nSoywK2JnLLKhJ20r2p61rg58PSFYcRXrNEXxnL7E6c2qvWGAacVoTZPuj3nWGhnQ\nDfJ3KKOnNaTe2Qh9pLIzJgalHOlwY+VyRLDvQAsUqlJbQ/zSUlhrpeTKJQ6m0Asa\nUUbno3Ukgv49t6j9yzmVDRizj6sG7C/WHTdkXHHlUQKBgQDzM9VeONNBg22cGYcW\nywVJFdC1gl6/9x+5g44ar0N/qIXst2QArvPaLUvL4BV1lbt8b5eL65VSWpqqq2T3\n2c75nMe/myA1odECVVpq7wjy6AJ4ak8ZfVvQ1y7hldTJDCzGorszeH0mR18hiiz9\nx3dOXMIr1uRHOymNCoFBI5durwKBgQDuhQTK1XCx9NBquK/uk4yGToKGvJslJWLk\nY3UTsCMHes+Bre5vSsoInWRPR2sjp7khDc2Xu/eaaDJgolW5lBpZo9iQy/gTddk2\nnbz7Q4bqEa+cf1svPI0m89N40Ze2hNo0n4uU5gxaqavW8+JUN+c3soEJqW83Ei27\nYNzAqui5EQKBgQDBJGYMKRblDYpsEP3uxRcSfse8jqfOzmScgPTHDm+Nn3mUj+RU\ngpzYpWZvqCuCsYIvBbSWA2cX+yqf5fQOviSYqcEc0waWcUc7Eiv3hpRVzJnBpbPh\n62OSjIIH12UgsZGRwsTm0Iabcs0DJugqN1Hxosr14/hw9XQ/NZuG7swhswKBgEQo\n7v2nkNTJyOU2cdATigy3UsV+EDfFP0VUxpghtWDlz3aXZZOYI7Pihk/BcPR3cYfo\nkd/SbydIr1y+BxFJKV6EW9bE8tdczf21hdOnsF4jP7PRERWmkA+Zjczw2BHoVRLE\npPaf5tfhtKFwgDTg5Mod0JIaQRXTtA3f2DWWoXqBAoGBAKC9Elf3DKciLv8QYfnK\n1o24/jeKgYp8imdtWCcGmQ3ce1Fwrrf1y9jbkdfmoLeHoxAWCWH8AYaMMX0Epm1g\nrX+eDps4fLZHjEvdEMR+0H/nNaxa4NJCf4Vs52eojsPPwZl0k2hNEIyIENH++YTJ\ngBD1FPlXU4CQx1A4iUMeVMBA';
// as per goolgle json
//let clientEmail =<EMAIL_ADDRESS>//let config = {
  //credentials: {
    //private_key: privateKey,
    //client_email: clientEmail
  //}
//}

const sessionClient = new dialogflow.SessionsClient();
// Create a new session
//const sessionClient = new dialogflow.SessionsClient({
//  keyFilename: "C:\Work\angular\applsupportprod-rsmosb-0c5c813dacc8.json"
//});
const sessionPath = sessionClient.sessionPath(projectId, sessionId);

// The text query request.
const request = {
  session: sessionPath,
  queryInput: {
    text: {
      // The query to send to the dialogflow agent
      text: 'hello',
      // The language used by the client (en-US)
      languageCode: 'en-US',
    },
  },
};

// Send request and log result
const responses = await sessionClient.detectIntent(request);
console.log('Detected intent');
const result = responses[0].queryResult;
console.log(`  Query: ${result.queryText}`);
console.log(`  Response: ${result.fulfillmentText}`);
if (result.intent) {
  console.log(`  Intent: ${result.intent.displayName}`);
} else {
  console.log(`  No intent matched.`);
}

}
My package.json:
{
"name": "applsupporbot",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular/animations": "^8.0.3",
"@angular/cdk": "^8.0.1",
"@angular/common": "~8.0.1",
"@angular/compiler": "^8.1.2",
"@angular/compiler-cli": "^8.1.2",
"@angular/core": "^8.0.2",
"@angular/forms": "~8.0.1",
"@angular/material": "^8.0.1",
"@angular/platform-browser": "~8.0.1",
"@angular/platform-browser-dynamic": "~8.0.1",
"@angular/router": "~8.0.1",
"axios": "^0.19.0",
"crypto": "^1.0.1",
"dialogflow": "^0.10.3",
"google-gax": "^1.1.5",
"googleapis": "^41.0.1",
"grpc": "^1.22.2",
"ng-gapi": "0.0.73",
"ngx-avatar": "^3.7.0",
"rxjs": "^6.4.0",
"tslib": "^1.9.0",
"zone.js": "~0.9.1"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.800.0",
"@angular/cli": "^8.1.2",
"@angular/language-service": "~8.0.1",
"@types/jasmine": "~3.3.8",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^8.10.51",
"codelyzer": "^5.0.0",
"jasmine-core": "~3.4.0",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~4.1.0",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~2.0.1",
"karma-jasmine-html-reporter": "^1.4.0",
"protractor": "~5.4.0",
"ts-node": "~7.0.0",
"tslint": "~5.15.0",
"typescript": "~3.4.3"
},
"browser": {
"google-gax": false,
"fs": false,
"crypto": false,
"http": false,
"http2": false,
"https": false,
"net": false,
"os": false,
"path": false,
"stream": false,
"zlib": false,
"tls": false,
"child_process": false
}
}

@sreekanthpalagiri are you attempting to load dialogflow in the frontend of your application? as of right now our libraries do not work in a front-end context.
CC: @alexander-fenster is dialogflow on your radar for some of the work we're doing around making our gRPC libraries webpackable?

@bcoe We won't be able to support streaming calls in browser (e.g. streamingDetectIntent), other than that, we'll be more than happy to try converting dialogflow to browser version and see how it works!
One thing that will be different compared to the current client library usage is that we'll need to use google-auth-library OAuth2Client to perform the complete OAuth2 workflow (redirect to authentication URL, accept the code, request a token). There will be no service account key support for browser usage.

cc: @ramya-ramalingam, @LibanOdowa

Thanks @alexander-fenster, @bcoe . I have now created a java service to connect to dialog flow and we  will have front end call it. I will look to update our project when browser support is available.

Sounds like this is safe to close, please let us know if that is not the case.


Disable Lock phone from the menu

I have seen in other applications timers, there is an option to disable the phone lock while of using the application, they could add in a next version?

Great idea!

Here ya go :zzz: :no_entry_sign:


Audit turicreate.utils

There are several things under turicreate.utils that are longer used and should be deleted. Many of the things that remain should either be hidden or moved to turicreate.test.util.

fixed by #1681


Manga Demon

Source name
Manga Demon
Source link
https://demonreader.org/
Source language
English
Other details
Manga Demon 1.4.9.zip
Previously supported in Tachiyomi, extension is not updated anymore and is not working anymore. Can you make a new one? Thx
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a title with source name.
[X] I have checked that the extension does not already exist on the website extensions list or the app.
[X] I have checked that the extension does not already exist by searching the GitHub repository and verified it does not appear in the code base.
[X] I will fill out all of the requested information in this form.

We don't manage manga extensions


Installing apify failes (probably on SQLite)

From user
-*****:~/apifyScraper$ npm i apify
npm WARN deprecated<EMAIL_ADDRESS>this library is no longer supported
npm WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
npm ERR! code 243
npm ERR! path /home/****/apifyScraper/node_modules/better-sqlite3-with-prebuilds
npm ERR! command failed
npm ERR! command sh -c prebuild-install || npm run build-release

System information:

OS: ubuntu 20.04
Node.js version v12.19.0
Apify SDK version [e.g. 0.20.4]

same here...

@alicanso how about now? We've rebuilt our SQLite prebuilds with latest versions of Node.

Ok, so I did some more testing and the issue is that our prebuilds are not being used when apify is installed with npm@7. I'll try to quickly fix this.

Should work now.

This should be fixed already (latest stable SDK uses<EMAIL_ADDRESS>that uses the fixed version of better-sqlite3).


Is Kafka-UI officially dead?

Issue submitter TODO list

[X] I've searched for an already existing issues here
[X] I'm running a supported version of the application which is listed here and the feature is not present there

Is your proposal related to a problem?
It is unclear whether Kafka-UI is still alive or whether it has been officially replaced by Kafbat.
Describe the feature you're interested in
If this project is dead, I think that it would benefit the community to post an official statement on the README.md and archive this project.
Describe alternatives you've considered
No response
Version you're running
v0.7.2
Additional context
No response

As of the time of this comment, the last two code commits where:

2024 Apr 08
2023 Sep 13

There are recent discussions, but they invariably have a comment in them from Haarolean stating, "this repo is not maintained".
Most recent pull request was 2024 July 26.
Quite a few Issues, but the only answers are again from Haarolean stating, "this repo is not maintained".

Too bad, this was really promising!

Well, the project is still alive over at Kafbat. Which is why I think this project should be archived.

Well, the project is still alive over at Kafbat. Which is why I think this project should be archived.

Thanks, looks great!

I switched from kafka-ui to kafbat-ui in a Kubernetes cluster. Both were installed using helm charts. The yamlApplicationConfig schema for features like ksqlServer, kafkaConnect, and rbac (Google OAuth) was identical. Migration is seamless. Kafbat is safer due to continuous CVE patches. I recommend switching to kafbat, as it's actively maintained.

In kubernetes clusters, I switched from kafka-ui to kafbat-ui using official helm charts. The yamlApplicationConfig schema was identical for ksqlServer, kafkaConnect, and rbac features. This allowed a 10-minute migration per cluster. Most helm values stayed the same. Kafbat is safer with continuous CVE patches. I recommend it for active maintenance.


Local file support

It would be awesome to have a way to support a user passing local files to use in the browser.
Example API: config.set_assembly(data="path/to/my/cool.fa")
Possible implementation:

Check data, if it's not a URL, start Flask (silently under the hood)
Use Flask to serve the data as a local URL

Some mechanics:

range requests with Flask
Gradio has some code for starting up Flask to serve stuff, but in our case we are serving the data, not the UI.

https://github.com/GMOD/dash_jbrowse/issues/5

I created this file in the root dir of my computer to run an http server to serve my local files. Credit goes to: https://stackoverflow.com/questions/21956683/enable-access-control-on-simple-http-server
test_server.py
#!/usr/bin/env python3
from http.server import HTTPServer, SimpleHTTPRequestHandler, test
import sys

class CORSRequestHandler (SimpleHTTPRequestHandler):
    def end_headers (self):
        self.send_header('Access-Control-Allow-Origin', '*')
        SimpleHTTPRequestHandler.end_headers(self)

if __name__ == '__main__':
    test(CORSRequestHandler, HTTPServer, port=8000)

$ python test_server.py
While that server is running...
Replace the path "http://[::]:8000/<path/to/your/genome>" with the path to the file of your genome
browser.py
from dash import html, Dash
from jbrowse_jupyter import create, create_component
app = Dash(__name__)

conf = create("config")
new_assembly = conf.set_assembly("http://[::]:8000/<path/to/your/genome>", overwrite = True)

# Note: set_assembly assumes there will be a .fai file in the same directory unless you pass a specific path
# create a dash component
component = create_component(hg38.get_config(), dash_comp="LGV")

# launch the component
app.layout = html.Div(
    [component],
    id='test'
)

if __name__ == "__main__":
    app.run_server(port=3001, debug=True)

$ python browser.py

Addressed in release v1.3.6.


[FEATURE REQUEST] Add Progress Tracker UI to the Wizard

Description:
The goal of this issue is to enhance the user experience by adding a progress tracker UI to the existing stepper wizard in the Invoice Generator app. The progress tracker will help users easily understand their position within the wizard and the steps remaining in the invoice creation process.
Feature Details:

Implement a visual progress tracker that displays the current step and the total number of steps in the invoice creation process.
Ensure that the progress tracker is integrated with the existing stepper wizard and accurately reflects the user's position.
The progress tracker should be user-friendly and visually appealing, providing a clear indication of completed and upcoming steps.

Acceptance Criteria:

The progress tracker is correctly integrated with the existing wizard, displaying the current step and the total number of steps. (Can also include a text label next to the number)
Users can quickly grasp their progress within the wizard.
The UI design of the progress tracker aligns with our app's style and is visually consistent.

Additional Context:
The implementation of this progress tracker will improve the overall usability of the app and enhance the user experience by providing clear guidance throughout the invoice creation process.

Commit 683edf2 implements this feature


Setup Dev DB Environments in Firebase

We need to structure out how to handle Dev, Staging and Prod environments. How to handle and wipe data and how many dbs we need.
Acceptance Criteria:

dev database can be wiped with yarn command
dev database can be seeded with test campaigns and signatures
prod database can be wiped & initialized in a manual fashion (not sure how to auth this through the central setup)

to discuss on monday, 9/17
maybe this is why Travis keeps breaking?


ERROR [internal] load metadata for mcr.microsoft.com/windows/servercore:ltsc2019

I am getting below error ::
C:\ZainTasks\ReportingTools\Docker-PowerBI-master>docker build -t healisticengineer/pbirs1.14 .
[+] Building 1.1s (3/3) FINISHED
=> [internal] load build definition from Dockerfile                                                               0.0s
=> => transferring dockerfile: 32B                                                                                0.0s
=> [internal] load .dockerignore                                                                                0.0s
=> => transferring context: 2B                                                                                0.0s
=> ERROR [internal] load metadata for mcr.microsoft.com/windows/servercore:ltsc2019                               1.0s

[internal] load metadata for mcr.microsoft.com/windows/servercore:ltsc2019:

failed to solve with frontend dockerfile.v0: failed to create LLB definition: no match for platform in manifest sha256:d365ab93a48e9b6fcf2d7db6474fbe78c5e725a2768b3ec1388600a078bd3177: not found

Please I am having the same error, please can you help:
Build an image from a Dockerfile
(base) gerald@gerald-444 Docker-PowerBI % docker build -t healisticengineer/pbirs1.14 .
[+] Building 1.0s (3/3) FINISHED
=> [internal] load build definition from Dockerfile                       0.0s
=> => transferring dockerfile: 37B                                        0.0s
=> [internal] load .dockerignore                                          0.0s
=> => transferring context: 2B                                            0.0s
=> ERROR [internal] load metadata for mcr.microsoft.com/windows/serverco  0.9s

[internal] load metadata for mcr.microsoft.com/windows/servercore:ltsc2019:

failed to solve with frontend dockerfile.v0: failed to create LLB definition: no match for platform in manifest sha256:46b40e526196d42b78d6bc777529203fd51467b095ddcb7acc87fc475c3c5e55: not found
(base) gerald@gerald-444 Docker-PowerBI % docker build -t healisticengineer/pbirs1.0 .
[+] Building 1.0s (3/3) FINISHED

This is an issue with the docker client, not the image.
Please try some of the resources below for a fix.
https://medium.com/code-kings/docker-how-to-fix-failed-to-solve-with-frontend-dockerfile-v0-error-when-building-a-docker-image-6d7dc95abd27
https://itprohelper.com/docker-failed-to-solve-with-frontend-dockerfile-v0-failed-to-create-llb-definition/

I'm getting following error
ERROR: failed to solve: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount1752732988/Dockerfile: no such file or directory


BaseImage is abstract, you can't do a query on it

https://github.com/divio/cmsplugin-filer/blob/02ea64d6087075c93d31af1c078dae06b274168a/cmsplugin_filer_folder/cms_plugins.py#L54
If you try to run BaseImage.objects.none() an exception will be thrown:

AttributeError: Manager isn't available; BaseImage is abstract

I got this error as well. Client wanted to add folder, chose none and now it shows this error without any chance to fix it from the website. We had to go to the database and remove it.


Does not work anymore

Tells me invalid or unexpeted token since new Adroid App Vesion 5.4.24
Seems that token was changed, but also the new token (read out with the russian app) did not work.

I got the update for the MiHome App yesterday (5.4.26)...
The Adapter is working normally..
Token does not change by itself or during a simple app update.
Can you please provide a screenshot of the log/error messages?

Hi, here is the screenshot... Thank you for your support....

Thank you, that solved my problem. Adapter is working fine again.