Override Styles in Subsequent CSS

Same issue as previous submission.....................
FireShot Capture 43 - Override Style__ - https___www.freecodecamp.com_chall.pdf

FireShot Capture 45 - HTML - http___www.littlewebhut.com_html_.pdf

calling bullshit on this site, this is ridiculousness.......

<title>HTML Test</title>

Hello World!

the above worked/functioned just fine on two separate trials and meet the specified criteria, this is again aggravating

Multiple classes in one tag take the form class="class1 class2" - not in separate invocations like in your code -
Hellow World!
 - Correct form would be

Hello World!
.  A lot of things will render (like in the site you used) as fallback when encountering something, weird. (doesn't make stuff correct). Help is a great place for questions like this.

Then why did it oporate correctly with the correct result on the "school"
text editor as well as the site I use to test the code?.......worked on
both.......others encountered similar trouble, pluss all research sites I
visit  vary greatly from whats being exampled on your site. All I ended up
doimg was deleating what was on the editor and re-pasting, then everything
was complete. Worked. I unfortunately didnt get a schreenshot of that
particular one, would be helpful...but the system is buggy.......
On Aug 20, 2016 16:59, "Serenity"<EMAIL_ADDRESS>wrote:
Multiple classes in one tag take the form class="class1 class2" - not in
separate invocations like in your code -
Hellow World! - Correct form would be
Hello World!. A lot of things will
render (like in the site you used) as fallback when encountering something,
weird. (doesn't make stuff correct). Help
 is a great place for questions like
this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/10293#issuecomment-241226143,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUITxaFbb-RE_6Z3SVfWK5WcntNeAMmhks5qh3jBgaJpZM4JpK5A
.

Help is not a good place to go, its a total cluster.........
On Aug 20, 2016 16:59, "Serenity"<EMAIL_ADDRESS>wrote:

Multiple classes in one tag take the form class="class1 class2" - not
in separate invocations like in your code -
Hellow World! - Correct form would be
Hello World!. A lot of things will
render (like in the site you used) as fallback when encountering something,
weird. (doesn't make stuff correct). Help
 is a great place for questions like
this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/10293#issuecomment-241226143,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUITxaFbb-RE_6Z3SVfWK5WcntNeAMmhks5qh3jBgaJpZM4JpK5A
.

Again, the instructions do state that the following:

Applying multiple class attributes to a HTML element is done with a space between them like this:
class="class1 class2"
This is convention (additional links: MDN - stackoverflow - Whether something renders in whatever fiddle/learning site/etc., is a product of either the environment of the site, or basic fallback rendering (because browser has to do something when it encounters something odd) - But given that there is objective convention to this. It's not a site issue, but simply not following directions. Additionally, here's a fiddle demonstrating what happens if you do that. - Honestly though, it's going to be a struggle if conventions aren't a given.

@courtjester71 as @qmikew1 has pointed out, your code is incorrect. The challenge instructions have clearly laid out how to correctly add multiple classes to an HTML element.

Applying multiple class attributes to a HTML element is done with a space between them like this:
class="class1 class2"

Even if your code renders correctly, you have to think about the purpose of the challenge and what it is trying to teach you. Again, there's not an issue with the site. Please be patient with the help rooms if asking a question there. there are lots of people willing to help. You just need to be patient. Coding and learning take effort and time. Happy coding!

here the right code!

Hello World!

@TinaLittlemoon
This place is not for put answer on here. You could help people at FreeCodeCamp Chat Room or Forum. GitHub Issues are for reporting bugs on the website only.
Happy Coding!

This is my first 'Help' issue and I'm hoping someone can provide me guidance. I just attempted this challenge and the rendering came out correct with the 'Hello World!' text changing to the color blue. However, I do question the validity in the following statement ..."Note: It doesn't matter which order the classes are listed in the HTML element." I say this because it does appear the color indicated first in the HTML element does take precedence. I kept flipping them back and forth and was never able to get the text to remain blue when in the second position in the HTML element. Additionally, the challenge won't let me pass because it is stating the following tasks are not satisfied: "Your h1 element should have the class pink-text" and "Both blue-text and pink-text should belong to the same h1 element". They clearly are. Is this a bug in the challenge?

@waterburyr, your code is incorrect. you could ask help.
Please use the Help chat room for getting challenge related help.
Happy Coding.

Hello World!
Hello World!
Hello World!

This needs to go within the body
""Hello World!""
""Hello World!""
""Hello World!""


added prefix input to action.yml

Added a prefix input to the action so that it can be passed along to the componentizer when using the action.
@gonzalocasas one thing I'm not certain about is what happens with ${{ inputs.prefix }} when prefixis not set? will it return an empty string or some kind ofnull`?

Good question. I don't know what it will do. If this the behavior is not documented, we will need to give it a try, maybe in a small test repo.

@gonzalocasas OK finally tested this now with my own compas_bananas ;) and it works.


Looks like this is dead?

Hey there are a number of PR's outstanding.  Do  you need some help maintaining this?
Specifically support for Django 4.x and Python 3.10 would be super.  Willing to help out if needed.

Does someone have an active fork?

Hi all, just published django-recaptcha429 with updated support and removal of upper Django constraint. https://github.com/Andrew-Chen-Wang/django-recaptcha429
I will not have time to make full commitment, but I will take a look at all PRs for potential merge. Cheers.

Hi all, the project has been transferred from https://github.com/praekelt/django-recaptcha to https://github.com/torchbox/django-recaptcha.
We got in touch with Praekelt to offer our help with maintenance, as people who were initially maintaining this package there had moved on. @tbrlpld and I are looking after the transfer (still in progress), and we’ll share more concrete plans for future maintenance once this is complete. We’re considering whether Jazzband would accept this project, among other things. @Andrew-Chen-Wang if you’d like to help maintain this project rather than your fork, please us know.
Aside from maintenance plans, once the transfer is over our first order of business will be compatibility with recent Django releases, and continuous integration setup with GitHub Actions. There are lots of PRs already tackling those so we’ll make sure to make the most of them.

@thibaudcolas I'd love to be a part-time helper/maintainer for this instead of the fork. Just send an invite. Thanks!


sync to live

Docs Build status updates of commit dde8e73:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-iotcore/Downloads.md
:white_check_mark:Succeeded

windows-iotcore/learn-about-hardware/HardwareCompatList.md
:white_check_mark:Succeeded

windows-iotcore/tutorials/quickstarter/PrototypeBoards.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


There is probably redundant push in funcall.

Infinite loop cause stack-overflow.
Probably there are redundant push in funcall.

Simply stack over-flowed.


Suggestion: Do not open the software main interface when open the software(for ver 0.3.0)

Many people do not need to open the main application interface each time when using the application, they may only need to run in the background.

It used to work like that, but in Linux/Gnome Env there is no tray now, so user will need the menu in the main window.
I guess an option for that will be enough. How about that?

@xVanTuring This idea looks great!

Added at: https://github.com/shadowsocksrr/electron-ssr/pull/70


Cleaning up logic in Parser

Purpose
This PR reduces redundancy and eliminates the jobs of a number of if/elif/else blocks in the parser. What could be more American, nay, more Trumpian, than pairing down and eliminating the useless?

Oh this is good. The merge is gunna be hard on sam since I also just modified the parser pretty heavily though.

No conflicts currently, but if I need to work through a merge I definitely will :+1:

First pass of trying to go through the merge didn't work (we're getting the "required field "lineno" missing from expr"). Just pushed my attempted merge to a branch. I'll look at this again later.

This is after merging Chris's PR, and trying to merge this one into that. Chris's PR alone worked.

I'll probably do more work on this later, after I eat and do my actual homework and stuff.


Document meltano cloud CLI here in cloud-docs

As suggested by @cjohnhanson, we should have a place to document Cloud CLI patterns.
We can add docs to the meltano/meltano repo, but those will not automatically be published to docs.meltano.com until the changes merge to main. This cloud-docs repo is a good place to put Cloud CLI docs and usage examples.
Optionally, we can also link over to additional markdown docs in the meltano/meltano repo itself, pinning our URL refs to the cloud branch in that case.

We're going to just move everything into the main cloud docs. We should likely pull the Cloud CLI docs in the main branch at this point.


UCS tracking issue

Issue to track the parts of the UCS implementation that are still incomplete or wrong – please update with more cases as you find them.
Translation

[ ] Support virtual constructors for pattern matching against tuples.
[ ] Do not duplicate default cases and insert local function definitions instead.

Locations

[ ] Track scrutinee locations with Scrutinee.Source.

[x] No location reported in:
fun testF(x) = if x is
  Foo(a) then a
  Foo(a) then a
//│ ╔══[WARNING] duplicated branch
//│ ╙──

Reporting

[ ] Warn when an is test has a single pattern
Though maybe we shouldn't warn when it's conjuncted with other things, as then the is may be used to bind expressions, as in if xs is x :: xs and mapPartition(f, xs) is (as, bs) and ...

[ ] hygiene
:NewParser
:NewDefs
:NoJS

class Union<Region>(a: Region, b: Region)
//│ class Union[Region](a: Region, b: Region)

// * [FIXME:UCS] unhygienically desugars to:
// | | | | Desugared term: case x of { Union => let x = (x).a in let y = (x).b in x }
fun hmm(x) =
  if x is Union(x, y) then x
//│ fun hmm: Union[{b: anything} & 'a] -> 'a

fun hmm(x) =
  if x is Union(z, y) then x
//│ fun hmm: Union['Region] -> Union['Region]

[ ] There's a problem witth he builtin true/false in the current UCS impl

:NewParser
:NewDefs

module Nil
class Cons[A](head: A, tail: Cons[A] | Nil)
//│ module Nil()
//│ class Cons[A](head: A, tail: Cons[A] | Nil)

// FIXME
fun filtermap(f, xs) = if xs is
  Nil then Nil
  Cons(y, ys) and f(ys) is
    false then filtermap(f, ys)
    true then Cons(y, filtermap(f, ys))
    [true, z] then Cons(y, filtermap(f, ys))
//│ ╔══[ERROR] identifier not found: ys
//│ ║  l.26: 	  Cons(y, ys) and f(ys) is
//│ ╙──      	                    ^^
//│ ╔══[ERROR] Type mismatch in application:
//│ ║  l.26: 	  Cons(y, ys) and f(ys) is
//│ ║        	                  ^^^^^^^^
//│ ║  l.27: 	    false then filtermap(f, ys)
//│ ║        	^^^^^^^^^
//│ ╟── reference of type `false` is not an instance of type `number`
//│ ║  l.27: 	    false then filtermap(f, ys)
//│ ╙──      	    ^^^^^
//│ ╔══[ERROR] Type mismatch in application:
//│ ║  l.26: 	  Cons(y, ys) and f(ys) is
//│ ║        	                  ^^^^^^^^
//│ ║  l.27: 	    false then filtermap(f, ys)
//│ ║        	^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
//│ ║  l.28: 	    true then Cons(y, filtermap(f, ys))
//│ ║        	^^^^^^^^
//│ ╟── reference of type `true` is not an instance of type `number`
//│ ║  l.28: 	    true then Cons(y, filtermap(f, ys))
//│ ╙──      	    ^^^^
//│ ╔══[ERROR] type identifier not found: Tuple#2
//│ ╙──
//│ fun filtermap: ((error | Cons['A] | Nil) -> number & (Cons['A] | Nil) -> error, Cons['A0] | Nil,) -> (Cons['A1] | Nil | error)
//│   where
//│     'A := 'A0
//│     'A0 <: nothing
//│ Code generation encountered an error:
//│   unknown match case: Tuple#2

module True
module False
//│ module True()
//│ module False()

class Pair[A, B](lhs: A, rhs: B)
//│ class Pair[A, B](lhs: A, rhs: B)

fun filtermap(f, xs) = if xs is
  Nil then Nil
  Cons(y, ys) then if f(y) is
    True then filtermap(f, ys)
    False then Cons(y, filtermap(f, ys))
    Pair(True, z) then Cons(z, filtermap(f, ys))
//│ fun filtermap: ('head -> (False | Pair[anything, 'A] | True), Cons['head] | Nil,) -> (Cons['A] | Nil)
//│   where
//│     'head <: 'A

Fix unhygienic bindings in HygienicBindings.mls

[ ] Warning message regression https://github.com/chengluyu/mlscript/blob/ee1ab193234e9d59ad0ce3fa82e2c922efd8d56e/shared/src/test/diff/ucs/DirectLines.mls#L50-L63

[ ] Give warnings for non-conditional UCS. See https://github.com/hkust-taco/mlscript/blob/ee1ab193234e9d59ad0ce3fa82e2c922efd8d56e/shared/src/test/diff/nu/BadUCS.mls#L75.

[ ] One more hygienic bindings thing to make sure and address
https://github.com/hkust-taco/mlscript/blob/687f39d8ebf4d649622e40ecba2af6ac09c3400f/shared/src/test/diff/ucs/CrossBranchCapture.mls#L8-L12

[ ] Warn against shadowing pattern variables
https://github.com/hkust-taco/mlscript/blob/687f39d8ebf4d649622e40ecba2af6ac09c3400f/shared/src/test/diff/ucs/CrossBranchCapture.mls#L49-L52

[ ] It seems that this should work, but is currently rejected due to an overly restrictive implementation:fun fold(opt, k, d) = if opt is
  None then d
  refined(Some) then k(opt)
  else k(opt)
//│ ╔══[WARNING] inconsistent refined pattern
//│ ║  l.67:     None then d
//│ ║            ^^^^
//│ ╟── pattern `Some` is refined
//│ ║  l.68:     refined(Some) then k(opt)
//│ ║                    ^^^^
//│ ╟── but pattern `None` is not refined
//│ ║  l.67:     None then d
//│ ╙──          ^^^^


Fix npm install using npm 7

npm is having issues resolving peer dependencies. This is a warning using legacy peer deps, but an error when using the new peer dependency behaviour in npm 7.
This is a local development issue only.

$ npm i
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/react
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/@mdx-js/react
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /home/remco/.cache/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/remco/.cache/npm/_logs/2021-09-02T19_26_22_331Z-debug.log

I don’t think this is worth the trouble. The issue exists with some dev dependencies. This changes nothing for users.

Oh I didn't know you could add that to an .npmrc, nice!


Create Content Card 14

One need to make this component using HTML and Tailwind CSS. I would suggest to use Tailwind Playgrounds to make things faster and quicker.
Here is a reference to the component.

Follow  figma design and to make the button use Button Design System
After building the component please raise a PR with a screenshot of the component and add the component in content-card-14.html.
If you need to use any icon please use it from Hero Icons
Good luck.

I would like to work on this.

I want to contribute

Hey i would like to work on this can you assign it to me.


Hide feed from appearing in address bar suggestions

Is your feature request related to a problem? Please describe.
Livemarks bookmarks will clutter the address bar suggestions when entering anything into the address bar.
Describe the solution you'd like
Livemarks bookmarks will not show in the address bar suggestions.

I'm currently typing unread -  (which I have configured as prefix) in the address bar to quickly access any unread posts. So, if you "fix" this "bug", please put it behind a toggle and/or add a keyboard shortcut to open the next unread post.


i am getting this error while running sec_controller.py

I made a commit where I fix the indentation, you shouldn't get this error anymore :)


AA/MIN-457 risk-manager renaming

Description:
risk-manager renaming
Changes in storage or API:
Storage
LiquidationFee -> LiquidationFeeStorage
LiquidationThreshold -> LiquidationThresholdStorage
UserLiquidationAttempts -> UserLiquidationAttemptStorage
Describe storage structure changes or API changes. Make sure to update the API docs.
Checklist

[ ] Code is covered with tests
[ ] Code is covered with benchmarks
[ ] Fresh benchmark results included

There is no need to do renaming in the pallet  risk-manager, because in my PRs it has already been done.


chore(master): release 0.20.2

:robot: I have created a release beep boop
0.20.2 (2022-09-15)
Bug Fixes

stamp purchasing (#551) (c0456a3)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ethersphere/bee-dashboard/releases/tag/v0.20.2 :sunflower:

🐝 PR preview in Swarm
Preview URL: https://bah5acgzajiegna6cheg6cfrphz2xezvxjnux6z62zfcjhwwq7yjypckjjptq.bzz.link
Swarm Hash: 4a086683c2390de1162f3e757266b74b697f67dac94493dad0fe138789494be7
Commit Hash: 49466578df552a7dc09defc8b66e0d212a9f6f98
Commit Message: chore(master): release 0.20.2


Improving Service Call documentation

@msp1974 and @ardevd did an excellent job supporting JLR connectivity.
Let's add some more details to the service call documentation. I am posting what I understood and maybe you can add and improve based on services.yaml,  jlrpy.py, JLR integration discussion, and recipies
sensor.my_car_info and lock.my_car_doors has to be adapted below to the device name in your Jaguar Landrover InControl configuration; for me this is sensor.jaguar_info and lock.jaguar_doors. I will use simple button for the UI here - as I assume that is the simplest way to copy paste for testing.
1. Update Health Status (forces update from vehicle)
service: jlrincontrol.update_health_status
service_data:
    entity_id: sensor.my_car_info

example
entity: sensor.my_car_info
type: button
hold_action:
  action: more-info
name: Update My Car
show_icon: true
show_name: true
tap_action:
  action: call-service
  service: jlrincontrol.update_health_status
  service_data:
    entity_id: sensor.my_car_info

2. Honk/Flash
service: jlrincontrol.honk_blink
service_data:
  entity_id: sensor.my_car_info

example

[ ] tbd

3. Lock/Unlock
service: jlrincontrol.lock_vehicle
service_data:
  entity_id: sensor.my_car_info
  pin: XXXX

service: jlrincontrol.unlock_vehicle
service_data:
  entity_id: sensor.my_car_info
  pin: XXXX

example
type: button
entity: lock.my_car_doors
hold_action:
  action: more-info
icon: 'mdi:car-door-lock'
name: Lock Doors
show_icon: true
show_name: true
tap_action:
  action: call-service
  service: jlrincontrol.lock_vehicle
  service_data:
    entity_id: sensor.my_car_info
    pin: XXXX

type: button
entity: lock.my_car_doors
hold_action:
  action: more-info
name: Unlock Doors
show_icon: true
show_name: true
tap_action:
  action: call-service
  service: jlrincontrol.unlock_vehicle
  service_data:
    entity_id: sensor.my_car_info
    pin: XXXX
icon: 'mdi:car-door'

4. Start Engine/Stop Engine
service: jlrincontrol.start_vehicle
service_data:
  entity_id: sensor.my_car_info
  pin: XXXX
  target_value: <target temperature precondition value ?>

service: jlrincontrol.stop_vehicle
service_data:
  entity_id: sensor.my_car_info
  pin: XXXX

example

[ ] tbd

5. Start Charging/Stop Charging
service: jlrincontrol.start_charging
service_data:
  entity_id: sensor.my_car_info

service: jlrincontrol.stop_charging
service_data:
  entity_id: sensor.my_car_info

example

[ ] tbd

6. Reset Alarm
service: jlrincontrol.reset_alarm
service_data:
  entity_id: sensor.jaguar_info
  pin: XXXX

[ ] tbd

7. Start Preconditioning/Stop Preconditioning
service: jlrincontrol.start_preconditioning
service_data:
  entity_id: sensor.my_car_info
  target_temp: <temperature value>

service: jlrincontrol.stop_preconditioning
service_data:
  entity_id: sensor.my_car_info

example
type: button
show_icon: true
icon: 'mdi:fan'
name: Start preconditioning at 21°C
show_state: true
tap_action:
  action: call-service
  service: jlrincontrol.start_preconditioning
  service_data:
    entity_id: sensor.my_car_info
    target_temp: 21
hold_action:
  action: none
entity: sensor.my_car_info

8. Set Max Charge (Always and One Off)
service: jlrincontrol.set_one_off_max_charge_level
service_data:
  entity_id: sensor.my_car_info

service: jlrincontrol.set_max_charge_level
service_data:
  entity_id: sensor.my_car_info
 charge_level:  <in %>

example

[ ] tbd

or everything in one card?

cards:
  - cards:
      - entity: lock.my_car_doors
        hold_action:
          action: more-info
        icon: 'mdi:car-door-lock'
        name: Lock Doors
        show_icon: true
        show_name: true
        tap_action:
          action: call-service
          service: jlrincontrol.lock_vehicle
          service_data:
            entity_id: sensor.my_car_info
            pin: XXXX
          target: {}
        type: button
      - entity: lock.my_car_doors
        hold_action:
          action: more-info
        icon: 'mdi:car-door'
        name: Unlock Doors
        show_icon: true
        show_name: true
        tap_action:
          action: call-service
          service: jlrincontrol.unlock_vehicle
          service_data:
            entity_id: sensor.my_car_info
            pin: XXXX
          target: {}
        type: button
    type: horizontal-stack
  - cards:
      - entity: sensor.my_car_info
        hold_action:
          action: more-info
        name: Start Engine
        show_icon: true
        show_name: true
        tap_action:
          action: call-service
          service: jlrincontrol.start_vehicle
          service_data:
            entity_id: sensor.my_car_info
            pin: XXXX
            target_value: 21
          target: {}
        type: button
        icon: 'mdi:car-cog'
      - entity: sensor.my_car_info
        hold_action:
          action: more-info
        icon: 'mdi:car-off'
        name: Stop Engine
        show_icon: true
        show_name: true
        tap_action:
          action: call-service
          service: jlrincontrol.stop_vehicle
          service_data:
            entity_id: sensor.my_car_info
            pin: XXXX
          target: {}
        type: button
    type: horizontal-stack
  - type: horizontal-stack
    cards:
      - type: button
        show_icon: true
        icon: 'mdi:fan'
        name: Start preconditioning 21°C
        show_state: false
        tap_action:
          action: call-service
          service: jlrincontrol.start_preconditioning
          service_data:
            entity_id: sensor.my_car_info
            target_temp: 21
        hold_action:
          action: none
        entity: sensor.my_car_info
        show_name: true
      - type: button
        show_icon: true
        icon: 'mdi:fan-off'
        name: Stop preconditioning
        show_state: false
        tap_action:
          action: call-service
          service: jlrincontrol.stop_preconditioning
          service_data:
            entity_id: sensor.my_car_info
        hold_action:
          action: none
        entity: sensor.my_car_info
  - cards:
      - entity: sensor.my_car_info
        hold_action:
          action: more-info
        name: Start Charging
        show_icon: true
        show_name: true
        tap_action:
          action: call-service
          service: jlrincontrol.start_charging
          service_data:
            entity_id: sensor.my_car_info
        type: button
        icon: 'mdi:car-electric'
      - entity: sensor.my_car_info
        hold_action:
          action: more-info
        icon: 'mdi:car-electric-outline'
        name: Stop Charging
        show_icon: true
        show_name: true
        tap_action:
          action: call-service
          service: jlrincontrol.stop_charging
          service_data:
            entity_id: sensor.my_car_info
        type: button
    type: horizontal-stack
  - type: horizontal-stack
    cards:
      - type: button
        entity: sensor.my_car_info
        hold_action:
          action: more-info
        name: Update My Car
        show_icon: true
        show_name: true
        tap_action:
          action: call-service
          service: jlrincontrol.update_health_status
          service_data:
            entity_id: sensor.my_car_info
        icon: 'mdi:reload'
        show_state: false
      - type: button
        entity: sensor.my_car_info
        hold_action:
          action: more-info
        name: Honk & Blink
        show_icon: true
        icon: 'mdi:bugle'
        show_name: true
        tap_action:
          action: call-service
          service: jlrincontrol.honk_blink
          service_data:
            entity_id: sensor.my_car_info
type: vertical-stack


[MAINT] - Update pre-commits

:heavy_plus_sign: Add husky
:hammer: Add husky - configuration
:wrench: Add husky pre-commits
:wrench: Tweak linter and pre-commit settings
:rotating_light: Lint md files
:wrench: Ensure there are no pre-commit conflicts

Fixes #53 #70
Ready for an initial review, missing:

Update docs

Merging since @kcpevey approved and most of the comments were follow-up questions


[WIP] Fix tests

Still need to try to add back everything that was removed (or have a good reason for removing it)

Coverage decreased (-0.4%) to 99.469% when pulling 08cad383431379091c6ed1a4a9fd8fd729c995aa on fix-tests into 5220f3e14aafb49b745b6f3aafbf10ebbdb72968 on master.

Coverage decreased (-0.4%) to 99.469% when pulling 08cad383431379091c6ed1a4a9fd8fd729c995aa on fix-tests into 5220f3e14aafb49b745b6f3aafbf10ebbdb72968 on master.

Coverage decreased (-0.006%) to 99.823% when pulling 4612452e67ad7c0f3b55f55c8417a4bcf57ad430 on fix-tests into 5220f3e14aafb49b745b6f3aafbf10ebbdb72968 on master.

Coverage decreased (-0.006%) to 99.823% when pulling 4612452e67ad7c0f3b55f55c8417a4bcf57ad430 on fix-tests into 5220f3e14aafb49b745b6f3aafbf10ebbdb72968 on master.

Coverage decreased (-0.006%) to 99.823% when pulling 19b14f57f1ada61145fa0b483d866e280022fe6b on fix-tests into 5220f3e14aafb49b745b6f3aafbf10ebbdb72968 on master.


Upgrade of failureaccess (component of Guava)

NetBeans PR:
https://github.com/apache/netbeans/pull/7001

LGTM


MAINT: Initiate CircleCI's config file

/cc @effigies @mgxd testing out whether we could get away with our miniconda base and circleci's cache (for large packages such as fs, fsl, et al.).


Update version from <IP_ADDRESS> to <IP_ADDRESS>.

https://github.com/Microsoft/PTVS/issues/2400

Only the files in ptvsd should have to change - everything else can remain 3.0 because we haven't changed their format.

Please double check, it should limited to the ptvsd files now.


[WFRP4e Core] Strong Minded not changing Resolve value

The Strong Minded talent does not automatically add 1 per level to your Resolve, unlike other talents that do automatically update other stats, ie Suave +5 Fel.
From: Thoradinwfrp4e: 3.2.0wfrp4e-core: 1.11wfrp4e-starter-set: 1.03

Due to the already uncapped nature of Resolve, I'm going to go ahead and close this as I don't think this needs automation.


book: Fix mistake in theming chapter

The book says that the default theme is DARK_THEME, but it's actually LIGHT_THEME.

I forgot to update it when I changed it from dark to light ! ooops! ty!


Remove version: REALiX.HWiNFO version 8.12

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://sourceforge.net/projects/hwinfo/files/Windows_Installer/hwi64_812.exe/download
Status Code: 200
(Automated message - build 896)

Close with reason: Package still available.;


feat: update notification logic & refactor codebase

API PR Checklist
Pre-requisites

[x] I have gone through the Contributing guidelines for Submitting a Pull Request (PR) and ensured that this is not a duplicate PR.
[ ] I have performed preliminary testing using the test suite to ensure that any existing features are not impacted and any new features are working as expected.
[ ] I have updated the required api docs as applicable.
[ ] I have added/updated test cases to the test suite as applicable

PR Details
PR details have been updated as per the given format (see below)

[x] PR title adheres to the format specified in guidelines (e.g., feat: add admin login endpoint)
[x] Description has been added
[x] Related changes have been added (optional)
[x] Screenshots have been added (optional)
[ ] Query request and response examples have been added (as applicable, in case added or updated)
[ ] Documentation changes have been listed (as applicable)
[ ] Test suite output is added (as applicable)
[ ] Pending actions have been added (optional)
[ ] Any other additional notes have been added (optional)

Additional Information

[x] Appropriate label(s) have been added (ready for review should be added if the PR is ready to be reviewed)
[x] Assignee(s) and reviewer(s) have been added (optional)

Description:

Fetch data from database instead of .env file
Create providers module to fetch configuration data from
Update notification creation logic to use providerId to set data
Add foreign key constraints
Update the migration and seeding data as changes
Add new database constants

Related changes:
NA
Screenshots:

Add notification

Fetch all notifications

No match error

Provider not enabled error

Server key, Provider application Id mismatch
Query request and response:
Fetch all notifications
cURL
curl --location 'http://localhost:3000/graphql' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer my-test-key' \
--data-raw '{"query":"query {\r\n  notifications(\r\n    options: {\r\n      limit: 5\r\n      offset: 0\r\n      sortBy: \"createdOn\"\r\n      sortOrder: DESC\r\n      #search<EMAIL_ADDRESS>    #filters: [{ field: \"channelType\", operator: \"eq\", value: \"1\" }]\r\n    }\r\n  ) {\r\n    notifications {\r\n      applicationDetails {\r\n        applicationId\r\n        name\r\n        userId\r\n        status\r\n      }\r\n      applicationId\r\n      channelType\r\n      createdBy\r\n      createdOn\r\n      data\r\n      deliveryStatus\r\n      id\r\n      providerDetails {\r\n        providerId\r\n        name\r\n        channelType\r\n        isEnabled\r\n        configuration\r\n        applicationId\r\n        userId\r\n        status\r\n      }\r\n      providerId\r\n      result\r\n      status\r\n      updatedBy\r\n      updatedOn\r\n    }\r\n    total,\r\n    offset,\r\n    limit\r\n  }\r\n}","variables":{}}'

response
{
    "data": {
        "notifications": {
            "notifications": [
                {
                    "applicationDetails": {
                        "applicationId": 2,
                        "name": "sampleFoundationXApp",
                        "userId": 2,
                        "status": 1
                    },
                    "applicationId": 2,
                    "channelType": 1,
                    "createdBy": "sampleFoundationXApp",
                    "createdOn": "2024-04-25T11:22:17.000Z",
                    "data": {
                        "from"<EMAIL_ADDRESS>                        "to"<EMAIL_ADDRESS>                        "subject": "OX subject",
                        "text": "Called from Osmox",
                        "html": "<b>This is a new html message</b>"
                    },
                    "deliveryStatus": 4,
                    "id": 2,
                    "providerDetails": {
                        "providerId": 1,
                        "name": "SMTP",
                        "channelType": 1,
                        "isEnabled": 1,
                        "configuration": {
                            "SMTP_HOST": "some.smtp.host",
                            "SMTP_PORT": 587,
                            "SMTP_USERNAME": "someusername",
                            "SMTP_PASSWORD": "somepassword"
                        },
                        "applicationId": 2,
                        "userId": 1,
                        "status": 1
                    },
                    "providerId": 1,
                    "result": {
                        "result": {
                            "errno": -3008,
                            "code": "EDNS",
                            "syscall": "getaddrinfo",
                            "hostname": "some.smtp.host",
                            "command": "CONN"
                        }
                    },
                    "status": 1,
                    "updatedBy": "sampleFoundationXApp",
                    "updatedOn": "2024-04-25T11:22:17.000Z"
                }
            ],
            "total": 1,
            "offset": 0,
            "limit": 5
        }
    }
}

Documentation changes:
NA
Test suite output:
NA
Pending actions:
NA
Additional notes:
NA

Summary by CodeRabbit
Summary by CodeRabbit

New Features

Enhanced notification system with the capability to specify the notification provider per request.
Introduced a new entity and service for managing notification providers more efficiently.
Added detailed provider information in notification queries.

Refactor

Streamlined the handling of notification channels and providers across various services.
Removed redundant configurations and replaced them with centralized provider services.

Bug Fixes

Ensured user existence check before creating applications to prevent errors.

Documentation

Updated internal documentation to reflect changes in notification management and provider configurations.

@kshitij-k-osmosys When trying to run the migration using npm typeorm:run-migration, I am getting the following error:

Is this something reproducible on your end?


Fixed PowerShell sample

Category

[X] Content fix
[ ] New article
Related issues: N/A

What's in this Pull Request?
The provided PowerShell sample with the sample JSON file could not be copy/pasted into PowerShell. It would leave it in the edit mode in PowerShell. With this minor update, you can safely copy/paste the sample into PowerShell and hit enter to load the sample JSON up into the $site_script variable

thx @KoenZomers, appreciated.


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-k8s-23-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 1398

Questions ?
Please refer to the Backport tool documentation


Hard fork outstanding questions

There are a few open questions about how to handle hard-forking / disaster recovery. Namely

How do we deal with switching over the old SNARK?
How do we handle gaps in filled slots?

One option is to declare -- "this is the new genesis block"


Recursion wrongly overwrites variable

Hi all,
We are observing that the translation of a recursive call is overwriting a variable that should not be overwritten. In the following example, the "ms" variable is overwritten within the "find" function. This will cause the main function to give wrong results any time "find" is called more than once.
Apologies for the repro being longer than I'd like, but this bug seems to only manifest in somewhat complicated cases. Nevermind if the code doesn't seem to do anything sensible; this is a large simplification from our real world case.
The bug is obvious if you look at the translated code; you will see that the "find" function executes       "ms=_msr". That should not happen; ms should never be modified.
Original F# code:
let test_websharper_bug (ns:string list) (ms:string list) =
  let find (d: string) ns =
    let rec loop acc msl msr =
      match msr with
      | [] -> acc
      | m::msr' -> loop acc (m::msl) msr'
    loop [] [] ms in
  let rec loop acc record nsl nsr =
    let expand_finds fs = [] in
    let search_record = function
      | [d] -> let foo = expand_finds (find d [d]) in []
      | _ -> [] in
    match nsr with
    | [] -> search_record (List.rev record) @ acc
    | n::nsr ->
        let acc = search_record record @ acc in
        loop acc [] (nsl@record@[n]) nsr
  in
  loop [] [] [] ns

Translated JS code:
test_websharper_bug=function(ns,ms)
 {
  var find;
  find=function()
  {
   var acc,msl,_msr,m$1;
   acc=new T$1({
    $:0
   });
   msl=new T$1({
    $:0
   });
   while(true)
    if(ms.$==1)
     {
      _msr=ms.$1;
      m$1=ms.$0;
      msl=new T$1({
       $:1,
       $0:m$1,
       $1:msl
      });
// *** BUG HAPPENS HERE ***
      ms=_msr;
     }
    else
     return acc;
  };
  return function(acc,record,nsl,nsr)
  {
   var record$1,search_record,nsr$1,n,acc$1;
   while(true)
    {
     search_record=function(expand_finds)
     {
      return function(a)
      {
       var $1,foo;
       return(a.$==1?a.$1.$==0?($1=a.$0,true):false:false)?(foo=expand_finds(find($1,List$1.ofArray([$1]))),new T$1({
        $:0
       })):new T$1({
        $:0
       });
      };
     }(function()
     {
      return new T$1({
       $:0
      });
     });
     if(nsr.$==1)
      {
       nsr$1=nsr.$1;
       n=nsr.$0;
       acc$1=List$1.append(search_record(record),acc);
       record$1=record;
       acc=acc$1;
       record=new T$1({
        $:0
       });
       nsl=List$1.append(nsl,List$1.append(record$1,List$1.ofArray([n])));
       nsr=nsr$1;
      }
     else
      return List$1.append(search_record(List$1.rev(record)),acc);
    }
  }(new T$1({
   $:0
  }),new T$1({
   $:0
  }),new T$1({
   $:0
  }),ns);
 }

Tested in Zafir 177, beta 9.

Thanks for the report, this is indeed some bug in tail recursion optimizer, looking into it.


Add support for cluster token allowed IP addresses

It doesn't appear to be possible to set cluster token allowed IP addresses using the provider.
There's no mention of it in the v1.1.1 documentation.
Manually updating the IP restriction in the UI and doing a terraform plan says that there are:
No changes. Your infrastructure matches the configuration.

This would be super helpful to not need to make any GUI changes to the cluster config.

Thanks for raising this @nick-f!
Input for both the create/update of Cluster agent tokens does have these available to use - we'll look at getting it added 🙂

Hey @nick-f!
As promised above - I've got a PR adding said attribute in. Once approved/merged, it'll be usable in the next release of the provider 🙂

Amazing, love your work! I'll keep an eye out for the next release. Thanks James!

Hey @nick-f!
Thanks for your patience on the above - in the interim from my last comment, I've switched said attribute to a list vs just a string (makes it a little easier to maintain) and its now merged to main.
Not promising specific version numbers (maybe v1.2.0 (?) but it'll be inslusive in the next release!

@nick-f 👋 - just a complete full circle - v1.2.0 outed not too long ago with the ability to set such allowed IPs to tokens - feel free to give it a go!
More fine-grained resource docs on the registry for perusal also (which do live here also)!

@james2791 That's great news, thank you! I'll give it a try and will report back if there's any issues ❤


Cross sectional pipeline: "module 'antsnetct.ants_helpers' has no attribute 'winsorize_image'"

Running into this error. I'm using singularity to execute antsnetct:
singularity pull
singularity pull antsnetct docker://cookpa/antsnetct:0.3.1
#export variables
export SINGULARITYENV_TEMPLATEFLOW_HOME=/path/to/templateflow
export SINGULARITYENV_ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS=0
### run antsnetct
singularity run \
-B /path/to/templateflow:/opt/templateflow \
-B /path/to/data:/home/antspyuser/ \
antsnetct \
--input-dataset /home/antspyuser/TRACK_phase1_BIDS/ \
--participant TBI011011 \
--output-dataset /home/antspyuser//output_test/ \
--session 2WK

error message:
..
2024-11-05 13:10:03,241 - antsnetct.cross_sectional_pipeline - INFO - Generating final segmentation directly from priors
2024-11-05 13:10:08,658 - antsnetct.cross_sectional_pipeline - INFO - Removing outliers from the T1w image
2024-11-05 13:10:08,658 - antsnetct.cross_sectional_pipeline - ERROR - Caught <class 'AttributeError'> during processing of BIDSImage: bids::sub-TBI011011/ses-6MO/anat/sub-TBI011011_ses-6MO_acq-3D_T1w.nii.gz
Traceback (most recent call last):
File "/opt/venv/lib/python3.11/site-packages/antsnetct/cross_sectional_pipeline.py", line 344, in cross_sectional_analysis
seg_n4 = segment_and_bias_correct(preproc_t1w_bids, brain_mask_bids, seg_priors['prior_seg_probabilities'],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/venv/lib/python3.11/site-packages/antsnetct/cross_sectional_pipeline.py", line 741, in segment_and_bias_correct
t1w_winsorized = ants_helpers.winsorize_image(t1w_bids_preproc.get_path(), brain_mask_bids.get_path(), work_dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'antsnetct.ants_helpers' has no attribute 'winsorize_image'

Thanks, this worked. Running the pipeline now -
Should I post general questions to issues or somewhere else ?

Great - I've opened discussions for general questions.
I can move things to and from discussions or issues so please go ahead and post things wherever, but if it's a bug report then the more details (as in your OP here) the better.


Update energy storage constraints with multi-year investment

Pull request details
Describe the changes made in this pull request
Update the energy storage limit to consider the accumulated energy investment in the multi-year development. The storage assets will only use the simple method.
List of related issues or pull requests
Part of #806
Collaboration confirmation
As a contributor I confirm

[x] I read and followed the instructions in README.dev.md
[NA] The documentation is up to date with the changes introduced in this Pull Request (or NA)
[x] Tests are passing
[x] Lint is passing

LGTM. Just as a repeated note, we're adding a lot of sum(... if ..) inside expressions, which is slower. It's not terrible, but it's something to keep in mind. And as a reminder to ourselves, we plan to remove these during/after the refactor.

I 100% agree; I also want to get rid of those combinations of sum(... if ..). I am adding that to the list of refactoring tasks. Thanks!


fby4: sd: Support get retimer fw version

Description:
Support get retimer fw version
Motivation:
Currently, BMC could not get retimer fw version through pldm
Test Plan:
Check retimer fw version - pass
Test Log:
root@bmc:~# pldmtool fw_update GetFwParams -m 60
...
{
"ComponentClassification": "Downstream Device",
"ComponentIdentifier": 4,
"ComponentClassificationIndex": 0,
"ActiveComponentComparisonStamp": 0,
"ActiveComponentReleaseDate": "",
"PendingComponentComparisonStamp": 0,
"PendingComponentReleaseDate": "",
"ComponentActivationMethods": [
"Self-Contained"
],
"CapabilitiesDuringUpdate": {
"Firmware Device apply state functionality": " Firmware Device will execute an operation during the APPLY state which will include migrating the new component image to its final non-volatile storage destination."
},
"ActiveComponentVersionString": "02080000",
"PendingComponentVersionString": ""
}

This PR has dependency with PR 1398.


implement SOS serialization in minimal_ssz.py

Note: PR into master, to get it into v0.6.1. Will make PRs into special dev branch for future v0.6.x updates after v0.6.1
Implemented SOS serialization for minimal_ssz.py (util of the executable spec).
Some notes:

Container encoding differs slightly:

I call the helper function encode_series, since it does lists, vectors and containers. Not just containers.
Removed unnecessary summing & list concatenation. Worth a few lines to get fast CI + tests.

The encoding seems funny, but is correct from what I understand. Example outlined below.
The spec can be improved somewhat:

serialize(sum(fixed_lengths + variable_lengths[:i]))  is not just inefficient, it is also missing explicit expression of the expected length of the serialization output. Should be BYTES_PER_LENGTH_OFFSET, which is 4, i.e. uint32, something different from most of the other parts of the spec.
typo: Rec**c**ursively

Example of funny but correct encoding I stumbled upon when reviewing newly generated ssz_static test vectors:
(note that all values are maximized, it's really all about lengths here)
    aggregation_bitfield: '0xff'
    data: <snip, lots of 0xfff... constant size maximized data>
    custody_bitfield: '0xff'
    signature: '0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'

Serialized (scroll to end):
0x20010000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff25010000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000ff00000000ff

Offsets are in little endian, and seem to be correct. The interesting thing is the last part: bitfields of arbitrary length are encoded as a list of uint8, which is 00000000ff for a bytes with value ff
Now, can the size of the bitfield not already be inferred from the encapsulating struct, and its offsets? (or the plain encoded message if the bytes is the top-most serialized object).
I think we would want a case in SOS-style SSZ where we just encode bytes without the unnecessary offset. What do others think? Is there some edge-case I'm missing here? Or do I misinterpret the alias line "bytes" to ["byte"] (this is not a basic type) in the spec somehow?

@JustinDrake You worked on the SOS wording in the SSZ spec, and are working with bitfields in PR #1019, what do you think about the encoding example above?

Now that I think about it, the 0x0000... actually has to be 0x04000... To account for the offset itself. Can fix that later. Base point still stands: do we actually want it to be there?


103 we should be using the logging module

Added changes from yesterday's discussion. Also updated the CLI interface to engage the log level from the verbosity flag.

Also, I realise the integration test will fail due to #223. I will fix this today so that we have working integration tests.

@SeanBryan51, OK. Massive update with merges and reversion to the native logger class. We had to do this because there is some python magic behind the scenes that will enable the native logger to pickle, whereas subclassing the native logger loses this ability. Many hours chasing that down.
This means that we lose the ability for multi-line logging in a single call (which also means we retain the code location information in the log), and we have to call an explicit log call for each line, which is technically the proper practice and will enable us to later use a log-scanning framework to extract events from log lines.
I've updated from main, merged, applied a bunch of changes suggested from ruff and black and ran the integration and pytest suites through to success. I think we're good to go on this.
We should look at adding black and ruff to the GitHub actions in another PR, if we haven't already.
Let me know if you have any questions.

@bschroeter There is a minor conflict now with main since the merge of #232. Since Sean is away, I'll try and review.

I've spotted a few errors while resolving merge conflicts. But otherwise only minor typos.
If you don't mind resubmitting for review once this is solved, I want to make sure I'm not missing anything else.

Thanks Claire - looks like the merge from main didn't pick up some of the recent changes. I'm working through these and getting an update PR ready for you.

OK @ccarouge, I've gone back through everything and manually applied all of the changes that got clobbered over the last week. I think it should all be ok now...
I've run all tests and integration and it seems to pass.
Coverage drops, but otherwise I think this is ready?


v0.2.1 broke toctree for a few pages

http://docs.platformio.org/en/latest/frameworks/index.html
https://github.com/platformio/platformio-docs/blob/develop/frameworks/index.rst
http://docs.platformio.org/en/latest/core.html
https://github.com/platformio/platformio-docs/blob/develop/core.rst

Tired locally v0.2.0 and it works correctly. Is possible to force ReadTheDocs to use v0.2.0?
I know that is possible to pre-install custom pip-deps but ReadTheDocs uses own sphinx_rtd_theme and doesn't allow to use other.
Thanks!

Does specifying sphinx_rtd_theme==0.2.0 in a requirements file not work? This should work for overriding our default versions.
I'll see about poking the 0.2.1 bugfix with your project.

Acutally, nevermind. I think 0.2.0 hosed your build, 0.2.1 seems to be okay after wiping out your virtualenv. Look better now?

This was indeed a bug in 0.2.1, I've deployed 0.2.2 to fix it.

Thanks, it works now with 0.2.2.
P.S: Thanks a lot for RTD 👍 😊


Class active does not exist

Laravel version: 5.3
php Version: 5.6
Laracogs version : 2
Laracogs installed as described. After that, i have set up Application Starter Kit as explained in documentation. After that, when i try to login, it takes me to  /dasbhoard with following message
ReflectionException in Container.php line 749:
Class active does not exist
Same message when i try to create new controller for dashboard as well.
Please Help. Im kinda noob at this.
Ashish

No worries @ashish64 can you confirm that you followed these instructions: https://github.com/YABhq/Laracogs#starter
Next did you remove this like regarding the email activation in the docs: 'active' => \App\Http\Middleware\Active::class,
If so then you need to remove the 'active' middleware statement in the routes files. Looks like I should add that to the docs

that did the job!! it was quite easy,
as explained in documentation, i didnt wanted users to activate their accounts via email links as im just playing around.. so i had that line commented. You should definitely add that in documentation.
Again, thanks for this quick response!!

I'm Sorry to re activate this topic but I'm a little lost in this part of the documentation:
You can disable it by removing the active middleware from the web routes.

Do I need to comment this line in '/app/http/kernel.php': 'active' => \App\Http\Middleware\Active::class,
or I should comment the whole section  Route::group(['middleware' => ['auth', 'active']], function ()
in /routes/web.php
I just need to play around with laracogs without the email token confirmation.
Thank you!

Switch this: Route::group(['middleware' => ['auth', 'active']] to this: Route::group(['middleware' => ['auth']] and it should bypass the whole activation middleware

Great!
Thank you mlantz!


No way to add args to gulp task

Despite reference to the documentation this feature has appeared to have gone away.
I have tried everything but the CLI seems to pass the args first and assumes all arguments (if not documented flags) are task names.
This results in the following:
§ gulp mocha:/Users/sam/code/some-spec.js
[00:08:20] Using gulpfile ~/code/gulpfile.js
[00:08:20] Task 'mocha:/Users/sam/code/some-spec.js' is not in your gulpfile
[00:08:20] Please check the documentation for proper gulpfile formatting

:disappointed: perhaps it would be possible to add and option for args to be supplied after -- like npm does? Unless there is another obvious way I have missed.

I'm guessing you're coming from Grunt or Rake?
To pass an argument, you'll want gulp --my_flag taskname

I have used both in the passed. But not exclusively, however the example above used to work I only just recently noticed it wasn't.
I was using it to specify a particular glob match to run unit test specifically if listed, but what you are suggesting is that I have to use some kind of arg parsing module and actually prefix the option.
I just wanted to pass the file specific glob after the task name and use process.argv.slice(3) to grab the files if any.
I will also likely need to use minimist so it is parsed in the same manor as the gulp args in comparison to say commander.

Yep - you should use minimist to parse command line args.


cmd/go: get should fall back to the git protocol

go get doesn't work for private GitHub repos because it only tries HTTPS (or HTTP if you use -insecure IIUC). Why not have a fallback for HTTPS that tries SSH as well?

AFAIK, URL rewrite via a git config is working  for others but we need a more reliable solution for this case. It is a large majority of the users who has to maintain private packages and go get doesn't support such a common case out of the box.
URL rewrite config:
git config --global url."git@github.com:".insteadOf "https://github.com/"

That's the workaround I use, but now I have to use a make file to ensure
Git is configured correctly on new machines like Travis. This makes the Go
tool useless out of the box, and one of the nice things about Go in my
opinion is that you don't need make to build code.
I think it should actually try SSH before HTTPS, but I'll take even SSH
being the fallback.
On Mon, Feb 6, 2017 at 12:45 PM Jaana B. Dogan<EMAIL_ADDRESS>wrote:

AFAIK, URL rewrite via a git config is working for others but we need a
more reliable solution for this case. It is a large majority of the users
who has to maintain private packages and go get doesn't support such a
common case out of the box.
URL rewrite config:
git config --global url."git@github.com:".insteadOf "https://github.com/"
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/18927#issuecomment-277807627, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAD5VnYwxcgej6CDi-Ij5lxss_BWR50Hks5rZ4aCgaJpZM4L2vF5
.

I feel this is more a documentation issue rather then a problem that needs solving, I'm perfectly happy using .netrc authentication for example:
https://gist.github.com/cactus/3925422
In the case of git there seem to be plenty more solutions (which I haven't tested):
https://git-scm.com/docs/gitcredentials
Go uses different VCS and so far as I know has chosen to use HTTP(S) as it's common transport protocol. For me it would make more sense to document how each VCS would be properly configured for authentication since in the end it should be the responsibility of the VCS to authenticate.
Adding SSH as an extra transport protocol seems unnecessary complicated to combine with canonical imports and any other potential edge cases.

It uses http/s because they're most commonly left open in firewalls (from the Go FAQ, if I recall correctly). SSH is yet another common transport that any VCS could use; how they use it, I shouldn't have to care about; it should work out of the box. If I have to configure a VCS to use SSH, then in general I have to know what VCS a package is hosted with before I try to import it.

I think private Github repos work with HTTPS. The assertion above is that they only work over SSH. Can someone clarify?

They work over HTTPS by provisioning a .netrc config for example.

@rsc If private GitHub repos did work with HTTPS, then wouldn't the Go FAQ explain how to do that instead of how to do the Git URL rewrite configuration?

I sent out a doc update in response to the comment above, and then we'll call this fixed.
golang.org/cl/107775.


Fix issue with icon element monochrome sample not working

Description

Motivation and Context

Fixes #725
How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

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

Is this related to some bug with nullability, booleans, and binding?

I think the issue is more related to the control not properly rerendering when you change the ShowAsMonochrome property


Segmentation fault when running detectnet with a caffemodel

Hi,
I am trying to run the detection example on my jetson nano with detectnet.py and a model I trained in DIGITS with the, now deprecated, two day to a demo tutorial. It worked fine before the last update of 15.07.2020 but now when I try to run this command:
$ python3 detectnet.py --prototxt=$NET/deploy.prototxt --model=$NET/snapshot_iter_52000.caffemodel
The program start and after getting the first frame it crash with a segmentation fault as below.
[TRT]    ------------------------------------------------
[TRT]    Timing Report /home/jetson/jetson-inference/build/aarch64/bin/networks/Mouse_1000ep_nosub/snapshot_iter_52000.caffemodel
[TRT]    ------------------------------------------------
[TRT]    Pre-Process   CPU   0.05917ms  CUDA   6.55312ms
[TRT]    Network       CPU 150.64021ms  CUDA 136.23354ms
[TRT]    Post-Process  CPU   0.28928ms  CUDA   0.28932ms
[TRT]    Total         CPU 150.98866ms  CUDA 143.07599ms
[TRT]    ------------------------------------------------
[TRT]    note -- when processing a single image, run 'sudo jetson_clocks' before
to disable DVFS for more accurate profiling/timing measurements
Segmentation fault (core dumped)
After that even trying to run the detection with the default model don't work anymore I have to restart the jetson nano.
Any idea where it could come from ?

Hmm, does it work if you just process a single image?  Like this:
$ python3 detectnet.py --prototxt=$NET/deploy.prototxt --model=$NET/snapshot_iter_52000.caffemodel my_image.jpg

Or what happens if you run the C++ version (./detectnet) instead of Python version?
If you continue to have the issue, for now you can revert to using the 20200714 branch (which I backed-up before I merged all these changed):   https://github.com/dusty-nv/jetson-inference/tree/20200714

I tried with a few different images from the image folder and also with some of mine. It appears that whenever the model doesn't detect an object in the image he runs fine (the model is trained to detect only 1 thing, a laboratory mouse) but when I use my images or an image where he could detect an object, I get a segmentation fault.
When it work:
[image] loaded 'images/airplane_1.jpg'  (427x640, 3 channels)
detected 0 objects in image
[OpenGL] glDisplay -- set the window size to 427x640
[OpenGL] creating 427x640 texture (GL_RGB8 format, 819840 bytes)
[cuda]   registered openGL texture for interop access (427x640, GL_RGB8, 819840 bytes)
[image] saved 'output_0.jpg'  (427x640, 3 channels)
[TRT]    ------------------------------------------------
[TRT]    Timing Report /home/jetson/jetson-inference/build/aarch64/bin/networks/Mouse_1000ep_nosub/snapshot_iter_52000.caffemodel
[TRT]    ------------------------------------------------
[TRT]    Pre-Process   CPU   0.08297ms  CUDA   9.29062ms
[TRT]    Network       CPU 198.47118ms  CUDA 189.13553ms
[TRT]    Post-Process  CPU   0.25839ms  CUDA   0.25771ms
[TRT]    Total         CPU 198.81255ms  CUDA 198.68385ms
[TRT]    ------------------------------------------------
[TRT]    note -- when processing a single image, run 'sudo jetson_clocks' before
to disable DVFS for more accurate profiling/timing measurements
When it doesn't:
[image] loaded 'images/cat_1.jpg'  (350x441, 3 channels)
Segmentation fault (core dumped)
The c++ version ./detectnet behave exactly the same
I'v also tried different models I trained and the result is the same
What surprise me the most is that I get the same problem when I use detectnet-console with the 20200714 branch. I don't understand why. I initially pulled the jetson-inference master on June 18. I'm not extremely familiar with github but is it possible for me to get the version at this point of time ?

The submodules are automatically reverted to their older versions when you git checkout 0a75e3059a93945dcd9570a5c9f3efdd9c33ce38
Just remember to re-compile and do sudo make install so you don't have another version of the shared libraries installed on your system.

Thanks,
I could get back to a point where my inference with a custom model work. I'm gonna work with that from now on.
That doesn't resolve the problem tho, do you want me to close the issue anyway ?

Hi @dusty-nv - i seem to be having the same problem, as described above.

I know that it is not a memory issue (ive been running it with tegrastats, and swap file still has plenty of space)
I know that it is not a corrupt model. Ive been using the model that you trained in https://github.com/dusty-nv/jetson-inference/blob/master/docs/pytorch-ssd.md#training-the-ssd-mobilenet-model
I am succesfully able to run the program with the model, on images that do not contain the classes. However the program crashes when run on images containing the classes with the error: "Segmentation fault (core dumped)"

I am running on an nvidia jetson nano 2GB, and i have been following the youtube tutorial (hello world AI) pretty strictly. Is the code still working properly on your setup?

Hi @s183724, what is the command line that you are running?

Hi @dusty-nv. Thank you so much for the quick reply!
I have tried multiple variations of the command, both with my own images downloaded into the data folder and the preinstalled images. I have also tried the specific command you use in your youtube video (which has been a great help, THANKS!).
i am running this command from within the docker container:
detectnet --model=models/fruit/ssd-mobilenet.onnx --labels=models/fruit/labels.txt --input-blob=input_0 --output-cvg=scores --output-bbox=boxes "/jetson-inference/data/images/fruit_*.jpg" /jetson-inference/data/images/test/fruit_%i.jpg
If i feed this command pictures of non-fruits it succesfully goes to the next image, but when i feed it a fruit i get:
[image] loaded 'images/fruit_1.jpg' (350x441, 3 channels)
Segmentation fault (core dumped)


Docs - Testing Flask Applications

Environment:

Python version:
Flask version:1.1.x

In the documentation on page https://flask.palletsprojects.com/en/1.1.x/testing/ in part Testing Flask Applications, it says We begin by adding a tests directory under the application root. Then create a Python file to store our tests (test_flaskr.py). When we format the filename like test*.py, it will be auto-discoverable by pytest._ First of all, there is not such a file  test_flaskr.py in the repository that the documentation points to.
One other thing, in the code snippet from the same page:
import os
import tempfile

import pytest

from flaskr import create_app

@pytest.fixture
def client():
    db_fd, flaskr.app.config['DATABASE'] = tempfile.mkstemp()
    flaskr.app.config['TESTING'] = True

    with flaskr.app.test_client() as client:
        with flaskr.app.app_context():
            flaskr.init_db()
        yield client

    os.close(db_fd)
    os.unlink(flaskr.app.config['DATABASE'])

The create_app import is not used. And flaskr module does not have a variable called app as it is being created as an app factory pattern.
These mistakes make it hard to understand the documentation.

Duplicate of https://github.com/pallets/flask/issues/3545


Check for disallowed executable files in the repo.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
596

Relevant Lines:
990

💛  - Coveralls


Bump up to go 1.21.

depends on: https://github.com/openshift/release/pull/48051

/lgtm

Force merged, it's seems openshift-bot will automatically update release config after the dockerfile changed.
See details in this PR: https://github.com/openshift/release/blob/master/ci-operator/config/stolostron/managedcluster-import-controller/stolostron-managedcluster-import-controller-backplane-2.5.yaml
manged-import-controller upgrade the dockerfile and bot upgrade the dockerfiles


Show individual dice rolls (not just dice totals)

It would be great to show the individual dice rolls instead of just the totals (like can be enabled for damage). I'm in two groups (one I am the GM, the other a player) and the GM of the group that I play in prefers to see the individual dice rolls. I'd like to move from Roll20 to FoundryVTT, and this is probably not a deal breaker, but I figure if it can be done for damage, it can be done for other rolls (hah--I am not a programmer, and this is probably far easier said than done). It would be great if that can be enabled. Thanks!


Attempt to convert Orleans test runner to a silo

This change improves Orleans results:
Clients: 750
Before:  368869
After:   458337

Which is ~24.3% improvement


Run cypress on documentation site periodically

Is your feature request related to a problem? Please describe.
Thanks to @huyenuet for her work in #154 and #159, we have some e2e tests to run on the documentation site www.jest-preview.com. However, we haven't set up it to run automatically in our workflow.
Describe the solution you'd like

Run it periodically (e.g: 1-2 times a day)

Describe how should jest-preview implements this feature

Use GitHub Actions

Reference this: https://github.com/filiphric/filiphric.com/blob/master/.github/workflows/cypress.yml


Adding type annotations and removing style warnings.

Hi @johnugeorge!
Please, take a look at my PR for your KubeFlow runner implementation. I added several type annotations and got rid of python style warnings.
Thanks,
Sergey.

Thanks Sergey


Naming samples and porting to Flask

Ported main samples from aiohttp to Flask. Rename and rearrange of samples to match BotBuilder-Samples.
fixes #212

pyyaml>=5.1

Curious if this is required?

Refers to: samples/06.using-cards/requirements.txt:4 in 557f75c. [](commit_id = 557f75c68cb1a79c218c944831f8c43c3facd134, deletion_comment = False)

  "url": "https://docs.microsoft.com/en-us/azure/bot-service/?view=azure-bot-service-4.0"

Super low pri: FYI: You can remove the "en-us" and I believe it will redirect appropriately..

Refers to: samples/13.core-bot/cards/welcomeCard.json:33 in 557f75c. [](commit_id = 557f75c68cb1a79c218c944831f8c43c3facd134, deletion_comment = False)

LUIS_API_KEY = ""

Should this have the env check stuff?
ie, os.environ.get("LuisAPIKey", "")

Refers to: samples/21.corebot-app-insights/config.py:15 in 557f75c. [](commit_id = 557f75c68cb1a79c218c944831f8c43c3facd134, deletion_comment = False)

requests>=2.18.1

We might want to adopt a practice of putting a NOTICE.md (like here).
Specifically, because requests has a dependency on a LGPL license.

Refers to: samples/21.corebot-app-insights/requirements.txt:3 in 557f75c. [](commit_id = 557f75c68cb1a79c218c944831f8c43c3facd134, deletion_comment = False)

-c "from model_corebot101.language_helper import LanguageHelper; lh = LanguageHelper(). lh.initialize_models(bert_model_dir='/model_runtime_api/model/bert', bidaf_model_dir='/model_runtime_api/model/bidaf')"

Doh!  Not needed.

Refers to: samples/experimental/101.corebot-bert-bidaf/Dockerfile_model_runtime:27 in 557f75c. [](commit_id = 557f75c68cb1a79c218c944831f8c43c3facd134, deletion_comment = False)

fixed comments @daveta


Added draft support for the storybook-addon-designs

In order to avoid copy-pasting content between our Figma specifications and Component documentation, created a link between them. Not ideal, because of an iframe experience, but should be good enough for now.

 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.You have signed the CLA already but the status is still pending? Let us recheck it.


CupertinoDatePicker initialDateTime accounts for minuteInterval

Description
initialDateTime should account for minuteInterval
Related Issues
fixes #28730
Tests
I added the following tests:

initial date honors minuteInterval

Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (Please read Handling breaking changes). Replace this with a link to the e-mail where you asked for input on this proposed change.
[x] No, this is not a breaking change.

LGTM


I want someone to train a custom model finetuned to work with aider

I want someone to fine tune the latest coding models such as deepseep-v2.5 , reflection, yi-coder etc on specially generated dataset for aider coding tasks. I don't have enough money to do this but if anyone wants to explore in this direction then sponsor me for this project or do it by themselves.
My whatsapp: +917016525813
Email<EMAIL_ADDRESS>Website : https://hjlabs.in

In this way we can use Claude to generate dataset or use online specialized synthetic dataset generation tools such as glaive.ai or mostly.ai
Then use this dataset to train a model on this.
Then deploy on ollama model library
Then add it to the aider ollama models list


Sync docs

<!--  Thanks for sending a pull request!  Here are some tips for you:

#### What type of PR is this?
This PR syncs the docs with this a previous [PR ](https://github.com/armadaproject/armada/pull/4056)

#### What this PR does / why we need it:
We need this PR to deploy gh-pages

#### Which issue(s) this PR fixes:
N/A

#### Special notes for your reviewer:

Closing. Not signed


HWKAPM-492 Introduce a service status mechanism to determine if a ser…

…vice implementation is available - the service resolver can then use this fact to determine which (if any) implementation should be returned

Review note:

Client side component implementations are resolved using the ServiceLoader mechanism. This mechanism will prevent implementations from being returned if the required configuration is not available. This will help future scenarios where the client may have multiple possible implementations available, and can choose based on the configuration (environment variables) they define.
The TracePublisher interface previously had a similar mechanism, which operated at a higher level (i.e. after the implementation had been returned). This new mechanism is more generic and (as said) supports multiple potential implementations being available.

Hello Gary, I looked at it. It looks good :+1:

@pavolloffay Thanks Pavol


Added support for horizontal scrolling, plus relevant test

Fixes #319
Includes test for horizontal scrolling

Just tested this on an iphone 5s with iOS 8 and vertical scrolling is not working properly.
I tested on a list with links and overscoll-y: scroll. When I scroll in the list and tap on a link after scroll, my tap is registered on the initial position in the list.

The changes in this PR are minimal... do you have the same problem with the master branch of the project?

In short, yes.

So the problem isn't with the PR?

Any progress on this PR? I've run into the same horizontal-scrolling issue.


feat(composables): more interceptors

Changes
new interceptors for:
ADD_TO_WISHLIST
ORDER_PLACE
SESSION_SET_CURRENCY
SESSION_SET_PAYMENT_METHOD
SESSION_SET_SHIPPING_METHOD
USER_LOGIN
USER_REGISTER

Checklist

[ ] the list of features is updated (if it's a feature and it's relevant)
[x] I followed contributing guidelines

It's merged already, but before we make this public, I think we should agree on some type guidelines for naming.


Create nowcast.figures.research.tracer_thalweg_and_surface module

Original report by Doug Latornell (Bitbucket: douglatornell, GitHub: douglatornell).

Produce a figure that shows a thalweg profile and surface map of the values of a tracer; similar to the figures in http://nbviewer.ipython.org/urls/bitbucket.org/salishsea/analysis/raw/tip/Muriel/ExploringNowcast_GreenOutputs-SWC.ipynb

This was implemented after SalishSeaNowcast was moved to a separate repo.


Warning: Failed Context Types: Required context router was not specified

I clone the latest react-router repo:

everything works fine.
but I copy the auth-flow example into my own folder to run
but it get this error:

webpack.config,js
module.exports = {
	entry: './app.js',
	output: {
		path: __dirname + '/build/',
		filename: 'bundle.js'
	},
	module: {
		loaders: [
			{
				test: /\.jsx?$/,
				exclude: /(node_modules|bower_components)/,
				loader: 'babel',
				query: {
					presets: ['react', 'es2015']
				}
			}
		]
	}
};

package.json
{
  "name": "reacttest",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "",
  "license": "ISC",
  "dependencies": {
    "babel-core": "^6.3.26",
    "babel-loader": "^6.2.0",
    "babel-preset-es2015": "^6.3.13",
    "babel-preset-react": "^6.3.13",
    "history": "^1.17.0",
    "react": "^0.14.3",
    "react-dom": "^0.14.3",
    "react-router": "^1.0.3",
    "webpack": "^1.12.9"
  }
}

index.html
<!DOCTYPE html>

	<meta charset="UTF-8">
	<title>Document</title>

and auth.js and app.js is the same as the example provide.
can not work it our for several days, please help,

Thanks for your question!
We want to make sure that the GitHub issue tracker remains the best place to track bug reports and feature requests that affect the development of React Router.
Questions like yours deserve a purpose-built Q&A forum. Could you post this question to Stack Overflow with the tag #react-router? https://stackoverflow.com/questions/ask?tags=react-router.
We also have an active and helpful React Router community on Reactiflux, which is a great place to get fast help with React Router and with the rest of the React ecosystem. You can join at https://discord.gg/0ZcbPKXt5bYaNQ46.

I have the same problem. Here is this question on stackoverflow. Unfortunately it wasn't solved when i was typing this comment.

@cherurg have you solved yet?
the other day in discord#react-router, @taion said something like:
after clone the repo,
one should checkout to (latest) branch to see the right code
master branch is the experimental code.

+1

@yinzSE what version of react-router are you using?
I am think about you might change to the right branch first, then read the doc for that version
this is doc for 1.0.x
https://github.com/rackt/react-router/blob/1.0.x/docs/API.md#history-mixin
there are so many options

@littlee 我之前用的是react-router": "1.0.0-beta3, 可以从context 获取,
现在怎么都拿不到了,换了 createClass mixin进去还是不行额..

@yinzSE 是的，
不过好像 2.0 开始要放弃 mixin 来配合 es6 了

@littlee  现在可以在props里直接拿到 history


resources moved with migrationhierarchy

Fixes #22. With this PR, resources are now moved together with the subnamespace when a MigrationHierarchy is made. In addition, some fixes and additions were made to the MigrationHierarchy webhook, and the logging has been changed back from ecs to regular logging

I deleted the vendor directory so there are a ton of files changed...
/assign @liadlauber

Updated @liadlauber

/lgtm /approve

/lgtm


Added log policies, for log filtering.

🗣 Description

This will allow for fine grain log filtering.
https://docs.zeek.org/en/master/frameworks/logging.html#filtering-log-records
💭 Motivation and context

We have some unique filtering needs, and this slight tweak will allow anyone to filter if they want.
🧪 Testing

I didn't add testing as it's a standard Zeek feature for logs.
✅ Pre-approval checklist

[X] This PR has an informative and human-readable title.
[X] Changes are limited to a single goal - eschew scope creep!
[ ] All future TODOs are captured in issues, which are referenced
in code comments.
[ ] All relevant type-of-change labels have been added.
[ ] I have read the CONTRIBUTING document.
[ ] These code changes follow cisagov code standards.
[ ] All relevant repo and/or project documentation has been updated
to reflect the changes in this PR.
[ ] Tests have been added and/or modified to cover the changes in this PR.
[ ] All new and existing tests pass.

✅ Pre-merge checklist

[ ] Revert dependencies to default branches.
[ ] Finalize version.

✅ Post-merge checklist

[ ] Create a release.

@keithjjones - Sorry for the slow timeline for getting this merged.  Thanks for the contribution and the insight on Zeek log filtering.


fix: l1 tx does not need l1 fee

Describe the feature you would like
https://github.com/scroll-tech/test-traces/pull/20#issuecomment-1661651389
trace test https://github.com/scroll-tech/scroll-prover/pull/190
Additional context
No response

done


bug: estimate_tx_dependencies doesn't work for logging of external contracts

This code works:
    let expected_logs: Vec<String> = vec![
        format!("{:?}", 64),
        format!("{:?}", 32),
        format!("{:?}", 16),
        format!("{:?}", 8),
    ];

    let logs = contract_caller_instance
        .methods()
        .logs_from_external_contract(contract_id)
        .set_contracts(&[contract_instance])
        .call()
        .await?
        .get_logs()?;

    assert_eq!(expected_logs, logs);

but this one doesn't:
    let logs = contract_caller_instance
        .methods()
        .logs_from_external_contract(contract_id)
        .estimate_tx_dependencies(None)
        .await?
        .call()
        .await?
        .get_logs()?;

    assert_eq!(expected_logs, logs);

As a user, I would expect estimate_tx_dependencies to estimate the logging dependencies for me. It is not the case.
This is because the estimate_tx_dependencies doesn't use the set_contracts method. The fix is not trivial: we would need the estimate_tx_dependencies method to have access to the abigen so the log_decoder can be instantiated.

Discussion:
One possible solution would be to provide the path to the contract binaries when you want estimate_tx_dependencies to work with logging. A problem to know which bin path corresponds to which contract_id remains.


Question on model fitting

Quick question on how things work - it seems that reset the landmarks every frame.  So does the fitting improve with multiple frames?   Does the PCA get refined?   Or is it each frame for itself?

4dface is a very simple demo from around a year ago that performs per-frame fitting, as you correctly described. The fitting function can take initial parameters (for example from the previous frame), in which case it converges faster, but it's still per-frame (and I don't remember if I finished implementing this - but it should be easy to find out).
We also have a multi-frame fitting that fits to multiple frames at once, and thus improves the shape estimates. This is currently in a separate branch here. It will eventually be merged to the eos master branch, but it'll take a while more.

@patrikhuber are you sure that multiframe fitting in this branch works because ig was updated a month ago?

@Thanh-Binh I'm not sure I understand your question. This is the multi-frame fitting that we have been using and it works very well for us.

@patrikhuber how many frames do you need for each fitting call?how about accuracy vs runtime?

@Thanh-Binh We determined 10-20 to be a good number. The accuracy increases quite steeply when going from 1..2..3..5..10 frames. From then on, it flattens a bit.
I can't give concrete runtime numbers from the top of my head but our implementation is pretty fast and IIRC it's something like linear in the number of images.

Very nice to hear! I will test it soon!

I'm going to close this as it's not an issue, and multi-frame fitting is being worked on in above linked branch in eos.


About part segmentation best inctance avg mIOU

In my experiment based on shapenet, thebest inctance avg mIOU is only 84.4%, which is 2% lower than that in the paper. Do you know the reason？Thank you very much

In my experiment based on shapenet, thebest inctance avg mIOU is only 84.4%, which is 2% lower than that in the paper. Do you know the reason？Thank you very much

can I see your hyper para?why i just have 82.9% mIoU?Thank you!


Peer review

### Peer review for Toronto-Death-Registry

Date error: The first thing I noticed when entering your pdf is the format of the date written. On the instructions, "date should be kept unambiguous (e.g. 2/3/2024 is ambiguous, 2 March 2024 is not)". You have written:

2024-01-22

However, it should be kept unambiguous, so it may be better to fix it as 22 January 2024 instead.

Spelling/grammar error: Just a minor error in the abstract, you have written:

In Toronto, there are many people died each year. The data of death registry supports the City’s operational requirements and business functions. In this project we will make a table of number of death in Toronto for each month in 2023. By analyzing this, we can find months with high number of death and make conjectures with factors like weather, poicies or incidents of that particular month.

You spelled policies wrong. As for the grammatical errors, for instance consider: "In Toronto, there are many people who die each year.", and "...of the number of deaths..", and "...with a high number of deaths...".

From the abstract as well, I noticed that you use the word project to lead the sentence. However in the instructions, it states that "there should be no sign this is a school paper". It may seem that by saying

In this project....

it can kind of seem as though its implying its for a school project. Maybe you can write for example, "In this paper.." instead.

Title: The title should be more "descriptive, informative and specific" as the instructions says. Maybe you can add onto what the Toronto Death Registry is telling us. For example, you mention in your introduction how public resources, increase in per capita income, or social welfare take a toll on the number of deaths.

Your title: Toronto Death Registry

In text citations: It seems as though your references.bib is already filled out with the sources used. You even mention throughout the text where you got the data from:

The data source in this study was obtained by opendatatoronto...

You should add the in text references, for example opendatatoronto (Gelfand 2020).

Thank you so much for your careful review.
Best
Yunzhao Li

发件人: sarahhhh02 @.>
发送时间: 2024年1月24日 17:56
收件人: yunzhaol/Toronto_Death_Registry @.>
抄送: Subscribed @.***>
主题: [yunzhaol/Toronto_Death_Registry] Peer review (Issue #1)
你通常不会收到来自 @.*** 的电子邮件。了解这一点为什么很重要https://aka.ms/LearnAboutSenderIdentification
Peer review for Toronto-Death-Registry

Date error: The first thing I noticed when entering your pdf is the format of the date written. On the instructions, "date should be kept unambiguous (e.g. 2/3/2024 is ambiguous, 2 March 2024 is not)". You have written:

2024-01-22
However, it should be kept unambiguous, so it may be better to fix it as 22 January 2024 instead.

Spelling/grammar error: Just a minor error in the abstract, you have written:

In Toronto, there are many people died each year. The data of death registry supports the City’s operational requirements and business functions. In this project we will make a table of number of death in Toronto for each month in 2023. By analyzing this, we can find months with high number of death and make conjectures with factors like weather, poicies or incidents of that particular month.
You spelled policies wrong. As for the grammatical errors, for instance consider: "In Toronto, there are many people who die each year.", and "...of the number of deaths..", and "...with a high number of deaths...".

From the abstract as well, I noticed that you use the word project to lead the sentence. However in the instructions, it states that "there should be no sign this is a school paper". It may seem that by saying

In this project....
it can kind of seem as though its implying its for a school project. Maybe you can write for example, "In this paper.." instead.

Title: The title should be more "descriptive, informative and specific" as the instructions says. Maybe you can add onto what the Toronto Death Registry is telling us. For example, you mention in your introduction how public resources, increase in per capita income, or social welfare take a toll on the number of deaths.

Your title: Toronto Death Registry

In text citations: It seems as though your references.bib is already filled out with the sources used. You even mention throughout the text where you got the data from:

The data source in this study was obtained by opendatatoronto...
You should add the in text references, for example opendatatoronto (Gelfand 2020).
―
Reply to this email directly, view it on GitHubhttps://github.com/yunzhaol/Toronto_Death_Registry/issues/1, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZTFP6JWFOLGD47CCBRCOSLYQDLGNAVCNFSM6AAAAABCIOREIOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA4TOOBYGEYDIMQ.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


How do you set the transparent brackgound?

Hi there, i wanted to set the background and use the transparent one that you have in this image, how do you do that? Thanks!!

Hello, I'll be glad to help you.

First of all, you need to use a terminal emulator that supports transparent background (Windows Terminal, iTerm, Warp, etc...) and configure it to be transparent/translucent.
Secondly, my koalight.nvim theme doesn't support transparency at the moment, so you'll need to use the transparent.nvim plugin or you can try this snippet vim.api.nvim_set_hl(0, 'Normal', { bg = 'none' })

I hope this helps, if you have any further problems please don't hesitate to open a question.
Best regards

Here is my configuration file for the transparent.nvim plugin
local M = {
  'xiyaowong/nvim-transparent'
}

function M.config()
  local status, transparent = pcall(require, 'transparent')
  if (not status) then return end

  transparent.setup({
    extra_groups = { -- table/string: additional groups that should be cleared

      --telescope.nvim
      "FloatBorder",
      "TelescopeNormal",

      --Cmp.nvim
      "Pmenu",
      "Float",
      "NormalFloat",

      -- nvim-bufferline.lua
      "BufferLineFill",
      "BufferLineBackground",
    },
    exclude_groups = {}, -- table: groups you don't want to clear
  })
end

return M

Here is my configuration file for the transparent.nvim plugin
local M = {
  'xiyaowong/nvim-transparent'
}

function M.config()
  local status, transparent = pcall(require, 'transparent')
  if (not status) then return end

  transparent.setup({
    extra_groups = { -- table/string: additional groups that should be cleared

      --telescope.nvim
      "FloatBorder",
      "TelescopeNormal",

      --Cmp.nvim
      "Pmenu",
      "Float",
      "NormalFloat",

      -- nvim-bufferline.lua
      "BufferLineFill",
      "BufferLineBackground",
    },
    exclude_groups = {}, -- table: groups you don't want to clear
  })
end

return M

Working on my end, thank you!!


Idempotency issues when auth engine is already configured

I'm using the vaultoperator helm chart 1.15.2 and have the following description for my vault deployment:
apiVersion: vault.banzaicloud.com/v1alpha1
kind: Vault
...
spec:
...
  image: vault:1.9.3
  externalConfig:
...
    auth:
...
      - type: kubernetes
        path: /kubernetes1
        config:
          kubernetes_host: https://<IP_ADDRESS>:443

in vaultconfigurer's logs I see:
{"level":"error","msg":"error configuring vault: error configuring auth methods for vault: error configuring managed auth methods: error enabling /kubernetes1 auth method in vault: Error making API request.\n\nURL: POST http://vault.vault-system:8200/v1/sys/auth/kubernetes1\nCode: 400. Errors:\n\n* path is already in use at kubernetes1/","time":"2022-07-05T11:36:21Z"}
{"level":"info","msg":"Failed applying configuration file: /config/vault-configurer/vault-config.yml , sleeping for 1m0s before trying again","time":"2022-07-05T11:36:21Z"}

So it tries to add a new authorization path despite it already exists. It should reconfigure the existing one instead.
Similar one https://github.com/banzaicloud/bank-vaults/issues/167
/kind bug

That was an error on my side. is should be
      - type: kubernetes
        path: kubernetes1


Fix openmmff pin allow newer

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Also good news, when I didn't constrain the ommff version, it pulled in 2024-05-09T16:29:16.0433572Z     openmmforcefields:             0.13.0-pyhd8ed1ab_0            conda-forge 2024-05-09T16:29:16.0455994Z     python:                        3.11.9-hb806964_0_cpython      conda-forge and 2024-05-09T16:29:16.0318881Z     ambertools:                    23.6-nompi_py311he003265_102   conda-forge  for the test, and the only "failures" were the gaff tests, which SHOULD fail with that stack

okay and if I set the version of openmmff in the test section to 0.12.0 the tests pass and it pulls in 2024-05-09T16:46:16.1708291Z     python:                        3.10.14-hd12c33a_0_cpython     conda-forge and 2024-05-09T16:46:16.1542970Z     ambertools:                    22.5-py310hd182041_0           conda-forge which is exactly what we want!


azureadps-2.0-preview/AzureAD/Get-AzureADMSUser.md - Example 1 does not work

azureadps-2.0-preview/AzureAD/Get-AzureADMSUser.md
Example 1
PS C:\> $user = Get-AzureADMSUser -UserPrincipalName<EMAIL_ADDRESS>
Get a user by user principal name.
The command example above fails with "Get-AzureADMSUser : A parameter cannot be found that matches parameter name 'UserPrincipalName'".

Hi @TadaoMachida, thanks for highlighting this issue. I have been able to reproduce this issue and I have created a work item to track it's resolution.

ID
Work Item Type
Title
Assigned To
State
Tags

1949904
Product Backlog Item
Issue: Correct example 1 in azureadps-2.0-preview/AzureAD/Get-AzureADMSUser.md
Eunice Waweru
New

To be able to move forward, please use this example:
Get-AzureADMSUser -Filter "UserPrincipalName eq<EMAIL_ADDRESS>


Addressing-Add-/-To-the-End-of-a-Firebase-URL-#718

see #718
because i didn't have a valid firebase url, I tested the code by disabling other verification code.
i also considered adding code to the property editor to automatically append a slash if it's not present but i thought it would be better to just process the url either in the android code or in app inventor but not both which may lead to inconsistency. hope it's fine.

@E-Hon MERGED onto ucr

Thx @jisqyv. Shall we also close its corresponding issue #718?

@E-Hon I closed it. Thanks for the reminder :-)


Dummy PR for testing

Testing using git as mu2epro - test number 3.

The test worked - closing now.


Error when executing the sample

I imported the different samples from GitHub but see the following error in the console.
2014-08-31 17:21:42.637 UICatalog[1568:70b] Application windows are expected to have a root view controller at the end of application launch.
Reported here in SO: http://stackoverflow.com/questions/23981539/robovm-example-code-application-windows-are-expected-to-have-a-root-view-contro

I'll close this as this is just a warning and most of them have already been fixed. When we update the samples to use storyboards this won't be a problem at all.


[Snyk] Upgrade loopback4-authentication from 7.2.1 to 7.6.1

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade loopback4-authentication from 7.2.1 to 7.6.1.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 8 versions ahead of your current version.
The recommended version was released 2 months ago, on 2023-04-24.

Release notes

Package name: loopback4-authentication

7.6.1 - 2023-04-247.6.1 (2023-04-24)

7.6.0 - 2023-04-047.6.0 (2023-04-04)
Features

provider: make client secret non mandatory for public clients (#154) (039fa8c), closes #153

7.5.1 - 2023-03-107.5.1 (2023-03-10)

7.5.0 - 2023-02-177.5.0 (2023-02-17)
Bug Fixes

chore: corrected the issue number (#139) (f5d0ad6), closes #138 #138
deps: remove all current vilnenrability of loopback4-authentication (#141) (5c9d259), closes #140

Features

provider: add SAML passport authentication strategy (#137) (8079884), closes #131 #131 #131

7.4.1 - 2023-01-317.4.1 (2023-01-31)
Bug Fixes

component: include vendor files in package.json (#136) (756ad00), closes #135

7.4.0 - 2023-01-307.4.0 (2023-01-30)
Bug Fixes

deps: using local folder instead of git url for passport apple (#134) (2c68a98), closes #127

Features

provider: add SAML passport authentication strategy (#113) (decb68a), closes #128

7.3.1 - 2023-01-117.3.1 (2023-01-11)
Bug Fixes

deps: solve passport-apple depending on vulnerable version of jsonwebtoken (#124) (8e26c92), closes #123

7.3.0 - 2023-01-117.3.0 (2023-01-11)
Features

core: generate detailed and informative changelog (#122) (d19b73c), closes #121

7.2.1 - 2022-12-05

    from loopback4-authentication GitHub release notes

Commit messages

Package name: loopback4-authentication

61e4d6b chore(release): 7.6.1 semantic
12c6b23 chore(deps): loopback version updates (#158)
972dd3e chore(release): changelog file
d9e1e1b chore(release): 7.6.0 semantic
039fa8c feat(provider): make client secret non mandatory for public clients (#154)
13b67ac chore(release): changelog file
6c5ae58 chore(release): 7.5.1 semantic
56d4eb5 chore(deps): loopback version update (#147)
6d7acfb chore(chore): add github stale bot (#145)
86a3e9e chore(release): changelog file
f52d7c0 chore(release): 7.5.0 semantic
f5d0ad6 fix(chore): corrected the issue number (#139)
5c9d259 fix(deps): remove all current vilnenrability of loopback4-authentication (#141)
8079884 feat(provider): add SAML passport authentication strategy (#137)
b4f61c1 chore(release): changelog file
cc759d6 chore(release): 7.4.1 semantic
756ad00 fix(component): include vendor files in package.json (#136)
f5119c7 chore(release): changelog file
39a306a chore(release): 7.4.0 semantic
2c68a98 fix(deps): using local folder instead of git url for passport apple (#134)
decb68a feat(provider): add SAML passport authentication strategy (#113)
1110855 chore(release): changelog file
882e5f0 chore(release): 7.3.1 semantic
8e26c92 fix(deps): solve passport-apple depending on vulnerable version of jsonwebtoken (#124)

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Included in #1493.


Return type of Space.rvs(x) and Space.inverse_transform(X)

Both Space.rvs(X) and Space.inverse_transform(X) return arrays of object dtypes. Are we okay with that?

Indeed, this is not very nice, except when we have dimensions of mixed types. If all are integers or all are reals, then maybe should return an array of ints or an array of floats instead.

Started looking into this. It seems the dtype of the return value is determined by the type of the first Dimension:
Space([('a', 'b', 'c'), (1, 3)]).rvs(n_samples=3, random_state=0)
# ->
[['b' '2']
 ['c' '2']
 ['b' '3']]

Actually has nothing to do with the type of the first dimension, but something else because
Space([(1, 3), ('a', 'b', 'c')]).rvs(n_samples=3, random_state=0)
# ->
[['1' 'b']
 ['2' 'b']
 ['1' 'b']]

This only happens for mixed types. When all dimensions share the same type, it should be consistent. Isnt it?

Yes, when everything is of the same type it works as expected. Trying to work out how np.transpose chooses the type of the resulting array. I think this is where the "upset" is happening. My guess is it chooses the "most compatible" type somehow

For a mix of int and float you get float which also makes sense. The only annoying one (IMHO) is that for anything containing a string you end up with strings everywhere.

Hmm, as part of #112, I minimize over int and real variables. With the current implementation however, inverse_transform returns an array of float in that case. This is problematic for hyper-parameter optimisation, since the semantic of the parameters may change depending on whether the values are integer or real (e.g. for max_features in trees).
My opinion is that inverse_transform should really return a list of lists of values. This is I think the easiest way to guarantee that values are returned in their correct type.

I'll start working on that, I think the solution should be close to my initial implementation, before we introduce the usage of np.transpose as a shortcut.

Closing :beers: