Run protocol tests with "proper" blocks generated by ledger layer generators

The consensus layer protocols run in a simplified ledger. This is convenient and decouples the development of the consensus layer from the development of the ledger layer. However, it would be good to run the entire suite of tests that we (will) have also with the "real" ledger. To do this, we would then need to leverage the generators from the ledger layer to produce blocks. Some details might need to be worked out here, e.g. separating out the generator of the block contents from the block header, which is consensus protocol specific -- ideally we should be able to run the ledger blocks with any protocol.

Edsko de Vries   [Today at 10:46 AM]
@Nicholas Clarke @Damian N. @marko.dimjasevic, does https://github.com/input-output-hk/ouroboros-network/issues/238 make sense to you guys? if so, Marko, will I assign this to you?
edsko
#238 Run protocol tests with "proper" blocks generated by ledger layer generators
The consensus layer protocols run in a simplified ledger. This is convenient and decouples the development of the consensus layer from the development of the ledger layer. However, it would be good to run the entire suite of tests that we (will) have also with the "real" ledger. To do this, we would then need to leverage the generators from the ledger layer to produce blocks. Some details might need to be worked out here, e.g. separating out the generator of the block contents from the block header, which is consensus protocol specific -- ideally we should be able to run the ledger blocks with any protocol.
Labels
consensus
Milestone
Consensus_IntegrateLedger
input-output-hk/ouroboros-networkToday at 10:46 AMAdded by GitHub
33 replies
Damian Nadales   [15 minutes ago]
It does. Do you have an idea of the kind of generators we will need? This is: generate one block at the time, streaming generators, or generators of traces (which contain sequences of blocks among other things, such as intermediate abstract states).
Damian Nadales   [14 minutes ago]
At the moment we have generators for blocks, which require an abstract environment and an abstract state. And generators for traces, which require a generator for an initial environment
Damian Nadales   [14 minutes ago]
(and I'm really looking forward to this integration :slightly_smiling_face: )
Edsko de Vries   [14 minutes ago]
I think the first one: block at a time. After all, these will be running in a network of nodes, which will be leader from time to time, as based on the underlying protocol. So a node would have to wait until it is its own turn, then look at the state of the system as it is at that point, and then produce the next block.
Damian Nadales   [13 minutes ago]
I though so. So I guess the abstract environment and state will have to be kept somewhere (and updated after generating the next block)
Edsko de Vries   [12 minutes ago]
there is no abstraction function?
Damian Nadales   [12 minutes ago]
abstraction function from?
Edsko de Vries   [11 minutes ago]
the nodes ideally run independently, perhaps even in separate processes. they get real blocks from other nodes. ideally they should be able to produce the next block from that -- but if I understand you correctly, this would involve translating from the "real" state to the abstract state?
Damian Nadales   [9 minutes ago]
that would be my understanding, which is quite limited anyway, so maybe @Nicholas Clarke can clarify this better. However at the moment, in order to generate a block we need the abstract environment and state (otherwise we have no chance of generating a valid abstract block)
Damian Nadales   [9 minutes ago]
So if my understanding is correct #238 would require an abstraction function
nclarke   [8 minutes ago]
But we can update the state with the results of a "real" block from another node, right?
Edsko de Vries   [7 minutes ago]
you mean: the abstract state can be updated using a concrete block?
Damian Nadales   [7 minutes ago]
(I have the same question Nick :D)
nclarke   [6 minutes ago]
Well, I guess this depends on what you mean by "concrete block"
nclarke   [6 minutes ago]
So far we have been discussing hooking in the abstract rules, not via the interpreter
nclarke   [6 minutes ago]
If we interpret into "real" blocks first, then sure, this won't work
Duncan Coutts   [5 minutes ago]
I thought you were instantiating the consensus with the executable spec, so the "abstract" and "real"/"concrete" types are the same.
nclarke   [5 minutes ago]
What Duncan said :slightly_smiling_face:
Edsko de Vries   [5 minutes ago]
so then what is this "interpreter" you speak of?
nclarke   [5 minutes ago]
That would be the thing turning the abstract blocks into the "real" real blocks
nclarke   [4 minutes ago]
E.g. the ones we'll be using in the real system
Edsko de Vries   [4 minutes ago]
So abstract = real but real real /= real ?
Slackbot   [4 minutes ago]
/me is not supported in threads. Sorry!
Edsko de Vries   [4 minutes ago]
Edsko is confused
Damian Nadales   [4 minutes ago]
I think we're talking about different reals :smile:
nclarke   [4 minutes ago]
As always, we need better names
nclarke   [3 minutes ago]
By single "real" I was thinking of "a block which the consensus layer gives us, rather than we generate". But this would still, structure wise, be an abstract block
Edsko de Vries   [2 minutes ago]
Ok. Well, I guess we can work out the details when we actually start working on this integration and see where we get stuck. With a big of luck we can use the "real" blocks even if we cannot use the "real real" blocks, and then use the "real" ledger state for the node's internal state, even if that might be idfferent to a real real internal state (would it be?)
nclarke   [2 minutes ago]
My head hurts
Duncan Coutts   [1 minute ago]
The ledger stuff is set up for abstract (executable spec) and concrete (the real blockchain impl etc). And it has elaboration from the abstract to the concrete (misleadingly called the interpreter). And it has abstraction to go from concrete to abstract.
But for this exercise we can ignore everything other than the abstract (exec spec). We're only instantiating the consensus with the executable spec and its types.
Nothing is real! :grin: It's all abstract.
Edsko de Vries   [1 minute ago]
ok. let me just dump this thread into the ticket and then the poor sod who needs to implement it (@marko.dimjasevic?) can deal with this headache :smile:
Duncan Coutts   [1 minute ago]
So we just need to be able to serialise the types of blocks used in the executable spec and then we can send them over the wire etc. (edited)
Edsko de Vries   [< 1 minute ago]
@duncan If we keep stuff in memory not even a need to serialize (we use the identity codec for that)
Duncan Coutts   [< 1 minute ago]
ok fine, yes it's only if you want to use IPC

Note on time estimate: Allowing for a bit of time since it's not entirely clear yet how easily the generators from the ledger layer will fit in. It might be less.

Closing this in favour of #250, since we don't actually integrate with the executable spec anymore, but only with the "real" implementation (@nc6 , correct me if that's not correct).


Wiki > Enhancement in documentation

Documentation Improvements
Issue with Vite Project Setup:
o When creating a new project using Vite, installing the wai package, and starting to use the component, I encountered an error.
o To resolve this error, an additional entry needs to be added in main.ts.
o Suggestion: This requirement should be clearly mentioned in the documentation or the entry should be added automatically during package installation to ensure smooth usage of our elements and components without customer struggle.
Please connect to @hemalatagaikwad for requirement understanding and before starting work get approval from @kaushikgokhale

Today clone the project
Watched the documentation video


Add contents_formatted to InMemoryTerm

This method is almost identical to contents, but it includes VT-100 codes.

Why do you need this?

For testing. This allows seeing the colored output directly in the tests.

I just pushed an updated version, which adds a reset code at the end of each line.
This is necessary because rows_formatted returns each line in an "undefined state".
Yes, there is some code duplication, the problem is, that contents returns a String, while contents_formatted returns a Vec. And this starts basically with the first call, since rows returns a String and rows_formatted returns a Vec.
One way would be for the contents method to turn the strings into vecs, process them and at the end turn the result vec back into a string.

Okay, thanks!


can add

i need show custom image

I have used RTLable throughout project, now the requirement have been change, to use image with HTML tags, so can i get the help of contributors of this library for the same..?


Rename find_namepaces_ns to find_namespace_packages

Summary of changes
Rename find_namepaces_ns to find_namespace_packages
Closes #1421
Pull Request Checklist

[x] Changes have tests
[x] News fragment added in changelog.d. See documentation for details

Please note that this branch is based on #1420, so the latter must be merged first.

As for the changelog change entry, do we keep the one for #1312?

@silkentrance I think we can just update the 1312 one so that it says find_namespace_packages instead of find_packages_ns. Since 1312 hasn't been released yet it doesn't make much sense to include a changelog that says, "We were going to do X but instead we did Y".

The build for Python3.4 is failing due to missing dependencies?!

I can't get this failure to happen again locally, but restarting it didn't fix it. I cleared the PR cache and nothing.
I think if you revert the changes that import things from setuptools.tests it should fix it?

@pganssle Using relative imports did the trick. Thanks for the advise.

Thanks again for your hard work on this @silkentrance.


When developing Flutter android apps and running app on android device Scrcpy forcefully closed

[x] I have read the FAQ.
[x] I have searched in existing issues.

Environment

OS: Debian KALI Linux
scrcpy version: 1.16
installation method: manual build
device model: Redmi 5A
Android version: 8.1.0

Describe the bug
When developing Flutter android apps and running app on android device Scrcpy didn't start, with the below error, and also It kills my Android run Process. (Maybe the ADB daemon is busy)
On errors, output of the console:
INFO: scrcpy 1.16 <https://github.com/Genymobile/scrcpy>
adb server version (41) doesn't match this client (39); killing...
ADB server didn't ACK
Full server startup log: /tmp/adb.1000.log
Server had pid: 396170
--- adb starting (pid 396170) ---
adb I 10-03 11:33:39<PHONE_NUMBER>70 main.cpp:57] Android Debug Bridge version 1.0.39
adb I 10-03 11:33:39<PHONE_NUMBER>70 main.cpp:57] Version 1:8.1.0+r23-7
adb I 10-03 11:33:39<PHONE_NUMBER>70 main.cpp:57] Installed as /usr/lib/android-sdk/platform-tools/adb
adb I 10-03 11:33:39<PHONE_NUMBER>70 main.cpp:57]
adb I 10-03 11:33:39<PHONE_NUMBER>70 adb_auth_host.cpp:416] adb_auth_init...
adb I 10-03 11:33:39<PHONE_NUMBER>70 adb_auth_host.cpp:174] read_key_file '/home/elliot/.android/adbkey'...
adb I 10-03 11:33:39<PHONE_NUMBER>70 adb_auth_host.cpp:391] adb_auth_inotify_init...
adb server killed by remote request
--- adb starting (pid 396177) ---
adb I 10-03 11:33:39<PHONE_NUMBER>77 main.cpp:62] Android Debug Bridge version 1.0.41
adb I 10-03 11:33:39<PHONE_NUMBER>77 main.cpp:62] Version 30.0.4-6686687
adb I 10-03 11:33:39<PHONE_NUMBER>77 main.cpp:62] Installed as /home/elliot/Android/Sdk/platform-tools/adb
adb I 10-03 11:33:39<PHONE_NUMBER>77 main.cpp:62]
adb I 10-03 11:33:39<PHONE_NUMBER>77 auth.cpp:417] adb_auth_init...
adb I 10-03 11:33:39<PHONE_NUMBER>77 auth.cpp:152] loaded new key from '/home/elliot/.android/adbkey' with fingerprint A83A3A7BE022191A3A475CB165681BB66A9A7E98844AFF4FDBF25F53AF65A3E0
adb I 10-03 11:33:39<PHONE_NUMBER>77 auth.cpp:392] adb_auth_inotify_init...
adb I 10-03 11:33:39<PHONE_NUMBER>83 transport.cpp:325] 2b85b8d27ce5: read thread spawning
adb I 10-03 11:33:39<PHONE_NUMBER>84 transport.cpp:297] 2b85b8d27ce5: write thread spawning
adb I 10-03 11:33:39<PHONE_NUMBER>77 transport.cpp:1527] fetching keys for transport 2b85b8d27ce5
adb I 10-03 11:33:39<PHONE_NUMBER>77 auth.cpp:469] Calling send_auth_response
adb I 10-03 11:33:39<PHONE_NUMBER>77 auth.cpp:436] Calling send_auth_publickey
adb I 10-03 11:33:39<PHONE_NUMBER>77 auth.cpp:436] Calling send_auth_publickey

