Now Flash videos are a pain very very slow

firefox
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0
NOT SANDBOXED
[fresh  5201] not implemented: PPB_OpenGLES2VertexArrayObject;1.0
[fresh  5201] not implemented: PPB_OpenGLES2DrawBuffers(Dev);1.0
Vector smash protection is enabled.

Tried with vdpau too same prob, said it's activated but slower than software accel.
Nvidia close source with firefox last version.

What does "now" mean? It was better before and became worse recently? If so, what changed between good and bad states? Was freshplayerplugin version changed?
Currently there is known problem in the code: it enabled and disables GL context on every GL call. On integrated adapters that usually is fine. But on discrete adapters, like nVidia cards, it could cause a significant synchronization overhead.

That's not a discrete card. Just have an nvidia GeForce 970 in primary PCIE port in my tower. 2 weeks ago there is an update of freshplayer and now the videos are slow, like software rendering...
Tried all with vdpau and vaapi same problem. But in youtube the HW accel and decode says it's on.

 Just have an nvidia GeForce 970 in primary PCIE port in my tower.

It's a discrete video adapter. That term doesn't mean it's something external to the computer, it means a device with own memory. There are also so-called integrated video adapters, which share memory with a CPU.

2 weeks ago there is an update of freshplayer

From what to what? Did you try version from repository's master branch?

and now the videos are slow, like software rendering

Only video decoding is slow? Does it help to disable it by setting enable_hwdec = 0 in configuration file?

It's a discrete video adapter. That term doesn't mean it's something external to the computer, it >means a device with own memory. There are also so-called integrated video adapters, which share >memory with a CPU.

No no my card has 4096MB of video dedicated memory and not using the CPU or RAM Memory of the computer

From what to what? Did you try version from repository's master branch?

Don't remember sorry, I get the source/package here in AUR channel: https://aur.archlinux.org/packages/freshplayerplugin/ (tried with freshplayerplugin-fit too)

Only video decoding is slow? Does it help to disable it by setting enable_hwdec = 0 in configuration >file?

 It worked, but I don't know which upgrade did it. Maybe Firefox 46?

I didn't have a chance to test it on machine with nVidia GPU yet.

@i-rinat let me know if I can somehow help

@hlavki, I've just noticed you're using openSUSE Tumbleweed. Are you using precompiled package from repository?
As far as I can tell they are building it with native GLES2, which can be buggy on nVidia proprietary drivers. I see there potential using of GTK+ 3, which can smash both GTK+ 2 and GTK+ 3 in a single process with unpredictable results. Could you compile freshplayerplugin from source? (If you don't have ffmpeg, you'll probably need to disable hw accelerated decoding: cmake -DWITH_HWDEC=0 ..)

Tried build with and without -DWITH_HWDEC=0 and result is same. I think it's even slower.

(Just to be sure.) You made a new source checkout, then created build directory, run there cmake -DWITH_HWDEC=0 .., then make, and then copied generated libfreshwrapper-flashplayer.so into ~/.mozilla/plugins/. On the machine where you are testing, there are no other instances of compiled freshplayerplugin installed. And you used original code from this source repo without modifications. Is that correct?
Aside from that, does "videos are slow" include high CPU usage? If yes, could you paste here perf report output? To do that, you'll need some writable directory. Run there
perf record -a sleep 60

as root user (or via sudo). That will record performance counters for 60 seconds. While those 60 seconds last, open a video, in other words, try to reproduce the bug. When perf record  completes, run in the same directory, also as root:
perf report

I need about 30-40 first lines of that output. You can also redirect output of perf report to a file. That will change output format a bit, but that's fine too. Again, no full output is required (it's huge), 30-40 first lines a good enough.
perf is a performance measurement tool which is built from Linux sources. I guess, it should be in package "perf" in OpenSUSE.

Yes, build was same as you describe. I removed freshplayerplugin package from distro, build with {{cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DWITH_HWDEC=0 ..}}, then {{make}}, and then copied generated {{libfreshwrapper-flashplayer.so}} into {{~/.mozilla/plugins/}}
One thing is, that CPU usage is higher, but not 100%. Also it was split into different cores.
 Perhaps, particular set of commands that freshplayerplugin sends makes it unhappy, and forces it to switch to processing on a CPU instead of GPU.
By the way, I've just learned a new trick with perf (there are still a lot of things to learn). If you still have perf.data file generated from running "perf record", it's possible to make histograms by calling
perf script -s /usr/lib/perf-core/scripts/python/event_analyzing_sample.py > log.txt

But I think, there will be the X server on the first line.

Since high CPU usage (and therefore stuttering) may be caused by running 3d operation in software mode, it's worth to try to disable 3d completely.
That could be done by adding enable_3d = 0 line to ~/.config/freshwrapper.conf file, and then restarting a browser.
PepperFlash seems to require 3d to show any visual at all, so you have to use desktop version of PepperFlash to try this.

There is also another issue, #332, related to OpenGL|ES 2 performance. I believe, it mostly affects discrete video adapters.

@i-rinat wrote:

But I think, there will be the X server on the first line.

Yes, you were right. X server is on the first line
            comm   number        histogram
==========================================
               X   270063     ###################
 plugin-containe    77036     #################
         swapper    66701     #################
         firefox    64531     ################
       JS Helper     6571     #############
         krunner     5776     #############
       ksysguard     5514     #############
      DOM Worker     5275     #############
   Socket Thread     4318     #############
        kwin_x11     2006     ###########

Had a chance to try on machine with nVidia drivers. Flash version of Youtube plays just fine, with no significant load in both inline and fullscreen modes. SWF on speedtest.net caused glXMakeCurrent to fail. That's not good, but it looks like Flash switches to CPU rendering, and shows visuals anyway (but ChromeOS version will definitely fail in that case). Don't know why is that happening.
Also hw accelerated decoding doesn't work — ffmpeg tells about errors in H.264 stream. I thought wrong buffer ordering was a real issue but it was fixed for some time. (And now I'm not sure that I tried the most recent version of code.)
Is there any sample URL with an example of slowness which I can try?

Yes, I've tested it on stream.cz e.g. https://www.stream.cz/zrouti/10010590-treti-epizoda#nejnovejsi

https://www.stream.cz/zrouti/10010590-treti-epizoda#nejnovejsi

I see there HTML5 video player (Firefox 46.0.1). Not a sign of Flash.

As I know, if you have installed flash with "always activate" option, then flash is preferred.

And now I'm not sure that I tried the most recent version of code.

Indeed, that was an old version. With recent version H.264 decoding is fine.
I also stumbled upon an error message about vsync. On my machine vsync was switched off automatically, but there could be cases where it can cause issues.
@hlavki, try to add enable_vsync = 0 to ~/.config/freshwrapper.conf.

Sorry for delay, I had to wait for new Nvidia driver, because of incompatibility with kernel 4.6.x.
But it was worth it. Now I use Kernel 4.6.2 and NVidia 367.27 and it works flawlessly even without enable_vsync = 0. So I think this is upstream problem.

and it works flawlessly

So, it could be driver update will fix issue for @Elrondo46 too.


Host Support - Docker Machine - Vmware Fusion

