Link source code and website

In order to improve the platform, I would like to know where the source code is hosted and where I can see the currentlz deplozed version of the source code.

[ ] Put a link to github into the footer https://github.com/hpi-schuelerklub/workshop-portal/
[x] add the link http://workshopportal.herokuapp.com/ to the description in the README file
[ ] set the top link next to the description of the repository to http://workshopportal.herokuapp.com/

The footer code is gone in the master branch.

here: https://github.com/hpi-schuelerklub/workshop-portal/blob/af76e08a8b77aa91d15b22a2c195778024451a56/app/views/layouts/application.html.erb#L65
gone: https://github.com/hpi-schuelerklub/workshop-portal/blob/master/app/views/layouts/application.html.erb#L41

I wonder where the footer is.

Our standard branch is dev at the moment, this might resolve your wonders? 🙂


Flick Jar File & Sample Java Code to capture recording IOS & Android

It would be helpful for Java community to include sample programme to demonstrate Flick recording capabilities. I searched your account for Jar file & Sample Java code but somehow I couldn't able to find one.

Figured out to work without Jar File & Java code.

Hi @rsudam - would you mind posting your solution. Might be helpful for others looking for the same thing. Thanks.

Sure, I have created two .sh files with below commands and running in via runtime.exec method available in java
startVideoRecoding.sh
#!/bin/bash cd ~ /usr/local/bin/flick video -a start -p ios -c 1000
stopVideoRecording.sh
#!/bin/bash cd ~ flick video -a stop -p ios -o ./Documents -n newVideo1 -f mp4
but when ever I tried running the code I'm getting below error.
 idevice_id was not found. Please ensure you have installed idevice_id and it's in your $PATH
I have done following things, but no use. I suspect that it is running in different location.
brew uninstall ideviceinstaller brew uninstall libimobiledevice brew install --HEAD libimobiledevice brew link --overwrite libimobiledevice brew install ideviceinstaller brew link --overwrite ideviceinstaller

flick video -a start -p ios -o /Users/shubham_v/Documents/workspace/IOS-Testing-Framework-For-Single-device/RecVideo -n Myvideo -u cadbfa009236b43083441e55446476be41a91a
like this u have to mention the device id


"Automatically resize uploaded images" breaks PNG semi-transparancy

Hello,
When this setting is  enabled together with 1920x1920 and 80% quality, semi-transparant pixels become solid pixels. Fully transparent pixels stay transparent.
Please use attached picture to reproduce:

^ There is an actual picture there.

The same on 8.1.0 - a blocker for me.

I can confirm this using the latest develop branch.
This doesn't appear related to the "Automatically resize uploaded images" option, but instead is an issue with processing 8 bit PNG files. The example image @Yihka attached is an 8 bit PNG file.
In addition to thumbnail creation and resizing, this also affects other methods in the BasicThumbnailer class, like getThumbnail().
Here is an example:
PNG-24

PNG-8

Both Images in concrete5

Many people use PNG-8 files because of the substantial file size savings, so a fix for this would be greatly appreciated.

This is a problem with the Imagine library (or the underlying GD library). See https://github.com/avalanche123/Imagine/issues/498

Thank you for looking into it, @mlocati.

24/32 bit png are affected as well.
It depends what kind of colour space is used or if the colour profile is embedded.

https://github.com/avalanche123/Imagine/pull/585 will fix this issue (let's just hope that someone will merge it and draft a new Imagine release)

@mlocati
I applied the fix and it restores transparency to PNG8 images.
Current:

Changes:


multiple constructor for CurrencyTextInputFormatter

Its a breaking change.
Multiple constructors created for CurrencyTextInputFormatter that allows creation of NumberFormat.currency and NumberFormat.simpleCurrency directly and also another to pass NumberFormat as parameter. These constructors allow a more versatile way to control how NumberFormat is instantiated. Eg. NumberFormat.simpleCurrency uses the actual currency symbol instead of the currency ISO name.
Adds a method called getDouble to be able to get the double value directly.
Add example and tests for the newly getDouble method.
Also enable web compilation.

@rsegecin Amazing! Thanks. I will release new version soon.

Awesome, thank you too.


closes #65

add dividends_annual property to Portfolio
includes test file "t_test_portfolio_dividends_annual.py"
Please let me know if there are any errors or follow ups.

It looks like I submitted this twice. I did not mean to do that. Sorry for the confusion.


Fix unexpected readme file behavior

This PR fixes the strange file save debounce logic by downgrading to Monaco 4.4.5. There is apparently a regression in the Monaco editor's onChange() callback in 4.4.6.

Close in favor of #165


Add information about Classic retention versus Workbook. Screenshots from classic mode only

Current UX looks like

In a page described only "classic" mode that is no longer default. Please, actualize information/screenshots.

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

ID: 1fc62065-afec-23f0-b6a5-30ca40db835c
Version Independent ID: 802035ca-af3a-0339-7e4a-56a8bc27c306
Content: Azure Application Insights Usage Impact - Azure Monitor
Content Source: articles/azure-monitor/app/usage-impact.md
Service: azure-monitor
Sub-service: application-insights
GitHub Login: @NumberByColors
Microsoft Alias: daviste

@SychevIgor Thanks for the feedback!
Assigning @NumberByColors for visibility, review and document enhancement consideration as appropriate.

Related - #73608
Adding @acearun

Hi @SychevIgor sorry for the delay and thank you for catching that. I made an internal work item to update the Usage Impact doc for this month's sprint. I'll close out this issue for now but will @mention you when the update is complete.
#please-close


python311Packages.bc-jsonpath-ng: 1.5.9 -> 1.6.1

Diff: https://github.com/bridgecrewio/jsonpath-ng/compare/refs/tags/1.5.9...1.6.1
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Priorities
Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 270880 run on x86_64-linux 1

6 packages built:

checkov
checkov.dist
python310Packages.bc-jsonpath-ng
python310Packages.bc-jsonpath-ng.dist
python311Packages.bc-jsonpath-ng
python311Packages.bc-jsonpath-ng.dist


[SPARK-49082][SQL] Widening type promotions in AvroDeserializer

What changes were proposed in this pull request?

This PR aims to widen type promotions in AvroDeserializer. Supported as following(Avro Type -> Spark Type):

Int -> Long ;
Int -> Double ;
Float -> Double;

Why are the changes needed?

Similar to PR #44368 for Parquet reader, we'd better to enable type promotion/widening for Avro deserializer.
Does this PR introduce any user-facing change?

Yes, but more convenient for users.
How was this patch tested?

Pass GA and add a new test case.
Was this patch authored or co-authored using generative AI tooling?

No.

cc @cloud-fan  and @LuciferYang

Test failure is not related.

Rebase master and waiting for CI~

thanks, merged to master


Improve how to test the textLocation

Right now to test TextLocation is a pain. And it's even worst to mantain those tests. @schalkms said that to me multiple times and I agree with him. I had an idea to fix this:
Right now we are doing things like this:
val findings = subject.compileAndLint("object SomeObject {}")
assertThat(findings).hasTextLocations(18 to 20)

But we could change to something like this:
val findings = subject.compileAndLint("object SomeObject {}")
assertThat(findings).hasTextLocations("{}")

We can overload the hasTextLocations to accept a vararg of Strings. It will find that text in the code, take the char position and then call to the other hasTextLocations.
I implemented it and you can check the code in this diff: https://github.com/arturbosch/detekt/compare/master...BraisGabin:textLocations
What do you think? If you like the idea but not some of the implementation details I can create a PR to make it easier to provide feedback.
Maybe this code will help with #2087

Thanks! That's actually a very nice idea.
Please go ahead and create a PR. I'd like to immediately merge this.

Maybe we need both variants. If the findings is attached to the whole KtFile/KtNamedFunction we do not want to duplicate the entire code or am I missing something?

@arturbosch I’m not sure what you mean. Can you please elaborate?
In my opinion this check covers the text location functionality.
I think the codebase needs a refactoring towards the new API introduced in the referenced PR.

I didn't remove the other method. I just overload the current one so we can use both depending which one works better for the current situation.


[WIP] Upgrade php cs from v2 to v3

WIP
Upgrade php-cs from ^2.16 to 3.4.
Upgrading of composer/composer and composer/semver are required.

I don't use repman anymore in my new company. So I don't you it and can't continue migration.
Feel free to open a new PR if you want :smile:


Update get-networkcontrollerloadbalancerfrontendipconfiguration.md

Added example and descriptions

@AnirbanPaul,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Fix serialisation of IRIs with percent encoding

Currently iris like <hello%20world> are serialized as hello%20world in csv, which  is not interpreted as an iri upon reading.

I need to check if this is still an issue at all.


A question about import torch

 Environment data

Language Server version: 2021.7.5
OS and version: linux x64
Python version (and distribution if applicable, e.g. Anaconda): Miniconda Python 3.8.10
python.analysis.indexing: undefined
python.analysis.typeCheckingMode: off
pytorch version: 1.9.0

 Behaviour
When I type import torch, a warning appears - Import "torch" could not be resolvedPylancereportMissingImports.

Do you have the environment where torch is installed selected at the bottom left as your active interpreter? Pylance respects the interpreter chosen by the Python extension.

Thanks for your help, the warning disappears after selecting the environment at the bottom left.


[744] SPIKE - Change international degree country input to use country autocomplete

Context
https://trello.com/c/pT77mEFm/744-spike-international-degree-country-input-should-use-country-autocomplete
Changes proposed in this pull request

Introduce new component: FormComponents::CountryAutocomplete::View
Install another node module: https://github.com/alphagov/govuk-country-and-territory-autocomplete
Use a custom file (location-autocomplete-graph.json) for govuk-country-and-territory-autocomplete because DTTP doesn't have all the countries listed in the original location-autocomplete-graph.json.
Add country codes for Dttp::CodeSets::Countries::MAPPING to generate a custom location-autocomplete-graph.json file

Guidance to review

Visit http://<IP_ADDRESS>:3000/trainees/{trainee_id}/degrees/new?locale_code=non_uk
Under "Where is the degree institution based?", start typing. e.g. "Wales", "Scotland", etc. You can also try searching for a country using a country code
You should always find the country you expected to find

 [SPIKE] International degree country input should use country autocomplete

 [SPIKE] International degree country input should use country autocomplete

@AbigailMcP I added the comment to Dttp::CodeSets::Countries::MAPPING and also created a rake task to regenerate the file location-autocomplete-graph.json in case we add or remove entries in Dttp::CodeSets::Countries::MAPPING.

@AbigailMcP I added the comment to Dttp::CodeSets::Countries::MAPPING and also created a rake task to regenerate the file location-autocomplete-graph.json in case we add or remove entries in Dttp::CodeSets::Countries::MAPPING.

Looking good!

Looking good!


Address some outstanding issues with Alt -> Flux migration

Fix bug preventing ajax loader from working
Reset the comment form only upon success
Display errors on the comment form and comment list if communication with the server fails