* failed to start daemon
adb: error: failed to get feature set: cannot connect to daemon
ERROR: "adb push" returned with value 1

https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#conflicts-between-adb-versions


Garthdb/s2/missing tokens

Description
Returned some tokens that were removed by accident in the previous merging.
Token Diff
Tokens added (51):

checkbox-control-size-extra-large
checkbox-control-size-large
checkbox-control-size-medium
checkbox-control-size-small
checkbox-top-to-control-extra-large
checkbox-top-to-control-large
checkbox-top-to-control-medium
checkbox-top-to-control-small
color-area-border-rounding
corner-radius-100
corner-radius-200
corner-radius-75
drop-shadow-blur
drop-shadow-x
drop-shadow-y
radio-button-control-size-extra-large
radio-button-control-size-large
radio-button-control-size-medium
radio-button-control-size-small
radio-button-top-to-control-extra-large
radio-button-top-to-control-large
radio-button-top-to-control-medium
radio-button-top-to-control-small
slider-bottom-to-handle-extra-large
slider-bottom-to-handle-large
slider-bottom-to-handle-medium
slider-bottom-to-handle-small
slider-control-height-extra-large
slider-control-height-large
slider-control-height-medium
slider-control-height-small
slider-handle-border-width-down-extra-large
slider-handle-border-width-down-large
slider-handle-border-width-down-medium
slider-handle-border-width-down-small
slider-handle-size-extra-large
slider-handle-size-large
slider-handle-size-medium
slider-handle-size-small
switch-control-height-extra-large
switch-control-height-large
switch-control-height-medium
switch-control-height-small
switch-control-width-extra-large
switch-control-width-large
switch-control-width-medium
switch-control-width-small
switch-top-to-control-extra-large
switch-top-to-control-large
switch-top-to-control-medium
switch-top-to-control-small

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.


zip files are available in release assets, changed old reference.

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

@cynthn: I'm sorry - only the author of this article, @MsGabsta, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

@SyntaxC4: I'm sorry - only the author of this article, @MsGabsta, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

#sign-off


Specify LED compatibility and grid definition

Loving this project and am dying to try it out. Great work!
There are two major areas which would greatly help in understanding how to set up this project:

What type of LEDs are supported? I'm assuming WS2812 as those are fairly common, though without this specified I'm not sure what LEDs anypixel.js can talk to.

How is the LED grid defined, or can it even be defined? There's many ways to set up the LEDs -- i.e in linear or nonlinear strips, individual LEDs connected in columns or rows... knowing how to specify this is essential for setting up the pixel grid.

Sorry for the less than authoritative response I am going to provide you.
I believe they are using standard RGB LEDs controlled with 12bit PWM, and using a fancy method to scale the 8bit source to 12bit range. Chips like the WS2812 do this magic for you and can be chained together. They are two completely different hardware architectures.
I do however plan to adapt anypixel to a typical Arduino/WS2812 setup in the near future, and will certainly contribute that code if suitable.
I will also be exploring the second part of your question in my work, but don't have any answers yet, but suspect it will require custom code to transform the canvas output to your non-linear display.

I'd be surprised if they're standard RGB LEDs -- based on the demos they seem to be some type of addressable. "Standard arcade button with LEDs" isn't much to go on so really could be anything.
Would love to see how this would work with Arduino! Will keep an eye out for it.

Well take a look at the schematics. Each light is connected up to three PWM outputs. They do have a degree of addressability, but using larger controllers which are responsible for what seems to be 5 lights per PWM module and two PWM modules.
https://github.com/googlecreativelab/anypixel/blob/master/hardware/pcb/display/display-r2-schematic.pdf?raw=true

How/where do I get the code from the website header to re-use? Is that
acceptable?
I absolutely love the header and want to customize it for a website.
Thanks!
On Tue, Jun 7, 2016 at 7:58 AM, Brett<EMAIL_ADDRESS>wrote:

Well take a look at the schematics. Each light is connected up to three
PWM outputs. They do have a degree of addressability, but using larger
controllers which are responsible for what seems to be 5 lights per PWM
module and two PWM modules.
https://github.com/googlecreativelab/anypixel/blob/master/hardware/pcb/display/display-r2-schematic.pdf?raw=true
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/googlecreativelab/anypixel/issues/7#issuecomment-224258867,
or mute the thread
https://github.com/notifications/unsubscribe/AQ7hmvIa8lu8k7HvJi5GB7phLh9zwC2Kks5qJVzsgaJpZM4IvEXg
.

--
*Alexandra Bowen *
w: http://alexandrabowen.weebly.com/ http://alexandrabowen.weebly.com/
May This Message Find You In Health And Happiness
[image: Facebook] https://www.facebook.com/alexandra.a.brower [image:
Twitter] https://twitter.com/hawaiiaspenalex [image: LinkedIn]
http://www.linkedin.com/in/alexandrabrower/
To weave together the landscapes of man and nature for the benefit of both

@aabowen please file a separate issue for this and I'd be happy to help!

Overall, our documentation is installation specific. The parts and methodologies employed were what we found to work. So unfortunately, we cannot speak to compatibility with other LEDs or controllers.
The LEDs and controllers used in the installation are documented in the BOM.
The buttonwall is numbered from top left to bottom right. In the installation, the LED grid is defined by the PCBs as documented in / pcb.
Also, bre77 - keep up the great work!

From an engineering standpoint, really any LED should work well enough. It might be worth checking the datasheet for the TLC59401 to see what would work best, as we can't speak to any other specific type of LED beyond the ones we used in the installation.

Hi, did anybody did the work already to do this with an arduino or pi? Would love to do this but without making all these pcbs. I would use some 12min WS2801 like this https://learn.adafruit.com/12mm-led-pixels/overview

Also I did not get how the button press works. Normally there is like a small swith on the bottom of these Buttons. How do you manage that?

@ARKopp This morning we released a simple starter example with AnyPixel running on a first gen Raspberry Pi controlling a single neopixel button. Check it out at /rpi-example.

Sorry for the less than authoritative response I am going to provide you.
I believe they are using standard RGB LEDs controlled with 12bit PWM, and using a fancy method to scale the 8bit source to 12bit range. Chips like the WS2812 do this magic for you and can be chained together. They are two completely different hardware architectures.
I do however plan to adapt anypixel to a typical Arduino/WS2812 setup in the near future, and will certainly contribute that code if suitable.
I will also be exploring the second part of your question in my work, but don't have any answers yet, but suspect it will require custom code to transform the canvas output to your non-linear display.

@Bre77 did you try any sort of Arduino/WS2812 setup so far? I'm starting to think about a simple ESP32 implementation along with the FastLED library to control 256 buttons (shift register button matrix setup) and WS2812 LEDs. Of course it would be nice, if you already have some code snippets or at least a few thoughts about possible pitfalls. I guess the hardest part would be to adapt the firmware in order to talk to the ESP32.


Remove if !false { ... } from generated serialization code

I don't think this negatively affects maintainability of the code in serde_codegen and I think there is some value in keeping our generated code relatively clear so that people can use it as a template when implementing Serialize manually with minor modifications.

great! this has always annoyed me in the generated code.
I'd say the codegen code is even clearer now
@homu r+

:pushpin: Commit d1ce4d6 has been approved by oli-obk

:zap: Test exempted - status


Update getting_help.md

Added tutoring center hours to it's respective section.

I'm sorry I didn't see your pull request, @jweeks2023 , and had already added this information myself.


use is_power_of_two where appropriate

@bors r+

:pushpin: Commit a8e457fad1fd295068bb58e43a36cfb0e996ec4e has been approved by RalfJung

:hourglass: Testing commit a8e457fad1fd295068bb58e43a36cfb0e996ec4e with merge 9d418a3f035ed346b6910442b1d53f075ac1b9fd...

:sunny: Test successful - checks-actions
Approved by: RalfJung
Pushing 9d418a3f035ed346b6910442b1d53f075ac1b9fd to master...


fix(header): added bigger logo with animation

As per request from branding, the logo should be the topmost element on the page. To handle the disappearing meta-navigation, the logo animation was introduced.

@gfellerph The logo works correctly, but the animation behaviour is not updated correctly within the documentation, when a user switches the stickyness.
Maybe it could help, to trigger a window resize event or something, whenever the story is rerendered.

@gfellerph The logo works correctly, but the animation behaviour is not updated correctly within the documentation, when a user switches the stickyness. Maybe it could help, to trigger a window resize event or something, whenever the story is rerendered.

done @oliverschuerch


[SPARK-40660][CORE][SQL] Switch to XORShiftRandom to distribute elements

