Refs #5046 -- Tested the 'unicode hint' in the technical 500 debug view.

https://code.djangoproject.com/ticket/5046#comment:8

The patch (which was done ten years ago) was around the variable unicode_hint .This variable is local to the method get_traceback_data(). There would be more symmetry if the test would call this method and not get_traceback_html().
But this is not important at all.
For me this is more important: I am curious. Where are you coming from? Why did you notice this? The issue is closed since ages.

I was reviewing the coverage report and I noticed these lines aren't tested. I'm not sure if this feature is still needed in a Python 3-only world as I'd think the problematic string would appear in the " Local vars" section of the traceback but there aren't steps to reproduce so perhaps you could give an insight if you remember anything about the original issue?

@timgraham I have no clue about a Python3-only world. I live in a Python2.7-only world and this won't change during the next month.
The intention was that if I have unicode error, then I want to see the surrounding characters.
Example: "Ich mag Müsli mit Haferflocken"  if the is an encoding issue with the german Umlaut "ü", then I would like to see "Ich mag..." or "mit Haferflocken" to find the root of the problem.
If I only see "UnicodeError" then I have no clue where the string came from.
Time has changed and I see only few UnicodeErrors these days.
If this code makes you trouble, then you can remove it.
Please reply again, if there is something you want to know.


fixed footer #166

fixed the alignment, size and spacing of the footer.
@Akshatchaube01

Hey, can you check again, there seems to be an issue in the footer's alignment

The footer still has some alignment issues. I am closing the PR for now.


Delete User/Group from permissions list on a project and other levels

Hi Team!
I can't find
a) a way of deleting a user or a group from the list of permissions;
b) change project owner and remove a Project Leader.
If I miss that, please point it out. Example of deleting a Project Leader with a specific user name is much appreciated!
If there is no permission (rule/grantee) delete method, please include it into development roadmap.
Thanks a lot!
Elena

Hi @ElenaSemMD, there is a sample that does a similar permission deletion. It's specific to deleting workbook default permissions, but the syntax should be similar to what you are looking for. (Non-default permission deletion can also take a list of rules to delete, see #783)
As for the project owner, it is currently not possible via APIs. We have #269 tracking this for now.

Hi @ElenaSemMD, there is a sample that does a similar permission deletion. It's specific to deleting workbook default permissions, but the syntax should be similar to what you are looking for. (Non-default permission deletion can also take a list of rules to delete, see #783)
As for the project owner, it is currently not possible via APIs. We have #269 tracking this for now.

