creating non-simple pbkdf2

I looked at your test for pbkdf2:

    #[test]
    fn test_pbkdf2() {
        let tests = tests();
        for t in tests.iter() {
            let mut mac = Hmac::new(Sha1::new(), t.password[]);
            let mut result = Vec::from_elem(t.expected.len(), 0u8);
            pbkdf2(&mut mac, t.salt[], t.c, result[mut]);
            assert!(result == t.expected);
        }
    }

and modified it to this for my purposes, to generate a single key
//where seed_value/mnemonic are both &str
 let mut mac = Hmac::new(Sha256::new(),mnemonic.as_bytes());
    let mut result = Vec::new();
    pbkdf2(&mut mac,seed_value.as_bytes(),PBKDF2_ROUNDS,result[mut]);

however I'm getting an error that the pbkfd2 tests aren't:
src/rust_mnemonic.rs:150:57: 150:69 error: slicing syntax is experimental
src/rust_mnemonic.rs:150     pbkdf2(&mut mac,seed_value.as_bytes(),PBKDF2_ROUNDS,result[mut]);

I'm confused as to why rust-crypto doesn't have the same compiler error that I do?

thanks very much guys


FileInDir.java:34-37: Add one more (at least) test for...

The puzzle 226-ba71598e from #226 has to be resolved:
https://github.com/artipie/rpm-adapter/blob/99cb8ae09499295271ff364bcc901cb8a6947b65/src/main/java/com/artipie/rpm/misc/FileInDir.java#L34-L37
The puzzle was created by @olenagerasimova on 11-Jun-20.
Estimate: 30 minutes,  role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

@g4s8/z, @olenagerasimova/z please, pay attention to this issue

@0crat in

The job #257 assigned to @victornoel/z, here is why; the budget is 30 minutes, see §4; please, read §8 and §9; if the task is not clear, read this and this; there will be a monetary reward for this job

@0crat wait for #258

The puzzle 226-ba71598e has disappeared from the source code, that's why I closed this issue.

@sereshqua/z please review this job completed by @victornoel/z, as in §30; the job will be fully closed and all payments will be made when the quality review is completed

@0crat quality good


Require namespace for certain PURLs

As some purls are highly ambiguous without namespace it should be required to be present for a purl to be valid in the following cases (hardcoded as config):

github
maven

As invalid PURLs cannot be saved the user is not able to persist partial information (like the package type). Therefore, it would be good to instead show certain PURLs without namespace as marked incomplete in attribution and report view.


What's the data sources for the result 5.1 QAOA performance？

I'm interested in your work that appies QAOA to BNs' structure learning. Next I'd like to recreate some of your work, but it seems that the paper doesn't mention the source of data for the result 5.1 QAOA performance. Looking forward to your reply!

Hi. Thank you for your interest in the work. If you mean the real application you can find the data in the .txt files. You will have to load them as are the precomputed scores for the BN learning


Undefined variable $_global_active_navigation (View: /Users/michaelcoyne/Documents/Sites/twill/resources/views/vendor/twill/partials/navigation/_overlay_navigation.blade.php)

Description
Undefined variable $_global_active_navigation (View: /Users/michaelcoyne/Documents/Sites/twill/resources/views/vendor/twill/partials/navigation/_overlay_navigation.blade.php)
Steps to reproduce
Upgrading from Twill 2 > 3
Composer update
php ./vendor/area17/twill/upgrade.php
php artisan twill:build
npm run watch
Expected result
No error
Actual result
Error
Versions

2/3

8.83.27

PHP 8.0.14

Postgres

Closing as this was an override in my local views.


modal does not shows up

took the example
modal.alert()
    .title('Hello World')
    .body('In Angular')
    .open();

but no modal is showing up (no errors) any idea what can be the reason ? (Angular: 5.0.3)

The same issue. Used instructions from readme, plugin hides the scroll bar but does not show any dialogs. So the plugin seems to be broken or outdated and can not be used with Angular 5 right now, need a fix

Do you wanna install a minimum project and check? and also check the version of your bootstrap package.  See if it's v3 or v4

If it's v4. Add this in your component in this case.

This should definitely be added to project's readme file to avoid such inconveniences. Thanks a lot for sharing a solution, @qqnc!

I think that since now bootstrap v4 has been official. Probably better make bootstrap v4 enabled in default, and some documentations for bootstrap v3.

Hi guys,
PR's are welcome.
I suggest waiting for my upgrade to V6, then if someone will post a PR that will be great.
Don't have time to manage all issues.

Thanks, @shlomiassaf
We all understand your hard working on this project.  We'll wait for your upgrade to V6, and see what we can help for the issues.  Do you agree to switch to bootstrap 4 as default, and documents for v3?

@qqnc  Thanks ! Your answer helped me.

Now I've got this issue with version 6.0.0 and boostrap 3

closed by #434


Sanitize URL well

This is a security update and I highly urge you to update your code immediately to stay secure.
This fixes the following security issues

XSS

These issues may have a "High" impact if the markdown parser is used in a chatroom system that accepts user input; and user accounts are enforced.
This update also includes a new method, mrk.sanitizeURL(url), which should be used for all src and href attributes. You must use this together with the existing HTML sanitizer.
This pull request has not been tested.

I have verified this locally, it looks good to me

(ping @heyitsmeuralex)
@joker314 I don't have push permission to this repository :P

Will fixing this here automatically fix it in Decent; or did you make a seperate copy of mrk in the decent repo? @towerofnix

I'll publish a new version as soon as I get home.


Setting the status to 0 causes high latency

Setting the status to 0 for operations like AddRefSeqAliasesChange, LocationStartChange, LocationEndChange, etc., causes high latency when large assemblies are loaded into the database.
https://github.com/GMOD/Apollo3/blob/main/packages/apollo-collaboration-server/src/changes/changes.service.ts#L163-L205

Short-term, we should make it so that setting the status only happens after relevant changes, not all changes. I think the relevant changes are: AddAssemblyAndFeaturesFromFileChange, AddAssemblyFromExternalChange, AddAssemblyFromFileChange, and AddFeatureChange.
Long-term, we might want to see if there's a different way to do what the status field does. It's there to be able to easily remove entries if there is an error later on in adding the assembly/features, since those actions are often too big to use a db transaction.


hwaccel: adding more log and looking for the right csv

Fix a small issue when there more then one csvs  usually happens in Prow

/lgtm


Arduino Nano Every support

I want to add support for Arduino Nano Every board and ATMega4809 chip.
Will start after #88
@Rahix should I wait and implement other tickets? I can start in first week of November.

You're free to do whatever you want :) That said, I fully support adding Nano Every support, if you want to go for that, that's great!

I start review of this board. Looks like there is inconsistency in chip and board clock setup https://github.com/arduino/Arduino/issues/9017
Not sure how we should support this. @Rahix, should we setup by default 16MHz or speedup to max 20MHz?

I'd stick with 16 MHz for the default.  If someone wants to reconfigure the MCU, they can always do that in their application code.

I'm interested in getting board support for this hardware, and I'd be willing to help.
I saw that support for ATmega4809 has been added to avr-device. What are next steps, can I somehow support the effort?

Okay, unfortunately we're hitting a bit of a road-block with this board right now:  The version of avr-libc that's distributed most commonly does not contain the CRT (C runtime) for avrxmega3.  The version shipped by Arduino does, but telling people they need to use a custom compiler/toolchain will probably not end well.
So, to move forward with this, I think the next logical step is something that was inevitable anyway: To get rid of our dependence on the C runtime and instead rewrite it in Rust (yay).  I'll look into this eventually, but I want to get #129 rolling first, so I'll have to push this back a little, unfortunately.
Maybe we can find a way to hack around this by using a different CRT in the meantime...

Okay, I was able to get a blinky working by using a CRT for a different MCU + architecture but this feels super fragile and is not something I'd want to label as "proper support" in any way... So I think waiting for the non-C runtime is probably the better solution here...

I believe Arduino uses Atmel's fork of avr-libc: https://www.microchip.com/mymicrochip/filehandler.aspx?ddocname=en611560

Well possible... In any case we want to drop our dependency on avr-libc and roll an implementation of our own in avr-device.  I think working on that will be the most straight forward path, instead of trying to depend on a forked version of a C runtime.

Hey there,
Thanks for all the effort on avr_hal. I just purchased a bunch of Every's and wanted to toy around with them. Nothing serious, Is there any update to getting this working? Currently I can't get avr_hal to even program the Every:
/dev/ttyACM0 - Arduino_LLC_Arduino_Nano_Every_025D4E0D515146544E4B2020FF0D0D2F

$ cargo run -- -P /dev/ttyACM0
Finished dev [optimized + debuginfo] target(s) in 0.02s
Running ravedude nano -cb 57600 target/avr-atmega328p/debug/arduino-client.elf -P /dev/ttyACM0
Board Arduino Nano
Programming target/avr-atmega328p/debug/arduino-client.elf => /dev/ttyACM0
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
Not sure if I'm missing anything, but

Though, it looks like you're building a binary for avr-atmega328p. That definitely won't work.

I'll be honest, I've not got a clue what it is I'm doing :joy:

In that case, you probably don't want to be using Rust on AVR, especially on a currently unsupported platform like the Nano Every. It's currently very early. Hopefully it'll improve with time, but if you want something you can use with Rust now then I'd recommend either following the Embedded Rust Book with an STM32F3DISCOVERY or using atsamd-rs with any ATSAMD board, preferably one compatible with cargo-hf2 like the Adafruit Feather M0. Even if you get a board like the Arduino Nano 33 IoT that doesn't support cargo-hf2 officially, you might be able to install a bootloader that supports it. cargo-hf2 isn't required, though, but it does make things easier.

Oh I'd love to. Unfortunately I'm 'stuck' with the every. For now I'll use C then, and move to rust as soon as it's supported.
Thanks!

The version of avr-libc that's distributed most commonly does not contain the CRT (C runtime) for avrxmega3. The version shipped by Arduino does, but telling people they need to use a custom compiler/toolchain will probably not end well.