What changes were proposed in this pull request?
This PR replaces Random(hashing.byteswap32(index)) with XORShiftRandom(index) to distribute elements evenly across output partitions.
Why are the changes needed?
It seems that the distribution using XORShiftRandom is better. For example:

The number of output files has changed since SPARK-40407. Some downstream projects use repartition to determine the number of output files in the test.
bin/spark-shell --master "local[2]"
spark.range(10).repartition(10).write.mode("overwrite").parquet("/tmp/spark/repartition")

Before this PR and after SPARK-40407, the number of output files is 8. After this PR or before  SPARK-40407, the number of output files is 10.

The distribution using XORShiftRandom seem better.
import java.util.Random
import org.apache.spark.util.random.XORShiftRandom
import scala.util.hashing

def distribution(count: Int, partition: Int) = {
  println((1 to count).map(partitionId => new Random(partitionId).nextInt(partition))
    .groupBy(f => f)
    .map(_._2.size).mkString(". "))

  println((1 to count).map(partitionId => new Random(hashing.byteswap32(partitionId)).nextInt(partition))
    .groupBy(f => f)
    .map(_._2.size).mkString(". "))

  println((1 to count).map(partitionId => new XORShiftRandom(partitionId).nextInt(partition))
    .groupBy(f => f)
    .map(_._2.size).mkString(". "))
}

distribution(200, 4)

The output:
200
50. 60. 46. 44
55. 48. 43. 54

Does this PR introduce any user-facing change?
No.
How was this patch tested?
Unit test.

thanks, merging to master!


Cannot connect any Bravia TV

Describe the issue
I have two Bravia TV - one with Android, and one without. I cannot connect using this plugin. Android remote from sony works great.
Expected behavior
Devices shows on dashboard - but cannot do nothing - cannot start Android TV, starting old one works great, bo no services or buttons beside power are shown.
Home Assistant version
0.108.4
Your config.yaml
media_player:
  - platform: braviatv_psk
    host: <IP_ADDRESS>
    mac: fc:f1:52:f3:21:92
    psk: sony
    name: sonysypialnia
  - platform: braviatv_psk
    host: <IP_ADDRESS>
    mac: 70:26:05:d6:fd:c2
    psk: sony
    android: True
    name: sonysalon

Output of HA logs
2020-04-16 08:21:09 WARNING (MainThread) [homeassistant.components.media_player] Updating braviatv_psk media_player took longer than the scheduled update interval 0:00:10

I am having the same issue

@wacki4 What happens if you remove the old TV from the config.yaml?
@vinodnx Can you share some more details, see the items from the issue mentioned above on what data is needed to investigate this a bit further.

I've tried three configs with this plugin:

Bravia with Android
Bravia without Android
Both of them connected

Restarted device on each config long time - now i have both of them defined.

Can you double check if the PSK is actually set to sony on your TV?
And if all steps from the installation instruction are followed correctly?

Enable remote start on your TV: [Settings] => [Network] => [Home Network Setup] => [Remote Start] => [On]
Enable pre-shared key on your TV: [Settings] => [Network] => [Home Network Setup] => [IP Control] => [Authentication] => [Normal and Pre-Shared Key]
Set pre-shared key on your TV: [Settings] => [Network] => [Home Network Setup] => [IP Control] => [Pre-Shared Key] => sony
Give your TV a static IP address, or make a DHCP reservation for a specific IP address in your router
Determine the MAC address of your TV: [Settings] => [Network] => [Network Setup] => [View Network Status]

Yes, checked twice - both of them has all of it done.

And does the default Bravia integration in HA work for the TVs? It's using PIN instead of PSK, but besides that it's largely the same.

No, default pin way don't work either - i've tried this one first, after that i found that many users said that pin don't always work - and They recommended Your plugin to do so. If You have any suggestion in connection check - i can do it, now i have hass running on raspbian so can check everything there.
Before it i was running image for hass - there it also didn't work correctly.

...Nevermind, on my side - my bad. Now i seen that i tried all the time run it on bad network, so placed not correct ip address... my bad, sorry for this.

@vinodnx I am closing this issue. If you still have any issues, please open a new issue providing all needed information.


Forge Build 164: getCalculatedBiome NullPointer

Crash report: http://pastebin.com/VL684vAs
I started a new world with absolutly no config under config/TerrainControl/worlds/...
The version 163 in jenkins doesn't have that problem.

The Forge version has basically been rewritten by now by various other people (Zidane, Dockter, bloodmc), so I'm closing this issue.


Extension Host Process exited with code: 0, signal: null.

Hi all,
atm I'm seeing the following in Log (Remote Server). Connection is also very laggy and it's basically not possible to write any code. Not sure if related to nixos-vscode-server. What do you think?
[2021-09-05 09:42:12.226] [remoteagent] [info] [<IP_ADDRESS>][542030ea][ExtensionHostConnection] <2510773> Launched Extension Host Process.
[2021-09-05 09:46:50.741] [remoteagent] [info] [<IP_ADDRESS>][e82dd50b][ManagementConnection] The reconnection short grace time of 5m has expired, so the connection will be disposed.
[2021-09-05 09:46:51.777] [remoteagent] [info] [<IP_ADDRESS>][a3747599][ExtensionHostConnection] <2491914> Extension Host Process exited with code: 0, signal: null.

Many thanks,
Paul

Solved, I think. Live Share extension was causing issues. Disabled it. And things appear to be working again. Closing for now.
Prob not related to nixos-vscode-server - sorry about that :)
Many thanks,
Paul


Move the https filtering configuration out of the main filtering configuration

For now, as a workaround, an application should perform fast reconfigurtion only if https configuration has not changed

Also, it will be useful to move the locale field from the AGProxyServerConfig to AGFilteringConfig. First of all, it is more logical - locale affects only on the userscripts, which are in the AGFilteringConfig. Second, at this time changing the UI language leads to the restarting the proxy server, closing TCP connections etc. - it's a too expensive cost for such simple action


Disbursement Receipt Process - Expectations on Fail

User Story
SIMS processes a daily disbursement file which contains federal and provincial funds disbursed for FT and PT applications. When we recognize disbursement records that relate to SIMS disbursements, we need to process those as normal. If we receive no records or only non-SIMS disbursements, we still want to send an email as part of this disbursement receipt scheduler to indicate we successfully received and processed a file but did not have any SIMS disbursements. If this process fails, we do NOT want any email sent.
Acceptance Criteria

[ ] If import successful with no SIMS records, email should still be sent.

[ ] If import successful with no SIMS records, email should contain a 0 record CSV (Batch run can be blank):

[ ] If disbursement process doesn't have a file to run: FAIL (can have it retry as it is right now, but will allow us to be notified and retry at a later time)

Additional Context
Successful CSV file/email sent:

0 records found, no csv file or email sent:

Current process result with no file found:

** Technical **

[ ] When there is no CSV record, build a blank record file as stated in the business AC. disbursement-receipt.processing.service.ts
[ ] When there is no file to process, log the error using processSummary error and the framework will automatically retry.
[ ] E2E Tests
E2E Test for an empty record
E2E Test for no file

@CarlyCotton The current retry interval is 3 minutes for disbursement receipts scheduler. (It retries 3 times). Let us know if the retry interval or the number of retry per failure needs to be updated.


Update index.md

update tiering status.

Thanks, there is no need to backport changes from master to 3.8, or mention what needs to get done for downstream. I've modified the text a little and pushed it with commit 517b95bf606c470557c34ea5de3ae3ee4d8ba791.


ONNX backend runtime support to simplify HW support?

A repetitive issue I see coming up over and over again is people not being able to run models on their hardware for any number of reasons, one of the biggest being that llama.cpp has not incorporated the proper level of support for their chosen hardware manufacture or hardware SDK.  If I understand the goal of Ollama correctly to be a nice easy way of running LLMs with an API layer over lower level LLM libraries, would it make sense to heavily consider moving to a single solution runtime that can provide support of most all hardware configurations (aka ONNX)?
These are some of the most commented PRs currently and there will probably be more to come from increasingly smaller/niche HW vendors (examples: Ascend NPU or Google Coral TPU):

https://github.com/ollama/ollama/pull/5593
https://github.com/ollama/ollama/pull/5059
https://github.com/ollama/ollama/pull/2458
https://github.com/ollama/ollama/pull/5426
https://github.com/ollama/ollama/pull/5872

Would it maybe make more sense to offload this hard work to the ONNX runtime folks and keep Ollama focused on what it is good at, being a great API for LLM inference?  I realize this would require a massive amount of work to implement yet another backend, but I am making this ticket more as a callout for a trend I see in some of the Ollama tickets.
https://onnxruntime.ai/docs/execution-providers/

onnxruntime doesn't have Vulkan which simplify everything on Windows and Linux.

onnxruntime doesn't have Vulkan which simplify everything on Windows and Linux.

Correct, but it does support:

Nvidia Cuda/TensorRT
AMD ROCm
Intel OpenVINO

Which covers the 3 big GPU makers and is more than Ollama currently supports. Vulkan support would be nice though.

Intel OpenVINO

Do you know if OpenVino requires special care with the model files or the ggml/gguf files or ollama works seamlessly with it?
By the way onnxruntiem also doesn't work with ggml format

onnx uses a different approach than gguf (i.e.: no). It's a bit more like the LLVM approach of Clang, where onnx is an intermediate representation, and each vendor gets to compile/compress as suits their hardware.

Intel OpenVINO

Do you know if OpenVino requires special care with the model files or the ggml/gguf files or ollama works seamlessly with it? By the way onnxruntiem also doesn't work with ggml format

OpenVino uses its own format, in competition with ggml/gguf. It will (relatively quickly) quantise a model and it's the quantised model that gets used for inference. There is/was a bug with this process but it's likely solved now/soon.
Personally, I've been pretty unimpressed by the ONNX ecosystem, and found it's worked better on paper than in reality.

Personally, I've been pretty unimpressed by the ONNX ecosystem, and found it's worked better on paper than in reality.

I’ve had cases where the runtime seemed to support features but didn’t work well. For example, DirectML is often slow even though it’s supposed to use the GPU, and it’s missing some operators. But it’s still being developed, backed by Microsoft, and has a lot of potential. Overall, it’s a good experience because it has precompiled libraries and is stable, unlike ggml, which can sometimes crash the whole program.


