error while running sudo python3 visualization.py scroll

pi@raspberrypi:~/dancyPi-audio-reactive-led/python $ sudo python3 visualization.py scroll
Expression 'alsa_snd_pcm_hw_params_set_period_size_near( pcm, hwParams, &alsaPeriodFrames, &dir )' failed in 'src/hos
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock

Does it keep going or does it error out? Those are warnings and it doesn't look like the app stopped working. Normally on an error, it would take you back to your shell.
If you look at my demo, I have the exact same warnings at around 6:55: https://youtu.be/7YLF-N0596I?t=415
The app still runs. The warnings can be ignored, it's just some ALSA lib stuff that I know very little about but know that they're just warnings and not exceptions/errors.

That's very strange. What kind of Pi are you using? Can you try turning the display fps to false and try again. It's located here: https://github.com/naztronaut/dancyPi-audio-reactive-led/blob/master/python/config.py#L49

I'm using a Raspberry Pi 4, and yes I tried setting the display fps to false but still, it doesn't work.
I'll try reinstalling it in another Pi and give you an update. Thanks

What kind of power source are you using? I wonder if the lights are trying to pull too much power for 'energy' for some reason. Just a theory, doesn't make too much sense since they all work pretty similarly in the background.

I used the 5V from the Pi to power up the 144 LEDs in the strip. Turns out the reason why it doesnt work is there's not enough current. I tried using an external power supply to power up the LEDs and everything worked. Thanks! 👍

Awesome! Glad you have it working now. I normally recommend using 2.5A or higher power supply. It's really interesting that it only affected 1/3 of t he visualizations only.
@adityadeshpande - maybe the issue is the same with you. Let me know if you can try a power supply with more power.

@naztronaut Sorry for being away i got caught up with some other work.
recent findings:

The issue I opened was on my  RPi 2 model B : apparently somehow by GPIO ports ain't working anymore.
i bought a new RPi 4 model b (2GB) the code works fine for some 5min's and then the oscillation stops and the LED strip remains stuck to one colour and is non-responsive. (after Reboot): works for 5-6min's and again stops.

I am using 1Meter 60 LED strip
RPi is open to air with no enclosure for efficient cooling
i power my strip + Rpi (via gpio) using a 5V1A Adapter
this setup has worked for me on my RPi 2B like smooth - no issues no errors until I burnt my gpio.
so I believe power is not an issue.
and if it worked on a 512Mb Pi2B it should work on a 2Gb Pi4B as well
not sure why the led stops responding.

P.s. I also tried on A RPi Version 1
works fine but 10/50 FPS so I could literally see LED scroll.
Same power setup, worked fine.

Sorry to hear about your RPi 2's GPIO ports. Hopefully you can still use it as a server or something that doesn't require the pins.
As for the Pi 4, the 1A power supply isn't enough. The Pi 4 recommends using at least 2.5A just to power the Pi. When running the code, the Pi itself will probably use the full 1A of the power so that could be why the lights don't work.
It slightly works on the Pi 1 because it needs less power so there's some left over for the lights.
I'd recommend either getting a power source with higher current or use an external power source for your lights. Even if you use an external power source, the 1A may not be enough for your Pi 4 to keep it running.
You can read more about the recommend PSU here: https://www.raspberrypi.org/documentation/hardware/raspberrypi/power/README.md

Thanks @naztronaut for this,
I will get a power supply for the Pi 4
And let you know if that works
A quick one. If I use a 2.5A supply, can I still power the raspberry Pi using the GPIO pins?
I am trying to declutter as much as possible.

Yeah, that's pretty much what I do on my Pi 3. I don't think there will be much of a difference on the Pi 4 but it's something to keep in mind. I haven't tested this project on a Pi 4 yet. Best of luck and let me know how it goes!

Going for a 3A supply. Will let you know how this works out!

@naztronaut i am using a 3A adaptor, the official CType one that's available for Pi4. Working fine now. That was due to power outage.

Closing issue as we've good understanding of this with different pi's in action.
Feel free to tag me if you want to know how's it going on Pi4 or other pi's


How import sqlite3?

you'll probably need to use the java equivalent

you'll probably need to use the java equivalent

Indeed


Post.accessibility_caption always returning None

Describe the bug
Post.accessibility_caption always returning None using Python Module.
It always worked fine (at least two months ago, when I ran my script for the last time)
To Reproduce
Steps to reproduce the behavior:

Import session login: L.load_session_from_file("username")
fetch some profile: profile = instaloader.Profile.from_username(L.context, "some_profile")
iterate over posts: for post in profile.get_posts():
get the alt text (accessibility_caption): alt_text = post.accessibility_caption
accessibility_caption is None. But this post actually has alt text through Instagram Web

Expected behavior
The actual value of post's Alt Text (accessibility_caption property)
Error messages and tracebacks
No error
Instaloader version
4.10.3
Additional context
Using Python3 Instaloader Module installed via pip3

Indeed, for Posts returned by Profile.get_posts() the accessibility_caption is returned as None. It still works for Posts.from_shortcode().
Thanks for reporting.