I've encountered this same issue while working on #357. I also was able to get it working with the toolchain provided by Arduino.
Looks like upstream avr-libc added support for this family earlier this year (https://github.com/avrdudes/avr-libc/commit/960a359d854001399b8fb445a9ad0ce3ea80f4d0) so it will probably be in the next release.
@Rahix If you don't want to merge #139 / #357 to main yet, then in the meantime, would you consider creating a feature branch for avrxmega3 to make collaboration easier? We both wrote the same crate independently 😅. I also saw some discussion about making an unstable feature flag, I would also be okay with that.

I also was able to get it working with the toolchain provided by Arduino.

Yes, they do ship the support because they need it for the Nano Every.

Looks like upstream avr-libc added support for this family earlier this year (avrdudes/avr-libc@960a359) so it will probably be in the next release.

Interesting!  That's good news!  But I'm still in favor of dropping the dependency on avr-libc entirely as soon as possible.  But at least this means we'll have a stop-gap solution soon.

would you consider creating a feature branch for avrxmega3 to make collaboration easier?
I also saw some discussion about making an unstable feature flag, I would also be okay with that.

Hm, actually I think I'd be fine with merging directly to main.  With #139, I just didn't want to do it yet because it was all way too brittle still.  But if you/we can build a proper version, I wouldn't hesitate merging it to main.  We should just add a disclaimer about using the Arduino toolchain with instructions on how to do that.

Hi,
Not sure if Nano Every is the same as the Nano I have (maybe that's even newer?) but I'm getting the same issues described above:
λ cargo run
    Finished dev [optimized + debuginfo] target(s) in 0.04s
     Running `ravedude nano -cb 57600 -P /dev/tty.usbserial-A10LWGNO target/avr-atmega328p/debug/led.elf`
       Board Arduino Nano
 Programming target/avr-atmega328p/debug/led.elf => /dev/tty.usbserial-A10LWGNO
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00

This is what I got:

Not sure if Nano Every is the same as the Nano I have (maybe that's even newer?) but I'm getting the same issues described above:
It is not. The Nano you have is based on the ATMega328 while the Nano Every is based on the ATMega4809. From my understanding The core processor architecture is the same, but most of the built in peripherals and bootloader are different.


vscode

OS:
Microsoft Windows [Version 10.0.18363.1016] (x64)
VSCode version:
Version: 1.47.3 (system setup)
Commit: 91899dcef7b8110878ea59626991a18c8a6a1b3e
Date: 2020-07-23T13:12:49.994Z
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18363
Extension version:
v1.5.3
Toolchain version: <!-- Name and version of the compiler you used.  Run <compiler> --version for C++ or rustup show for Rust. -->
Default host: x86_64-pc-windows-msvc
rustup home:  C:\Users\JR.rustup
installed toolchains
stable-x86_64-pc-windows-msvc
nightly-2020-05-15-x86_64-pc-windows-msvc
nightly-x86_64-pc-windows-msvc
active toolchain
nightly-x86_64-pc-windows-msvc (overridden by 'rust-toolchain')
rustc 1.47.0-nightly (6c8927b0c 2020-07-26)
Build target:
nightly-x86_64-pc-windows-msvc (overridden by 'rust-toolchain')

Step into:
pub fn await_future<F: Future>(f: F) -> F::Output {

futures::executor::block_on( async { f.await})
}

See attached
[CodeLLDB.txt](https://github.com/vadimcn/vscode-lldb/files/5064761/CodeLLDB.txt)

thread 'main' has overflowed its stack
Debug adapter exit code=3221225725, signal=null.

I get that stack overflow problem too. Any tips on overcoming this problem?

Still happening for me too

Determined this is definitely happening in codelldb.exe. Editing the stack size for that file to be 1000MB delays this error, but doesn't stop it.

Just encountered this on a fairly small code. Is any solution being worked on?

Is any solution being worked on?

No, not really.  The bug is inside the core lldb engine, and I curently don't have the time nor the motivation to investigate it.
Please see this:


How to make custom routes require user auth?

Hello I have looked over the document and not really sure if I missed it but. I am trying to use Jwt with mongodb to create a project how can I use fastapi users to prevent access to custom routes. For example someone who is not logged in and authenticated cannot view a /orders , /profile,  /settings or any custom  page that requires logged in users?

You should use the dependency callables : https://frankie567.github.io/fastapi-users/usage/dependency-callables/

@frankie567 Thank you I was looking for that in the docs don't know how I missed it. Thanks for the help and awesome project


Update Electron to fix i18n on macOS

Since Electron 10.1.6 i18n is broken on macOS and app.getLocale()
always return en_US, see https://github.com/electron/electron/issues/26612
Updating Electron to 11.1.1 fixes the issue and app.getLocale() again
returns the proper values.
Signed-off-by: Christoph Settgast<EMAIL_ADDRESS>

Thank you!

Thank you!


add readthedocs link

Codecov Report

Merging #23 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #23   +/-   ##
=======================================
  Coverage   24.15%   24.15%
=======================================
  Files           6        6
  Lines         327      327
=======================================
  Hits           79       79
  Misses        248      248

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8125b61...be395c3. Read the comment docs.


AWS historical charts

Adds AWS historical charts
Fixes https://github.com/project-koku/koku-ui/issues/513

Codecov Report

Merging #514 into master will decrease coverage by 0.06%.
The diff coverage is 55.55%.

@@            Coverage Diff             @@
##           master     #514      +/-   ##
==========================================
- Coverage   83.89%   83.82%   -0.07%
==========================================
  Files         157      157
  Lines        2328     2331       +3
  Branches      364      367       +3
==========================================
+ Hits         1953     1954       +1
- Misses        336      337       +1
- Partials       39       40       +1

Impacted Files
Coverage Δ

...istoricalTrendChart/historicalTrendChart.styles.ts
100% <ø> (ø)
:arrow_up:

...ents/historicalTrendChart/historicalTrendChart.tsx
73.33% <33.33%> (-1.67%)
:arrow_down:

src/components/commonChart/chartUtils.ts
81.73% <66.66%> (+0.16%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7d43d0c...0008339. Read the comment docs.


Remapping Copilot key malfunctioning

Microsoft PowerToys version
0.86.0
Installation method
Microsoft Store
Running as admin
None
Area(s) with issue?
Keyboard Manager
Steps to reproduce
Try to remap the Copilot key on Lenovo Legion 5i.  Remapping as a "key" or a "shortcut" both do not work.  Remapping key does nothing.  Remapping shortcut changes "Shift (Left) + CTRL (Left) + F23" to "CTRL (Right)" by appearance in the window only (but not actual function).
✔ Expected Behavior
Remapping shortcut: "Shift (Left) + CTRL (Left) + F23" to "CTRL (Right)" is expected to produce "CTRL (Right)" when pressing Copilot button.  This is so that I can have a right-hand CTRL issue, as I need to be able to perform a "CTRL+ALT+DEL" with one hand, which is currently impossible, since there is no CTRL (Right) button on the keyboard of this machine, but I don't need the Copilot button, so remapping would be a huge help.
❌ Actual Behavior
The actual remapping appears to be just Shift (may be other keys as well, but can confirm Shift appears to be remapped from doing this, even though the intended function is to reproduce "CTRL (Right)".
Other Software
No response

/dup #35808


When operator jumps to a unique char, the temporary highlight should take forced-motion into account

For example, if the cursor is on the beginning of "jump", and the user types cVzx (where "x" is unique in the direction), the whole line should be highlighted with strikethrough, instead of this:

This is doable, as vim.fn.mode can now return information about forced-motion, but requires a bit of work. Will fix it soon.

In fact, we should use vim.highlight.range for this, and get rid of highlight-area-between, I don't want to reinvent the wheel again. We can simply pass the selection type as an argument then, and the rest is handled by the function. Unfortunately, vim.region (which highlight.range depends on) is not implemented properly yet, and the regtype parameter has no effect at all.


Cannot read property 'DEPT' of undefined

Describe the bug
When trying to display a log after .Las file read I face this error. But this doesn't happen in all Las files I tried
ERROR TypeError: Cannot read property 'DEPT' of undefined     at Object.curveBox (index.js:940)

Could you paste an example LAS file that will cause the error?

Thanks for the error report @almersawi
I suspect the name of the depth curve is hard coded somewhere in the code that you're trying to run. I've gotten the same error before when I've done that.
Something in the code you're running states that the name of the depth curve is 'DEPT'. When that curve name doesn't exist in a LAS file, your code can't find it and will produce that error.
I've loaded a well into the demo webpage that had a depth curve named "DEPTH2" and it didn't produce the error, so I suspect the problem isn't there? https://justingosses.github.io/wellioviz/demo.html
Can you tell us whether you get this error in one of the demos or how you're using wellioviz? It would help debug. Thank you.

Thanks for reply @JustinGOSSES
this is my code workflow:

The user upload his .Las file
After parsing it I load the las headers into a select-option drop down where the user choose the depth header he wants. So of course the depth header is not hard coded.
The user choose the log he wants to view. Then all the data is sent to wellioviz where I make a template and get data depending on the chosen depth header and chosen log header

@JustinGOSSES
NOTE:
the file las file that produces this error can not be read with wellio and gives me this error when I try to load it to wellioviz demo page
Uncaught TypeError: Cannot read property 'split' of undefined     at splitLineofType1 (bundle.js:22171)     at las2json (bundle.js:22199)     at convert_and_startHelpers (main.js:139)     at HTMLButtonElement.onclick (demo.html:98)
So, I used another package to read this file. The parsing process succeeds but wellioviz gives me the mentioned error regarding to depth header

Hmm, sounds like maybe you have an edge case in terms of how the LAS file is built. Could you share the file? If log is proprietary, maybe change the name and replace all the curve values with random numbers?

@almersawi,
Is there an error message when trying to read the file with Wellio.js instead of Wellioviz?
Also if the file is proprietary, you could run it through LasCheck, https://github.com/MandarJKulkarni/lascheck, and see if it reports any LAS non-conformities.  LasCheck is a python based tool so you would need python install for this to work.
pip install lascheck
python
 >>> las = lascheck.read('sample.las')
 >>> las.check_conformity()
 >>> las.get_non_conformities()

Thanks,
DC

Triage notes for Uncaught TypeError: Cannot read property 'split' of undefined at splitLineofType1 (bundle.js:22171) at las2json (bundle.js:22199) at convert_and_startHelpers (main.js:139) at HTMLButtonElement.onclick (demo.html:98)
This looks like it is occurring after wellio/wellioviz parses the ~V section then parses the 'WRAP' line.  However the 'WRAP' line seems to be empty causing 'split' to be undefined on an empty object at splitLineofType1()

closing as got now response enabling full debugging


NTR: serine dehydration

I have a paper PMID: 32474107 (Mechanism of eukaryotic serine racemase-catalyzed serine dehydration).
They show that Dicty srr / DdSR/ DDB_G0289463 / Q54HH2 a serine racemase also dehydrates serine, and interestingly D-Ser as well as L-Ser.
If for wider interest as all organisms have SR, the specification of D-Ser and L-Ser would be great.

protein dehydration GO:0018249
-- peptidyl-L-serine dehydration GO:NEW
-- peptidyl-D-serine dehydration GO:NEW

And to BP:

amino acid homeostasis GO:0080144
-- serine homeostasis GO:NEW

Thanks!

Isn't this happening to free amino acids, not  peptidyl?

Hi Petra,
protein dehydration GO:0018249 seems like a 1-step BP, we wont be creating those anymore. There are only 2 EXP annotations, I think we should obsolete.
@hdrabkin what do you think ?
Thanks, Pascale

@hdrabkin, @pgaudet
We found these!
GO:0003941 L-serine ammonia-lyase activity
GO:0008721 D-serine ammonia-lyase activity
From the reaction, these are it. Could the simple synonyms be added so I could have found them right away?
GO:0003941
Syn: L-serine dehydration
GO:0008721
Syn: D-serine dehydration
Thanks!

done


chore(with): remove deprecated 'with' command

I'm going to close this since we think we can fix it now ;)


Thang/remove mlflow from train script

Remove mlflow code in run_plm script due to the error when run the script by model runner.
The error maybe caused by re-define the tracking uri in the script. To test my theory, I move the mlflow code to run_clm and add the log parameters.

LGTM


chore: fix standalone

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

GitHub release
v0.8.1

Your semantic-release bot :package::rocket:


Update extract-api.ts

Description of changes

CDK / CloudFormation Parameters Changed

Issue #, if available

Description of how you validated changes
Checklist

[ ] PR description included
[ ] yarn test passes
[ ] Tests are changed or added
[ ] Relevant documentation is changed or added (and PR referenced)
[ ] New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies
[ ] Any CDK or CloudFormation parameter changes are called out explicitly

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

Codecov Report

Merging #1286 (283b5cb) into main (2b4e87e) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main    #1286   +/-   ##
=======================================
  Coverage   63.63%   63.63%
=======================================
  Files         297      297
  Lines       18618    18618
  Branches     4493     4493
=======================================
  Hits        11848    11848
  Misses       6150     6150
  Partials      620      620

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


Thermostat KKMOON HC-T010-EWF

Can we add a new device: https://ewelinkcommunity.net/device-lists/heating/kkmoon-hc-t010-ewf/

Hi @alexovchinnicov
Do you own this device?
Would you be happy to share it to my ewelink account? It always makes adding new devices so much easier!
Thanks

Yes. I bought it for water heater. What is your ewelink id?

Could I message you on my discord server?
https://discord.gg/cMGhNtZ3tW

Added in v4.7.0 :)


Tutorial uses not recommended FunctionComponent type

Reproduction
read tutorial
System Info
n/a

Used Package Manager
npm
Expected Behavior
tutorial uses:
function Favorite({contact}: { contact: Pick<ContractRecord, "favorite"> }) {

Actual Behavior
tutorial uses:
const Favorite: FunctionComponent<{
  contact: Pick<ContactRecord, "favorite">;
}> = ({ contact }) => {

@ka-avl-tailor Please provide some documentation about why we shouldn't use FunctionComponent

https://react-typescript-cheatsheet.netlify.app/docs/basic/getting-started/function_components/


Decide if we want to have pre-commit hooks

Decide if we want to have pre-commit hooks. If the answer yes, add a hook.
See: https://github.com/pocc/pre-commit-hooks

If think we can just add this, because people who don't want them don't have to use them.

I agree.

We should make it optional.

Relevant for the configuration: @csbnw mentioned that at Astron they make use of:

C++ code: clang-format and clang-tidy with Google code style
Cmake files: cmake-format and cmake-lint

It might be nice to make use of the pre-commit framework, anyone an opinion on this?

One of the development teams at ASTRON that works on software for LOFAR and the SKA is called "Team Schaap". They have a repository with commonly used files, including clang-format and clang-tidy. The formatting is applied by calling this script. The .clang-tidy is recognized by an IDE (e.g. Visual Studio Code) when an extension like Clang-Tidy is used. While clang-format is typically strictly enforced in the CI, clang-tidy is used more loosely and mostly prevents comments on MR's that could (easily) have been avoided by fixing the suggestions.

We have to mindful though that using files from for example https://git.astron.nl/RD/schaapcommon affects the license that this repo can legally have


Allow comments in Brewfile

Hi,
I wanted to add a few comments to my Brewfile like the syntax of this bundle and a link to this GitHub for future reference. Sadly I was not able to figure out a comment syntax that worked. Pointing brew bundle to the Brewfile with comments always throws syntax errors.
Any ideas on how to work around this?

Brewfiles are a Ruby DSL so comments can be added with #.


Newer release available com_github_fmtlib_fmt: 8.0.1 (current: 7.0.3)

        Package Name: com_github_fmtlib_fmt
        Current Version: 7.0.3@2020-08-07 13:39:57
        Available Version: 8.0.1@2021-07-02 23:14:33
        Upstream link: https://github.com/fmtlib/fmt

New version is available for this package
New Version: 8.1.0@2022-01-02
Upstream releases: https://github.com/fmtlib/fmt/releases
New Issue Link: https://github.com/phlax/envoy/issues/81


No Draw Game.

The rules say that a game is draw when it ends with equal number of flatstones of each player on the board.(Black will have one left to play but the game will be terminated) The current implementation states it to be a win for black. What will be the final take on this matter.

Hmm I'm not sure why you say black will have one left to play. Equal number of flatstones means equal number of flatstones on top. So either player could be out of pieces.

I meant to say that the game ends with equal number of flats on top but white was out of peices, and black had one left.

Ok, in that particular case, black will win.


add support for testnet & friendly shorter option using infura

Based on PR #12
2 main supports added

Simpler/shorter command when using Infura Node service:
Support more user-friendly rpchost, rpctls setting by specifying --infura-mainnet="True" which is equivalently to setting the following three options one by one
--rpchost "mainnet.infura.io/{INFURA_KEY}" --rpcport "443" --rpctls="True"

Namely, now to get opcode, use:
./myth --infura-mainnet="True" -d -a "0x2a0c0dbecc7e4d658f48e01e3fa353f44050c208"

Add testnet supports (rinkeby, kovan and ropsten)
For most projects, deployment and bug bounty program are on testnet. Therefore, I think adding testnet support is useful for code audit team.
Also using infura node on testnet. An example to produce CFG of this contract on Rinkeby , use:

./myth --infura-rinkeby="True" -g "rinkeby_graph.html" -a "0x0Eb437eA629d6e1f71f84a702A96CA4E0932f6f4"

Cheers

Plus: xrefs also works as follow:
./myth --infura-mainnet='True' --xrefs -a 0x76799f77587738bfeef09452df215b63d2cfb08a

Thanks @AlexXiong97!


Combined @auth rules (iam+userPools), accessing the items of others

Describe the bug
I have an issue with the combined authorization rules in app which allows to receive a feedback from Authenticated (userPools) and Unauthenticated (IAM) users (schema below). For some reason, Authenticated users can read/list only own-created items while Unauthenticated users can read/list all items in db (own + others).
Amplify CLI Version
3.17.0
To Reproduce
type Feedback
  @model
  @auth(
    rules: [
      {allow: public, provider: iam, operations: [create, read, update, delete]}
      {allow: owner, operations: [create, read, update, delete]}
    ]
  ) {
  id: ID!
  identityId: String
  fileId: String
  resume: String
}

Expected behavior
Ideally I would like to set following access:

Unauthenticated user can create and read their own item only (by accessing with an identityId taken by IAM)
Authenticated users create one, can read all items

Do you have any idea how to make this schema better?

In my case, Authenticated user (userPool) have incorrect result of query listFeedback where some random items from db are missed for some reason. I have 5 items in db, but get 3 items in result, despite the same rules. Super confusing and unpredictable.
Is there another place where custom rules are registered for each item in db?

Another weird case:
I have 2 items created by Authenticated owner, and 3 of Unauthenticated (iam) users.
Unauthenticated user can access to all items (it's ok)
Authenticated user can access to own items, but only see some 1 or 2 random item of other unauth authors.
But, once the Auth user create a new item, it can access to other's items that wasn't previously accessible.  It's an unobvious magic here

I have the same issue and I think I can explain the reason.
If you open AppSync console and look in the schema, you'll see the reason.
@model generates multiple types implicitly. For example,
type Post @model @aws_api_key {
}

generates
type Query {
  getPost(id: ID!): Post
  listPosts(filter: ModelPostFilterInput, limit: Int, nextToken: String): ModelPostConnection
}

type ModelPostConnection {
  items: [Post]
  nextToken: String
}

input ModelPostFilterInput {
}

for read operations.
However, it's not working in multi auth mode.
According to https://aws.amazon.com/blogs/mobile/using-multiple-authorization-types-with-aws-appsync-graphql-apis/,
We actually need
type Query {
  getPost(id: ID!): Post @aws_api_key
  listPosts(filter: ModelPostFilterInput, limit: Int, nextToken: String): ModelPostConnection @aws_api_key
}

type ModelPostConnection @aws_api_key {
  items: [Post]
  nextToken: String
}

instead.
In other words, current @model directive cannot handle multi auth directives well.

Oh, never minds. I misunderstood that this is the same issue. I'll file the new issue instead.

No, it's the same issue? You didn't use @aws_iam and @aws_cognito_user_pools directives?

@mrnix do you have a repro project what I could take a look at and provide complete mutations to repro those "random" query results, that seems off to me and I'd look in to it.
@hirochachacha if you're using @model then it goes best with @auth because the directives you used @aws* those are the service level directive and the CLI is just passing them through, the resolvers will have no code to handle those, this is by design.

@attilah sure,
here is schema: https://github.com/mrnix/importa/blob/2edb875c4f4c8fcd06caf7e184c8cd9bcfa11e2a/packages/backend/amplify/backend/api/importa/schema.graphql#L48
Query request, I finally make it work consistant for Auth and Unauth with passing the authMode: 'AWS_IAM' param. https://github.com/mrnix/importa/blob/2edb875c4f4c8fcd06caf7e184c8cd9bcfa11e2a/packages/web/src/components/ExportView/ExportView.tsx#L76
Thank you for your help!

@attilah Thank you.  I can be making progress. However, I still see the problem for @connection.
type Post
  @model
  @auth(rules: [
    {provider: oidc, identityClaim: "sub",  allow: owner}
  ])
  @auth(rules: [
    {provider: apiKey, allow: public, operations: [read]}
  ]) {
    id: ID!
    text: String!
    createdAt: AWSDateTime

    comments: [Comment!] @connection(name: "PostComments", sortField: "createdAt")
}

type Comment
  @model
  @auth(rules: [
    {provider: oidc, identityClaim: "sub",  allow: owner}
  ])
  @auth(rules: [
    {provider: apiKey, allow: public, operations: [read]}
  ]) {
    id: ID!
    text: String!
    createdAt: AWSDateTime

    post: Post! @connection(name: "PostComments", sortField: "createdAt")
}

will generate
type Post @aws_api_key @aws_oidc {
  comments(createdAt: ModelStringKeyConditionInput, filter: ModelCommentFilterInput, limit: Int, nextToken: String, sortDirection:     ModelSortDirection): ModelCommentConnection @aws_api_key
  id: ID!
  text: String!
}
...

As you can see, Post.comments field has only @aws_api_key, doesn't have @aws_oidc, therefore oidc users cannot read Post.comments field. I guess this is a bug.
@mrnix 's approach is good work around for now.

When I set @aws_api_key and aws_oidc explicitly,
  ...
  comments: [Comment!] @connection(name: "PostComments", sortField: "createdAt") @aws_api_key @aws_oidc
  ...

I see the result contains @aws_oidc
  ...
  comments(createdAt: ModelStringKeyConditionInput, filter: ModelCommentFilterInput, limit: Int, nextToken: String, sortDirection:     ModelSortDirection): ModelCommentConnection @aws_api_key @aws_oidc
  ...

But it has no effect for access control. I have no idea.

I was misunderstanding about @auth usage.
I end up with a usage like
  @model
  @auth(rules: [
    {allow: owner, provider: oidc, identityClaim: "sub"},
    {allow: groups, groups: ["user"], operations: [read], provider: oidc, groupClaim: "https://example.com/roles"}
  ])
  @auth(rules: [
    {allow: public, operations: [read], provider: apiKey}
  ])

It works fine except the fact that current implementation doesn't support groups authorization for oidc provider. Therefore, I've created https://github.com/aws-amplify/amplify-cli/pull/2719.


[Python] Change docstring for decompressed_size arg in pyarrow.decompress to reflect implementation

Describe the bug, including details regarding any error messages, version, and platform.
The docstring for decompressed_size in pyarrow.decompress and the underlying Codec.decompress states:

decompressed_size : int, default None
If not specified, will be computed if the codec is able to determine the uncompressed buffer size.

However, you can see from the implementation that the behavior isn't possibly and that the argument is effectively required because we always raise when it's None:
https://github.com/apache/arrow/blob/4e9158d373df105f01ba9d6052cfb9ab7ecdcbeb/python/pyarrow/io.pxi#L2091-L2124
For example,
import pyarrow as pa

pa.decompress(pa.compress(bytes('mydata','utf-8')))

Raises:

ValueError: Must pass decompressed_size for <pyarrow.Codec name=lz4 compression_level=1> codec

I think the original intent was to support detecting or estimating the size of the output buffer for codecs that support it (like Snappy) but, the last time this was brought up, it was marked as low priority and remains unimplemented.
Should the argument be made required and the bit about "If not specified" be removed?
Component(s)
Python

Yes, I think we should certainly update the docs to match the current behaviour (which is indeed to always require the decompressed_size)


How to use warm_start with Dual variables

For initiating the solver with a start guess for normal variable problems one would use:
x.value = 1/2
how would one do it for a dual variable problem?
I get my results as:
-all_constraints[0].dual_value.transpose()
my initial guess would be:
all_constraints[0].dual_value = -warm_start_values

Simple example (not the same as mentioned above):
import cvxpy as cp
Create two scalar optimization variables.
x = cp.Variable()
y = cp.Variable()
Create two constraints.
constraints = [x + y == 1,
x - y >= 1]
Form objective.
obj = cp.Minimize((x - y)**2)
Form and solve problem.
prob = cp.Problem(obj, constraints)
constraints[0].dual_value = 3
prob.solve()
The optimal dual variable (Lagrange multiplier) for
a constraint is stored in constraint.dual_value.
print("optimal (x + y == 1) dual variable", constraints[0].dual_value)
print("optimal (x - y >= 1) dual variable", constraints[1].dual_value)
print("x - y value:", (x - y).value)

closed and moved to stack overflow
(https://stackoverflow.com/questions/63466839/how-to-use-warm-start-with-dual-variables-in-cvxpy)


Add VB.Net Support

I don't have the latest ReSharper, so I developed this code against an older commit targetting 9.1 and merged into the latest when I was finished. Because of this, I wasn't able to do any final testing before this pull - but can confirm it was working before the merge. I used Issue #33 as a guideline.
Here are the items listed in the issue and completion status:

[x] Create T4CSharpCodeGenerator
[x] Implement IVBCustomModificationHandler
[x] Implement VBTypingAssistBase
[x] Add VB Daemon Stage for highlighting
[ ] Add VB Daemon Stage for errors
[ ] Add IProjectFileCodeStructureProvider

I changed the C# Daemon highlighting stage to use default (C++) ReSharper type highlighting, so that types and namespaces can be differentiated. I also added C#v3.5 and VBv3.5 to the valid attribute values for the template language, as unless these are used TextTransform.exe defaults to using .Net 2.0
I don't plan on implementing the final two items, because this is good enough for me.

Thank you for the contribution! I apologize for not looking at it before.
I've added a comment about code duplication, otherwise, it looks fine.
Can you please rebase your PR onto master (which now uses ReSharper 2016.2)?

@MrJul I'm not currently at a place where I have access to ReSharper, so I don't think I'm comfortable making any more changes.

This plugin has been forked and is now maintained by JetBrains here, so I'm closing this PR as it's no longer relevant. Thanks!


related model's eager loading fails when the related model would load two models of the same relation (e.g teams in a match)

Hi,
Code will be more descriptive than words. This works:
await Match.query().eager('[home_team, guest_team]');

and produces the following query
'select
  "matches"."id" as "id",
  "matches"."home_team_id" as "home_team_id",
  "matches"."guest_team_id" as "guest_team_id",
  "matches"."home_result" as "home_result",
  "matches"."guest_result" as "guest_result",
  "home_team"."id" as "home_team:id",
  "home_team"."name" as "home_team:name",
  "home_team"."flag" as "home_team:flag",
  "guest_team"."id" as "guest_team:id",
  "guest_team"."name" as "guest_team:name",
  "guest_team"."flag" as "guest_team:flag"
from "matches"
left join "teams" as "home_team" on "home_team"."id" = "matches"."home_team_id"
left join "teams" as "guest_team" on "guest_team"."id" = "matches"."guest_team_id"'

Now, I would like to get the same, enriched Match data for a given Championships. Thus I run:
await Championship.query()
    .eager('[matches.guest_team, matches.home_team]')

that produces the following query:
'select
  "championships"."id" as "id", "championships"."name" as "name", "championships"."parent" as "parent",
  "matches"."id" as "matches:id",
  "matches"."home_team_id" as "matches:home_team_id",
  "matches"."guest_team_id" as "matches:guest_team_id",
  "matches"."home_result" as "matches:home_result",
  "matches"."guest_result" as "matches:guest_result",
  "matches:home_team"."id" as "matches:home_team:id",
  "matches:home_team"."name" as "matches:home_team:name",
  "matches:home_team"."flag" as "matches:home_team:flag"
from "championships"
left join "championships__matches" as "matches_join" on "matches_join"."championship_id" = "championships"."id"
left join "matches" as "matches" on "matches_join"."match_id" = "matches"."id"
left join "teams" as "matches:home_team" on "matches:home_team"."id" = "matches"."home_team_id"'

As you can see comparing the last 2 joins to the joins above, guest_team is not loaded.
Obviously, if I change the ordering in .eager(...), always the last element's team data is loaded.
I've tried all the eagerAlgorithms, and the above problem remains with all of them.
Affected version:
<EMAIL_ADDRESS><EMAIL_ADDRESS>

You are using a slightly invalid syntax. I shoul make that throw an error really. This should work
await Championship.query()
    .eager('matches.[guest_team, home_team]')

Thanks!


load SDF or MJCF instead of URDF

Habitat-Sim version
v0.2.1
Habitat is under active development, and we advise users to restrict themselves to stable releases. Are you using the latest release version of Habitat-Sim? Your question may already be addressed in the latest version. We may also not be able to help with problems in earlier versions because they sometimes lack the more verbose logging needed for debugging.
Main branch contains 'bleeding edge' code and should be used at your own risk.
Docs and Tutorials
Did you read the docs? https://aihabitat.org/docs/habitat-sim/
Did you check out the tutorials? https://aihabitat.org/tutorial/2020/
Perhaps your question is answered there. If not, carry on!
❓ Questions and Help
I want to import a model with close-loop, which is not supported by URDF.
I find the ConvertURDFFlags in src/esp/physics/URDFImporter.h
Does it mean that I can load model with SDF or MJCF ?
If yes, where can I set this parameter?
Thanks a lot!

Hey, @hpf9017, thanks for the question.
Currently, we do not have SDF or MJCF parser code implemented. Our URDF parser/importer is based the example provided by bullet3/, so we kept the same flags for consistency. However, the parsing code necessary to support those formats was not migrated.
If this topic interests you, you are welcome to contribute an implementation back to the project as a PR.


feat: support barracuda waf as a service

Support WAF as a service where host name is "barracuda"

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


Docker path not known.

I have attempted to set up my own spring project with the same docker file and gradle file but I keep getting this.
I have pulled your project and it works I just don't seem to understand or even come close to why this isn't working? Can someone help?
"[docker build -t springio/gs-spring-boot-docker:latest C:\Users\mohamed.omar\workspaces\caseware cloud backup\build\docker] returned:
"docker build" requires exactly 1 argument(s).
See 'docker build --help'. "
`
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath('org.springframework.boot:spring-boot-gradle-plugin:1.5.6.RELEASE')
// tag::build[]
classpath('se.transmode.gradle:gradle-docker:1.2')
// end::build[]
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'org.springframework.boot'
// tag::plugin[]
apply plugin: 'docker'
// end::plugin[]
// This is used as the docker image prefix (org)
group = 'springio'
jar {
baseName = 'gs-spring-boot-docker'
version =  '0.1.0'
}
// tag::task[]
task buildDocker(type: Docker, dependsOn: build) {
applicationName = jar.baseName
dockerfile = file('Dockerfile')
doFirst {
copy {
from jar
into "${stageDir}/target"
}
}
}
// end::task[]
repositories {
mavenCentral()
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
dependencies {
compile("org.springframework.boot:spring-boot-starter-web")
testCompile("org.springframework.boot:spring-boot-starter-test")
}
`
FROM openjdk:8-jdk-alpine
VOLUME /tmp
ADD target/gs-spring-boot-docker-0.1.0.jar app.jar
ENV JAVA_OPTS=""
ENTRYPOINT [ "sh", "-c", "java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /app.jar" ]

You must change the "group" setting to your own docker hub group.

That wasn't the problem @gregturn
facepalm the problem is that my project folder had spaces in them. See the path with spaces in them: I thought gradle would atleast be able to handle this much when it comes to spaces in between folder names to put it between quotes or something.
docker build -t springio/gs-spring-boot-docker:latest

C:\Users\mohamed.omar\workspaces\caseware cloud backup\build\docker

This is an issue that is already known that gradle doesn't like spaces so by this I will close this issue. Thank you!


Add Vocabulary for Extended Validation of Arrays

Feature Description
Add support for the following vocabulary to support extended validation of arrays:
https://docs.json-everything.net/schema/vocabs/array-ext/
Specifically the ability to validate that a uuid field is unique across items in an array

ajv keywords is a Typescript validator that provides uniqueItemProperties, which allows specifying that a field value is unique across items in an array.

Extending ticket to suggest enabling the use of ajv-keywords, like uniqueItemProperties and dynamicDefaults.

Keeping this open.


add shadow to icons

right now, the black trash and lock icons are hard to see when they are on top of a dark color.
can you add a CSS rule so there's a subtle white shadow around the two icons?

🤖
Sure! You can add a text-shadow style to the trash and lock icons to make them more visible on dark backgrounds. Here's the CSS rule you can add to your stylesheet:

.lock-btn,
.trash-btn {
    text-shadow: 0 0 3px #ffffff;
}

This will apply a subtle white shadow around both the lock and trash icons, making them easier to see on dark colors. Adjust the 3px value to make the shadow more or less prominent, as needed.


-Added Netherlands

Hi,
I have added the Netherlands as well after Luxembourg.
Christian

build is green here: https://travis-ci.org/novapost/workalendar/builds/76827313
Good for merge. thank you again for this contribution!

Thanks! I'm happy to contribute.


Details about search bar shortcuts in wiki

Flame version: 1.7.4 - installed in docker.
When the search bar it's out of focus, what button/buttons I need to press to focus search bar?

search something in local search [focus it's on search bar]
if I click the app, it'll open the website, close the app, and the search bar it's out of focus.
if I click ESC - it'll delete what it's on search bar but not focus the status bar.

How can I focus with keyboard shortcuts?
I searched all wiki and nothings pops.
https://github.com/pawelmalak/flame/wiki/Search-bar

There is no shortcut to focus the search bar right now, but it should be easy to add.
Any suggestion which button should do that?

Mhm, maybe a dropdown menu like on Default Search Provider with multiple buttons like:

/
\
`
ESC [to delete what's on the search bar and focus it to search it again]

Or if you can to implement custom focus button, but for me / \ ` ESC it's enough.


Random disconnects from server

Describe the bug
Random disconnects from server.
To Reproduce
Steps to reproduce the behavior:
see #5
Expected behavior
see #5
Additional context
IOException  when reading, writing.

Issue not found


add some good practices

remove senseless return after process.exit
make prettier configuration to json file

Thanks!


.NET 8 Authorize Attribute Issue

Description
Following the documentation I came across an issue configuring authentication and authorization for a Blazor Server app. The [Authorize] attribute kept redirecting to (I assume) my authentication scheme's fallback path instead of just displaying the fallback message "Not authorized. I used Cookie Authentication. Neither role-based, policy-based nor the default policy was recognized.
After some research I've found this workaround to fix this problem. https://github.com/dotnet/aspnetcore/issues/52317#issuecomment-1830673284
The workaround just inserts a middleware step and assumingly skips the redirections issue.
Please add this information into the documentation since it seems to be a recent problem since the introduction of .NET 8.
Thank you!
Page URL
https://learn.microsoft.com/en-us/aspnet/core/blazor/security/?view=aspnetcore-8.0#additional-resources
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/blazor/security/index.md
Document ID
1247ee64-fbc9-ce29-0710-f6e59380f5ee
Article author
@guardrex

@AdmiralSnyder fyi

Thanks, @PMcVries ... I'll get on this tomorrow or early next week.

I don't think we'll document the workaround. We're more interested in Surayya's suggestion ...

it's better if you perform the authentication within the ASP.NET Core auth system and your authentication state provider only takes care of reflecting that state.

I think the one she's referring to this this one ...
https://github.com/dotnet/aspnetcore/blob/main/src/ProjectTemplates/Web.ProjectTemplates/content/BlazorWeb-CSharp/BlazorWeb-CSharp/Components/Account/PersistingRevalidatingAuthenticationStateProvider.cs
That one, along with the other auth state providers, is covered in the article, but it's only a quick mention and cross-link to the reference source.
I'll use this issue to both call out the behavior and clarify that these project template-based approaches are what the PU recommends.


Pop-up menu of plugin Konsole lists too many profiles

Describe the bug
Pop-up of plugin Konsole lists not the actually usable profiles, but a lot more.

Enabled plugins
What plugins did you have enabled? If not relevant, you can remove this.

[ ] Atom
[ ] Brave
[x ] Colors
[x ] Custom Script
[x ] Firefox
[ ] Gedit
[x ] GTK
[x ] Konsole
[ ] Kvantum
[x ] Only Office
[x ] System
[x ] VSCode
[x ] Wallpaper

Affected versions

Yin-Yang version:  3.2.4-1

Operating System: Manjaro Linux
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.11
Kernel Version: 6.5.5-1-MANJARO (64-bit)
Graphics Platform: X11
Additional notes

Owner and group in both locations are root:root and <me>:<me>, resp., as expected.
Profiles in /usr/share/konsole/ all have 644 permissions; in ~/.local/share/konsole/ most had 770, 644, and one 600. Changed to 644, no change in YY.
I have been wrong in the OP in that the pop-up does not list Profiles, but Color shemes. Sorry.

We use the .colorscheme files

I think that the Konsole plugin looks for the wrong files. It ought to read the profiles, (*.profile), not the appearance  (i.e., not *.colorscheme`). The Color shemes are included in the Profiles.
In the image below, the pop-up list the *.coloscheme, but not the *.profile, see e.g. Dark.profile.  (cherry.colorscheme may be broken, it does not appear in the Edit Profile... > Appearance list. There may be other inconsistencies, I have not compared them all.)

Well, the idea is to select color schemes and use them in the light and dark profiles. So the dropdown should show available color schemes, and Konsole edits the profiles.

Well, the idea is to select color schemes and use them in the light and dark profiles. So the dropdown should show available color schemes, and Konsole edits the profiles.

If that was intended, my OP is moot. :-)
Thank you for the explanation.
Closing as resolved.


[WIP][HUDI-3088] Use Spark 3.2 as default Spark version

Tips

Thank you very much for contributing to Apache Hudi.
Please review https://hudi.apache.org/contribute/how-to-contribute before opening a pull request.

What is the purpose of the pull request
(For example: This pull request adds quick-start document.)
Brief change log
(for example:)

Modify AnnotationLocation checkstyle rule in checkstyle.xml

Verify this pull request
(Please pick either of the following options)
This pull request is a trivial rework / code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end.
Added HoodieClientWriteTest to verify the change.
Manually verified the change by running a job locally.

Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

@hudi-bot run azure

@hudi-bot run azure

the first job passing..nice progress. there was a recent fix that might help pass some tests in spark 3.2. https://github.com/apache/hudi/commit/2fe7a3a41f36f0dcbbc89e4dbe51b70f2de997db

@hudi-bot run azure

@hudi-bot run azure

@hudi-bot run azure

@hudi-bot run azure

@hudi-bot run azure

@hudi-bot run azure

@hudi-bot run azure

@hudi-bot run azure

Closing this one, in favor of #5402 which is going to have all changes for Hadoop/Hive/Spark 3.x upgrades.


Update the GC watermark on IPFS node so things don't get GC instantly.

New GC watermark is at 100GB, should be fine for a while. Closing.


run_tasks: add email notification for sleep-before-teardown

Signed-off-by: Kyr Shatskyy<EMAIL_ADDRESS>

retest this please

retest this please


Disable compression on Imgix images?

Is there a way we can strip (or tweak) the auto=compress flag Prismic automatically adds to images images before handing them to the gatsby-image fragment? It causes huge issues with PNGs in Safari and other browsers (example, view in Safari)
(I've contacted Prismic about it, their answer was "strip the URL flags" 🙃)

Interesting, I haven't seen that issue in Safari before!
I'm working on gatsby-plugin-imgix to provide universal Imgix support which this plugin will leverage. Things like arbitrary Imgix transformations and quality settings will be configurable via pluginOptions and directly on fields as necessary.
The repo is private for now but an initial version and readme is published to NPM: https://www.npmjs.com/package/gatsby-plugin-imgix

Amazing! What would the config look like for Prismic? Assume we don't get an imgix token from them?
Re: stripping default params, wouldn't that need to be done in the transformer since it's given to the fluid fragment to create a srcset? Unless I'm missing something really obvious. I haven't written sources or transformers before so I'm pretty fuzzy on how they actually work

Plugin options could look something like the following:
{
  resolve: 'gatsby-source-prismic',
  options: {
    // Other config here...

    // Override the default Imgix URL parameters.
    defaultImgixParams: {
      // Default: 'compress,format'
      auto: 'format',

      // Quality (0-100). Default: 50
      q: 100
    }

    defaultPlaceholderImgixParams: {
      // Width. Default: 100
      w: 30

      // Quality (0-100). Default: 20
      q: 10
    }
  }
}

And if the params need to be overridden on just a specific field, arguments could be passed to the field in the GraphQL query:
{
  fluid(
    imgixParams: { auto: 'format', q: 100 },
    placeholderImgixParams: { w: 30, q: 10 }
  )
}

That's the idea, at least. Let me know if you have any ideas on improving this. 👍

Stripping compress - The source plugin just returns an object so the stripping would take place where you're using the fixed/fluid object. I was thinking something like this:
// Goes through each property and parses the URL to remove/replace the `auto` param.

<GatsbyImage fluid={patchImgixGatsbyImage(page.data.imageField.fluid)} />

If you don't need to support IE 11, URLSearchParams is a pretty handy way to edit the params.

Nice! For the plugin opts, why not just provide a imgix and imgixPlaceholder objects with Prismic's defaults?

This is part of the just published v3.1.0!
imageImgixParams and imagePlaceholderImgixParams are available as plugin options. The examples listed in the README's sample gatsby-config.js are the defaults.
To remove compression, set auto to one of the following:
{
  imageImgixParams: {
    // Just remove automatic compression
    auto: 'format'

    // Remove the auto parameter completely
    auto: undefined
  }
}


502 Bad Gateway

Describe the bug
Not really a bug, I don't think, trying to understand if its on the client or server.
Having a confusing issue:
{"@timestamp":"2023-12-15T17:46:29.032Z","@version":"1","message":"Received a failure status code that is not 2xx. failed to send event to subscriber context={topics=[knative-broker-dxcm-default], consumerGroup='knative-trigger-dxcm-github-1', reference=uuid: \"da81e7ad-60df-4564-92f3-510f9a022f36\"\nnamespace: \"dxcm\"\nname: \"github-1\"\n} target=http://plugin-github.dxcm.svc.cluster.local statusCode=502","logger_name":"dev.knative.eventing.kafka.broker.dispatcher.impl.http.WebClientCloudEventSender","thread_name":"vert.x-worker-thread-14","level":"ERROR","level_value":40000,"context":{},"target":"http://plugin-github.dxcm.svc.cluster.local","statusCode":502}

Expected behavior
200
To Reproduce
Not sure, running last eventing kafka hooked up to confluent kafka.
Knative release version
v1.12.0
Additional context
Everything else is working, its just one function that doesn't work. This plugin runs a long-running process (10+ minutes) around 15 minutes to be exact. And it sends a large payload.
If the payload exceeded, I would expect to see max records exceeded, however, I am only seeing 502 which is a bad gateway? But if it was a bad gateway, I would be seeing it elsewhere. Trying to understand if this is on the confluent kafka side, or my application broker configuration.
Let me know if there is a better place for this (like a slack channel)

nvm, my fault, message is coming from trigger -> plugin, not other way around.


Show image in div

We save emojis as unicode, but I want to shown them as images how I can achieve this?

You need to emojione functions,
ref https://github.com/mervick/emojionearea/issues/136


Please define external collaborators in code

Hi there
We now have a process to manage github collaborators in code:
https://github.com/ministryofjustice/github-collaborators/blob/main/README.md#github-external-collaborators
Please follow the procedure described there to grant @ibrechin access to this repository.
If you have any questions, please post in #ask-operations-engineering on Slack.

Oops sorry for forgetting the protocol!
https://github.com/ministryofjustice/github-collaborators/pull/91

Oops sorry for forgetting the protocol!
https://github.com/ministryofjustice/github-collaborators/pull/91


WiP - Feature/ec2 driver

This adds basic functionality for the EBS driver that was originally in REX-Ray 0.3.3 under the EC2 driver as per issue #183.  Snapshot functionality is written but is awaiting other storage drivers to implement snapshots as well.

[ ] Updated and more granular tagging: to be handled by @echupriyanov as per issue #126
[x] Retries on failed operations (handles API overloads)
[x] Updated next device discovery logic (handles phantom devices)

[x] Implement
[x] Test

[x] Update ec2 to ebs with backwards compat

[x] Register new driver for ebs that points to same constructor as ec2
[x] Rename ec2 package(s) to ebs
[x] Update config prefix from ec2 to ebs
[x] Register backwards compat aliases for old ec2 config prefixes. See this file for an example of what that means.

[x] Change rexrayTag config option to match the EFS driver's tag config name
[x] Volume encryption option
[x] Locking mechanism on volume attach/detaches

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

Current coverage is 25.28% (diff: 10.00%)

Merging #248 into master will decrease coverage by 0.79%

@@             master       #248   diff @@
==========================================
  Files            39         41     +2
  Lines          2419       2539   +120
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            631        642    +11
- Misses         1720       1829   +109
  Partials         68         68

Powered by Codecov. Last update 0c62429...900dfc2

Hi @proudh,
Can you please attach a successful test run code cov output to this PR? Thank you.

Here is the test output:
$ go test -v ec2_test.go
=== RUN   TestConfig
--- PASS: TestConfig (4.81s)
=== RUN   TestInstanceID
--- PASS: TestInstanceID (1.21s)
=== RUN   TestInstanceIDEC2
--- PASS: TestInstanceIDEC2 (1.24s)
=== RUN   TestServices
--- PASS: TestServices (2.45s)
=== RUN   TestVolumeAttach
--- PASS: TestVolumeAttach (18.05s)
    tests.go:504: {
          "availabilityZone": "us-west-2a",
          "name": "RR/2ef136bf",
          "size": 1,
          "status": "available",
          "id": "vol-89875201",
          "type": "standard"
        }
    tests.go:504: {
          "attachments": [
            {
              "deviceName": "",
              "instanceID": {
                "id": "i-ad4ee5b5",
                "driver": "ebs"
              },
              "status": "attached",
              "volumeID": "vol-89875201"
            }
          ],
          "availabilityZone": "us-west-2a",
          "name": "RR/2ef136bf",
          "size": 1,
          "status": "in-use",
          "id": "vol-89875201",
          "type": "standard"
        }
    tests.go:504: {
          "attachments": [
            {
              "deviceName": "/dev/xvdg",
              "instanceID": {
                "id": "i-ad4ee5b5",
                "driver": "ebs"
              },
              "status": "attached",
              "volumeID": "vol-89875201"
            }
          ],
          "availabilityZone": "us-west-2a",
          "name": "RR/2ef136bf",
          "size": 1,
          "status": "in-use",
          "id": "vol-89875201",
          "type": "standard"
        }
    tests.go:504: {
          "attachments": [
            {
              "deviceName": "",
              "instanceID": {
                "id": "i-ad4ee5b5",
                "driver": "ebs"
              },
              "status": "attached",
              "volumeID": "vol-89875201"
            }
          ],
          "availabilityZone": "us-west-2a",
          "name": "RR/2ef136bf",
          "size": 1,
          "status": "in-use",
          "id": "vol-89875201",
          "type": "standard"
        }
    tests.go:504: {
          "availabilityZone": "us-west-2a",
          "name": "RR/2ef136bf",
          "size": 1,
          "status": "available",
          "id": "vol-89875201",
          "type": "standard"
        }
    tests.go:504: {
          "availabilityZone": "us-west-2a",
          "name": "RR/2ef136bf",
          "size": 1,
          "status": "available",
          "id": "vol-89875201",
          "type": "standard"
        }
    tests.go:504: {
          "availabilityZone": "us-west-2a",
          "name": "RR/2ef136bf",
          "size": 1,
          "status": "available",
          "id": "vol-89875201",
          "type": "standard"
        }
=== RUN   TestVolumeCreateRemove
--- PASS: TestVolumeCreateRemove (5.08s)
    tests.go:504: {
          "availabilityZone": "us-west-2a",
          "name": "RR/2ef136bf",
          "size": 1,
          "status": "available",
          "id": "vol-99875211",
          "type": "standard"
        }
=== RUN   TestEncryptedVolumeCreateRemove
--- PASS: TestEncryptedVolumeCreateRemove (5.05s)
    tests.go:504: {
          "availabilityZone": "us-west-2a",
          "encrypted": true,
          "name": "RR/2ef136bf",
          "size": 2,
          "status": "available",
          "id": "vol-1c845194",
          "type": "standard"
        }
=== RUN   TestVolumes
--- PASS: TestVolumes (9.05s)
    tests.go:504: {
          "availabilityZone": "us-west-2a",
          "name": "RR/2ef136bf",
          "size": 1,
          "status": "available",
          "id": "vol-e0875268",
          "type": "standard"
        }
    tests.go:504: {
          "availabilityZone": "us-west-2a",
          "name": "RR/7f798c6e",
          "size": 1,
          "status": "available",
          "id": "vol-1787529f",
          "type": "standard"
        }
PASS
ok      command-line-arguments    47.468s

Hi @proudh,
The table was not formatted correctly in my PR review. Here you go:

Old File Name
New File Name

drivers/storage/ebs/ec2.go
drivers/storage/ebs/ebs.go

drivers/storage/ebs/executor/ec2_executor.go
drivers/storage/ebs/executor/ebs_executor.go

drivers/storage/ebs/storage/ec2_driver.go
drivers/storage/ebs/storage/ebs_driver.go

drivers/storage/ebs/tests/ec2_test.go
drivers/storage/ebs/tests/ebs_test.go

Test output after code review changes and rebase:
$ go test -v ebs_test.go
=== RUN   TestConfig
--- PASS: TestConfig (4.90s)
=== RUN   TestInstanceID
--- PASS: TestInstanceID (1.24s)
=== RUN   TestInstanceIDEC2
--- PASS: TestInstanceIDEC2 (1.26s)
=== RUN   TestServices
--- PASS: TestServices (2.48s)
=== RUN   TestVolumeAttach
--- PASS: TestVolumeAttach (18.43s)
	tests.go:504: {
		  "availabilityZone": "us-west-2a",
		  "name": "RR/8783557d",
		  "size": 1,
		  "status": "available",
		  "id": "vol-3d3aedb5",
		  "type": "standard"
		}
	tests.go:504: {
		  "attachments": [
		    {
		      "deviceName": "",
		      "instanceID": {
		        "id": "i-ad4ee5b5",
		        "driver": "ebs"
		      },
		      "status": "attached",
		      "volumeID": "vol-3d3aedb5"
		    }
		  ],
		  "availabilityZone": "us-west-2a",
		  "name": "RR/8783557d",
		  "size": 1,
		  "status": "in-use",
		  "id": "vol-3d3aedb5",
		  "type": "standard"
		}
	tests.go:504: {
		  "attachments": [
		    {
		      "deviceName": "/dev/xvdg",
		      "instanceID": {
		        "id": "i-ad4ee5b5",
		        "driver": "ebs"
		      },
		      "status": "attached",
		      "volumeID": "vol-3d3aedb5"
		    }
		  ],
		  "availabilityZone": "us-west-2a",
		  "name": "RR/8783557d",
		  "size": 1,
		  "status": "in-use",
		  "id": "vol-3d3aedb5",
		  "type": "standard"
		}
	tests.go:504: {
		  "attachments": [
		    {
		      "deviceName": "",
		      "instanceID": {
		        "id": "i-ad4ee5b5",
		        "driver": "ebs"
		      },
		      "status": "attached",
		      "volumeID": "vol-3d3aedb5"
		    }
		  ],
		  "availabilityZone": "us-west-2a",
		  "name": "RR/8783557d",
		  "size": 1,
		  "status": "in-use",
		  "id": "vol-3d3aedb5",
		  "type": "standard"
		}
	tests.go:504: {
		  "availabilityZone": "us-west-2a",
		  "name": "RR/8783557d",
		  "size": 1,
		  "status": "available",
		  "id": "vol-3d3aedb5",
		  "type": "standard"
		}
	tests.go:504: {
		  "availabilityZone": "us-west-2a",
		  "name": "RR/8783557d",
		  "size": 1,
		  "status": "available",
		  "id": "vol-3d3aedb5",
		  "type": "standard"
		}
	tests.go:504: {
		  "availabilityZone": "us-west-2a",
		  "name": "RR/8783557d",
		  "size": 1,
		  "status": "available",
		  "id": "vol-3d3aedb5",
		  "type": "standard"
		}
=== RUN   TestVolumeCreateRemove
--- PASS: TestVolumeCreateRemove (5.11s)
	tests.go:504: {
		  "availabilityZone": "us-west-2a",
		  "name": "RR/8783557d",
		  "size": 1,
		  "status": "available",
		  "id": "vol-123aed9a",
		  "type": "standard"
		}
=== RUN   TestEncryptedVolumeCreateRemove
--- PASS: TestEncryptedVolumeCreateRemove (5.52s)
	tests.go:504: {
		  "availabilityZone": "us-west-2a",
		  "encrypted": true,
		  "name": "RR/8783557d",
		  "size": 2,
		  "status": "available",
		  "id": "vol-3a3aedb2",
		  "type": "standard"
		}
=== RUN   TestVolumes
--- PASS: TestVolumes (13.38s)
	tests.go:504: {
		  "availabilityZone": "us-west-2a",
		  "name": "RR/8783557d",
		  "size": 1,
		  "status": "available",
		  "id": "vol-153aed9d",
		  "type": "standard"
		}
	tests.go:504: {
		  "availabilityZone": "us-west-2a",
		  "name": "RR/1f5a1ce4",
		  "size": 1,
		  "status": "available",
		  "id": "vol-473aedcf",
		  "type": "standard"
		}
PASS
ok  	command-line-arguments	52.837s

Just a heads up that I am currently testing the EBS driver functionality. I'll test out basic rexray CLI usage, docker volumes, and pre-emption. @cduchesne @akutz
As part of that, I can already say I will have a PR to update docs for both rexray and libstorage.

Just to document what I tested...
I installed rexray with the latest libstorage on Ubuntu 16.04 and CentOS 7.2. I did both single-node (all in one) and 2-node setups with one node as a libstorage server. I tested rexray CLI directly and docker volume commands for create, mount, and unmount.
I found a crash for preemption that was fixed with #271
I added docs with #273. The docs were mostly taken from rexray 0.3.3 docs, with some relevant changes and inspiration from the EFS driver. It may be the case that there is more work to do around IAM if you want to use a libstorage server and IAM roles. I was just using my admin keys directly.


CI/CD support

Today, there is no automatism that would regularly check for new Kubernetes versions and trigger the build/release for this repository.
The reasons are mainly listed in https://github.com/gardener/hyperkube/blob/master/README.md#limitations.
Ideally, we can have two CI scripts:

The first one runs regularly (e.g., every 10min) and checks whether there are new Kubernetes versions that we have not built yet. For those versions it could checkout a branch from master, write the respective version to the KUBERNETES_VERSION file, commit and push this branch.
The second script reacts on release-* branches and builds the Dockerfile, pushes the image to GCR, and then deletes the branch again.

Parts are already implemented in .ci/check-and-release.

/cc @AndreasBurger

/touch

@AndreasBurger any updates on this?

From my point of view this issue can be closed. I've created a Concourse-Pipeline that runs the .ci/check-and-release script hourly (that does seem to fulfill the requirements stated above) and we were able to verify that the built images here behave as expected.
There is also a Component-Descriptor published, but as far as I know it is not yet referenced anywhere else.

OK, thanks!
/close


Fix error rendering on form elements

Fix rendering of error messages on form elements

Hi.
Why you still doesn't merge my PR? )

Sorry to forgot your PR


Fix for readMessage maxHeaderSize exception monit

Thanks for catching this! I fixed it on my local copy when I was upgrading tests and didn't see your PR until after I pushed my fix.
Please let me know if you find any other bugs or have any suggestions for improvements.


BackgroundGeolocation.watchLocationMode(success, fail) functioning?

When I try using BackgroundGeolocation.watchLocationMode(success, fail), it says it's not a function.
Is it implemented?
When I use BackgroundGeolocation.on('location', () => {}) the locations are sparsely updating.

BackgroundGeolocation.watchLocationMode(success, fail) is not a function in this library.
But, the same functionality is implemented 100%
You have to do following with BackgroundGeolocation.on('location', () => {})  to do it properly.

BackgroundGeolocation.configure()
BackgroundGeolocation.start()

All is well documented in the README.

Warning: this issue has been inactive for 32 days and will be automatically closed on 2017-12-15 if there is no further activity.

watchLocationMode is not official method of this plugin. Not sure if it was in some early versions.


cant install axios module not found

:/  i have no idea whats wrong
error during render : /
{ Error: Cannot find module 'axios'
    at Function.Module._resolveFilename (module.js:455:15)
    at Function.Module._load (module.js:403:25)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)
    at r (C:\Users\marko\AppData\Roaming\nvm\v6.5.0\node_modules\ream\node_modules\vue-server-renderer\build.js:6964:16)
    at Object.<anonymous> (webpack:/external "axios":1:0)
    at __webpack_require__ (webpack:/webpack/bootstrap cada09c6e8c3112b4e53:25:0)
    at Object.<anonymous> (0.server-bundle.js:73:64)
    at __webpack_require__ (webpack:/webpack/bootstrap cada09c6e8c3112b4e53:25:0)
    at Object.<anonymous> (0.server-bundle.js:46:72)
    at __webpack_require__ (webpack:/webpack/bootstrap cada09c6e8c3112b4e53:25:0)
    at Object.exports.modules.Object.defineProperty.value (src/views/Home.vue:7:0)
    at __webpack_require__ (webpack:/webpack/bootstrap cada09c6e8c3112b4e53:25:0)
    at process._tickCallback (internal/process/next_tick.js:103:7) code: 'MODULE_NOT_FOUND' }

api.js
import axios from 'axios'
const api = 'http://localhost:8080/wprest/wp-json/wp/v2'

axios.defaults.baseURL = api
let wordpresService = {
  async getPosts() {
    const data = await axios.get('posts')

  }

}

export default wordpresService

home.vue

<template>

</template>

package.json

{
  "name": "restshop",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "build": "ream build",
    "start": "ream start",
    "dev": "ream dev"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "devDependencies": {
    "babel-plugin-component": "^0.9.1",
    "node-sass": "^4.5.2",
    "sass-loader": "^6.0.3"
  },
  "dependencies": {
    "axios": "^0.16.0",
    "vue": "^2.2.6",
    "vue-router": "^2.3.1"
  }
}

/e i tried the example asyc-data still not working i use windows 10
node 6.5.0 lates  ream beta

You sure you ran "npm install" or "yarn install"?

@FrancosLab  sure :D

Hmm, it works for me (https://glitch.com/edit/#!/ream-async-data)

Hi i i will try again later atm i have no time but i will give report

i made a video https://www.youtube.com/watch?v=4ar80J9Bf4o&feature=youtu.be

ah i think i know the problem lol i installed ream global -.- this is why ream looks in the wrong folder omg


Apply mutaml per module

Hi, I'd like to thank you for creating this tool! Is it possible to do mutations only on a subset of modules in a library? I'd like to try it on our project, but for the sake of performance I'd like to run it only on one or two important modules and not to alter the library structure of the project.

Thanks!

Is it possible to do mutations only on a subset of modules in a library?

Unfortunately I don't think this is possible at the moment, sorry.
A PR is welcome though... :wink:

Great! Any pointers/suggestions you might have regarding UI/UX or implementation of this feature?

I think a UI akin to https://github.com/aantron/bisect_ppx would be nice!
I could imagine excluding mutation

per file-name perhaps akin to https://github.com/aantron/bisect_ppx/blob/master/doc/advanced.md#Excluding and/or
per module/function via an attribute [@mutation off] akin to https://github.com/aantron/bisect_ppx#Exclusion

We don't need both at once though - so either of these would be a good start! :smiley:


Ana Q hit rate calculator

Hi, how would I go about calculating the hit rate of Ana's q from a replay? I'm a veteran C# programmer, a few tips should be enough

Calculating hit rates with abilities isn't possible.  The replays keep track of actions/events, so in this case the it will keep track of when Ana's abilities is used but you won't know if it hit anything.

I can correlate heals with Q's at least that's the intention

This unfortunately probably isn't possible for a few reasons.  You can find some more info here: https://github.com/Blizzard/heroprotocol/issues/27
As kolivia mentioned, the replay file keeps track of user actions.  You may be able to see if Ana tries to use her 'Q' ability (though that is a big problem by itself), and you would know what direction she tries to cast it.  That's about it though, as that is all the replay file needs in order to replay the game.
You probably won't know if she casts it successfully, for example if she was stunned when trying to cast it or something.  You probably won't know if it hits another hero, as hero locations aren't very precise in the replay file (at least how my library is tracking them).  They are good enough general location, but not enough that you can pick out which hero is hit by an ability like this.

So the problem is recreating the game state based on replay data? In theory can we use the existing game DLL's to do that?

Maybe, though you're getting into uncharted territory.  You may find more info in the Starcraft 2 community as well.  HotS replay format and game engine are based on Starcraft 2's engine, and they've had many more years of trying to pull more data from the replay file. Good luck :)

What about running the entire game through a debugger and monitoring the memory?

That's beyond my expertise, so I can't really help with that.  Be careful though, that sounds like it would be against Blizzard's terms of service.


NY UP onboarding

This PR adds updates to the NY receiver transforms and Simple Report's sender transforms. Some of the transforms added to Simple Report were being handled as receiver transforms for CA, but they should've been sender transforms in the first place. The integrations tests make sure that the updates made to the Simple Report sender transforms don't break CA. A follow up ticket #11289 will be needed to clean up the CA receiver transforms since a lot of them have been moved to sender transforms.
If you are suggesting a fix for a currently exploitable issue, please disclose the issue to the prime-reportstream team directly outside of GitHub instead of filing a PR, so we may immediately patch the affected systems before a disclosure. See SECURITY.md/Reporting a Vulnerability for more information.
Test Steps:

Check out and build the branch
run ./prime multiple-settings set -e local -i settings/staging/0155-NY-up-onboarding.yml
Send a test report using the attached Postman collection
NY.postman_collection.txt
Verify that the request was accepted
Open the generated HL7 file in the local sftp folder.
Verify the file name contains NY receiver transforms specified in NY-receiver-transforms.yml

Changes

Updated Simple Report sender transforms
Updated NY receiver transforms
Added integration tests

Checklist
Testing

[x] Tested locally?
[x] Ran ./prime test or ./gradlew testSmoke against local Docker ReportStream container?
[ ] (For Changes to /frontend-react/...) Ran npm run lint:write?
[x] Added tests?

Process

[ ] Are there licensing issues with any new dependencies introduced?
[ ] Includes a summary of what a code reviewer should test/verify?
[ ] Updated the release notes?
[ ] Database changes are submitted as a separate PR?
[ ] DevOps team has been notified if PR requires ops support?

Linked Issues

#11231

To Be Done
Create GitHub issues to track the work remaining, if any

#11289

Specific Security-related subjects a reviewer should pay specific attention to

Does this PR introduce new endpoints?

new endpoint A
new endpoint B

Does this PR include changes in authentication and/or authorization of existing endpoints?
Does this change introduce new dependencies that need vetting?
Does this change require changes to our infrastructure?
Does logging contain sensitive data?
Does this PR include or remove any sensitive information itself?

If you answered 'yes' to any of the questions above, conduct a detailed Review that addresses at least:

What are the potential security threats and mitigations? Please list the STRIDE threats and how they are mitigated

Spoofing (faking authenticity)

Threat T, which could be achieved by A, is mitigated by M

Tampering (influence or sabotage the integrity of information, data, or system)
Repudiation (the ability to dispute the origin or originator of an action)
Information disclosure (data made available to entities who should not have it)
Denial of service (make a resource unavailable)
Elevation of Privilege (reduce restrictions that apply or gain privileges one should not have)

Have you ensured logging does not contain sensitive data?
Have you received any additional approvals needed for this change?

It looks good, tested, and got the expected result.


Analysis - Wrong map type displayed when a node has both an rwn_ref and an rcn_ref tag.

https://experimental.knooppuntnet.nl/nl/analysis/node/44813704
Ik kom daar via analyse / wandelen / analyse per netwerk Nederland / Utrecht Groene Hart / Knooppunten / kies het eerste wandelknooppunt 44 in de lijst.
Klik op Kaart en je ziet de kaart voor fietsen ipv wandelen.
(Als ik via een "feit" in het wandelnetwerk een knooppunt open dat zowel rwn als rcn is gebeurt hetzelfde.)
Het is geen groot probleem dus kan rustig wachten tot een latere bugfix-release.

This node is both a node in a hiking network (44) and a node in a cycling network (20). When a node belongs to two (or more) network types, the map shows both (all) network types.
The idea is that in this case you can use the layer switcher in the upper right corner to switch off the layer(s) of the network type(s) that you are not currently interested in.
You have to make this selection yourself. At this moment, the logic in the node map page is not really aware through which path you reached the page, and as such cannot derive the network type that you would be most likely interested in.

I see, I missed the layer option! So what is confusing is that if both layers are active, the numbers of the bicycle network are shown, obscuring the walking network numbers. With thwe layer option it is even less urgent, but can this be an improvement request for the future?

Implemented in release v3.0.4
In the node map page, when the node has more than 1 networkType (for example both 'hiking' and 'cycling'), we will try to only show the most relevant network layer. For example if the most relevant networkType is 'hiking', we will only show the 'hiking' layer, and leave the 'cycling' layer invisible.
What the most relevant network layer is, depends on the previous visited pages.

planner page (networkType taken from url)
networkType specific analysis pages (networkType taken from url)
route pages (networkType taken from route data)
network pages (networkType taken from network data)

Each time the most relevant networkType changes, it is stored in the application local storage, so that it will get picked up even if opening a new browser tab or browser window.


App crashes when AUMS activity is opened

Steps to reproduce :

Open App
Click on AUMS Login
😢

Attaching the log.
Looks like a NullPointerException
log.txt


Replace vehicle dynamics?

I want to replace Carla's vehicle dynamics to Autonomie or ASM vehicle model or others. Has anyone tried it?
Thank you

Hi,
We do not support this, sorry.


Fix and optimize makeSelectIsSubscribed

Issues with makeSelectIsSubscribed

It will not return true if the uri provided is canonical, because the compared subscription uri is in permanent form. This was causing certain elements like the Heart to not appear in claim tiles.
It is super slow for large subscriptions not just because of the array size + being a hot selector, but also because it is looking up the claim twice, not memo'd, and also calling parseURI to determine if it's a channel which is unnecessary if you already have the claim.

Changes

Optimize the selector to only look up the claim once, and make operations using already-obtained info.
Fix memo.

Doubts
I'm confident with this PR from a performance standpoint (measured and all), but not sure why there is such a dependency between canonical vs permanent url.  Was it intentionally, for example, to make the Heart not appear in channel pages?  Probably not, since there are more clearer ways to do that, but still curious ...

Let's chat on Slack about the discrepancy you're referring to. I don't think we'd intentionally ever want to not show the correct status of the heart.
I think at the time we did this, we thought it would be safer to use permanent URLs


Fix/type eredienst export

This PR adds a missing attribute for local and central worship services and also fixes a typo in the config which was overlooked during a code review.


Issues when installing from fork of this repo

Hello,
I'm doing some experiments to see how much (if any) of a performance hit it is to bind the canvas element to jpg rather than png.
Using png is extremely heavy when doing the crop since images are loaded in memory.
However, everytime I do npm i celsosantos/angular2-img-cropper all I get is an almost empty folder.
I've been able to do some more ops and get some more files when installing from my forks master but that doesn't seem right, so, what am I doing wrong? Why can't I install the package from my fork as if it was the original?
In this repo everything installs fine, but not on mine.
Could you give an overview of the install process and what happens during this process so I can try to find out what I'm doing wrong?
Best Regards,
Celso Santos

Please check if 0.7.5 is working for you - if everything is ok please close the issue

Hello @cstefanache thank you.
I'll check and get back to you ASAP.
Thank you

Hello @cstefanache ,
I can confirm the new version does improve performance when using jpg images.
I wouldn't say that it's 100% perfect, but I think I may be noticing the same as in #96 .
I may be at fault as well since I use 3 croppers in one page, but jpeg does work.
Thank you!


UV_READABLE and UV_WRITABLE -> UWS_READABLE, UWS_WRITABLE

Fixes name collision when compiling with libuv headers

Thank you for this!

So the issue is when you combine libuv with for instance Epoll?

Are you having libuv loops and asio/epoll loops in the same program?

No, it was simply libuv. On linux in my case. So I guess Epoll is being included wrong.
Also, you have several issues with CMakeLists as add_library has old/missing files included.

So the issue is when you combine libuv with for instance Epoll?

Yes whenever you use libuv with Epoll or ASIO. Specifically this line causes a duplicate identifier when compiling.
#include <uv.h>
#include <uWS/uWS.h>

int main() {
    uWS::Hub h;
    return 0;
}

I was originally using USE_LIBUV but after some random segfaults and freezing I poked around and realized that it wasn't thread safe unless compiled with Epoll + UWS_THREADSAFE


Fixes #176: Reset errors after submit & new data are entered.

r=? @leplatrem
/cc @kaihendry

This will need a bunch of tests added to cover all the corner cases this patch addresses.

Playground has been updated with this patch. Feedback welcome. http://mozilla-services.github.io/react-jsonschema-form/

Well, I think I'm gonna land this. r=me

Fixed in https://github.com/mozilla-services/react-jsonschema-form/commit/23978ea13255c303f710cef1d855660063c99713


Remoting Player: Mixed Reality Capture messes stereo images

Hi,
the right-eye image shown on the HoloLens gets messed up when streaming 3d content from a host application to the Holographic Remoting Player and starting mixed reality capture from the website. I first thought it's an application error but it also happens with the sample from https://github.com/Microsoft/HoloLensCompanionKit/tree/master/RemotingHostSample
The left eye seems correct.
The issue is triggered by capturing both Holograms and PV Camera. If i just capture Holograms or just the PV Camera everything is fine.

We do confirm that issue. This same happens in unity or c++ app.

@kierepka Do you have any ETA on a fix?

I'm not from Microsoft 😇

Upps :) ... "We do confirm.." sounded very ms-corporat-y :)

Same problem here. Is there a fix, workaround or timeline?

@oschnabel Nothing i am aware of..
Filed a MS indicent ticket to get premium-support on this issue more than a month ago - apart from the usual "have you tried turning it off and on again" (i.e. performing a full recovery)  nothing helpful for now.

raising my hand here aswell, any updates on that issue from MS?

No fix yet - seems the issue is confirmed now and might require a fix to the platform and player. I was given no eta.

allright then, seems we just gotta have to wait then. Many thanks for the update!

Just updated hololens win10 version since there were several updates since i last tried - but issue is still not fixed.


No Profile switch possible

Hi I have installed this addon via HACS and than via Integration. If I do the configuration without listing indiviual devices everything went smoothed.
If I list individual defice for profile switching the setup wizzard do not create any entities in HA.
If I do the old way via configuration.yaml I always get the message that home assisstand is starting an indivual services that's way are not ready.
Any ideas?

Please take a log at your logs to identify potential issues. If there is nothing obvious in there, turn on debug logging:
logger:
  default: warning
  logs:
    custom_components.fritzbox_tools: debug

Here the log entries:
2020-07-03 21:39:38 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry FRITZ!Box Tools for fritzbox_tools
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 220, in async_setup
hass, self
File "/config/custom_components/fritzbox_tools/init.py", line 100, in async_setup_entry
fritz_tools = await hass.async_add_executor_job(lambda: FritzBoxTools(
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/fritzbox_tools/init.py", line 111, in
use_devices=use_devices,
File "/config/custom_components/fritzbox_tools/init.py", line 172, in init
"http://" + host, username, password
File "/usr/local/lib/python3.7/site-packages/fritz_switch_profiles/fritz_switch_profiles.py", line 21, in init
self.sid = self.login(user, password)
File "/usr/local/lib/python3.7/site-packages/fritz_switch_profiles/fritz_switch_profiles.py", line 47, in login
raise PermissionError('Cannot login to {} using the supplied credentials.'.format(self.url))
PermissionError: Cannot login to http://<IP_ADDRESS> using the supplied credentials.
But the provided credentials are correct.

could you please give us a detailed discription of your setup process? Maybe with a screenshot of the integrationspanel?

Fritz-Version: FRITZ!OS: 07.19-79773
After setup the the fritztools in the integration panel I have no option to modify the settings so I have to delete the integration and add it again.

Check the device names in the Fritz settings:

But after adding device name in the setup routine no entities are generated in home assistant:

Are you sure that your IP shouldn't be <IP_ADDRESS>?

Yes I am sure with the IP address.

Any news here?

even after Updating to the new 1.10 version afer configuring the devices no integration is display. Is there a special way to define them during setup? As shown in the screenshot I try to list the devices sepearated by "," e.g. "Device1, Device2"

In the Log I found the following entry, but its no problem of the username or password!
Protokolldetails ( ERROR )
Logger: homeassistant.config_entries
Source: custom_components/fritzbox_tools/init.py:176
First occurred: 8:26:36 (1 occurrences)
Last logged: 8:26:36
Error setting up entry FRITZ!Box Tools for fritzbox_tools
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 222, in async_setup
result = await component.async_setup_entry(  # type: ignore
File "/config/custom_components/fritzbox_tools/init.py", line 101, in async_setup_entry
fritz_tools = await hass.async_add_executor_job(lambda: FritzBoxTools(
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/fritzbox_tools/init.py", line 101, in
fritz_tools = await hass.async_add_executor_job(lambda: FritzBoxTools(
File "/config/custom_components/fritzbox_tools/init.py", line 176, in init
self.profile_switch = FritzProfileSwitch(
File "/usr/local/lib/python3.8/site-packages/fritz_switch_profiles/fritz_switch_profiles.py", line 21, in init
self.sid = self.login(user, password)
File "/usr/local/lib/python3.8/site-packages/fritz_switch_profiles/fritz_switch_profiles.py", line 47, in login
raise PermissionError('Cannot login to {} using the supplied credentials.'.format(self.url))
PermissionError: Cannot login to http://<IP_ADDRESS> using the supplied credentials.

I am sorry... The way you set up the integration looks fine. Just to be sure: The fritzbox you login is the mesh master?!
The underlying library for the profile switches is not very stable. Other users have reported similar issues...
What do you think @mammuth? We should at least add a note in the readme that profile switches are to be used "auf eigene Gefahr".

yes its the mesh router. Maybe its a problem of the beta version of FritzOS: FRITZ!OS: 07.19-81233 BETA?

yes its the mesh router connected via LAN. Maybe its a problem of the beta version of FritzOS: FRITZ!OS: 07.19-81233 BETA?

Can you go back to a stable version and try again?

yes its the mesh router connected via LAN. Maybe its a problem of the beta version of FritzOS: FRITZ!OS: 07.19-81233 BETA?

Can you go back to a stable version and try again?

maybe with the new stable 7.20 in the next couple of weeks

It works on my Fritzbox 7530 with Fritz!OS 7.13. And it has worked on my Fritzbox 6490 with Fritz!OS 7.19 beta before...
I don't think that this is related to Fritz!OS

I just updated my fritzbox to 7.20 and found that the profile "Gesperrt" is not existent anymore. I can not confirm your error.
However, toggeling the profile switch is not changing anything...

I just recreated this profile but nothing changed.