[Bug]: Error react/prop-types , although the type has been specified

Is there an existing issue for this?

[X] I have searched the existing issues and my issue is unique
[x] My issue appears in the command-line and not only in the text editor

Description Overview
Error react/prop-types , although the type has been specified
this is error:
import React, { forwardRef, memo } from 'react';

interface Props1 {
    age: number;
}
export const Hello = memo(
    forwardRef(({ age }: Props1) => { // error: 'age' is missing in props validationeslint(react/prop-types)
        return
Hello {age}
;
    }),
);

but this is correct:
import React, { forwardRef, memo } from 'react';

interface Props1 {
    age: number;
}
const HelloTemp = forwardRef(({ age }: Props1) => {
    return
Hello {age}
;
});
export const Hello = memo(HelloTemp);

Expected Behavior
Expected  no error
eslint-plugin-react version
v7.30.1
eslint version
v8.29.0
node version
v16.19.0

I've added failing tests in 4ea8102; the issue seems to be that it's not detecting declared propTypes in a component nested inside memo.


Guard improvements

We have numerous lines like this in our codebase:
Guard.NotNull(block, nameof(block));

First parameter is the variable and the 2nd is it's name. Variable name is used ONLY when guard throws.
So the point is to introduce an override of the NotNull that will do exactly the same but accept only 1 value- the variable.
Example snippet:
static void Main()
{
    string variableThatIsNull = null;

    try
    {
        Guard.NotNull(variableThatIsNull);
    }
    catch (Exception e)
    {
        Console.WriteLine(e);
    }

    Console.Read();
}

public static class Guard
{
    public static void NotNull(object value)
    {
        // throw if the value is null
        if (ReferenceEquals(value, null))
        {
            string name = GetOriginalVariableName(value);
            throw new ArgumentNullException(name);
        }
    }

    public static string GetOriginalVariableName(object obj)
    {
        StackFrame stackFrame = new StackTrace(true).GetFrame(2);
        var file = new StreamReader(stackFrame.GetFileName());
        for (int i = 0; i < stackFrame.GetFileLineNumber() - 1; i++)
            file.ReadLine();
        string varName = file.ReadLine().Split(new char[] { '(', ')' })[1];
        return varName;
    }
}

That will save us some time writing those nameof(something) all the time.

Hi sure looks nice

Really cool.

Approach doesn't work reliably on Release.


Enable-PnPResponsiveUI : Value does not fall within the expected range

Hello,
I'm trying to install the PNPResponsibeUI in my SharePoint 2016 environment.  When I execute the Enable-SPResonsiveUI powershell, I get the following error:
Enable-PnPResponsiveUI : Value does not fall within the expected range.
At C:\Users******\Desktop\PnP-Tools-master\PnP-Tools-master\Solutions\SharePoint.UI.Responsiv

    Enable-PnPResponsiveUI

    ~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : WriteError: (:) [Enable-PnPResponsiveUI], ServerException
FullyQualifiedErrorId : EXCEPTION,SharePointPnP.PowerShell.Commands.Branding.EnableResponsiveUI

Any thoughts what could the issue be?

Hi @aortiz-arroyo, could you check the following prerequisites ?

Download the PowerShell package in accordance with SP2016 : PnP Powershell 2016
Install the package
Ensure that the account used to Provisione your SharePoint site is Site Collection Administrator
Open a PowerShell terminal and execute the following command line

Enable-PnPResponsiveUI

Note : If you use a second verification for authentication, generate a App Password and use it when asked for

And it should work. Keep us in touch if it doesn't work

Hi @aortiz-arroyo, your issue is fixed ?

I'm facing with the same problem on SharePoint2013. I downloaded the files from: https://github.com/SharePoint/PnP-Tools/tree/master/Solutions/SharePoint.UI.Responsive and the SharePointPnPPowerShell2013.msi tool from: https://github.com/SharePoint/PnP-Tools/tree/master/Solutions/SharePoint.UI.Responsive
TargetSiteUrl: http://dev/sitecollection/mysite/
Enabling responsive UI on target site
Enable-PnPResponsiveUI : Value does not fall within the expected range.
At E:\SharePoint.UI.Responsive\Enable-SPResponsiveUI.ps1:52 char:9

    Enable-PnPResponsiveUI

    ~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : WriteError: (:) [Enable-PnPResponsiveUI], Server
Exception
FullyQualifiedErrorId : EXCEPTION,SharePointPnP.PowerShell.Commands.Bran
ding.EnableResponsiveUI

"else
{
Enable-PnPResponsiveUI
    Write-Host -ForegroundColor Yellow "Uploading custom responsive UI assets to target site"
    Apply-PnPProvisioningTemplate -Path .\Responsive.UI.Infrastructure.xml -Handlers Files
}

"


Configurable maxLaunchDelay for apps

Fixes #1087.
Introduces maxLaunchDelaySeconds param for app definition that sets maximum delay between launches of failing tasks.
I tested an app:
json
{
  "id": "/wtf",
  "cmd": "exit 1",
  "backoffSeconds": 5,
  "backoffFactor": 10,
  "maxLaunchDelaySeconds": 600,
  "instances": 10,
  "cpus": 0.1,
  "mem": 16
}

Marathon logs:
[2015-01-25 10:50:53,822] INFO Task launch delay for [/wtf] is now [4999982046 nanoseconds] (mesosphere.util.RateLimiter:33)
[2015-01-25 10:50:53,828] INFO Task launch delay for [/wtf] is now [4999986347 nanoseconds] (mesosphere.util.RateLimiter:33)
[2015-01-25 10:50:53,834] INFO Task launch delay for [/wtf] is now [49999990011 nanoseconds] (mesosphere.util.RateLimiter:33)
[2015-01-25 10:50:53,854] INFO Task launch delay for [/wtf] is now [499999992550 nanoseconds] (mesosphere.util.RateLimiter:33)
[2015-01-25 10:50:53,875] INFO Task launch delay for [/wtf] is now [599999989549 nanoseconds] (mesosphere.util.RateLimiter:33)
[2015-01-25 10:50:53,882] INFO Task launch delay for [/wtf] is now [599999990223 nanoseconds] (mesosphere.util.RateLimiter:33)
[2015-01-25 10:50:53,888] INFO Task launch delay for [/wtf] is now [599999987444 nanoseconds] (mesosphere.util.RateLimiter:33)
[2015-01-25 10:50:53,892] INFO Task launch delay for [/wtf] is now [599999991991 nanoseconds] (mesosphere.util.RateLimiter:33)

:100: Thanks @bobrik!

:fireworks:


fix typo in doc

Fix issue : https://github.com/open-cluster-management-io/work/issues/93

/approve
/lgtm

please signoff the commit,  thatnks!

signed. thanks

/lgtm

/lgtm


Update variable name for OG-Core 0.11.13

This PR changes the name of the variable AIME_num_years to avg_earn_num_years, as was introduced in OG-Core version 0.11.13.

Resolves Issue #119

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 45.12%. Comparing base (f20a9fe) to head (15afb95).

Additional details and impacted files

@@           Coverage Diff           @@
##           master     #120   +/-   ##
=======================================
  Coverage   45.12%   45.12%
=======================================
  Files          18       18
  Lines        1405     1405
=======================================
  Hits          634      634
  Misses        771      771

Flag
Coverage Δ

unittests
45.12% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


docs: Back buttons for ionic sidemenu pages

Type: docs
Platform: android 4.4 webview
I have following items in ionic side menu list.
Home (contains nested states like books, games,etc.)
Profile
About
By default from profile or about pages there is no back button in nav bar and app exits on using androids hardware back button.
I want Profile and About page to go back to Home on tapping hardware back button (which is the standard way in most apps today) and I would also like to have back button in header nav bar that links to home.
How can I achieve this in ionic?

Greetings @Ajeetlakhani!
My sensors indicate that you need to update your issue through our custom issue form. We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
I will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.
Thank you!

That is not issue. why dont you ask in ionic forum?

Greetings @Ajeetlakhani!
I've closed this issue because my sensors indicated it was old and inactive, and may have already been fixed in recent versions of Ionic. However, if you are still experiencing this issue, please feel free to reopen this issue by creating a new one, and include any examples and other necessary information, so that we can look into it further.
Thank you for allowing me to assist you.


should not change txn content if already signed

fix #5445

Need to rebase to release/1.2.x

Replaced by #5461


fix(examples): update porter manifest per deprecation of tag field

Closes https://github.com/getporter/docker-compose-mixin/issues/17

