driver: flash: add Ambiq Apollo3 flash controller support

This PR mainly adds the flash controller support for Ambiq Apollo3x SOC, also enables the flash controller instance in apollo3_evb and apollo3p_evb.
Test passed:
--samples/drivers/flash_shell

LGTM, is there a specific reason that the region from 0x0 to 0xBFFF is left out from the definition ?

0x0 to 0xBFFF is reserved for Apollo3 MCU secure bootloader, which is programmed in production line before shipping to customer. The application can only be flashed from 0xC000 starting address.

@de-nordic I do not like having the erase and fill function be the same since the Apollo4 series uses MRAM and does not explicitly need to erase before programming.
Is this normal in Zephyr? If not, @aaronyegx we should skip the MRAM fill in the erase function and in the future we can use the no-explicit-erase check and return immediately.
Although, anywhere that calls the erase should do the check there and not call erase. (samples/tests).

@de-nordic I do not like having the erase and fill function be the same since the Apollo4 series uses MRAM and does not explicitly need to erase before programming.
Is this normal in Zephyr? If not, @aaronyegx we should skip the MRAM fill in the erase function and in the future we can use the no-explicit-erase check and return immediately.
Although, anywhere that calls the erase should do the check there and not call erase. (samples/tests).

The current problem is that we would require significant change in entire system to make everything work with MRAM/FRAM/RRAM devices at once.
The idea is to do that in stages, getting https://github.com/zephyrproject-rtos/zephyr/pull/71271 first. In case of your devices,  that do not require erase like MRAM, they will advertise itself to other subsystems as no_explicit_erase = true (when the other PR gets in), but It is responsibility in other subsystems, not your drivers, to check whether they need to erase by device type, and call the proper API or not.
Once we get https://github.com/zephyrproject-rtos/zephyr/pull/71271 in, the transition for customers and out of tree code may take a moment, so for that time there will be code that is not yet checking that and requires adjustment, but it will keep working. Note that the #71271 already prepares Zephyr subsystems.
Once we give everyone chance to adapt, we start removing pages layout end erase from drivers that do not require it, but as vendors choose to do so - some may choose to keep it, not optimal but they may have reasons.
I have gathered the plan here: https://github.com/zephyrproject-rtos/zephyr/issues/71270 , for review by Zephyr users and maintainers.


Initial logic for lnurl-withdraw support

Ability to scan and redeem lnurl withdrawRequest.

Spoke with the team and the only other feedback would be that if the min and max value are the same for the lnurl withdraw, we shouldnt display min and max and the amount field shouldnt be editable.


[feature-request] Add more filter options

Great package
It will be great if you could provide more ways to add multiple searchBy or filters

Currently no work is being done on the package, you may check again shortly.


An admin access log path is required for a listening server.

Title: An admin access log path is required for a listening server.
Description:

when I run the demo  following yaml,i encountered a error ,it told me An admin access log path is required for a listening server, I don't know why

admin:
  address:
    socket_address: { address: <IP_ADDRESS>, port_value: 9901 }

static_resources:
  listeners:
  - name: listener_0
    address:
      socket_address: { address: <IP_ADDRESS>, port_value: 10000 }
    filter_chains:
    - filters:
      - name: envoy.filters.network.http_connection_manager
        typed_config:
          "@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
          stat_prefix: ingress_http
          access_log:
          - name: envoy.access_loggers.stdout
            typed_config:
              "@type": type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog
          codec_type: AUTO
          route_config:
            name: local_route
            virtual_hosts:
            - name: local_service
              domains: ["*"]
              routes:
              - match: { prefix: "/" }
                route: { cluster: some_service }
          http_filters:
          - name: envoy.filters.http.router
  clusters:
  - name: some_service
    connect_timeout: 0.25s
    type: STATIC
    lb_policy: ROUND_ROBIN
    load_assignment:
      cluster_name: some_service
      endpoints:
      - lb_endpoints:
        - endpoint:
            address:
              socket_address:
                address: <IP_ADDRESS>
                port_value: 8761

hi @lovingcodesk these are docs for the latest development version - you either need to update or use the docs for the last stable here:
https://www.envoyproxy.io/docs/envoy/v1.17.1/
(please ignore the incorrect pre-release message)

to clarify the problem - access_log_path has been deprecated and replaced with a typed_config and is also no longer required to be set at all if you dont want access logging

https://www.envoyproxy.io/docs/envoy/v1.17.1/

thank you

i think this is resolved

i think this is resolved

yes


Update documentation on libs usage in config.yml

Thanks a lot for a great tool!
In the documentation, the yml for "libs" property should be
templates:
  defaults:
    libs:
    - my-lib

Now it is missing the "defaults" field.
We can find the proper example in tests.
Don't know how to raise a PR for wiki, sorry for that.

@andrey-covergo: Thanks very much for the heads up! I will make the change and double check the docs.

@andrey-covergo: Thanks very much for the heads up! I will make the change and double check the docs.

I updated the docs. Thanks for the issue!

I updated the docs. Thanks for the issue!

Thanks a lot @jbrunton!
I was surprised by the quality of your tool, it just works after you understand how to use it.
You can peek at how we use it. Can we use private repositories for GFlows packages?

Thanks a lot @jbrunton!
I was surprised by the quality of your tool, it just works after you understand how to use it.
You can peek at how we use it. Can we use private repositories for GFlows packages?

@andrey-covergo: thanks for the feedback! It would be very useful to support private repos for packages. I opened #185 with some thoughts on how this could work. Could you take a look and let me know what you think?

@andrey-covergo: thanks for the feedback! It would be very useful to support private repos for packages. I opened #185 with some thoughts on how this could work. Could you take a look and let me know what you think?


make javatuples a valid OSGI bundle

I need javatuples to be a valid OSGI bundle.
This pull request just adds the maven-bundle-plugin to the build process.

Hello
would you accept this pull request?
It's just a matter of executing the maven-bundle-plugin while packaging the jar. Only the MANIFEST file will be modified with some OSGI specific entries...

Sorry for the delay. I'm not really a fan of OSGi, and in the case of larger projects like e.g. Thymeleaf I've established the policy of considering that OSGi-fication of libraries should be performed by OSGi container projects themselves, and not the original projects.
However, I'm OK with adding OSGi metadata to small, self-contained libraries, especially if they have no external dependencies (as is the case of javatuples). This is something I've already accepted for attoparser and unbescape, so I see no reason why not do it with javatuples.
In order to accept your PR, please make sure you read https://github.com/javatuples/javatuples/blob/4f99298c0171b93c6d62b5f5bce0af547dedf47d/CONTRIBUTING.markdown and understand and accept the contribution terms established there. I would need you to state your agreement explicitly in a comment on this ticket.
Thanks.

I accept the condition.
Concerning the OSGI strategy, to me, it's up to the bundle's developers to maintain the OSGI metadata. Because they are the best to decide what must be hidden or exposed by their bundles to the other ones.
Thanks to have accepted it.


Resource leak fixed.

Fixes resource leak in TriggersFragment.

@free4murad It will be awesome if you roam around entire app and resolve all resource leaks at once


discord bot connected to database, updated modules, code formatted and linted

resolved #27 #32

I see you moved everything to its own folder.


add insert_element function

add insert_element function
This function returns new FLAME machine object.
I have add this function to "core/element.py".  Is there any other proper module file to add?

In the case of insert after the last element, you can insert at lattice length.
like,
>>> l = [1, 2]
>>> l.insert(2, 3)
>>> l
[1, 2, 3]


[request] add global enable / disable for little11

As a user of little11, I have to say it served its purpose very well.
However, as a developer myself, I find myself in a situation where I requires to
sometimes switch between iPhone X gestures, and my original iPhone 6s gesture.
It would be a greatly appreciated if this feature, where the users can globally enable and disable for little11, is implemented.

This has been added in the version 1.3.0 of Little11.


readme: rm papers

as @rabbanitw pointed out, the paper list in the readme looks like it is already implemented and not a long term TODO list. remove it and pushing it into an issue.

we can keep all except the ones we don't have yet we can mark as 'future roadmap: ...paper'

we can keep all except the ones we don't have yet we can mark as 'future roadmap: ...paper'

yeah, good idea, splitted it into two, one side implemented, the other "on the roadmap"

Can I merge this PR @martinjaggi?


How to auto run CMakeGenerate before CMakeBuild?

Hi, i want to know how to auto run CMakeGenerate before CMakeBuild, I try to set:
augroup vim-cmake-group
	autocmd User CMakeBuildPre CMakeGenerate
augroup END

but it failed.

Hi, thanks for asking this.
Autocommands should be used to run synchronous command, i.e. that block the execution until they complete. :CMakeGenerate is an asynchronous command, it starts a job in the background but it does not block execution.
At the moment, if there's a (asynchronous) :CMake command running, attempting to run another :CMake command will throw the error you're seeing. I could implement something to fix this, e.g. pipeline commands and run them when nothing else is running, but I'd have to think whether this is a good idea.
Anyway, is there a good reason why you want to run :CMakeGenerate before :CMakeBuild? When should I rerun cmake? - Stack Overflow

I am a beginner of cmake, the information you provided is very useful. As you said it is not necessary. Thanks for your reply.


#142 Fix for test TestFilterS3Bucket_Config/Exclude

Included changes:

added function to replace variables in template yaml file and return path to rendered file;
updated logic for TestFilterS3Bucket to include random id in s3 matching config;
updated Exclude test to verify matched sublist of buckets;

Test results:

Fixes #142

Failed TestDeleteFullIamUser with
=== CONT  TestDeleteFullIamUser
    iam_test.go:393:
        	Error Trace:	iam_test.go:393
        	            				iam_test.go:439
        	Error:      	Received unexpected error:
        	            	EntityTemporarilyUnmodifiable: MFA cannot be enabled while the Login Profile  for principal cloud-nuke-test-full-user-fGlvEA is being created.
        	            		status code: 409, request id: b39415dc-5bda-4a2c-8432-1ccb2dc6c5cc
        	Test:       	TestDelet

not sure if it is related with changes from this PR

Looks like the build passed on second try, and this PR has been reviewed an approved, so I'll go ahead and merge it in!


Smooth indicator movement

Is there a way to apply a "smoothing" factor to cause the note indicator to not jump around so much and just ease slowly into a new position?

Well the not indicator does smoothly animate when moving, but I think you're asking how to make that animation even slower?
You can adjust the animation speed by specifying a duration here: https://github.com/jpsim/ZenTuner/blob/e75288da2bc0759f308cb49bf9e05a90870f9066/ZenTuner/Views/CurrentNoteMarker.swift#L27
For example:
.animation(.easeInOut(duration: 1), value: distance.cents)

If you're asking for me to expose a way to expose the animation speed in the UI to enable users to control it, I'll have to give this more serious thought. A main goal of this app is to be minimalist (ahem "zen") so naturally this means not having too many fiddly knobs and controls.