Hopefully possible, it would be ace if rancher would support for vmware fusion through docker machine. (https://docs.docker.com/machine/drivers/vm-fusion/)

Since we're staring to add in full support for docker-machine v0.5.0, we should be able to add support for this (as far as I can understand).

Given Vmware's recent move away from supporting desktop software, i'm going to close this ticket as we've chosen not to invest any time in it. If you'd still like to track it though for a feature, by all means feel free to re-open.


Float rounding with specified digits

Introduce method round_to_digits(T: u32) for f64. Same as f64::round() except that you can specify how many digits you want to round to.
Example use case:
I have the number 12.34567 and I want to round it to 12.35. Current f64::round() requires a verbose/less-readable/bug-prone workaround:
let full_float = 12.34567;
let rounded_float = (full_float * 100.0).round() / 100.0;
assert_eq!(rounded_float, 12.35);

The proposed method round_to() would simplify the above to:
let rounded_float = 12.34567.round_to_digits(2);
assert_eq!(rounded_float, 12.35);

you can get a library function into std faster through the ACP process https://std-dev-guide.rust-lang.org/development/feature-lifecycle.html#suitability-for-the-standard-library.

anyway what is the use case for this not covered by format!("{:.2}", full_float)?

@kennytm .2 always prints 2 fractional digits, even if they are 0.

you can get a library function into std faster through the ACP process https://std-dev-guide.rust-lang.org/development/feature-lifecycle.html#suitability-for-the-standard-library.
anyway what is the use case for this not covered by format!("{:.2}", full_float)?

I want to have integer in the output. If I use format! macro then I have to use parse and then it becomes verbose


Add ytviewer to README.MD?

Issue Label:

[ ] bug
[ ] feature
[x] enhancement

Description of bug or feature enhancement: Since ytviewer is now stable, with Mac support, which hopefully is working, could it be added to the README?
OS and OS version:

[x] Mac
[x] Linux 32 Bit
[x] Linux 64 Bit
[ ] Windows 32 Bit
[ ] Windows 64 Bit

OS Version:

The core functionality is there but it is still missing a few things. I am working on it now, will be added very shortly.

Added


adding typings for node-cache-manager lib

cache-manager/cache-manager.d.ts
check list

[ ] is collect naming convention?

https://www.npmjs.com/package/cache-manager
http://bower.io/search/?q=cache-manager
others?

[X] has a test file? (cache-manager/cache-manager-tests.ts or others)
[ ] pass the Travis-CI test?


error install

hii when i try install use composer require masrodie/codeigniter4-queue i have error

and when i try again use this composer require masrodjie/codeigniter4-queue i have an error again

Sorry there typo on README it should be masrodjie/codeigniter4-queue
I'll fix it soon.
The package using illuminate/queue 8, so the php dependency should only accept php 7.3 - 8.0. You need to change the php version to 8.0

Sorry there typo on README it should be masrodjie/codeigniter4-queue I'll fix it soon. The package using illuminate/queue 8, so the php dependency should only accept php 7.3 - 8.0. You need to change the php version to 8.0

oke thank you

@Esames786  Please update codeigniter4/framework to latest first


Release 0.5.1 Announcement

Add release note for v0.5.1
Sync the docs with v0.5.1 API reference
Update main page

/lgtm

/approve
self-approving

Re-tagged this (found a nit in the title)


incorrect drawing some rotated footprints

Here is how footprints looks in pcbnew:

Here is how they looks in html (pay attention to VD1, VD2, VD4, VD5, they are rotated copies of VD3):

File to reproduce:
bom_bug.kicad_pcb.zip

https://gitlab.com/kicad/code/kicad/-/issues/11732
Let's see what kicad devs response is, the rectangles in footprints are a weird outlier.
In the meantime you can change the rectangle to polygon to work around the issue.

Fixed, get latest from master.


Rewrite tests to use pest instead of phpunit

Also fix a deprecation warning occuring when running PHP 8.1 in Graph.php, that automatic conversion of false to array is deprecated.

OK, actions say that there's no code coverage driver...just tried this: https://github.com/spatie/schema-org/pull/179/commits/05760ab79beded670f4280cebe84e743375cd9c4 hope it helps.

Thanks!


Amy should be able to pinpoint Leo's location at any given moment

Before I add this to the work tracker, is there something specific you had in mind? Like the ability to ask Amy where Leo is?

 Marking as resolved.


Can't login with LDAP users

I am struggling to log in to GitBlit with my LDAP users.
I run Gitblit WAR 1.7.1 in Tomcat 7.0.62 on my Synology DiskStation running DSM 5.2 and did specify baseFolder via JNDI in Tomcat's context.xml, which works fine. I was able to browse to GitBlit, log in with admin/admin and changed the password.
I went ahead and did edit the gitblit.properties file located in the path I specified as baseFolder via JNDI. I did add overrides to the settings required for LDAP to connect to the Directory Server running on the DiskStation:
realm.userService = com.gitblit.LdapUserService
realm.authenticationProviders = ldap
realm.ldap.server = ldap://localhost
realm.ldap.username = uid=root,cn=users,dc=melo,dc=myds,dc=me
realm.ldap.password = redacted
realm.ldap.maintainTeams = false
realm.ldap.accountBase = dc=melo,dc=myds,dc=me
realm.ldap.admins = admin

I did choose these values based on what information I have from DSM Directory Server UI:
Base DN: dc=melo,dc=myds,dc=me
Bind DN: uid=root,cn=users,dc=melo,dc=myds,dc=me

After a restart GitBlit comes back up, but I can log in only with the admin user in user.conf. When I try to log in with one of my Directory Server users (admin or melo) I get "Invalid username or password!".
I thought there might be a collision because I have admin as a username both in user.conf and in the Directory Server, so I changed the username in user.conf and restarted GitBlit. The change took effect and I can only use the new username to log in, but logging in with my Directory Server users still fails.
I then tried to set realm.ldap.synchronize = true and restarted GitBlit. I saw that user.conf had new entries corresponding to my Directory Server users. However GitBlit did not manage to finish startup. I had to revert to realm.ldap.synchronize = false and clean the user.conf file from the external users, before GitBlit successfully started again.
Because of the sync adding entries to my user.conf file I believe that my realm.ldap settings might be correct. However, I can't use the Directory Server users to log in to GitBlit.
Can anyone please assist me with this? Is there something obviously wrong with my settings? Did I misunderstand how this is supposed to work?
I actually don't even need to have local users in users.conf and would be fine to only use the users specified in my Directory Server.
Thanks in advance for any help.

Did you set this?
realm.authenticationProviders=ldap
Have you reviewed the logs to see if there are any reported errors?
-J
On Mon, Feb 1, 2016 at 8:07 AM, Carmelo Scollo<EMAIL_ADDRESS>wrote:

I am struggling to log in to GitBlit with my LDAP users
I run Gitblit WAR 171 in Tomcat 7062 on my Synology DiskStation running
DSM 52 and did specify baseFolder via JNDI in Tomcat's contextxml, which
works fine I was able to browse to GitBlit, log in with admin/admin and
changed the password
I went ahead and did edit the gitblitproperties file located in the path I
specified as baseFolder via JNDI I did add overrides to the settings
required for LDAP to connect to the Directory Server running on the
DiskStation:
realmuserService = comgitblitLdapUserService
realmauthenticationProviders = ldap
realmldapserver = ldap://localhost
realmldapusername = uid=root,cn=users,dc=melo,dc=myds,dc=me
realmldappassword = redacted
realmldapmaintainTeams = false
realmldapaccountBase = dc=melo,dc=myds,dc=me
realmldapadmins = admin
I did choose these values based on what information I have from DSM
Directory Server UI:
Base DN: dc=melo,dc=myds,dc=me
Bind DN: uid=root,cn=users,dc=melo,dc=myds,dc=me
After a restart GitBlit comes back up, but I can log in only with the
admin user in userconf When I try to log in with one of my Directory Server
users (admin or melo) I get "Invalid username or password!"
I thought there might be a collision because I have admin as a username
both in userconf and in the Directory Server, so I changed the username in
userconf and restarted GitBlit The change took effect and I can only use
the new username to log in, but logging in with my Directory Server users
still fails
I then tried to set realmldapsynchronize = true and restarted GitBlit I
saw that userconf had new entries corresponding to my Directory Server
users However GitBlit did not manage to finish startup I had to revert to realmldapsynchronize
= false and clean the userconf file from the external users, before
GitBlit successfully started again
Because of the sync adding entries to my userconf file I believe that my
realmldap settings might be correct However, I can't use the Directory
Server users to log in to GitBlit
Can anyone please assist me with this? Is there something obviously wrong
with my settings? Did I misunderstand how this is supposed to work?
I actually don't even need to have local users in usersconf and would be
fine to only use the users specified in my Directory Server
Thanks in advance for any help
—
Reply to this email directly or view it on GitHub
https://github.com/gitblit/gitblit/issues/1013.

@gitblit thanks for your reply.
I did set realm.authenticationProviders=ldap (as described in the first post).
However I am not sure where to check for logs. If you can tell me where I can find gitblit logs (I run the GitBlit WAR on Tomcat 7, so I am not really sure which log to check), I would be happy to review them the log an report back.

Please double-check realm.authenticationProviders.
In your first post you specified realm.userService = com.gitblit.LdapUserService which is incorrect.  It should be realm.authenticationProviders=ldap.
The WAR variant will log to the container's log.  In the case of Tomcat I think it is catalina.out but there is great variability with that so I can't tell you exactly where your Tomcat is logging - especially on a Synology NAS.

@gitblit in my first post I specified both realm.authenticationProviders=ldap and realm.userService = com.gitblit.LdapUserService.
Do you mean I need to remove realm.userService and just use realm.authenticationProviders?
I can check the catalina.out log. I know where that one is on my NAS. Will report back.
Thanks for your help.

Ah. So you did; I missed that.
You'll want to restore realm.userService=${baseFolder}/users.conf.  You are mixing & matching old configuration with current configuration.  Did you find that info on the site somewhere or are you migrating an old setup to a new one?

I did remove realm.userService from the file all together, since it is set in default.properties.
You are right that I am mixing up old and current config. I just noticed when looking up the site again:
http://gitblit.com/setup.html
This seems to be from version 1.2.1. Sadly it is the second hit on google when searching for gitblit ldap not working and I did not spot the old version number on top.
Anyway, I removed realm.userService from gitblit.properties and restarted gitblit, but the problem still persists. I just grabbed catalina.out but it is late. I will review it tomorrow.
Just to make sure I uploaded my gitblit.properties file. https://gist.github.com/melo0187/9c5aaa8a1ba593ed7571
Reviews are welcome and thanks again for your help.

Still struggling. I redeployed GitBlit with the config posted in the last comment.
Gitblit comes up, log looks normal and says things like
[INFO ] ----[com.gitblit.manager.IAuthenticationManager]----
[INFO ] setting up com.gitblit.auth.LdapAuthProvider
[INFO ] Ldap sync service is disabled.

When I try to log in, this is logged:
[WARN ] Failed login attempt for melo, invalid credentials from <IP_ADDRESS>
Why? I have no idea.
I uploaded the log here.
Maybe you can have a look at it?
Any feedback is much appreciated.

Finally I managed to get this done!
It was a small change, but one I don't really understand. I am not really proficient at using LDAP.
I just added this to gitblit.properties:
realm.ldap.accountPattern = (&(objectclass=inetorgperson)(cn=${username}))
This overrides the default from default.properties, which looks like this:
realm.ldap.accountPattern = (&(objectClass=person)(sAMAccountName=${username}))
So apparently the default query is not applicable for Synology's Directory Server.
Any idea how I could have figured this one out myself? I simply copy-pasted that accountPattern from a post in google groups...
Anyway, it is working now and I am very excited to start working with GitBlit. It looks really promising =)
Thanks for your time and assistance!


ValueError: The two structures don't have the same sequence length. Input structure has length 0, while shallow structure has length 9.

can any one solve this issue please on training faster_rcnn_trainer.py

make virtual env with tensorflow version 2.1?
tf ver 2.4 makes errors like above.