(Note that a commit was added to https://github.com/getporter/docker-compose-mixin/pull/18 to fix the unintentional go mod upgrade/CI failure)


[ui][public profile] Public component names are often ambiguous

Steps
1. Visit your public profile and look at your "Public Components"
Expected
1. Users should be able to distinguish one component from another.
Actual
1. Often, components from different projects have the same title (e.g. "Study Materials" or "Data"). They are listed in your public profile without providing the project title for context, so components with the same name are indistinguishable from each other. See below for an example:

I would suggest including the project title for each component in grey next to each component's title:

@jlcohoon Is this still something you want? Does @huangginny's proposed UI meet your needs?

It's definitely still something I'd like, and I think this solution is consistent with how we deal with this in search results. My comment now is, same as it is on the node refactor (https://osf.io/d72uk/wiki/Node Class Refactor/), that I'm inclined to click the first link, not the second one that might be truncated. That brings you to the project, not the component.
Without thinking about it for too long, my best suggestion to avoid that issue is to give breadcrumbs not as part of the link:

I also moved the contribution count to be on the same line as the progress bar (fewer lines of information in the box then). Since they're relative to one another in size, they could all be made to fit on one line like this.

Unless disagreement on @jlcohoon 's suggestion .... (?) @huangginny Can you go ahead and make this change? Thanks.

@lbanner will do

@jlcohoon The breadcrumbs do not have links. Do you want me to add the links or not?

No links, please!
On Wed, Mar 25, 2015 at 3:28 PM, Ginny<EMAIL_ADDRESS>wrote:

@jlcohoon https://github.com/jlcohoon The breadcrumbs do not have
links. Do you want me to add the links or not?
[image: screen shot 2015-03-25 at 3 27 43 pm]
https://cloud.githubusercontent.com/assets/8628591/6833451/8bf06020-d303-11e4-9821-1ce8bb3faec6.png
—
Reply to this email directly or view it on GitHub
https://github.com/CenterForOpenScience/osf.io/issues/1249#issuecomment-86183020
.


fix: judge file format by server's content-type header

related to #106

There is another problem, can't figure out why:
The first runTest is success, but second failed.

It looks like the error is caused by the warning:
WARNING: IPC handle "/Users/Mora/Workspace/mora/example-ts-vscode-extension/vscode-test/sample/.vscode-test/user-data/1.63.2-main.sock" is longer than 103 chars, try a shorter --user-data-dir
switch the project to a shorter folder, all tests is passed.


Another slight interlacing issue

Trying a different disk from #20 and whilst the image data looks close it seems there is a slight blurriness to it that is messing up the OCR.
eg

with subtools looking like:

and VLC:

and the macSubtitleOCR subtitle comes out as:
11
00:00:47,719 --> 00:00:54,884
and Im crewing Welverhe slashing
piles with his adamantine claws.

vs SubTools with Tesseract:
and I'm drlwlng Wolverlne slashlng
prices with hls adamantlne claws.

That's a "good" example. Some other ones are much less usable. SubTools is much better though.
Here are the VOBSUB files:
fuzz.tgz

Oh, and if I take that VLC image and ask Apple Preview to copy and paste the text I get:

and I'm drawing Wolverine slashing prices with his adamantine claws.

which is perfect.

I should have tried this before, but if I copy and paste the text of the slightly fuzzy image from macSubtitleOCR that also returns a perfect version of the text...

I should have tried this before, but if I copy and paste the text of the slightly fuzzy image from macSubtitleOCR that also returns a perfect version of the text...

Ok, that bit is very interesting. I wonder how they have their settings tuned, because presumably it uses the same api.

I'll try and investigate this one tonight, hopefully it's a simple fix.

Definitely interesting that you are getting a different answer. It's clear the image is fuzzier but there is hope!

Hope indeed, I'm wondering if I should just give up on the idea behind implementing my own decoders and just use an external library like FFmpeg, but I just really don't want to have to have any external dependencies

I agree that it's really nice that it's so easy to build with no library dependencies.

Well, I added ffmpeg support for now, at least that should unlock the power of the OCR engine. I haven't given up on figuring out the decoding in swift, but it will take time. Let me know if you find any issues with the ffmpeg features.

Ok. Thank you.  I've taken a quick look and:

ffmpeg being at least an order of magnitude faster is impressive (and helps when experimenting) -- unsurprisingly many people working over many years results in a highly optimized decoder.
Comparing the images shows me that your original decoder generates almost exactly the same images in most cases except for the fuzz one mentioned above where ffmpeg does generate a cleaner image.
Looks like you fixed the end timestamps. Thank you. Maybe that's from ffmpeg?
Somehow even though the images look almost identical for one of my earlier examples the OCR is different and not necessarily better with ffmpeg. Sometimes it's correct with the internal decoder and sometimes better with ffmpeg. I'm not sure how that's possible.

--- classic/track_0.srt 2024-10-11 07:41:49
+++ new/track_0.srt     2024-10-11 07:36:04
@@ -1,4548 +1,4538 @@
 1
-00:00:06,006 --> 00:00:07,708
+00:00:06,006 --> 00:00:07,735
 NARRATOR:
-In the criminal justice system
+In the criminall ustice system

 2
-00:00:07,807 --> 00:00:11,644
-the people are represented
-by two separate
-yet equally important groups,
+00:00:07,807 --> 00:00:11,676
+the people are representedi
+byntwo separate
+yet'equally important groups,

 3
-00:00:11,744 --> 00:00:13,547
-the pollee
+00:00:11,745 --> 00:00:13,576
+the police
 who investigate crime

 4
-00:00:13,647 --> 00:00:16,416
-and the distriet attorneys
-who prosecute the offenders.
+00:00:13,647 --> 00:00:16,445
+anditherd istrictlattorneys
+who prosecute the offenders

 5
-00:00:16,516 --> 00:00:18,853
-These are their stories.
+00:00:16,516 --> 00:00:18,006
+Theserarel theirs fories

 6
-00:00:20,152 --> 00:00:22,355
-MAN: Because I don't want
-her to hear us talking,
-that's why.
+00:00:20,152 --> 00:00:22,382
+MAN: Because lIdon t want
+her to hear us talking.,
+that siwhy..

All very interesting. For the end timestamps, I actually just implemented a universal check to make sure they didn't go past the start of the next subtitle. Funnily enough in my testing it seems like the FFmpeg timestamps were actually less accurate in general than my decoder, I'm still not quite sure why.
As for the OCR differences I am still not sure why those happen, I'm wondering the same thing.
And yes it truly is an order of magnitude faster, it definitely helps that it is much more mature. I also have not taken much time to improve the efficiency of my decoder, which would be very helpful as my implementation was very cobbled together and not designed for efficiency. I've had to reverse engineer a lot because the documentation hasn't been very clear.


Add Wifi support

This feature allows maestro to connect to wifi by using wpa-connect package.
Wifi SSID, Wifi Passsword fields are added to network config.
The wifi config can be changed through maestro-shell and devicedb.

wpa-connect and 4 other thrid party packages were added to the vendor directory.
Additionally, wpa-connect package (MIT license) had to be modified to get certain functionality working.

Wifi support was tested on a DELL gateway by changing network config through maestro-shell and switching between 2 wifi networks

@costanic I think I will need your help in using godep (https://github.com/tools/godep). I tried using it but I am facing a lot of issues.

@psppalash ok, since Godep is giving you problems let's figure out a way for you to move forward in the short term in a way that makes it easier to switch to go-modules.

@psppalash ok, since Godep is giving you problems let's figure out a way for you to move forward in the short term in a way that makes it easier to switch to go-modules.

Sure. I can schedule a meeting so that we can discuss how to work towards the switch to go-modules.

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro/70/

@costanic The URL's and SHA for the packages that are added in this PR.
https://github.com/creack/pty           2a38352e8b4d7ab6c336eef107e42a55e72e7fbc
https://github.com/godbus/dbus          efee8394fa9a426004eb24eed1dee80f5efd90af
https://github.com/kballard/go-shellquote   95032a82bc518f77982ea72343cc1ade730072f0
https://github.com/kr/pty                    24b51915630e1d9d3c6adf15a3a96796bbc3cd43
https://github.com/ThomasRooney/gexpect      5482f03509440585d13d8f648989e05903001842

Pr for https://github.com/armPelionEdge/wpa-connect/pull/1

@costanic I changed the commits. Please have a look. Please do not merge this yet. I want to test it once again on hardware.
BTW, I think maestro-shell should return an error if there was an error while setting up an interface. I don't think maestro-shell does that right now. Do you think we should add this feature?

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro/89/

@psppalash, seems reasonable.  Add a story in the backlog for that.

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro/93/

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-maestro/94/

Tested on hardware. @costanic @mray190 This PR is ready to be merged. Also, do you know why the CI check is failing?


WIP: Fixed LupIO-TMR and LupV Board

The LupV Board was initially connected to the wrong CPU pins (TMR was using incorrect exception codes). Once the correct pins were connected, we were having issues with the LupIO-TMR that was due to some incorrect timing conversions for scheduling events. These issues are now fixed as we are using the correct exception codes and the scheduling of the timer events is occurring properly.

Oh, is it because you haven't rebased on lupio/main first? Could you do that and resubmit the PR so that we see exactly the fixes to TMR and LupV? You wouldn't be able to merge anyway bc of the merge conflicts.

Just added the missing commit and tested with a non-SMP kernel. Will merge to lupio/main so that I can debug the SMP branch.


Remove historical filename_pattern code

Seems like this method wasn't removed in fd295d9

Nice find! Thank you.


Doesn't seem to live up to performance claims?

I have a large binary (~256 MB before strip, 209 MB total) & I did a simple comparison, calling addr2line in a loop 20 times (providing 16 addresses from a real call stack) & comparing peak RSS & the total time taken. The command line invoked was
<addr2line exe> --pretty-print -C -f -i  --exe <path to exe> <addresses> (all output was piped to /dev/null).
The results are:
binutils: ~4s, 236 MB RSS
this crate: ~3s, 384 MB RSS
llvm-symbolizer: ~3s 138 MB RSS
elfutils: ~1s 53 MB RSS
I did notice that elfutils for some reason didn't manage to report the location of the function nor the function arguments so it's possible there's some bug or other issue with elfutils invalidating that result.
Regardless, it looks like llvm-symbolizer does use almost 1/3 the RAM for the same runtime performance & even binutils uses less RAM (albeit @ 33% slower runtime).

It's possible we need to do some benchmarks and performance improvements for larger binaries. Also, most performance work so far has been on time, rather than memory.
Did some rough tests here, using 20 addresses each 16KB apart, only 1 invocation each.
~50 MB libUE4Editor-Core.so:
binutils: 0.17s, 90 MB RSS
this crate: 0.06s, 76 MB RSS
llvm-addr2line: 0.11s, 60 MB RSS
eu-addr2line: 0.02s, 7.5 MB RSS (incomplete results)
~470MB libxul.debug:
binutils: 4.79s, 1.3 GB RSS
this crate: 8.18s, 2.6 GB RSS
llvm-addr2line: 6.03s 2.4 GB RSS
elfutils: 5.92s 2.2 GB RSS
Also, versions might matter:
binutils: 2.34
llvm: 10
elfutils: 0.176
So yeah, there's room for improvement.

I did this test on:
binutils 2.36.1
elfutils: 0.183
llvm 11.1.
Just ran llvm-13 & saw it drop RSS usage further to ~110 mb of RAM.

I just used heaptrack to do a preliminary analysis. Most of the memory comes from the sections loaded in addr2line::Context::new. Is it possible that the "lazy" property of Gimli isn't being inherited (or there's suboptimal behavior in it?). The addr2line reference implementation in Context::new is parsing all sections even if they're not actually needed? It seems to actually copy all of the sections into the heap instead of copying it as-needed when iterating? Additionally, is it not a bit weird that the sections are getting dereferenced into RAM even though it's coming from mmap regions?

Yeah, Context::new copies the input sections (this is documented). I forgot that the addr2line example uses this too.

How can I avoid copying the sections? I saw the note in the documentation but the details are unclear as to how to avoid the input data copies (& no examples to that effect either). Do I use EndianSlice or EndianRcSlice?. Similarly, there's the following note:
  92     /// Performance sensitive applications may want to use `Context::from_dwarf`
  93     /// with a more specialised `gimli::Reader` implementation.

& it's unclear how one would outperform the default readers (similarly it's unclear if the performance implications are around memory usage & the provided EndianXSlice variants all make copies & one always needs a custom reader to avoid those copies).

EndianArcSlice is similar to EndianRcSlice, but its reference counting is slower. In hindsight, using either of these readers is generally not a good idea. They make things simple, but they're not ideal behaviour.
EndianSlice is good for performance, but the lifetime makes it more awkward to manage. Additionally, we still need to somehow handle the case where the section is compressed, and so an allocation somewhere may be required.
I think we should do the same thing as the dwarfdump example in gimli, which uses EndianSlice with an arena for the allocation if required. dwarfdump is a bit more complicated because it also handles relocations, which I don't think we need here, but otherwise that might be a good enough for you to follow?

Sounds good! Yeah, I think having an interface that where you give it an arena & it returns an EndianSlice is a good API for those that need performance (hopefully the lifetime awkwardness could be contained). That way the addr2line & dwarfdump implementations can shrink in size.
I'm excited to see what kind of memory savings (& presumably runtime since we'd be doing fewer copies) we can realize.