I am more asking if there is a way to smooth the frequency that comes from the microphone. For example, a very simple data smoothing algorithm would take each new measurement that comes from the microphone and weight it at 10% while weighting the previous frequency at 90%
`smoothedFrequency = (newFrequency * 0.1) + (oldFrequency * 0.0)'

Sure, you could do that here https://github.com/jpsim/ZenTuner/blob/e75288da2bc0759f308cb49bf9e05a90870f9066/Packages/MicrophonePitchDetector/Sources/MicrophonePitchDetector/MicrophonePitchDetector.swift#L76
But I'd still recommend adjusting the animation speed.

Thank you, I will experiment with both approaches. And thank you for creating ZenTuner. It has been a huge help!


Add Blankskip to Zipformer+CTC

Accelerating RNN-T Training and Inference Using CTC guidance
https://arxiv.org/pdf/2210.16481.pdf
Result on LibriSpeech 100h
with scaling Lconv
greedy_search  (epoch 30 avg 13)

apply blank skip
test-clean
test-other
decoding time(s) (3090)

decode
8.13
17.48
41.828

train&decode
5.73
15.46
39.717

None
5.68
15.15
48.749

modified_beam_search (beam-size 4, epoch 30 avg 13)

apply blank skip
test-clean
test-other
decoding time(s) (3090)

decode
7.88
17.01
100.744

train&decode
5.66
15.24
92.286

None
5.64
14.93
219.133

fast_beam_search  (beam 20.0, max-contexts 8, max-states 64)

apply blank skip
test-clean
test-other
decoding time(s) (3090)
Config

decode
10.15
19.42
61.614
epoch 30 avg 13

train&decode
5.65
15.15
54.574
epoch 30 avg 14

None
5.66
14.90
95.128
epoch 30 avg 13

without Lconv
greedy_search (epoch 30 avg 13)

apply blank skip
test-clean
test-other
decoding time(s) (V100)

decode
5.84
15.43
124.449

train&decode
5.92
15.59
112.946

None
5.67
15.15
135.733

modified_beam_search (beam-size 4, epoch 30 avg 13)

apply blank skip
test-clean
test-other
decoding time(s) (V100)

decode
5.78
15.24
367.705

train&decode
5.86
15.31
153.612

None
5.63
14.94
431.615

CTC branch

model
test-clean
test-other
decoding time(s) (3090)
Config

Zipformer+CTC
6.28
16.76
56.284
epoch 30 avg 15

+ blank skip && scaling Lconv
6.24
16.97
54.181
epoch 30 avg 10

Result on LibriSpeech 960h
greedy_search

apply blank skip
test-clean
test-other

train&decode
2.29
5.28

None
2.23
5.19

modified_beam_search (beam-size 4)

apply blank skip
test-clean
test-other

train&decode
2.25
5.21

None
2.21
5.12

with Lconv
epoch 30 avg 13

greedy_search
test-clean
test-other
Decoding time(s) (3090)

only train
7.39
17.86
39.593

both train and decode
5.87
15.59
33.119

without blank skip
5.68
15.15
40.999

modified_beam_search
test-clean
test-other
Decoding time(s) (3090)

only train
7.41
17.84
196.817

both train and decode
5.78
15.38
78.604

without blank skip
5.64
14.93
212.757

without Lconv
epoch 30 avg 13

greedy_search
test-clean
test-other
Decoding time(s) (V100)

only train
5.84
15.43
124.449

both train and decode
5.92
15.59
112.946

without blank skip
5.68
15.15

modified_beam_search
test-clean
test-other
Decoding time(s) (V100)

only train
5.78
15.24
367.705

both train and decode
5.86
15.31
153.612

without blank skip
5.64
14.93

with Lconv
epoch 30 avg 13

greedy_search
test-clean
test-other
Decoding time(s) (3090)

only train
7.39
17.86
39.593

both train and decode
5.87
15.59
33.119

without blank skip
5.68
15.15
40.999

modified_beam_search
test-clean
test-other
Decoding time(s) (3090)

only train
7.41
17.84
196.817

both train and decode
5.78
15.38
78.604

without blank skip
5.64
14.93
212.757

without Lconv
epoch 30 avg 13

greedy_search
test-clean
test-other
Decoding time(s) (V100)

only train
5.84
15.43
124.449

both train and decode
5.92
15.59
112.946

without blank skip
5.67
15.15
135.733

modified_beam_search
test-clean
test-other
Decoding time(s) (V100)

only train
5.78
15.24
367.705

both train and decode
5.86
15.31
153.612

without blank skip
5.63
14.94
431.615

Accelerating RNN-T Training and Inference Using CTC guidance https://arxiv.org/pdf/2210.16481.pdf
Result

If not specifically noted, the result is based on epoch 30 avg 13.

with scaling Lconv
greedy_search
apply blank skip	test-clean	test-other	decoding time(s) (3090)
decode	8.13	17.48	41.828
train&decode	5.74	15.46	39.717
None	5.68	15.15	48.749
modified_beam_search
apply blank skip	test-clean	test-other	decoding time(s) (3090)
decode	7.88	17.01	100.744
train&decode	5.66	15.24	92.286
None	5.64	14.93	219.133
fast_beam_search
apply blank skip	test-clean	test-other	decoding time(s) (3090)
decode	10.15	19.42	61.614
train&decode	7.72	17.51	65.103
None	5.66	14.90	95.128
without Lconv
greedy_search
apply blank skip	test-clean	test-other	decoding time(s) (V100)
decode	5.84	15.43	124.449
train&decode	5.92	15.59	112.946
None	5.67	15.15	135.733
modified_beam_search
apply blank skip	test-clean	test-other	decoding time(s) (V100)
decode	5.78	15.24	367.705
train&decode	5.86	15.31	153.612
None	5.63	14.94	431.615
CTC branch
model	test-clean	test-other	decoding time(s) (3090)	Config
Zipformer+CTC	6.28	16.76	56.284	epoch 30 avg 15

blank skip && scaling Lconv	6.24	16.97	54.181	epoch 30 avg 10

Hi @yfyeung , I also trained zipformer with Decoder Frame Reduction, and  modified some lines, I find blank skip can also accelerate training (7 cards A100).

model
test-clean
test-other
FR ratio
time per epoch

zipformer
2.15
5.22
0%
59 min

zipformer+blank skip
2.39
5.50
66~70%
39 min

zipformer+CTC+blank skip
2.32
5.32
66~70%
39 min

FR ratio: (length - reduced_length) / length

Hi @yfyeung , I also trained zipformer with Decoder Frame Reduction, and modified some lines, I find blank skip can also accelerate training (7 cards A100).
model	test-clean	test-other	FR ratio	time per epoch
zipformer	2.15	5.22	0%	59 min
zipformer+blank skip	2.39	5.50	66~70%	39 min
zipformer+CTC+blank skip	2.32	5.32	66~70%	39 min

FR ratio: (length - reduced_length) / length
Thanks.

Hi @yfyeung , I also trained zipformer with Decoder Frame Reduction, and modified some lines, I find blank skip can also accelerate training (7 cards A100).
model	test-clean	test-other	FR ratio	time per epoch
zipformer	2.15	5.22	0%	59 min
zipformer+blank skip	2.39	5.50	66~70%	39 min
zipformer+CTC+blank skip	2.32	5.32	66~70%	39 min

FR ratio: (length - reduced_length) / length

Thanks.

Hi @yfyeung , I also trained zipformer with Decoder Frame Reduction, and modified some lines, I find blank skip can also accelerate training (7 cards A100).
model	test-clean	test-other	FR ratio	time per epoch
zipformer	2.15	5.22	0%	59 min
zipformer+blank skip	2.39	5.50	66~70%	39 min
zipformer+CTC+blank skip	2.32	5.32	66~70%	39 min

FR ratio: (length - reduced_length) / length

Thanks.

@yfyeung Thanks for merging this,
Can you please explain what does decoding time(s) (3090) column mean and how should I translate it to RTF?
Thanks,

@yfyeung Thanks for merging this, Can you please explain what does decoding time(s) (3090) column mean and how should I translate it to RTF?
Thanks,

This is the time spent executing the script (decode.py, ctc_guild_decode_bs.py, ctc_decode.py), which is a crude way of measuring decode time. Since it contains the time of loading model, we can`t translate it to RFT.

@yfyeung I got a question about decoding time of "LibriSpeech 100h/without lconv/modified beam search

apply blank skip
test-clean
test-other
decoding time(s) (V100)

decode
5.78
15.24
367.705

train&decode
5.86
15.31
153.612

None
5.63
14.94
431.615

the decoding time of first row(apply in decode mode only) is much larger than second row, while in other exps the decoding time of these two modes are comparable.

@yfyeung I got a question about decoding time of "LibriSpeech 100h/without lconv/modified beam search
apply blank skip	test-clean	test-other	decoding time(s) (V100)
decode	5.78	15.24	367.705
train&decode	5.86	15.31	153.612
None	5.63	14.94	431.615
the decoding time of first row(apply in decode mode only) is much larger than second row, while in other exps the decoding time of these two modes are comparable.

It seems the decoding time is not a good indicator. I guess when I was decoding, the cpu was busy with other tasks.

@yfyeung I got a question about decoding time of "LibriSpeech 100h/without lconv/modified beam search
apply blank skip	test-clean	test-other	decoding time(s) (V100)
decode	5.78	15.24	367.705
train&decode	5.86	15.31	153.612
None	5.63	14.94	431.615
the decoding time of first row(apply in decode mode only) is much larger than second row, while in other exps the decoding time of these two modes are comparable.

Can you rerun that on a empty gpu, just to ensure no disturbance.

@yfyeung theoretically the encoder_output len could be less than token len after frame_reducer(it did happen in my exp), which is not allowed in get_rnnt_logprobs_smoothed:
https://github.com/k2-fsa/k2/blob/19cd61b2900e0c59c94189dbb80b791c0465713e/k2/python/k2/rnnt_loss.py#L1035-L1040
Is there a workaround to prevent this?

@yfyeung theoretically the encoder_output len could be less than token len after frame_reducer(it did happen in my exp), which is not allowed in get_rnnt_logprobs_smoothed:
https://github.com/k2-fsa/k2/blob/19cd61b2900e0c59c94189dbb80b791c0465713e/k2/python/k2/rnnt_loss.py#L1035-L1040
Is there a workaround to prevent this?

Increase the warmup in model.py from 2.0 to 3.0 or higher.

@yfyeung theoretically the encoder_output len could be less than token len after frame_reducer(it did happen in my exp), which is not allowed in get_rnnt_logprobs_smoothed:
https://github.com/k2-fsa/k2/blob/19cd61b2900e0c59c94189dbb80b791c0465713e/k2/python/k2/rnnt_loss.py#L1035-L1040
Is there a workaround to prevent this?

@Cescfangs Increase the warmup in model.py from 2.0 to 3.0 or higher.


Drawer zoom out animation bug

Bug description:
The bug that I am talking about can be reproduced in the docs itself on combobox responsive example: https://ui.shadcn.com/docs/components/combobox#responsive
After opening combobox and making screen mobile the combobox transforms into a drawer component as expected. However if you were to go back to desktop resolution before closing the drawer the drawer zoom out animation stays.
Easy to reproduce guide:
go to docs > https://ui.shadcn.com/docs/components/combobox#responsive > (combobox responsive example) > open combobox > go to mobile resolution > go back to desktop resolution.
This bug is not something that could easily hurt UX but I feel like it should be mentioned.
Additional info:
Browsers affected: Firefox, Brave (probably all chromium based browsers).
Additional images of the bug:
Normal:

Bug:

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.


How to add the lib to my project afterwards

Hi,
i am quit new in vcpkg so i have some basic questions. I have already started my project and could include the json-c and paho-mqtt libraries with help of the vcpkg manager. But now i like to add the sqlite library. I was able to download and install it and when starting a new project i could successfully build. But it is not recognized in my project i already set up. I think it can not find the library because there are plenty red underlining function declerations inside the header files. But when starting a new projects it seems to work well. What is the correct process to add libraries afterwards?