Hi,
I changed the generator with the following function according to the tf2.4 documentation (https://www.tensorflow.org/api_docs/python/tf/keras/Model#fit) and it seems it works with batch size of 1. For batch size > 1 there is another issue according to #14
def faster_rcnn_generator(dataset, anchors, hyper_params):
    """Tensorflow data generator for fit method, yielding inputs and outputs.
    inputs:
        dataset = tf.data.Dataset, PaddedBatchDataset
        anchors = (total_anchors, [y1, x1, y2, x2])
            these values in normalized format between [0, 1]
        hyper_params = dictionary
    outputs:
        yield inputs, outputs
    """
    while True:
        for image_data in dataset:
            img, gt_boxes, gt_labels = image_data
            bbox_deltas, bbox_labels = calculate_rpn_actual_outputs(anchors, gt_boxes, gt_labels, hyper_params)
            yield (img, gt_boxes, gt_labels, bbox_deltas, bbox_labels),

Hi @colindecourt I encounter a error while doing with tensorflow 2.1 any idea how to handle that problem? I already open an issue #21. Feel free to drop by.


Problem with Indexes

Setting Octopress
I've installed and configured Octopress as described at:

Initial setup
Basic Configuration

Installing octopress-multilingual
Then I've installed:
group :jekyll_plugins do
  gem 'octopress-multilingual'
end

and I've run:
$ bundle

Setting octopress-multilingual
Finally I've been following the Indexes section but there are unexpected behaviours:

at http://localhost:4000/index.html

there are all posts in all languages in content area (that's right)

there are all posts in all languages in recent post aside area (that's right)

at http://localhost:4000/index-it.html

there are not any posts in content area (that's wrong)

there are all it posts in recent post aside area (that's right)

at http://localhost:4000/en/index.html

there are not any posts in content area (that's wrong)

there are all en posts in recent post aside area (that's right)

Thanks,
Tarin

Struggling to find a solution I finally bumped into octopress-paginate plugin where I've surprisingly found the section Multilingual pagination.
So I've installed it and added the following:
paginator: true

to yaml front of index-it.html as in the following:
---
layout: default
paginate: true
lang: it
---

  {% assign index = true %}
  {% for post in paginator.posts %}
  ...

and en/index.html as in the following:
---
layout: default
paginate: true
lang: en
---

  {% assign index = true %}
  {% for post in paginator.posts %}
  ...

so, finally, the indexes are as expected:

at http://localhost:4000/index-it.html

there are all it posts in content area (that's right)

there are all it posts in recent post aside area (that's right)

at http://localhost:4000/en/index.html

there are all en posts in content area (that's right)

there are all en posts in recent post aside area (that's right)

Please consider adding a cross-link to Multilingual pagination in the Indexes, RSS feeds and Archives section because it was very annoying and frustrating following octopress-multilingual without having almost anything works as described (I was really very close to give it up).

Hi Tarin
I've just installed a new octopress today, using octopress-multilingual.
I added lang: en to the default index.html, and then duplicated it as es/index.html, setting this one to lang: es.
The posts, which are also properly tagged, appear on their respective index page. (though I would prefer that the default root index file, which is flagged as en, also be made available when visiting site.com/en/; currently it does not, which is not cool, I find).
On the other hand, I have not been able to get my Pages flagged as en and es to properly show on their respective index.html. I have two "About" pages, and both always appear... :(  Do you have any ideas/suggestions..? Or should I submit an Issue?

Hi Tarin

Hi Ben,

I've just installed a new octopress today, using octopress-multilingual.
I added lang: en to the default index.html, and then duplicated it as es/index.html, setting this one to lang: es.
The posts, which are also properly tagged, appear on their respective index page. (though I would prefer that the default root index file, which is flagged as en, also be made available when visiting site.com/en/; currently it does not, which is not cool, I find).

You may do that as documented at Landing Page vs. Blog Index

On the other hand, I have not been able to get my Pages flagged as en and es to properly show on their respective index.html. I have two "About" pages, and both always appear... :(
I looked at the _includes/header.html, tried to add/set {{ page.lang }}, such as:
{{ page.title }}
Didn't do anything.

I'm quite new to blogging, and I don't feel comfortable with the difference
between posts and pages, but I'm getting used to it. In fact the index.html
contains {% for post in paginator.posts %}. As far as I've understand blog
index gather only posts, and not pages, in reversed chronological order. These
links might help you as helped me:

http://www.theedublogger.com/2008/06/20/differences-between-blog-pages-and-posts/
http://ethosconsultancynz.ning.com/profiles/blogs/what-is-the-difference-between
https://help.edublogs.org/the-differences-between-posts-and-pages/
http://stackoverflow.com/questions/17118551/generating-a-list-of-pages-not-posts-in-a-given-category

I set also a translation id to those "About pages" and still they both appear the navigation/header.
Do you have any ideas/suggestions..? Or should I submit an Issue?

I've just deployed my octopress multilingual site at https://taringamberini.github.io and you can find my octopress site sources on the source branch at https://github.com/taringamberini/taringamberini.github.io/tree/source so you can see:

what I configured: looking to source code
why I configured it: looking to commits' message (I'm a fan of commit messages ).

If you have any questions I'll be happy to help you,
Tarin

Thanks Tarin
I've had a look at your source.
I have tried a similar approach to yours - using what you did here, but it's not working for me...
{% if page.lang == 'en' %}
   {% set_lang en %}
     {% for page in site.pages %}
       {% if page.title %}

             {{ page.title }}

       {% endif %}
     {%endfor%}
   {% endset_lang %}
 {% else if page.lang == 'es' %}
   {% set_lang es %}
     {% for page in site.pages %}
        {% if page.title %}

              {{ page.title }}

        {% endif %}
      {%endfor%}
   {% endset_lang %}
  {% endif %}

I get the following error upon compiling:
Liquid Exception: can't clone NilClass in _includes/nav.html, included in _layouts/default.html
jekyll 2.5.3 | Error:  can't clone NilClass

You have got the following error:

I get the following error upon compiling:
Liquid Exception: can't clone NilClass in _includes/nav.html, included in _layouts/default.html
jekyll 2.5.3 | Error:  can't clone NilClass

Does the error might be caused by the {{ lang }} that should be {{ page.lang }}?
In order to exclude problems with your ruby and gems installations would you like to generate my site?
$ git clone https://github.com/taringamberini/taringamberini.github.io.git
$ cd taringamberini.github.io/
$ git checkout source
$ rake generate (or to get more info: jekyll build --trace)
$ rake preview

Let me know,
Tarin

Installing RedCloth 4.2.9 with native extensions
Installing chunky_png 1.3.4
Installing compass-core 1.0.3
Installing compass-import-once 1.0.5
Installing compass 1.0.3
Installing tilt 2.0.1
Installing haml 4.0.6
Installing jekyll-sitemap 0.8.1
Installing octopress-date-format 2.0.2
Installing octopress-feeds 2.0.4
Installing rack-protection 1.5.3
Installing rdiscount 2.1.8 with native extensions
Installing sass-globbing 1.0.0
Installing sinatra 1.4.6
Installing stringex 1.4.0

Once installed jekyll generated your site fine.
However, on my site, I still have same NilClass error from Jekyll/Liquid when using the {% if page.lang == 'en' %} or {% set_lang en %} operators...

However, on my site, I still have same NilClass error from Jekyll/Liquid when using the {% if page.lang == 'en' %} or {% set_lang en %} operators...

I've tried your approach in my navigation.html but I wasn't able to reproduce your error.
I'll hope the best for your opened  issue #19 .
Hi,
Tarin

Thanks - I found a solution which works for me, in case you're interested, I submitted #20


Slow Alerts

Our os.diskspace alert runs quite slowly. This doesn't seem to be due to OpenTSDB, but rather time spent in bosun:

I can't seem to capture where that time is going with miniprofiler. The kprof branch has the instrumentation that you see in the above image.
I also took several heap snapshots of the expression running while no scheduled checks were running. When looking at allocations, I saw reflect.Value.Call growing, it got to about 4 GB:
First Snapshot:

Second Snapshot (Note the change in total as well):

Improved somewhat by #841.


okta CA scep

Is it possible to use the use this module with the Okta CA for device context?  We have a SCEP URL and a Challenge key.  I tried to use the get-ndescertificate cmdlet but I dont see where I can put in the scep url.

Hello, the Cmdlet has a "Suffix" Parameter which should enable you to change the url to your needs. Do you maybe have an example for a SCEP URL for the Okta CA?


SubList of last added

I want to see last contributions on index page

@jonyrock di you have any idea how to easily do it? and also for the upcoming confs.

@lucasrenan We have a way to do it. I think we can make a CI for this. Are you interested in tech aspect of question of conferences you are expecting to see on index page?
Cuz if it the second option, I think we can do it fast


[BUG] Module numa can not detect resources

Software versions
Python      :  3.12.7 | packaged by conda-forge | (main, Oct  4 2024, 16:05:46) [GCC 13.3.0]
Platform    :  Linux-<IP_ADDRESS>-microsoft-standard-WSL2-x86_64-with-glibc2.39
Legion      :  24.11.1 (commit: ac6aae07cb18fa9de978b073766dd9e3def29dbb)
Legate      :  24.11.1
[0 - 7f06e35b3600]    0.000000 {5}{module_config}: Module numa can not detect resources.
[0 - 7f06e35b3600]    0.000000 {4}{openmp}: numa support not found (or not working)
[0 - 7f06e35b3600]    0.000000 {5}{gpu}: /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/realm/cuda/cuda_module.cc(3985):CUDA_DRIVER_FNPTR(cuIpcGetMemHandle)(&alloc.ipc_handle, alloc.dev_ptr) = 2(CUDA_ERROR_OUT_OF_MEMORY): out of memory

(Following's the output for nvidia-smi btw)
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 565.72                 Driver Version: 566.14         CUDA Version: 12.7     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 4070 ...    On  |   00000000:01:00.0 Off |                  N/A |
| N/A   48C    P8              1W /  120W |    7825MiB /   8188MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A      3830      C   /python3.12                                 N/A      |
+-----------------------------------------------------------------------------------------+

Jupyter notebook / Jupyter Lab version
No response
Expected behavior
No error
Observed behavior
When I run legate-issue or run import cupynumeric as np in python it raises the following error:
[0 - 7f06e35b3600]    0.000000 {5}{module_config}: Module numa can not detect resources.
[0 - 7f06e35b3600]    0.000000 {4}{openmp}: numa support not found (or not working)
[0 - 7f06e35b3600]    0.000000 {5}{gpu}: /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/realm/cuda/cuda_module.cc(3985):CUDA_DRIVER_FNPTR(cuIpcGetMemHandle)(&alloc.ipc_handle, alloc.dev_ptr) = 2(CUDA_ERROR_OUT_OF_MEMORY): out of memory

Example code or instructions
legate-issue

import cupynumeric as np

Stack traceback or browser console output
No response

Multiple issues here:

Legate is attempting by default to reserve a large proportion of the device memory, and that's failing.

@JerryHOTS could you please try running with LEGATE_SHOW_CONFIG=1? The run will still fail, but we'll be able to see how much device memory Legate is attempting to reserve.
@JerryHOTS could you please try running with LEGATE_CONFIG="--fbmem 1000"? This will instruct Legate to try and reserve less memory.
@muraj looks like memory allocation is failing with CUDA_ERROR_OUT_OF_MEMORY, but in cuIpcGetMemHandle. Is it possible that there is, in fact, enough memory, but we're hitting a different system limit related to CUDA-IPC?

Realm is complaining that we tried to instantiate NUMA-aligned memory, but that's not possible on the current system. This is not actually causing a failure in this case, but it is polluting the error message.

@eddy16112 is working on a Realm fix that would allow us to detect this issue before we put in our request for NUMA-aligned memory.
@JerryHOTS you can possibly make this go away by adding --omps 0 to LEGATE_CONFIG.

legate-issue is not working. This is an outcome of the fact that legate-issue is itself trying to import cupynumeric, so if the issue is with initialization itself, then legate-issue is going to hit it too.

@bryevdv is looking into a fix.

Thank you very much for your prompt response!
Running with LEGATE_SHOW_CONFIG=1 gives: (terminal killed halfway)
Python      :  3.12.7 | packaged by conda-forge | (main, Oct  4 2024, 16:05:46) [GCC 13.3.0]
Platform    :  Linux-<IP_ADDRESS>-microsoft-standard-WSL2-x86_64-with-glibc2.39
Legion      :  24.11.1 (commit: ac6aae07cb18fa9de978b073766dd9e3def29dbb)
Legate      :  24.11.1
Legate hardware configuration: --cpus=1 --gpus=1 --omps=1 --ompthreads=6 --utility=2 --sysmem=12677 --numamem=0 --fbmem=7778 --zcmem=128 --regmem=0
[0 - 7fc0c6d24600]    0.000000 {5}{module_config}: Module numa can not detect resources.
[0 - 7fc0c6d24600]    0.000000 {4}{openmp}: numa support not found (or not working)
[0 - 7fc0c6d24600]    0.000000 {5}{gpu}: /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/realm/cuda/cuda_module.cc(3985):CUDA_DRIVER_FNPTR(cuIpcGetMemHandle)(&alloc.ipc_handle, alloc.dev_ptr) = 2(CUDA_ERROR_OUT_OF_MEMORY): out of memory
Running with LEGATE_CONFIG="--fbmem 1000" gives: (successful run)
Python      :  3.12.7 | packaged by conda-forge | (main, Oct  4 2024, 16:05:46) [GCC 13.3.0]
Platform    :  Linux-<IP_ADDRESS>-microsoft-standard-WSL2-x86_64-with-glibc2.39
Legion      :  24.11.1 (commit: ac6aae07cb18fa9de978b073766dd9e3def29dbb)
Legate      :  24.11.1
[0 - 7f67147be600]    0.000000 {5}{module_config}: Module numa can not detect resources.
[0 - 7f67147be600]    0.000000 {4}{openmp}: numa support not found (or not working)
cuPynumeric :  24.11.02
Numpy       :  1.26.4
Scipy       :  1.14.1
Numba       :  (failed to detect)
CTK package :  cuda-version-12.6-h7480c83_3 (conda-forge)
GPU driver  :  566.14
GPU devices :
GPU 0: NVIDIA GeForce RTX 4070 Laptop GPU
And setting --omps=0 doesn't solve the problem, with or without setting "--fbmem 1000":
Python      :  3.12.7 | packaged by conda-forge | (main, Oct  4 2024, 16:05:46) [GCC 13.3.0]
Platform    :  Linux-<IP_ADDRESS>-microsoft-standard-WSL2-x86_64-with-glibc2.39
Legion      :  24.11.1 (commit: ac6aae07cb18fa9de978b073766dd9e3def29dbb)
Legate      :  24.11.1
Legate hardware configuration: --cpus=1 --gpus=1 --omps=0 --ompthreads=0 --utility=2 --sysmem=12677 --numamem=0 --fbmem=7778 --zcmem=128 --regmem=0
[0 - 7fb3d0369600]    0.000000 {5}{module_config}: Module numa can not detect resources.
[0 - 7fb3d0369600]    0.000000 {5}{gpu}: /tmp/conda-croot/legate/work/arch-conda/skbuild_core/_deps/legion-src/runtime/realm/cuda/cuda_module.cc(3985):CUDA_DRIVER_FNPTR(cuIpcGetMemHandle)(&alloc.ipc_handle, alloc.dev_ptr) = 2(CUDA_ERROR_OUT_OF_MEMORY): out of memory

OK, so it looks like indeed Legate's default device memory reservation was too aggressive. It tried reserving 7778MiB, based on the total memory size of 8188MiB. But based on your nvidia-smi output, it looks like only 7825MiB is actually available, i.e. quite close to what Legate requested (although it's not clear where the rest is going).
It's still curious that the error occurs at cuIpcGetMemHandle rather than cuMemAlloc.
There is an ongoing discussion about shifting our device memory allocation logic to happen dynamically through CUDA memory allocation calls, rather than allocating a pool in the beginning and allocating out of that. But there are multiple issues to work through, so it won't be available in the immediate term.
For now, I suggest you explicitly tell Legate how much memory to reserve, e.g. LEGATE_CONFIG="--fbmem 7000", or whatever the maximum number is that works.

Thank you again for your help! When it's convenient, I would appreciate it if you could let me know when the fix becomes available.


Flag to globally disable error tracking

This change adds a new global flag named :enabled that allows to disable the error tracking on certain environments.
This behaviour can be done also with a custom ignorer using the changes that we will introduce in #79 , but I felt like this use case will be quite common in dev environments and having a fast way to just disable every error is useful.
Test have been added and documentation updated.
It is related to #81

I felt like this would be useful, but some feedback will be appreciated @crbelaus as this can be done using ignorer functionality too. However, having to create a custom ignorer just for dev felt a bit too much for such a common use case.


Contribute code to Black Hole Perturbation Toolkit

This code would be an ideal addition to the Black Hole Perturbation Toolkit. I suggest contributing it to the toolkit and moving the repository there.

I can't transfer the repository yet, as I don't have permission to create a repository in the Toolkit.

Done.


fan plotting bug

1h2 shows a fan bent over backwards:

Seems that the most recent update got somehow botched, as the CSV output values do not look corrected. Michael Parish will look at it again after his vacation.

This has been fixed.


definition jump feature can't jump to async function

Using CMD + mouse click to jump to clicked variable's definition is very useful. When I use CMD + mouse click to jump to an async function, It seems the extension can't find the definition.

already finished in version 2.1.15


Update scheduled/interval jobs when the event receiver changes

probably have to scan through the scheduled jobs queue to delete the existing job, then schedule a new one

Do we still want to do this?

not necessary for the 464 project anyway, even though itd be a useful feature


Illegal state error - only data values can be readied while in transaction

Hi, I just got this error and it's asking me to file a bug with stacktrace. So here it is:
Uncaught Error: [mobservable] Illegal state; only data values can be readied while in transaction. Please file a bug with stacktrace.

 I'm just obeying your stacktrace request without delay ...

Thanks for reporting! Which version of mobservable (and mobservable-react
if applicable) are you using?
On Mon, Jan 25, 2016 at 1:46 AM, thunderkid<EMAIL_ADDRESS>wrote:

Hi, I just got this error and it's asking me to file a bug with
stacktrace. So here it is:
Uncaught Error: [mobservable] Illegal state; only data values can be
readied while in transaction. Please file a bug with stacktrace.
 I'm just obeying your stacktrace request without delay
...
—
Reply to this email directly or view it on GitHub
https://github.com/mweststrate/mobservable/issues/97.

I am using:
    "mobservable": "^1.2.1",
    "mobservable-react": "^2.1.1",

Problem seemed to be caused by an observable getter in one class (my ViewModel) wrapping an observable property in another class (my Model).

I analyzed your stacktrace and the use case is valid. Can you verify whether version 1.2.3 indeed fixes the issue?

Well, version 1.2.3 stops the error from appearing in the log, but it still isn't observing as I'd expect. I basically have this:

interface GeoBox {
    latSW: number,
    lngSW: number,
    latNE: number,
    lngNE: number
}

class DataModel {
    @observable
    geoBox: GeoBox;
}

class ViewModel {
    model: DataModel;

    @observable
    get geoBox(): GeoBox {
        return this.model.geoBox;
    }
}

class MapView extends React.Component<{ vMod: ViewModel }, {}> {
    componentDidMount() {
        var vMod = this.props.vMod;

        var goodDisposer = observe(vMod.model, (change) => {
            console.log('good observer sees '+ change.name);
        }

        var badDisposer = observe(vMod, (change) => {
            console.log('bad observer sees '+change.name);
        }
    }
}

When I make changes to DataModel.geoBox, the good observer logs the changes correctly, but the bad observer doesn't. The bad observer just sees a change initially, then nothing afterwards. I think it should always see changes. Isn't that the point of a get observer?
(Making GeoBox into a class with @observable in front of each property doesn't help either.)

The behavior you see is as intended; the observe method only observes the object you pass in, it doesn't do deep observing.
So observe(vMod, ...) will observe changes like vMod.model = { a new object } but it won't observe a change like vMod.model.latSW, because the latter won't modify .model itself; its still the same pointer.
If you want to deep observe, use autorun instead (which is in any case way more powerful, observe is quite a low level primitive). The following snippet will 'deep' observe as both the .model and the .latSW observable will be observed (or any of the other observables if you would JSON.stringify the thing for example):
var reallyGoodDisposer = autorun(() => {
   console.log(vMod.model.latSW);
});

When you start combining autorun and React components, I recommend to use the @observer annotation from the mobservable-react package, it does all the plumbing for you as it wraps the .render() method in a autorun and disposes the stuff when needed, sou you could just build your MapView like:
@observer
class MapView extends React.Component<{ vMod: ViewModel }, {}> {
    render() {
        var vMod = this.props.vMod;
        return vMod.model.latSW
   }
}


Filters data in the firewall section are cached

Steps to reproduce

Go to Firewall section
Set some filters, for example, choose private SG, select some account and use the search
Go to another section like Images to change URL
Close and reopen browser tab or refresh the page
Go back to Firewall section

Actual result

Filters data in the firewall section are cached, so when you reopen or refresh application it keeps previous filters. This behavior exists only in the Firewall section.
Expected result

Filters data are not cached.
Environment

Browser:
- [ ] Chrome version XX
- [ ] Firefox version XX
- [ ] Safari version XX
- [ ] IE version XX
- [ ] Edge version XX

Others:

Connected feature ID

firewall_list_filter
firewall_list_search
Screenshots

Test on:
tamazlykar/1110-cached-firewall-filter
Regression:
firewall_list_filter
firewall_list_search

Tested on:
tamazlykar/1110-cached-firewall-filter


Test: create one for multiboot

Changes in e.g. start.asm can break multiboot support. We should have an integration test specifically to verify that both "classical" boot and multiboot works.

We already use multiboot in all our local environments, and we would know if it stopped working due to increasing memory requirements and such.


Manim Project management commads, [ manim init ], [ manim new project ] and [ manim new scene ]

Changelog / Overview

Added 3 commands in the "manim/cli/project/commands.py" file. Added 2 tests in "tests/test_commands.py"

Motivation

I want new users to quickly be able to create example scenes and edit those scenes to their liking. Some of my friends don't want to use manim only because they found it very hard
Explanation for Changes

New users of manim will be able to quickly set up projects and scenes from templates. The number of templates is very few at the moment but we can add more.
Commands
1 - manim init : this command quickly sets up default files for a manim project
manim init

2 - manim new project : this command lets the user set project settings. it also creates the project inside a new folder of name <project_name>. this command can be used in 3 different ways
manim new project
manim new project <project_name>
manim new project <project_name> <template_name>

3 - manim new scene : this command is used for inserting new scenes in files. if file name is not provided main.py is used as default. if file name is provided but file name does not exist. new file is created with name file name
manim new scene <scene name>
manim new scene <scene name> <file name>

Testing Status

My PC specs:
Processor:............. core I 5 2400
RAM:..................... 8 GB ddr3 ram
GPU:..................... AMD rx 470
Operating System: Ubuntu 20.04
I have tested these commands extensively in ubuntu. I have not tested them in Windows. however i believe they will work fine
Further Comments

Checklist

[x] I have read the Contributing Guidelines
[x] I have written a descriptive PR title (see top of PR template for examples)
[x] I have written a changelog entry for the PR or deem it unnecessary
[x] My new functions/classes either have a docstring or are private
[x] My new functions/classes have tests added and (optional) examples in the docs
[ ] My new documentation builds, looks correctly formatted, and adds no additional build warnings

Reviewer Checklist

[ ] The PR title is descriptive enough
[ ] The PR is labeled correctly
[ ] The changelog entry is completed if necessary
[ ] Newly added functions/classes either have a docstring or are private
[ ] Newly added functions/classes have tests added and (optional) examples in the docs
[ ] Newly added documentation builds, looks correctly formatted, and adds no additional build warnings

checks are failing for template scenes.

Requested changes are done

I have refactored the code, fixed docstrings, added AxesTemplate instead of GraphTemplate, and restructured the directories

I think I touched everything mentioned in the comments. let me know if I missed anything. thx

@kilacoda Sir it's been 4 days since you requested changes. could you possibly review them? thx

Sorry, got caught up in some other stuff! Reviewing rn.


[Site Assets] Select All checkbox is not working

Description of bug
Select All checkbox on toolbar is not working properly. When user clicks on Select All and then navigates to different folder, checkbox remains checked, but no one item is selected.
Steps to reproduce
List the steps to reproduce the behavior:

Login as admin
Go to Persona Bar -> Site Assets
Navigate to Root folder
Click on Select All
Navigate to Images folder

Current result
When user navigates to different folder, checkbox remains checked. You can observer that clicking on this checkbox it does not reflect its state correctly.
Expected result
Select All checkbox should work properly. It should reflect its state correctly. When Select All is checked, all items should be selected, otherwise deselected.
Screenshots

Affected version

[x] 10.0.0 alpha build
[x] 9.4.2 alpha build
[x] 9.4.1 latest supported release

Affected browser

[x] Chrome
[x] Firefox
[x] Safari
[x] Internet Explorer
[x] Edge

I am not able to reproduce this in 9.4.2 RC1, is there anything else special in order to reproduce this issue? Does it happen with the default theme? Do you have any browser console errors?

Just tried it on 9.4.0 and 9.4.1 too and not able to reproduce

I could not reproduce either

I do notice your view is different then stock.  You have large thumbnails when I have detailed view going.

reproduced

reproduced.
Icon View is what sets off the bug.  I just had to click on images, select all images and click on the images folder again it would refresh looking like this:

If you use detailed view it will de-select the checkbox as expected.  I verified after you do check the select all checkbox while using Icon View in Site Assets navigate into any folder with items or not... and then simply change to another folder the checkbox select all remains selected.
A work around is to use the other view for now but this needs to be looked into along with your solution further IMO.

Haaa, thanks, I see it too with thumbnails option enabled. Awesome


[Bug] lazy=True argument is not working incase of USPTO50k dataset

from torchdrug import datasets, data

reaction_dataset = datasets.USPTO50k("~/molecule-datasets/",
                                     lazy=True,
                                     node_feature="center_identification",
                                     kekulize=True, )
synthon_dataset = datasets.USPTO50k("~/molecule-datasets/", as_synthon=True,
                                    node_feature="synthon_completion",
                                    lazy=True,
                                    kekulize=True)

will give below error
TypeError                                 Traceback (most recent call last)
[<ipython-input-6-5448f605ee48>](https://localhost:8080/#) in <module>()
      4                                      lazy=True,
      5                                      node_feature="center_identification",
----> 6                                      kekulize=True, )
      7 synthon_dataset = datasets.USPTO50k("~/molecule-datasets/", as_synthon=True,
      8                                     node_feature="synthon_completion",

<decorator-gen-225> in __init__(self, path, as_synthon, verbose, **kwargs)

4 frames
[/usr/local/lib/python3.7/dist-packages/torchdrug/core/core.py](https://localhost:8080/#) in wrapper(init, self, *args, **kwargs)
    286                 config.pop(k)
    287             self._config = dict(config)
--> 288             return init(self, *args, **kwargs)
    289
    290         def get_function(method):

[/usr/local/lib/python3.7/dist-packages/torchdrug/datasets/uspto50k.py](https://localhost:8080/#) in __init__(self, path, as_synthon, verbose, **kwargs)
     61
     62         self.load_csv(file_name, smiles_field="rxn_smiles", target_fields=self.target_fields, verbose=verbose,
---> 63                       **kwargs)
     64
     65         if as_synthon:

[/usr/local/lib/python3.7/dist-packages/torchdrug/data/dataset.py](https://localhost:8080/#) in load_csv(self, csv_file, smiles_field, target_fields, verbose, **kwargs)
    111                         targets[field].append(value)
    112
--> 113         self.load_smiles(smiles, targets, verbose=verbose, **kwargs)
    114
    115     def _standarize_index(self, index, count):

[/usr/local/lib/python3.7/dist-packages/torchdrug/data/dataset.py](https://localhost:8080/#) in load_smiles(self, smiles_list, targets, transform, verbose, **kwargs)
    250                     logger.debug("Can't construct molecule from SMILES `%s`. Ignore this sample." % _smiles)
    251                     break
--> 252                 mol = data.Molecule.from_molecule(mol, **kwargs)
    253                 mols.append(mol)
    254             else:

[/usr/local/lib/python3.7/dist-packages/torchdrug/utils/decorator.py](https://localhost:8080/#) in wrapper(*args, **kwargs)
    113                     kwargs[value] = kwargs.pop(key)
    114
--> 115             return func(*args, **kwargs)
    116
    117         return wrapper

TypeError: from_molecule() got an unexpected keyword argument 'lazy'

Where did you find that code? I see the one here https://torchdrug.ai/docs/tutorials/retrosynthesis.html#prepare-the-dataset but it is different and has no argument lazy at all. Moreover, the code from the link worked fine for me:)

seems like it has already been solved https://github.com/DeepGraphLearning/torchdrug/pull/24

Cool!
Actually, i was trying it in colab and thought of using this argument!
When we check the arguments like this,
datasets.USPTO50k?

it shows that lazy as an optional arguments but it was giving error

Hi @DimGorr,
It shows this docstring
Init signature: datasets.USPTO50k(*args, **kwargs)
Docstring:
USPTO50k(path, as_synthon=False, verbose=1, transform=None, lazy=False, atom_feature='default', bond_feature='default', mol_feature=None, with_hydrogen=False, kekulize=False)

Hi! The lazy operation seems not implemented for USPTO50k. I am not sure why the automatically generated docstring contains that argument. I will add a lazy implementation for USPTO50k.


What are the various endpoints for Oauth2?

I'm trying to use uaa of pcfdev and would like to know how to get the various oauth2 endpoints such as

Authorization
token
user info

Thanks for your assistance
Beth

Sorry for the delay. PCF Dev provides a standard deployment of UAA at login.local.pcfdev.io.


round robin peer selection

From a flame graph I've observed that some workers / services are really struggling with peer selection

If we implement a random peer selection strategy and add a flipr where we can change the peer selection strategy per serviceName
We already have boolean logic to enabled / disable peer heap per serviceName.
A round robin peer selection will reduce CPU utilization and slightly degrade load balancing by increasing variance.
If round robin is involved we can also just implement random peer selection.

Figuring out which serviceNames to enable with this "degraded load balancing" strategy is going to be involved.
One strategy is to:

look at top10 workers in terms of average CPU
flamegraph them to see if choosePeer() dominates the CPU
identify which serviceNames dominate that worker.
turn on "dumb load balancing" for those service names
repeat

In theory, there should only be ~10ish service names that have both: "high QPS" and "high number of peers" which causes choosePeer() to dominate the flamegraph.

we could also add a timing stat that's cluster-wide and only tagged by service name


Add client version to discover response

but Black isn't happy

Probably just needs a rebase to the current master.

but Black isn't happy

Probably just needs a rebase to the current master.

Done and ready to merge.


fix the spelling of persistedgrant

Hi, thank you for your PR - I noticed this spelling issues and it is fixed on dev branch.

Thanks again for your PR, all changes are part of dev. :)
If you will have another changes, please, send PR. 👍

thanks didn't realise it was already in Dev


How to have multiple waverforms on the same page

I have a list of songs and for each song I would like to have a waveform up to here I have succeeded by putting the creation of the waveform in a function but being in a function then outside this function I can no longer use the object.
If I try to declare the variable outside the function like this:
`var wavesurfer= WaveSurfer;
function preloadAudi () {
wavesurfer.create ({
...
)};`
that's how it creates nothing for me
How can I do to globalize the waveform object and then place it where I am serving?

You need to create a separate instance of wavesurfer for each song item, and each of those items should have its own waveform container. If you're using any framework to create your site it's probably easy to create a song item component and instantiate wavesurfer there after the page is rendered (so in onMount, or componentDidMount, etc).
That way whenever you create, say, a list of songs, each of those will have its own instance, with their own audio file, rendered in their own container.
Keep in mind you need to preserve that instance (save it in some component-wide var) in your component if you want to also use it as an audio player.

so for every prano I have to do this:
var wavesurfer = WaveSurfer.create ({
container: '#waveform'
});
and at each instance I have to change the "wavesurfer" variable?

Hello, Is it possible to have an example please?


tests: update for stricter timeout handling

#2116 rebased

Makes sense.
Do you know which commit exactly changed this behavior ? Like OISF/suricata@de9ceab ?

I don't think any did in suri, we started seeing it with these specific tests right after they were introduced.

Makes sense.
Do you know which commit exactly changed this behavior ? Like OISF/suricata@de9ceab ?

Probably https://github.com/OISF/suricata/pull/12278/commits/4f926a6462b581e085135a36fed7ab31cd103008
The diff is caused by flows that were previously considered not timed out due to imprecision, now getting considered timed out. So a new flow is created.

Replaced by #2203


[BUG] Input Chinese Cause Errors when input them into new column

Describe the bug

To Reproduce

Click on a new Button
Click on the input box
Input Chinese
See error

Expected behavior

When composed PinYin for Chinese Character, the input box should not duplicate the English character
Screenshots

https://user-images.githubusercontent.com/13215013/169223361-fb702990-7d3c-4aeb-9c8f-9be61cae4d4c.mp4
Debug Info

SYSTEM INFO:
	Obsidian version: v0.14.10
	Installer version: v0.14.6
	Operating system: Windows 10 Pro for Workstations 10.0.19043
	Login status: logged in
	Catalyst license: vip
	Insider build toggle: on
	Live preview: on
	Legacy editor: off
	Base theme: light
	Community theme: Minimal
	Snippets enabled: 13
	Safe mode: off
	Plugins installed: 100
	Plugins enabled: 83
		1: Workbench
		2: Hotkeys for starred files and searches
		3: Tag Wrangler
		4: Text expand
		5: Hotkeys for templates
		6: Privacy Glasses
		7: Maximise Active Pane
		8: QuickAdd
		9: MetaEdit
		10: Pandoc Plugin
		11: Hotkey Helper
		12: Hotkeys for specific files
		13: Longform
		14: Templater
		15: Calendar (Beta)
		16: Readwise Official
		17: Customizable Sidebar
		18: Folder Note Core
		19: Tag Page Preview
		20: URI Commands
		21: Excalidraw
		22: Admonition
		23: Style Settings
		24: Obsidian42 - BRAT
		25: Customizable Menu
		26: AidenLx's Folder Note
		27: Copy Block Link
		28: Kanban
		29: Icon Shortcodes
		30: Dictionary
		31: Task Changer
		32: Link Favicons
		33: Icon Folder
		34: Hider
		35: Sortable
		36: Outliner
		37: Global Hotkeys
		38: Minimal Theme Settings
		39: Better Command Palette
		40: Supercharged Links
		41: Second Window
		42: Settings Search
		43: Various Complements
		44: Dynamic Highlights
		45: Customizable Page Header and Title Bar
		46: Local REST API
		47: RSS Reader
		48: Diagrams
		49: Dialogue
		50: AidenLx's Folder Note - folderv component
		51: Query Control
		52: Zoom
		53: Search on Internet
		54: Creases
		55: Auto Link Title
		56: Footnote Shortcut
		57: Jump to link
		58: Obsidian Charts
		59: Sliding Panes (Andy's Mode)
		60: Spaced Repetition
		61: Incremental Writing
		62: Natural Language Dates
		63: Snippetor
		64: Custom Frames
		65: Version History Diff
		66: Hover Editor
		67: Banners
		68: Dataview
		69: Obsidian Memos
		70: Word Splitting for Simplified Chinese in Edit Mode
		71: Omnisearch
		72: Doubleshift
		73: Zotero Desktop Connector
		74: Pandoc Reference List
		75: Markdown Table Editor
		76: Text Format
		77: DB Folder
		78: Lapel
		79: Excel to Markdown Table
		80: Bartender
		81: Pane Relief
		82: Quick Explorer
		83: Notion-Like Tables

RECOMMENDATIONS:
	Custom theme: for cosmetic issues, please first try updating your theme to latest. If still not fixed, please try to make the issue happen in the help vault or disable community theme and snippets.
	Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the help vault or disable community plugins.

Using Mobile App?

No

Yes, I had this problem too
@trey-wallis

+1

@Quorafind @MugenLee @lefinite  Fixed in 4.2.4 :)


[ WARN] ： The complete state of the robot is not yet known.  Missing hande_left_finger_joint

When I run roslaunch ur_hande_moveit_config start_moveit.launch, a warning appears: "The complete state of the robot is not yet known. Missing hande_left_finger_joint." It keeps popping up. How can I resolve this?

@NIU55666
What version of ROS are you working on?
Are you using docker or installing from source?

@NIU55666 What version of ROS are you working on? Are you using docker or installing from source?

My ROS version is Noetic. I'm not using Docker; I'm installing it from source.

@NIU55666
I can't reproduce what you described. Can you provide more information on what you are trying to do and the trace from the terminal?
Also, make sure that you are on the latest commit of the robotiq package.
I uploaded some changes to this ur3 repo, you may consider reinstalling/building it


Missing trait Symfony\Component\DependencyInjection\ContainerAwareTrait

Hi,
I had an issue on the new release when I run app/console cache:clear
Here is the message error

PHP Fatal error:  Trait 'Symfony\Component\DependencyInjection\ContainerAwareTrait' not found in vendor/endroid/qrcode-bundle/src/Twig/Extension/QrCodeExtension.php on line 22

Thank You !

Thank you for noticing. I just added the requirement for the DI component so it requires the correct version when you run composer install. I added the ContainerAwareTrait to Symfony in 2.4.0 so that will be the minimum version.


Multiselect with composite keys

Declaration:LinkingSetRelationAttribute(Type rowType, string thisKey, string itemKey)
How is when param 'thisKey' is 'composite keys' just like tenantId and orderId compose the primary key?

It won't work with composite keys. Need to use a proper ID or implement behavior yourself.

thanks,I have use  a guid field as substitute for 'composite keys'.After all,'composite keys' has some drawback,try to avoid it.


wip #1

hope it helps

Thanks for contribution! I'm out of town through the weekend, but will look
at this Monday!
On Fri, Oct 2, 2020, 6:27 AM obar1<EMAIL_ADDRESS>wrote:

hope it helps
You can view, comment on, or merge this pull request online at:
https://github.com/jyates/manning-energy-resources/pull/2
Commit Summary

wip #1

File Changes

M scaffold/README.md
https://github.com/jyates/manning-energy-resources/pull/2/files#diff-e1e648814af4d09a537f6f1d3aa2e9f9
(27)

Patch Links:

https://github.com/jyates/manning-energy-resources/pull/2.patch
https://github.com/jyates/manning-energy-resources/pull/2.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jyates/manning-energy-resources/pull/2, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AABQGDD7M5FGMDRZD7SVKB3SIXBKVANCNFSM4SBUKDVA
.


Our startup and shutdown is grey, hence we fade to grey.

it was a black screen on mine macbook


store provider object + scripts

I removed the transpiled js from git. Seems like something unnecessary to track


Rotating markers support

Hi Guys,
Thanks for this awesome lib that is serving us well.
Im sure that this was asked before but i wanted to know if there is any support or any idea ho we can implement rotating markers we have a speific markers that are large and we want to be able to rotate them when entering rotate mode... not sure if Geoman can do it nativelly... or need to use some hack or other lib.
Thanks!

We do not support Marker rotation. You can try: https://github.com/bbecquet/Leaflet.RotatedMarker

Thanks so much for your response!


bump aurora version to 13 as 10 is no longer supported and failed RDS creation

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

thx


email address change when logging in via Google

Expected behaviour
the set email address in the profile should persist even if you use a 3rd party login like Google
Actual behaviour
after logging in via Google the set email address gets replaced with the Google email address
Configuration
Copy and paste the configuration section from the Kanboard settings page or fill these fields:
Version: 1.0.28
PHP Version: 5.6.21-1~he.0
PHP SAPI: apache2handler
OS Version: Linux 2.6.18-prep-xenU-static-i686-he+12
Datenbanktreiber mysql
Datenbank Version: 5.5.47-37.7-log
Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.79 Safari/537.36

This is the expected behaviour, see https://kanboard.net/plugin/google-auth section "Notes" at the bottom of the page.

Ah, it doesn't happen with GH login though.


Failed to create Vultr machine as failed to setup the SSH key on the server

It used to work, but during my test today, I found docker-machine create -d vultr failed to create a Vultr host.
 docker-machine create -d vultr v1
Running pre-create checks...
(v1) Validating Vultr VPS parameters...
(v1) getting client
(v1) getting client
(v1) getting client
Creating machine...
(v1) getting client
(v1) Creating Vultr VPS...
(v1) getting client
(v1) Waiting for IP address to become available...
(v1) Created Vultr VPS ID: 6472698, Public IP: <IP_ADDRESS>, Private IP:
Waiting for machine to be running, this may take a few minutes...
(v1) getting client
(v1) getting client
(v1) getting client
(v1) getting client
(v1) getting client
(v1) getting client
(v1) getting client
(v1) getting client
(v1) getting client
(v1) getting client
(v1) getting client
(v1) getting client
(v1) getting client
(v1) getting client
(v1) getting client
(v1) getting client
(v1) getting client
(v1) getting client
(v1) getting client
(v1) getting client
(v1) getting client
(v1) getting client
(v1) getting client
(v1) getting client
(v1) getting client
(v1) getting client
(v1) getting client
(v1) getting client
(v1) getting client
(v1) getting client
(v1) getting client
(v1) getting client
(v1) getting client
(v1) getting client
(v1) getting client
Detecting operating system of created instance...
Waiting for SSH to be available...
Password:

It began to ask me the password, which should never happen. The SSH key should has been set up already.

Since I don't see an OS specified in your message, can I assume it's deploying RancherOS?

@geneticgrabbag Oh, I'm sorry that I forgot providing the environment variables for the vultr driver. Here it is:
#!/bin/bash
# Install Vultr Driver: https://github.com/janeczku/docker-machine-vultr

export VULTR_API_KEY=<API_KEY>

# 1  - New Jersey
# 12 - Silicon Valley
# 19 - Sydney
# 25 - Tokyo
export VULTR_REGION=12

# Plan 29 - 768 MB RAM,15 GB SSD
export VULTR_PLAN=29

# 160 - Ubuntu 14.04 x64
# 215 - Ubuntu 16.04 x64
# 167 - CentOS 7 x64
export VULTR_OS=215

# IPv6
# export VULTR_IPV6=true

export MACHINE_DRIVER=vultr

Everytime I create a vultr host, I source this file first.
So, I was creating 768MB/15GB host with Ubuntu 16.04 OS in the Silicon Valley region.

@twang2218 ah, thanks.
i tried duplicating it and I get this:
% docker-machine create -d vultr -vultr-api-key=$VULTR_TOKEN --vultr-region-id=12 --vultr-os-id=215 --vultr-plan-id=29 v1
Running pre-create checks...
(v1) Validating Vultr VPS parameters...
Creating machine...
(v1) Creating Vultr VPS...
(v1) Waiting for IP address to become available...
(v1) Created Vultr VPS ID: 6475856, Public IP: <IP_ADDRESS>, Private IP:
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Error creating machine: Error detecting OS: Too many retries waiting for SSH to be available.  Last error: Maximum number of retries (60) exceeded

I can log in via the Vultr console, but it fails with an SSH call from my terminal:
% ssh root@<ip-address>
Received disconnect from <ip-address>: 2: Too many authentication failures
Disconnected from <ip-address>

The version of my vultr driver was 1.0.6, and I updated to the latest, 1.1.0, the problem is same, here is the output with --debug option:
$ docker-machine --debug create -d vultr v1
Docker Machine Version:  0.9.0-rc2, build 7b19591
Found binary path at /usr/local/bin/docker-machine-driver-vultr
Launching plugin server for driver vultr
Plugin server listening at address <IP_ADDRESS>:60469
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
(flag-lookup) Calling .GetMachineName
(flag-lookup) Calling .DriverName
(flag-lookup) Calling .GetCreateFlags
Found binary path at /usr/local/bin/docker-machine-driver-vultr
Launching plugin server for driver vultr
Plugin server listening at address <IP_ADDRESS>:60473
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
(v1) Calling .GetMachineName
(v1) Calling .DriverName
(v1) Calling .GetCreateFlags
(v1) Calling .SetConfigFromFlags
Running pre-create checks...
(v1) Calling .PreCreateCheck
(v1) Validating Vultr VPS parameters...
(v1) Calling .GetConfigRaw
Creating machine...
(v1) Calling .Create
(v1) DBG | Generating SSH key...
(v1) Creating Vultr VPS...
(v1) Waiting for IP address to become available...
(v1) Created Vultr VPS ID: 6475975, Public IP: <IP_ADDRESS>, Private IP:
(v1) Calling .GetConfigRaw
(v1) Calling .DriverName
(v1) Calling .DriverName
Waiting for machine to be running, this may take a few minutes...
(v1) Calling .GetState
(v1) Calling .GetState
(v1) Calling .GetState
(v1) Calling .GetState
(v1) Calling .GetState
(v1) Calling .GetState
(v1) Calling .GetState
(v1) Calling .GetState
(v1) Calling .GetState
(v1) Calling .GetState
(v1) Calling .GetState
(v1) Calling .GetState
(v1) Calling .GetState
(v1) Calling .GetState
(v1) Calling .GetState
Detecting operating system of created instance...
Waiting for SSH to be available...
Getting to WaitForSSH function...
(v1) Calling .GetSSHHostname
(v1) Calling .GetSSHPort
(v1) Calling .GetSSHKeyPath
(v1) Calling .GetSSHKeyPath
(v1) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/taowang/.docker/machine/machines/v1/id_rsa (-rw-------)
&{[-F /dev/null -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none<EMAIL_ADDRESS>-o IdentitiesOnly=yes -i /Users/taowang/.docker/machine/machines/v1/id_rsa -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
exit 0
Password:

I think the reason is that Public IP is returned <IP_ADDRESS>:
(v1) Created Vultr VPS ID: 6475975, Public IP: <IP_ADDRESS>, Private IP:

So, that cause the ssh command is actually trying to connect to my laptop<EMAIL_ADDRESS>😹
&{[-F /dev/null -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none<EMAIL_ADDRESS>-o IdentitiesOnly=yes -i /Users/taowang/.docker/machine/machines/v1/id_rsa -p 22] /usr/bin/ssh <nil>}

Is there any API changes cause the problem?

@twang2218 - I can confirm the attempt to SSH as root into <IP_ADDRESS>.  I'm using driver v1.1.0 with docker machine v0.8.2 on OS/X v10.11.6.

Same problem with  Public IP: <IP_ADDRESS> before on the same system it have been worked

Checking will not fix this error, something with vultr API? Changes? Errors?

Thanks for a wonderful plugin. It doesn't seem like it's been released yet. I tried to build it myself, but I"m not familiar with Go, so I failed. Is there any way to extract a build artifact from CircleCI?

Hi dmitrym0, there is my build for linux based system http://file.sampo.ru/q86239/ (tested on ubuntu)

@dmitrym0 New release is out, enjoy! https://github.com/janeczku/docker-machine-vultr/releases/tag/v1.2.0

Came across this, thanks for fixing!

Thank you so much, works great! 👍


Ruby: exclude top level index path from .yardopts

Fixes #1558

Codecov Report

Merging #1589 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##             master   #1589      +/-   ##
===========================================
+ Coverage        87%     87%   +<.01%
- Complexity     4216    4218       +2
===========================================
  Files           408     408
  Lines         16922   16926       +4
  Branches       1841    1842       +1
===========================================
+ Hits          14723   14727       +4
  Misses         1705    1705
  Partials        494     494

Impacted Files
Coverage Δ
Complexity Δ

...odegen/viewmodel/metadata/PackageMetadataView.java
83.33% <ø> (ø)
4 <0> (ø)
:arrow_down:

...ansformer/ruby/RubyPackageMetadataTransformer.java
98.57% <100%> (+0.01%)
25 <0> (ø)
:arrow_down:

...api/codegen/transformer/ruby/RubySurfaceNamer.java
96.21% <100%> (+0.08%)
62 <1> (+2)
:arrow_up:

Continue to review full report at Codecov.

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

I haven't checked, but on inspection, this logic looks off; it should deal with the proto file package, not the GAPIC version index file (which is based on the GAPIC package). For example, for Video Intelligence, we want to exclude lib/google/cloud/videointelligence (proto package), not lib/google/cloud/video_intelligence/ (GAPIC package).

This actually might be quite subtle in some other cases, like Speech, where the proto and GAPIC packages coincide; for example, here we want to exclude the *_pb.rb files, but not the GAPIC client.
Can .yardopts handle a glob expression like --exclude **/*_pb.rb?

Exclude takes a regexp. This latest change was tested with vision.


Releases / version numbers?

First off, thanks for producing this excellent tool! I'm really grateful for your work.
I'm writing code that uses email-oauth2-proxy to automatically launch a server on AWS which handles OAuth2/SMTP for my email client. It would be helpful for me to specify a specific version of email-oauth2-proxy to use, but I noticed you don't have tagged releases on your main branch.
Would you consider doing tagged releases? (For the time being, the best solution for my use case is to pin to a specific commit hash.)

Thanks @simonrob, I don't see any reason why dates as version numbers would be a problem. If it works for Canonical with Ubuntu, it could certainly work here 😄
Also, totally understand a sparsity of updates going forward—I'm also an academic who dabbles in open source code, and I often create things that I don't have bandwidth to continue developing or maintaining beyond my own use case. I'm glad you'll be maintaining it as a part of your own day-to-day email usage, though, because it's become an essential part of my day-to-day email usage too!

Great - I've tagged the current latest commit as 2022-06-01, and will continue to do so going forward.
It's nice to meet others with a similar outlook – and to be clear, I'm certainly open to further development that goes beyond basic fixes, but I just don't really have any needs that I haven't already resolved 😄
It's excellent to hear the proxy is helpful for others too!


API integration not working (CORS issue?)

Describe the bug
I have spent the better part of two days and millions of tokens trying to resolve this issue. I noticed today that a new feature was released around Request Relay that I would think have solved this issue for me but alas no success. I am trying to implement this API, which works when I run in the console but continue to receive errors when I have Bolt implement in the react app. I've even tried corsproxy.io.
https://supadata.ai/en/documentation/youtube/get-transcript
Link to the blitz that caused the error
https://bolt.new/~/sb1-p8cny9tv
Steps to reproduce

Go to Tester in the left nav
Click run test
View console

Note: I did not try locally but this seems like a webcontainer issue
Expected behavior
Should fetch the youtube transcript
Parity with Local

[X] I have run the project in my local machine and I could not reproduce the issue.

Screenshots

Platform

OS: [e.g. macOS, Windows, Linux]
Browser: [e.g. Chrome, Safari, Firefox]
Version: [e.g. 91.1]

Additional context
No response

Issue Analysis Report
Current Behavior

The transcript fetching functionality is failing silently with an empty error object
The Vite proxy configuration is not effectively handling the requests
Network requests are not visible in browser dev tools
The error appears to be happening at the initial fetch attempt

What Has Been Tried

Direct API calls to Supadata (failed due to CORS)
CORS proxy through corsproxy.io (removed)
Vite proxy configuration attempting to forward requests
Multiple retry mechanisms in the fetch logic

Technical Investigation

Request Flow
Client makes request to /api/transcript
Vite proxy should intercept and forward to Supadata
Response should come back through proxy
Client code handles response/errors

Key Issues Identified
The Vite proxy configuration may not be loading correctly because:

Config imports may be circular or failing
Environment variables might not be available during proxy setup
Proxy headers might not be properly forwarded

Error handling is losing information because:

Empty error objects in catch blocks
Multiple layers of error transformation
Async stack traces being lost

Network isolation in WebContainer:

Limited network access
Proxy needs special configuration for WebContainer environment
CORS headers may be stripped


all metadata collected should have a unique index value

would make filtering/finding in lists easier

Unique index values are now assigned to all the metadata collected.


Support empty text response

Hello,
my "Text" panel loads an URL that either returns text or an empty response (empty string).
Today, I updated to the current version of Grafana and this plugin and in case I get an empty string as response, the panel shows [object Object] via the "Direkt HTML" mode.
Then I switched to "Angular Template" and saw that the response variable is an object with {"data":"","status":200, ...}.
I changed the template to use response.data and it looked fine (empty panel), but now those panels who should contain text are empty too. It turned out that the response variable for those panels contain the text returned by the URL and therefore there is no response.data.
Conclusion:
Empty response: response contains object
Non-empty response: response contains the text
It would be nice if it would have consistent behavior.

supported in latest master


subtree-push 2024-06-24

Bumped the toolchain from rust-lang/rust@8337ba918 2024-06-12 to rust-lang/rust@6b0f4b5ec 2024-06-24.
Pulled in some interesting commits, notably:

https://github.com/rust-lang/rust/pull/126888 hotfix for a stray println.
https://github.com/rust-lang/rust/pull/126754 which implements the style consensus in https://github.com/rust-lang/rust/pull/126753.

Otherwise a pretty minor subtree sync :^)

weird, I see that https://github.com/rust-lang/rustfmt/pull/6217/commits/514fe39e250569a3c894c116a8abe95f635fef1f pulled in the commit that removed the stray println!, but when I look at all the changed files in the GitHub UI I'm not seeing the change.

Oh yea, what the heck? The merge commit added it back.

Really strange behavior. Maybe you could reset to 514fe39 and then try the merge again?

Yep -- I did that. I think this is just what git thinks is right when merging origin/master into sync-from-rust-2024-06-24.

I believe this is relevant:

With the strategies that use 3-way merge (including the default, ort), if a change is made on both branches, but later reverted on one of the branches, that change will be present in the merged result; some people find this behavior confusing. It occurs because only the heads and the merge base are considered when performing a merge, not the individual commits. The merge algorithm therefore considers the reverted change as no change at all, and substitutes the changed version instead.

I'll push a commit on top to revert the bad merge tomorrow. Git is so weird.

Git is so weird.

it really can be. it's times like these that make me feel like I need to review every line of diffs on the pushes, even the "successfully" staged ones

@calebcartwright: I believe it's probably most effective to add as a "step" to your runbook (in your brain or otherwise) to review the diff of the merge commit itself, rather than reviewing every line which can be a lot of work.
You can view the diff of the merge commit if you ask git to show it:

There are no new changes to show, but you can still view the diff.

I would've probably caught that if I knew that this was something git could do.


Add keyRotation spec to the StorageCluster

https://issues.redhat.com/browse/RHSTOR-3891
Older PR: https://github.com/red-hat-storage/ocs-operator/pull/1926

@iamniting @Rakshith-R ptal.


Update MD file on new branch 2017-12-15_19-41-08

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon1.md
:white_check_mark:Succeeded

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


Allow use of system certificates

Support the use of system configured certificates

boto has the option to use system configured certificates by using
the "system" keyword in boto.cfg. We need to respect this configuration
option. Not accounting for this may lead to SSL verification issues
on systems that use this setting.

Thanks for the explanation - sounds reasonable.
Did you run the boto tests with this change?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 02/01/2015 01:20 PM, Mike Schwartz wrote:

Thanks for the explanation - sounds reasonable.
Did you run the boto tests with this change?

I have not, but I did functional testing of gsutil after applying
basically the same patch in gsutil (util.py)

Robert Schweikert                           MAY THE SOURCE BE WITH YOU
Public Cloud Architect                                 LINUX
<EMAIL_ADDRESS>IRC: robjo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iQEcBAEBAgAGBQJUznEbAAoJEE4FgL32d2UkvGIH/ihnFH3KV/hoBQHr6/KKb13m
0S7bQBtIf2rm6rKTa2EPZvSrpTd8tMnBEHepiT+RhgwBUUOQolBeY0+nBAu06XN6
JLl6YTWC6DE3dUn/ezr942PnFm5a5gfD0wuKhAhQm/jGoNVijfKRCj5PYOwJoY4m
NNS8VC5Q3+C5jyGFBh1Ex6bWeR71lCTcCU9QO0MBHObbtz3rgeHBdI4jQPAg15cu
Gd+NM/LmKJB7hjXDNOjhtfTu68+NmMBmolVuLu8IZC6hZiHP/4sjzDIa1nxebPyT
4HMVEZCdbmZP2plPfl3PF2W4JL6Sj9bY1WBEtgbPWhyuoeZxjAsRtI7DerzPioc=
=VLC2
-----END PGP SIGNATURE-----


Fix the completer in Jupyterlab 4

Describe your changes
This PR fix the SQL completion for jupyterlab 4
Issue number
Related to https://github.com/ploomber/jupysql/issues/930
Checklist before requesting a review

[x] Performed a self-review of my code
[x] Formatted my code with pkgmt format
[x] Added tests (when necessary).
[x] Added docstring documentation and update the changelog (when needed)

awesome! the CI is failing but I merged it anyway since the base jupyter4 branch is also failing. I'll follow up on the original thread to discuss next steps.
thanks a lot for working on this!


Missing U+3000 IDEOGRAPHIC SPACE

I've noticed that this particular character is missing from my Kurinto Seri, and as far as I can tell after my sloppy test, it is also missing from every other font.

U+3000 is in Kurinto Seri HK, JP, KR, SC, and TC ... but not in Kurinto Seri Aux, CJK, Core, KM, (Regular), and TB.
Are you suggesting that U+3000 is needed in one or more of the variants that currently do not have the character (like CJK, where it might be appropriate)?

Sorry, maybe I didn't understand how fonts are structured. I'm using Fonts/KurintoSans-Rg.ttf, which has kana but no ideographic space (as a test, I wrote some test using Windows IME for Japanese and characters could be rendered except for that space).
I feel like it's weird to be able to type kana without being able to type the space. IMHO it should definitely be part of CJK, and also part of the font file I mentioned, as it already contains kana.
Also, I noticed 「。」 and 「、」 are missing too. Once again, it surprises me that these characters are missing.

Yes, this does look like a significant bug. The [CJK Symbols and Punctuation] block U+3000-303F should be included in the "Main" variant ... Thanks for finding this!!


Manually update artifact hash due to mismatch

Description of your changes
Fix the following error on brew upgrade or install:
==> Upgrading 1 outdated package:
upbound/tap/up v0.24.2 -> v0.26.0
==> Fetching upbound/tap/up
==> Downloading https://cli.upbound.io/stable/v0.26.0/bundle/up/darwin_arm64.tar.gz
Already downloaded: /Users/phisco/Library/Caches/Homebrew/downloads/66854dc0dc8a866612ad64e18c2683036b45bba462027866cbf7a02810cdf304--darwin_arm64.tar.gz
Error: SHA256 mismatch
Expected: 1a33651f3cdd6c743054bc528cf6c78a538f0bdb9a01d3a96587d1d9880c5032
  Actual: f44620e2d350ee03cbf131c922e6355b992a12f8cbe7f819ff37dcbc5e765637
    File: /Users/phisco/Library/Caches/Homebrew/downloads/66854dc0dc8a866612ad64e18c2683036b45bba462027866cbf7a02810cdf304--darwin_arm64.tar.gz

I have:

[x] Read and followed Upbound's contribution process.
[ ] Run make reviewable to ensure this PR is ready for review.
[ ] Added backport release-x.y labels to auto-backport this PR, as appropriate.

How has this code been tested
n/a

fixes #51 - run brew update prior to install/upgrade.


WIP: Improve Helm extensibility

Configurable resource waiter.
New hooks: post-apply-on-install and post-apply-on-upgrade.

Moved to the new branch https://github.com/flant/helm/pull/25