Is this project currently being actively maintained?

Is this project currently being actively maintained?

Hello @leopard627 no, sorry. But you can contribute I will accept any improvements.


Cursor / page position lost during "toggle preview" functionality

When I'm writing in markdown view and have my preview pane closed, upon opening the preview pane the location of the page and my cursor suddenly shifts and I entirely lose my place. Additionally, it's very difficult in longer, more dense documents to find that location again without a bunch of hunting. It would be nice for the position to stay visible based around the cursor, the center of the page, or something somewhat standard...
I also have my page width ratio set to 1.5 in order to have more text visible when writing markdown vs. the more constraining margins...

Should be fixed in v5.


"Giera", "Grănicerii" and "Toager" are listed in the drop-down menu

Description:
"Giera", "Grănicerii" and "Toager" are listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Giera" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Giera, TIMIȘ (Giera)" and "Comuna Giera, TIMIȘ".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Type "Grănicerii" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Grănicerii, TIMIȘ (Giera)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Type "Toager" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Toager, TIMIȘ (Giera)".


Figure out how to support bindings for "VK_OEM" keys

https://github.com/microsoft/terminal/blob/ecfaa76a895da18a2997c4e7dbd4b3fccdf2d889/src/cascadia/TerminalApp/KeyChordSerialization.cpp#L75-L85

Yanking the triage tag. This is a TODO from code.

I’m looking to have CTRL+| (which is ctrl shift \ on my keyboard) split vertical. Not possible today.
For horizontal I’m using CTRL+SHIFT+- which is CTRL+_
FYI+context

One way maybe to be able to handle this would be to allow VK_** int values to be used in the binding 'language' to avoid a bunch of hard coding of VK and missing ones.  enables you to you say "ctrl+(vk)32" ? -- just a wild idea.
I think in @shanselman use case, supporting a keybinding that already involves a modifier might be tough (I don't see cmder/conemu handle this either).  But even supporting CTRL+\ (the non-shifted pipe character that maps to VK_SEPARATOR) doesn't work right now.

I'd really love it if there was a way that we could just take a character and get the vkey from it. That way, if a user put ctrl+| in their json, we'd try to find the key from the char in our map, fail, then ask the OS what vkey that should be. We'd look up what the actual vkey is, find VK_OEM_5, Shift, and use that key+modifiers at runtime. There's a pretty good chance there's a relative of MapVirtualKey that might work for that purpose. However, we'd need to make sure that when we re-serialize the key, that we don't lose the original. (granted, that would be fixed by #754, so maybe we should do that one first or just live with it for now...)

I'd really love it if there was a way that we could just take a character and get the vkey from it.

I think this is what you're looking for in this case:
https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-oemkeyscan
And then for keys on the "Main" keyboard, there's also:
https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-vkkeyscanexa
Finally, see also:
https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-mapvirtualkeyexw


Bing: reverse batch geocoding

Why not having reverse batch geocoding? It actually follows almost the same dataflow as the forward geocoding!
So now... it's done 🎉
Other additions:

now lat/lng are turned into float properly for Bing batch geocoding
doc updated

@ThmsLa Let me know whenever you want me to publish a new release on pypi, just need to bump up the version in __init__.py.

@DenisCarriere Sure, thanks! I just saw that @ebreton found a bug in my Bing batch methods using Python 3.
I'll fix it with these new classes, update the changelog and bump the version number in my next PR :)

👍 sounds like a plan


Add files via upload

Updated IA-Connect Web Browser for release 9.4

When submitting a connector, please make sure that you follow the requirements below, otherwise your PR might be rejected. We want to make you have a well-built connector, a smooth certification experience, and your users are happy :)
If this is your first time submitting to GitHub and you need some help, please sign up for this session.

[X] I attest that the connector doesn't exist on the Power Platform today. I've verified by checking the pull requests in GitHub and by searching for the connector on the platform or in the documentation.
[X] I attest that the connector works and I verified by deploying and testing all the operations.
[X] I attest that I have added detailed descriptions for all operations and parameters in the swagger file.
[X] I attest that I have added response schemas to my actions, unless the response schema is dynamic.
[X] I validated the swagger file, apiDefinition.swagger.json, by running paconn validate command.
[X] If this is a certified connector, I confirm that apiProperties.json has a valid brand color and doesn't use an invalid brand color, #007ee5 or #ffffff. If this is an independent publisher connector, I confirm that I am not submitting a connector icon.

If you are an Independent Publisher, you must also attest to the following to ensure a smooth publishing process:

[ ] I have named this PR after the pattern of "Connector Name (Independent Publisher)" ex: HubSpot Marketing (Independent Publisher)
[ ] Within this PR markdown file, I have pasted screenshots that show: 3 unique operations (actions/triggers) working within a Flow. This can be in one flow or part of multiple flows. For each one of those flows, I have pasted in screenshots of the Flow succeeding.
[ ] Within this PR markdown file, I have pasted in a screenshot from the Test operations section within the Custom Connector UI.
[ ] If the connector uses OAuth, I have provided detailed steps on how to create an app in the readme.md.

@vmanoharas I can see your comment says that you are preparing our connector for production deployment. Does this mean I don't have to do anything in ISV Studio (since it's an existing connector)? Or do I now go into ISV Studio?


fix(security): dbs/clusters perm

SUMMARY
Though both the Database and DruidCluster have a perm property (which is merely a concatenation of either the database or cluster name and record ID), the property only maps to a physical column for the Database model.
The perm column exists is so various permission based queries can be executed to determine if a user can access said data entities. The reason it is not a physical column for the DruidCluster model is probably an oversight as this logic is rarely used. Note this PR addresses the inconsistency.
Rather than storing the perm in the database I thought there was merit in deprecating the dbs.perm column and replacing it with a SQLAlchemy hybrid attribute. These hybrid attributes act like virtual columns and function in both Python and SQL (a SQL expression has been provided to deal with the casting of the id column to a string). If people are ok with these hybrid attributes I wonder if there's merit in deprecating all of the physical perm columns.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TEST PLAN
CI and added additional unit tests.
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[x] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

@bkyryliuk could you elaborate some more in relation to:

1 thing would be useful to think about -> automatic FAB permission rename on the DB renames

and

1 more thing would be nice to see in this PR -> keeping FAB with DB permission in sync, e.g. cleaning

If you referring to the possible cascading of renames, I think if we moved completely to hybrid attributes this would be solved.

@john-bodley actually scratch that, looks like it is already happening in the sync. I've seen some abandoned permissions, but there is probably a difference reason for them.

@bkyryliuk could you elaborate some more in relation to:

1 thing would be useful to think about -> automatic FAB permission rename on the DB renames

and

1 more thing would be nice to see in this PR -> keeping FAB with DB permission in sync, e.g. cleaning