when change role error:Unhandled Exception: PlatformException(error, null cannot be cast to non-null type live.hms.video.sdk.models.HMSPeer, null, java.lang.NullPointerException: null cannot be cast to non-null type live.hms.video.sdk.models.HMSPeer

@chiraghashtech can you share some more logs? Also steps to reproduce if possible

can u send the logs where it is happening in hmssdk

@chiraghashtech can you share the logs?

@chiraghashtech were you able to resolve this issue?


bubble without background

Hello,
I really liked the wizard. Its pure css and responsive. I did try different wizard's but progress wizard was easy to customise as i am not a css designer.
I customised the wizard according to our requirement.

Bubble  requires  border and no background color.
Since before, after lines width was 100% we had to reduce the proportion accordingly so that the line is not inside the circle.

Issues
When we reduce the screen size the lines are pushed into the circle.
When wee increase the screen size beyond a certain level there is small gap between circle and line.
I tried different approaches but unable to fix it. Any help is appreciated.

customized css file.
.flexer,.progress-indicator {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex
}

.no-flexer, .progress-indicator.stacked {
    display: block
}

.no-flexer-element {
    -ms-flex: 0;
    -webkit-flex: 0;
    -moz-flex: 0;
    flex: 0
}

.flexer-element,
.progress-indicator>li {
    -ms-flex: 1;
    -webkit-flex: 1;
    -moz-flex: 1;
    flex: 1
}

.progress-indicator {
    margin: 0;
    padding: 0;
    font-size: 120%;
}

.progress-indicator>li {
    list-style: none;
    text-align: center;
    width: auto;
    padding: 0;
    margin: 0;
    position: relative;
    text-overflow: ellipsis;
    color: #bbb;
    display: block
}

.progress-indicator>li:hover {
    color: #6f6f6f
}

.progress-indicator>li.completed,
.progress-indicator>li.completed .bubble {
    color: #9e9e9e
}

.progress-indicator>li .bubble {
    border-radius: 1000px;
    width: 50px;
    height: 50px;
    display: block;
    margin: 0 auto .5em;
    border: 5px solid #bdbdbd;
    text-align:center;
    line-height:45px;
}

.progress-indicator>li .bubble:after,
.progress-indicator>li .bubble:before {
    display: block;
    position: absolute;
    top: 25px;
    width: 40%;
    height: 3px;
    content: '';
    background-color: #bdbdbd;
}

.progress-indicator>li.completed .bubble
{
     border-color: #009688;
}
.progress-indicator>li.completed .bubble:after,
.progress-indicator>li.completed .bubble:before {
    border-color: #009688;
    background-color: #009688;
}

.progress-indicator>li .bubble:before {
    left: 0
}

.progress-indicator>li .bubble:after {
    right: 0
}

.progress-indicator>li:first-child .bubble:after,
.progress-indicator>li:first-child .bubble:before {
    width: 30%;
    margin-left: 59%
}

.progress-indicator>li:last-child .bubble:after,
.progress-indicator>li:last-child .bubble:before {
    margin-right: 60%
}

.progress-indicator>li.active,
.progress-indicator>li.active .bubble {
    color: #337AB7
}

.progress-indicator>li.active .bubble,
.progress-indicator>li.active .bubble:after,
.progress-indicator>li.active .bubble:before {
    background-color: #337AB7;
    border-color: #122a3f
}

.progress-indicator>li a:hover .bubble,
.progress-indicator>li a:hover .bubble:after,
.progress-indicator>li a:hover .bubble:before {
    background-color: #5671d0;
    border-color: #1f306e
}

.progress-indicator>li a:hover .bubble {
    color: #5671d0
}

.progress-indicator>li.danger .bubble,
.progress-indicator>li.danger .bubble:after,
.progress-indicator>li.danger .bubble:before {
    background-color: #d3140f;
    border-color: #440605
}

.progress-indicator>li.danger .bubble {
    color: #d3140f
}

.progress-indicator>li.warning .bubble,
.progress-indicator>li.warning .bubble:after,
.progress-indicator>li.warning .bubble:before {
    background-color: #edb10a;
    border-color: #5a4304
}

.progress-indicator>li.warning .bubble {
    color: #edb10a
}

.progress-indicator>li.info .bubble,
.progress-indicator>li.info .bubble:after,
.progress-indicator>li.info .bubble:before {
    background-color: #5b32d6;
    border-color: #25135d
}

.progress-indicator>li.info .bubble {
    color: #5b32d6
}

.progress-indicator.stacked>li {
    text-indent: -10px;
    text-align: center;
    display: block
}

.progress-indicator.stacked>li .bubble:after,
.progress-indicator.stacked>li .bubble:before {
    left: 50%;
    margin-left: -1.5px;
    width: 3px;
    height: 100%
}

.progress-indicator.stacked .stacked-text {
    position: relative;
    z-index: 10;
    top: 0;
    margin-left: 60%!important;
    width: 45%!important;
    display: inline-block;
    text-align: left;
    line-height: 1.2em
}

.progress-indicator.stacked>li a {
    border: none
}

.progress-indicator.stacked.nocenter>li .bubble {
    margin-left: 0;
    margin-right: 0
}

.progress-indicator.stacked.nocenter>li .bubble:after,
.progress-indicator.stacked.nocenter>li .bubble:before {
    left: 10px
}

.progress-indicator.stacked.nocenter .stacked-text {
    width: auto!important;
    display: block;
    margin-left: 40px!important
}

.progress-indicator>li .stepdate{
    display:block;
    color:#bdbdbd;
}

Do you have an example of the html file as well?

css-progress-wizard-master.zip
Attaching the sample.

I see the issue has is primarily because the white background is obscured by the lines, which you've adjusted to not overlap. This timeline was probably not generic enough for styles like this, as it assumes the background and lines are going to be the same, using whatever is declared in the sass variables. It could probably be reworked to allow more custom layouts like this, but for now to get it working:
I used the stock css file, except changed the variables for colors to (nearly) match your teal color, and then changed the $bubble-size variable.
I also added the following html and css:
    body {
        font-family: 'Lato', sans-serif;
    }
    .stepdate {
        display: block;
        font-size: 90%;
    }
    .progress-indicator>li.completed .bubble {
        background-color: #fff;
        border-width: 4px;
        line-height: 50px;
        border: 4px solid teal;
        font-size: 22px;
        overflow: hidden;
    }
    .progress-indicator>li.completed .bubble-text {
        z-index: 999;
        background-color: #fff;
        display: block;
        position: absolute;
        width: 50px;
        height: 50px;
        border-radius: 1000px;
    }
    .progress-indicator>li .bubble:after,
    .progress-indicator>li .bubble:before {
        z-index: 0;
    }

Really I'm just adding a wrapper div around the inner bubble text, so I can make it overlap the :before and :after pseudo-elements:

                    3

This retains the original scaling ability and still works with your larger size and coloring. You'll need to add the remaining styles to finish it off, but that should give you a head start.

Thank you. I will give it a try.

From: Chris Tabor<EMAIL_ADDRESS>Sent: Saturday, 10 December 2016 4:38 PM
To: christabor/css-progress-wizard
Cc: suryamadhavi; Author
Subject: Re: [christabor/css-progress-wizard] bubble without background (#14)
I see the issue has is primarily because the white background is obscured by the lines, which you've adjusted to not overlap. This timeline was probably not generic enough for styles like this, as it assumes the background and lines are going to be the same, using whatever is declared in the sass variables. It could probably be reworked to allow more custom layouts like this, but for now to get it working:
I used the stock css file, except changed the variables for colors to (nearly) match your teal color, and then changed the $bubble-size variable.
I also added the following html and css:
body {
    font-family: 'Lato', sans-serif;
}
.stepdate {
    display: block;
    font-size: 90%;
}
.progress-indicator>li.completed .bubble {
    background-color: #fff;
    border-width: 4px;
    line-height: 50px;
    border: 4px solid teal;
    font-size: 22px;
    overflow: hidden;
}
.progress-indicator>li.completed .bubble-text {
    z-index: 999;
    background-color: #fff;
    display: block;
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 1000px;
}
.progress-indicator>li .bubble:after,
.progress-indicator>li .bubble:before {
    z-index: 0;
}

Really I'm just adding a wrapper div around the inner bubble text, so I can make it overlap the :before and :after pseudo-elements:

                3

This retains the original scaling ability and still works with your larger size and coloring. You'll need to add the remaining styles to finish it off, but that should give you a head start.

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/christabor/css-progress-wizard/issues/14#issuecomment-266180841, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ANet7c7BSUL8UK9_9l541KLzqfZYXxT3ks5rGjrQgaJpZM4KaXw7.

The fix provided by @christabor almost worked for me... except I had to modify the .bubble-text class a bit more:
              z-index: 999;         display: flex;         align-items: center;         justify-content: center;         width: $bubble-size - $border-thickness * 2;         height: $bubble-size - $border-thickness * 2;         border-radius: 1000px;         position: absolute;         //compensate for border position         top: $border-thickness;         background-color: #fff;
This way, the bubble text perfectly sites on top of the bubble, regardless of border thickness or bubble size variables


Clean up of episode information

Added missing hosts
Added missing recording dates
Cleaned up dates to YYYY-MM-DD
Cleaned up wrong twitter handle for Kris

Signed-off-by: Federico Hernandez<EMAIL_ADDRESS>

grep 'Hosted' -R episodes/[0-9]*/*.md --no-filename | \
sed -e 's% $%%g' | \
sort | \
uniq -c | \
sort -rn

  62 - Hosted by @jbeda
  29 - Hosted by @krisnova
  27 - Hosted by @mauilion
   9 - Hosted by @joshrosso
   4 - Hosted by @bryanl
   2 - Hosted by @cdickmann
   1 - Hosted by @swade1987
   1 - Hosted by @castrojo

@recollir thanks so much for this clean-up. You rock :metal:.


Use npm 7 on dependabot

This is because it's using version 6, which has a different package lock version, creating differences when running it locally or in Docker.

Working now https://github.com/srodrigo/anime-suupu/pull/127/files#diff-053150b640a7ce75eff69d1a22cae7f0f94ad64ce9a855db544dda0929316519L4


AppStartActorTest is unhealthy

Observing a 10% failure rate in most of them. Stats in the loop build as of now:
   2 mesosphere.marathon.upgrade.AppStartActorTest:Without Health Checks
   6 mesosphere.marathon.upgrade.AppStartActorTest:With Health Checks
   7 mesosphere.marathon.upgrade.AppStartActorTest:Failed
   7 mesosphere.marathon.upgrade.AppStartActorTest:No tasks to start with health checks
   7 mesosphere.marathon.upgrade.AppStartActorTest:No tasks to start without health checks
Sample size: 71

https://phabricator.mesosphere.com/D403

Looking forward this fix, since now, build from source would fail to produce marathon jars.

@janisz I made a silly little Makefile which downloads the reports from Jenkins, and then uses some unix tools + jq to make get the counts.

https://gist.github.com/timcharper/633cbe755887c55aa620ee1d7da81e69

Thanks for sharing. I thought you used some sbt plugin. I run sbt test in a loop for a night and then parse an output with grep
while true; do sbt "integration:test" 2>> /tmp/integration_test_master.txt; done
cat /tmp/integration_test_master.txt | grep "All tests passed" | wc -l
cat /tmp/integration_test_master.txt | grep "\*\*\* FAILED \*\*\*" | less

to see what tests fails and how often.


[Bug]: Navigation Scroll is Broken

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
Project view's navigation section scrolling no longer works if you have tabs... this is a PF layout issue. We should fix this without the need of PF to get involved.
Expected Behavior
Determine the source of the issue of the CSS issue (some container is not properly sizing itself) and get it inline with the rest of the page. Should fix the scroll issue once the container (that contains the headers) itself can scroll.
Steps To Reproduce

Create a project (or be an admin on it)
View the navigation links on the left side of the project details content pane
Click on one of them to scroll

Workaround (if any)
No response
What browsers are you seeing the problem on?
Chrome
Open Data Hub Version
v2.10.0

Anything else
Not sure if this is broken in all browsers, but it is in Chrome.

@alexcreasy take a look at this!

Scroll works good in RHODS 1.31 RC4, both in FireFox and Chrome:


LIVENESS_PROBE_FATAL_ERRORS not set properly

Is this a request for help?:
No. Just pointing at an issue in the stable chart for concourse.
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG REPORT

Version of Helm and Kubernetes:
Helm 2.12.1
Kubernetes: 1.11.5
Which chart:
stable/concourse
What happened:
The worker livenessprobe does not catch the fatal errors in values.yaml.
What you expected to happen:
The worker livenessprobe should catch the fatal errors in values.yaml.
How to reproduce it (as minimally and precisely as possible):
in the worker:
echo "guardian.api.garden-server.create.failed" >> /tmp/.liveness_probe
Anything else we need to know:
Yes. The environment variable in the helm chart is as such:
        - name: LIVENESS_PROBE_FATAL_ERRORS
          value: "guardian.api.garden-server.create.failed\nbaggageclaim.api.volume-server.create-volume-async.failed-to-create"

Should change it to:
        - name: LIVENESS_PROBE_FATAL_ERRORS
          value: "export ERRORS=$'guardian.api.garden-server.create.failed\nbaggageclaim.api.volume-server.create-volume-async.failed-to-create'"

and then in the livenessprobe
eval "$LIVENESS_PROBE_FATAL_ERRORS"
and
grep -F "$ERRORS" /tmp/.liveness_probe
Greetings,

Hi @bnoorduin ,
Thanks for submitting the issue!
Would you mind providing a PR for it?
As a side note, in Concourse itself, we're trying to make the process of detecting potential worker problems better by integrating into the health checks the creation of some minimal workload that would be able to detect such failures - you might be interested in checking this one out  https://github.com/concourse/concourse/pull/3025.
Thanks!

I would, but I have no idea what a PR is. I am inclined to dig a bit
further into using appdynamics and fluentd for monitoring the logs of
various pods and taking actions from outside rather then relying on the
livenessprobe. For me, the idea that I cannot do a kubectl apply on a
statefulset that changes the livenessprobe makes it a bit too intrusive,
since I can monitor logs and perform corrective actions from outside for
which the config has no impact to the concourse deployment. Anyhow as part
of an upgrade yes it would be very valuable to be more robust.
Kindly,
Bob.
On Thu, Feb 7, 2019 at 1:51 AM Ciro S. Costa<EMAIL_ADDRESS>wrote:

Hi @bnoorduin https://github.com/bnoorduin ,
Thanks for submitting the issue!
Would you mind providing a PR for it?
As a side note, in Concourse itself, we're trying to make the process of
detecting potential worker problems better by integrating into the health
checks the creation of some minimal workload that would be able to detect
such failures - you might be interested in checking this one out
concourse/concourse#3025
https://github.com/concourse/concourse/pull/3025.
Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/helm/charts/issues/11060#issuecomment-461248471, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AmD0xV-eZx37N1xidvqOjzbHotwNYzt6ks5vK3imgaJpZM4aeSdh
.


DistributedBatchSamper crashes on small eval sample sizes

If you set the eval multiplier to something small, such that there are too few eval samples, sometimes global_batches is empty before the "sort by largest" swap here: https://github.com/tdrussell/qlora-pipe/blob/main/dataloader.py#L120, causing an index error.

As of commit 20aeadd this should be fixed in all cases, for all combinations of hyperparameters. The only remaining caveat, is that now there might be one batch that could be much smaller than all the others. This doesn't matter for eval, but for training it means the gradient for just one step is based on much less tokens than the other steps. Theoretically that might cause instability, but for just a single step I don't think it matters.
I reworked the code quite a bit, so let me know if something is breaking or not working as expected.


Error: disassembly only supported on x86_64

https://github.com/tonybaloney/Pyjion/blob/95f65c515d4252f5c58709dc95b7c587366d1113/src/pyjion/dis.py#L624
machine() may also return AMD64 instead of x86_64.

What OS, version and architecture are you on to see this value?

Windows 11 x64

Thanks. Just checked on a test machine and can reproduce.


[BUG] Content script cannot access chrome.runtime related functions

What happened?
Create a new project and create the content script code:
import type { PlasmoCSConfig } from "plasmo"

export const config: PlasmoCSConfig = {
 matches: ["<all_urls>"],
 world: 'MAIN',
 all_frames: true
}

console.log(chrome.runtime)

Run the program, the console prints undefined, I checked the generated plugin code, manifest.json file in the missing content_scripts related content.
{
  "icons": {
    "16": "./gen-assets/icon16.plasmo.png",
    "32": "./gen-assets/icon32.plasmo.png",
    "48": "./gen-assets/icon48.plasmo.png",
    "64": "./gen-assets/icon64.plasmo.png",
    "128": "./gen-assets/icon128.plasmo.png"
  },
  "manifest_version": 3,
  "action": {
    "default_icon": {
      "16": "./gen-assets/icon16.plasmo.png",
      "32": "./gen-assets/icon32.plasmo.png",
      "48": "./gen-assets/icon48.plasmo.png",
      "64": "./gen-assets/icon64.plasmo.png",
      "128": "./gen-assets/icon128.plasmo.png"
    },
    "default_popup": "./popup.html"
  },
  "version": "0.0.1",
  "name": "DEV | Tell supreme cougar",
  "description": "A basic Plasmo extension.",
  "background": {
    "service_worker": "./static/background/index.ts"
  },
  "permissions": [
    "scripting"
  ],
  "host_permissions": [
    "https://*/*"
  ]
}