Tha's depends on your custom build system.

For cmake, use vcpkg toolchain.
For msbuild, you only need to intergrate with msbuild.

For more details please see documentation.

Please feel free to reopen this issue if it is still a problem for you.


Can you please revert to the possibility of 0 lines of results just behind the main window ?

Description of the new feature / enhancement
Hello,
Can you please allow again the possibility to have 0 lines of results just behind the main window ?
That's really ugly and there's no sense in terms of UX to doing that, why not put the result in the main window with an arrow to see more result, that would be much more elegant. Actually like it was before ;)
Regards
Claude
Scenario when this would be used?
on first keystrokes
Supporting information
No response

I'm sorry, about what PowerToys module are you talking?
/needinfo

Powertoys run
Le sam. 6 avr. 2024 à 18:55, Aaron Junker-Wildi @.***>
a écrit :

I'm sorry, about what PowerToys module are you talking?
/needinfo
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerToys/issues/32296#issuecomment-2041137374,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJOB36BLAFDM5WA2Z465G23Y4ASJ7AVCNFSM6AAAAABF2SBCP6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBRGEZTOMZXGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

@zorro103
You can disable this feature in on the settings page of PowerToys Run. /helped

Thank you for your help !
Much appreciated, have a nice day
Regards
Claude
Le lun. 8 avr. 2024 à 09:22, microsoft-github-policy-service[bot] <
@.***> a écrit :

This issue is now marked as resolved. If you have any follow-up questions,
please don't hesitate to ask. You can find out more about PowerToys
functionalities in our end-user documentation
https://aka.ms/powertoy-docs.
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerToys/issues/32296#issuecomment-2042035840,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJOB36EGVRITH2UIBXU3TD3Y4JAUXAVCNFSM6AAAAABF2SBCP6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBSGAZTKOBUGA
.
You are receiving this because you were mentioned.Message ID:
@.***>


The main_throwing_ball.m example is not working, the setting is wrong?

clear all
clc
close all
import casadi.*
%% model parameters
e = 0.2; u_max = 9; beta = 0.0; mu=0;
%% NOSNOC settings
problem_options = NosnocProblemOptions();
solver_options = NosnocSolverOptions();  %% Optionally call this function to have an overview of all options.
problem_options.n_s = 3;
solver_options.mpcc_mode = 'Scholtes_ineq';
solver_options.homotopy_update_rule = 'superlinear';
% problem_options.step_equilibration = 'direct_homotopy';
problem_options.use_fesd = 1;
problem_options.time_freezing = 1;
problem_options.local_speed_of_time_variable = 1;
problem_options.stagewise_clock_constraint = 0;
problem_options.nonsmooth_switching_fun = 0;
problem_options.pss_lift_step_functions = 0;
problem_options.no_initial_impacts = 0;
% solver
solver_options.opts_casadi_nlp.ipopt.max_iter = 1e5;
solver_options.opts_casadi_nlp.ipopt.tol = 1e-7;
solver_options.opts_casadi_nlp.ipopt.acceptable_tol = 1e-5;
solver_options.use_previous_solution_as_initial_guess = 0;
solver_options.N_homotopy = 6;
solver_options.print_level = 3;
solver_options.comp_tol = 1e-6;
solver_options.elastic_scholtes = 1;
%% model parameters
g=9.81;
q_target = [4;0.5];
%% solver
model = NosnocModel();
model.mu_f = mu;
problem_options.T = 4;
problem_options.N_stages = 20;
problem_options.N_finite_elements = 3;
% model equations
q = SX.sym('q',2);
v = SX.sym('v',2);
u = SX.sym('u',2);
model.lbx = [0;-0.001;0;-inf]; model.ubx = [4;inf;inf;inf];
model.x0 = [0;0.5;0;0];
model.x = [q;v]; model.u = u; model.e = e ;
model.f_c = q(2)-0;
model.f_v = [u-[0;g]-betavsqrt(v(1)^2^2+v(2)^2+1e-3)];
model.J_tangent = [1; 0];
model.dims.n_dim_contact = 2;
% Objective and constraints
model.f_q = u'u; model.f_q_T = 100v'*v;
model.g_path = u'*u-u_max^2;
model.g_terminal = q-[q_target];
mpcc = NosnocMPCC(problem_options, model);
solver = NosnocSolver(mpcc, solver_options);
[results,stats] = solver.solve();

Thank you for bringing this to our attention. #56 should address this along with some issues in the plotting script for this example.

Some issues in the plotting script are not crucial, but the main issue is that the 'main_throwing_ball.m' example cannot compute the same solution as described in the paper 'NOSNOC: A Software Package for Numerical Optimal Control of Nonsmooth Systems.

#56 Merged, closing.


Fix Telegraf build

High-level description
This bumps Telegraf to pull in a build fix. Without this fix, Telegraf will fail to build. See https://github.com/dcos/telegraf/pull/24.
Corresponding DC/OS tickets (obligatory)
These DC/OS JIRA ticket(s) must be updated (ideally closed) in the moment this PR lands:

DCOS-43554 DC/OS Uncached Build fails to build telegraf package

Related tickets (optional)
Other tickets related to this change:

N/A

Checklist for all PRs

[x] Added a comprehensible changelog entry to CHANGES.md or explain why this is not a user-facing change: This fixes the DC/OS build without making any user-facing changes.
[x] Included a test which will fail if code is reverted but test is not. If there is no test please explain here: Build works now!
[x] Read the DC/OS contributing guidelines
[x] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[x] Change log from the last version integrated (this should be a link to commits for easy verification and review): https://github.com/dcos/telegraf/compare/071b143b1c93f03e5469378d082ec14dacf41674...7d5cd49f94fe98fa96941e7088c733ff7527d001
[x] Test Results: link to CI job test results for component
[x] Code Coverage (if available): link to code coverage report

@mesosphere-mergebot bump-ee

@mesosphere-mergebot label ready for review

@orsenthil This PR bumps the DC/OS Telegraf fork to the tip of its release branch, which means it's pulling in some unrelated fixes. The test that's failing is fixed in this PR, which is currently sitting on a train: #3453. I could push this bump to #3453 and re-add it to the train at #3617, or we could add this PR directly to #3617, which would fix it.  How would you like to handle it?

@mesosphere-mergebot label ship-it


Pull request/30be71d8

Added support for evalpoly! and a corresponding benchmark under test. Results are promising, time-wise, about a 28x performance increase on an array of size 10^7, compared with a general Horner's method implementation (not comparing with @evalpoly since it solves a different problem.)

The general style we have followed in Base is that mutating functions put the result first, and the inputs after that in the function definition. If you can change that, the rest is all good.

Thanks for merging and fixing the argument order


⚠ ClamAV has degraded performance

In 4b90a6b, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 206 ms

Resolved: ClamAV performance has improved in 518b76e.


Transition to using Javascript / working from a GUI

See also: https://github.com/vkottler/workspace/issues/5
It's nice to have a Python data model for SVG entities, and lots of the mathematical conversions implemented for various things. It would help a lot to have a GUI to work from within this package, and we should figure out how we want to go about that

We should follow through on what this package is/was supposed to be for: generating SVG
We can make the script interface better by allowing scripts to be specified in the optional config, also allow specifying multiple scripts in order on command-line
Allow height and width to be set on command-line for default values, change the dictionary to be a custom UserDict that consumes keys when the value is referenced

With the external script interface we have now, we could probably replace the SVG generator infrastructure
for color themes and actual configuration data, we can use datazen to compile that into a single config that can be loaded by the tool, we can use make (or datazen) to use dependency-resolution rules to re-generate

We just added svgen as a dependency to runtimepy here: https://github.com/vkottler/runtimepy/pull/165.
This is the perfect opportunity to further integrate svgen with actual Python web services!


[HUDI-2118] Skip checking corrupt log blocks for transactional write file systems

Change Logs
Skip checking corrupt log blocks for transactional write file systems
Impact

The benchmark results show corrupted block check could be 100's of msecs for larger file sizes.
This change would boost block read of 100's of ms per block.

Risk level: low

Only turned on S3 and GCS for this feature, those for sure supports transactional write.
For other file systems, there's no change.

Documentation Update
It can be considered a small feature, probably worth mentioning that for cloud storage with transactional write support, there're certain optimization around it.
Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

@hudi-bot run azure


feat: collapseNodeModules feature

Disabled by default as it can be annoying
In theory it can be useful to toggle globally e.g. on absolutely any tab reselect
To see in action:

Go to any file under node_modules
Close the file
-> node_modules is collapsed

The problem that was motivation for that feature no longer exists since explorer.autoRevealExclude setting is here.
though they should definitely add explorer.autoCollapseInclude

The problem that was motivation for that feature no longer exists since explorer.autoRevealExclude setting is here.
though they should definitely add explorer.autoCollapseInclude

I'm okay with autoRevealExclude rn. I think we can close.
Is there still no way to collapse a particular folder in the project?

As an idea - can we close all dirs in project and then invoke workbench.files.action.showActiveFileInExplorer. This version might be much more useful if we'll somehow determine the last viewed editor, which doesn't belong to the node_modules, set it as active and call mentioned command.
@zardoy WDYT?

Yes, this is a good idea, I'm using it in keybinding and it works, you can test it here and if you like it , you can merge


add browser rebus

Add browser rebus.

Pull Request Test Coverage Report for Build 660

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.143%

Totals

Change from base Build 514:
0.0%

Covered Lines:
158

Relevant Lines:
180

💛  - Coveralls


Office Hours!

Join us today for Probot Office Hours at 1pm EST!
Everyone is welcome to join ask questions, hack on apps, or just talk about ideas! This is a great place if you're having trouble with some code to ask a question. The office hours occur weekly, so if you can't make it today, be sure to stop by next week!
Zoom: https://github.zoom.us/j/221410810

@hectorsector per my note in Slack ^^

We've added information about office hours on https://probot.github.io/contribute/#office-hours and probably won't be opening issues anymore.
Add it to your calendar and join us!


Long GPU idle times in loss forward pass

I have just implemented an RL agent for a custom environment (wrapped into a TorchRL env). I am trying to reimplement the RAPS algorithm using SAC and for that I have used the SACLoss provided by TorchRL.

However, training the agent, I experienced bad GPU utilization. Profiling, I found that what takes most time is the SACLoss forward pass. I then proceeded using nsys profile in order to investigate further into this forward pass. In the screenshot attached, I have recorded a single representative forward pass through the SACLoss (after some warmup iterations).
You can see that the GPU is only utilized for short times at the start and end of the forward pass and a sligthly longer period in the middle. Is this behavior expected?
I also notice the CPU process where Python is running to be at 100. I am not sure what is causing this as all my networks are on GPU and there shouldn't be much also running during the Loss forward pass, right?
If all this not expected, how can I proceed in order to increase utilization (or first find out what is causing low utilization)?
Screenshots

Environment:

GPU: RTX 3070 Mobile
Python inside Conda Environment

Pytorch 2.1.0
torchrl 0.3.0

I can have a look at that! Thanks for pointing it out, will keep you posted


Tag ODSPClient as Beta

Tags OdspClient and it's transitive dependencies as beta

the build will fail until #8678 goes in and i merge


Multiple entry points

I'd like to be able to build a separate mobile and desktop app with some shared code, and the same npm dependencies, but different builds. I would expect that most people would want to set up projects in this way, but always find it difficult to do for some reason.
From what I can see, it looks like vite-ssr could make this easier by:

Either allowing configurable entrypoint for both client and server (mobile.html/desktop.html vs index.html), or allowing for dynamically resolving the App that is passed to viteSSR()
Allowing for configurable outDir

At this stage I'm not really sure how feasible this would be, so i might just rewrite or move a file in my package.json scripts until things become easier.

@danelowe Hello! Would the multi-page-app approach in Vite work for you in development? I just need to figure out if that API is good enough so we can add support in vite-ssr build. I haven't played with this kind of build so not sure what's needed. If you want to experiment with that I'd be happy to review ideas.

Either allowing configurable entrypoint for both client and server (mobile.html/desktop.html vs index.html), or allowing for dynamically resolving the App that is passed to viteSSR()

I think you can probably do this yourself by using alias, e.g. alias: { 'my-dynamic-app': process.env.BUILD_MOBILE ? 'src/mobile-app.vue' : 'src/desktop-app.vue' } in the vite.config.js. Then, you just import App from 'my-dynamic-app' in main.js. This should work for both dev and build 🤔

Allowing for configurable outDir

There are 2 builds in vite-ssr, one for the client and one for the server. Therefore, a CLI flag --outDir would be ambiguous. Maybe we should add --client-outDir and --server-outDir or something like that 🤔
In the meantime, you can use the JS API of vite-ssr:
const ssrBuild = require('vite-ssr/build')

await ssrBuild({ clientOptions: {...}, serverOptions: {...} })

There should be typings there, but just in case you can check this file.

@frandiox The example was simplified to illustrate the multi-device thing more, and I'd removed a lot of custom stuff.
I can't recall the specific details, but I believe the issue I was something to do with injecting a websocket client into the app with values taken from the request headers. I understand vite-ssr provides access to the request now, but there was something in my specific case that was complicating things. Actually, I think it might have been that I wanted to load w3cwebsocket in SSR, but not have it in the client bundle. There are a few other cases like this, and because I'm migrating a Nuxt app, I did what I could to keep the majority of the existing code similar. Sorry for the lack of detail.


Rebus also in Portuguese (Brazil) and Reset Button added

Associated Issue: #601, New Feature
Summary of Changes
- change 1: The reset button and a full function has been created and added;
----> create a ResetButton component and a function clickReset to reset rebuses when clicked;
----> some CSS has been added;
- change 2: A new function has been added: play Rebus in Portuguese (Brazil);
----> create a ButtonCountryPTBR, ButtonCountryEN, appBR and some components to suport PT-BR version;
----> create functions in appBR to change idiom and design when clicked;
----> SVG to PT-BR button and SVG to EN button has been added;
----> some CSS has been added;
----> a flag has been added: flagBR;
----> new PT-BR rebuses at rebuses.js in array rebusesBR;
----> some tests and snapshots has been added;
----> comments at new functions has been added;

Pull Request Test Coverage Report for Build 958

49 of 156 (31.41%)  changed or added relevant lines in 11 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-26.2%) to 60.915%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/js/components/Word.js
2
3
66.67%

src/js/components/ProgressBarBR.js
1
3
33.33%

src/js/rebusesBR.js
8
12
66.67%

src/js/components/HintBR.js
1
6
16.67%

src/js/components/ResetButton.js
4
9
44.44%

src/js/components/RebusBR.js
1
15
6.67%

src/js/app.js
15
31
48.39%

src/js/storeBR.js
3
32
9.38%

src/js/appBR.js
10
41
24.39%

Files with Coverage Reduction
New Missed Lines
%

src/js/components/Word.js
1
82.14%

Totals

Change from base Build 937:
-26.2%

Covered Lines:
198

Relevant Lines:
325

💛  - Coveralls

Hi! Coverage at 84.375% with -2.8 decreasement was a maximum reduce possible for my changes.
Sorry, but I esforced so much to do those new features for lovely Rebus!


useMediaQuery - hydration mismatch: shouldn't it use useIsomorphicLayoutEffect ?

The hook as it is right now is causing hydration mismatch.
If I change it to use useIsomorphicLayoutEffect (instead of useEffect),
the the hydration warning is gone, and it seems to work.
I don't fully understand yet what exactly is going on,
but could it be the proper solution?

oops

In my case using this helped:
useMediaQuery('(min-width: 1024px)', {
  initializeWithValue: false
})

On the server, the query was automatically defaulting to false, while on the client it returned true because the browser's window width was above 1024px. Using initializeWithValue: false causes the hydration render to use false instead, which solves the hydration mismatch problem.


Python not found

Getting the below when building Docker image. Me only?
#12 27.60 [5/5] Building fresh packages...
#12 28.09 error /app/build/node_modules/utf-8-validate: Command failed.
#12 28.09 Exit code: 1
#12 28.09 Command: node-gyp-build
#12 28.09 Arguments:
#12 28.09 Directory: /app/build/node_modules/utf-8-validate
#12 28.09 Output:
#12 28.09 gyp info it worked if it ends with ok
#12 28.09 gyp info using<EMAIL_ADDRESS>#12 28.09 gyp info using<EMAIL_ADDRESS>| linux | arm64
#12 28.09 gyp ERR! find Python
#12 28.09 gyp ERR! find Python Python is not set from command line or npm configuration
#12 28.09 gyp ERR! find Python Python is not set from environment variable PYTHON
#12 28.09 gyp ERR! find Python checking if "python" can be used
#12 28.09 gyp ERR! find Python - "python" is not in PATH or produced an error
#12 28.09 gyp ERR! find Python checking if "python2" can be used
#12 28.09 gyp ERR! find Python - "python2" is not in PATH or produced an error
#12 28.09 gyp ERR! find Python checking if "python3" can be used
#12 28.09 gyp ERR! find Python - "python3" is not in PATH or produced an error
#12 28.09 gyp ERR! find Python
#12 28.09 gyp ERR! find Python **********************************************************
#12 28.09 gyp ERR! find Python You need to install the latest version of Python.
#12 28.09 gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
#12 28.09 gyp ERR! find Python you can try one of the following options:
#12 28.09 gyp ERR! find Python - Use the switch --python="/path/to/pythonexecutable"
#12 28.09 gyp ERR! find Python   (accepted by both node-gyp and npm)
#12 28.09 gyp ERR! find Python - Set the environment variable PYTHON
#12 28.09 gyp ERR! find Python - Set the npm configuration variable python:
#12 28.09 gyp ERR! find Python   npm config set python "/path/to/pythonexecutable"
#12 28.09 gyp ERR! find Python For more information consult the documentation at:
#12 28.09 gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
#12 28.09 gyp ERR! find Python **********************************************************
#12 28.09 gyp ERR! find Python
#12 28.09 gyp ERR! configure error
#12 28.09 gyp ERR! stack Error: Could not find any Python installation to use
#12 28.09 gyp ERR! stack     at PythonFinder.fail (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:307:47)
#12 28.09 gyp ERR! stack     at PythonFinder.runChecks (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:136:21)
#12 28.09 gyp ERR! stack     at PythonFinder.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:179:16)
#12 28.09 gyp ERR! stack     at PythonFinder.execFileCallback (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:271:16)
#12 28.09 gyp ERR! stack     at exithandler (child_process.js:315:5)
#12 28.09 gyp ERR! stack     at ChildProcess.errorhandler (child_process.js:327:5)
#12 28.09 gyp ERR! stack     at ChildProcess.emit (events.js:314:20)
#12 28.09 gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:274:12)
#12 28.09 gyp ERR! stack     at onErrorNT (internal/child_process.js:470:16)
#12 28.09 gyp ERR! stack     at processTicksAndRejections (internal/process/task_queues.js:84:21)
#12 28.09 gyp ERR!

I think fiatjaf might have python already installed or something locally. I fixed this by replacing 'RUN yarn' with:
# --virtual: bundle packages, remove whole bundle at once, when done
RUN apk --no-cache --virtual build-dependencies add \
  python3 \
  make \
  g++ \
  && yarn \
  && apk del build-dependencies

in my docker file. basically temporarily installs the needed dependencies to 'RUN yarn' and then deletes them so it doesn't bloat your memory.

Thank you very much.


Cards and Cardlists should be on rename mode by default

After creating Board and adding List, I suggest that by default after creation you are prompted to rename the List/Board, since you always need to rename it for yourself after creating a List/Board.

Very well, the solution should be very simple. If anything, this might be in the next minor release

Recently pushed commit solves this issue


RFQv2 use v5 sig checker

In order to support old MMP wallet, still accept multiple wallet signature validation type in RFQv2. Also, add more tests.

Depends on #187


crashplan: 4.6.0-r3 -> 4.7.0

Things done

[ ] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

@jerith666 did you run this and test it works?

Yeah, it's working fine for me.  I don't understand the Travis CI failure ... ?

The linux run is fine, the osx one fails due to nox.

travis-ci is a bit broken atm, will resolve in a few days.


Fix withdrawal tx list when token is not supported

What changed? Why?
After starting a withdrawal of an unlisted token, there was a missing null check while getting the asset symbol on the transaction list making it incomplete.
Notes to reviewers
Small fix
How has it been tested?
Current version

Fixed version

@lcamargof Thanks for your contribution, great fix!


Fix HD Photo codec option docs

Formatted the HD Photo codec options as tables.

@saucecontrol : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Deployment

Deployment
User Story
As a boot camp student,
I want the prework notes to be structured on a webpage,
So that I can easily find and read the information.
Acceptance Criteria
GIVEN a Prework Study Guide website,
WHEN I visit the website using the URL,
THEN I can access my website from any browser

Deployed!
https://crestonesoftware.github.io/prework-study-guide/


Sequential instructions not possible, ie. del, insert, del, insert.

Hi,
I've run into a big problem. I need to be able to delete, then insert, but when I try to do that I always get duplicate key insert errors.
If you look at the knex debug output you'll see that all the delete operations are put together and then all the insert operations are put together. This totally voids any sort of sequence control.
Here's an example:
var row, rows, yagga;
row = {
score: 311017,
user_id: 1042,
episode_id: 122
};
rows = [];
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10].map(function() {
return rows.push(row);
});
yagga = function(row) {
console.log("trying " + row);
return knex("episode_scores").where({
user_id: row.user_id,
episode_id: row.episode_id
}).del().then(function(ret) {
return knex("episode_scores").insert({
user_id: row.user_id,
episode_id: row.episode_id,
score: row.score
});
}).catch(console.error);
};
rows.map(yagga);

Sorry, not really an issue when using transactions. Closing this ticket.


Add Attachment of pictures

Pictures can now be added.
I'm sure that there are lots of cases where this is not going to work properly but it is implemented now.


Render alias documentation

Along with PR #68 this documents rendering a template by echoing it.

Thanks @chrismichaels84!


New package: FMI v0.1.0

Registering package: FMI
Repository: https://github.com/ThummeTo/FMI.jl
Created by: @ThummeTo
Version: v0.1.0
Commit: ee406b3793a8d19ec970b7f9f463b9d817cfcfcf
Reviewed by: @ThummeTo
Reference: https://github.com/ThummeTo/FMI.jl/issues/3#issuecomment-849463712

[noblock]
Dear Julia-Registrator-Team,
I read the guidelines for Julia Package Naming.
I understand, that acronyms should be avoided according to Guideline#1, but "FunctionalMockUpInterface" would be a very long package name and the acronym "FMI" is straight forward translated into Functional Mock-up Interface, there are no other meanings that would make the acronym misleading.
Further, according to Guideline#6, wrapper-packages should be named after the parent library. This is a wrapper package and the parent library is named "FMI".
Is it possible to use the library name "FMI.jl" ?
Thanks in advance!