If you referring to the possible cascading of renames (I'm not sure if the database perm relates to the datasource per), I think if we moved completely to hybrid attributes this would be solved.


David's Feedback

[ ] Make sure all of the links work as expected.
[x] Color blind proof it if I want.
[ ] Profile picture.
[ ] Capitalize h3 in GitHub projects section.
[ ] Fix skills overlap on smaller screens.

I've put some pictures of my website through the color blindness filter, and it is still legible. (Only really made a difference for blue-blindness and monochromatic color blindness).


Reference doc bug bash (look for both content issues and rendering issues) for Key Vault

Just an update - I believe @ramya-rao-a is creating an issue for the team that owns the ToC. I'm going to take a look at the some small issues I found in the code docs that we should be able to handle on our own.

To keep track of some of the work in-flight:

https://github.com/MicrosoftDocs/azure-docs/pull/67902
https://github.com/Azure/azure-sdk-for-js/pull/12977


Test Opportunity for CWU Demo

This issue has been auto-generated to facilitate questions about a paid opportunity that has just been posted on the BCDevExchange.To learn more or apply, visit the opportunity page. The opportunity closes on Wednesday, August 15, 2018.

This was a test.


[Event Request] Codeunit 6620 "Copy Document Mgt." - Procedure UpdateSalesCreditMemoHeader - OnUpdateSalesCreditMemoHeaderOnBeforeClearShptDate

Please add an Event OnUpdateSalesCreditMemoHeaderOnBeforeClearShptDate in Procedure UpdateSalesCreditMemoHeader in Codeunit 6620 "Copy Document Mgt."
procedure UpdateSalesCreditMemoHeader
    var
        PaymentTerms: Record "Payment Terms";
        IsHandled: Boolean;
    begin
        with SalesHeader do begin

            IsHandled := false;
            OnUpdateSalesCreditMemoHeaderOnBeforeClearShptDate(SalesHeader, IsHandled); // <-- NEW EVENT
            if not IsHandled then
                "Shipment Date" := 0D;

            GLSetup.Get();
            Correction := GLSetup."Mark Cr. Memos as Corrections";
            if ("Payment Terms Code" <> '') and ("Document Date" <> 0D) then
                PaymentTerms.Get("Payment Terms Code")
            else
                Clear(PaymentTerms);
            if not PaymentTerms."Calc. Pmt. Disc. on Cr. Memos" then begin
                "Payment Discount %" := 0;
                "Pmt. Discount Date" := 0D;
            end;
        end;
    end;

[IntegrationEvent(false, false)]
local procedure OnUpdateSalesCreditMemoHeaderOnBeforeClearShptDate(SalesHeader: Record "Sales Header"; var IsHandled: Boolean)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 43069.


Regression in v0.13.8 for SVG with text node and no embedded font (take two)

We found more SVG files which stopped working in ThorVG v0.13.8 because of the added text node support in 7e43cf402a4c5f585e96164661310a83f8d6eac4, and this problem is reproducible in v0.14.8.
Previous issue was #2468 and was fixed, but apparently this didn't solve the regression fully.
Godot bug report:

https://github.com/godotengine/godot/issues/96491

Here's a set of SVG files which do not render anything with ThorVG 0.14.8 (since 7e43cf402 in 0.13.8), both in Godot and in the ThorVG Viewer (provided by @antimundo, from their MIT licensed open source game poder-solar):
thorvg-text-node-breaks-images.zip
Here's one example from that set:

ThorVG v0.14.8 doesn't render it, while ThorVG v0.13.7 rendered it fine.
It does contain a text node, though I don't think it intends to display any text. This might have been added automatically by a plugin or copied over by mistake in a template SVG.
<text
       xml:space="preserve"
       style="font-size:37.3333px;font-family:Georgia;-inkscape-font-specification:Georgia;fill:#856944;fill-opacity:1;stroke:none;stroke-width:3;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:stroke fill markers"
       x="982.45825"
       y="503.88559"
       id="text5"><tspan
         sodipodi:role="line"
         id="tspan5"
         x="982.45825"
         y="503.88559"
         style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Impact;-inkscape-font-specification:Impact" /></text><text
       xml:space="preserve"
       style="font-size:18.6667px;font-family:'Franklin Gothic Medium';-inkscape-font-specification:'Franklin Gothic Medium, ';text-align:center;letter-spacing:0px;text-anchor:middle;opacity:1;fill:#399351;fill-opacity:1;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:miter;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:stroke fill markers"
       x="596.26978"
       y="1831.0868"
       id="text81"><tspan
         sodipodi:role="line"
         id="tspan81"
         x="596.26978"
         y="1831.0868" /></text>

Removing that node fixes the problem, but like in #2468, our expectation is that an incomplete/invalid text node shouldn't prevent rendering the rest of the valid SVG nodes.
Other SVG renderers don't seem to have problem with it (browsers, file managers, inkscape, etc.).

CC @mgrudzinska

@mgrudzinska There is an issue with the transformations inside a group of other SVG elements, even after loading an external font.

Confirmed that all addressed resources were fixed in v0.14.9.

Thanks @mgrudzinska!


After initializer crash and restart, rollback & recovery phases execute twice

Is this a bug, feature request, or feedback?
Bug
What is the current behavior?
Occasionally, after crashing and restarting the initializer worker, I see that the at-least-once source hangs after reconnecting to the initializer.  This hang appears to be related to performing rollback twice, perhaps.
What is the expected behavior?
What OS and version of Wallaroo are you using?
Ubuntu Xenial/18.04 LTS with 2 vCPUs & 4GB RAM + aloc-tee-source branch @ commit 128979202
Steps to reproduce?
make PONYCFLAGS="--verbose=1 -d -Dresilience -Dtrace -Didentify_routing_ids" build-examples-pony-aloc_passthrough

We start sink, then start a 2 worker cluster, then start sending a workload at very roughly 140 msgs/sec, then crash & restart the initializer worker.
Because the input file is small, execute this script to eliminate human typing speed problems. It assumes that the top of the Wallaroo source repo is at $HOME/wallaroo.
cd orchestration/aloc
./reset.sh  ; rm -f /tmp/wallaroo*
. ./sample-env-vars.sh
env PYTHONPATH=$HOME/wallaroo/machida/lib $HOME/wallaroo/testing/correctness/tests/aloc_sink/aloc_sink /tmp/sink-out/output /tmp/sink-out/abort 7200 > /tmp/sink-out/stdout-stderr 2>&1 &

./start-initializer.sh -v -n 2
sleep 1
./start-worker.sh -v -n 1 2
sleep 0.5
./poll-ready.sh -w 5 -v -a

env PYTHONPATH=$HOME/wallaroo/machida/lib:examples/python/celsius_connectors $HOME/wallaroo/examples/python/celsius_connectors/at_least_once_line_file_feed $HOME/foo.small.shasum 13000 &

sleep 2
./crash-worker.sh 1
sleep 0.2
./start-initializer.sh
sleep 10

During a correct run, the source will resume sending data approximately 5 seconds after the crash happens.  If I run grep -i phase /tmp/w* then I see the following (note that the wallaroo.1 file contains log messages from the restarted initializer worker process only):
/tmp/wallaroo.1:1568074689.014617,|~~ INIT PHASE I: Application is created! ~~|
/tmp/wallaroo.1:1568074689.021281,|~~ INIT PHASE II: Application is initialized! ~~|
/tmp/wallaroo.1:1568074689.023894,|~~ - Recovery Phase: Reconnect - ~~|
/tmp/wallaroo.1:1568074689.023916,|~~ -- Reconnect Phase 1: Wait for Boundary Counts -- ~~|
/tmp/wallaroo.1:1568074689.024418,|~~ -- Reconnect Phase 2: Wait for Reconnections -- ~~|
/tmp/wallaroo.1:1568074689.026459,|~~ - Recovery Phase: Prepare Rollback - ~~|
/tmp/wallaroo.1:1568074689.026511,|~~ - Recovery Phase: Rollback Local Keys - ~~|
/tmp/wallaroo.1:1568074689.027135,|~~ - Recovery Phase: Await Rollback Id - ~~|
/tmp/wallaroo.1:1568074689.027689,|~~ - Recovery Phase: Await Recovery Initiated Acks - ~~|
/tmp/wallaroo.1:1568074689.027930,|~~ - Recovery Phase: Rollback Barrier - ~~|
/tmp/wallaroo.1:1568074689.029293,|~~ - Recovery Phase: AwaitDataReceiversAck - ~~|
/tmp/wallaroo.1:1568074689.029312,|~~ - Recovery Phase: Rollback - ~~|
/tmp/wallaroo.1:1568074689.031106,Recovering worker: Skipping Phase III
/tmp/wallaroo.1:1568074689.031111,|~~ INIT PHASE IV: Cluster is ready to work! ~~|
/tmp/wallaroo.2:1568074674.217575,|~~ INIT PHASE I: Application is created! ~~|
/tmp/wallaroo.2:1568074674.221308,|~~ INIT PHASE II: Application is initialized! ~~|
/tmp/wallaroo.2:1568074674.224534,|~~ INIT PHASE III: Application is ready to work! ~~|
/tmp/wallaroo.2:1568074674.224865,|~~ INIT PHASE IV: Cluster is ready to work! ~~|

However, when this bug strikes, the same grep command finds that the rollback & recovery phases execute twice, e.g.:
/tmp/wallaroo.1:1568075665.849947,|~~ INIT PHASE I: Application is created! ~~|
/tmp/wallaroo.1:1568075665.852151,|~~ INIT PHASE II: Application is initialized! ~~|
/tmp/wallaroo.1:1568075665.854973,|~~ - Recovery Phase: Reconnect - ~~|
/tmp/wallaroo.1:1568075665.855038,|~~ -- Reconnect Phase 1: Wait for Boundary Counts -- ~~|
/tmp/wallaroo.1:1568075665.855243,|~~ -- Reconnect Phase 2: Wait for Reconnections -- ~~|
/tmp/wallaroo.1:1568075665.857162,|~~ - Recovery Phase: Prepare Rollback - ~~|
/tmp/wallaroo.1:1568075665.857239,|~~ - Recovery Phase: Rollback Local Keys - ~~|
/tmp/wallaroo.1:1568075665.857773,|~~ - Recovery Phase: Await Rollback Id - ~~|
/tmp/wallaroo.1:1568075665.858302,|~~ - Recovery Phase: Await Recovery Initiated Acks - ~~|
/tmp/wallaroo.1:1568075665.858672,|~~ - Recovery Phase: Rollback Barrier - ~~|
/tmp/wallaroo.1:1568075665.860203,|~~ - Recovery Phase: AwaitDataReceiversAck - ~~|
/tmp/wallaroo.1:1568075665.860221,|~~ - Recovery Phase: Rollback - ~~|
/tmp/wallaroo.1:1568075665.861542,Recovering worker: Skipping Phase III
/tmp/wallaroo.1:1568075665.861547,|~~ INIT PHASE IV: Cluster is ready to work! ~~|
/tmp/wallaroo.1:1568075670.918324,|~~ - Recovery Phase: Prepare Rollback - ~~|
/tmp/wallaroo.1:1568075670.920638,|~~ - Recovery Phase: Rollback Local Keys - ~~|
/tmp/wallaroo.1:1568075670.925205,|~~ - Recovery Phase: Await Rollback Id - ~~|
/tmp/wallaroo.1:1568075670.925748,|~~ - Recovery Phase: Await Recovery Initiated Acks - ~~|
/tmp/wallaroo.1:1568075670.931371,|~~ - Recovery Phase: Rollback Barrier - ~~|
/tmp/wallaroo.1:1568075670.932927,|~~ - Recovery Phase: AwaitDataReceiversAck - ~~|
/tmp/wallaroo.1:1568075670.932946,|~~ - Recovery Phase: Rollback - ~~|
/tmp/wallaroo.2:1568075663.051678,|~~ INIT PHASE I: Application is created! ~~|
/tmp/wallaroo.2:1568075663.056205,|~~ INIT PHASE II: Application is initialized! ~~|
/tmp/wallaroo.2:1568075663.058441,|~~ INIT PHASE III: Application is ready to work! ~~|
/tmp/wallaroo.2:1568075663.058676,|~~ INIT PHASE IV: Cluster is ready to work! ~~|

Full crash logs and source input file are at http://wallaroolabs-dev.s3.amazonaws.com/logs/logs.20190909c.tar.gz

I can't reproduce this on the aloc-tee-source+scripts+autoscale-checkpoint branch as of commit  d0e475ad.  Closing until I can reproduce again.


Implement all the Pages for the frontend.

Since the  Header, Footer, and the Entity Component are almost implemented and the basic setup is done.
It is time to implement the various pages so that further work can be done on each one.

Steps to implement:

To create new pages for each of the Contribute, Projects, Committee, Chapters
To fetch the API data from the backend, show the entity card on each page.

Related issues:

#88
#89
#90
#91

/assign

Its better to work on individual issues

@arkid15r Shall this one be closed now?

Let's close it after https://github.com/OWASP/Nest/issues/251 is implemented

Sure I will implement it latest by tonight.


Sign error in derivative of SmoothPower

Reported by ivar.torstensson on 14 Feb 2014 11:29 UTC
There is a sign error in Modelica.Fluid.Dissipation.Utilities.Functions.General.SmoothPower_der. The algorithm states
dy := -dx*pow*(-x)^(pow - 1);

when x is less than the lower threshold, but should say
dy := dx*pow*(-x)^(pow - 1);

Also, obviously the deltax and pow inputs are assumed to be constant. Shouldn't Modelica.Fluid.Dissipation.Utilities.Functions.General.SmoothPower annotate its derivative with zeroDerivative for those variables?

Migrated-From: https://trac.modelica.org/Modelica/ticket/1421

Comment by wischhusen on 14 Feb 2014 12:49 UTC
Yes, right. I will correct that sign.
I am not sure what is the better solution: using zeroDerivative or noDerivative and remove from the argument list of the derivative function?
input Real ddeltax "derivative of deltax";
input Real dpow "derivative of pow";

Any opinion?
The same question arises for Stepsmoother_der function.

Comment by wischhusen on 29 Apr 2014 19:42 UTC
fixed with 422e66d996b43b5b89f1cc51a04b38916bf34f4e

Comment by dietmarw on 30 Apr 2014 07:48 UTC
What about maintenance branch?  Please remember to fill in the Release Notes field and set the correct milestone when closing this ticket.

Comment by wischhusen on 30 Apr 2014 10:07 UTC
I will take care of the maintenance branch.

Changelog modified by wischhusen on 30 Apr 2014 10:07 UTC
Erroneous derivative of SmoothPower corrected for x<=-adeltax


Update Chromium version

The current Chromium version that comes with puppeteer has many bugs.
I ran into a bug and upgrading to version 65.0.3287.0 solved it.
You can upgrade the current version, please?
For a temporary solution I tried to use my version:
 const options = {
    executablePath: '/Users/netanelbasal/Downloads/chrome-mac/Chromium.app'
  }

But I'm getting Error: spawn EACCES.
Thanks.

@NetanelBasal when you specify the executablePath, you need to use the specify the actual executable, in your case it would be:
const options = {
  executablePath: '/Users/netanelbasal/Downloads/chrome-mac/Chromium.app/Contents/MacOS/Chromium'
}

Then you shouldn't get the error.

Thanks, my solution was to fork this repo and change the revision.

We've rolled recently, should be fine now

Hello, id like to add a newer version of chromium, where do i put the options variable, thank you


When using slayer.block.cuba.Pool, input-output dimensions are not as expected.

Steps to reproduce the behavior:

When I run this code

import torch
input = torch.randn(1,8,6,7,160)
CL= slayer.block.cuba.Pool(neuron_params, kernel_size =(2,2) , stride = 2, padding =0)
output = CL(input)
output.shape

I get output of shape [1, 8, 3, 4, 160]

Expected behavior
After pooling, I expected to get the shape [1,8,3,3,160]
Environment (please complete the following information):

Device: Laptop MAC
OS: MAC Sonoma 14.3.1 (23D60)
Lava version [e.g. 0.5.0]

Thank you for you question. @bamsumit Could you take a look at it?


Error: Cannot find module 'browserify-shim'

I got the following error from my gulp script:
[18:38:43] gulp-notify: [Compile Error] Cannot find module 'browserify-shim' from '/path/to/my/project/node_modules/react-dropzone-component'

I'm using browserify for my build, but I don't have browserify-shim installed. I suppose I could fix it by installing browserify-shim manually, but that doesn't quite seem to jive with the npm mindset.
I'm using v0.9.0, and I'm assuming this came about from the changes made around here

Hey, it's in the devDependencies - any idea why it wasn't installed? Also, unless you're recompiling, there's really no need to run the component through browserify again - you can just consume its main.

+1.
All I did was run npm install --save react-dropzone-component, and then grabbed the dropzone in an import statement.  Even if I change my import to have the full path, I get this error.  For example:
import Dropzone from 'react-dropzone-component/lib/react-dropzone'  <---  does not work
import Dropzone from 'react-dropzone-component' <--- also does not work
Both of the given examples yield the same error that is mentioned above...

I see this issue as well as I'm trying out this otherwise promising looking component.,

Hey, I'm not entirely sure how to fix this error. Browserify seems to pick up on the shim configuration in the component, but doesn't want to use it itself.
I just pushed a small bugfix, but I'm not sure that it'll help. Could one of you kindly give it a try?

Hi Felix.  I just tried version 0.9.1 and unfortunately I'm still seeing the message.  In case the error messages help, here you go:
><EMAIL_ADDRESS>browserify d:\svn\src\my_prog
> browserify -v -d -t babelify -o bundle.js client/Main.js

Error: Cannot find module 'browserify-shim' from 'd:\svn\src\my_prog\node_modules\react-dropzone-component'
    at d:\svn\src\my_prog\node_modules\browserify\node_modules\resolve\lib\async.js:46:17
    at process (d:\svn\src\my_prog\node_modules\browserify\node_modules\resolve\lib\async.js:173:43)
    at ondir (d:\svn\src\my_prog\node_modules\browserify\node_modules\resolve\lib\async.js:188:17)
    at load (d:\svn\src\my_prog\node_modules\browserify\node_modules\resolve\lib\async.js:69:43)
    at onex (d:\svn\src\my_prog\node_modules\browserify\node_modules\resolve\lib\async.js:92:31)
    at d:\svn\src\my_prog\node_modules\browserify\node_modules\resolve\lib\async.js:22:47
    at FSReqWrap.oncomplete (fs.js:82:15)

npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\
node_modules\\npm\\bin\\npm-cli.js" "run" "browserify"
npm ERR! node v4.2.3
npm ERR! npm  v2.14.7
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>browserify: `browserify -v -d -t babelify -o bundle.js client/Main.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>browserify script 'browserify -v -d -t babelify -o bundle.js client/Main.js'.
npm ERR! This is most likely a problem with the dgi_my_prog package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     browserify -v -d -t babelify -o bundle.js client/Main.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls dgi_my_prog
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     d:\svn\src\my_prog\npm-debug.log

Thanks!

Okay, good news - I spent the whole morning fighting Browserify and now simply switched to Webpack, together with a bunch of other minor improvements. If you install the brand new and shiny 1.0.0, everything should work for you!

Yes, indeed: you've fixed it.  Thank you very much!


Random error 'Bad signature' when launching with id block and id auth

It is really wired that the error occurs randomly, re-calculating id-block and id-auth may solve the problem.
I tried to locally validate the signatures in id-auth and it seems valid, so I'm not sure if it is because of my environment or the SNP firmware. If anyone have similar problem plz let me know.

This occurs after I start to use qemu  snp-kernel-hashes-v3 and OVMF snp-kernel-hashes-v3
According  to AMD SEV-SNP ABI doc,  Bad signature stands for wrong id-block signature(signed by id key) or id-key signature(signed by author key). But I checked the signatures and they are valid.

Fixed in #29 .


ADE support for S2D

Please could you clarify if Azure Disk Encryption (ADE) support S2D and eventually which version (ADE v1 and/or ADE v2) ?
Thanks
@SumanthMarigowda-MSFT

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

ID: 288f8109-44b2-99b4-118b-b26c54326aad
Version Independent ID: 66c3e929-608c-6f7b-653d-ca043dcafecb
Content: Azure Disk Encryption scenarios on Windows VMs - Azure Windows Virtual Machines
Content Source: articles/virtual-machines/windows/disk-encryption-windows.md
Service: security
GitHub Login: @msmbaldwin
Microsoft Alias: mbaldwin

@giovannifl Thanks for your feedback! We will investigate and update as appropriate.

@giovannifl Apologies for delay in responding here! ADE does not support S2D encryption (per https://docs.microsoft.com/en-us/azure/virtual-machines/windows/disk-encryption-windows#unsupported-scenarios) and there is currently no plan to add support for this scenario.


Improve code style of ros_control

Summary
Replaces C-style containers and pointers that were often badly allocated or not freed with C++-style containers and smart pointers.
Checklist

[x] Run colcon build
[ ] Write documentation
[x] Test on your machine
[x] Test on the robot
[ ] Create issues for future work
[x] Triage this PR and label it

Was tested extensively on robot (donna).


Fix float16 and TensorCore related issue in ChainerX

This PR aims to fix the issue below.

"CUDNN_STATUS_BAD_PARAM" occurs when ChainerX and float16 are used in the imagenet example due to improper setting of cudnn convolution math type.

Thank you for the PR! I added the test which reproduces the error in #7203 and confirmed that this PR fixes the error.

Jenkins, test this please.

Jenkins CI test (for commit 49af97674b51df3b3638f8b9e54c521b3d237bb1, target branch master) failed with status FAILURE.

Jenkins failure is unrelated to this PR. LGTM!

Thank you for your prompt response!


4064 fix switch demo

Description
The name variable was used instead of command.name => which broke the url for the post call.
closes #4064
Self Check:
Strike through any lines that are not applicable (~~line~~) then check the box

[ ] Attached issue to pull request
[x] Changelog entry
[x] Code is clear and sufficiently documented
[x] Sufficient test cases (reproduces the bug/tests the requested feature)
[ ] Correct, in line with design
[ ] End user documentation is included or an issue is created for end-user documentation (add ref to issue here: )

Reviewer Checklist:

[ ] Sufficient test cases (reproduces the bug/tests the requested feature)
[ ] Code is clear and sufficiently documented
[ ] Correct, in line with design

Processing this pull request

Merged into branches iso5, master in 194c7c18c55a68b5a597753ef934b27b77733ca2