If you move out of the world:'MAIN' configuration, everything is fine.
import type { PlasmoCSConfig } from "plasmo"

export const config: PlasmoCSConfig = {
 matches: ["<all_urls>"],
 all_frames: true
}

console.log(chrome.runtime)

Output
{
  "icons": {
    "16": "./gen-assets/icon16.plasmo.png",
    "32": "./gen-assets/icon32.plasmo.png",
    "48": "./gen-assets/icon48.plasmo.png",
    "64": "./gen-assets/icon64.plasmo.png",
    "128": "./gen-assets/icon128.plasmo.png"
  },
  "manifest_version": 3,
  "action": {
    "default_icon": {
      "16": "./gen-assets/icon16.plasmo.png",
      "32": "./gen-assets/icon32.plasmo.png",
      "48": "./gen-assets/icon48.plasmo.png",
      "64": "./gen-assets/icon64.plasmo.png",
      "128": "./gen-assets/icon128.plasmo.png"
    },
    "default_popup": "./popup.html"
  },
  "version": "0.0.1",
  "name": "DEV | Tell supreme cougar",
  "description": "A basic Plasmo extension.",
  "background": {
    "service_worker": "./static/background/index.ts"
  },
  "permissions": [
    "scripting"
  ],
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "..\\content.ts"
      ],
      "all_frames": true
    }
  ],
  "host_permissions": [
    "https://*/*"
  ]
}

Version
Latest
What OS are you seeing the problem on?
Windows
What browsers are you seeing the problem on?
Chrome
Relevant log output
No response
(OPTIONAL) Contact Details
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate problems.

Thanks for filing the issue - Content script in the main world do not have access to chrome.runtime stuff. Remove "world": "MAIN", and chrome.runtime should be available.
I'm curious:

How did you learn about Plasmo?
How did you learn about the main world feature?
How can we improve the docs/guidance to make it clear main-world has no access to chrome.runtime?

Also, this sparks a conversation about how we can bridge the main world runtime and the isolated runtime

Hello, thank you for your reply. I learned about Plasmo from someone’s blog. I was impressed by the features and examples of Plasmo and decided to try it.
I learned about the main world feature by reading the documentation and sample code of Plasmo. The documentation clearly explains the difference and purpose between the main world and the isolated world, but I did not notice that the main world cannot access chrome.runtime. You could highlight or emphasize this point in the documentation or give a warning message.
I usually do not inject scripts into the main world, only in some exceptional cases, such as hijacking some requests. But now the problem is that I cannot access chrome.runtime related interfaces in the main world directly prevent me from communicating with other pages. Do you have any other recommended methods?

I usually do not inject scripts into the main world, only in some exceptional cases, such as hijacking some requests. But now the problem is that I cannot access chrome.runtime related interfaces in the main world directly prevent me from communicating with other pages. Do you have any other recommended methods?

So the way to do it in MV3 extension is to relay the message by using another content script acting as the bridge. The flow looks like this:
main CS (sendToBackgroundViaRelay) <-> default CS (relay) <-> BGSW (message handler)
The main world CS is a newly added API (we added it 2 weeks ago). We are thinking of ways to improve it further. If you have any suggestions or imagination of a way to seamlessly accomplish what you need - i.e, the dream workflow you would like to see, that'd be super helpful in designing out the Plasmo framework abstraction!


Migrate Hooked experiments

[x] move audio data to acceptance & new production server
[x] create valid csv files / sections for the playlists
[ ] change all references in the Amsterdam Music Lab blogs (ideally, write a utility function for this, see corresponding website issue)
[ ] download existing json data from illcaml server
[ ] take down the gunicorn process on illcaml server

@jaburgoyne Eurovision and Kuiper experiments are now on ACC and APP with slugs eurovision_2021 and christmas_2020. Shall I now update the links in the blogs?

The links on the website have been updated. It's actually very easy to do this by changing the URL once or twice for an experiment. I don't think there's a need to write a utility function for that.

@BeritJanssen Can you do the last two tasks in the list?


please add $createObservableMethod(methodName)

https://github.com/vuejs/vue-rx#createobservablemethodmethodname

hi @transtone
Thank for your interest and your request
2 tests out of the 3 required tests are ok for this function
it's coming soon

hi @transtone
Thank for your interest and your request
2 tests out of the 3 required tests are ok for this function
it's coming soon

Good and push with 1.0.6 (doc updated too), update your dependency ;)

Good and push with 1.0.6 (doc updated too), update your dependency ;)


Weird Issue: keras_contrib.layers.normalization.instancenormalization

I have already installed keras-contrib successfully, and "from keras_contrib.layers.normalization.instancenormalization import InstanceNormalization" there is no any issues for this command. but still has an issue, please check the screenshot below. this programme I ran before, it worked very well.

My suggestion:
it is better to use "sudo pip install git+https://www.github.com/keras-team/keras-contrib.git"
The two ways cannot work probably.
way1:
git clone https://www.github.com/keras-team/keras-contrib.git
cd keras-contrib
python setup.py install
way2.
git clone https://www.github.com/keras-team/keras-contrib.git
cd keras-contrib
python convert_to_tf_keras.py
USE_TF_KERAS=1 python setup.py install
Because the both two ways I used on google colab, the issue cannot be fixed.

@lindalibjchn it worked on google colab?


Add support for missing baudrates between 50 and 1200

Do you really have hardware that needs this?

I have a small device that reads frames from an electricity meter and its output rate is 1200 bauds.
It is integrated in a small project (soon to be published) I'm currently working on.

This is great. I was about to make a pull request implementing the exact same changes.
I too use 300 baud for communicating with older electricity meters through infrared links - and I would very much welcome this change.


Refactor the way HotTableRegisterer is injected