@mapreal19 Please work with @PlasticLizard on getting his changes merged with yours.

@justin808 just rebased PR-68 on top of this branch. Now seems good to go :ship:

@PlasticLizard @mapreal19 Super! @PlasticLizard Please let me know if you have any opinions, before merging to master.

Looks great, love the improvements to the tests.

I'll merge this evening then. And the next one then is put in server rendering: https://github.com/shakacode/react_rails_server_rendering
If either of you want to try this, let me know.
/spec/dummy in that gem repo has a sample app...
I'll push the ruby gem this evening...However, like the /spec/dummy app, you can try this all with a local copy of the git repo of the gem.


Move app modules under base project module

This moves the core and geodata apps to be nested within the rgd base project. This significantly simplifies project packaging for deployment via pip, as all source code is within the rgd/ directory.

@manthey @banesullivan This is slightly disruptive to existing PRs, since almost every file is renamed. However, it's my experience that Git's merging logic is actually pretty smart about resolving this sort of conflict automatically.
Since master was previously broken due to upstream dependency issues, now is perhaps a good time to make this change, since all outstanding branches need to be merged with master anyway.

This is slightly disruptive to existing PRs, since almost every file is renamed. However, it's my experience that Git's merging logic is actually pretty smart about resolving this sort of conflict automatically.

Yeah, this will be fun to merge into existing PRs but since you used git mv it should be clean and easy


[Doc Improvement][Update code sample links][3398438]

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/concepts/deploy-and-publish/appsource/post-publish/overview.md
88
24
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/concepts/deploy-and-publish/appsource/post-publish/overview.md
88
24
link
:white_check_mark:

msteams-platform/m365-apps/teamsjs-support-m365.md
94
11
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/concepts/deploy-and-publish/appsource/post-publish/overview.md
88
24
link
:white_check_mark:

msteams-platform/m365-apps/teamsjs-support-m365.md
94
11
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/concepts/deploy-and-publish/appsource/post-publish/overview.md
90
22
link
:white_check_mark:

msteams-platform/m365-apps/teamsjs-support-m365.md
94
11
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.


kyuubi-1.2.0 failed to submit spark application

kyuubi-1.2.0-bin-without-spark
Spark version 3.1.1
21/06/22 09:39:09 INFO ui.SparkUI: Bound SparkUI to <IP_ADDRESS>, and started at http://host-10-0-105-243:43946
21/06/22 09:39:09 INFO spark.SparkContext: Added JAR file:/data/soft/kyuubi/kyuubi-1.2.0-bin-without-spark/externals/engines/spark/kyuubi-spark-sql-engine-1.2.0.jar at spar
k://host-10-0-105-243:38443/jars/kyuubi-spark-sql-engine-1.2.0.jar with timestamp<PHONE_NUMBER>895
21/06/22 09:39:10 INFO client.AHSProxy: Connecting to Application History server at host-10-0-105-244/<IP_ADDRESS>:10200
21/06/22 09:39:10 INFO client.ConfiguredRMFailoverProxyProvider: Failing over to rm2
21/06/22 09:39:10 INFO retry.RetryInvocationHandler: org.apache.hadoop.security.authorize.AuthorizationException: Unauthorized connection for super-user: bigtop from IP 10.
0.105.243, while invoking ApplicationClientProtocolPBClientImpl.getClusterMetrics over rm2 after 1 failover attempts. Trying to failover after sleeping for 36516ms.
21/06/22 09:39:47 INFO client.ConfiguredRMFailoverProxyProvider: Failing over to rm1
21/06/22 09:39:47 INFO retry.RetryInvocationHandler: java.net.ConnectException: Call From host-10-0-105-243/<IP_ADDRESS> to host-10-0-105-244:8032 failed on connection exce
ption: java.net.ConnectException: Connection refused; For more details see:  http://wiki.apache.org/hadoop/ConnectionRefused, while invoking ApplicationClientProtocolPBClie
ntImpl.getClusterMetrics over rm1 after 2 failover attempts. Trying to failover after sleeping for 22316ms.
I don't know what's the matter? and I found the port 8032 is not configed in my cluster?

Hi @lordk911
Have you configured the env HADOOP_CONF_DIR which can be defined in $KYUUBI_HOME/conf/kyuubi-env.sh ?

etry.RetryInvocationHandler: org.apache.hadoop.security.authorize.AuthorizationException: Unauthorized connection for super-user: bigtop from IP 10

Hi @lordk911
Have you configured the env HADOOP_CONF_DIR which can be defined in $KYUUBI_HOME/conf/kyuubi-env.sh ?

yes I've configured  the env HADOOP_CONF_DIR which can be defined in $KYUUBI_HOME/conf/kyuubi-env.sh

etry.RetryInvocationHandler: org.apache.hadoop.security.authorize.AuthorizationException: Unauthorized connection for super-user: bigtop from IP 10

yes I saw the AuthorizationException, but in HADOOP_CONF_DIR/core-site.xml  have the property:
<property>
      <name>hadoop.proxyuser.hive.hosts</name>
      <value>host-10-0-105-243,host-10-0-105-244,host-10-0-105-246,host-10-0-105-248,host-10-0-105-250</value>
    </property>

hadoop.proxyuser.hive.hosts

after config all proxyuser related property to * , kyuubi can submit spark application to yarn.
but when I connect it with beeline ，I got error:
[bigtop@host-10-0-105-243 ~]$ beeline -n bigtop -u 'jdbc:hive2://host-10-0-105-243:10009/'
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/hdp/<IP_ADDRESS>-315/hive/lib/log4j-slf4j-impl-2.10.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/hdp/<IP_ADDRESS>-315/hadoop/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
Connecting to jdbc:hive2://host-10-0-105-243:10009/
Connected to: Spark SQL (version 1.2.0)
Driver: Hive JDBC (version <IP_ADDRESS>.1.4.0-315)
Transaction isolation: TRANSACTION_REPEATABLE_READ
Beeline version <IP_ADDRESS>.1.4.0-315 by Apache Hive
0: jdbc:hive2://host-10-0-105-243:10009/> show databases;
Unexpected end of file when reading from HS2 server. The root cause might be too many concurrent connections. Please ask the administrator to check the number of active connections, and adjust hive.server2.thrift.max.worker.threads if applicable.
Error: org.apache.thrift.transport.TTransportException (state=08S01,code=0)
0: jdbc:hive2://host-10-0-105-243:10009/>

I'm using HDP3.1.4 with hive version is 3.1.0 , should I compile the source code aginst hive3?

I am not sure,  but please try hive beeline < 2.3 first.

I am not sure, but please try hive beeline < 2.3 first.

Thank you, with using $SPARK_HOME/bin/beeline but the hive's beeline , I can query data from kyuubi

You are welcome


Carry triggerinstance context everywhere

add triggerinstance.correlation_id to supply reference to an external event in a triggerinstance
triggerinstance.id accessible in a rule so that it can be passed into an action
on-start notification to notify when an execution is started
ActionTrigger_start TriggerType
triggerinstance.id and triggerinstance.correlation_id should be available in notifier, actiontrigger etc.

Little bit of a context of the use case which we talked about -
Recently I added the ability to be able to filter executions by trigger instance id. This is useful when you know the trigger instance id or can look for it easily. For thousands of executions run in response to sensors listening to messaging queue such as rabbitmq, it is hard to find a particular execution. There a couple of ways to solve this -

Give ability for users to create their own IDs eg. UUID inside the sensor and pass it as correlation_id when dispatching trigger (#1 and maybe #5 above).
Make triggerinstance.id accessible in the sensor or rule so that it can be communicated to the user (#  2, 3 and 4 above).

Personally, I like option 1 better. This way, stackstorm doesn't need to communicate the id, since user already knows it. And this being an attribute of trigger instance, it makes it easy to filter by using stackstorm api or cli or even webui. If we use a custom attribute in payload to store this, users will need to explicitly pass it through all the actions in the workflow and filtering is harder as well. I believe this should be pretty easy to add as well.

implemented with trace-tags


Export to local file

hello! :3
i found this via the IzzyOnDroid F-Droid repository, and i am liking it so far (took a bit to get used to the button aesthetics but it's alright). <3
i'm writing this to let you know that it would be important to have a feature to export all the data to a file you can store somewhere (and possibly encrypt with a key from OpenKeychain or something simpler like AES). it might take a while and i didn't find a to-do list yet on what is already planned, but i'm already looking to see what comes out of this project <3
have a wonderful day ^w^
— wilker

Thank you for feedback, wilker!
We currently are in the process of creating a backup feature to export all user data into a file. Encryption would be nice, too. I will look into that.
Regards, Michael

thank you a lot ^^


Restricts decimal to 2 places in F

Fixing issue #38
https://github.com/Sanket1308/Weather-App/issues/38

Attach screenshot of changes!

This is what i see


[AMBARI-24065] Ranger Kms service smart config tab - KMS HSM not show…

…n after upgraded to Ambari-<IP_ADDRESS>.
What changes were proposed in this pull request?
Added name to the theme file
How was this patch tested?
Manually tested on a cluster

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/2648/
Test PASSed.


chore!: Bumps celestia-node compatibility to v0.11.0

Getter interface from celestia-node broke thanks to go-header
GetVerifiedRange is now called GetRangeByHeight
Please keep in mind that this is the method signature:
// GetRangeByHeight returns (fromHead.Height(): to)
GetRangeByHeight func(ctx context.Context, fromHead *header.ExtendedHeader, to uint64) ([]*header.ExtendedHeader, error) `perm:"read"`

It was complaining about needing to tidy go.mod @gupadhyaya


Getting error when integrating

OpenCVWrapper.mm:123:34: Use of undeclared identifier 'cvSize'

@vanithavijay  did you fix it ?

I am also facing the same issue cvSize in my M2 chip processor. How to fix it?


feat(robot): Support logging arbitrary data to the console

This adds a new command recognition for message type "log",
to enable console.log()ing arbitrary data to the parent process console.
Not sure if we'd really want this in, but it's very handy for debugging,
and would keep us from writing these 3 lines every time
we want to inspect something in between those processes.
Change-Type: minor

Is there, or should there be, documentation of what methods / messages / etc. the 'robot' understands / emits?

I like the idea. Lets add some documentation for this like @lurch pointed out. Maybe inside the README at lib/child-writer? We could also have a small utility function that creates and prints a "log" robot message, so we don't have to manually construct it.

IMHO we should wait until after #1221 has been merged, and then rebase this one.

Yeah, sounds like a good way to avoid some more complex conflicts.

The linked PR was merged! We have some conflicts here, but they are hopefully very simple to deal with.

*bump* https://github.com/resin-io/etcher/pull/1212#issuecomment-288897255  ;-)

re-ping @jhermsmeier - do you want to address @jviotti 's comments in https://github.com/resin-io/etcher/pull/1212#issuecomment-288897255

We could also have a small utility function that creates and prints a "log" robot message, so we don't have to manually construct it.

Added robot.log({ data: 'datadata' }) for even fewer chars to type (which just calls robot.printMessage('log', data)).

I like the idea. Lets add some documentation for this like @lurch pointed out. Maybe inside the README at lib/child-writer?

Added an example to lib/shared/robot/README.md, since the message passing is already documented there.


feat: Support for CloudFront Functions

Description
Adds support for CloudFront Functions - Terraform docs at https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudfront_distribution#function-association
Motivation and Context
Supporting new functionality
Breaking Changes
None
How Has This Been Tested?

[x] I have tested and validated these changes using one or more of the provided examples/* projects
I'm in the process of testing this in a private project, but I'm opening this PR already for some feedback

I've successfully applied the complete example as of my last commit

Thanks, Ricardo!
v2.5.0 has been just released.


euphoria-core: unbounded source without explicit windowing defined

Executing a stateful operator which itself does not define a windowing strategy and which consumes - directly or indirectly - a non-windowed, unbounded data set is basically undefined. This is, such an operator, e.g. ReduceByKey, consumes an infinite stream of data never reaching a point at which results can be emitted. Note:

stateful: consuming non-windowed, unbounded data sources through stateless operators, e.g. FlatMap, Union, Repartition is defined. There's no problem for them. These emit results immediately upon receiving input.
non-windowed and unbounded: this is, all along the way from the unbounded data source down to the operator in question, there is no explicit windowing part of the game. since euphoria has the notion of "attached windowing", one windowing on the way to the operator in question, makes the processing defined again - even if that operator itself has no explicit windowing defined.

It'd be good to immediately fail the attempt to translate a flow with the described situation. The situation is mostly unintentional, but the mistake is hard to spot at runtime - basically leaving the programmer wondering why no output is produced.
One might argue, though, that the situation is practically valid (e.g. it works nicely on flink actually): the semantic of such a situation might well be that the results are produced when the unbounded data source is closed/cancelled. however, such computed results are non-deterministic and unsound with the theory.

I'm not sure if this is directly related to this - but there is at least one valid use case of stateful non-windowed operation - that is a non-windowed stream join. The example would look like this:
  Dataset<?> stream = ...;
  Dataset<?> table = ...;
  Join.of(stream, table)
    .by(...)
    .using(...);

This can work without windowing assuming that there is a possibility to convert the table into random access storage. This can be done in many ways, depending on the physical storage of the dataset (e.g. if it is a Kafka stream, then in can be cached locally in the way KTable works in KStreams). There is no windowing needed, because the stateful operation is effectively turned into a stateless, one-element-at-a-time operation.

true enough; looks like the special case mentioned in #41

@je-ik i think your case suggests that the validation mentioned in this ticket is to be done only after the expansion of to operators to their basic "atoms." (or rather more precisely spoken, after the translation layer performed optimizations.) if we can be optimize the join operator example into an "on-the-fly left/right map-side join" (basically turning it into a stateless operation) the validation would naturally not trigger, in any other case i still see the operation undefined, for which we'd like to trigger the validation error. do you agree?

I agree there is a strong connection between my remark and the issue #41. The main difference that I see here, is that it is effectively possible (under some circumstances) to turn a stream into a random access storage locally (e.g. by reading the whole kafka topic and storing it to memory of local db). Therefore, it is kind of valid not to specify windowing in joining of two streams, provided that at least one of them is type of stream that is in fact a commit log (definition of a commit log is that you can seek inside it and therefore read old data from the stream). When user does not specify windowing in such a case, it is needed at the API level to make sure that one stream is treated as real stream, and the other one is treated as a stream of updates to a stateful database (that is called table-stream duality in the sense of KafkaStreams).
When we identify that we need to cache locally one of the input streams (and I am for simplicity omitting the problem of partitioning), then we can turn the join into "standard" map-side join as desribed in #41. Therefore I see my note as a little generalization of #41. Does that make any sense? :)

@je-ik sorry for the delay. i think i got your point. yes, it makes sense, absolutely.
i just don't have any particular idea about how we could differentiate the two situations - the one you mentioned and the one where none of the streams is "random access" - at the API level. maybe we don't need to. maybe a runtime check - as initially suggested - can handle both cases based on runtime properties of the two data sets. given we  - on purpose - do not distinguish between bounded and unbounded data sets on API level, i even think we should not make a difference on API level between stream which do and don't support "random-access".
right now, we don't have any support for random-access, but that will naturally arise from #41. therefore, i think we can proceed to implement the suggested validation and only later extend it with support for "table-streams".


Add replacement span for string literal

Fixes #29270

@typescript-bot pack this.

This sounds safe to put in the 3.9 RC. What do you think @DanielRosenwasser ?

@typescript-bot pack this

Looks like it's working!


chore(main): release 0.1.0

:robot: I have created a release beep boop
0.1.0 (2024-02-12)
Features

python, node initial setup (fb863d4)

Miscellaneous Chores

release 0.1.0 (313f3b9)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/justinthelaw/repository-template/releases/tag/v0.1.0 :sunflower:


Node-RED doesn't see images

Hi Ethan,
I'm trying to set up pallet-segmenter on my Ubuntu laptop.
Followed the instructions, everything seems to work fine (except that there's just one edge brunch instead of main in README.md).
However, I can't see any folder in the Node-RED dashboard, while the File Browser works and sees what is supposed.

Another question, how do I run the pallet-segmenter without pulling the images each time with sudo -E forklift plt apply?
Should I run all the Docker containers one by one manually?
Thank you,
Stas

Hi, Stas - thanks so much for trying out this repository and reporting these issues! To address each item:

edge branch instead of main in README.md: good catch! I've just fixed this error.
forklift plt apply pulling images every time: Two weeks ago I updated the forklift tool to a new version (v0.7.0, though now the latest version is v0.7.1) which changes the behavior of forklift plt apply - but I had forgotten to update the usage instructions in this repository's README to change the commands in the usage instructions so that they account for the changed behavior of the forklift tool. I've updated the README now - can you confirm that you're running v0.7.0 or v0.7.1 of forklift (by running forklift --version), and then see if the updated README instructions solve the problems you had with the Docker container images being pulled at unnecessary/inconvenient times?
Node-RED dashboard doesn't see any folders even though File Browser sees folders: I've pushed a commit now which simplifies how the pallet makes the data folder available to the Node-RED dashboard, to match what the pallet does for the File Browser - hopefully this will fix the problem. Can you see if the issue is resolved if you just follow the updated README instructions?

Hi Ethan,
Sorry for the late reply — thank you for the answer!
Unfortunately, I still can't see the ~/.local/share/planktoscope/data/img folder (or any other) from Node-RED dashboard. The list of folders is just empty…
I'm running forklift v0.7.1. sudo -E forklift stage apply command works like a charm

Hi, Stas - sorry about the slow response on my end. The situation leading to the problem you're experiencing seems to be a bit complicated, so it'll take some more time for me to figure out some next steps for troubleshooting this problem. I'll send another reply once I have some things for you to try out!


KAFKA-6054: Fix upgrade path from Kafka Streams v0.10.0

This is the port of #4746 (0.10.1) and #4758 (0.10.2) to branch 0.11.0.
\cc @bbejeck @vvcephei

Upgrade system test passed: https://jenkins.confluent.io/job/system-test-kafka-branch-builder/1573/
Triggered all Streams system tests: https://jenkins.confluent.io/job/system-test-kafka-branch-builder/1574/

Updated this. System test passed: https://jenkins.confluent.io/job/system-test-kafka-branch-builder/1593/

retest this please

Retest this please.

Merged to 0.11.0.


nullpointer when parsing JSON that starts with Array

i'm trying to parse a JSON that starts with a array. [ {...}, {...} ]
although when i try to cast that to a JSONObject i get a nullPointer later on when trying to .get(key) anything
but casting to JSONArray the size of the array is 0 and i get a nullPointer when trying to use .get(0)
my goal is to get the second object.

this issue is invalid as JSONObject isn't a JSONArray and the parser first returns the JSONArray object not a JSONObject


Update Minimizing Bundle Size Documentation

Remove deprecated babel-plugin-material-ui.
Add babel-transform-imports.
Add babel-plugin-direct-import.

[ ] PR has tests / docs demo, and is linted.
[ ] Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
[ ] Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

@umidbekkarimov Thank you :)


Fixed IF statement always being false

Please update the chart version and changelog.
You can also add to the CI tests if you have a test.

Sorry, 1.4.11 has subsequently been released. You'll need to merge against main again.


Research: parsersing markdown format

Steps:

Find and research markdown parsers. Prepare short talk at meeting (about 10 min)
Propose API and feature list for our internal markdown parser implementation
Implement markdown parser as a submodule of metacms or a separate module (we will make decision later)

FYI: @leonpolak

Useful information:
- GitHub Flavored Markdown Spec

Variant 3
Declarative translation definition without regular expressions:
const translateRules = [
  { starts: '######', tag: 'h6' },
  //
  { starts: '#', tag: 'h1' },
  { begin: '**', end: '**', tag: 'strong' },
  { begin: '`', end: '`', tag: 'code' },
  { starts: '-', group: 'ul', tag: 'li' },
];

I used this code in my version (it's far from completion, but you should get the idea)
`const parser = new DOMParser();
    const parse = function(str) {

        const fragment = new DOMParser().parseFromString(str, 'text/html');
        const tags = [
            ['##', '\n', '
', '
', false],
            ['#', '\n', '
', '
', false],
            ['**', '**', '', '', true],
            ['*', '*', '', '', true],
            ['~~', '~~', '', '', true],
            ['``', '``', '
', '
', true],
            ['`', '`', '', '', true],
            ['>', '\n', '
', '
', false],
            ['-', '\n', '
', '
', true, ['\n\n', '\n\n', '
', '
']],
            ['\n\n', '\n\n', '
', '
', true],
    ]
        const stack = [];
        let n = 0, length = str.length;
        let res = '', tag, close, found, ul;

        while (n < length) {
            // console.log(str.charAt(n), str.charCodeAt(n));
            if (close && str.substr(n, close[1].length) === close[1]){
                res += close[3];
                if (close[5] && str.substr(n, close[5][1].length) === close[5][1]){
                    res + close[5][3];
                }
                stack.pop();
                if(close[4]) n += close[1].length;
                if(stack.length > 0){
                    close = stack[stack.length - 1];
                } else {
                    close = null;
                }
            }
            else {
                found = false;
                for (tag of tags) {
                    if (str.substr(n, tag[0].length) === tag[0]) {
                        if (tag[5] && str.substr(n-tag[5][0].length, tag[5][0].length) === tag[5][0]){
                            res + tag[5][2];
                        }
                        res += tag[2];
                        stack.push(tag);
                        close = tag;
                        found = true;
                        n += tag[0].length;
                        break;
                    }
                }
                if (!found) {
                    res += str[n];
                    n++;
                }
            }

        }
        console.log(res);

        try {
            const doc = parser.parseFromString(res, "text/html");
            const errorNode = doc.querySelector('parsererror');
            if (errorNode) {
            // parsing failed
            } else {
                if (doc.body) html.innerHTML = doc.body.innerHTML;
            }
        }
        catch(e){
            console.log(e);
        }
    };`

I may to refactor and check this code. I will create issue for this.

I refactor this code. Put result to https://codepen.io/artificialman3000/pen/poLwZdg . Сhar-by-char cycle used here. I think that this way of implementation will become very complicated and has restrictions. For example, we have to wrap lists with blank lines, whereas in accordance with specification wrapping of lists is not required.
I examined markdown libraries marked and showdown. These libraries do not split markdown into lines but both use reqular expressions which simplify code. Marked library parse markdown into lexems as a pre-processing operation.
I viewed specification https://github.github.com/gfm/ . It contains direct instructions how to implement algorithm of parsing and advises construct the tree of elements.
I think we may create a declarative description of lines for block elements as Timur proposed, parse tree of its and then parse inline elements using char-to-char method. We also may use lexical preprocessing for the both steps.

@URVL write me in Telegram, please. t.me/ArtificialMan

As I see it, a specification with explanations is needed to represent what is necessary and what is not
parsing rules

name
data type
type
sample
description

line
boolean
content type
line
limited to line wrapping

block
boolean
content type
block
is a multi-line entity, is not limited to a line, it is necessary to check the following, if empty, then 2 (the final part is required equal to the beginning if strict)

except
string
content type
except : '\'
a symbol to exclude processing following it

begin
string
content type
begin : '###'
should it be only at the beginning of the line

strict
boolean
modifier
strict : false
are occurrences of other formatting allowed

? weight
number
modifier
w:5
defines the order of processing

group
string
modifier
group
be sure to check where the next line starts (if empty, then 2 lines)

start
string
? limit
**
beginning of a line or block

end
string
? limit
**
ending of a line or block

? if it is at the beginning of the line, then I am not sure if it is necessary (I still need to read the markdown specification)
if ? in a cell, I did not come up with a normal description

#parsing #rules #md #markdown
content type

line | block | except always char | begin always string

modifiers

strict can be used for a block
for an except, always true

examples
{ '```', block, strict: true, <pre>, </pre> } // code block
{ '>', block, strict: false } // note
{ '#', begin, '<h1>', '</h1>' } // header
{ /(\|.+)(\|.+)/gm, block, strict: false } // table

I was sick with coronavirus, so I was late with the answer.
This is structures in format from this post for block and inline elements. I exclude some complicated elements like Html tags or tables.
const blocks = [
  { starts: '', group: 'p', leaf: true }, // leaf means it can't contain other blocks
  { is: ['---', '***', '___'], tag: 'hr', leaf: true },
  { starts: '#', tag: 'h1', leaf: true },
  { starts: '##', tag: 'h2', leaf: true },
  { starts: '###', tag: 'h3', leaf: true },
  { starts: '####', tag: 'h4', leaf: true },
  { starts: '#####', tag: 'h5', leaf: true },
  { starts: '######', tag: 'h6', leaf: true },
  { starts: '    ', group: ['pre', 'code'], leaf: true },
  { wrap: ['```', '~~~'], tag: ['pre', 'code'], leaf: true },
  { starts: '>', group: 'blockquote', leaf: false },
  {
    starts: ['-', '+', '*'],
    group: 'ul',
    tag: 'li',
    rules: {
      // Additional rules for lists
    },
    leaf: false,
  },
  {
    starts: {
      symbols: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'],
      amount: 9,
      with: ['.', ')'],
    },
    group: 'ol',
    tag: 'li',
    rules: {
      // Additional rules for lists
    },
    leaf: false,
  },
];

const inlines = [
  { wrap: ['`', '``'], tag: 'code' },
  { wrap: ['*'], tag: 'em' },
  { wrap: ['**'], tag: 'strong' },
  {
    wrap: {
      symbols: { open: '[', close: ']' },
      after: { open: '(', close: ')' },
    },
    tag: { name: 'a', attr: 'href' },
  },
  {
    wrap: {
      symbols: { open: '![', close: ']' },
      after: { open: '(', close: ')' },
    },
    tag: { name: 'img', attr: ['src', 'alt'] },
  },
  {
    wrap: { open: '<', close: '>' },
    tag: { name: 'a', attr: 'href' },
  },
  { is: ['  \n', '\\\n'], tag: 'br' },
];

Strategy is parse into blocks first (construct tree of blocks) then parse content of blocks into inline elements.
I think that we may also separate this on phase of finding lexems and phase of translate them into html. For this we need to separate this data stuctures accordingly. For example:
const blocks = [
  { starts: '', grouped: true, leaf: true, name: 'paragraph' }
  { is: ['---', '***', '___'], leaf: true, name: 'horisontalDivider' },
  { starts: '#', leaf: true, name: 'heading1' }
];
const translateRules = {
  paragraph: {tag: 'p', /* ...otherRules */},
  horisontalDivider: {tag: 'hr'},
  heading1: {tag: 'h1'}
};


Radix_Sort.cpp

Have you read the Contributing Guidelines on Pull Requests?
(Write your answer here.)
yes
Description
(Write your answer here.)
Radix_Sort.cpp
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
(Write your answer here.)

This PR is being closed due to inactivity from contributor's end.


Updated Authentication section

Added detail to authentication section to indicate that permission from PAT is only used at time of register and to actually configure the agent on the server, you must be a local admin.

I updated the location of the wording as you suggested @vijayma


Update doc: HDF5 import no longer necessary

whoops, forgot [ci skip]

Proved to be a useful way of discovering that it's not passing tests right now!
I'm going to merge this, and file a reminder issue.

See #22 for the issue with the tests.
Merging now.


High CPU usage

Been using nmapAutomator for a while, a wonderful script with good scanning results. Recently updated with the recent version noticed very high CPU usage. The full scan is kicking the laptop fan and the CPU usage goes up to 60% which was not the case with the old nmapAutomator script.
I have checked the process a few times with a few different hosts. Also ran the old script and the CPU usage stays in between 10% - 15%. My laptop is a few years old with an i7 8th gen processor, 16 GB ram.

Thanks for reporting this.
I noticed this during testing, but thought it was due something else.
It turns out the while loop that check for the nmap progress bar was running out of control XD
The script now limits the number of checks to update the progress bar, for shorter scans it'll check 2 times a second, and for longer scans once every 3 seconds..
The script seems to run efficiently now, and fixed the high CPU issue.


Encode/Decode "xmldsig" messages

Hello.
Are there any plans to add the ability to generate code that can encode/decode "xmldsig" messages?
I think I will need it when testing the "PNC" feature.

The messages and the PnC relevant fields are currently coded within the protocols' code (i.e. as part of the iso2/iso20 code paths), and not separately in an XMLDsig namespace. All messages and header components can already be encoded and decoded successfully.
If you are looking for additional functions to create the fragments (e.g. for calculating their hashes, for verification of signatures): This feature set is currently under development and will be added shortly.
Is this what you're looking for?

Hi @barsnick
Yes, that's right.
This question is about digital signatures, such as the one below.
(ns=http://www.w3.org/2000/09/xmldsig#): {"SignedInfo": {"CanonicalizationMethod": {"Algorithm": "http://www.w3.org/TR/canonical-exi/"}, "SignatureMethod": {"Algorithm": "http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256"}, "Reference": [{"Transforms": {"Transform": [{"Algorithm": "http://www.w3.org/TR/canonical-exi/"}]}, "DigestMethod": {"Algorithm": "http://www.w3.org/2001/04/xmlenc#sha256"}, "DigestValue": "do+VpqJm0RSIxtLvRtJvovke+tnpEVaXnsuxJ1tLGrQ=", "URI": "#id1"}]}}
EXI-encoded message: 808112b43a3a381d1797bbbbbb973b999737b93397aa2917b1b0b737b734b1b0b616b2bc3497a1ab43a3a381d1797bbbbbb973b999737b933979918181897981a17bc36b63239b4b396b6b7b93291b2b1b239b096b9b430991a9b220623696431025687474703a2f2f7777772e77332e6f72672f54522f63616e6f6e6963616c2d6578692f4852d0e8e8e0745e5eeeeeee5cee665cdee4ce5e646060625e60685ef0dad8cadcc646e6d0c2646a6c840ed1f2b4d44cda229118da5de8da4df45f23df5b3d222ad2f3d97624eb6963568370

Hi, @coollhc77,
we have implemented such fragment coders in the most recent code (from https://github.com/EVerest/cbexigen/commit/d7d44b415aecf834e17dded340ab7f6075c60ee9). Please check the latest generated code.

Closing as fixed with https://github.com/EVerest/cbexigen/pull/43.


Add adaptor components to Modelica.Electrical.Analog

For electrical models similar adaptors as TorqueToAngleAdaptor and AngleToTorqueAdaptor in Modelica.Mechanics.Rotational.Components are necessary. I already have a solution, I'll have to adapt it.

I'm developing a solution based on the same partial adapter for different domains (electric, thermal, mechanical). Therefore summarized under #2269, closing this one.


Bug[(axe:color-contrast-matches)] changes between runs

The test in autoKayle for the domain a11ywatch.com and some others seem to change randomly on puppeteer for the warning color-contrast. When running autoKayle across the entire domain colorContrastMatches adds extra warnings. This needs further investigation.

Issue may have been do to incorrect hydration. Closing until issue arises again with more details.


Howto use List

Is there any demonstration where List is used , have failed to insert data into it .

List is a Widget that has an incomplete implementation, I would stay away from it at the moment, sorry for the confusion.


Apple Silicon M1 compatibility

Hello! I'm having trouble compiling this project on a mac with M1 processor.
I successfully installed gd with brew install gd.
When compiling I get the error 'gd.h' file not found; it looks like SPM is not picking up  headers correctly
$ pkg-config --cflags gdlib
-I/opt/homebrew/Cellar/gd/2.3.2/include

$ ls /usr/local/include | grep gd
gd.h
gd_color_map.h
gd_errors.h
gd_io.h
gdcache.h
gdfontg.h
gdfontl.h
gdfontmb.h
gdfonts.h
gdfontt.h
gdfx.h
gdpp.h

Is there any workaround available or am I doing something wrong?

I also noticed this error in XCode even for Intel i7 in past.

Anybody knows how to fix this? Or perhaps how other frameworks have done it for M1?

Will this repository be updated for M1 / M2 / later intel?

I doubt it has anything to do with an Apple Silicon, since it's failing on my i9 too ¯_(ツ)_/¯
Inspired by @n3d1117 here are my pkg-config stuff:
Rocska-MBP:~ rocskaadam$ pkg-config --cflags gdlib
-I/Users/rocskaadam/Cellar/gd/2.3.3_4/include
Rocska-MBP:~ rocskaadam$ ls -la /Users/rocskaadam/Cellar/gd/2.3.3_4/include | grep gd
-rw-r--r--   1 rocskaadam  staff  60218 Sze 11  2021 gd.h
-rw-r--r--   1 rocskaadam  staff    478 Sze 11  2021 gd_color_map.h
-rw-r--r--   1 rocskaadam  staff   1503 Sze 11  2021 gd_errors.h
-rw-r--r--   1 rocskaadam  staff   2931 Sze 11  2021 gd_io.h
-rw-r--r--   1 rocskaadam  staff   2994 Sze 11  2021 gdcache.h
-rw-r--r--   1 rocskaadam  staff    553 Sze 11  2021 gdfontg.h
-rw-r--r--   1 rocskaadam  staff    551 Sze 11  2021 gdfontl.h
-rw-r--r--   1 rocskaadam  staff    519 Sze 11  2021 gdfontmb.h
-rw-r--r--   1 rocskaadam  staff    515 Sze 11  2021 gdfonts.h
-rw-r--r--   1 rocskaadam  staff    546 Sze 11  2021 gdfontt.h
-rw-r--r--   1 rocskaadam  staff    496 Sze 11  2021 gdfx.h
-rw-r--r--   1 rocskaadam  staff  51975 Sze 11  2021 gdpp.h
Rocska-MBP:~ rocskaadam$

@adam-rocska It's possible to leave comments without being a jerk about it. I'm glad you found an alternative you're happy with!


"Your browser is blocking this app from accessing your data" always shows in Safari

Overview
After creating a new app using the shopify CLI, every time I view the app (running locally) within my Shopify store admin section, I'm told "Your browser is blocking this app from accessing your data. To continue using this app, click Continue, then click Allow if the browser prompts you.".
This message continues on subsequent visits, even after granting permissions on the first attempt. I don't get the same behaviour in Chrome.
Consuming repo

What repo were you working in when this issue occurred?

https://github.com/Shopify/shopify-app-cli

I also experience this, but it is the expected behaviour according to the comments here: https://community.shopify.com/c/Shopify-APIs-SDKs/Shopify-App-Gets-Caught-in-Infinite-Enable-Cookies-loop-in/td-p/646042/page/3.

This also affects our app. The generated sample app does not work on either mobile or desktop Safari.


cont download entire videos, says need premium account

hi, i am using account provide by my uni. is there a way in which the program first asks to login and then starts downloads

You could use cookie based authentication
Login into the linkedin learning with the account provided by the University in the browser and grab the cookies and make sure you follow the exact steps explained on this section (https://github.com/knowbee/llvd#cookie-based-authentication)

And if it says you need a premium account , you do need that. I am sorry

i did login through the uni account

and created a cookie file and pasted that values there. is the i did it correct

This is not an issue related to LLVD, the account provided by your UNI is not premium. So you need one if you are trying to download premium videos. I am going to close this issue.


Bullet list with leading number parsed as a task

Describe the bug
As title, in a daily note, if a bullet list item contains leading number, it'll be considered a task, parsed and added to the timeline. Even for number bigger than 24.
To Reproduce
In any daily note, add any of the lines below:
- 6 people were promoted today
- 15g salt
- 250g sugar

Expected behavior
Formats like HH:MM or HH-HH (e.g. 10-12) are reasonable to parsed as time.
250g is no way to be treated in the same way.
Screenshots

Additional context
Possible solution:

Use a pattern list to enumerate all possible format
Use regex to match numbers, at least filtered out numbers bigger than 24 or numbers comes with appended characters.

I believe I've identified a workaround for the issue at hand. However, given that implementing this workaround may impact the code structure, I propose discussing it with the author first to ensure alignment.
It appears that the issue stems from a compatibility issue with various time formats. The current regex limitation is quite broad, leading to most strings with numbers being parsed as time values.
To address this, I suggest removing some of the supported formats, see details in the picture attached. Implementing this solution will likely require using if-else conditions rather than relying solely on regex. I attempted to tackle this with pure regex initially, but it proved to be too complex.

Note that as a hour format, "03" should be used instead of "3".
I look forward to discussing this further and finding the most suitable approach to resolve the issue.

Hey, @showaykerker, could you submit a PR with the change?
If your approach with if-else statements is more readable than a huge regex, I'm all for it 😄

I'll see what I can to.

Sorry, I'm occupied by other projects since then, there's no much progress on this 😥


Field validation errors for Radio Group and Checkbox Group

The problem
Carbon core has design for form validation error in individual check box and individual radio button.
The solution
To implement them in this repo.

@asudoh Just cleaning up the issues related to the Carbon Web Components January 13 release. This issue is included in the release, but doesn't appear to be finished. Should I move this issue to the next release in March?
cc: @jeffchew

@asudoh Just cleaning up the issues related to the Carbon Web Components January 13 release. This issue is included in the release, but doesn't appear to be finished. Should I move this issue to the next release in March?
cc: @jeffchew

@asudoh I just found my notes on the scheduling of this issue.  Moving to the March release.
cc:  @jeffchew

@asudoh I just found my notes on the scheduling of this issue.  Moving to the March release.
cc:  @jeffchew


feat(velero-prometheus) adding quickstart for velero prometheus remot…

…e-write
Summary
Quickstart (Dashboard and Alerts) for Velero metrics obtained via prometheus remote-write
Pre merge checklist

[x] Did you check you NRQL syntax? - Does it work?
[x] Did you include an InstallPlan and Documentation reference?
[x] Are all documentation links publically accessible?
[x] Did you check your descriptive content for voice and tone?
[x] Did you check your descriptive content for spelling and grammar errors?

Dashboards

[x] Does the PR contain a screenshot for each of your dashboards?
[x] Do your screenshots show data?
[x] Has the sanitization script been run on each dashboard?

Alerts

[x] Did you check that your alerts actually work?

revising to draft - just noticed a couple of dumb errors

updated and ready for review


Update metadata region failover process for a host pool

Adding in the replication feature that metadata has in a region and highlighting connectivity will be available once failover has been completed

@Heidilohr
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Hi @Heidilohr
Can you review this old PR and determine whether it needs to be closed or merged?


Part of getting azure subscription id(sample script) contains mistake

@geforce-hisa0904 commented on Wed Mar 27 2019
Regarding "create-vms-with-docker-machine" section, I guess that part of getting azure subscription id(sample script) contains mistake.
This script can not execute.
Could you confirm it?
Current:
sub=$(az account show --query "id" -o tsv)
suggestion:
$sub=$(az account show --query "id" -o tsv)
[フィードバックをこちらに入力してください]

ドキュメントの詳細
⚠ このセクションを編集しないでください。 docs.microsoft.com で必須です ➟ GitHub の問題のリンク。

ID: 4b439325-8922-359a-9f55-e4a5bdf06339
Version Independent ID: bb0f278c-8ea5-7656-be77-ed93ac9884d7
Content: Docker マシンを使用して Azure で Linux ホストを作成する
Content Source: articles/virtual-machines/linux/docker-machine.md
Service: virtual-machines-linux
GitHub Login: @cynthn
Microsoft Alias: cynthn

Hi team,
I moved this here since the user is reporting an error in the code
best

@CeciAc Thanks for the feedback! The example code was created assuming folks were using Bash on Linux. Bash doesn't use a $ in the declaration of variables, you only use $ when the variable is used. This is different from how it should be formatted using a Windows cmd prompt. The example is correct for the most common case.
#please-close


Turn "req2param" profile into a block profile

Right now we do not .start('req2param') and .end() when it's done.
As a result all profiling done under the "req2param" step do not appear as being under the req2param step.
This makes graphite stats a bit confusing. We should switch to "block"-level profile.
I think this is the place:
https://github.com/CartoDB/Windshaft/blob/0.20.0/lib/windshaft/server.js#L478-L481
Rather than .done('req2param') it should .start('req2param') and .end() where it calls .done() now. The interface kind of sucks because doing the switch would remove the "req2param" label from the X-Tiler-Profiler header, but that's probably never shown much more than the time between the last inner step and the return...
@rochoa note that this change would require a new Windshaft release or Windshaft-CartoDB requiring a specific commit in Windshaft repo...

I see no need to to this.


error handling of warnings and notices

Hi
I'm running pretty standard Slim application. I'm trying to get it to treat Warning and Notice as Errors on my dev machine, but I do not know hot to do it.
I have added error_reporting(E_ALL); to my index.php.
It seems to me that the root of the problem is here where Warnings and Notices are not caught as Throwable.  I can get them to show by putting ini_set('display_errors', 1); in my index.php, but that is not very elegant as I want it to be used only during development. I think this is something that should be handled by the framework.
What is the recommended way of handling this? Are there any plans to improve this?
I think using set_error_handler and set_exception_handler would be more robust. Would that be acceptable?
Thank you.

Lets get real honest here, Error handling in Slim is an overall terrible experience, tons of boilerplate code is needed - you would think that Error/Exception handling and security would be first priority and simple in any framework.
Note: The above solution for PHP warnings as well as on the official documentation does not working for all framework setup/boot techniques.
Slim Docs: "Warnings and Notices are not caught by default..." yet we catch everything else, or perhaps not, deal with your own fatal errors, why not just bubble ALL errors from within the framework and let the developer easily hook into/handle it.
(I've used Slim since early days)


can jsuites calendar range from today?

hi, im new in it
can jsuites calendar range from today?
if can please help me

i try to use
validRange: [ jSuites.calendar.now()],
but today is disabled

It should work fine. you might need to change to -1 day using JS.


Recommend writing the image with dd

UNetbootin works by altering the image and placing a boot loader on it. For this reason, it cannot work with UEFI and the installation guides for other distributions (incl. Debian and Fedora) recommend against using it.
Since dd writes the image verbatim to the drive, and not just the files, it is not necessary to change the label after using it for UEFI installations.
(I have tested that when written with dd to a USB drive, the minimal CD image boots in UEFI mode.)
The only reason I see to mention UNetbootin is that Windows users do not have dd. However, I see no reason to keep the other installation method for UEFI.

I think our unetbootin support lessened somehow, as it won't boot for me anymore on the HW combination it used to. (I tested previously around the time we were adding dd support.)
The unetbootin style has one advantage: you can still use the drive to store other files. I find that especially convenient for a stick one carries all the time or if you want to install without erasing what you had on the stick already.

@vcunat I didn't know about that. That might be a reason to continue mentioning the UNetbootin way (although this pull request doesn't remove it anyway).

I think there's enough consensus about this PR. Picked to 16.03 as well.


Rename branch name from master to main

This should be relatively easy, but will probably be complicated by whatever CI you're using (looks like Travis). Looks like you might be able to just add:
branches:
  only:
    - main

...to .travis.yml after you rename it.

Done. Thanks


Update the binding library to consume the 2.10.0 native library

The 2.10.0 binding builds without warnings or errors.


Wrong "log in here" link

The link "log in here" on the right under Submit a Job links to the new job page and not the login screen.

Can't reproduce this, sidebar link goes to: https://staging.python.org/accounts/login/?next=/newjobs/create/

Yes, but it's confusing because that's the new jobs form and not a login page as the link text leads me to expect.  Maybe the issue is only there if already logged in?  Presumably it just shouldn't have this link in this case.  Somewhat related is the fact that it says "update job existing postings" (which probably should omit the word "job") and that doesn't link to anywhere and I can't really find my job postings.

Ah ok now I'm following you, will get it fixed.

Great, thanks.  And yes, I was logged in and trying to find a list of my past jobs (which might be empty b/c I submitted some test ones but maybe they were never approved)

Fixed upstream https://github.com/python/pythondotorg/issues/564 will be live on staging soon


Implement request for existing metrics

Gather them from http://sp.int3.sonata-nfv.eu:8000/api/v1/prometheus/metrics/list

Should be from http://son-monitor-manager:8000/api/v1/prometheus/metrics/list if you create a request from internal component
son-monitor-manager IP address will be resolved by docker internal DNS

ok, @felipevicens, thanks,
This was just a reminder for implementation... ;-)
BTW, @pkarkazis, isn't this list of metrics static? Or we should count also on having the service- or function-defined metrics?

@pkarkazis
Please see my previous comment: is the list of metrics in http://son-monitor-manager:8000/api/v1/prometheus/metrics/list static? If not, how could we add more metrics?

@jbonnet
from the api call http://son-monitor-manager:8000/api/v1/prometheus/metrics/list we get the list of metrics that already gathered on prometheus server. This list is not static, it changes each time we start an entity which supports some new metrics. For example, vtc-vnf collects some additional metrics like "mbits_packets_all", "mbits_packets_http" etc these metrics are going to be included in api response after the initiation of the first instance of a vtc vnf.

Super, @pkarkazis
We'll need that to help the user in the SDK to decide which metrics to subscribe...


some HoTT linking issues

Just putting these here so they don't get lost - I imagine they will be resolved in the course of current work on link accuracy.
https://groups.google.com/forum/#!topic/homotopytypetheory/tZMQEa7y35k
http://nforum.mathforge.org/discussion/5025/homotopy-type-theory-univalent-foundations-of-mathematics/?Focus=44415#Comment_44415

The second link did get lost, copying first one verbatim:
Unfortunately, many of their (presumably automatically) added
hyperlinks are wrong.  E.g.

"universe" -> http://planetmath.org/universe or
http://planetmath.org/universeofdiscourse

"equivalent" -> http://planetmath.org/filterbasis or
http://planetmath.org/equivalenceofforcingnotions or
http://planetmath.org/equivalentmachines or
http://planetmath.org/equivalencerelation

"contraction" -> http://planetmath.org/sequent

"connotations" -> http://planetmath.org/signrelation

"quasi-inverse" -> http://planetmath.org/quasiinverseofafunction

and this only from a random sampling of a couple of sections.
However, more internal hyperlinking is an interesting idea:
https://github.com/HoTT/book/issues/598


Weird behaivour testing components

Reading the enzyme API documentation, they use this:
expect(wrapper.find(Foo)).to.have.length(3);

However, when I try to do this with the boilerplate, it shows me this error:
TypeError: Cannot read property 'have' of undefined

When I console.log(MyComponent.debug()), I can see that, in fact, there are 3 Foo's.
To make it work in the boilerplate, I need to use:
expect(wrapper.find(Foo).length).toEqual(3);

This is my internals/test-bundler.js:
// needed for regenerator-runtime
// (ES7 generator support is required by redux-saga)
import 'babel-polyfill';

import sinon from 'sinon';
import chai from 'chai';
import chaiEnzyme from 'chai-enzyme';

chai.use(chaiEnzyme());

global.chai = chai;
global.sinon = sinon;
global.expect = chai.expect;
global.should = chai.should();

// Include all .js files under `app`, except app.js, reducers.js, routes.js and
// store.js. This is for isparta code coverage
const context = require.context('../../app', true, /^^((?!(app|reducers|routes|store)).)*\.js$/);
context.keys().forEach(context);

Wow... I didn't realize I wasn't using chai's expect library. :sob:
Sorry!


using Sql Builder with Postgres

I am trying to build custom SQL from an advanced search form. I have a typed object that I'm trying to bind to with the correct data types that match the data types in the Postgres DB.
The SQL is generated correctly, but when it executes, I get this error:
No operator matches the given name and argument type(s). You might need to add explicit type casts.
It appears its trying to cast ints to strings or vice-versa. Is there a way to specify the data types in Where(string, args[]) method, or some where else?

You can use NpgsqlParameters as values if they're not working with the defaults


Log tasks low on stack

This is trying to be a resource friendly stack monitoring, almost state-less and only looking at one task per cycle. Ideally, it never logs anything. Tasks who breach the hard limit get logged every second (one at a time if there are multiple).
Seems to run out of flash on v2 unfortunately.
It would make sense to look at the stack limit (300 ATM), check it on the main configs and adjust stack sizes accordingly so this doesn't log anything by default.

Add to logger?

Seems like something helpful. If you add a PX4_WARN, devels will see it immediately on the console and it will automatically be added to the logger as a readable string.

only looking at one task per cycle

That does not seem like what it's doing. The return is inside if (stack_free < 300) {, so each task is checked if there's enough stack. Is that intended? What about CPU load? Did you measure how long one cycle execution takes?
What about locking of the tasks? Seems like a task could exit in the middle of a computation. If so, it would be good to prevent rescheduling during the cycle execution (same for print_load). Or is that prevented with some other mechanism?

CI failure.

@LorenzMeier yeah, v2 flash overflow, need to look at options there
@bkueng thanks for the comments. You're right of course it does "look" at all tasks per cycle, which is intentional, but only logs one as I don't want to spam the log.
Haven't checked load per cycle yet but that's a good point, will do that. Locking strategies, tasks exiting, @LorenzMeier has maybe more info on that? The calculation is copied from printload.c (used by top)

@bkueng now that I think of it, regarding computational load, I could just also make it look at one task per cycle only, wouldn't really matter for the monitoring.

@bkueng now that I think of it, regarding computational load, I could just also make it look at one task per cycle only, wouldn't really matter for the monitoring

That's exactly what I thought too :) or maybe 3 at once or so.
For locking, NuttX provides sched_lock (http://nuttx.org/Documentation/NuttxUserGuide.html#schedlock).

I was more wondering if the system_load global is already filled in a way where locking is not needed, but obviously we should check.

@AndreasAntener - when will this go in? I ask because the upstream NuttX on Firmware@nuttx_v3 has an API for this. Also the system load API is different.

@davids5 I'll fix this up pretty soon, and it should be ready to go in then (assuming we can fit it on fmuv2). Cool, I assume the API will make things easier? I don't see us wasting time making this useful now already, and then switch later to the new API.

@AndreasAntener I hope it make it easier :).  I think we are 2-3 week out until the nuttx_v3 merge into master.

Hehe, I'll ping you again in 2-3 weeks ;). Since I don't know the new API, I also rely on your judgment here. The last thing I'll do is consider @bkueng comments, not more. Would you know if there is a race condition / locking issue currently if a process dies withing the computation?

@AndreasAntener
Have a look at  https://github.com/PX4/Firmware/blob/nuttx_v3/src/modules/systemlib/printload.c#L259-L279
for the difference.
I could imagine a task swap and change to the table - so it probably should be protected (see what the nuttx calls do) but we need to balance that with running with ints off or the scheduler locked. .

Rebased, optimized (checking 3 tasks per cycle) and locking the scheduler.
Performance looks as follows:
nsh> load_mon status
INFO  running
stack_check: 78 events, 0 overruns, 16737us elapsed, 214us avg, min 98us max 1488us 208.660us rms

@bkueng do those numbers look reasonable to you? Comments on the locking?
@davids5 I haven't checked NuttX internals. The new API looks great, this can easily be updated for it (I'll do that if nuttx3 happens before this is approved).

Jenkins test this please.

@davids5 Please do one last pass, would like to bring this in some time soon.

Wait wait wait. Don't put sched lock everywhere - we need to limit it to the bare minimum possible.

I guess we need to be sure this doesn't cause any issues and only blocks for a very short time. Should I maybe put the locking around the minimum required code only? It would block for more (3 times after each other every second).

The sched lock call should be fairly efficient, so yes, please reduce the scope.

@AndreasAntener Could you do that today / tomorrow so we can get this in this week?

Updated, rebased, flash overflow.. Also added a parameter that disables it by default


Admin Users must be able to access all monitors

Is your feature request related to a problem? Please describe.
Admin Users must be able to access all monitors.
Describe the solution you'd like
Admin Users must be able to access all monitors.  <TODO: add more details>
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Should it just be "Admin" users that we support this for? Or should it be at the permission level, i.e. anyone with a superset of permissions that overlap a job should be able to view it? And what happens when someone w/ more permissions or a single unique role/permission updates the job and now other people can't view it? I think that can be solved w/ allowing the user to choose what roles/permissions should be stored on the job?

"admin" users here refer to users with all_access role and admin_dn users configured in OpenSearch.yml .
Along with this change we plan to implement https://github.com/opensearch-project/alerting/issues/128, which will remove role/permission updates to the job.
Also roles selection is also planned during the monitor creation, and plan to support only in API first.
#138

Will you do 138 and 128 at the same time? Otherwise if you do 128 first it might cause issues, i.e. someone creates a monitor w/ all the triggers and then realize they are missing a permission -> get the required permission and try to update the monitor -> and now they can't -> they have to recreate the entire monitor instead.

Yes targeting all three #139 , #138, #128  for 1.2.0

@skkosuri-amzn
Do you mean "OR" ...

"admin" users here refer to users with all_access role and admin_dn users configured in OpenSearch.yml .

IE - "admin" users here refer to users with all_access role OR admin_dn users configured in OpenSearch.yml .
This is otherwise limited in environments where the opensearch.yml is able to be edited.
Would you consider a new role (IE - alerting_admin_access) that has this access?

@skkosuri-amzn

Yes targeting all three #139 , #138, #128 for 1.2.0

I don't see any references to these on the roadmap for 1.2.0.
Can the roadmap be updated to the reflect these upcoming changes?

@skkosuri-amzn

Yes targeting all three #139 , #138, #128 for 1.2.0

I don't see any references to these on the roadmap for 1.2.0. Can the roadmap be updated to the reflect these upcoming changes?

Thanks for the callout. Will add to the roadmap by early next week.

@skkosuri-amzn
Would you be able to answer ...
Do you mean "OR" ...

"admin" users here refer to users with all_access role and admin_dn users configured in OpenSearch.yml .

IE - "admin" users here refer to users with all_access role OR admin_dn users configured in OpenSearch.yml .
This is otherwise limited in environments where the opensearch.yml is able to be edited.
Would you consider a new role (IE - alerting_admin_access) that has this access?

Closing this issue as the change has been merged.


Fix pipeline

It looks like we use too old amaranth and our pipeline fails to install it:
https://github.com/kuznia-rdzeni/coreblocks/actions/runs/6323098696/job/17169995647?pr=460
The solution is to update amaranth, but this cause some other issues, which we have to debug.

Have you tried to debug why this actually happened? If so, what have you found out?
btw we're not ready to update amaranth yet, as fixes for https://github.com/amaranth-lang/amaranth/issues/790 are not there yet (unless we bodge our own workaround).

I haven't had time to debug this yet. I will try to do this tomorrow.

btw we're not ready to update amaranth yet, as fixes for https://github.com/amaranth-lang/amaranth/issues/790 are not there yet (unless we bodge our own workaround).

Hmm. So maybe I will look for a other way to fix this pipeline issue. Maybe downgrade of pip will help.

btw we're not ready to update amaranth yet, as fixes for https://github.com/amaranth-lang/amaranth/issues/790 are not there yet (unless we bodge our own workaround).

I think we can upgrade just fine, we just keep using Records as before. The Amaranth update must be done with care though - implemented RFCs must be read and type stubs updated.

 This requires investigation. See https://github.com/kuznia-rdzeni/coreblocks/pull/462

It is interesting that regression using cocotb passed, only unit tests failed. List of failing modules:

ICache
CSR
Exception
MemoryBank
Core (both asm and random)

Particularly this last module is fully tested by cocotb, so I would rather say that there can be something in tests.

In exception unit there was a problem, that after update rob_id - rob_start_idx had signed(8) shape, what caused wrong comparison results in some cases.

I have created a minimal example which points to problems of Amaranth with simulation memory. This can explain why ICache, MemoryBank and Core fails. Issue has been reported here: https://github.com/amaranth-lang/amaranth/issues/922

Found another change in Amaranth's behavior, I believe it to be a bug and reported it: https://github.com/amaranth-lang/amaranth/issues/926

I took the liberty to clean up this PR for merging, as it's super-extra-blocking.


Segmentation fault (core dumped) when configuring Modbus in Node-RED Docker

Which node-red-contrib-modbus version are you using?
5.31.0
What happened?
I am using Node-RED with Docker. When I configure the node-red-contrib-modbus module, a segmentation fault error occurs. The error message is as follows:

This issue can be resolved by running npm run rebuild inside the Docker volume at data/node_modules/@serialport/bindings-cpp.
Server
Modbus-Server Node
How can this be reproduced?

Use Node-RED with Docker.
Install node-red-contrib-modbus version 5.31.0.
Configure the Modbus settings.
Observe the segmentation fault error as shown in the attached screenshot.
Disable the flow or node that uses the node-red-contrib-modbus library by editing the flows.json file to allow the container to restart.
After the container restarts, run npm run rebuild in the Docker volume at data/node_modules/@serialport/bindings-cpp.
Re-enable the flow or node and verify the configuration.

What did you expect to happen?
I expected the Modbus configuration to work without causing a segmentation fault error. Ideally, there should be no need to manually rebuild the @serialport/bindings-cpp module inside the Docker volume
Other Information
No response

Hello all,
same segfault here. Running:

Raspberry v3
Docker v27.0.3
containerized Node-Red v4.0.2
node-red-contrib-modbus v5.40.0.

Raspi has a FTDI-based smartmeter irda reader on ttyUSB0 which is working fine using node-red-contrib-smartmeter v0.6.3 (which also uses serialport) .
ttyUSB1 is a FTDI-based modbus/RS485-to-usb dongle which has been working on a very old non-docker install (different SD card, same raspi, see versions at the end, both setups available for tests).
In the log below log I first used the dongle on ttyUSB1 with the node-red-node-serialport v2.0.2 to verify the pass-through is working while a deactivated modbus config node on same port was present (in parallel the smartmeter on ttyUSB0 was sending valid data).  Then I deleted the serialport config node, deployed the workflows, then activated the modbus config node, deployed again, and got a segfault.
I also applied npm run rebuild on data/node_modules/@serialport/bindings-cpp and since this didn't work I also tried to rebuild bindings which also had no effect.
Docker cmd:
docker run -it -p 1880:1880 -v /srv/docker/nodered-scada:/data --name $CONTAINERNAME --group-add dialout --device=/dev/ttyUSB0 --device=/dev/ttyUSB1 nodered/node-red
Console log of container:
Using default tag: latest
latest: Pulling from nodered/node-red
Digest: sha256:fa8fbcf2ddc1e1b2cdea3c1e6d027413f583956fc499289c432650a3ea03c10b
Status: Image is up to date for nodered/node-red:latest
docker.io/nodered/node-red:latest
nodered-scada
nodered-scada
22 Jul 15:46:38 - [info]

Welcome to Node-RED

22 Jul 15:46:38 - [info] Node-RED version: v4.0.2
22 Jul 15:46:38 - [info] Node.js  version: v20.15.1
22 Jul 15:46:38 - [info] Linux 6.6.31+rpt-rpi-v8 arm64 LE
22 Jul 15:46:39 - [info] Loading palette nodes
22 Jul 15:46:43 - [info] Dashboard version 3.6.5 started at /ui
22 Jul 15:46:44 - [info] Settings file  : /data/settings.js
22 Jul 15:46:44 - [info] Context store  : 'default' [module=localfilesystem]
22 Jul 15:46:44 - [info] User directory : /data
22 Jul 15:46:44 - [warn] Projects disabled : editorTheme.projects.enabled=false
22 Jul 15:46:44 - [info] Flows file     : /data/flows.json
22 Jul 15:46:44 - [info] Server now running at http://<IP_ADDRESS>:1880/
22 Jul 15:46:45 - [info] Starting flows
22 Jul 15:46:45 - [info] Started flows
22 Jul 15:46:45 - [info] [serialconfig:d43ebb392202afb7] serial port /dev/ttyUSB1 opened at 9600 baud 8E1
22 Jul 15:46:45 - [info] [mqtt-broker:Mosquitto ] Connected to broker: mqtt://<IP_ADDRESS>:1883
22 Jul 15:51:56 - [info] Stopping flows
22 Jul 15:51:56 - [info] serial port /dev/ttyUSB1 closed
22 Jul 15:51:56 - [info] [mqtt-broker:Mosquitto ] Disconnected from broker: mqtt://<IP_ADDRESS>:1883
22 Jul 15:51:56 - [info] Stopped flows
22 Jul 15:51:56 - [info] Updated flows
22 Jul 15:51:56 - [info] Starting flows
22 Jul 15:51:56 - [info] Started flows
22 Jul 15:51:57 - [info] [mqtt-broker:Mosquitto ] Connected to broker: mqtt://<IP_ADDRESS>:1883
22 Jul 15:52:19 - [info] Stopping flows
22 Jul 15:52:19 - [info] [mqtt-broker:Mosquitto ] Disconnected from broker: mqtt://<IP_ADDRESS>:1883
22 Jul 15:52:19 - [info] Stopped flows
22 Jul 15:52:19 - [info] Updated flows
22 Jul 15:52:19 - [info] Starting flows
22 Jul 15:52:20 - [info] Started flows
22 Jul 15:52:20 - [info] [mqtt-broker:Mosquitto ] Connected to broker: mqtt://<IP_ADDRESS>:1883
./entrypoint.sh: line 14:     7 Segmentation fault      (core dumped) /usr/local/bin/node $NODE_OPTIONS node_modules/node-red/red.js --userDir /data $FLOWS "${@}"

Appears as soon contrib-modbus tries to do something with the serial port the segfault happens...
For completness, the old working install was:

Same Raspberry v3
Raspbian/Debian 11.10
nodejs v12.22.12
Node-Red v2.1.3
node-red-contrib-modbus v5.14.1

Happy to take advise, provide more logs, do more tests, ...
Also happy to see  a workaround.
Thank you!

Some more tries later:
Manual downgrade of contrib-modbus in container to 5.28 ad 5.22 did not help and end in segfaults.
A plain fresh installed setup works fine:

Raspberry v3
NO Docker
NodeJS v20.15.1
Node-Red v4.0.2
node-red-contrib-modbus v5.40.0.

Although this now will be my workaround, I really would like to run this setup in a container for easier maintenance.
Still have all SD cards at hand if someone needs help at bug hunting...


[BUG] Unable to connect to testnet

Describe the bug
I am unable to connect to the nillion testnet following the react example in this repo.
How to reproduce
Add your steps to reproduce the behavior:

Go to the code sandbox https://codesandbox.io/p/devbox/8ctxxx
Fork the devbox
Go to src/nillion.ts, add your private key
Reload the app.
Click on connect to nillion.

Expected behavior
A successful connection. Which is required to be able to use the hooks exposed by the NIllionProvider.
Desktop (please complete the following information):

OS: [Ubuntu]
Browser [chrome]

Our client doesn't working with vite currently -- if you can vanilla react or nextjs is working well.
If you're fixed on vite, then I believe you can work around some of the issues but I haven't had time to investigate too deeply. Here's what I'd recommend:

Turn on logging: localStorage.debug = "nillion:*"
Copy @nillion/client-wasm/dist/index_bg.wasm into node_modules/.vite/deps

This should get you to the point where the wasm bundle is loading. Next you'll need to address it's worker.js but I haven't had capacity to work my way through that issue.

I might be doing something wrong here but after following these steps and running npm run dev I see several errors e.g:
Module not found: Error: Can't resolve '@nillion/client-react-hooks' in '/client-ts/examples/react/src/pages'
 @ ./src/pages/index.ts 4:0-24 4:0-24
 @ ./src/router.tsx 3:0-58 9:42-51 13:45-49 17:45-50 21:45-52
 @ ./src/app.tsx 6:0-34 13:62-68
 @ ./src/index.tsx 3:0-28 5:32-35```

Setup steps;
1. Cloned this repo.
2. Switched the `c4504cb88e84574668a345375d46d5135652748a` commit
3. Installed dependencies in root directory via `npm install`.
4. Switched to the react directory `examples/react`.

I recommending sticking with HEAD on main for your starting point. You'll see there that the react examples were removed to keep the maint burden manageable. I would copy the contents of the nextjs example into another folder and start there. If you keep them in the monorepo you may run into issues as the various @nillion/* dependencies will then need to be locally built.
We are starting to implement a create-nillion-app to bootstrap so this will get easier.


Fix 'openssl passwd' with arguments -1 or -apr1

RT#4674 issue 1
login with username 'guest' and password 'guest' if necessary

As you can see, I also added a test to check that passwd works as promised.

for master and 1.1.0 i assume.
+1

for master and 1.1.0 i assume.

Yup.  See the lables

Merged


[Feature Request]: Add support for Microsoft Azure Government to the current Azure provider

Description
I've tested the Microsoft Azure Oauth provider and it works great.  Support for Microsoft Azure Government Oauth is also really needed.
https://learn.microsoft.com/en-us/azure/azure-government/documentation-government-developer-guide
https://azure.microsoft.com/en-us/explore/global-infrastructure/government/
https://portal.azure.us
The current Azure Oauth provider actually works for both Azure instances if I change the locations that use microsoftonline.com https://github.com/pilcrowOnPaper/lucia/blob/1bc69a67cc7b0d9cafda402d88f3ad99871aa83b/packages/oauth/src/providers/azure-ad.ts#L45 https://github.com/pilcrowOnPaper/lucia/blob/1bc69a67cc7b0d9cafda402d88f3ad99871aa83b/packages/oauth/src/providers/azure-ad.ts#L80   and change them to microsoftonline.us in the library.  That was the only I could make it to work.  Unfortunately, these are hard coded in the azure-ad.ts file and can't be overridden.  What would be great is if a flag could be added to the configuration of the current Azure Oauth provider asking if this is for the Government portal. If it is, then use microsoftonline.us instead of microsoftonline.com.  Oh and the graph.microsoft.com address needs to be graph.microsoft.us for Azure Government.  https://github.com/pilcrowOnPaper/lucia/blob/1bc69a67cc7b0d9cafda402d88f3ad99871aa83b/packages/oauth/src/providers/azure-ad.ts#L102  The other change that would be nice is if the PROVIDER_ID https://github.com/pilcrowOnPaper/lucia/blob/1bc69a67cc7b0d9cafda402d88f3ad99871aa83b/packages/oauth/src/providers/azure-ad.ts#L20  could also be changed to say something like azure_gov_ad when it's an Azure Government config.
Here is an example of a possible configuration with a suggested flag at the end:
const azureGovADConfig = {
   clientId: env.AZUREGOVAD_CLIENT_ID,
   clientSecret: env.AZUREGOVAD_CLIENT_SECRET,
   tenant: env.AZUREGOVAD_TENANT_ID,
   redirectUri: `http://localhost:5173${base}/auth/callback/azuregov-ad`,
   scope: ['email'],
   azuregovernment: true   /* suggested optional flag for Azure Government configuration */
};
/** azure Government AD auth object */
export const azureGovADAuth = azureAD(auth, azureGovADConfig);

I thought about submitting a pull request, but I wasn't sure the best way you would want to configure this.  Ideally, I thought I could set the PROVIDER_ID in the configuration and pass specifically what I wanted to use, but also have the library default to what it currently is if not provided. That wasn't possible though due to the const declaration of the PROVIDER_ID.  Thanks so much for releasing the Azure provider!  It came just in time for my project.  I just can't support the government portal yet.

The OAuth integration will be replaced with Arctic in v3 - can you open a feature request there?


Implement v1.0.x having v1.1.x

Hello.
We have implemented v1.1.x version of IS-05 specification, but now we need to implement v1.0.x, apart from the release page, is there any other list explaining in more detail what were the changes from v1.0.x to v1.1.x?
Thanks in advance

There is a top-level list of changes between the versions in the changelog.


Navigation?

Please add navigation and pagination in example. Maybe i do something wrong, but no pagination and no pagination

Yes, thankyou.  I just cant understand how to use autoimports in this examples. Now i found that you create one in the /components.
Thanks!

Yes, thankyou. I just cant understand how to use autoimports in this examples. Now i found that you create one in the /components.
Thanks!


fix: update to eye v4.14.2

fix: update to eye v4.14.2

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

npm package (@latest dist-tag)
GitHub release
v6.4.2

Your semantic-release bot :package::rocket:


Hyper link not working in PDFjs

I have a pdf in witch there is a link of website(Google). With PDFjs it now working. Please tell me the reason and solution.

It works for me. BTW, URLs usually start with "https://" and not with "www".

This works just fine with the latest viewer at https://mozilla.github.io/pdf.js/web/viewer.html. From the screenshot, it's a custom deployment (not even sure it's PDF.js). Most likely annotations have been disabled there. Closing since support for customized versions of PDF.js is out of scope.


Hunter Mode [WIP]

This code is a WIP for #514 Hunter Mode Feature
(Translation ES Fix) Deleted redundant text, corrected words taken too literally and made the overall text shorter to keep in line with english original size for buttons, windows, etc.

Please split the translation fix into a separate PR.

Please split the translation fix into a separate PR, also make sure only resx files for the Spanish translation are changed.

Right away sir.


Prismic slice machine

Done when
Recommendation on how we move to slice machine and estimation of effort and what's involved.

I've pushed a Slice Machine branch that includes our types converted to use Slice Machine as well as new TestSlice.
Running Slice Machine locally (yarn slicemachine from inside common) brings up the ui to view/create types.
I think moving to Slice Machine would make our primsic-model directory unnecessary, but we should think about how we want to keep creating/updating types consistently – so far we've generated them using   TypeScript files in prismic-model whereas Slice Machine encourages you to build using the ui and generates json directly in the customtypes directory.
Slice Machine Slices seem to be slightly different conceptually from the slices we have so far in that they contain the rendering component as well as the data model. I'm not sure this is 100% a requirement (or necessarily what we want any/all of the time). The slices we currently have are now labelled as 'legacy slices' in the Slice Machine ui and it seems like converting them to the new Slice Machine slices would be a manual task. I think these could be picked off individually if/when we see the need.
The process to update Page types/Custom types/Slices seems to involve updating the ui in Slice Machine (running locally) which in turn automatically updates the customtypes in the repo. Then making these changes appear within the editor ui is still a manual step (clicking a 'publish changes' button in the locally running Slice Machine) and I don't think we're any less at risk of having potential issues because the data model is out of step with the content, and we should check that our current safeguards against this are still the right ones.
Prismic suggest that this migration is performed on an environment rather than the production repo. Our (platinum) plan offers environments as a paid upgrade, but we have to get in touch with Prismic to arrange it (and find out how much it costs). I'd definitely feel more comfortable at least doing the initial push up to a different environment.

After discussing with frontend team we think this is on balance the right direction to go. We can possibly continue to use our scripts to generate the types to send to Prismic using their write api (rather than using the Slice Machine builder ui).
One benefit I'd previously overlooked is that when we create slices this way, they become available to the new Prismic page builder ui and provide more of a wysiwyg for content editors. We don't have the page builder yet – it looks like we'd have to join the waitlist. Again, it's probably the right way to go to stay up-to-date.


got Runtime ER

i gave the mbt2018 pre-trained model a jpeg file and expected the corresponding output. however, it says that "Sizes of tensors must match except in dimension 1."
how could i fix it?
from compressai.zoo import mbt2018
net = mbt2018(quality=2, pretrained=True).eval().to(device)
img = Image.open('../samples/3QHCA5545100F0F_1666577425821.jpg').convert('RGB')
x = transforms.ToTensor()(img).unsqueeze(0).to(device)
with torch.no_grad():
    out_net = net.forward(x)
out_net['x_hat'].clamp_(0, 1)
print(out_net.keys())

here's the output error:
with torch.no_grad():     out_net = net.forward(x) out_net['x_hat'].clamp_(0, 1) print(out_net.keys())

Works for me.
>>> from compressai.zoo import mbt2018
... from PIL import Image
... from torchvision import transforms

>>> device = "cuda"
... net = mbt2018(quality=2, pretrained=True).eval().to(device)
... img = Image.open("datasets/kodak/test/kodim01.png").convert("RGB")
... x = transforms.ToTensor()(img).unsqueeze(0).to(device)

>>> x.shape
torch.Size([1, 3, 512, 768])

>>> x.dtype
torch.float32

>>> x.device
device(type='cuda', index=0)

>>> out_net = net.forward(x)
... with torch.no_grad():
...     out_net = net.forward(x)
... x_hat = out_net['x_hat'].clamp_(0, 1)
... psnr = -10 * ((x_hat - x)**2).mean().log10()

>>> psnr
tensor(27.0906, device='cuda:0')

Hi,
You may be using an image resolution that's not a multiple of 64, which is the case in @YodaEmbedding's example.
Please look at the padding performed in codec.py or in the evaluation tool in utils

@fracape @YodaEmbedding Thank you very much.


Audit of Docker accounts

Background

Audit of Docker account to ensure we only have active users.
Approach

TBC
Acceptance Criteria

[ ] We have removed any accounts that are no longer required.

Reference
How to write good user stories

4 accounts closed.


Can't handle unicode string as URL (Python 3)

Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/django/core/handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/local/lib/python3.4/dist-packages/django/views/generic/base.py", line 71, in view
    return self.dispatch(request, *args, **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/django/views/generic/base.py", line 89, in dispatch
    return handler(request, *args, **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/django/views/generic/base.py", line 158, in get
    context = self.get_context_data(**kwargs)
  File "/usr/local/lib/python3.4/dist-packages/django_feedparser/views.py", line 47, in get_context_data
    context['feed_rendered'] = self.render_feed(feed_renderer, feed_url)
  File "/usr/local/lib/python3.4/dist-packages/django_feedparser/views.py", line 31, in render_feed
    return renderer().render(url, template=self.feed_template, expiration=self.feed_cache_expiration)
  File "/usr/local/lib/python3.4/dist-packages/django_feedparser/renderer.py", line 138, in render
    return render_to_string(template, self.get_context(url, expiration))
  File "/usr/local/lib/python3.4/dist-packages/django_feedparser/renderer.py", line 126, in get_context
    self._feed = self.get(url, expiration)
  File "/usr/local/lib/python3.4/dist-packages/django_feedparser/renderer.py", line 99, in get
    'id': hashlib.md5(url).hexdigest(),
TypeError: Unicode-objects must be encoded before hashing

Workaround is to pass the URL as a bytes string (b"")

Sorry for the answer delay, but i do not have a Python3 install actually.
From what i see, it's almost an issue from the user, i could add something like "string.encode('utf-8')" in my code but i don't think this is a good idea to force this behavior. Better let this as it for now.

You can test the same functionality in Python2 by passing from __future__ import unicode_literals.


Test 3.9

Happy happy joy joy!

You're Pull Request scored 3 out of a possible +5. Here's a gif representation of your PR:


Add raw IMU, scaled IMU, raw pressure, scaled pressure to telemetry

Also fixing a few build errors coming from changes in the proto files.

Note: missing the upstream proto file: depends on https://github.com/mavlink/MAVSDK-Proto/pull/205


extractors/common: support Chroot path on windows

Fix #725.
I'm not really familiar with Rust, so correct me if there's anything wrong.

Thank you!


Update cut.py

Line 132: cut.clip command always copy "utf-8" when single cut specified (ie :cut.clip @focus request.method gets "utf-8")

That's a bit embarassing. 😄 Thanks! 🍰