I understand, that acronyms should be avoided according to Guideline#1, but "FunctionalMockUpInterface" would be a very long package name and the acronym "FMI" is straight forward translated into Functional Mock-up Interface, there are no other meanings that would make the acronym misleading.

I think there are! Googling gives me https://acronyms.thefreedictionary.com/FMI and https://www.allacronyms.com/FMI with lists of other things it could mean. Not all of those seem likely as Julia packages, but some of them do.

Further, according to Guideline#6, wrapper-packages should be named after the parent library. This is a wrapper package and the parent library is named "FMI".

Is this the parent library? https://github.com/modelon-community/fmi-library (I couldn't find it linked from the repo). If so, there they write "FMI Library (FMIL) is a software package..." which makes me think fmi-library or FMIL is the name of the parent package, not FMI.
In my opinion, we really do not need more 3 letter package names-- there are not that many possible ones, after all.
[noblock]

Thanks for your replay!

Is this the parent library? https://github.com/modelon-community/fmi-library (I couldn't find it linked from the repo). If so, there they write "FMI Library (FMIL) is a software package..." which makes me think fmi-library or FMIL is the name of the parent package, not FMI.

FMI is more like a standard (see: https://fmi-standard.org/). "fmi-library" is a C-frontend to use FMUs (Functional Mock-Up Units) inside a C-Application. We didn't wrap fmi-library, we provide the possibility to handle FMUs (which are technically zip-Archives with a *.DLL or *.SO inside) directly in Julia (using ccalls), so there is nothing like a parent library, more like a parent standard (named the FMI standard).
Further we are working on two library extensions and a longer name would lead to ridiculous long library names. Open your heart, its only 211 days until christmas 😉
And year, https://github.com/JuliaRegistries/General/pull/37152 seems a VERY similar and recent precedent.

I agree we should be careful about the usage of the 3 letter names. But one of our policies is that wrapper libraries match the name of the library being wrapped. In this case, FMI is a standard for the FMU binaries, and FMI.jl is the implementation of that wrapper interface. It's very analogous to the case of Sundials.jl being a wrapper to SUNDIALS, or Arrow.jl being the implementation of the Arrow interface. While in this case the binaries which satisfy this interface can change around, it's still an interface implementation or binary wrappers so according to our rules and practices this would be acceptable.
That said, FunctionalMockUpInterface isn't a bad name in terms of discoverability.

Thanks for your replys!
I am struggling, we want to match the Julia Naming Guidelines (we don't match #1, but we do match #6, which is a contradiction), on the other hand we want to continue naming conventions, that are common in the FMI-world. Two worlds coming together.
There is a list with available FMI-tools (and names), many are programs that support FMI, but there are also wrapper libraries like ours included: FMI Tools
Librarys that do something similar are:

FMPy, PyFMI (Python)
FMI4cpp (CPP)
FMI4j, JavaFMI, JFMI (Java)

The list does not contain a single "FunctionalMockUpInterface" or similar named library.
Names like "fmi-standard" are prohibited, because they imply that it's an offical thing from the Modelica Association (the parents of FMI).
Mapped to our case, possible alternatives for names would be:

FMIJulia.jl (doubling)
JuliaFMI.jl (already exists, doubling)
FMI4Julia.jl (doubling)

Or straight forward: FMI.jl
If there are other opinions or ideas, I am definitely open for a renaming, but please keep into account both communities: Julia and FMI.
Users, that are fimilar with FMI (and know the corresponding libraries) should feel like it's only a small step to try out the Julia-way: "Using PyFMI and Python? Using JFMI and Java? Why not try FMI.jl and Julia!"
Thanks in advance.

Ok, let's do it

Thank you very much!


Increase the number of entries shown in the event viewer queue

Increase the number of entries shown in the event viewer queue.
Considering that modifiers and up-down events usually mean there are at least 2 entries per keypress, often more, this change increases the number of events shown to make the event viewer more useful.

Thanks!


chore: payload v3 support

This PR makes the plugin compatible with PayloadCMS v.3.
I set up a little test app using payload v3.0.0-beta.76 here to see if it really works.

Hey @linobino1, thanks for the pull request! I appreciate that you've also taken the time to test this. I will take a more in-depth look later today and will come back to you.

I get a TypeError: computeBlurhash is not a function when I import the plugin in my project.

@linobino1 I just tested and I can't reproduce. I created a new PayloadCMS v3 project, installed payload-blurhash-plugin@3, added it to the config, and everything seems to work. If you have reproduction steps, please open an issue.

@invakid404 Ah sorry, you're right, it works at least when running npm run dev, but payload generate:types and payload generate:schema will fail.

@linobino1 I see, it fails for me as well. I'll log an issue and investigate this.


Use Ubuntu 17.04

This pull request updates Ubuntu version from 16.10 to 17.04.
Ubuntu 17.04 installs the latest version of PostgreSQL 9.6 by default.  #130 requested to upgrade PostgreSQL to 9.6 on Ubuntu 16.10, which was not the default one.

Thanks!


Additional maint fixes related to Puppet Type system internals

This PR contains some additional related to internal logic in the Puppet Type system.

ok to merge once travis goes green

CLA signed by all contributors.


fr-FR

fr-FR

@gave92 Is there a possibility to take the work already done by him and finish?

Closing due to inactivity.


Leaderboard of JudgLM evaluations

I have evaluated one of my model using your JudgeLM 13B model.
How do I benchmark this against other models for comparison?

Can you share the .jsonl files examples you used? @sachith-surge

I used this judgelm-val-5k-judge-samples.jsonl file to evaluate my model.


Using discords "go live" feature crashes runelite

the GPU plugin is OFF, i dont know how to fix

turn off sharing audio

How do i do that i see that setting on RL

its a discord thing afaik, you should join our discord support channel for things like this, its much easier to handle there.

alright, do you know where the setting is? I cant find it

See the "Sound Hook/Sound Share" section of this article.


Fix import paths

The 3.0.0 branch isn't stable (yet) and it doesn't accept pull request as of now.


fix: dir path ends with *

Summary

Test Plan

Require Documentation?

[ ] No
[ ] Yes, the corresponding rspack-website PR is __

!canary

!canary


Make Event.Context non-copyable.

Event.Context contains a significant amount of data (a copy of the current test, current test case, and all parameterized inputs to the test.) It should not be possible to accidentally make a copy of this data.
Checklist:

[x] Code and documentation should follow the style of the Style Guide.
[x] If public symbols are renamed or modified, DocC references should be updated.

@swift-ci please test


Add support for supplying OTA download file path

Problem
Add support to the Linux OTA-requestor for supplying a fully-qualified destination path for the OTA file to be downloaded to
Change overview
Added a simple command line option for the same
Testing
Tested by running an OTA on a Linux machine and verifying that the file path was chosen successfully.

ota_test.sh changes look good to me!

Please make sure a followup is filed to fix the consumers assuming a CharSpan is null-terminated....

https://github.com/project-chip/connectedhomeip/issues/15726

Squashed and rebased on master.


Fix broken error handling specs

The reason the specs are failing is because of the following change
in the webmock gem:
https://github.com/bblimke/webmock/commit/1c48030ec0671e368d5be09f39cdfbed6a87b10f#diff-4fd2506a42939f27882b390651103483
RequestStub:to_timeout method now raises a Net::OpenTimeout exception
instead of a Timeout::Error. The Net::OpenTimeout error when using Faraday
is wrapped in a Faraday::ConnectionFailed error, that is not rescued and re-raised
as a Skroutz::Timeout error: https://github.com/skroutz/skroutz.rb/blob/master/lib/skroutz/errors.rb#L92

Coverage remained the same at 95.075% when pulling 23ddc6f4c621f7a7311d17d44a6c05c3817c8c5f on fix_broken_error_handling_specs into 7345c3cf6f24e6ed69cfa365312298d7814ffa41 on master.

Coverage remained the same at 95.075% when pulling 23ddc6f4c621f7a7311d17d44a6c05c3817c8c5f on fix_broken_error_handling_specs into 7345c3cf6f24e6ed69cfa365312298d7814ffa41 on master.


Nondeterminism

To do:
(1) Check if tool is still nondeterministic (including counterexamples)
(2) Check if it has any bearing on the benchmarks for have determinism
(3) Check if nondeterminism is fixable

Progress made on 6e740f1f79fdf4ed52b687d89583c45a0d632192
Not deterministic when using cvc4sy
Forcing determinism means that we don't know the best random seed for performance


Additional Blazor optional params updates

Addresses #20591
@gregoryagu ... I missed a spot! :eye:
Sorry @mrlife ... I meant to ping and reference @gregoryagu's issue.

@guardrex No worries, now I know I no longer need 2 @page directives when working with optional route parameters. 👍


Roll Engine from fae92ed57427 to 39f003de154f (2 revisions)

https://github.com/flutter/engine/compare/fae92ed57427...39f003de154f
2020-11-16<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from 6LXPsNi-P... to LOnq8wpIx... (flutter/engine#22534)
2020-11-16<EMAIL_ADDRESS>Roll Skia from 031a76756e24 to cce84d1fd893 (4 revisions) (flutter/engine#22533)
Also rolling transitive DEPS:
fuchsia/sdk/core/mac-amd64 from 6LXPsNi-PFxz to LOnq8wpIxWpg
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.


Added a link pointing to the Turkish translation to other README files

And removed the link to the Turkish translation from the file in Turkish.

one more thing: can you confirm that the language code is tr, and not tr-tr or tr-TR?
  var lang =
     navigator.language ||
     navigator.userLanguage ||
     navigator.browserLanguage ||
     navigator.systemLanguage;

On 30.07.2023 05:35, LY wrote:

one more thing: can you confirm that the language code is |tr|, and not
|tr-tr| or |tr-TR|?
var  lang  =
navigator.language  ||
navigator.userLanguage  ||
navigator.browserLanguage  ||
navigator.systemLanguage;

According to
https://stackoverflow.com/questions/5580876/navigator-language-list-of-all-languages
and some other sites, |tr| should be fine. But the best thing to do
would be to test IMHO.


Add format "python" (or similar name)

If you want to use the result in python now you have to use the JSON format and loads it.
For example
import json
import sysconfig

[v["support"] for v in json.loads(norwegianblue.norwegianblue(product="python", format="json")) if v["cycle"] == sysconfig.get_python_version()]

it will be useful to do something like
import sysconfig

[v["support"] for v in norwegianblue.norwegianblue(product="python", format="python") if v["cycle"] == sysconfig.get_python_version()]

I think it is doable avoiding using json.dumps like in https://github.com/hugovk/norwegianblue/blob/main/src/norwegianblue/init.py#L84

Maybe something like #232? That uses format = None, I was thinking because we're not formatting it at all.

It seems perfect 😊


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Check for getParameters_found on root module, too

This PR enables hiding sub-modules in a container without having to set dpnn_getParameters_found on all sub-modules by checking to see if the root has already been searched.
Additionally, this change makes it so that calling getParameters does not unset the user's dpnn_getParameters_found = true on the modules containing the hidden modules (i.e. those that are, themselves, not hidden and therefore placed in con.modules). This prevents a second call to getParameters from revealing what should be hidden.
An alternative but possibly less straightforward implementation is https://github.com/nhynes/dpnn/commit/3778197b54d97d7cfa6acc490303823b8d82f47a.

@nhynes Changed your mind?

No, I still use these changes locally but I'm not sure the use case is common enough to risk regressions in existing code!

@nhynes Sounds good.


Adopt buildkit's SLSA/SBOM provenance attestations

We want acorn images to support SLSA provenance via this feature of buildkit:
https://github.com/moby/buildkit/blob/v0.11/docs/attestations/slsa-definitions.md

@ibuildthecloud said he liked to see us run our own registry for this purpose in cloudflare or something similar


Ensure adding/removing directives busts any cached typecheck results

Fix info from @dfreeman:
Whether a file contains e.g. a @glint-nocheck directive doesn't impact what TypeScript itself sees in that module, only whether we emit errors from it or not. This means that in incremental builds, removing that directive won't produce a visible change from TypeScript's perspective, so we won't emit the now-revealed errors until the next time the tsbuildinfo cache is cleared.
This PR just has us emit a comment anywhere we see a @glint directive so that the contents of the transformed file will change if a directive comes or goes and TS will reconsider it for typechecking.
Original writeup of the bug from @hmajoros:
I believe I have found a bug in glint --build --watch, and generally, the same thing happens when running glint --build twice in a row.
STR: setup your project with a template ignored via the {{! @glint-nocheck }} flag, that would throw a type error in the absence of the nocheck directive. run a glint --build --watch, validate that it passes because of the nocheck directive. remove the directive, and notice that the --build --watch process does not pick up the fact that there is now a type error from the template.
Same issue can be reproduced running consecutive glint --build's removing the nocheck directive in between runs.
Only way to fix this currently is to run glint --build --clean after removing the directive, then re-running --build
This PR adds a failing test to reproduce the behavior: after removing the nocheck directive, we would expect the output to show 1 error, instead it shows none.

Thank you for the failing test, @hmajoros! That was super helpful in getting this fixed.


Update README.md for Diatheke example

This PR is not linked to a task in ClickUp.  Please add the task ID starting with "CU-" (e.g. CU-1umz2q2) as the first word in the title.
To create a new task in the list click here.


Give post submitters an option to send a reminder message to upvoters

Return a list of e-mails of everyone who "upvoted" a post.
Only the submitter of the post will be able to see these e-mails.
BONUS: The submitter of the post will see a textarea with a button, and write something in the text box to send an e-mail to the people who indicated interest in the hangout.

@lpatmo I'll work on it day after tomorrow. Is it appropriate?

@delgermurun Of course! Thanks for helping -- no rush. :) I'll see if I have something by then that I can also show.

Closed given that participants are notified when threads are updated -- thanks to a PR @delgermurun contributed to the core Telescope project.


Event creating connection

Hello,
Is there an event which will be fired when I click on input edge and try to make a connection?
My usecase: I need to fire event when a user is trying to make a connection. When a user click on input edge of node and try to make connection then the editor will fire an event. I know there is an event when the connection is created, but i want something like connectionCreating and not connectionCreated.
Thanks.

Hello  @mucskaati
View #10 and #70
This similar issues with deleting node.

Hello  @mucskaati
View #10 and #70
This similar issues with deleting node.

Thanks, but it would be great if will you add this event in future...

Thanks, but it would be great if will you add this event in future...

If I plan to add. Events prevents in the future.

If I plan to add. Events prevents in the future.


Extend bash-man and add fixes in language

LGTM 👍  Congrats on your first contribution!

Thank you for the PR ✨ 🎉 We're happy to accept these changes and look forward to your future contributions.
Happy coding!


fix(app): Remove holdover /calibrate/instruments missed by #1765

overview
This PR is a continuation of #1765. We missed a couple links that were still pointing to /calibrate/instruments instead of the newer /calibrate/pipettes
changelog

fix(app): Remove holdover /calibrate/instruments missed by #1765

review requests
Try to break tip probe and labware calibration! Virtual smoothie is fine

@IanLondon thanks, unrelated but definitely need to check that out. Thanks for pointing it out


inputInjector mouse click erroe

Describe the bug
var down = new InjectedInputMouseInfo();
down.MouseOptions = InjectedInputMouseOptions.LeftDown;
var up = new InjectedInputMouseInfo();
up.MouseOptions = InjectedInputMouseOptions.LeftUp;
inputInjector.InjectMouseInput(new[] { down, up });
cause error below
It worked at ProjectReunion 0.84. After update 1.0 ans later error happaned
Steps to reproduce the bug
Please kindly check whether mouese click (Leftdown & up) works.
Expected behavior
No response
Screenshots

NuGet package version
WinUI 3 - Windows App SDK 1.0.3
Windows app type

[ ] UWP
[ ] Win32

Device form factor
Desktop
Windows version
Windows 11 (21H2): Build 22000
Additional context
No response

Was just about to look into seeing if the InputInjector API works with the Windows App SDK for some testing work we're investigating for the Windows Community Toolkit. We haven't updated to 1.1 yet either, but will report back with any other info I find on this topic.

I was having a hard time seeing anything with 1.0.3, with my test it almost seems like the content is saying it's loaded but hasn't been rendered yet. 1.1.1 seems a bit better, and I see a touch interaction with my app now; however, it's in the wrong spot.
Some code running on UWP works fine, so not sure if it's a DPI issue, the return of some bounds issue, or the translation of the point to the screen in the pointer injection API.
Happy to share our test project example setup for running this in UWP and WinAppSDK with someone. @kevinguo305 want me to reach out to you?
Would like to understand what's different here, as we want to use this API to validate controls for the Windows Community Toolkit work the same across UWP and WinUI 3. This would be a blocker for us. It may not be the exact same issue as the one reported above, but certainly similar or related.

In WindowsAppSDK 1.3.230502000 this problem still exists.
Occurred on x64 Windows 11 Business, Version 22H2, Build 22621.1702.
Both elevated and non-elevated execution.
_at ABI.Windows.UI.Input.Preview.Injection.IInputInjectorMethods.InjectMouseInput(IObjectReference obj, IEnumerable1 input) at Windows.UI.Input.Preview.Injection.InputInjector.InjectMouseInput(IEnumerable1 input)


How to infer top-k output sequences?

Is there a way to infer let's say top 5 output sequences for each input sequence with corresponding log-likelihoods? I wish it was possible by looking into beam search outputs, but as far as I could tell from visualization, beam search stops whenever it finds first high probability sequence end symbol, so other high probability sequences in beam search output are "not finished", right?

Oops, I interpreted output incorrectly. Yes, one can extract k most likely outputs, I will put code here when it is ready.

@MInner are you thresholding the number of returned top k output predictions based on any probability criteria? I tried running your snippet (working perfectly fine) but I am getting different number of top K predictions for each of the sequences. Could you discuss how can we avoid making graphs so that it might run faster.

@shubhamagarwal92 , yes, I also noticed this behavior. My understanding is that it should extract all paths that match the criteria, and the code that performs actual beam search sometimes produces more then five paths that match this criteria.
The graph extraction code above is written not by me, but by the owner of this repo.
I have occasionally posted a slow version, check out the link above. It also pads the result with zero probability sequences and crops if there were too many of them.

Btw, here is a small thing; using a zip() here considerably improves performance of this piece of code (and of original generate_beam_viz.py too) because, as far as I understand, beam_data is a 1x1 numpy array with a dict inside, so getting an array from a map from a 1x1 numpy array and indexing it on every loop iteration is quite slow. @dennybritz , I wonder if it would be easier if I do a pull request or it is easier for you to change, because it is literally 4 lines of code?

@MInner I noticed you made changes to the original gist you posted. The new code is for a (hard coded) beam width of 5? Could you elaborate more about the changes, would the results have exactly top-k(5) predictions now?

I rewrite the script, now it more like original one. And should work well with linux pipes.
https://gist.github.com/Scitator/f3cce81338705dd7fddce1cbeefa2311

How to run the above script after training to get the top 5 as output?
I tried running the script but see no output.

Hi Vatsal,
Based on this script by @Scitator I have created this gist which writes top k predictions as well as shell script which you have to configure for your use case.
This code aslo creates a copy of source where each line is repeated as many times as number of beam predictions as well as maintaining index for each source line.

Thanks, this is helpfull.
On Tue, Jul 25, 2017 at 1:39 AM, Shubham Agarwal<EMAIL_ADDRESS>wrote:

Hi Vatsal,
Based on this script by @Scitator https://github.com/scitator I have
created this gist
https://gist.github.com/shubhamagarwal92/731f471d5a88a8bdf4d3313b9cfb570b
which writes top k predictions as well as shell script which you have to
configure for your use case.
This code aslo creates a copy of source where each line is repeated as
many times as number of beam predictions as well as maintaining index for
each source line.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/google/seq2seq/issues/158#issuecomment-317669903, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AdBZJU449NuoWLXhrlgJ7UY3zv38y-ktks5sRamwgaJpZM4M8EJu
.


Dragging on tab bar with side-by-side split can select text in an unusual way

VSCode Version: Code 1.15.1 (41abd21afdf7424c89319ee7cb0445cc6f376959, 2017-08-16T18:07:25.676Z)
OS Version: Windows_NT x64 10.0.15063
Extensions:

Extension
Author (truncated)
Version

jslint
ajh
1.2.1

spellcheck
Jul
1.1.4

vscode-icons
rob
7.12.0

vim
vsc
0.9.0

Steps to Reproduce:

Create a vertical split with two documents open side-by-side
Move the cursor to the right of the area in the tab bar where the splits can be dragged to rearrange. While over the area used for rearranging splits, the cursor will change to a hand, and when over the buttons to the right the cursor will change to a pointer. However, there is a 2 pixel wide space in-between where the cursor will be a standard pointer.
Click and drag from this point across to the left sidebar or the status bar.
Text in the editor will become highlighted but in a bright blue colour different to the normal selection colour. If the find results window is open, text in that will be included in the selection.
Copy with the current selection. If the text in the left pane was highlighted, the titles of the tabs on the right pane will also be copied to the clipboard, and the "no results" or "x of x" text in the find results window will also be copied to the clipboard.

Was not expecting to be able to select text from clicking outside the editor window and text was highlighted with a colour inconsistent with the selected theme. Although not visibly highlighted, text that formed part of the UI as opposed to the current buffer was selected and could be copied.

Reproduces without extensions: Yes
edit: added screenshot to better illustrate what happens. Annotations in red

Please try treproducing this with latest vscode insiders
https://code.visualstudio.com/insiders/


Add ability to call a URL every xx minutes as a way of monitoring that Unpackerr is running

I use Uptime Kuma to monitor all aspects of my Media Management solution and would like to monitor Unpackerr with it was well.
One of the methods Uptime Kuma supports is monitoring via a PUSH URL. A simple call of the URL it provides when setting up the monitor is enough to keep it happy as long as the call comes every X minutes.

Happy to answer questions or provide additional details. Right now I'm using a scheduled task that checks for the process and if its running it will ping the URL but it would be awesome to have something integrated if possible.

Steps:

Setup a watch folder.
Setup a web hook.
Put a folder in your watch folder.
Add a tiny zip file to this new folder.
Configure your task scheduler to rename the folder as often as you want unpackerr to hit that web hook.

I ended up creating a powershell script that checks for the process and will miss the Uptime Kuma PUSH URL check in if it's not found but this doesn't test functionality.
I like your idea and will play around with that. Thanks

I use betteruptime.com This is what I do.

I use Notifiarr which the dev added a process monitor apeci for this reason 😜

Hi @hansenc0705 Curious if made this work out?

Yes. That build this morning tested good.

oooo got it! :)

Let me know if we can do anything else!


chore: add coc-volar to monorepo

Since coc-volar is relying on @volar/server and @volar/shared, I hope to reduce the maintenance cost of coc-volar when updating @volar/server and @volar/shared.
I am exploring the maintenance method of adding coc-volar to monorepo by git submodule. When I change the code of @volar/server and @volar/shared, if it affects coc-volar, I can get TS error in volar project, and then Submit a PR or commit to coc-volar in time.
If we use this method, you can choose to update tsconfig to adapt to monorepo (https://github.com/johnsoncodehk/coc-volar/commit/60f4cc2c9909d36a25f30b996460889e6c7fc124), or keep the original tsconfig and let volar monorepo adapt it.
@yaegassy Do you expect this method of cooperation?

I'm sorry for the late reply. Thanks for caring about coc-volar. 🙇
It's not a particular burden at the moment, so it's fine. :)


Full-text of the thesis

Hi, I want to know how or where can I get the full-text of your thesis? I have searched on the Google Scholar, but I still can't find it. I want to read your thesis carefully and learn from it.

Sorry, there is no thesis available.


Create A requirements.txt

Fixes Travis CI

Should be fine. Travis OSX should build successfully once Travis fixes this problem.


Jobs stuck for hours because cloud-init doesn't become ready

This issue started affecting Routinator packaging workflow runs yesterday, and was seen affecting Debian Buster, Bullseye and Bookworm LXC images in the png-test phase.
The underlying cause is unclear, perhaps something wrong with the images themselves. It might be something in the LXC images themselves. Today only Debian Buster appears to be failing in the ploutos-testing suite. Automated weekly test runs of ploutos-testing show that this issue was not happening until recently, and manual test runs succeeded even a couple of days ago.
Could this be related? From: https://linuxcontainers.org/lxd/

LXD is now under Canonical
The LXD project is no longer part of the LinuxContainers project but can now be found directly on Canonical's websites.
Website: https://ubuntu.com/lxd
Github: https://github.com/canonical/lxd
Forum: https://discourse.ubuntu.com/c/lxd/
Documentation: https://documentation.ubuntu.com/lxd/
Project announcement
Date: 4th of July 2023
Hello,
Canonical, the creator and main contributor of the LXD project has decided that after over 8 years as part of the Linux Containers community, the project would now be better served directly under Canonical’s own set of projects.
While the team behind Linux Containers regrets that decision and will be missing LXD as one of its projects, it does respect Canonical’s decision and is now in the process of moving the project over.
Concretely, the expected changes are:
https://github.com/lxc/lxd will now become https://github.com/canonical/lxd
https://linuxcontainers.org/lxd will disappear and be replaced with a mention directing users to https://ubuntu.com/lxd
The LXD YouTube channel will be handed over to the Canonical team
The LXD section on the LinuxContainers community forum will slowly be sunset in favor of the Ubuntu Discourse forum > run by Canonical
The LXD CI infrastructure will be moved under Canonical’s care
Image building for Linux Containers will no longer be relying on systems provided by Canonical, limiting image building to x86_64 and aarch64.
What will not be changing:
The rest of the Linux Containers projects remain unaffected
The image server, currently used by both LXC and LXD will keep operating as normal, though with less architectures available as mentioned above
Those changes will likely all happen pretty rapidly as everything is relatively tightly integrated together. As a result, you > may notice a bit of bumpiness while Canonical sets up the replacement infrastructure.
Sincerely,
The Linux Containers team
Christian Brauner
Serge Hallyn
Stéphane Graber

At any rate Ploutos should give up after a period, not retry forever.

See also #77.


More SE-0054 fixes for Swift version 5.

Fix a couple more places where we should not allow IUOs and add
additional tests for these as well as parallel tests for the long
spelling ImplicitlyUnwrappedOptional.

@swift-ci Please smoke test and merge


Listener mode, IP address of connected host is not reported

I would like to see IP address of client that connected to the scanner in listening mode. IP address is missing in the report:
user@ubuntu:~$ ./Terrapin_Scanner_Linux -listen <IP_ADDRESS>:34567
Listening for incoming client connection on <IP_ADDRESS>:34567
================================================================================
==================================== Report ====================================
================================================================================

Remote Banner: SSH-2.0-OpenSSH_9.5

ChaCha20-Poly1305 support:   true
CBC-EtM support:             false

Strict key exchange support: false

The scanned peer is VULNERABLE to Terrapin.

Note: This tool is provided as is, with no warranty whatsoever. It determines
      the vulnerability of a peer by checking the supported algorithms and
      support for strict key exchange. It may falsely claim a peer to be
      vulnerable if the vendor supports countermeasures other than strict key
      exchange.

For more details visit our website available at https://terrapin-attack.com

IP address is reported when scanner is reporting result in JSON format, it means that scanner knows IP address and can report it in any  mode:
user@ubuntu:~$ ./Terrapin_Scanner_Linux -json -listen <IP_ADDRESS>:34567
Listening for incoming client connection on <IP_ADDRESS>:34567
{
    "RemoteAddr": "<IP_ADDRESS>:44706",
    "IsServer": false,
    "Banner": "SSH-2.0-OpenSSH_9.5",
    "SupportsChaCha20": true,
    "SupportsCbcEtm": false,
    "SupportsStrictKex": false,
    "Vulnerable": true
}

Version:
user@ubuntu:~$ ./Terrapin_Scanner_Linux -version
Terrapin Vulnerability Scanner v1.1.3

I forgot about the text summary when implementing #25. I will extend the report next week.


Prepare for next release

regex crate wasn't updated because it pulls in a new version of some dependency which not all of our other deps support. I don't wan't to compile some dependencies twice, so let's hold regex at an older version for now.

coverage: 59.664%. remained the same when pulling 1cdea9258319aaaac56e49d2d68ad4c9f1243403 on feature/prepare-next-release into 6335e994b9e727e3228841e230b3675adab11501 on master.


When batching enabled logs don't get send without a timer

I setup the hook as shown in example, but it won't send log message to Datadog without a timer.
        apiKey := "APIKEY"
        service := "SERVICE"
        host := "HOST"
        ClientBatchingEnabled := true

        options := &datadog.Options{
		        ApiKey:                &apiKey,
		        Service:               &service,
		        Host:                  &host,
		        ClientBatchingEnabled: &ClientBatchingEnabled,
	        }
	hook, err := datadog.New(options)
	if err != nil {
		panic(err.Error())
	}

	logger := logrus.New()
	logger.AddHook(hook)

	// This ensures that the logger exits gracefully and all buffered logs are sent before closing down
	logrus.DeferExitHandler(hook.Close)

	logger.Warn("Test message with a timer 06 sec")

However, I would expect logrus.DeferExitHandler(hook.Close) call to send all buffered logs before closing down, as described in the  comment above. I can make app hang for 6 seconds to let logger finish its job but I don't think it is a good solution. I am wondering how can I solve this issue?

Hello, thanks for raising an Issue!
The logrus.DeferExitHandler() method will run the funcs passed to it when the logrus.Logger.Exit() method is called.
As such you will need to defer running that in main.go
// ...

func main() {
  logger := GetLogger(*options) // shortened for brevity
  defer logger.Exit(0)

  // ...
}

I think the docs don't make this clear so I will update them.
Do also be aware that the method Exit on the logrus logger will also exit the app, with the exit code provided, 0 in my example above. And also be aware that deferred funcs are run from a stack, with the first deferred func being run last, so as this will exit the app, be sure that it is the very first deferred func defined, or else anything deferred before it will not be run!
Cheers
Andy
PS It would be interesting to come up with a solution that doesn't require deferring the call to logger.Exit() but I'm swamped right now, I'll have a look at some point, but I'd be happy to check out a pull request if you want to have a go! 👍


Make -library-level a driver argument and pass it to the frontend

rdar://82458987

@swift-ci Please test

@artemcm Did I forget something on how to pass down a flag? I'm not aware of the good practices here.


Pyramids and fan artists

Adds the pyramid trader and a trait representing fan artists in Sam's server

Added crazed elephant


Ubuntu 18.04.4 LTS: can't install aspnetcore-* : Hash Sum mismatch

Hi, i can not install aspnetcore-runtime-3.1 or aspnetcore-sdk-3.1:
 sudo apt-get install aspnetcore-runtime-3.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  dotnet-runtime-3.1
The following NEW packages will be installed:
  aspnetcore-runtime-3.1 dotnet-runtime-3.1
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 27.5 MB of archives.
After this operation, 90.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] y

I recieve the following error messages:
Get:1 https://packages.microsoft.com/ubuntu/18.04/prod bionic/main amd64 dotnet-runtime-3.1 amd64 3.1.5-1 [21.8 MB]
Err:1 https://packages.microsoft.com/ubuntu/18.04/prod bionic/main amd64 dotnet-runtime-3.1 amd64 3.1.5-1
  Hash Sum mismatch
  Hashes of expected file:
   - SHA512:43519690d175f130774a2a65ef8c33c37493dce4b47497a9b8577335da36be2990f200979af9338cf01905c5075fd53f9c3d64e1d21a867830c8df02c7eafcc7
   - SHA256:bbf2694874198386228b90ed189770f0f256bc2149732af4f31df060c2f6f762
   - SHA1:6d2cc9feb7fb305800f318c324c46725dce8533f [weak]
   - MD5Sum:a2d3a611f6e113090a8a83df186fd9d0 [weak]
   - Filesize:21773970 [weak]
  Hashes of received file:
   - SHA512:0d1363d24cfa605167f28c4b9e9db208bace57b021f1c8c1df6e8f6e88a81464d44f61e55066db035c2eb02fd9373385a9360f7afd5d7538c7439ea77d4fd9a3
   - SHA256:7e52964264e18b018aa4e50bc30ec66464cca3aba233bd1e76f3ab177e98b1df
   - SHA1:7b1420dfca8a48d13d621d82e4c6d2da64fd4234 [weak]
   - MD5Sum:101f7bc23d4450f762cbe213e8d51a24 [weak]
   - Filesize:21773970 [weak]
  Last modification reported: Tue, 09 Jun 2020 16:49:48 +0000
Get:2 https://packages.microsoft.com/ubuntu/18.04/prod bionic/main amd64 aspnetcore-runtime-3.1 amd64 3.1.5-1 [5,760 kB]
Err:2 https://packages.microsoft.com/ubuntu/18.04/prod bionic/main amd64 aspnetcore-runtime-3.1 amd64 3.1.5-1
  Hash Sum mismatch
  Hashes of expected file:
   - SHA512:694a2f2c00b60822e33c963457961416b0ebd9e9b3866fc9a3ce4965de58937c3867cc39a322836cbcfa0b9f79376d2819f9eb72e38e1eda5dca2797a5ae29ca
   - SHA256:e5762c7d694afeafbfa292c97db318306e26fb20a68252e07934511ab53d6d4e
   - SHA1:5b351099cb4ff8c13bb617db7509e211bc787077 [weak]
   - MD5Sum:d513426c261b8cf7b36f7d7d02812390 [weak]
   - Filesize:5760232 [weak]
  Hashes of received file:
   - SHA512:6d303f6a7329e134010d7b5fb5f68b918774d0c9d7e1b2fa4c72ad9147605e16f0f7ed4ed7955550560a88c064c93c7658f5cd304288d3062a507dfb1182ec92
   - SHA256:8c9df1c3471f08b396c4727e05286636bd2b892ccf9bcc7504757897ef319209
   - SHA1:d2e237d245bbf0bdda36be5ebcdd665324dacc5f [weak]
   - MD5Sum:c1c52c079db8bc123bcc6d98fd168dbb [weak]
   - Filesize:5760232 [weak]
  Last modification reported: Tue, 09 Jun 2020 16:48:45 +0000
Fetched 27.5 MB in 2s (13.5 MB/s)
E: Failed to fetch https://packages.microsoft.com/ubuntu/18.04/prod/pool/main/d/dotnet-runtime-3.1/dotnet-runtime-3.1.5-x64.deb  Hash Sum mismatch
   Hashes of expected file:
    - SHA512:43519690d175f130774a2a65ef8c33c37493dce4b47497a9b8577335da36be2990f200979af9338cf01905c5075fd53f9c3d64e1d21a867830c8df02c7eafcc7
    - SHA256:bbf2694874198386228b90ed189770f0f256bc2149732af4f31df060c2f6f762
    - SHA1:6d2cc9feb7fb305800f318c324c46725dce8533f [weak]
    - MD5Sum:a2d3a611f6e113090a8a83df186fd9d0 [weak]
    - Filesize:21773970 [weak]
   Hashes of received file:
    - SHA512:0d1363d24cfa605167f28c4b9e9db208bace57b021f1c8c1df6e8f6e88a81464d44f61e55066db035c2eb02fd9373385a9360f7afd5d7538c7439ea77d4fd9a3
    - SHA256:7e52964264e18b018aa4e50bc30ec66464cca3aba233bd1e76f3ab177e98b1df
    - SHA1:7b1420dfca8a48d13d621d82e4c6d2da64fd4234 [weak]
    - MD5Sum:101f7bc23d4450f762cbe213e8d51a24 [weak]
    - Filesize:21773970 [weak]
   Last modification reported: Tue, 09 Jun 2020 16:49:48 +0000
E: Failed to fetch https://packages.microsoft.com/ubuntu/18.04/prod/pool/main/a/aspnetcore-runtime-3.1/aspnetcore-runtime-3.1.5-x64.deb  Hash Sum mismatch
   Hashes of expected file:
    - SHA512:694a2f2c00b60822e33c963457961416b0ebd9e9b3866fc9a3ce4965de58937c3867cc39a322836cbcfa0b9f79376d2819f9eb72e38e1eda5dca2797a5ae29ca
    - SHA256:e5762c7d694afeafbfa292c97db318306e26fb20a68252e07934511ab53d6d4e
    - SHA1:5b351099cb4ff8c13bb617db7509e211bc787077 [weak]
    - MD5Sum:d513426c261b8cf7b36f7d7d02812390 [weak]
    - Filesize:5760232 [weak]
   Hashes of received file:
    - SHA512:6d303f6a7329e134010d7b5fb5f68b918774d0c9d7e1b2fa4c72ad9147605e16f0f7ed4ed7955550560a88c064c93c7658f5cd304288d3062a507dfb1182ec92
    - SHA256:8c9df1c3471f08b396c4727e05286636bd2b892ccf9bcc7504757897ef319209
    - SHA1:d2e237d245bbf0bdda36be5ebcdd665324dacc5f [weak]
    - MD5Sum:c1c52c079db8bc123bcc6d98fd168dbb [weak]
    - Filesize:5760232 [weak]
   Last modification reported: Tue, 09 Jun 2020 16:48:45 +0000
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

@kiamehr , can you run the following command and share the output? I could not reproduce this issue with my local server mirror. The command will uncover which mirror has the problem.
wget https://packages.microsoft.com/ubuntu/18.04/prod/pool/main/d/dotnet-runtime-3.1/dotnet-runtime-3.1.5-x64.deb
Are you still hitting this issue?

Thank you @NikolaMilosavljevic
I ran the command
wget https://packages.microsoft.com/ubuntu/18.04/prod/pool/main/d/dotnet-runtime-3.1/dotnet-runtime-3.1.5-x64.deb
This is the output :

dotnet-runtime-3.1.5-x64.zip
Yes i still get that error message
sudo apt-get install  dotnet-runtime-3.1
[sudo] password for administrator:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  dotnet-runtime-3.1
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 21.8 MB of archives.
After this operation, 72.8 MB of additional disk space will be used.
Get:1 https://packages.microsoft.com/ubuntu/18.04/prod bionic/main amd64 dotnet-runtime-3.1 amd64 3.1.5-1 [21.8 MB]
Get:1 https://packages.microsoft.com/ubuntu/18.04/prod bionic/main amd64 dotnet-runtime-3.1 amd64 3.1.5-1 [21.8 MB]
Err:1 https://packages.microsoft.com/ubuntu/18.04/prod bionic/main amd64 dotnet-runtime-3.1 amd64 3.1.5-1
  Hash Sum mismatch
  Hashes of expected file:
   - SHA512:43519690d175f130774a2a65ef8c33c37493dce4b47497a9b8577335da36be2990f200979af9338cf01905c5075fd53f9c3d64e1d21a867830c8df02c7eafcc7
   - SHA256:bbf2694874198386228b90ed189770f0f256bc2149732af4f31df060c2f6f762
   - SHA1:6d2cc9feb7fb305800f318c324c46725dce8533f [weak]
   - MD5Sum:a2d3a611f6e113090a8a83df186fd9d0 [weak]
   - Filesize:21773970 [weak]
  Hashes of received file:
   - SHA512:ddfaa4cebc50b7399887ae4a326905f520e98b9b326b51076e433d5412864be99903093ff41512b8992ebf4af635ff8d227b98768ed577da9500ead96238ee9b
   - SHA256:9313f624be93dc7f5993ce70b702aea57e9dcbeab56193a34a9d2d75bc540346
   - SHA1:c94aed88f108885b15c4f1dc18c2673c5a6d68ff [weak]
   - MD5Sum:55d265e6d830d88cd67e4df813c1b158 [weak]
   - Filesize:21773970 [weak]
  Last modification reported: Tue, 09 Jun 2020 16:49:48 +0000
Fetched 6,226 kB in 2s (3,223 kB/s)
E: Failed to fetch https://packages.microsoft.com/ubuntu/18.04/prod/pool/main/d/dotnet-runtime-3.1/dotnet-runtime-3.1.5-x64.deb  Hash Sum mismatch
   Hashes of expected file:
    - SHA512:43519690d175f130774a2a65ef8c33c37493dce4b47497a9b8577335da36be2990f200979af9338cf01905c5075fd53f9c3d64e1d21a867830c8df02c7eafcc7
    - SHA256:bbf2694874198386228b90ed189770f0f256bc2149732af4f31df060c2f6f762
    - SHA1:6d2cc9feb7fb305800f318c324c46725dce8533f [weak]
    - MD5Sum:a2d3a611f6e113090a8a83df186fd9d0 [weak]
    - Filesize:21773970 [weak]
   Hashes of received file:
    - SHA512:ddfaa4cebc50b7399887ae4a326905f520e98b9b326b51076e433d5412864be99903093ff41512b8992ebf4af635ff8d227b98768ed577da9500ead96238ee9b
    - SHA256:9313f624be93dc7f5993ce70b702aea57e9dcbeab56193a34a9d2d75bc540346
    - SHA1:c94aed88f108885b15c4f1dc18c2673c5a6d68ff [weak]
    - MD5Sum:55d265e6d830d88cd67e4df813c1b158 [weak]
    - Filesize:21773970 [weak]
   Last modification reported: Tue, 09 Jun 2020 16:49:48 +0000
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

@kiamehr thank you for sharing the file. Can you also share the console output of the command, it would tell us the IP address - here's that I get:
root@31516215200b:/src/test# wget https://packages.microsoft.com/ubuntu/18.04/prod/pool/main/d/dotnet-runtime-3.1/dotnet-runtime-3.1.5-x64.deb
--2020-06-23 20:16:56--  https://packages.microsoft.com/ubuntu/18.04/prod/pool/main/d/dotnet-runtime-3.1/dotnet-runtime-3.1.5-x64.deb
Resolving packages.microsoft.com (packages.microsoft.com)... <IP_ADDRESS>, <IP_ADDRESS>
Connecting to packages.microsoft.com (packages.microsoft.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 21773970 (21M) [application/octet-stream]
Saving to: 'dotnet-runtime-3.1.5-x64.deb'

@NikolaMilosavljevic   sure
wget https://packages.microsoft.com/ubuntu/18.04/prod/pool/main/d/dotnet-runtime-3.1/dotnet-runtime-3.1.5-x64.deb
--2020-06-23 21:51:23--  https://packages.microsoft.com/ubuntu/18.04/prod/pool/main/d/dotnet-runtime-3.1/dotnet-runtime-3.1.5-x64.deb
Resolving packages.microsoft.com (packages.microsoft.com)... <IP_ADDRESS>
Connecting to packages.microsoft.com (packages.microsoft.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 21773970 (21M) [application/octet-stream]
Saving to: ‘dotnet-runtime-3.1.5-x64.deb.1’

dotnet-runtime-3.1.5-x64.deb.1          100%[=============================================================================>]  20.76M  24.2MB/s    in 0.9s

2020-06-23 21:51:24 (24.2 MB/s) - ‘dotnet-runtime-3.1.5-x64.deb.1’ saved [21773970/21773970]

I am also receiving this error from here https://packages.microsoft.com/config/debian/10/packages-microsoft-prod.deb
`Err:6
https://packages.microsoft.com/debian/10/prod
buster/main amd64 Packages
File has unexpected size (43969 != 43653). Mirror sync in progress? [IP: <IP_ADDRESS> 443]
Hashes of expected file:

Filesize:43653 [weak]
SHA512:770b9079119523e27b68efe2742e196564815069321388ad9b1ce270da25b9c7f432fb57b210a6af4788d4460c1f80877c2a34de3a89e3d1584d74ed16c5f7c4
SHA256:cd6baf1fba149709cb0a9904cb455666f295e1ceb1cef6b92dc3ba138b90a8f3
SHA1:3cb42e61744f3cdb436f96e65d9669aa90623c88 [weak]
MD5Sum:4864e88c059a44fe020d60d1e2a80872 [weak]
Release file created at: Wed, 17 Jun 2020 00:12:12 +0000`

@dholmesreed, you might be hitting the other issue: https://github.com/dotnet/core/issues/4864
@kiamehr, the team has checked every mirror and there are no issues with the file on any of them. Your machine appears to be always downloading from the same mirror, but getting a different, corrupted, file every time. Have you tried doing the test from a different machine?

Dear @NikolaMilosavljevic  Using another machine did not solve the problem.
It took me some time to find the right solution.  The problem was caused by installing ubuntu 18.04 guest under virtual box 6.1 with windows 10 as host.
I had to disable hyper-V by this command
bcdedit /set hypervisorlaunchtype off
After Reboot the host i could easily install the dotnet packages.
Thanks


Remote control

Purpose
This is used to add any configuration and core changes required to remote control feature.
Goals
Remote control feature provide following capabilities.

Create remote session
Send remote operations as message
Receive remote responses from device real time

Approach
This implementation use web sockets to communicate with device and browser/client.
User stories
User can create remote session and send real time operations to device.
Release note
Device Remote Control

Hi Waruna,
We are in the process of merging this PR. Can you kindly resolve the conflicts and update the PR.