Context
This change makes the injection of HotTableRegisterer in HotColumnComponent implicit.
How has this been tested?
This has been tested via the provided tests, i.e. npm test
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature or improvement (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Related issue(s):
None
Checklist:

[X] My code follows the code style of this project,
[ ] My change requires a change to the documentation.

Hi @madoar, could you sign our CLA?

@swistach sorry for the long wait.
I've signed your CLA.

Thank you for PR


Remove Sleep from RaiseIntentFailTargetedAppResolve3 and RaiseIntentFailTargetedAppResolve4

Remove Sleep function and also increase the listenerTimeOut to 120 seconds.

Fixed by

#211


Force a syntax error in the package_version.hpp file within opentelemetry to validate CMakeLists.txt behavior in CI.

This PR highlights a bug in the open telemetry CMakeLists.txt, which is incomplete (and doesn't include package_version.hpp). That is why invalid syntax is not causing the build to fail:
https://github.com/Azure/azure-sdk-for-cpp/blob/74a1ad7714b90ca5dd6bafa0a839978db1e6a6b6/sdk/core/azure-core-tracing-opentelemetry/CMakeLists.txt#L48-L51

FYI @LarryOsterman
I will leave this one on your plate for now, along with https://github.com/Azure/azure-sdk-for-cpp/issues/4281
Hope that's OK. If you need me to fix it, let me know, and I will find some time for it next week.

This was meant for demonstrative/testing purpose only. Closing.


[macOS Mojave 10.14] The system preferences app becomes locked and user cannot exit

OS Version: macOS Mojave 10.14
Steps to Reproduce:

Open Desktop & Screen Saver settings
Click Screen Saver tab
Click Aerial screen saver
Click Screen Saver Options...
Click Done

Actual Result:
The settings application becomes locked and user cannot exit.
Current Workaround:
After settings are changed and/or videos cached. After clicking Done and nothing occurs, force closing the System Preferences app and going back into the settings appears to have not lost any changes.
Note:
Thanks for making this app! I love it. On a side note, I know this app hasn't been updated in awhile but will it be able to pull Apple's new International Space Station screen savers introduced with the existing Aerial ones tvOS 12?

Duplicate of https://github.com/JohnCoates/Aerial/issues/495


Cuda timing

Add support for getting time stamps on GPU. This allows for benchmarking functions without including host-device and device-host transfers.

looks good now


🐛 Clifm crashes after update

branch
stable
Architecture
x86_64
Description
I use this terminal file manager: https://github.com/leo-arch/clifm
Since the last update it crashes and somehow doesn't have access to the path variables in foot and alacritty.
Fish and bash work as expected. The issue appeared before and after running skel
Version: 16.19.2-7
Reproduction steps
- set /bin/clifm as shell in foot.ini
- launch foot.
- commands like htop or ls don't get recognized and create new files.

Screenshots
No response
Logs
No response

Could you check what happens when you call the foot binary directly or via /usr/share/sway/scripts/foot.sh? I could imagine that this is somehow related to removing a bug that didn't properly make use of the foot server instance... (when just calling foot/the foot script, instead a new terminal window is spawned).

Could you check what happens when you call the foot binary directly or via /usr/share/sway/scripts/foot.sh? I could imagine that this is somehow related to removing a bug that didn't properly make use of the foot server instance... (when just calling foot/the foot script, instead a new terminal window is spawned).

This works without the bug

Hm. I installed clifm and started it from the terminal - I have $PATH and htop starts without a problem. So the maybe isn't an issue with footclient after all?

What does ps -ef | grep foot yield?

<0> $ ps -ef | grep foot
tloop        1574    1171  0 12:40 ?        00:00:00 sh /usr/share/sway/scripts/foot.sh --server=3
tloop        1577    1574  0 12:40 ?        00:00:03 foot -c /home/tloop/.config/foot/foot.ini --server=3
tloop       10373       1  0 15:34 ?        00:00:00 footclient
tloop       10453       1  0 15:34 ?        00:00:00 foot
tloop       11309   10375  0 15:55 pts/2    00:00:00 clifm -c ps -ef | grep foot
tloop       11404   10458  0 15:55 pts/3    00:00:00 bash -c ps -ef | grep foot
tloop       11406   11404  0 15:55 pts/3    00:00:00 grep foot

I did more troubleshooting and found out that if I run drun Foot (Terminal) in the $mod+d menu it works without problems but if I use $mod+Return or the drun Foot Client (Terminal) option the bug appears. (see screenshot below)
Did $mod+Return change in a recent settings update?

$mod+Return opened, the bug appears:
tloop       10048       1  0 15:32 ?        00:00:00 footclient -D /home/tloop
$mod+d menu and drun Foot (Terminal) works without problems:
tloop       10792       1  3 15:40 ?        00:00:00 foot

Did $mod+Return change in a recent settings update?

Like I said earlier: yes, it now actually uses the foot-server (via footclient), not a separate instance. starting foot via rofi starts a new instance of foot - where the problem isn't present. I can't explain why tho and on my machien :tm: it just works. You could override $foot in you userspace config, if you like.

set $term /usr/share/sway/scripts/foot.sh
set $term_cwd $term -D "$(swaycwd 2>/dev/null || echo $HOME)"

Thanks, that worked. :+1:
I'm still trying to figure out what causes this issue.
Is it intended that editing ~/.config/foot/foot.ini doesn't change behaviour of the new foot-server version?

doesn't change behaviour of the new foot-server version?

You have to restart the service for changes to take effect.

Has this been clarified? Can this be closed?


Displaying modified residues, part 2 (PR:IDs in column 16 protein binding extensions)

Display of  modified entities  where  the "modified form" of the bound entity is captured  using "has_substrate".
e.g. crb2

In these situations, the "bound" entity is displayed twice as  "histone H2A-beta phosphorylated 1" and "hta2"
However, once  https://github.com/pombase/website/issues/1623 is implemented. This will be displayed as:
phosphorylated histone binding
  binds histone hta2-S128 part of  positive regulation of signal transduction involved in mitotic G2 DNA damage checkpoint binds hta2
  binds histone Hta2-S128 part of positive regulation of signal transduction involved in mitotic G2 DNA damage checkpoint binds hta1
Which is already better. But displaying the  entity and the modified entity is redundant
So ideally this would become:
phosphorylated histone binding
  binds histone hta2-S128 part of positive regulation of signal transduction mitotic G2 DNA damage checkpoint
  binds histone Hta2-S128 part of positive regulation of signal transduction mitotic G2 DNA damage checkpoint

One downside of this would be that the current situation allows us to link out to PRO and to PomBase.
Options

The linkout does not add so much other than  the ID. Do we need both links.
(in this case,  could we do anything else with the curated modified froms (i.e make tem avaiable in the modification section?)

A pop up allow 2 link outs?

Display a single 'binds' with both linkouts:
binds hta2 (hta2-S128)

another e.g.
https://www.pombase.org/gene/SPAC8E11.02c

We all like
Display a single 'binds' with both linkouts:
binds hta2 (hta2-S128)
Kim will look into  feasibility.
Otherwise we  will investigate other options.
We also discussed putting interacting entity (from column 16) in the 'with' field as an option (but this would not work well for display of both)

Kim will look into feasibility.

I think we can do that.  Would you like it to look the same in the summary and the detailed view?

Display a single 'binds' with both linkouts:
binds hta2 (hta2-S128)

That's implemented now, ready for tonight's load.  I think it's probably a good idea for you to do a quick test before it goes live in the morning.
You should be able to access my desktop for the next hour or two if you'd like a peek: https://desktop.kmr.nz/gene/SPBC342.05

Would you like it to look the same in the summary and the detailed view?

For now it does.

looks good!

Yes, great!

This change is now on the dev server, eg. http://dev.pombase.kmr.nz/gene/SPBC342.05
Should I update pombase.org or would you like to do some checking first?

It looks lovely. Go for it...

OK, done.  Anything more to do on this issue?

no, thanks!


[call_tf] Temporary fix for CallTfEffect being visible after lowering.

The CallTfEffect was added recently as an internal workaround for DCE removing arguments to call_tf. This may have been a convenient available mechanism, but there is no real "effect" here, and we should not hijack the effects mechanism for dealing with DCE.
This PR does not really solve the problem, but it removes the CallTfEffect from the externally-visible set of effects, so that users of the AOT APIs do not have to worry about the computation having real effects.
Relates to #13963

there is no real "effect" here

Couldn't we have an effect? Users can write whatever side-effecting code they want in a TF function that could write to disk or something. Right now we are defensively marking it as effectful to avoid DCE.


Targeting Windows 11 SDK (22000) breaks rendering of certain fonts

Describe the bug
Not sure where to post this but at simple terms, targeting a UWP application to the Windows 11 SDK (22000) breaks rendering of certain fonts in XAML.
Steps to reproduce the bug
Clone and run https://github.com/JohnnyWestlake/win-sdk-22000-fontdeath
Observe text renders in Segoe UI.

Stop and retarget to a Windows 10 SDK (20348 for example, though anything lower should suffice), observe renders with custom font.

Expected behavior
No response
Screenshots
Examples of some fonts that break, though there are many more.

Windows app type

[X] UWP
[ ] Win32

Device form factor
Desktop
Windows version
No response
Additional context
No response

I can't think of what change might have caused this. @codendone ?

@StephenLPeters I think this is focusing on the Text font and not the icon font unless there are icons missing when the update happens.

@jevansaks @codendone I'm concerned about the regression here. Did I understand correctly that you're suggesting folks wait for new functionality as opposed to servicing the SDK / OS?

Still an issue, so not stale

Well it looks too strange, while the other controls display the same font, but they are indeed diffrent

   <TextBlock Grid.Column="0" Name="NameTextBlock" Text="{x:Bind ViewModel.Name, Mode=OneWay}"
              Style="{StaticResource CommonTextStyle}"
              HorizontalAlignment="Left" VerticalAlignment="Top"
              FontWeight="Medium" FontSize="15" MaxLines="2"
              TextTrimming="WordEllipsis" TextWrapping="Wrap" />
   <TextBlock Grid.Column="1" Name="TransTextBlock" Text="{x:Bind ViewModel.Trans, Mode=OneWay}"
              Style="{StaticResource CommonTextStyle}"
              Visibility="{x:Bind ViewModel.TransVisibility, Mode=OneWay}"
              HorizontalAlignment="Left" VerticalAlignment="Top" Margin="4,0,0,0"
              FontWeight="Bold" FontSize="12" MaxLines="1"
              TextAlignment="Left" Opacity="0.8"
              TextTrimming="WordEllipsis" TextWrapping="Wrap" />

            <TextBlock Grid.Row="1" Name="Title"
                       Text="{x:Bind ViewModel.Title,Mode=OneWay}"
                       Style="{StaticResource CommonTextStyle}"
                       TextAlignment="Left" FontSize="17" FontWeight="Medium"
                       Width="224" Height="58" />

Here's the style settings
    <Style x:Key="CommonTextStyle" TargetType="TextBlock">
        <Setter Property="FontSize" Value="18" />
        <Setter Property="FontFamily" Value="MiSans" />
        <Setter Property="TextTrimming" Value="CharacterEllipsis" />
        <Setter Property="TextWrapping" Value="WrapWholeWords" />
        <Setter Property="Foreground" Value="{StaticResource CommonTextColor}" />
        <Setter Property="FontWeight" Value="Normal" />
    </Style>


Connect to X

[ ] Connect with X isn't shown in this modal

[ ] I've completed connect flow but in the right side box my account isn't shown  @HrithikSampson

https://github.com/user-attachments/assets/9f88c891-cda5-4230-b4cf-4e0240c05cca

[ ] The loading modal in figma isn't shown @HrithikSampson

https://github.com/user-attachments/assets/96ac2b37-eb99-49e9-93a2-03034e93f561


Support for Azure Reserved Instances

Hi,
it seems that Azure Reserved Instances are currently not supported for Azure Virtual Machine Terraform Resources by infracost according to the documentation https://www.infracost.io/docs/supported_resources/azure/.

Low priority, Spot and Reserved instances are not supported.

Are there any plans to add support for Azure Reserved Instances?
Thanks

Hello @arogic! Thank you for creating the issue! We define our resources support roadmap based on the community's interest in these resources. I believe your issue is the first one created on this topic, so there were no plans yet.
However, we always accept community contributions, so if you are interested in adding that to Infracost, please let us know. For now, we can keep this issue open for the community to upvote.


switch to Poetry package manager

since Poetry 1.2 is released now and has things like dependency groups, it may be worth switching from pipenv for the much faster performance

there is an old open PR if you want to finish it https://github.com/commaai/openpilot/pull/24858

No need for an issue here, there's an open PR.

should have searched! my bad


Typo in customer_inquiry_assistant.py

There's a small typo on line 13 - "My_First_Chat" requires closing quotes.
`import asyncio
from agent_class import OAI_Agent
api_key="APIKEY"
organization_id="ORGID"
client = OAI_Agent(api_key=api_key, organization_id=organization_id)
json_file = 'thread_data.json'
agent_file = 'agent_data.json'
thread_name = "My_First_Chat
Customer_Service_Assistant = {
"name":"Customer Service Assistant",
"instructions":"You are a customer service assistant. Answer user queries courteously and accurately.",
"tools":[{"type": "retrieval"}],
"model":"gpt-4-1106-preview"
}
`

Thanks for that


blocked ?

I am running in default mode and can add magnet links and they appear in the web gui.
but terminal shows this.. SO assume the LAN router is blocked PNP ?
2023/12/21 13:15:22 Port mapping: read udp <IP_ADDRESS>:51218-><IP_ADDRESS>:5351: recvfrom: connection refused and no UPNP gateways found

any tips ???

It means that your router doesn't support either uPNP or NAT-PMP.  Storrent will still work, but it will not be able to accept any incoming connections, which will dramatically reduce the number of peers and therefore performance.
Please try to enable NAT-PMP or uPNP in your router's administrative interface.  If that is not possible, you may run storrent with the command-line option -portmap=none.

Thanks @jech

when I clicked the following in the web gui: Use DHT Passive DHT Use trackers (10) Use webseeds (0) Set, I immediately got peers.
this is without PNP.

Use Passive DHT will make no difference in your case, since you're unreachable.  Use webseeds will make no difference since there are 0 webseeds.
Without uPNP or NAT-PNP, you still get seeds, but less than you would if storrent could punch a hole in your NAT.  However, there's nothing to worry about if you have enough peers.

thanks for the explanation. much appreciated @jech

Could you please try the latest version?  I've just added support for uPNP IGDv2 (a newer portmapping protocol).

hey @jech
tried 2 magnet urls and it works much better.
If you need data / metrics let me know.

Hmm, no change, it looks like your router simply doesn't have any support for NAT-PMP or uPNP, either v1 or v2.  I'm afraid there's nothing to be done at the storrent level.

ok thanks for the feedback.


Support the 'writing-mode' property

https://www.w3.org/TR/SVG11/text.html#WritingModeProperty

Looks like Qt doesn't support top-to-bottom text rendering, unlike pango, which has the gravity property.

Depends on #109


Dropdown Float Label: Label is always floated

Describe the bug
I am using Tailwind PrimeVue with the latest Aura preset.
The Dropdown Float Label feature does not work correctly because the label is always floated, even when no value is selected from the dropdown.
I'm not sure if this is a bug, or the dropdown float label feature is not yet supported on Tailwind PrimeVue. If it is the latter, can I please request the feature is added. It's very helpful for creating forms.
Here is a screenshot showing the problem where no value is selected but the label is still floated. It is using Tailwind PrimeVue and the latest Aura presets:

Here is a screenshot of how it should look. It was taken from the main PrimeVue docs:

Example Code:
<template>

    <FloatLabel class="w-full">
      <Dropdown
        v-model="selectedCity"
        inputId="dd-city"
        :options="cities"
        optionLabel="name"
        class="w-full"
      />
      Select a City
    </FloatLabel>

</template>

Reproducer
https://stackblitz.com/edit/nuxt-starter-aq6fq2?file=package.json
PrimeVue version
3.52.0
Vue version
3.x
Language
TypeScript
Build / Runtime
Nuxt
Browser(s)
No response
Steps to reproduce the behavior

Go to the reproduction link and see that the label is floated before selecting a dropdown option.

Expected behavior
The label should only be floated after selecting a dropdown option.

This same problem is happening with the Calendar element.

I have same issue :(

Hi, the issue has been resolved and will be included in the next release.


Only change cursor position if at end of input

Hi this is a PR for this issue https://github.com/bendrucker/angular-credit-cards/issues/140
Closes #165

Can you see about adding a test for this?

Wasn't able to figure out how to test this in Phantom, merging as-is


Typescript Enum

Typescript enums feature is very useful.
Its much better than literal types in most cases.
Its much easier to maintain. Renaming an enum value is possible out of the box, while a literal type requires a full project text search.

Please open a PR describing this TypeScript-only feature. :)
Thanks!


WFLY-4409 If business view processing fails include the failed class in ...

...the error message

Linux Build 6025 is now running using a merge of 91469db451dc9a98e140d7fd936238a908be11b3

Linux with security manager Build 1004 is now running using a merge of 91469db451dc9a98e140d7fd936238a908be11b3

Windows Build 1139 is now running using a merge of 91469db451dc9a98e140d7fd936238a908be11b3

Linux with security manager Build 1004 outcome was SUCCESS using a merge of 91469db451dc9a98e140d7fd936238a908be11b3
Summary: Tests passed: 843, ignored: 319 Build time: 0:05:10

Windows Build 1139 outcome was FAILURE using a merge of 91469db451dc9a98e140d7fd936238a908be11b3
Summary: Tests failed: 1 (1 new), passed: 2932, ignored: 314 Build time: 0:48:42
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.clustering.cluster.sso.ClusteredSingleSignOnTestCase(SYNC-tcp).testFormAuthSingleSignOn: java.lang.AssertionError: Logout: Didn't saw HTTP_MOVED_TEMP(500)
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)

Linux Build 6025 outcome was FAILURE using a merge of 91469db451dc9a98e140d7fd936238a908be11b3
Summary: Tests failed: 1 (1 new), passed: 2932, ignored: 314 Build time: 0:50:27
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.clustering.cluster.sso.ClusteredSingleSignOnTestCase(SYNC-tcp).testFormAuthSingleSignOn: java.lang.AssertionError: Logout: Didn't saw HTTP_MOVED_TEMP(500)
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)


Update or replace django-sphinx-autodoc

We use the package django-sphinx-autodoc in edx/ease.This package was last released in 2011 and it hasn't yet added support for Django3.2. Please follow the guidance in https://openedx.atlassian.net/wiki/spaces/AC/pages/3036972032/Handling+Outdated+Dependencies to resolve the problem this poses for the Open edX Django 3.2 upgrade.

Hi @Jawayria I think that this repo [https://github.com/Fandekasp/django-sphinx-autodoc] doesn't exists anymore

@NeOneSoft Thank you so much for looking into this. @Jawayria Please review response form @NeOneSoft

@NeOneSoft We are still looking into this, please stay tuned.

For sure @natabene!!

@NeOneSoft it was added in this https://github.com/edx/ease/pull/86/files I don't think it has any output. You can remove this from the repo edx/ease. After removing we can close this ticket.

Thank you for your response @awais786 I created a PR in order to close this ticket!!

@NeOneSoft Thanks for your contribution. I have merged your pr.
@natabene you can close this ticket.

Thank  you so much @awais786  @natabene !!!


Cannot verify token via algorithm RS256

Cannot verify token via algorithm RS256
it's working ok when request token but when verify token on function
auth.check()
it's showing up
 InvalidJwtToken: E_INVALID_JWT_TOKEN: invalid algorithm
ON Auth.js setting
jwt: {
    serializer: 'lucid',
    model: 'App/Models/User',
    scheme: 'jwt',
    uid: 'email',
    password: 'password',
    options: {
      algorithm: 'RS256',
      secret: fs.readFileSync(__dirname + '/../oauth-private.key'),
      expiresIn: (60*60*24*7),
      notBefore: (60*60*24*10),
      subject: "blablabla",
    }
  }

Please help

Hey @ivybridge-3c33! 👋
Thanks for your patience.
Could you please provide a repository with a test and with the minimum amount of code so we can reproduce the issue?

this also happened to me.

where to set the public key? fs.readFileSync('path-to-public-key')

Closing in favor of the PR.


Moving things around: cnv_frequencies is treated differently from snp_frequencies and hap_frequencies, and plot_frequencies_heatmap is not in a good place

While snp_frequencies and hap_frequencies each have their own file while cnv_frequencies is stuck in anopheles.py. It would probably make more sense to give it its own file as well.
On the other hand, plot_frequencies_heatmap is in snp_frq.py when it is used to plot all kinds of frequencies heat maps. It could probably be moved to util.py (if there are parasite functions that want to use a similar function) or anopheles.py.

Thanks @jonbrenas . We should probably split these into two separate issues, partly because I expect the two proposals might have different implications.
I can certainly see the benefits to consistency putting cnv_frequencies into its own file. I'm not sure why that is currently different, but I guess it just hasn't been been moved over yet. I can't imagine a technical reason, yet. Maybe @alimanfoo has some knowledge of this?
I'm less comfortable with migrating plot_frequencies_heatmap to util.py or anopheles.py. I'm wary about files like util.py becoming a general purpose catch-all place for all kinds of stuff, like that stereotypical one kitchen drawer! And if we're talking about moving stuff out of anopheles.py, which sounds like a pretty high-level place, something seems wrong about moving other stuff into it, especially plotting functions, within the same breath. But I would need to refresh my memory on the scope of those particular modules. In principle, I would go with grouping like-with-like, but you know those sort of decisions can become subjective or aesthetic, rather than perfectly rational.
Where do we usually put functions (e.g. plotting functions) that are used by both parasite and vector? Is it really util.py?

I am closing this issue to be replaced by 2 new ones as advised by @leehart .


Growl Support

The growl support can probably be copy/pasted from another project...
I'm thinking we throw a big red X if any NEW vulns are introduced, a nice icon showing that the status quo hasn't changed, a checkmark showing that warnings were fixed, and a big bright unicorn with lazer beams when the project is clean.
Ok maybe not, but having a visual indicator will be beneficial as there isn't enough room in the notifications for details.  Completely open to suggestions!

All of that sounds perfectly reasonable considering the current RSpec formatter trend.  Seriously though, that seems very reasonable.  I started to track down how other guard plugins did the alerting but had limited cycles.  This should not be disastrous though.

Honestly, it should be dead simple.  I ported guard-cucumber and didn't
change much, so I'm not quite sure why it didn't work OOB.  Or maybe it
does, I just didn't have growl-notify installed.  Have you verified it
doesn't work?
On Mon, Jan 30, 2012 at 1:48 PM, Dave Worth <
<EMAIL_ADDRESS>
wrote:

All of that sounds perfectly reasonable considering the current RSpec
formatter trend.
Seriously though, that seems very reasonable.  I started to track down how
other guard plugins did the alerting but had limited cycles.  This should
not be disastrous though.

Reply to this email directly or view it on GitHub:
https://github.com/oreoshake/guard-brakeman/issues/5#issuecomment-3728504

--
Neil

I did in like 30s and had no results but perhaps it does in a reasonable
environment.  Should I take testing this on? I'd be happy to.

Or implement it...it will be at least a week or so until I can get to this
:hammer:
On Mon, Jan 30, 2012 at 2:03 PM, Dave Worth <
<EMAIL_ADDRESS>
wrote:

I did in like 30s and had no results but perhaps it does in a reasonable
environment.  Should I take testing this on? I'd be happy to.

Reply to this email directly or view it on GitHub:
https://github.com/oreoshake/guard-brakeman/issues/5#issuecomment-3728813

--
Neil

Works for me.  I will attempt to do so!

Just kidding, some time was magically freed up, I'm on it now.

Nice!  Sorry I did't get to it sooner.  I was a bit slammed in the end.
Thanks for the hard work!


category slug should not translation based

Bug report
Title
category slug should not translation based
Issue Description
category slug should not translation based
Preconditions
1. framework Version- master

Steps to reproduce
1. step1- rename(men-> men fashion) category and save
2. step2- add other cateogry with older name(men)

Expected result
the url key should be updated for all locale when it gets update only for single locale
Actual result

fixed

Honestly it does not make any sense, any locale should have his own path prefix, example (site.com/en/category), but besides that it was correct that the category url was localized, better for seo, for google shopping, for campaigns, I can't understand why you're messing this up, just look at shopify, magento, woocommerce, prestashop and avoid reinventing the wheel


Extra examples adding vtk to setup

general improvements
extra tests
extra docs
fixing missing vtk in setup

This is failing the CI as coolprops doesn't install on python 3.9 and the new openmc docker image has python 3.9


[suggestion] Error message improvement for the configuration parser

Feature request
iroha_client crate that is used by Iroha Blockchain Explorer backend can throw an error error that may be extended with hints on how to fix it.
Error: failed to parse client config file: ./config.json

Caused by:
    Algorithm not supported at line 6 column 4

Location:
    src/main.rs:72:18

I believe it to be related to the private key config, specifically, either the digest_function or payload.
This issue is related to BCE-backend#33 I have added before.
Motivation
Giving hints on configuring the public and private key may be helpful, because current error doesn't tell the user how to proceed.
Who can help?
No response

Duplicate


Consistency in Focus Area: Community Growth

In Focus Area: Community Growth
[New Contributors of Initiated Code Reviews] should be consistent as other metrics.

Can we close this?


No mixin named align-items

Expected behavior
align-items mixin should be available? http://bourbon.io/docs/#flexbox
Actual behavior
It looks like it's not there. Searching for align-items in /bourbon doesn't yield any results
Bourbon version
5.0.0.beta.7

@andyjessop The align-items mixin has been removed in 5.0, which is currently in beta. The website documentation reflects the current stable version, 4.2.7.
Our change log lists all the changes, including removals, for 5.0.


Monitoring workflow changes

Removed inclusion criteria for elevated BP or already having a BP goal
The default goal is now set by the web application when a patient first logs in
Decision diamond leading to 15 should read "Is last BP set OR all BPs avg > goal", and it seems like 15 should also lead to the NonPharma flow?

Diagram modified

Remove recommendation for HBP/ABP monitoring
Goal considered "met" if last BP set under goal and not highly variable


Feature Request: First day of new month has the name of the month

Hello, first thank you for this massive improvement over the existing HA Calendar.
I am displaying my calendar for 90 days and I have been unable to find a way to indicate the new month. An example of how dakboard does it:

This is important as when displaying more than 1 month it is very helpful to be able to determine what month is being listed, even if it were on every single day, just not having it makes things a little confusing.
I apologize if I missed a setting that allows something like this.

Well don't I feel like a dummy, right after I posted this I was clicking through the configuration for the 18th or so time and found the fix under Date/time formats using the formats found at the link provided under that tab "Luxon format tokens".
Again, thank you for your great work!


rafthttp: permit very large v2 snapshots

v2 snapshots were hitting the 512MB message decode limit, causing
sending snapshots to new members to fail for being too big.

c.f. https://github.com/coreos/etcd/issues/5386#issuecomment-302465556

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@56841bb). Click here to learn what that means.
The diff coverage is 45%.

@@            Coverage Diff            @@
##             master    #8074   +/-   ##
=========================================
  Coverage          ?   76.51%
=========================================
  Files             ?      342
  Lines             ?    26548
  Branches          ?        0
=========================================
  Hits              ?    20314
  Misses            ?     4774
  Partials          ?     1460

Impacted Files
Coverage Δ

rafthttp/msg_codec.go
100% <100%> (ø)

integration/cluster_proxy.go
100% <100%> (ø)

rafthttp/http.go
77.1% <100%> (ø)

proxy/grpcproxy/adapter/auth_client_adapter.go
35.29% <35.29%> (ø)

Continue to review full report at Codecov.

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


"Denta", "Breștea", "Rovinița Mare" and "Rovinița Mică" are listed in the drop-down menu

Description:
"Denta", "Breștea", "Rovinița Mare" and "Rovinița Mică" are listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Denta" in the search bar.

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

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Type "Breștea" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Breștea, TIMIȘ (Denta)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Type "Rovinița Mare" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Rovinița Mare, TIMIȘ (Denta)".

Step 6
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 7
Type "Rovinița Mică" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Rovinița Mică, TIMIȘ (Denta)".


Change the directory of storage sink only when ddl event occurs

/label affects-6.5
/label affects-7.1


Add default back button icon option to the Theme / AppBarTheme

Use case
We would like to use a custom icon for the back button throughout the entire application. With a rather large dev team, we are constantly running into issues where a dev forgets to put the custom back button on the leading of an AppBar which causes the app to switch between the custom icon on some pages and the default Material / Cupertino one on others.
Proposal
It'd be great if the AppBarTheme property had an IconData (or Icon) where we could set the icon for the application globally and then let AppBar "do the right thing" for us every time instead of having to put that custom widget everywhere.
I looked inside of AppBar and found that it uses BackButton, which itself uses a const BackButtonIcon.
Inside of BackButtonIcon is this:
 /// Returns the appropriate "back" icon for the given `platform`.
  static IconData _getIconData(TargetPlatform platform) {
    switch (platform) {
      case TargetPlatform.android:
      case TargetPlatform.fuchsia:
      case TargetPlatform.linux:
      case TargetPlatform.windows:
        return Icons.arrow_back;
      case TargetPlatform.iOS:
      case TargetPlatform.macOS:
        return Icons.arrow_back_ios;
    }
  }

  @override
  Widget build(BuildContext context) => Icon(_getIconData(Theme.of(context).platform));

The proposal is to add an Icon to AppBarTheme such that the code above could instead be something similar to:
  @override
  Widget build(BuildContext context) => Theme.of(context).appBarTheme?.backIcon ?? Icon(_getIconData(Theme.of(context).platform));

As an aside, it'd be nice to also be able to override the close icon in the app bar the same way.  Selfishly, I care more about the Back one, but doing it for close at the same time at least "feels" appropriate since it's conceptually the same thing.
So adding a closeIcon to AppBarTheme and then updating CloseButton's build to be:
  Widget build(BuildContext context) {
    assert(debugCheckHasMaterialLocalizations(context));
    return IconButton(
      icon: Theme.of(context).appBarTheme?.closeIcon ?? const Icon(Icons.close),
...

I hope so

` return CupertinoApp(
home: CupertinoPageScaffold(
navigationBar: CupertinoNavigationBar(
middle: Text('Me Title'),
),
    // the SafeArea is new!
    child: SafeArea(

      // that's unchanged.
      child: Column(
        // ... etc.

`
This way may help you.

Any progress?

Support for customizing the back button (and others) was added in https://github.com/flutter/flutter/pull/118229


Added Microsoft Edge version 85.0.564.70

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

Microsoft Reviewers: Open in CodeFlow

/azp run

I figured. Can someone restart the tests for this one please?

/azp run


feat(json-schema-form): add json keyword(remove json format) which works for object type

To Reviewers

[ ] Skipping review is not a problem (style, chore ONLY)
[ ] Not that difficult

Type of Change

[ ] New feature
[ ] Bug fixes
[x] Feature improvement

[ ] These changes require a usage change

[ ] Others (performance improvement, refactoring, CI/CD, etc.)

Checklist

[x] Updated Storybook documents
[x] Tested with console

Description
Delete the existing json format
Add json keyword which woks with object type only
If the type is object and the json keyword is true, TextEditor UI is provided to directly input the object.

Non-root case

https://user-images.githubusercontent.com/26986739/192958049-5d1797dc-2ca0-439d-937e-fe75ccff2306.mov

Root case

https://user-images.githubusercontent.com/26986739/192957973-228c3cae-0696-40d8-9a0f-cbf194aa1ae3.mov
If properties are defined in the schema, properties that are not defined in the corresponding properties object are not reflected in the formData object that is updated bidirectionally through the update:form-data event.
However, if properties are not defined, all properties that you write directly are reflected in the formData object, so you need to be careful.

schema에 properties 가 정의되어 있다면, 해당 properties 객체에 정의되어 있지 않은 속성은 update:form-data 이벤트를 통해 양방향 업데이트되는 formData 객체에 반영되지 않습니다.
하지만 properties 가 정의되어 있지 않다면, 직접 작성하는 모든 속성이 formData 객체에 반영되므로 주의가 필요합니다.
Things to Talk About

:tada: This PR is included in version 1.1.0-beta.407 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


ACM-4378 Verify certificates

https://issues.redhat.com/browse/ACM-4378

/cherry-pick release-2.7


API Problem

! NOT AN ISSUE ! But is it possible to get more than 10 blocks from api? Thanks, sorry if I asked wrong

It was available in the past but used to DOS pools so a limit was added set via your settings panel in MPOS. So you could increase that to whatever you like but be aware that it may be abused.

I am not admin, so I probally can't do this. thx


how do you even use the engine how do u port it?

Please check for duplicates or similar issues, as well performing simple troubleshooting steps (such as clearing cookies, clearing AppData, trying another browser) before submitting an issue.
If you are playing a downloaded version of the game, what operating system are you using?
Windows (x86), Windows (x86_64), Linux, or macOS? Specify below.
What version of the game are you using? Look in the bottom left corner of the main menu.
Have you identified any steps to reproduce the bug? If so, please describe them below. Use images if possible.
Please describe your issue. Provide extensive detail and images if possible.

please tell me how to use it

it has no modding support, its a modified version of kade engine, so you will have to learn haxe and do all the work yourself.


Any example for GitLab CI/CD ?

Hi!,
Anyone have any example for integrate versionize in GitLab CD/CI ?
Thanks!

Sorry, I'm not familiar with GitLab. Are you not able to find GitLab pipeline examples online? Using versionize in GitLab should be the same as running any other CLI tool in GitLab, I assume. Are you running into issues with your attempts?


Unable to start vscode with wdio runner

The installation wizard doesn't produce working code, while the documentation doesn't has a workaround on how to fix it
Environment
OS: macOS Ventura Version 13.5.2 (22G91)
node version: 16.16.0
Steps to reproduce:

Clone the repo https://github.com/mikhail-g/wdio-vsce-test-issue or install by running npm create wdio@latest ./ and select the next options:
? What type of testing would you like to do? VS Code Extension Testing https://webdriver.io/docs/vscode-extension-testing
? Which framework do you want to use? Mocha (https://mochajs.org/)
? Do you want to use a compiler? TypeScript (https://www.typescriptlang.org/)
? Do you want WebdriverIO to autogenerate some test files? Yes
?  /Users/My_User/dev/wdio-vsce-test-issue/test/specs/**/*.ts
? Which reporter do you want to use? spec
? Do you want to add a plugin to your test setup?
? Do you want to add a service to your test setup? vscode
? Do you want me to run npm install Yes
run npm i
run npm run wdio

Actual result:
There is an error on Wdio srtart:
ERROR @wdio/config:ConfigParser: Failed loading configuration file: file:///Users/My_User/dev/wdio-vsce-test-issue/wdio.conf.ts: __dirname is not defined in ES module scope
ReferenceError: __dirname is not defined in ES module scope

After fixing it (see 2nd commit) there's another error for which I didn't find a fix or a workaround yet:
wdio run ./wdio.conf.ts

Execution of 1 workers started at ...

INFO @wdio/local-runner: Shutting down spawned worker
INFO @wdio/local-runner: Waiting for 0 to shut down gracefully
INFO @wdio/local-runner: shutting down
Error: Error: Failed to initilialise launcher service unknown: Error: Couldn't initialise "wdio-vscode-service".
TypeError: Cannot destructure property 'URI' of '(intermediate value).default' as it is undefined.
    at file:///Users/My_User/dev/wdio-vsce-test-issue/node_modules/wdio-vscode-service/src/server/utils.ts:6:9
    at safeImport (file:///Users/My_User/dev/wdio-vsce-test-issue/node_modules/@wdio/utils/build/utils.js:223:15)
    at async initialisePlugin (file:///Users/My_User/dev/wdio-vsce-test-issue/node_modules/@wdio/utils/build/initialisePlugin.js:31:20)
    at async initialiseServices (file:///Users/My_User/dev/wdio-vsce-test-issue/node_modules/@wdio/utils/build/initialiseServices.js:53:25)
    at async initialiseLauncherService (file:///Users/My_User/dev/wdio-vsce-test-issue/node_modules/@wdio/utils/build/initialiseServices.js:81:26)
    at async Launcher.run (file:///Users/My_User/dev/wdio-vsce-test-issue/node_modules/@wdio/cli/build/launcher.js:85:65)
    at initialiseLauncherService (file:///Users/My_User/dev/wdio-vsce-test-issue/node_modules/@wdio/utils/build/initialiseServices.js:118:15)
    at async Launcher.run (file:///Users/My_User/dev/wdio-vsce-test-issue/node_modules/@wdio/cli/build/launcher.js:85:65)

Expected result:

Wdio has started successfully
The generated example test is running
See the message in console:

> wdio run ./test/wdio.conf.ts

Execution of 1 workers started at ...

2023-11-15T17:36:19.827Z DEBUG @wdio/utils:initialiseServices: initialise service "vscode" as NPM package
2023-11-15T17:36:20.837Z INFO chromedriver: Initiate Chromedriver Launcher (v8.1.1)
2023-11-15T17:36:20.837Z INFO @wdio/cli:launcher: Run onPrepare hook

Thanks for reporting. This seems to be a duplicate of #88

proposed the solution at: https://github.com/webdriverio-community/wdio-vscode-service/issues/88#issuecomment-1813076813

hey @christian-bromann do you remember why you made this change https://github.com/webdriverio-community/wdio-vscode-service/blob/1562cd19185af40f2269daa0574bb130201ab557/src/server/utils.ts ? This seems to be a cause of this issue


Passwords on the command line are bad

The password should be prompted for upon run, or used from the ~/.docker/config.json file. Passing a password on the command line is very insecure.

Hi @viyh!
Thank you for your input!
If you are afraid of sneaky coworkers scraping your passwords from your screen with their prying eyes or gremlins digging through your shell history, you can always use read -s to securely read the password into an environment variable, so I do not consider this a serious issue. Nevertheless, prompting for passwords actually is on my list for future improvements, I just cannot honestly tell when I will find time. I'm happy to merge pull requests though :smirk:
As for reading the credentials from ~/.docker/config.json: I am not fond about reading another programs config, so that's a 'no' there (also, I detest the idea of storing passwords in plaintext).
Cheers
-Christian

Putting the password into an environment variable and then running docker-ls --password $pw still exposes your password to any other user who runs ps.
docker login has the same problem unfortunately.
Adding support for reading the password from stdin or from a file would be great.

If you really want to reuse auth information that the standard Docker executable uses (as I do), consider this Linux shell function:
docker_auth_ls() {
  local cmd="$1"; shift
  local repo="$1"; shift
  local lpw
  lpw="$(jq -r '.auths["https://index.docker.io/v1/"].auth' ~/.docker/config.json | base64 -d)" \
    docker-ls "$cmd" --user "${lpw%:*}" --password "${lpw#*:}" --basic-auth "$repo"
}

Usage example:
docker_auth_ls tags stuff/busybox

dd1745d01d9996abd2dccfc22e9c16a4a0476806 adds a new option --interactive-password for reading the password from an interactive prompt instead of the command line.


cypress/factory error:  xvfb-run: error: xauth command not found

I'm trying to use cypress/factory docker image. I need cypress 8.2.0. This is how my docker image's built:
ARG CYPRESS_VERSION_PACKAGE_JSON
# Inputs for cypress/factory
ARG CYPRESS_VERSION=$CYPRESS_VERSION_PACKAGE_JSON
ARG NODE_VERSION='16.20.0'
FROM cypress/factory

When I'm trying to run tests I get next error: xvfb-run: error: xauth command not found.
Indeed in https://github.com/cypress-io/cypress-docker-images/blob/master/factory/factory.Dockerfile it is absent (as well as fonts setup).

Hi @deser , That is an old version of Cypress which we have not verified works with the new docker factory.  It is likely you will need to alter your dockerfile for such an old version of Cypress.
As this is such an old version of Cypress, I do not see us addressing this problem at this time.  I would encourage you to upgrade to a later version of Cypress if possible.


Use currency from the price sensor for power based sensors

Currently the energy based sensor function extract the currency from the price function, and uses that as the unit_of_measurement (and defaults to EUR in case of a lack of currency). Which is great!
Please extent this functionality to the power based sensor function, which always uses EUR regardless of which currency is used in the price sensor.

Added in the commit https://github.com/martinarva/dynamic_energy_cost/commit/6ea0287f906d49df1fb7f8643e34c816b44cf72c
Will be available in version 0.5.0

Version 0.5.0 released: https://github.com/martinarva/dynamic_energy_cost/releases/tag/v0.5.0


Compiled CSS with $until tag is not '$breakpoint - 1'

I am using your breakpoints on a project and an $until query is not taking 1 away from my breakpoint. See below:
@include mq($until: breakpoint('xl')) {
    ...
}

@include mq($from: breakpoint('xl')) {
    ...
}

Is being compiled into:
@media (max-width: 60em) {
    ...
}
@media (min-width: 60em) {
    ...
}

In this case, some styles from the $until breakpoint are being displayed during the 1px overlap at the $from breakpoint causing some issues.
Thanks,
Jay

Thanks for reporting this, can you specify what version of Sass you are using?
Also, are you using a CSS minifier?

Closing this as it hasn't gotten any answers in a month.

Also, this is not a bug. Passing a number honors the passed value. Passing a keywords removes a "pixel".
See https://github.com/sass-mq/sass-mq/blob/master/_mq.scss#L188


Unhandled Exception: 'rights' (type: KeyError)

Not sure why I am getting this error. Below is the detail from the log file...
[15/May/2021 12:51:41] ** Welcome to SafariBooks! **
[15/May/2021 12:51:41] Logging into Safari Books Online...
[15/May/2021 12:51:46] Successfully authenticated.
[15/May/2021 12:51:46] Retrieving book info...
[15/May/2021 12:51:47]   File "safaribooks.py", line 1117, in
SafariBooks(args_parsed)
File "safaribooks.py", line 346, in init
self.display.book_info(self.book_info)
File "safaribooks.py", line 177, in book_info
("Rights", info["rights"]),
[15/May/2021 12:51:47] Unhandled Exception: 'rights' (type: KeyError)
[15/May/2021 12:51:47] Last request done:
URL: https://learning.oreilly.com/api/v1/book/9781491910313/
DATA: None
OTHERS: {}

had the same error
   ____     ___         _
  / __/__ _/ _/__ _____(_)
 _\ \/ _ `/ _/ _ `/ __/ /
/___/\_,_/_/ \_,_/_/ /_/
  / _ )___  ___  / /__ ___
 / _  / _ \/ _ \/  '_/(_-<
/____/\___/\___/_/\_\/___/

[-] Logging into Safari Books Online...
[-] Successfully authenticated.
[*] Retrieving book info...
[#] Unhandled Exception: 'rights' (type: KeyError)
[!] Aborting...

I deleted the entire directory and re-cloned the directory.  Followed the setup procedure again on this new directory and everything worked fine.


Make IERC20 comply with ERC20 standard and edit ERC20Wrapper tests

The standard defines that transfer and transferFrom must return a boolean value indicating the operations' success. Assuming that the two follow the standard, we can use their return values in the invariant require statements in ERC20Wrapper.
It should be acknowledged that a lot of "ERC20-like" tokens don't actually follow the standard due to not returning a value, but that behavior should be covered in a different manner than was previously defined. This is an issue that Aragon has related to this fact.

Hey @aunyks thanks for contributing! So for this PR we check that the token being transferred returns either true or we also accept transfers that don't return anything. The checkSuccess function checks the last returned value (which would be what the transfer function returns) to make sure it returns a valid value. Our implementation is very similar to the one linked to in your PR.

@bweick Thanks for getting back! I think conforming IERC20 to the standard is necessary for standardized interoperability with compliant tokens. And, I still think that using the standard's intended return types provide a significant boost in readability, as I don't find checkSuccess necessary if the functions already return true or a "falsey" value.

Well let's say it doesn't return anything (I believe OmiseGo's tokens don't return a value) then this function will revert so we would never be able to transfer OMG tokens. We have to define some standard that we will accept and we felt that obviously true and no value are acceptable return values.

 In that case, I still think the update to IERC20 should remain, as the standard is finalized. With that being said, however, I can revert ERC20Wrapper to use checkSuccess again to account for tokens that don't actually return values.

Sorry for getting back late on this. So the problem with adding the boolean to IERC20 is that when we go to interact with OMG's contract the interfaces won't match up because it's expecting a transfer function that returns a boolean but it in fact doesn't return anything. So in order to accommodate for weird return values we can't put any restrictions on the return portion of the interface, otherwise the transfer function won't be found and it will revert! Does that make sense?

I see what you're saying.


Marker image not comming

I am using mapsui map on that I am using a marker. right now marker in coming by symbol style but I want the image on the marker.
    public ILayer Cameramarker()
       {

        var s = new SymbolStyle();
        s.SymbolType = SymbolType.Rectangle;
        s.UnitType = UnitType.Pixel;
        s.SymbolScale = 0.5;
        s.SymbolRotation = 0.2;

        var Long = Convert.ToDouble(LongitudeLbl.Text);
        var Lat = Convert.ToDouble(LatitudeLbl.Text);
        Feature masterMarker = new Feature();
        masterMarker.Geometry = SphericalMercator.FromLonLat(Long, Lat);
        masterMarker.Styles.Add(s);

        Features ms = new Features();
        ms.Add(masterMarker);

        Layer r = new Layer();
        r.DataSource = new MemoryProvider(ms);
        r.Name = "Camera";
        return r;
    }

Look at the samples. There are examples, how to add images to a symbol style.
What format do your images have?

png  or base64

please provide links of examples.. @charlenni

This is the 'Simple Points' sample. The third in the WPF sample: https://github.com/Mapsui/Mapsui/blob/1.4/Samples/Mapsui.Samples.Common/Maps/PointsSample.cs


Optimize the maintenance of cexAddresses array

As mentioned here;
https://github.com/summa-dev/summa-solvency/blob/ded7155c585eabef653bfc84ec26ca10a6acd632/contracts/src/Summa.sol#L60
The existing approach of maintaining the cexAddresses array can be optimized for gas efficiency. The current method removes excess elements from the cexAddresses array one-by-one, which could be costly in terms of gas when the array is significantly larger than _cexAddresses.
So an alternative approach can be to create a new array with the correct size and replace the old array with it as a whole.
Or even just replace the old array with the input _cexAddresses array directly.

We've been baking something in the background that's going to be implemented next week:
mapping(bytes32 => bool) public confirmedAddress;
...
function submitProofOfAccountOwnership(
        OwnedAddress[] memory _cexAddresses
    ) public {
        for (uint i = 0; i < _cexAddresses.length; i++) {
            bytes32 addressHash = keccak256(_cexAddresses[i].assetAddress);
            if (!confirmedAddress[addressHash]) {
                confirmedAddress[addressHash] = true;
            }
            require(
                assetAddressVerifier[_cexAddresses[i].assetType]
                    .verifyAddressOwnership(
                        _cexAddresses[i].assetAddress,
                        _cexAddresses[i].ownershipProof
                    ),
                "Invalid signer for ETH address"
            );
        }

        emit ExchangeAddressesSubmitted /*TBD*/();
    }

So the current solution will be obsolete.

CC @enricobottazzi

Thanks @alikonuk1 for the proposed implementation! I'll close the PR as it seems the design of the Smart Contract is under refactoring at the moment.
@alxkzmn, if you have any another required features or optimization required at the smart contract level please add issues for that such that maybe Ali can help.
Also if you'd like to get in touch with us before working on any issue you can use the summa channel here => https://discord.gg/EXZpaMJM


[SDPA-4235] optimise svg icon component to improve performance - POC

JIRA issue: https://digital-engagement.atlassian.net/browse/SDPA-4235
Changed

Refactor Icon component to improve performance

Note: I have compared 6 icons below just to see performance comparison. Tried to install component performance plugin in my local to check detailed component speed but hasn't been successful
Screenshots

Icons listing
Current SVG

Refactored

Text with Icon

@rubyllamadora this vue-awesome approach looks nice! I did a check in my local and the icon load time is less now. 👍  One more thing I would like to check in the POC is custom icons. Can you please continue have a look at it, some docs in  https://github.com/dpc-sdp/ripple/blob/master/packages/components/Atoms/Icon/stories.js#L170
There is a few sites are having custom icons, we need to continue allow customer to override the icons or register their own icons. I feel it will be a breaking change for those have custom icons.

@rubyllamadora this vue-awesome approach looks nice! I did a check in my local and the icon load time is less now. 👍 One more thing I would like to check in the POC is custom icons. Can you please continue have a look at it, some docs in https://github.com/dpc-sdp/ripple/blob/master/packages/ripple-nuxt-tide/README.md#custom-icons
There is a few sites are having custom icons(e.g vic-gov-au), we need to continue allow customer to override the icons or register their own icons. I feel it will be a breaking change for those have custom icons.

Thanks @tim-yao for taking a look. Definitely breaking change :(
Will have a look at how we can do custom icons. I'm thinking they should be able to register their own icons and add it to the arrays but the implementation from their side will be refactored. Will check and get back to this.

Closing and will revive changes when ticket is ready to be worked on.


FCNPC_SetVehicleTrainSpeed

Synced speed is about 0.1925. If value is lower, the train jumps to track points, and with a higher value, it makes returns. I am using tracks.dat as the path, but with custom points are the same. youtu.be/elOv9839Aoo?t=9

As I understood, the train is teleported point by point by  FCNPC_GoByMovePath along with the movement by  FCNPC_SetVehicleTrainSpeed. The speed of 1.0 in FCNPC_GoByMovePath is approximately 0.1925 in FCNPC_SetVehicleTrainSpeed. If I set both values correctly, then it works great for a tram. But for a train, this proportion changes when cornering in tunnels roughly doubled. And it is necessary to process these path points additionally.

Yeah, some time ago I have tried to make train works good, but i gave up


Fix #18426 error when url route is empty in yii\widgets\Menu

Q
A

Is bugfix?
✔

New feature?
❌

Breaks BC?
❌

Tests pass?
✔

Fixed issues
#18426

Please add line in changelog as well, thanks!

Please add line in changelog as well, thanks!

Done

Thank you!


Almost results are Zero.

Hello, I tried run your code using "ssd_vgg16_train_voc.yml"
But, almost results are zero and doesn't increase.
=======================================================
AP for aeroplane = 0.0000
AP for bicycle = 0.0000
AP for bird = 0.0000
AP for boat = 0.0000
AP for bottle = 0.0000
AP for bus = 0.0000
AP for car = 0.0000
AP for cat = 0.0000
AP for chair = 0.0000
AP for cow = 0.0000
AP for diningtable = 0.0000
AP for dog = 0.0000
AP for horse = 0.0000
AP for motorbike = 0.0000
AP for person = 0.0001
AP for pottedplant = 0.0003
AP for sheep = 0.0000
AP for sofa = 0.0000
AP for train = 0.0000
AP for tvmonitor = 0.0000
Mean AP = 0.0000
Results:
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000
0.000

================================================
Above result are printed at epoch 5.
Although the number epoch is too low, there are problems.
Please tell me the way to fix these problems if you know.
Thank you.

The same problem met.

Any solutions yet for this issue?

I use another SSD code instead of this code. (https://github.com/qijiezhao/pytorch-ssd)
With this code, I can meet the performance which written at SSD paper.

I use another SSD code (https://github.com/qijiezhao/pytorch-ssd) instead of this code.
With this code, I can meet the performance which written at SSD paper.

Hi @kimna4 ,
Is the imagenet pretrained model needed to reproduce the performance,
Or training from scratch could also repfoduce?
Thanks very much for your help!

Hi @cvtower ,
You can get the pretrained model from here ( https://github.com/amdegroot/ssd.pytorch ).
I think that the repository is a master code. So you can get a lot of information here.
Thank you

i don't know why but i use the same model to finetune the BDD100K dataset, and i get a quite well result:
AP for bike = 0.2777
AP for bus = 0.4525
AP for car = 0.4817
AP for motor = 0.2510
AP for person = 0.2840
AP for rider = 0.2626
AP for traffic light = 0.1715
AP for traffic sign = 0.2024
AP for train = 0.0001
AP for truck = 0.4366
Mean AP = 0.2820

i don't know why but i use the same model to finetune the BDD100K dataset, and i get a quite well result:
AP for bike = 0.2777
AP for bus = 0.4525
AP for car = 0.4817
AP for motor = 0.2510
AP for person = 0.2840
AP for rider = 0.2626
AP for traffic light = 0.1715
AP for traffic sign = 0.2024
AP for train = 0.0001
AP for truck = 0.4366
Mean AP = 0.2820

Hi,
This problem will be met when training from scratch, and the pre-trained model could almost reproduce the result.

Hi all,
After checking the source code and cfg files, i found that the default .yml cfg file for most network contains only 'test' phase, that is no training ever happen during default "training".
I could train from scratch normally now.
To solve this issue:

modify the .yml file-add train into the phase list , and prepare corresponding datasets
if you use pytorch 0.4.0 and met other errors,  previous issues will provide solution.

why i run the demo, it's none result?
ids, count = nms(boxes, scores, self.nms_thresh, self.top_k)
ValueError: not enough values to unpack (expected 2, got 0)

@whuzs   see https://github.com/ShuangXieIrene/ssds.pytorch/issues/15  please

@whuzs   also try:   add 'scores.size(0) == 0' in detection.py as follows:
scores = conf_scores[cl][c_mask]
if scores.size(0) == 0 or scores.dim() == 0:
continue

@cvtower hi, after i modify the .yml file-add train into the phase list ,i also meet the same problem.
AP for human0 = 0.0000
AP for head = 0.0000
AP for cloth = 0.0000
AP for fire = 0.0000
Mean AP = 0.0000
Results:
0.000
0.000
0.000
0.000
0.000

but torch version is 1.3.0

@cvtower  i have solved it

@cvtower i have solved it

hello,
I met the same problem, can you tell me how did you solve this problem?

I think the initialization weights in the master branch has some issues. That cause the problem for low AP when we train from scratch. But it should be fixed by the dev branch. Please try the code in the dev branch. Will close the issues for now.


Update the last_seen_at property on email open and member page view

refs https://github.com/TryGhost/Team/issues/1306

Update on email open in the email-analytics event processor.
Update on page view using a middleware in the frontend site setup.

More details in each commit.

PR pending on publishing the module added in https://github.com/TryGhost/Members/pull/370


PostgreSQL Libraries - Expand on capabilities

@andresnava : Thanks for your contribution to the Azure documentation! The author, @SaloniSonpal, has been notified to review your proposed change.

#please-close
We did not reach a consensus on these changes. I will take a couple of the suggestions in #27011 manually.


Add on-off switch on youtube page

Hello,
I would love to see some sort of indication that it picked up the youtube page and that it is working. Now I was thinking, what better way to do this then by an on-off switch. This would also automatically half-fix the other open issue.
Thanks for your work! Saved me a couple of hours doing it myself ;)!

There is an indication that the extension picked up that the tab is a Youtube one, already. The extension's logo icon(located next to the address bar along with other possible extensions) turns red when in Youtube and is grayed out when not. I want to keep the whole extension's activity as unobstructive as possible, kind of like install and forget, so certainly I don't want the user to have to turn it on manually. :)


kubectl get service mymicroservice --watch

Problem encountered on https://dotnet.microsoft.com/en-us/learn/aspnet/deploy-microservice-tutorial/deploy
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

Hello -- this does not give us enough information to understand what problem you're having. Please add more details to describe what is happening that is unexpected.


Webhook integration tests don't run on GKE (disabled on all but kind)

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
When we originally wrote the webhook integration tests a hack was used to make them work in the kind environment. These tests do not work against other cluster implementations that are now provided by our testing framework, such as GKE due to these hacks.
Expected Behavior
The webhook integration tests should be able to run on any backend Cluster type that KTF supports.
Steps To Reproduce
1. create a GKE cluster in KTF
2. run the integration tests with the GKE cluster

Kong Ingress Controller version
v2.0.0-alpha.2

Kubernetes version
v1.20.5

Anything else?

[ ] remove the t.Skip() that was put in place in the tests when the cluster.Type() != "kind"

Our current tests running on kind cover the functional area, so this is a debt item with little current practical implications, but setting a bad quality precedent.


Add Supermicro bios version command

Adds vendor specific command to retrieve the running bios version.

Thanks for your commits to this repo. Your PR seems good.
Is there any public docs for this vendor specific command? I think it's better to put a reference in the comment.

@UnityDG Thanks for your commits to this repo. Your PR seems good.
Is there any public docs for this vendor specific command? I think it's better to put a reference in the comment.

Unfortunately I don't think there are any official public docs as such for this
Most of these commands seem to be known from gists / old forum posts
https://gist.github.com/noslin005/a87a8c8dba37a4f0fc3bcaf724b4a640

On having a further look, it seems the usage requirements are specified here, https://support.bull.com/ols/product/platforms/hw-extremcomp/bullx-R/rxxx-e4/tools/sum141/SUM_UserGuide_rev2.0.pdf
But not the commands themselves


'SharpShell Easy Log' - How Is the correct way to contribute with this?

Hi.
I just made a simple GUI to make file logging easier for common users like me...

( DebugView is included as a resource file. )

( Output is updated in "real-time". )

@dwmkerr
It is very simple as you can see. I just would like to ask you which is the correct way to share this with you, I mean, is there any chance my project could be included as part of the "Tools" inside SharpShell solution? (my solution is written in VB.NET), or maybe I should create a repository and then modify the "logging.md" ( https://github.com/dwmkerr/sharpshell/blob/master/docs/logging/logging.md ) to put a link to my repo as an alternative for the people who doesn't want to mess with the registry, or...?.
Well, here is the program compiled if someone wants to try it (I need to fix the anchor of a button and maybe make the UI smaller).
http://www.mediafire.com/file/39v1tz3d0ea69tz/SharpShell+Easy+Log.zip
PS: Please don't forget about #229 and #233. Take your time of course weeks or months but don't forget it please.

Looks awesome! I'm adding links to it now!