Hi Chris!
I tried modifying this sample.UnsuccessfulI :( I  have a multitenant TS
environment and each site has its own default project with default
permissions. I need to set up unified permissions for a project that is
common to all sites. 'All Users' should have 'None' rights set up on all
levels. Not denied, just none.
Thank you for your help!
Elena
On Fri, Jan 22, 2021 at 5:05 PM Chris Shin<EMAIL_ADDRESS>wrote:

Hi @ElenaSemMD https://github.com/ElenaSemMD, there is a sample
https://github.com/tableau/server-client-python/blob/master/samples/add_default_permission.py
that does a similar permission deletion. It's specific to deleting workbook
default permissions, but the syntax should be similar to what you are
looking for. (Non-default permission deletion can also take a list of rules
to delete, see #783
https://github.com/tableau/server-client-python/issues/783)
As for the project owner, it is currently not possible via APIs. We have
#269 https://github.com/tableau/server-client-python/issues/269
tracking this for now.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tableau/server-client-python/issues/769#issuecomment-765710748,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASFFOFIILFEC6NYXTCMOTF3S3HZC5ANCNFSM4VTNAFVQ
.

Hi Chris!
I tried modifying this sample.UnsuccessfulI :( I  have a multitenant TS
environment and each site has its own default project with default
permissions. I need to set up unified permissions for a project that is
common to all sites. 'All Users' should have 'None' rights set up on all
levels. Not denied, just none.
Thank you for your help!
Elena
On Fri, Jan 22, 2021 at 5:05 PM Chris Shin<EMAIL_ADDRESS>wrote:

Hi @ElenaSemMD https://github.com/ElenaSemMD, there is a sample
https://github.com/tableau/server-client-python/blob/master/samples/add_default_permission.py
that does a similar permission deletion. It's specific to deleting workbook
default permissions, but the syntax should be similar to what you are
looking for. (Non-default permission deletion can also take a list of rules
to delete, see #783
https://github.com/tableau/server-client-python/issues/783)
As for the project owner, it is currently not possible via APIs. We have
#269 https://github.com/tableau/server-client-python/issues/269
tracking this for now.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tableau/server-client-python/issues/769#issuecomment-765710748,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASFFOFIILFEC6NYXTCMOTF3S3HZC5ANCNFSM4VTNAFVQ
.

Hi @ElenaSemMD
I know this is a long delayed response, but if you'd still like help with this, could you let us know where you're at and what happened when you modified the sample?


JWT policy broken in 1.3.0 (working in 1.2.6)

Bug description
JWT policy seems to be broken in v1.3.0, but working in v1.2.6 with the simple example provided with httpbin in the official documentation:
https://istio.io/docs/tasks/security/authn-policy/#end-user-authentication
Affected product area (please put an X in all that apply)
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[X] Policies and Telemetry
[X] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Expected behavior
When applied, we should get a 401, but an error 503 is returned in v1.3.0 no matter whether we use mTLS or not.
Tested in v1.2.6 with mTLS=true and mTLS=false works perfectly.
Steps to reproduce the bug
In v1.3.0 just install Istio with these two YAMLs (mTLS enabled):
https://gist.githubusercontent.com/emedina/4f74ac4c2a91ead55f6da331ca6655c1/raw/ed32379b4d59a9961f92003a2b8091ebad0f02c5/istio-init.yaml
https://gist.githubusercontent.com/emedina/dfd3354a5b5f2b76fedf410cb03ecd67/raw/a9d3a42a95aa63fcc0281f9c07bc007a2b21ef7a/istio.yaml
Then go through the official doc, but using this mTLS-enabled version of the JWT policy:
https://gist.githubusercontent.com/emedina/4dfc85e6a66f35378fe4b84810ea12f3/raw/a9438f0a0f140b2ecd93f4f6f074a882854d74fd/jwt-policy.yaml
Try to reach the httpbin endpoint, and always get a 503:
$ kubectl exec $(kubectl get pod -l app=sleep -n bar -o jsonpath={.items..metadata.name}) -c sleep -n bar -- curl ht tp://httpbin.foo:8000/ip -s -o /dev/null -w "%{http_code}\n"
503

Adding verbosity to curl shows the 503 with more detail:
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 80 (#0)
> GET /headers HTTP/1.1
> Host: <IP_ADDRESS>
> User-Agent: curl/7.55.1
> Accept: */*
>
< HTTP/1.1 503 Service Unavailable
< content-length: 95
< content-type: text/plain
< x-envoy-peer-metadata: CjcKDElOU1RBTkNFX0lQUxInGiUxMC4yNDQuMS43NSxmZTgwOjpiMDkyOjU2ZmY6ZmViYTo2YjBlCi4KBE5BTUUSJhokaXN0aW8taW5ncmVzc2dhdGV3YXktZDk3Njk1NjZkLWpydHYyChsKCU5BTUVTUEFDRRIOGgxpc3Rpby1zeXN0ZW0KXAoFT1dORVISUxpRa3ViZXJuZXRlczovL2FwaS9hcHBzL3YxL25hbWVzcGFjZXMvaXN0aW8tc3lzdGVtL2RlcGxveW1lbnRzL2lzdGlvLWluZ3Jlc3NnYXRld2F5CjkKD1NFUlZJQ0VfQUNDT1VOVBImGiRpc3Rpby1pbmdyZXNzZ2F0ZXdheS1zZXJ2aWNlLWFjY291bnQKJwoNV09SS0xPQURfTkFNRRIWGhRpc3Rpby1pbmdyZXNzZ2F0ZXdheQ==
< x-envoy-peer-metadata-id: router~<IP_ADDRESS>~istio-ingressgateway-d9769566d-jrtv2.istio-system~istio-system.svc.cluster.local
< date: Sat, 21 Sep 2019 16:44:39 GMT
< server: istio-envoy
<
upstream connect error or disconnect/reset before headers. reset reason: connection termination* Connection #0 to host <IP_ADDRESS> left intact

If we repeat the same steps, but using v1.2.6, then everything works as expected:
https://gist.githubusercontent.com/emedina/21c11d8c71e13807e38f55903f59a29a/raw/90c77e848382b6a25860ab38aa221fbcb334689b/istio-init-1.2.6.yaml
https://gist.githubusercontent.com/emedina/d95026a3f18aecffe132828fc54e7207/raw/9449aa36e0bdc94d74fe0ab4c30a64dac98546a4/istio-1.2.6.yaml
https://gist.githubusercontent.com/emedina/4dfc85e6a66f35378fe4b84810ea12f3/raw/a9438f0a0f140b2ecd93f4f6f074a882854d74fd/jwt-policy.yaml
Even disabling mTLS in v1.2.6 works perfectly (also removing it from the JWT policy, obviously).
Version (include the output of istioctl version --remote and kubectl version)
Istio = v1.3.0
Kubernetes = v1.15.3
How was Istio installed?
Described above.
Environment where bug was observed (cloud vendor, OS, etc)
Using K8s distribution in DigitalOcean.

Also conversation in Slack channel for reference on some logs:
https://istio.slack.com/archives/C37A4KAAD/p1569047329124500

Looks like this is related to:
https://github.com/envoyproxy/envoy-wasm/issues/180

This is also impacting the use of OPA-Istio plugin.

Closing the issue as it will be solved in the next v1.3.x release.
In the meantime, a daily build can be used by providing this configuration in the Helm chart:
global:
  hub: gcr.io/istio-release

  # Default tag for Istio images.
  tag: release-1.3-20190924-10-15


Am I reading your code incorrectly? Conditional always false?

I'm referring to
https://github.com/hexojs/hexo-generator-sitemap/blob/master/lib/template.js#L8
seems like the variable sitemapTmpl will always be undefined. No chance for side-effects changing the variable during normal runtime because sitemapTmpl is in a lexical closure. I suggest a removal of this line, unless I'm reading this wrong...

sitemapTmp1 is a module global.
It acts as a memoized variable.
It's declared outside of the function and and set on line 21:
https://github.com/hexojs/hexo-generator-sitemap/blob/a45bedd6b7c9d2f8b82bbc9702bd1ab358114ddb/lib/template.js#L21

Whoops nevermind, you're caching it in case the generator is called again during something like hexo server

Whoops nevermind, you're caching it in case the generator is called again during something like hexo server

Whoops nevermind, you're caching it in case the generator is called again during something like hexo server. Please close.

Whoops nevermind, you're caching it in case the generator is called again during something like hexo server.
I've been reading a fair number of plugins lately and sometimes I find them really specific to how hexo is run...which I would be more comfortable with if there were more documentation for the pipeline of transformations, from source posts to final rendering.

Whoops nevermind, you're caching it in case the generator is called again during something like hexo server.
I've been reading a fair number of plugins lately and sometimes I find them really specific to how hexo is run...which I would be more comfortable with if there were more documentation for the pipeline of transformations, from source posts to final rendering.
Please close.

Whoops nevermind, you're caching it in case the generator is called again during something like hexo server.
I've been reading a fair number of plugins lately and sometimes I find them really specific to how hexo is run...which I would be more comfortable with if there were more documentation for the pipeline of transformations, from source posts to final rendering.
Please close.

Please use the edit button instead of submitting the same message with a few words changed.

I apologize, I'm having problems with github, the client side js told me I was unable to comment, but apparently commented.


(Request) Support for different icons

Thanks for your work on Garbage Collection custom component, it's really useful.
I'd request a new feature, namely support for being able to specify different icons for the different sensors.
Thanks.

Ok. Will do. There are 3 icons: Normal, collection tomorrow and collection today. I will make them configurable.

Thanks. I really appreciate it.

Thanks for the Lovelace card BTW :)

You're welcome. It was fun creating it.

Done. You might also want to check the verbose_state parameter in the readme ;)

Wow, to both of you. I was working up something similar for myself (although directly in my ui YAML)...I really need to get into the mindset that maybe my ideas/problems/etc aren't unique to me... thanks :)

Thanks, it works great.

how do i change the icons instead of it saying 0, 1 or 2?

Configuration parameters:
verbose_state: True


Keyboard Mod Keys not working

I'm using hyprland on a laptop with a german keyboard using layout :
input {
    kb_layout = de
   kb_variant = bone
}

This layout includes up to five different layers, being trigger by Mod keys.
On the internal keyboard these work as intended, on an external keyboard however two of the modkey do not work correctly
The corresponding keycodes from wev are:
for layer 4:
[14:     wl_keyboard] key: serial: 65393; time: 25738659; key: 94; state: 1 (pressed)
                      sym: ISO_Level5_Shift (65041), utf8: ''
[14:     wl_keyboard] modifiers: serial: 0; group: 0
                      depressed: 00000020: Mod3
                      latched: 00000000
                      locked: 00000000
[14:     wl_keyboard] key: serial: 65395; time: 25738749; key: 94; state: 0 (released)
                      sym: ISO_Level5_Lock (65043), utf8: ''
[14:     wl_keyboard] modifiers: serial: 0; group: 0
                      depressed: 00000000
                      latched: 00000000
                      locked: 00000000

and for layer 3:
[14:     wl_keyboard] key: serial: 65677; time: 25805948; key: 51; state: 1 (pressed)
                      sym: ISO_Level3_Shift (65027), utf8: ''
[14:     wl_keyboard] modifiers: serial: 0; group: 0
                      depressed: 00000080: Mod5
                      latched: 00000000
                      locked: 00000000
[14:     wl_keyboard] key: serial: 65679; time: 25806068; key: 51; state: 0 (released)
                      sym: ISO_Level3_Shift (65027), utf8: ''
[14:     wl_keyboard] modifiers: serial: 0; group: 0
                      depressed: 00000000
                      latched: 00000000
                      locked: 00000000

wev returns the same keycodes on the internal keyboard, the only difference is when pressing the mod keys and then pressing another key, on the internal keyboard the correct layer key gets returned, on the external keyboard however the incorrect base layer key gets returned. The corresponding modkeys on the other side, think left_shift/right_shift, functions on both keyboards.
The only notable difference between the two keyboard is the internal laptop one has the physical layout of an American keyboard with German key bindings, meaning it is missing a right shift key and a menu key.

I think that'd be an issue with xkb and not hyprland?

The same settings worked without issue when using X11. Is there a difference when using xkb under X11 as opposed to wayland?

Hm. Odd.

After more trying it seems Mod keys in general are pretty broken. When switching keyboard layouts from my prefered de,bone layout to the standard de,de some Modkeys get mangled up. Such as CapsLock, suddenly having the same effect as right alt. The greater/less and hashtag key, the supposed modkeys under my layout, do not work at all on the external keyboard and  internally it work but the key repeat is not applied making it seem there is still something wrong.

mods are governed by xkb

But given that it works without problem both in sway and under X11 I suspect the error lays in Hyprland. I have skimmed the source code of both hyprland and sway and there are differences in how they handle mod keys. Sadly I was not able to find the concrete bug that causes this.

I've run into similar issue probably - configured CZ layout and after few minutes Hyprland starts ignoring all my shortcuts (using SUPER)... In terminal I can see something like ^[[100;9m when pressing my shortcuts.
And noted, it does indeed work in Sway and under X11 in i3. :slightly_frowning_face:
Snippet of my config:
input {
    kb_layout = cz
    kb_variant =
    kb_model =
    kb_options =
    kb_rules =

    follow_mouse = 1
    numlock_by_default = yes

    touchpad {
        natural_scroll = yes
        tap-and-drag = yes
    }

    sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
}

$mainMod = SUPER
bind = $mainMod, D, exec, kitty
bind = ALT, F4, killactive,
bind = $mainMod, M, exit,

Have you managed to solve this issue somehow? I wanted to try Hyprland but tilling VM without working keybindings is ... hard to use to say the least :sweat_smile:

@PatrickDaG
is this resolved

I've just tested it and the problem still remains. Two of the modkeys are not working and do nothing.

I currently have a very similar issue with NEO QWERTZ.
When I set kb_variant to neo_qwertz in my config and keep kb_layout as de, it seems to have MOD3 (that is "<,>,|" on QWERTZ) inverted. This is putting me on another layer by default. I am in my "normal" home layer when I press that button. I checked this with wev.
I do not have this issue in, for example, my login shell. The other modkeys seem to be working, but due to the aforementioned issue I cannot say that with 100% certainty.

Still a thing?

It's still a thing on 0.44.1-1. Interestingly, at least for me, it only affects the right half of the keyboard (which is then locked to MOD4 by default) and only once when starting the session or reloading the configuration.
Like the others, I have no problems in my login shell or in any other session (whether X11 or Wayland).
I also just noticed that @PatrickDaG was using an HP device - just like me. Maybe it could be an issue where the driver is not applied correctly or the wrong one is used? Unless anyone without an HP maybe can confirm the same thing happening?

I am having the same problem on a Acer Swift 1 SF114-32, Hyprland v0.44.1 . The following is an image of the keyboard (example from amazon for a better picture, mine has an italian layout, the Mod keys are the same though) with all the mod keys:

My keyboard in hyprctl devices:
	Keyboard at 55aaebe2dde0:
		acer-wmi-hotkeys
			rules: r "", m "", l "it", v "", o ""
			active keymap: Italian
			main: no

Mod keys:

F1, F2: working
F3, F4: The Brightness control does not work
F5: works, puts the focussed window in not maximized size
F6: works and disables the screen retroillumination until next keyboard interaction
F7: works and disables mousepad
F8: works disables keyboard lights
F9, F10, F11: volume control
F12: do nothing

P.S.: Will test on gnome right after this, just sending the message to save all I wrote until now


Can I take over this module?

Firstly: thanks for the great module! I notice it hasn't had updates in a while. I've forked this module and added integration tests, used superagent to avoid manual stream handing and query encoding, updated the API ver 0.3.2, used node-style single function export, and fixed all the jshint errors.
If it's OK with out, I'd like to take over the module
Would you be able to do an:
`npm owner add<EMAIL_ADDRESS>
?

Ha I like your straightforwardness!
Please do, I have too little time to maintain it. Having no personal use for it anymore is stalling the whole thing.
I just made you owner, but npm owner add mikemaccana did the trick without failing ;)
Do you want the repo too?

Btw, thanks for the Credits line!

Thanks Franklin! Happy to take it off your hands since I'm using it pretty
frequently.
I've published a 2.01 on npm now with the changes.
On 17 Apr 2015 21:00, "Franklin van de Meent"<EMAIL_ADDRESS>wrote:

Btw, thanks for the Credits line!
—
Reply to this email directly or view it on GitHub
https://github.com/fvdm/nodejs-opencorporates/issues/2#issuecomment-94063088
.

link?

Found it: https://www.npmjs.com/package/opencorporates
Leaving it their for future reference.

Oh yes, thanks
I'll update the readme here to point to the new repo

Sorry about the wait - thanks Franklin!
ᐧ
On Fri, Dec 4, 2015 at 12:03 PM, Franklin van de Meent <
<EMAIL_ADDRESS>wrote:

Oh yes, thanks
I'll update the readme here to point to the new repo
—
Reply to this email directly or view it on GitHub
https://github.com/fvdm/nodejs-opencorporates/issues/2#issuecomment-161951336
.


NavigationRail exceeds min width when using large text scale factor and extended behavior

For more details https://github.com/flutter/flutter/pull/121248#discussion_r1129313928

code sample
import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(
          colorSchemeSeed: const Color(0xff6750a4), useMaterial3: true),
      home: const NavRailExample(),
    );
  }
}

class NavRailExample extends StatefulWidget {
  const NavRailExample({super.key});

  @override
  State<NavRailExample> createState() => _NavRailExampleState();
}

class _NavRailExampleState extends State<NavRailExample> {
  int _selectedIndex = 0;
  bool _extended = false;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: SafeArea(
        child: Row(
          children: <Widget>[
            NavigationRail(
              extended: _extended,
              selectedIndex: _selectedIndex,
              onDestinationSelected: (int index) {
                setState(() {
                  _selectedIndex = index;
                });
              },
              leading: FloatingActionButton(
                elevation: 0,
                onPressed: () {
                  // Add your onPressed code here!
                },
                child: const Icon(Icons.add),
              ),
              destinations: const <NavigationRailDestination>[
                NavigationRailDestination(
                  icon: Icon(Icons.favorite_border),
                  selectedIcon: Icon(Icons.favorite),
                  label: Text('First'),
                ),
                NavigationRailDestination(
                  icon: Icon(Icons.bookmark_border),
                  selectedIcon: Icon(Icons.book),
                  label: Text('Second'),
                ),
                NavigationRailDestination(
                  icon: Icon(Icons.star_border),
                  selectedIcon: Icon(Icons.star),
                  label: Text('Third'),
                ),
              ],
            ),
            Expanded(
              child: Card(
                shadowColor: Colors.transparent,
                child: SizedBox.expand(
                  child: Center(
                    child: Column(
                      mainAxisAlignment: MainAxisAlignment.center,
                      children: [
                        FilledButton(
                      onPressed: () {
                        setState(() {
                          _extended = !_extended;
                        });
                      },
                      child: Text('Button'),
                    ),
                      ],
                    ),
                  )
                ),
              ),
            )
          ],
        ),
      ),
    );
  }
}

blocks a new feature https://github.com/flutter/flutter/issues/89167

@guidezpl - is this a case where where the text-scale factor should be limited?

@guidezpl - is this a case where where the text-scale factor should be limited?

I did some native testing, the text scale is more limited than what is in Flutter right now. However there is no mention of this in https://m3.material.io/components/navigation-rail/accessibility

Preview

I'll take this after I finish some current work.

It should be limited, indeed

It should be limited, indeed

Thanks,  i can fix this for M2 and M3 by matching the max text size visually.


On http://prod-preview.openshift.io, when viewing the contents of an iteration - the user must toggle board/backlog views to close the view

To recreate this issue:

From the backlog view, open an iteration, view the workitems in the iteration
The user does not have a means to close the iteration view
In order to view the full backlog again, the user must first view open the board view and then open the backlog view

@ldimaggi Backlog at the top of the side panel is clickable. So you can view full backlog by clicking on the backlog. No need to toggle between the view to see the full backlog.

Closing as out of date - no longer an issue.


How to install APOC or other neo4j plugins in local ?

Hello,
I'm using the dependency io.quarkiverse.neo4j in my quarkus project. (with Docker)
Everything is working very well but I would like to install the APOC extension to Neo4J for the docker image in local.
I have seen we can add environment entries that can be added to the container before its start.
=> quarkus.neo4j.devservices.additional-env
So I'm using the following configuration in my [application.properties]:
%prod.quarkus.neo4j.devservices.enabled=${NEO4J_DEVSERVICES_ENABLED:true}
%prod.quarkus.neo4j.devservices.additional-env.neo4jlabs.plugins=${NEO4J_DEVSERVICES_ADDITIONAL_ENV_NEO4JLABS:apoc}
As explained in the neo4j doc https://neo4j.com/labs/apoc/4.0/installation/, that should normally fetch and install the APOC plugin in neo4j but it's not the case.
Do you have an idea how I can solve this issue or more globally how can I install plugins with quarkiverse ?
Thanks in advance for your help

/cc @michael-simons

Hi @Raf23 thanks for reaching out.
That would be
quarkus.neo4j.devservices.additional-env.NEO4JLABS_PLUGINS = ["apoc"]

Two things: It must be NEO4JLABS_PLUGINS, everything after quarkus.neo4j.devservices.additional-env is passed on as is, meaning dots, casing etc. are not translated.
Also: The value must be an array and the items in it must be enclosed by double quotes " (at least that is the behaviour I observed in my tests).
I added a test to the build for demonstration and prove.

Hi @michael-simons,
Thank you so much for your quick answer.
It works very well with the line you have specified or with the following one to be sure it's executed only for dev:
%dev.quarkus.neo4j.devservices.additional-env.NEO4JLABS_PLUGINS=["apoc"]

My pleasure, thanks for asking and raising this here.
Feel free to let us know here on the issues if there's anything missing in the Quarkus extension.


Domain name of update site

What is the domain name of update server <IP_ADDRESS>?
Im connecting to internet cross proxy server and my proxy provider setup proxy white list as mentioned in https://code.visualstudio.com/docs/setup/network#_proxy-server-support, but there is no page like <IP_ADDRESS>. For my provider is like "total-random-potentialy-dangerous-unknown-ip" page..
Or maybe could I download these updates and install offline?

VSCode Version: 1.19-insiders
OS Version: Wondows 7 6.1.7601

Downloading package 'C/C++ language components (Windows)'  Failed. Retrying... Failed. Retrying... Failed. Retrying...Waiting 8 seconds... Failed. Retrying...Waiting 16 seconds... Failed. Retrying...Waiting 32 seconds...
Failed at stage: downloadPackages
Error: connect ETIMEDOUT <IP_ADDRESS>:443
at Object.exports._errnoException (util.js:1050:11)
at exports._exceptionWithHostPort (util.js:1073:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1097:14)

Regards,
MG

It's vscode-update.azurewebsites.net.


Added QuickSort.cs

Added QuickSort Algorithm in the Sorting Folder

Make sure to visit my profile and star my repos :
https://github.com/sumitjhaleriya
On Sat, Aug 12, 2023, 12:43 Timy @.***> wrote:

Merged #4
https://github.com/TimyVillarmia/CSharp-Data-Structures-Algorithms/pull/4
into main.
—
Reply to this email directly, view it on GitHub
https://github.com/TimyVillarmia/CSharp-Data-Structures-Algorithms/pull/4#event-10075931444,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AS7BQRIUG5DYSLMMHLYAUDDXU4UJ3ANCNFSM6AAAAAA3NYAEDQ
.
You are receiving this because you authored the thread.Message ID:
<TimyVillarmia/CSharp-Data-Structures-Algorithms/pull/4/issue_event/10075931444
@github.com>


Cant vote via api.

Expected behavior
Make vote with this code.
var steem = require('steem');

var wif = steem.auth.toWif(username, password, 'posting');
steem.broadcast.vote(wif, voter, author, permlink, weight, function(err, result) {
    console.log(err, result);
});

Makes upvote.
Actual behavior
Produced very long error
{ Error: 3030000 tx_missing_posting_auth: missing required posting authority....

How to reproduce
Just run this code with own username password

You don't have to generate wif . Use your password/posting-wif.
It will do.

They are same. Both variants don't work.

You might have used the wrong type of key or used the public one. You should use the private one.

Used key is 100% right. Checked and rechecked!

https://github.com/steemit/steem-js/blob/master/examples/broadcast.html
example is given and it worked for me.


Bytecode tests should use constants, rather than magic numbers

https://github.com/hildjj/peggy/blob/4d0767ff7895e61d54fa04f6fdcd94fb5f94c8b9/pkg/test/lib/unit/compiler/passes/generate-bytecode.spec.js#L5
I assume that these are probably they

Well, you're much deeper about this tooling than I am
If you think so, maybe you're right
I'll leave it open for a day in case anyone else has an opinion, and if not, I'll close it and cede to yours


Fastnlight: Watch tutevee.com

Fastnlight requests the watch of the watch_keyword tutevee\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

tutevee\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


Add support for macOS .dmg files

Since microsoft/appcenter#886, support for .dmg files was implemented in App Center. We now should support this in the appcenter-cli.
We should also verify support for .pkg and all WinForm, WPF files as well.

Well this has been implemented in #683

@jpeg-ms Please see #686 .


Fix Cupertino route animation.

Fixes: #48225
Fixes: #73026
Fixes: #62848
After some research, I found that the issue might simply be that our animation curve is too steep, causing the animation to continue while the page visually appears very close to popping. This PR modifies the animation curve and duration after the drag gesture is released (iOS native animation duration is not related to swipe distance). I recorded a video comparing the curves. From top to bottom, the video shows the iOS native curve, the curve modified by this PR, and the original curve. The animation duration is slowed down by 10 times.
1/2
https://github.com/user-attachments/assets/77d0a782-b56d-431b-b925-8ff4e825c14a
1/4
https://github.com/user-attachments/assets/a4c50219-e86d-4cce-8a92-b266eb6260a8
forward  1/2
https://github.com/user-attachments/assets/067fffc2-203b-4686-ba4c-3b61a2c98cf8
forward  1/4
https://github.com/user-attachments/assets/c1ae938f-76ab-42f8-a832-d2d0e6c0758d
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making, or this PR is test-exempt.
[x] I followed the breaking change policy and added Data Driven Fixes where supported.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

I've been waiting for this for a long time. I need it so much.

I see this PR has been merged into the mainline. When will it be released? I am looking forward to it.

It's in the beta branches as of 3.26.0-0.1.pre and up, and it will be on the next stable release. Stable releases aren't announced ahead of time, unfortunately.
https://github.com/flutter/flutter/blob/master/docs/releases/Where's-my-commit.md

@MitchellGoodwin
Thank you so much for your reply
May I ask when is the next stable version release？


Research jemalloc for appliances

tl;dr Seems to save around 10% PSS
[root@localhost vmdb]# cat /etc/centos-release
CentOS Linux release 7.2.1511 (Core)

[root@localhost vmdb]# yum install jemalloc
[root@localhost vmdb]# yum install jemalloc-devel

[root@localhost vmdb]# rpm -qa |grep jemalloc
jemalloc-3.6.0-1.el7.x86_64
jemalloc-devel-3.6.0-1.el7.x86_64

[root@localhost vmdb]# ruby-install ruby-2.3.2 -- --with-jemalloc
...
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking ucontext.h usability... yes
checking ucontext.h presence... yes
checking for ucontext.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking gmp.h usability... no
checking gmp.h presence... no
checking for gmp.h... no
checking for malloc_conf in -ljemalloc... yes
checking jemalloc/jemalloc.h usability... yes
checking jemalloc/jemalloc.h presence... yes
checking for jemalloc/jemalloc.h... yes
...

In /etc/default/evm, change:
export PATH=$PATH:/opt/rubies/ruby-2.3.1/bin
To:
export PATH=$PATH:/opt/rubies/ruby-2.3.2/bin
Very rough memory comparison for some of the workers.
Before, using malloc
[root@localhost vmdb]# smem -krs pss -P "MIQ|puma"
  PID User     Command                         Swap      USS      PSS      RSS
 2927 root     puma 3.3.0 (tcp://<IP_ADDRESS>        0   334.0M   339.0M   372.4M
 2942 root     puma 3.3.0 (tcp://<IP_ADDRESS>        0   219.4M   230.6M   298.4M
 2903 root     MIQ: MiqPriorityWorker id:         0   195.4M   208.0M   280.9M
 2710 root     MIQ Server                         0   184.7M   201.3M   286.3M
 2894 root     MIQ: MiqGenericWorker id: 1        0   179.8M   194.3M   271.2M
 2912 root     MIQ: MiqScheduleWorker id:         0   175.1M   190.3M   268.5M
 3289 root     MIQ: MiqPriorityWorker id:         0   148.5M   182.2M   281.6M
 3280 root     MIQ: MiqGenericWorker id: 2        0   148.7M   182.1M   281.2M

After, using jemalloc
[root@localhost vmdb]# smem -krs pss -P "MIQ|puma"
  PID User     Command                         Swap      USS      PSS      RSS
 5862 root     puma 3.3.0 (tcp://<IP_ADDRESS>        0   260.0M   293.1M   399.7M
 5808 root     MIQ: MiqGenericWorker id: 2        0   210.8M   221.8M   268.8M
 5877 root     puma 3.3.0 (tcp://<IP_ADDRESS>        0   164.0M   200.9M   318.3M
 5825 root     MIQ: MiqPriorityWorker id:         0   183.9M   198.9M   281.8M
 5834 root     MIQ: MiqPriorityWorker id:         0   180.5M   195.7M   280.2M
 5658 root     MIQ Server                         0   154.0M   182.8M   296.3M
 5817 root     MIQ: MiqGenericWorker id: 2        0   155.4M   179.6M   265.7M
 5844 root     MIQ: MiqScheduleWorker id:         0   145.9M   172.3M   275.8M

https://bugs.ruby-lang.org/issues/9113
2.2.0 was first release with this added option to configure with jemalloc: https://www.ruby-lang.org/en/news/2014/12/25/ruby-2-2-0-released/

I wonder if some of that difference could be LD_PRELOAD vs building ruby with jemalloc, but, apart from virtual, the numbers do seem consistently higher, yeah.
(Or, there's also libjemalloc1 3.6.0-11 in debian, I haven't tried that one.)

Yeah, LD_PRELOAD could be at play here.  I haven't reviewed the versions of jemalloc to know if one version is better than others.

If you're using rbenv, you can do RUBY_CONFIGURE_OPTS="--with-jemalloc" rbenv install 2.4.3 (or whichever version you use) to see if there's any benefit vs using LD_PRELOAD.
You can double check it with ruby -r rbconfig -e "puts RbConfig::CONFIG['LIBS']" and you should see -ljemalloc.

My own experiments showed roughly the same thing as @himdel  whether Ruby was built with jemalloc or I used LD_PRELOAD.

@djberg96 beat me to it :)
Tried 2.4.4 with jemalloc, and..
  PID User     Command                         Swap      USS      PSS      RSS
18680 himdel   puma 3.7.1 (tcp://localhost        0   170.4M   171.1M   177.2M

18680 himdel   puma 3.7.1 (tcp://localhost        0   370.9M   371.5M   377.7M

18680 himdel   puma 3.7.1 (tcp://localhost        0   490.0M   490.8M   498.6M

So.. I have no idea now :D

@miq-bot remove_label stale

@miq-bot add_label pinned

updating the issue with some attempts with rhel8/centos8:
jemalloc 5.2.1 is available with the OS update so I'm going to try it again.
Had to hack a powertools repo installation only for super insecure dev testing on RHEL8:
[root@localhost ~]# cat /etc/yum.repos.d/CentOS-PowerTools.repo
[PowerTools]
name=CentOS $releasever - PowerTools
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=PowerTools&infra=$infra
#baseurl=http://mirror.centos.org/$contentdir/$releasever/PowerTools/$basearch/os/
gpgcheck=0
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

This should work on centos8:
dnf config-manager --enable PowerTools
yum config-manager --set-enabled PowerTools

You can then install libyaml-devel
 yum install libyaml-devel

You can then build/install ruby using ruby-install:
ruby-install --system ruby 2.5.7 -- --disable-install-doc --enable-shared --with-jemalloc

[root@localhost ~]# ruby -r rbconfig -e "puts RbConfig::CONFIG['LIBS']"
-lpthread -ljemalloc -ldl -lcrypt -lm

I tried using jemalloc again on mac but will need to really test with it over longer periods on appliances and containers to really see the performance improvements:
ruby-install 3.1 -- --with-openssl-dir=$(brew --prefix openssl@3) --with-jemalloc CPPFLAGS="-I$HOMEBREW_PREFIX/opt/jemalloc/include" LDFLAGS="-L$HOMEBREW_PREFIX/opt/jemalloc/lib"

At this point I'd be looking at 3.2 or 3.3 with yjit + jemalloc.

Hey @djberg96 !! :wave:


fix: replace netlify:edge identifier with full URL

Summary
This replaces netlify:edge with https://edge.netlify.com.
Relevant links (GitHub issues, Notion docs, etc.) or a picture of cute animal
Part of https://github.com/netlify/pillar-runtime/issues/322.

Standard checks:

[ ] Check the Deploy Preview's Demo site for your PR's functionality
[ ] Add docs when necessary

🧪 Once merged, make sure to update the version if needed and that it was published correctly.

Just looking into why a bunch of checks are failing.

Alright, I got all the checks to pass finally! 🚀

Thanks for looking at that @nickytonline 🙏


Any support for development_ vs production_ prefix?

Great looking project. We're excited to try it out! However, I immediately ran into an issue. In development we use a database prefix development_, and in production we have production_. Is there any support in the tool for this?

Thanks for trying out Skeema!
You can use different schema (database) names in prod vs dev -- Skeema supports any arbitrary layout / topology. You just need to edit the .skeema files manually one time to achieve the desired layout. For example,
# config at the top of the file sets defaults for all environments, but can be
# overridden (on a per-key/value basis) by each environment if desired
ignore-table=_new$

# config for production environment, i.e. used for `skeema push production` (as
# well as just `skeema push`, since "production" is used if no environment is
# specified on CLI)
[production]
schema=production_mydb

# config for development environment, i.e. `skeema push development`
[development]
schema=development_mydb

Your repo layout will depend a bit on whether each environment has 1 schema vs several, and whether environments are colocated on a single mysql server vs different servers. This will determine whether you want to define host in the same .skeema file as schema, vs having multiple layers of subdirs. If you describe your db topology more, I'm happy to give guidance.
If you have many schemas per environment, and they all follow a naming convention, you can even do fancy programmatic things with shell-outs, such as
schema=`echo {ENVIRONMENT}_mydb`

for example, that will yield staging_mydb when running skeema diff staging. That's overkill for most users though :) Anyway, more details in the option doc.

Closing this out, but please feel free to re-open if you have any follow-up questions.


Tcp attacks

Avoided para and made in point @SANTHOSH17-DOT

PLease add difficulty tag sir or else i will not getting point in my iwoc competion @SANTHOSH17-DOT PLease sir

can you merge it sir or if any change needed then please comment sir @SANTHOSH17-DOT

Numbers to bulletins

ok @SANTHOSH17-DOT


translate-meta-data-protocols-1-in-Chinese

meta-data-protocols-1-zh

please close this PR. will be redone from another branch


phpCAS and Codeigniter error

Hello,
I'm using phpCAS 1.3.4 and Codeigniter 3.0.4 and I get the following error when initializing the CAS:
A PHP Error was encountered

Severity: Error

Message: session_start() [function.session-start]: Failed to initialize storage module: user (path: E:\inetpub\tmp)

Filename: CAS/Client.php

Line Number: 3620

Backtrace:

E:\inetpub\tmp directory is writtable and the Config.php file of the codeigniter framework looks like:
$config['sess_driver'] = 'files';
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 7200;
$config['sess_save_path'] = 'E:\inetpub\tmp';
$config['sess_match_ip'] = FALSE;
$config['sess_time_to_update'] = 300;
$config['sess_regenerate_destroy'] = FALSE;

Any ideas? Thanks in advance.

Not a phpcas bug

I have 遇到了 this question too! a li ga do go zai i ma si! 楼主！

Not a phpcas bug
I don't have this error.But if you autoload the session library,It would be loop redirect,Because phpCAS default manage session itself.So you can do like this

if(isset($_SESSION))
        phpCAS::client(CAS_VERSION_2_0, self::CASServer, self::CASPort, 'cas', false);  //use existing session
    else
        phpCAS::client(CAS_VERSION_2_0, self::CASServer, self::CASPort, 'cas'); //let phpCAS manage the session

I have 遇到了 this question too! a li ga do go zai i ma si! 楼主！


[codelab]

Can't able to install MDC Web Components using npm.

Throwing this error while installing MDC in npm.
npm ERR! Response timeout while trying to fetch https://registry.npmjs.org/@material%2Fdom (over 30000ms)


RYANDATA_filt.csv 'Years' are 'Journal'

Years are missing. Just repeats of journal names.

No idea how that happened, sooooo its fixed?


OWNERS: add org members kissmikijr, jorgelainfiesta

Closes https://github.com/backstage/community/issues/87
Closes https://github.com/backstage/community/issues/88
Settled on just "Roadie" for the org name, let me know if you prefer something different.

Thank you for standardizing the name! If we could have Roadie.io it'd be great


Code analysis with joern-tools

I am trying to update a system that uses an old version (0.3.1) of joern in combination with joern-tools.
Unfortunately, the joern-tools only work with the old version of joern, which still used a Neo4j graph database.
Does anyone have a piece of advice on how I can use the joern-tools along with the new version without importing the code property graphs into a Neo4j graph database? I am grateful for any hint. :)

Hi @marius-benthin,
your tasks sounds a bit to complicated to solve in a GH issue. I would recommend you to use the new joern only.
We could offer you to join our discord server, you should be able to write me there.


sameboy: 0.16.2 -> 0.16.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/LIJI32/SameBoy/releases.
meta.description for sameboy is: Game Boy, Game Boy Color, and Super Game Boy emulator
meta.homepage for sameboy is: https://sameboy.github.io
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.16.3 with grep in /nix/store/z2y55igv5qq9px3pky7k37pcxy2px56l-sameboy-0.16.3
found 0.16.3 in filename of file in /nix/store/z2y55igv5qq9px3pky7k37pcxy2px56l-sameboy-0.16.3

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
sameboy

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/z2y55igv5qq9px3pky7k37pcxy2px56l-sameboy-0.16.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A sameboy https://github.com/r-ryantm/nixpkgs/archive/ad81e95a4679ff597c6cd99ca3a9da79e585292c.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/ad81e95a4679ff597c6cd99ca3a9da79e585292c#sameboy

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/z2y55igv5qq9px3pky7k37pcxy2px56l-sameboy-0.16.3
ls -la /nix/store/z2y55igv5qq9px3pky7k37pcxy2px56l-sameboy-0.16.3/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

sameboy

Maintainer pings
cc @meithecatte for testing.

Result of nixpkgs-review pr 303689 run on x86_64-linux 1

1 package built:

sameboy


app.header() not defined

I'm trying to override the header, but the header function is not defined in the application object.
var customHeaderTemplate =
'
' +
    '' +
        My Custom Title
    '' +
'
' +
'
' +
    '' +
        ' View Source' +
    '' +
'
';
var app = nga.application('My Application');
app.header(customHeaderTemplate);

doesn't work

@ThieryMichel I think the built files weren't updated since the PR got merged. Could you push an update to master?

Built files have just been updated, app.header should be available.

I'm sorry, the problem persists. There's no header method in the
application object.
On Mon, Apr 27, 2015 at 9:57 AM, Jérôme Macias<EMAIL_ADDRESS>wrote:

Built files have just been updated, app.header should be available.
—
Reply to this email directly or view it on GitHub
https://github.com/marmelab/ng-admin/issues/406#issuecomment-96573448.

--
https://mail.google.com/mail/u/0/#inboxAlessio Scalici | Edudoc LTD
<EMAIL_ADDRESS>

Do you use the ng-admin master ?

I have installed it through bower, I guess I'm using that...
On Mon, Apr 27, 2015 at 2:01 PM, Jérôme Macias<EMAIL_ADDRESS>wrote:

Do you use the ng-admin master ?
—
Reply to this email directly or view it on GitHub
https://github.com/marmelab/ng-admin/issues/406#issuecomment-96642216.

--
https://mail.google.com/mail/u/0/#inboxAlessio Scalici | Edudoc LTD
<EMAIL_ADDRESS>

Bower installs the last stable version by default, ie the v0.6.0 version for now. You can check it looking into your bower.json file:
{
  "dependencies": {
    "ng-admin": "~0.6.0"
  }
}

If you want to use master, you should replace previous configuration by:
{
  "dependencies": {
    "ng-admin": "master"
  }
}

Master version may have some bugs into it. Use it with caution! :)
@fzaninotto, it is a long time since the last version update. Perhaps could we tag a new 0.7.0 release including last features (CSV export, batch selection, and so on)?

No feedback. Closing the issue. Feel free to re-open it if you still encounter the issue.


MUDError: Can not fetch lastBaseFeePerGas from RPC

pnpm run deploy:local
 Deploying MUD contracts with profile localhostTestnet to RPC http://<IP_ADDRESS>:8565   fork  from  BSC

running "forge build"
[⠆] Compiling...
No files changed, compilation skipped
Initial nonce 6208
MUDError: Can not fetch lastBaseFeePerGas from RPC
 ELIFECYCLE  Command failed with exit code 1.

can you post your forge version?
% forge --version
forge 0.2.0 (4b0d5d8 2023-07-07T00:05:43.223482000Z)

Just coming back to this - did you figure this out? One other thing I am now noticing is the RPC URL http://<IP_ADDRESS>:8565 is different than what I'd expect of a local anvil node. How are you running anvil?

anvil  node  no problem


[BUG] RKE2 built LoadBalancers w/ (unregistered) SLES 15 SP4 & SP6 Stuck in Pending in Rancher w/ Harvester

Describe the bug
With:

Harvester v1.3.1 & Rancher v2.8.5
Harvester v1.3.1 & Rancher v2.8.6
Harvester v1.3.2-rc1 & Rancher v2.8.6
RKE2 -  v1.28.10 +rke2r1
On SLES 15 Service Pack 4 or SLES Service Pack 6 Guest OS

RKE2 Load Balancers built never become fully active through Rancher.
In v2.8.6 w/ v1.3.2-rc2, no external hyperlink ever gets built, so it doesn't even build the 'proxy" link like:
https://rancher.<IP_ADDRESS>.sslip.io/k8s/clusters/c-m-xnmnjplg/api/v1/namespaces/default/services/http:nginx1:8080/proxy/

Instead, it will just display in Rancher under the "Target" column, the pod ip:
<IP_ADDRESS>:8181 80/TCP

In Harvester v1.3.1 w/ Rancher v2.8.5 & Rancher v2.8.6 it does build the link in the "Target" column to take the user to the "proxy" service.
In Harvester Side under Networks -> Load Balancers in:

Harvester v1.3.1 & Harvester v1.3.2-rc2
It does not display the address for the Load Balancer.

Also, can be reproduced on:

Harvester v1.3.2 & Rancher v2.8.5 w/ RKE2  v1.28.12 +rke2r1 ( feel free to adopt in Repro steps )

To Reproduce
Steps to reproduce the behavior:

Download SLES 15 SP4 & SLES SP6 (don't register)
Ensure images on Harvester v1.3.1
Install Rancher v2.8.5
Import Harvester
Create v1.28.10+rke2r1 single node cluster w/ either SLES SP4 or SLES SP6 -> or both (user: sles)
Build nginx:latest -> create Load Balancer Service
The Load Balancer, will always be stuck in "pending"

Expected behavior
Load Balancer just always stuck in pending.
Support bundle
supportbundle_ebd2bdb5-f1db-4006-b453-e5f5d8598eef_2024-08-25T03-13-31Z.zip
Environment

Harvester ISO version: v1.3.2-rc2 & v1.3.1
Rancher Version: v2.8.5, v2.8.6
RKE2 Version:  v1.28.12 +rke2r1 ,  v1.28.10+rke2r1
Underlying Infrastructure: qemu/kvm or bare-metal && airgap or not-airgap
Guest OS: SLES Service Pack 4 , SLES Service Pack 6

Additional context

This doesn't seem to happen with Ubuntu Noble 24.04 Image.

Hi @irishgordo, do you have the logs from the guest clusters, especially the one for the kube-vip pod. The DHCP negotiation in the guest cluster LB scenario is happened between the kube-vip pod and the DHCP server.
I do notice that with specific DHCP server configurations, e.g. --dhcp-reply-delay=5, will make kube-vip DHCP negotiation timed-out (default timeout value seems to be 10 seconds). Is there anything special in your DHCP server config ?

With the following:

Harvester v1.3.1
Rancher v2.8.4
Guest cluster

SLES 15 SP4
RKE2 v1.28.10

I can reproduce the issue. When the LB service (in DHCP type) was created, the following logs in the kube-vip pod showed up:
2024-08-26T07:13:15.769149678Z time="2024-08-26T07:13:15Z" level=info msg="Creating new macvlan interface for DHCP [vip-1d547c95]"
2024-08-26T07:13:15.769197827Z time="2024-08-26T07:13:15Z" level=info msg="Generated mac: 00:00:6C:33:68:77"
2024-08-26T07:13:15.769204455Z time="2024-08-26T07:13:15Z" level=info msg="New interface [vip-1d547c95] mac is 00:00:6c:33:68:77"
2024-08-26T07:13:15.776999451Z time="2024-08-26
T07:13:15Z" level=error msg="could not add vip-1d547c95: operation not supported"

By tracing the code base in the kube-vip project, the last log line indicated that kube-vip cannot create the macvlan interface https://github.com/kube-vip/kube-vip/blob/fbb2746d076963b4374373c05cb8f3cbb4d5f9d9/pkg/manager/instance.go#L252-L255. So I tried to manually create a macvlan interface on the node, it showed a different error message:
sles@bug-6418-expgrp-pool1-27971c20-v5dv8:~> sudo ip link add macvlan1 link eth0 type macvlan
Error: Unknown device type.

There was no macvlan kernel module loaded, and it cannot be loaded manually either:
sles@bug-6418-expgrp-pool1-27971c20-v5dv8:~> lsmod | grep macvlan
sles@bug-6418-expgrp-pool1-27971c20-v5dv8:~> sudo modprobe macvlan
modprobe: FATAL: Module macvlan not found in directory /lib/modules/5.14.21-150400.22-default

On the other hand, the guest cluster consists of Ubuntu VMs does have the macvlan module loaded (so there's no issue for Ubuntu-based guest clusters):
ubuntu@bug-6418-ctrlgrp-pool1-043cbaf9-2qkrt:~$ lsmod | grep mac
macvlan                24576  0

Back to SLES, I used a minimal cloud image (SLES15-SP4-Minimal-VM.x86_64-OpenStack-Cloud-GM.qcow2):
sles@bug-6418-expgrp-pool1-27971c20-v5dv8:~> uname -r
5.14.21-150400.22-default
sles@bug-6418-expgrp-pool1-27971c20-v5dv8:~> cat /etc/os-release
NAME="SLES"
VERSION="15-SP4"
VERSION_ID="15.4"
PRETTY_NAME="SUSE Linux Enterprise Server 15 SP4"
ID="sles"
ID_LIKE="suse"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:suse:sles:15:sp4"
DOCUMENTATION_URL="https://documentation.suse.com/"

After installing the kernel-default package (the one installed by default is kernel-default-base) and rebooting the system, everything worked fine, including the LBs. Regular logs emitted after creating a DHCP-type LB service would be like the following:
2024-08-26T09:19:42.939822479Z time="2024-08-26T09:19:42Z" level=info msg="Creating new macvlan interface for DHCP [vip-961305ca]"
2024-08-26T09:19:42.940459629Z time="2024-08-26T09:19:42Z" level=info msg="Generated mac: 00:00:6C:c9:59:7e"
2024-08-26T09:19:42.940473892Z time="2024-08-26T09:19:42Z" level=info msg="New interface [vip-961305ca] mac is 00:00:6c:c9:59:7e"
2024-08-26T09:19:45.990619492Z time="2024-08-26T09:19:45Z" level=info msg="DHCP VIP [<IP_ADDRESS>] for [default/web-lb-dhcp] "
2024-08-26T09:19:45.990653792Z time="2024-08-26T09:19:45Z" level=info msg="[service] adding VIP [<IP_ADDRESS>] for [default/web-lb-dhcp]"
2024-08-26T09:19:46.209346028Z time="2024-08-26T09:19:46Z" level=info msg="[service] synchronised in 3269ms"

Not sure if there's any other lighter way to get the macvlan module loaded. cc @bk201

harvester/docs#632 has been merged. The relevant doc can be found here.
Close as resolved.


Add collaborators to this repo

Comment below to be added as a collaborator
We will all be using this repository today. Even though it's public right now, you will not be able to make changes until you're given the correct permissions. We've automated this process via the GitHub API. Once you comment, we will add you as a collaborator.
You'll start to receive a lot of emails. (❗) You can slow these down immediately by clicking the Unwatch button at the top of the page and selecting either the Participating and @mentions or Ignore option.

Hola Mundo, a iniciar el hands on!! 👍


Refactor MaternalNet() add_pairs() method

PR # 514 will make change Births from deterministic to stochastic ss.bernoulli(p=scaled_birth_rate) and CRN-safe by linking new babies to mothers. network.py MaternalNet() has the add_pairs() method that adds connections between mothers and unborn babies. However, the logic is not connected downstream to link to newly created uids for babies [ happens via demographics.py & sim.people.grow() ].
https://github.com/starsimhub/starsim/pull/514
[Link to code in network.py (https://github.com/starsimhub/starsim/blob/fbd242d290c529797ad49d5c8fefbe478a7229e0/starsim/network.py#L802C1-L810C21
)
    def add_pairs(self, mother_inds=None, unborn_inds=None, dur=None):
        """ Add connections between pregnant women and their as-yet-unborn babies """
        if mother_inds is None:
            return 0
        else:
            n = len(mother_inds)
            beta = np.ones(n)
            self.append(p1=mother_inds, p2=unborn_inds, beta=beta, dur=dur)
            return n

Done, I think?


Update index.md

Changes

Checks
By submitting your pull request for review, you agree to the following:

[ ] This contribution was created in whole or in part by me, and I have the right to submit it under the terms of this repository's open source licenses.
[ ] I understand and agree that this contribution and a record of it are public, maintained indefinitely, and may be redistributed under the terms of this repository's open source licenses.
[ ] To the best of my knowledge, all proposed changes are accurate.

This change doesn't make any sense from a grammatical standpoint.

Can i make a game?

Okay but i have zero robux and only bought one model pack


[RESTEASY-1753]

Adding documentation for the change in RESTEASY-1753.

This pull request adds some documentation for https://github.com/resteasy/Resteasy/pull/1346.

@asoldano, as for whether this was a bug ... . I think of a bug as a failure to adhere to some kind of specification. In this case, the JAX-RS spec doesn't say much about how to report validation violations, so I don't think it was a bug. I would call it a MISTAKE. ;-)


docs/reverse-proxy: use standard map, correct X-Forwarded-Proto varia…

…ble for nginx
I tested this on NixOS. After switching from postgres back to sqlite and with the standard websocket proxy config, everything started to work.
Initially the none standard map which differs from upstreams docs https://nginx.org/en/docs/http/websocket.html got me very confused and I thought this would be somehow required.
Also $http_x_forwarded_proto doesn't exist, NixOS uses $scheme instead and I am going with that.
proxy_redirect also didn't work for me but that might be on my rather big config.

[x] read the CONTRIBUTING guidelines
[ ] raised a GitHub issue or discussed it on the projects chat beforehand
[ ] added unit tests
[ ] added integration tests
[x] updated documentation if needed
[ ] updated CHANGELOG.md

Also $http_x_forwarded_proto doesn't exist, NixOS uses $scheme instead and I am going with that.

Yeah probably only NixOS uses this config that way. You PR seems like it would only work for your NixOS setup. This wouldn't be helpful config for people not using NixOS.
My suggestion would be that you can add a comment, that if you run nginx on NixOS you would probably need to replace $http_x_forward_proto for $schema

Yeah probably only NixOS uses this config that way.

That's wrong. NixOS' nginx config is pretty standard. http_x_forwarded_proto is a variable coming from the k8s nginx ingress controller, see https://docs.nginx.com/nginx-ingress-controller/configuration/virtualserver-and-virtualserverroute-resources/#:~:text=variables%3A %24scheme and-,%24http_x_forwarded_proto,-. Variables must be . In normal nginx this var doesn't exist.

You PR seems like it would only work for your NixOS setup.

I didn't test this but I expect the snippet now to work with the majority of setups unlike before.
The NixOS specific code would look like
services.nginx.virtualHosts."headscale.example.com" = {
  locations."/" = {
  proxyPass = "http://<IP_ADDRESS>:${toString services.headscale.port}";
  proxyWebsockets = true;
  extraConfig = ''
    proxy_buffering off;
  '';
};

as you can see no special sauce is needed and the standard options defined for other websockets and proxies just work.

My suggestion would be that you can add a comment, that if you run nginx on NixOS you would probably need to replace $http_x_forward_proto for $schema

Unless you are running headscale on k8s with the nginx controller then I don't know a scenario where that variable exists and even then it defaults to scheme https://github.com/nginxinc/kubernetes-ingress/blob/c503483ef20476f522850dbd6db32e38e2565cee/internal/configs/oidc/oidc_common.conf#L11-L14

Also did more research now. You are right. This mapping is mainly used by the nginx ingress and as you pointed out in the end it is just a remapping of $schema
From your wording:

Also $http_x_forwarded_proto doesn't exist, NixOS uses $scheme instead and I am going with that.
It sounded like it is just a NixOS thing for me.  Sorry for the misunderstanding.

This PR makes sense.

I've accidentally deleted my fork, so I can't reopen this PR. Continuing in #1790


Remove Python Daemon

Codecov Report

Merging #12120 (672c6e3) into main (add27a1) will decrease coverage by 0%.
The diff coverage is 90%.

@@           Coverage Diff           @@
##            main   #12120    +/-   ##
=======================================
- Coverage     63%      63%    -1%
=======================================
  Files        497      493     -4
  Lines      35813    35388   -425
  Branches    5493     5424    -69
=======================================
- Hits       22737    22467   -270
+ Misses     11122    10996   -126
+ Partials    1954     1925    -29

Impacted Files
Coverage Δ

src/platform/common/configSettings.ts
83% <ø> (-1%)
:arrow_down:

src/platform/common/process/types.node.ts
100% <ø> (+15%)
:arrow_up:

src/platform/common/types.ts
100% <ø> (ø)

...kernels/jupyter/interpreter/jupyterCommand.node.ts
54% <71%> (+5%)
:arrow_up:

src/kernels/activation.node.ts
86% <100%> (+3%)
:arrow_up:

...pyterInterpreterSubCommandExecutionService.node.ts
92% <100%> (ø)

...interpreter/nbconvertExportToPythonService.node.ts
75% <100%> (-2%)
:arrow_down:

...ommon/process/environmentActivationService.node.ts
68% <100%> (+<1%)
:arrow_up:

...form/common/process/pythonExecutionFactory.node.ts
85% <100%> (+9%)
:arrow_up:

...riables/customEnvironmentVariablesProvider.node.ts
83% <100%> (-3%)
:arrow_down:

... and 9 more


Use existing libuv when installing from luarocks

I'd like to use an existing libuv build when installing luv with luarocks install luv. Is such thing possible?
If not, is it possible to lower the version requirements of uv.cmake? I currently cannot install luv on travis since it requires cmake 2.8.9(travis has 2.8.7).

I'm not sure about either of those, but you can get newer cmake on travis easy enough https://github.com/luvit/luvi/blob/a3ec57fe2e895a562645b9eac4aed79a06f9d49b/.travis.yml#L4-L9

@creationix thanks, that solves my issue


Inplementation of linear blend skinning

Hi. I have a problem about the implementation of linear blend skinning (LBS) for ZJU data in your code.
When preprocessing the data with its SMPL estimation, LBS is calculated as
https://github.com/facebookresearch/tava/blob/a9576801e81aebcf242588be39315e27f915894e/tools/process_zju/lbs.py#L42-L54
A  is the rest-to-pose transform matrix, shaped as (-1, 24, 4, 4) and W is the skinning weight matrix shaped as (-1, 6890, 24).  Here, LBS aggregates 24 joints.
=======================================================
However, in TAVA, I found that LBS only considers 19 joints.
https://github.com/facebookresearch/tava/blob/a9576801e81aebcf242588be39315e27f915894e/tava/models/deform_posi_enc/snarf.py#L257-L262
https://github.com/facebookresearch/tava/blob/a9576801e81aebcf242588be39315e27f915894e/tava/models/deform_posi_enc/snarf.py#L280-L282
According to the rigid_cluster defined in zju_parser.py, the number of cluster is 19 and five joints (head, left-toes, right-toes, left-hand and right-hand) are missed.  My problem is why there is a difference here. (24 vs 19)
I found that the preprocessing step produces  "tfs" and "tf_bones".
https://github.com/facebookresearch/tava/blob/a9576801e81aebcf242588be39315e27f915894e/tools/process_zju/main.py#L106-L117
However, TAVA uses 'tf_bones' instead of ''tfs'.  'tf_bones'  and 'rest_tfs_bone' appear as 'bones_word' and 'bones_cano' in TAVA's code. The rest-to-pose transformation matrix is later computed as
https://github.com/facebookresearch/tava/blob/a9576801e81aebcf242588be39315e27f915894e/tava/models/deform_posi_enc/snarf.py#L259
'tf_bones' have some redundancies because it represents the transform matrix of the head joint of each bone and some bones share the same head joints. This is why you need to reduce 24 to 19 later in the LBS.
Why don't you use 'tfs'?  It has no redundancy and already describes the rest-to-pose transformation. More importantly, they can describe how the other five bones that are connected to head, left-toes, right-toes, left-hand and right-hand rigidly move
Please let me know if I misunderstand something here.
Great thanks!

Hi,
For the question of 24 v.s. 19, the answer is there are some bones rigidly connected to each other. So even though there are 24 joints in total, the actual degree of freedom of SMPL is 19 matrices. So the choices of 19 allows 1/ a more compact LBS weights, 2/ the one-hot loss we used on the bones for regularization (24-dim LBS weights will introduce ambiguity to the one-hot loss because some dimensions have the same transformation matrix)
For the question of ‘tfs’ v.s. ‘tf_bones’. The ‘tfs’ can transform joints from rest to pose, but when you apply those matrices to bones you will find wrong transformations. The ‘tf_bones’ however, can be applied to both bones and joints, and give you the correct rest to pose transformation. Because we care deforming the entire space, rather than only joints, we choose to use the physically correct deformations ‘tf_bones’. Besides, only uses ‘tf_bones’ allows us to apply this one-hot loss to the bones.
As for the reason of this weird discrepancy, you would have to dig into the SMPLX code base, into the place where they transform the local rotation matrix to the global matrix. There is a weird ordering of applying the rotation and translation matrices in their code that cause this:
https://github.com/facebookresearch/tava/blob/a9576801e81aebcf242588be39315e27f915894e/tools/process_zju/lbs.py#L125

Great thanks!  I have some follow-up questions
1. DoF: 24/23 or 19?
"So even though there are 24 joints in total, the actual degree of freedom of SMPL is 19 matrices."
I checked the SMPL pose parameters (3*23). I did not observe a clear redundancy ...
Take the 1st frame of CoreView_377  for example. I print the axis-angle of 24 joints, including the root which is always zero-rotation, as follows.
Joint-0 (parent:-)->root  axis:[0. 0. 0.] angle:0.0
Joint-1 (parent:root)->lhip  axis:[0.63 0.64 0.44] angle:0.2
Joint-2 (parent:root)->rhip  axis:[ 0.34 -0.36 -0.87] angle:0.09
Joint-3 (parent:root)->belly  axis:[-1.    0.01  0.02] angle:0.0
Joint-4 (parent:lhip)->lknee  axis:[-0.17  0.74 -0.65] angle:0.16
Joint-5 (parent:rhip)->rknee  axis:[ 0.97 -0.22  0.09] angle:0.11
Joint-6 (parent:belly)->spine  axis:[ 0.96 -0.15 -0.23] angle:0.0
Joint-7 (parent:lknee)->lankle  axis:[-0.56  0.82  0.14] angle:0.13
Joint-8 (parent:rknee)->rankle  axis:[-0.98 -0.16 -0.12] angle:0.16
Joint-9 (parent:spine)->chest  axis:[-0.99  0.14  0.05] angle:0.0
Joint-10 (parent:lankle)->ltoes  axis:[ 0.81 -0.58  0.11] angle:0.0
Joint-11 (parent:rankle)->rtoes  axis:[ 0.53 -0.1   0.84] angle:0.0
Joint-12 (parent:chest)->neck  axis:[-0.87  0.05  0.48] angle:0.08
Joint-13 (parent:chest)->linshoulder  axis:[0.01 1.   0.02] angle:0.0
Joint-14 (parent:chest)->rinshoulder  axis:[ 0.03 -0.16 -0.99] angle:0.0
Joint-15 (parent:neck)->head  axis:[ 0.55  0.75 -0.38] angle:0.19
Joint-16 (parent:linshoulder)->lshoulder  axis:[ 0.09  0.12 -0.99] angle:0.83
Joint-17 (parent:rinshoulder)->rshoulder  axis:[ 0.1  -0.11  0.99] angle:1.05
Joint-18 (parent:lshoulder)->lelbow  axis:[-0.06 -0.99  0.12] angle:1.67
Joint-19 (parent:rshoulder)->relbow  axis:[-0.09  0.99 -0.09] angle:1.55
Joint-20 (parent:lelbow)->lwrist  axis:[ 0.5  -0.37 -0.78] angle:0.0
Joint-21 (parent:relbow)->rwrist  axis:[-0.79  0.22  0.57] angle:0.0
Joint-22 (parent:lwrist)->lhand  axis:[-0.96 -0.    0.28] angle:0.0
Joint-23 (parent:rwrist)->rhand  axis:[-0.92  0.37  0.12] angle:0.0
I highlight Joint-1/2/3 and Joint-12/13/14 because these bones are assigned to two clusters and considered rigidly connected.  However, as we can see here, in each cluster, the three axis-angle rotations are different and the difference is untrivial.  For instance, 1 and 2 have very different axes and angles as
Joint-1 (parent:root)->lhip  axis:[0.63 0.64 0.44] angle:0.2
Joint-2 (parent:root)->rhip  axis:[ 0.34 -0.36 -0.87] angle:0.09
The rotation directions differ a lot.
This makes sense because the axis-angle here represents the rotation of the joint relative to its parent rather than that of the bone in which the joint is the tail. The rotation of the bone is decided by that of the head joint and the rotation of the tail joint subsequently decides that of the bone in which the tail joint becomes the head joint. (Sorry if my description is a bit convoluted). This is reflected in the preprocessing code as
https://github.com/facebookresearch/tava/blob/a9576801e81aebcf242588be39315e27f915894e/tools/process_zju/lbs.py#L152-L156
where the transformation of the kth bone is assigned with that of its head joint.
If my understanding is correct, then the axis-angle (3-dim) of the joint k (1<=k<=23) describes how those bones whose head joints are joint k rigidly transform. And all 23 axis-angle rotations function differently and have no redundancy. So the degree of freedom should be 23, excluding the root joint which physically cannot rotate.
2. The problematic transformation
I did notice your comment here :)
https://github.com/facebookresearch/tava/blob/a9576801e81aebcf242588be39315e27f915894e/tools/process_zju/lbs.py#L125-L131
I conjecture that [I,T]@[R,0] is correct. My reason is as follows.

T is the 3d location of a joint relative to its parent. It defines how we translate from the parent joint to the child joint.
R, the matrix form of the axis-angle vector, represents the relative rotation of a joint relative to its parent.
The 4X4 matrix in 'transforms_mat' represents how you can transform a joint's x-y-z axis from its parent joint. It should apply R before T. So that when you apply the transform to (0,0,0) (the parent joint coordinate), it becomes [R,T]@(0,0,0,1)=T which is the correct coordinate in the parent's system. If we apply R after T, the transformed coordinates become [R,RT]@(0,0,0,1)=RT, which is not correct.

I'm grateful that you would help me with this.  Perhaps I misunderstand something fundamental😊

I think a simple question to ask is, if I need to transform a bone (all the points between head and tail) from rest to pose, what matrix would that be?
If you try to answer this question, you will find out you can only get 19 unique transformations. And you will see where all my illustrations stand.

https://github.com/facebookresearch/tava/blob/a9576801e81aebcf242588be39315e27f915894e/tools/process_zju/lbs.py#L148-L162
The 'rel_transforms' here, which later is named 'A' and 'tfs',  still contain 24 unique transform matrices.
I think that reducing 24 to 19 discards the transformation of five other bones. The head joints of these five bones are head, ltoes, rtoes, lhand  and rhand. But the five bones' tail joints are not named, and might not need to be defined because the rotations of these bones are already defined by their head joints' axis-angle.
We can actually see the five bones (or more accurately five parts) in the figure. They are the green head, the yellow left and white fingers,  the red right toes, and the blue left toes.

Thanks for your illustrations. I see it now. I just feel that the original LBS implementation of SMPL-X also makes sense, in which the LBS weights are assigned to all 24 joints.
But I guess that this detail is truly unimportant because the five implicitly defined bones are quite short and small.

Hi,
I see what you mean.  Thanks for helping me sort it out!
One last question before closing this issue~
As you said there is a redundancy in SMPL pose params and the problematic [R|T] transformation in SMPLX codebase, does that mean a bug of SMPL itself?  Or it won't affect the original SMPL's performance but we need to fix it in TAVA.

The problematic [R|T] is the reason behind the rigidly attached bones. The result of that is seemingly SMPL has 23 axis-angles to control the pose, there are actually only 19 degree of freedom because some bones are constrained to have the same transformation.
There is no problem of using SMPL as is. But if this issue (maybe it’s a bug in SMPLX because it doesn’t not make sense to me) would be fixed, SMPL would have the full 23 degree of freedom so should be more expressive I think.


这个插件跟gradle版本有强依赖吗？

大神请教一个问题，
我的项目用的gradle版本 3.5.4 跑的时候报错
log如下：

What went wrong:
Execution failed for task ':app:checkDevDebugDuplicateClasses'.

Could not resolve all files for configuration ':app:devDebugRuntimeClasspath'.
Failed to transform artifact 'bundletool.jar (com.android.tools.build:bundletool:0.9.0)' to match attributes {artifactType=android-classes, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
Execution failed for JetifyTransform: /Users/wellsen/.gradle/caches/modules-2/files-2.1/com.android.tools.build/bundletool/0.9.0/6c7492aedf12ff02ed7c634246026ac7f7372dd2/bundletool-0.9.0.jar.
Failed to transform '/Users/wellsen/.gradle/caches/modules-2/files-2.1/com.android.tools.build/bundletool/0.9.0/6c7492aedf12ff02ed7c634246026ac7f7372dd2/bundletool-0.9.0.jar' using Jetifier. Reason: The given artifact contains a string literal with a package reference 'android.support.design.widget' that cannot be safely rewritten. Libraries using reflection such as annotation processors need to be updated manually to add support for androidx.. (Run with --stacktrace for more details.)
Failed to transform artifact 'common.jar (com.android.tools:common:26.5.0)' to match attributes {artifactType=android-classes, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
Execution failed for JetifyTransform: /Users/wellsen/.gradle/caches/modules-2/files-2.1/com.android.tools/common/26.5.0/6ac94244acf356790ac8d6fa41c3158636422e67/common-26.5.0.jar.
Failed to transform '/Users/wellsen/.gradle/caches/modules-2/files-2.1/com.android.tools/common/26.5.0/6ac94244acf356790ac8d6fa41c3158636422e67/common-26.5.0.jar' using Jetifier. Reason: The given artifact contains a string literal with a package reference 'android.support.design.widget' that cannot be safely rewritten. Libraries using reflection such as annotation processors need to be updated manually to add support for androidx.. (Run with --stacktrace for more details.)

不同版本需要使用不同的，详情看readme


Clone your project not complete

Hi,
I am ussing git desktiop to clone your project, but there is error as bellow:

You can try like this:
git clone --depth 1 https://gitee.com/xiahcu/ZLMediaKit
cd ZLMediaKit
git submodule update --init


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from  to before v5.14.10",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=2b704864c92dcec2b295f276fcfbfb81d9831f81"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "2b704864c92dcec2b295f276fcfbfb81d9831f81",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "HID: usbhid: free raw_report buffers in usbhid_stop\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.14.10 by commit 2b704864c92dcec2b295f276fcfbfb81d9831f81. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1001712


Compressor

new effect node, compressor. not fully tested

Can you git rm examples/files/beat.mp3.asd in your next commit?


GPTQ model takes high GPU usage than hf transformers on TGI

System Info
I have usef docker to run inference server ,
#!/bin/bash
# Variables
model="TheBloke/Llama-2-7b-Chat-GPTQ"
volume="$PWD/data"
num_shard=1
quantize="gptq"
max_input_length=1562
max_total_tokens=4096 # 4096

# Echo starting message
echo "Starting the Docker container with local files (No Internet): $model and volume: $volume ..."

# Start the Docker container
# docker run -d --shm-size 1g  \
#   -v $volume:/data \
#   -e HUGGING_FACE_HUB_TOKEN=$token \
#   -e HF_HUB_ENABLE_HF_TRANSFER=0 \
#   --gpus all -p "8080":"80" ghcr.io/huggingface/text-generation-inference:latest
docker run --gpus all -ti -d -p 8080:80 \
  -e MODEL_ID=$model \
  -e NUM_SHARD=$num_shard \
  -e MAX_INPUT_LENGTH=$max_input_length \
  -e MAX_TOTAL_TOKENS=$max_total_tokens \
  -e HUGGING_FACE_HUB_TOKEN=$token \
  -e HF_HUB_ENABLE_HF_TRANSFER=0 \
  -v $volume:/data -e QUANTIZE=$quantize \
  ghcr.io/huggingface/text-generation-inference:1.0.3

# Check if the container started successfully
if [ $? -eq 0 ]; then
    echo "Container started successfully!"
else
    echo "Failed to start the container."
    exit 1
fi

# Run text-generation-launcher lauch command from inside the container for finer control over the container's execution environment
echo "Running the text-generation-launcher command from /data directory inside the container...Local Files only will be used"
# docker exec $model bash -c "text-generation-launcher --model-id /data/$model --quantize gptq --num-shard 1"

# Check if the text-generation-launcher command was successful
if [ $? -eq 0 ]; then
    echo "text-generation-launcher ran successfully!"
else
    echo "Failed to run text-generation-launcher."
    exit 1
fi

The model uses 20  (GB)of GPU being a quantised model. On the other hand inferencing with transformers takes only about 5-6 GB.
In the below screen shot , both inference servers are running text-generation-inference   takes 20GB while hf transformers quantized takes 5-6 GB  (*just below in splitter in two GPUs).
Information

[X] Docker
[ ] The CLI directly

Tasks

[X] An officially supported command
[ ] My own modifications

Reproduction
docker run --gpus all -ti -d -p 8080:80
-e MODEL_ID=$model
-e NUM_SHARD=$num_shard
-e MAX_INPUT_LENGTH=$max_input_length
-e MAX_TOTAL_TOKENS=$max_total_tokens
-e HUGGING_FACE_HUB_TOKEN=$token
-e HF_HUB_ENABLE_HF_TRANSFER=0
-v $volume:/data -e QUANTIZE=$quantize
ghcr.io/huggingface/text-generation-inference:1.0.3
Expected behavior
Less consumption of GPUs.

@Saugatkafley TGI will take all available memory in order to process large amount of requests when required.
You can control this with --cuda-memory-fraction. https://huggingface.co/docs/text-generation-inference/basic_tutorials/launcher

Hi @Saugatkafley, did --cuda-memory-fraction solve your problem? If this solved your issue, can you let me know what tgi-image tag are you using?
In my case, even though I assign different values for it, I don't find any difference in the GPU memory being used. My command is like this: text-generation-launcher  --model-id <model-id> --quantize bitsandbytes-nf4 I tried using sha-96a982a and 1.1.0 image tag-versions, but issue persists. It takes around 37GB of VRAM.
@Narsil What do you think the issue is? I am running this on V100.
Thank you for your help! :)


Add sample scripts for starting a restarting the app via docker

Description of change
Some sample scripts that I use, sharing this  to aid all develops to make on boarding and usage easier
Checklist

[ ] Has a new newsfragment been created? Check changelog/README.md for instructions
[ ] Do any added or updated endpoints appear in the API documentation? See docs/Maintaining the API documentation.md for more details
[ ] Have any relevant search models been updated?
[ ] Have any relevant fixtures (fixtures/test_data.yaml) been updated?
[ ] Have any relevant select-/prefetch-related field lists in the views and search apps been updated?
[ ] Has the admin site been updated (for new models, fields etc.)?
[ ] Has the README been updated (if needed)?

What makes these samples (as opposed to scripts that can just be used)?
It would be good to somehow make it more obvious they are for local development (I suppose sample is a clue, but maybe it could be clearer...)

@reupen so you can customise them to your specific setup, maybe you want to use different names, maybe you don't want to delete the containers etc. So they are there for inspiration to help get your personal dev working the way that makes sense to you.
I used the .bin.sample as I could not think of anything better, happy to take some suggestions to make it clear for everyone...

Cool – so maybe we could add a short README in .bin.sample to explain that?


Typo

What happened?
Hello,
I think there is a mistake.
From the webpage https://aureq.github.io/cert-manager-webhook-ovh :
Rights: (pre-populated)
GET /domaine/zone/*
PUT /domaine/zone/*
POST /domaine/zone/*
DELETE /domaine/zone/*
But it should be "domain" instead of “domaine”, shouldn't it ?
Expected Behavior
I think it should be "domain".
Steps to reproduce
I didn't try to use "domaine" because I already have an API key.
Versions in use
0.6.0.
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

@kashikoy yes, I think you're right. The perks of being French but coding in English. I'll get this fixed.

@kashikoy yes, I think you're right. The perks of being French but coding in English. I'll get this fixed.

Bonjour Aurélien, j'aurais pu ouvrir ce ticket en français alors ! Merci beaucoup.


Add Type Declarations and Standardized Build & Start Scripts

added more typescript support and refactored our build to use ./build instead of ./dist. In the future dist will be used by our CI to autogenerated, test, optimized, and bundle our distributable used for npm and unpgk. Also made the build file more extensible and removed local files which don't need to be on github. This also includes the latest updated from battlelinegames mainline repo.

Changes to make this more suitable for general use.

Changes to make this more suitable for general use.


Support M1 Macs

This will probably require a new release; I think https://github.com/mdtraj/mdtraj/issues/1679 might be the first indication of it actually building on M1 in development environments

Once https://github.com/conda-forge/conda-forge-pinning-feedstock/pull/2159 is merged, the bots will attempt to build and they'll probably fail. If they do, we'll have to make a new release

closed by #37


Issue 914

Issue
Fixes https://merative.atlassian.net/browse/MERATIVE-954
Fix : https://merative.atlassian.net/browse/MERATIVE-955
Description
https://merative.atlassian.net/browse/MERATIVE-955

When a content author adds the references block to a blog post, the Unordered lists/numbered lists and list items are not sized correctly. When the references block is removed, this issue gets fixed.

https://merative.atlassian.net/browse/MERATIVE-954

Tertriary button in leadspaces should be center aligned in the leadspace block. Currenlty it is aligned bottom.

Design Specs

If applicable, add the direct link to the design specs of the component/feature that's part of this PR.

Figma Link - https://www.figma.com/file/vw24IPXXt4vCh9BNumka9A/Web--Merative-Digital-Design-System-2.0?type=design&node-id=10089%3A44814&mode=dev&t=lwqWwvMQKCZdofLG-1

Test URLs
Fixes https://merative.atlassian.net/browse/MERATIVE-954

Before (Changes from main): https://main--merative2--hlxsites.hlx.page/clinical-decision-support
After (Changes from this PR): https://issue-914--merative2--hlxsites.hlx.page/clinical-decision-support

Fix : https://merative.atlassian.net/browse/MERATIVE-955

Before (Changes from main): https://main--merative2--hlxsites.hlx.page/block-library/templates/blog
After (Changes from this PR): https://issue-914--merative2--hlxsites.hlx.page/block-library/templates/blog

Testing Instruction

Open each New URL and inspect the code changes to ensure they render according to the Design Specs in Figma

Note:
The changes are generic and affects all the support pages where "columns" and "leadspace" blocks are used.

@chandans1316  @joehanchoi  please reference the figma design for footnotes here for the correct styling - Figma Link - https://www.figma.com/file/vw24IPXXt4vCh9BNumka9A/Web--Merative-Digital-Design-System-2.0?type=design&node-id=10089%3A44814&mode=dev&t=lwqWwvMQKCZdofLG-1

@raj-bluetext @chandans1316 @joehanchoi checking on this work. Here's the links to Figma. Can you please work on bulleted list fix?
https://www.figma.com/file/vw24IPXXt4vCh9BNumka9A/Web--Merative-Digital-Design-System-2.0?type=design&node-id=10089-44822&mode=design&t=qStX3jR9aAwB4mEL-4
Typography style - https://www.figma.com/file/vw24IPXXt4vCh9BNumka9A/Web--Merative-Digital-Design-System-2.0?type=design&node-id=20681-15623&mode=design&t=qStX3jR9aAwB4mEL-4


Fix bug in IEP document branching

Fix bug from https://github.com/studentinsights/studentinsights/pull/2070.

selfie


[BUG] Failed to deserialize boolean field with false value in GraalVM native image.

问题描述
If a bean contains a boolean field, it can't be deserialized with false value in GraalVM native image.
环境信息

OS信息：  macOS 14.7 (23H124)
JDK信息： Java(TM) SE Runtime Environment Oracle GraalVM 17.0.12+8.1 (build 17.0.12+8-LTS-jvmci-23.0-b41)
版本信息：2.0.53

重现步骤
I'd created a demo repo in: https://github.com/suragreat/fastjson2-native.
To run:
mvn clean package -Pnative
./target/my-app
public class App {
    public static void main(String[] args) throws Exception {
        String json = """
                {"height":800,"size":"LARGE","title":"image","transparent":"false","uri":"file://image.png","width":600}
                """;
        System.out.println("original json: " + json);
        Image image = JSON.parseObject(json, Image.class);
        System.out.println("image from original json: " + image);
        String jsonString = JSON.toJSONString(image);
        System.out.println("toJSONString: " + jsonString);
        image = JSON.parseObject(jsonString, Image.class);
        System.out.println("image image from toJSONString: " + image);
    }
}

@com.alibaba.fastjson2.annotation.JSONCompiled
public class Image
        implements java.io.Serializable {
    private int height;
    private Size size;
    private String title;
    private String uri;
    private int width;
    private boolean transparent;

    public Image() {
    }

    public void setUri(String uri) {
        this.uri = uri;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public void setSize(Size size) {
        this.size = size;
    }

    public String getUri() {
        return uri;
    }

    public String getTitle() {
        return title;
    }

    public int getWidth() {
        return width;
    }

    public int getHeight() {
        return height;
    }

    public Size getSize() {
        return size;
    }

    public enum Size {
        SMALL, LARGE
    }

    public boolean isTransparent() {
        return transparent;
    }

    public void setTransparent(boolean transparent) {
        this.transparent = transparent;
    }
}

期待的正确结果
Deserialized from json string successfully.
相关日志输出
original json: {"height":800,"size":"LARGE","title":"image","transparent":"false","uri":"file://image.png","width":600}
image from original json: io.suragreat.issue.fastjson2.graalvm_native.vo.Image@3c49d008
toJSONString: {"height":800,"size":"LARGE","title":"image","transparent":false,"uri":"file://image.png","width":600}
Exception in thread "main" com.alibaba.fastjson2.JSONException: syntax error : 102
at com.alibaba.fastjson2.JSONReaderUTF8.readBoolValue(JSONReaderUTF8.java:7550)
at com.alibaba.fastjson2.reader.FieldReaderBoolValueMethod.readFieldValue(FieldReaderBoolValueMethod.java:26)
at com.alibaba.fastjson2.reader.ObjectReader6.readObject(ObjectReader6.java:389)
at com.alibaba.fastjson2.JSON.parseObject(JSON.java:864)
at io.suragreat.issue.fastjson2.graalvm_native.App.main(App.java:18)
Root Cause
The root cause is incorrectly Using Unsafe safely in GraalVM Native Image. From the native image building info, there're some warning listed as below:
Warning: RecomputeFieldValue.ArrayBaseOffset automatic substitution failed. The automatic substitution registration was attempted because a call to jdk.internal.misc.Unsafe.arrayBaseOffset(Class) was detected in the static initializer of com.alibaba.fastjson2.util.JDKUtils. Detailed failure reason(s): Could not determine the field where the value produced by the call to jdk.internal.misc.Unsafe.arrayBaseOffset(Class) for the array base offset computation is stored. The call is not directly followed by a field store or by a sign extend node followed directly by a field store.
Warning: RecomputeFieldValue.FieldOffset automatic substitution failed. The automatic substitution registration was attempted because a call to sun.misc.Unsafe.objectFieldOffset(Field) was detected in the static initializer of com.alibaba.fastjson2.util.JDKUtils. Detailed failure reason(s): Could not determine the field where the value produced by the call to sun.misc.Unsafe.objectFieldOffset(Field) for the field offset computation is stored. The call is not directly followed by a field store or by a sign extend node followed directly by a field store.
Warning: RecomputeFieldValue.FieldOffset automatic substitution failed. The automatic substitution registration was attempted because a call to sun.misc.Unsafe.objectFieldOffset(Field) was detected in the static initializer of com.alibaba.fastjson2.util.JDKUtils. Detailed failure reason(s): Could not determine the field where the value produced by the call to sun.misc.Unsafe.objectFieldOffset(Field) for the field offset computation is stored. The call is not directly followed by a field store or by a sign extend node followed directly by a field store.
Warning: RecomputeFieldValue.FieldOffset automatic substitution failed. The automatic substitution registration was attempted because a call to sun.misc.Unsafe.objectFieldOffset(Field) was detected in the static initializer of com.alibaba.fastjson2.util.JDKUtils. Detailed failure reason(s): Could not determine the field where the value produced by the call to sun.misc.Unsafe.objectFieldOffset(Field) for the field offset computation is stored. The call is not directly followed by a field store or by a sign extend node followed directly by a field store.
Warning: RecomputeFieldValue.FieldOffset automatic substitution failed. The automatic substitution registration was attempted because a call to sun.misc.Unsafe.objectFieldOffset(Field) was detected in the static initializer of com.alibaba.fastjson2.util.JDKUtils. Detailed failure reason(s): The argument of sun.misc.Unsafe.objectFieldOffset(java.lang.reflect.Field) is not a constant value or a field load that can be constant-folded., Could not determine the field where the value produced by the call to sun.misc.Unsafe.objectFieldOffset(Field) for the field offset computation is stored. The call is not directly followed by a field store or by a sign extend node followed directly by a field store.
Warning: RecomputeFieldValue.FieldOffset automatic substitution failed. The automatic substitution registration was attempted because a call to sun.misc.Unsafe.objectFieldOffset(Field) was detected in the static initializer of com.alibaba.fastjson2.util.JDKUtils. Detailed failure reason(s): Could not determine the field where the value produced by the call to sun.misc.Unsafe.objectFieldOffset(Field) for the field offset computation is stored. The call is not directly followed by a field store or by a sign extend node followed directly by a field store.

According to https://developers.redhat.com/articles/2022/05/09/using-unsafe-safely-graalvm-native-image#unsafe_proves_to_be_unsafe, the static field in com.alibaba.fastjson2.util.JDKUtils which is assigned from UnSafe offset must be marked as final. It works after modification as below:
    static {
        Unsafe unsafe;
        long offset, charOffset;
        try {
            Field theUnsafeField = Unsafe.class.getDeclaredField("theUnsafe");
            theUnsafeField.setAccessible(true);
            unsafe = (Unsafe) theUnsafeField.get(null);
            ARRAY_BYTE_BASE_OFFSET = unsafe.arrayBaseOffset(byte[].class);
            ARRAY_CHAR_BASE_OFFSET = unsafe.arrayBaseOffset(char[].class);
        } catch (Throwable e) {
            throw new JSONException("init unsafe error", e);
        }

        UNSAFE = unsafe;
//        ARRAY_BYTE_BASE_OFFSET = offset;
//        ARRAY_CHAR_BASE_OFFSET = charOffset;

        if (ARRAY_BYTE_BASE_OFFSET == -1) {
            throw new JSONException("init JDKUtils error", initErrorLast);
        }

any updates?


Globals override

Hello!
I've tried to setup this worker on my test host and deleted it after. But all my old workers now trying to prefix proxy folder as on screenshot. How i can fix it?
I've tried to purge cache on CF, remove your worker - it doesn't help.

I've updated cache version in cacheToken function and it fixes my issue


Call ANALYZE less often

What should be done?
PostgreSQL and SQLite backends call ANALYZE on the whole database when dbStats and collStats commands are called. That's slow and not necessary in real usage.
Let's call ANALYZE only when Database.Stats and Collection.Stats are called with Refresh: true.  dbStats and collStats should call those methods with Refresh: true for now (to do less in this issue), but we might change that in the future.
Additionally, we should call ANALYZE only on a given list of collections (and given PostgreSQL schema), not on the whole database.
Where?
See references to this issue.
Definition of Done

new SQLite handler updated;
new PostgreSQL and SQLite backends updated;
spot refactorings done.

From logs:
...
ferretdb_postgres          | 2023-10-06 18:05:12.887 NDT [1929] LOG:  duration: 1022.363 ms  statement: ANALYZE
ferretdb_postgres          | 2023-10-06 18:05:12.959 NDT [1933] LOG:  duration: 1022.894 ms  statement: ANALYZE
ferretdb_postgres          | 2023-10-06 18:05:13.131 NDT [1937] LOG:  duration: 1028.898 ms  statement: ANALYZE
ferretdb_postgres          | 2023-10-06 18:05:13.229 NDT [1909] LOG:  duration: 1023.233 ms  statement: ANALYZE
ferretdb_postgres          | 2023-10-06 18:05:13.383 NDT [1913] LOG:  duration: 1030.940 ms  statement: ANALYZE
ferretdb_postgres          | 2023-10-06 18:05:13.519 NDT [1917] LOG:  duration: 1026.530 ms  statement: ANALYZE
ferretdb_postgres          | 2023-10-06 18:05:13.603 NDT [1921] LOG:  duration: 1019.468 ms  statement: ANALYZE
ferretdb_postgres          | 2023-10-06 18:05:13.772 NDT [1925] LOG:  duration: 1027.525 ms  statement: ANALYZE
ferretdb_postgres          | 2023-10-06 18:05:13.915 NDT [1929] LOG:  duration: 1021.194 ms  statement: ANALYZE
ferretdb_postgres          | 2023-10-06 18:05:13.989 NDT [1933] LOG:  duration: 1024.506 ms  statement: ANALYZE
ferretdb_postgres          | 2023-10-06 18:05:14.155 NDT [1937] LOG:  duration: 1019.263 ms  statement: ANALYZE
ferretdb_postgres          | 2023-10-06 18:05:14.260 NDT [1909] LOG:  duration: 1026.028 ms  statement: ANALYZE
ferretdb_postgres          | 2023-10-06 18:05:14.411 NDT [1913] LOG:  duration: 1022.705 ms  statement: ANALYZE
ferretdb_postgres          | 2023-10-06 18:05:14.548 NDT [1917] LOG:  duration: 1023.588 ms  statement: ANALYZE
ferretdb_postgres          | 2023-10-06 18:05:14.631 NDT [1921] LOG:  duration: 1022.006 ms  statement: ANALYZE
ferretdb_postgres          | 2023-10-06 18:05:14.810 NDT [1925] LOG:  duration: 1032.605 ms  statement: ANALYZE
ferretdb_postgres          | 2023-10-06 18:05:14.933 NDT [1929] LOG:  duration: 1012.820 ms  statement: ANALYZE
ferretdb_postgres          | 2023-10-06 18:05:15.010 NDT [1933] LOG:  duration: 1015.881 ms  statement: ANALYZE
...

But I'm not sure how to reproduce without running many tests in parallel.

Hey @rumyantseva i'm interested in working on this issue.

@Aditya1404Sal thank you for your interest! I assigned you, so please feel free to take it.

To set the Refresh : true for dbstat and simillarly for collStat
is a constructor like this okay ?
func NewDatabaseStatsParams() DatabaseStatsParams {
    return DatabaseStatsParams{
        Refresh: true,
    }
}

I don't think we need any constructor: both the type and the field are exported and directly accessible, and the zero value is good enough.