Unable to scroll within the create event dialog - unfortunate for devices with a lower resolution

Describe the bug 🐛
Unable to scroll in the create event dialog
To Reproduce 📝
Steps to reproduce the behavior:

Login to the app
Make sure you are an admin
Go to the Manage Events page
Press Create Event
Make sure to zoom in enough so that you cannot see all the fields.
Try to scroll

Expected behavior 🕵♂
Expect it to overflow the other content and let me scroll up and down to see the rest of the fields within the dialog
Screenshots 🖼

Additional Information (optional)
Where it occurred

Desktop

OS: Mac OS
Browser: Chrome
Version: Sonoma 14.4

Can I work on this issue?


list view invisible=True not working

fix: https://github.com/nfco/netforce/pull/246/commits/10725cef351345b9ed17be0628585444248fa98d
please mere request: https://github.com/nfco/netforce/pull/246


Multiple trivy server replicas

I'd like to be able to deploy multiple trivy server replicas for redundancy.
The change seems to be fairly simple:

add a new variable for setting the desired number of trivy server replicas
change this line to something like - replicas: {{ .Values.trivy.replicas | default 1 }}

Please let me know if this would be accepted and I gladly file a PR.

@mazay sure it is reasonable , feel free to submit a PR


Why the benchmark executions are commented out?

Also, I can add more contenders, like Sanctuary.js

it's so we can run them independently. I have found the results are skewed if you run one after another

Oh, maybe the JIT hotloading some code paths? Maybe there is a test suite that can do something about it, I will do some research.


Use of deprecated @intToPtr in Chapter-1

As per latest zig, @intToPtr doesn't exist. Instead, @ptrFromInt is available.
Pointers in Chapter1 still uses deprecated function to convert integer to pointer.

Thanks for the spot, this one wasn't covered by testing


How to assign ndt_omp initial guess transformation  between source cloud and target cloud

Hello, your repo is really impressive.  Pcl ndt algorithm uses align() function to set approximate transformation between source cloud and target cloud,but align() function in your ndt_omp repo differs from pcl . How can I set approximate transformation between source cloud and target cloud?Thank you.

It has the same pcl::Registration interface as PCL's NDT. You can simply pass a point cloud and initial guess to align().


Internal Server Error (500) if token does not have a correct KID header

When this is used in a django application and configured to use JWKS for an issuer, the API will crash if a token is used that does not have akid header with a valid value. Valid here means it is listed in the JWKS endpoint for the issuer
Instead of crashing, a 401 with an error message should be returned saying that the JWT verification failed, like it does when iss is invalid or any other claim is wrong.

This is where the unhandled exception is made

Fixed in #17


2.7.0 Broke everything.

Updating to 2.7.0 broke everything, neither launching the web-apps nor launching the main application works.
And since I've currently moved to WebCatalog to access all my web applications, I have a problem...
Uncaught Exception: Error: Cannot find module 'optimist'     at Module._resolveFilename (module.js:455:15)     at Function.Module._resolveFilename (/Applications/WebCatalog.app/Contents/Resources/electron.asar/common/reset-search-paths.js:35:12)     at Function.Module._load (module.js:403:25)     at Module.require (module.js:483:17)     at require (internal/module.js:20:19)     at Object.<anonymous> (/Applications/WebCatalog.app/Contents/Resources/app.asar/main.js:4:14)     at Module._compile (module.js:556:32)     at Object.Module._extensions..js (module.js:565:10)     at Module.load (module.js:473:32)     at tryModuleLoad (module.js:432:12)

@Rediwed OMG! I'm working to fix it ASAP.

I havent tried resetting the applications! Could you point me to the location in which the application settings are saved?
Also; you reacted in three (3) minutes! That's the single fastest non-messenger app response I've seen anywhere, ever.

@Rediwed Haha. There's a bug in the build process so I need to release a new update. It's my fault, not yours so don't worry.

Another one in 4 minutes phew!
Good to know, I'm looking forward to using it again!
Can't wait what the future of WebCatalog will bring!

@Rediwed 👍 No new feature in this update. It's mostly for Linux support. But let's see.

And a fix in 31 minutes.
My github account is purely for reporting issues though, so as I don't know how to build the source i'll report my findings (or not if there are none) when it's released on the website ;)

@Rediwed It's up now! Also, if you want to ask for new feature, such as Chromecast, you can create a new issue on GitHub. Better than Reddit :)

Yeah, I figured! Didn't know you had this github when I wrote that. I'll add a feature request!


Can't get the example working

I can't get the code to works. I'm able to draw a list, but it's not dragging items...
Here's my code:
import 'package:boardview/board_item.dart';
import 'package:boardview/board_list.dart';
import 'package:boardview/boardview.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

class MyView extends StatefulWidget {
  @override
  State<StatefulWidget> createState() {
    return MyViewState();
  }
}

class MyViewState extends State<MyView> {
  @override
  Widget build(BuildContext context) {
    var boardItem0 = BoardItem(
        item: Container(
            height: 8,
            child: Text(
              'TESTE 0',
              style: TextStyle(fontSize: 12),
            )));
    var boardItem1 = BoardItem(
        item: Container(
            width: double.maxFinite,
            height: 10,
            child: Text(
              '  TESTE 1   ',
              style: TextStyle(fontSize: 12),
            )));

    var listBoardItems = List<BoardItem>();
    listBoardItems.add(boardItem0);
    listBoardItems.add(boardItem1);

    var boardList = BoardList(
        backgroundColor: Colors.yellow,
        items: listBoardItems,
        index: 0,
        footer: Container(height: 50));

    var listBoardListItems = List<BoardList>();
    listBoardListItems.add(boardList);

    var boardView0 = BoardView(lists: listBoardListItems);

    return Container(
      child: boardView0,
    );
  }
}

Are the BoardItems not draggable or is it the BoardList? BoardList are draggable from a header widget and I don't see one on yours. So try adding something like header: Container(height: 50,), to it

The BoardItems are not draggable.
I've atacched a gif with the result of the code above:

I tested the above code and it seems to work. I see in your picture that you have an ad in it. Do you also have a Stack or something that would be blocking any touches to the BoardView?

Awesome! I use onLongPress to detect a drag which I think takes around 1000ms to trigger. I might change it to be customizable in the future though.


Disallow adding a scene object to the same parent multiple times

Currently, it's possible to add a given GVRSceneObject to a parent object:
parentObject.addChildObject(childObject);
parentObject.addChildObject(childObject);
parentObject.addChildObject(childObject);

When it's time to render, the child in this example will get rendered three times.  It's easiest to see this with a translucent scene object: the more times it's added, the more opaque it becomes.
It was suggested that attempting to do this should throw an exception.  I'd prefer a "gentler" approach: return true if the child was being newly added, false if it's already a child.  Then we can do this:
if (parentObject.addChildObject(childObject)) {
    ...

instead of
if (parentObject != childObject.getParent()) {
    parentObject.addChildObject(childObject);
    ...

Ever so slightly more concise.

Pull request #629 addresses this issue

https://github.com/Samsung/GearVRf/pull/663 merged. Erik, can we close this issue?


Should pass the “February 30” test

console.log(validate('2016-02-30T03:04:05Z'));
// true

Would do you mean? That it should return false? This library only checks the format. Also, new Date('2016-02-30T03:04:05Z') results in 2016-03-01T03:04:05Z.
Maybe I should change the description to Returns a boolean indicating if the date **format** provided is valid or not.

Okay. I was hoping it would tell me if the date is valid.
I’m looking to answer the question, “is this a valid date?”. But most date validation libraries instead answer the question “can this be converted to a JavaScript Date object?”. Unfortunately JavaScript accepts invalid dates and arbitrarily converts them to other dates.
Answering the first question is really hard because it involves doing your own string parsing instead of relying on Date to do it.


Wipe exactly the bytes of the stuffer that need to be

Description of changes:
Same as https://github.com/awslabs/s2n/pull/1322 but implementing the high-water-mark optimization.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

:exclamation: No coverage uploaded for pull request head (high_water_mark@bb9f1d9). Click here to learn what that means.
The diff coverage is n/a.

The definition of wiped in https://github.com/awslabs/s2n/blob/master/docs/DEVELOPMENT-GUIDE.md is unclear - I should fix this before merging.

@baldwinmatt Changes made, ready to merge.


Change projectile dirconfig file to .project

So it matches the doom project marker .project. Otherwise you need to
create both a .project and then a .projectile with the project
configuration.
To maintain backwards compatibility, it will prefer a .projectile file
for dirconfig if found.

This only seems to do anything if using projectile's native indexing. So it's probably not that useful, although may help some people out. If using default projectile with fd installed, you have to create a .ignore file to ignore directories (which isn't documented anywhere).

Looks good to me! Thanks for the help!


Fix a bug while refreshing course content

Now the recyclerView's adapter refereshes the data and the Toast message displays at the last iteration of the loop inside the onResponse method

Also, run the Code Formatter on code once, before making final commits. It'll remove a lot of common whitespace and indentation errors .


Simplify OpenAI.performRequest

What
Increases the readability of performRequest, performSpeechRequest, and processJSON.
Why
Readability and simplicity.
Affected Areas
OpenAI.swift

@ingvarus-bc I updated this PR some time ago, what do you think about merging?

Thanks for your contribution, @rchatham!


Only use OrdinaryCallingFormat() if we're on 2.7.9

The patch for OrdinaryCallingFormat(), 08a6f01, causes a S3ResponseError: 301 Moved Permanently error on Python versions before 2.7.9. This patch just checks whether we're >= 2.7.9 before we use that trick.

Sorry for the complication. This boto bug is the worst.

sure as heck ain't you fault

Alrighty, let's merge this thing. Should I ship a new version to PyPI?

Sure, why not. Thanks :+1:

Done.
$ pip install django-bakery --upgrade


Various fixes

Consolidated SELinux rules.
Fix for system System upgrade controller via tagging the image explicitely and not relying on "latest"

@kube-hetzner/core Merging as hotfix, all tested.


beets: fix embedart with imagick 7.1.1-12

Description of changes
This effectively reverts #240720. As discussed in beetbox/beets#4836, ImageMagick 7.1.1-12 changed the behavior of the compare tool. This change backports a fix I have contributed upstream to the stable and unstable packages.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Alternatively, I could update the beets-unstable to the latest revision.

Alternatively, I could update the beets-unstable to the latest revision.

Sounds better to me.

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

18 packages built:

beets (beetsPackages.beets ,beetsPackages.beets-stable)
beets-unstable (beetsPackages.beets-unstable)
beets-unstable.dist (beetsPackages.beets-unstable.dist)
beets-unstable.doc (beetsPackages.beets-unstable.doc)
beets-unstable.man (beetsPackages.beets-unstable.man)
beets.dist (beetsPackages.beets-stable.dist ,beetsPackages.beets.dist)
beets.doc (beetsPackages.beets-stable.doc ,beetsPackages.beets.doc)
beets.man (beetsPackages.beets-stable.man ,beetsPackages.beets.man)
beetsPackages.alternatives
beetsPackages.alternatives.dist
beetsPackages.beets-minimal
beetsPackages.beets-minimal.dist
beetsPackages.beets-minimal.doc
beetsPackages.beets-minimal.man
beetsPackages.copyartifacts
beetsPackages.copyartifacts.dist
beetsPackages.extrafiles
beetsPackages.extrafiles.dist


Expenses Submit on Behalf: Attribute email to existing user

Resolves https://github.com/opencollective/opencollective/issues/7095
Considering that the user is:

Logged out;
Has access to the email that received the expense draft being submitted;
Is using/guessing an email that already was used on the platform;
The submitted draft still needs to be verified through the following user authentication on the platform;

It should be safe to allow an expense draft to be submitted by the logged-out user instead of throwing a "User already exists" error.

I agree, we need to at least write a proper suite of tests and review the side effects. All things I won't be able to carve extra-time to solve this sprint.
Closing this PR for now.


Completion for path not starting with dot or slash or tilde

It seems that the plugin only matches paths starting with . or / or ~.
I'd like to have completion for any relative path, even if it starts with a letter or number.
For example:

./foo/bar.txt - completion works
/foo/bar.txt - completion works
~/foo/bar.txt - completion works
foo/bar.txt - completion does not work!

I can introduce option but I can't think for that name...

You mean what the option should be called? Maybe something like "require_leading_slash"?

Yes. It's expected for now. The reason why is that the doesn't work case will make false positive completion.
I can introduce option but I can't think for that name...

How will it make false positive completion?


Wyze Thermostat Support

Plugin working great with all of my plugs, however the Wyze thermostat is not showing up. Hopefully an easy fix. Thermostat is working with HA.

This plug-in doesn’t currently support the thermostat. If someone would like to add the code I would be more than willing to add it to the plug-in.

I am working to port this over.

Ok, I also don’t have a lock to test just an fyi.

Yeah, I don't either, just wanting my 2 thermostats to work with homebridge. If I can get it to work, I will submit PR.

This project might also help? https://github.com/shauntarves/wyze-sdk


Add support for IDL exceptions in @ThriftStruct/@ThriftUnion

This change allows you to define IDL annotations that will be exported into the
IDL generated by Swift2Thrift

LGTM


No upload components?

why

First release of Bloomer is exactly as Bulma css, so... That's why (altough
we're still missing a few components).
If you can make it, a PR is welcome :)


pip installation can take 3+ hours

During today's open-source meeting we discussed that some users are having issues with pip. It seems to take 3+ hours in some cases. I've also noticed that installing the main branch also takes a very long time. It might be related.
I've made an issue so we don't forget to track it. @alopez keeping you in the loop.

@koaning I think there was an example from the forum? Can you link to it?
@TyDunn I think this either gets routed to Enable or Infra, but I'm not sure.

It seems to have been comments from Youtube that led to that number. To quote community pulse of Oct 25th:

"I had the problem is when i type "pip install rasa" and it waiting for a long time. I wait for 20-30min and it keep stucking and I not sure is it processing or already failure”
"I wasted my time and resources to install it as prescribed in video ...simply it didn't worked .It has lots of bugs . Got frustrated after 3.5 hours. Utilizing it one thing and running it another but if you could not install it how you can use it . Dammm..."

I couldn't find the links to the videos in question. @rctatman may know more but she's offline this week.

The comments are on this video: https://www.youtube.com/watch?v=GlR60CvTh8A
Based on a discussion with @koernerfelicia it sounds like this might possibly be fixed by this commit pinning the pip version to 21: https://github.com/RasaHQ/rasa/commit/7aa48106f03be3624da316f63964460a560b92c4

I wonder if these could be pip cache related. I was working with someone last week that ran into a long install due to pip cache resolution issues. Creating a new conda environment resolved the issue.

I'm able to confirm that --use-deprecated=legacy-resolver hasn't worked for me on the main branch last week.


Security Updates Only are not being set properly

Describe the bug
The bug is when you click to set Updates to security only, the regedit keys are not create and the powershell command fail to apply the tweak
To Reproduce
Steps to reproduce the behavior:

Go to 'Updates'
Click on 'Security (Recommended) Settings'
And take a look at the powershell window to see the error messages
See error

Expected behavior
Apply the Security Updates Only
Screenshots

Additional context
Here's the line where need to be fixed
https://github.com/ChrisTitusTech/winutil/blob/main/winutil.ps1#L1927
Currently are using Set-ItemProperty, maybe it's better to use New-ItemProperty or add a If Test-Path

Thanks, I made a check to create the path if it doesn't exist.
Commit ad06812


Design Open Source User Adapter

Design a simple schematic and board layout for a generic User adapter that can be configured by the user for various different headsets.
Keep it simple, make it a good DIY project.
CC-BY, credit to OHIS.  But allow commercial use and extension (read: not -NC and not -SA)

Notes from testing v1.0a prototypes:

Artwork is wrong.  Phones and Mic are swapped.
Add a trim-pot to adjust the Mic level.  The Radio Sport (electret) was just about right, but Heil Dynamic with the mic pre-amp was a bit hot.

v1.2 published, and ordered by Halibut Electronics.
v1.3 changes added by Derek Rowland.
Documentation for both added to repo.

This is done!  Any future changes will be separate tickets.


active bullet and Controls errors

Hello,
I see all bullets are blue, Active bullet class .as-active is working I tried to add (border-top:1px solid #000000;) active bullet should be light blue not blue. I don't see the light bullet.
Another problem: When I use
animation: 'fade',
showControls: true,
There will be problem in clicking on the arrows on the slider sides.
Is there a solution for both problems. Browser FF 38
Thanks,

Hi!
Yeah, there seems to be two CSS issues in the demo code. They should be easy fixable for now like this:
The .as-active class has a lower specificity than .as-nav a, so just make sure .as-active has a higher one, for example:
.as-nav .as-active {
    /* Active styles... */
}

The other issue with arrow and fading slides seems to be z-index related, increase z-index on the arrows like this to fix it:
.as-prev-arrow,
.as-next-arrow {
    z-index: 2;
}

That should do the trick and I'll make sure to update the demo CSS so it's working in the future.

Thanks,
problems solved.
Best regards


Expandable/Collapsible row details

I have not found such feature in demos, is it possible?

This feature is not yet available.
I'll let you know when development starts.

I am currently contemplating whether to improve the rendering performance or add more features.

@bosskmk Performance is always nice, but unfortunately features are selling point for customers :-( This particular one is quite important in many scenarios.

Yes, this is a necessary feature. will be added.

@bosskmk Thank you

Is this a similar issue?

@lvyandev
Yes. And DualGrid will add vertical positioning feature.


Question about OCR test results

Hi, I input a image to test mplug-docowl1.5-chat, prompt is  Please print the full content of the 4.3 section., but I found that he always stops halfway through the output. The answer is For real world use, we must detect and rectify StegaS-tamps within a wide field of view image before decoding them, since the decoder network alone is not designed to handle full detection within a much larger image. We fine-tune an off-the-shelf semantic segmentation network BiSeNet to segment areas of the image that are believed to contain StegaStamps. The network is trained using a dataset of randomly sampled binary messages.

Hi, @sky-fly97 , docowl1.5 and docowl1.5-Chat are mainly finetuned with QA data and their text reading ability is not as strong as docowl1.5-stage1 and docowl-Omni.
I tested this image and your prompt with our modelscope demo supported by the docowl-Omni, the output is
[doc]     loss.
4.3. Detector
For real world use, we must detect and rectify StegaS-
within a wide field of view image before decoding
them, since the decoder network alone is not designed to han-
detection within a much larger image. We fine-tune
off-the-shelf semantic segmentation network BiSeNet [?]
to segment areas of the image that are believed to contain
StegaStamps. The network is trained using a dataset of ran-
embedded into high reso-
lution images sampled from DIV2K [?]. At test time, we fit
a quadrilateral to the convex hull of each of the network’s
homography to warp each
quadrilateral back to a 400 x 400 pixel image for parsing by
the decoder.
4.4. Encoder/Decoder Training Procedure
During training, we use images from the
MIRFLICKR dataset [?] (resampled to 400 x 400 resolution)
combined with randomly sampled binary messages. [/doc]

Our model can parse all texts but fails to judge which texts belong to section 4.3. This is mainly due to a lack of training samples to help the model understand the structure of papers.
We have released the finetuning codes based on docowl1.5 models, you can try finetuning a stronger expert model according to your personal needs~ I think understanding the paper structure will not be a very difficult task~

Thanks~


How to render components under sub directory?

Hello,
Thank you for the Automagical package. It works perfectly for components those are directly inside /components directory.
However, the components inside subdirectories aren't found.
My component Clock resides inside /components/backend directory. What can be the solution?
Unknown custom element: <Clock> - did you register the component correctly? For recursive components, make sure to provide the "name" option

Hi @imtiazmahbub
Thank you for interest in this package. I'm happy that you like how it works 🙂
The way Nuxt is registering components respectively component names works a bit differently. Having a Clock.vue file as you do:
components/
    backend/
        Clock.vue
    awesome/
        One.vue
        Two.vue

ends up in a registered component called BackendClock, AwesomeOne and AwesomeTwo which can be used. If you want your component to be registered as Clock, you need to configure components  in nuxt.config.js as following:
  components: [
    { path: '~/components/backend', pattern: '**/*.vue', prefix: '' },
    {
      path: '~/components/awesome',
      pattern: '**/*.vue',
      prefix: 'Special',
    },
  ],

This will eventually lead to be able to use <Clock />, <SpecialOne /> and <SpecialTwo />.
Let me know if this solved your issue.

Awesome! Didn't know about Nuxt registers components that way.
And didn't expect a reply so soon. :-D
Thank you very much.

you are very welcome ☺
I'll close this issue. Feel free to comment on it or open a new one if you still experience issues


Emulation of POTS presence

According to https://github.com/Anime4000/RTL960x/blob/main/Docs/OMCI_CLI.md , there is interesting information in OMCI MIB:

Cardholder. POTS card presence may be configured here
Circuit Pack. Can also contain information about embedded POTS card
POTS UNI. Also something about POTS presence

Question: Is there a known way how to setup POTS emulation in this SFP ONU (setup correct MIB table sections)? It seems to be no "FLASH SET" variable which can configure that. Otherwise, my ISP's OLT doesn't provide voip VLAN (and even voip gem too)
Any ideas?

most POST is provisioned by VEIP,
in my country, it serve as VEIP, with the stick, it should bridge VEIP just like PPTP, perhaps try erase mtd3 and try again, it worked for me without needing to emulate POTS
some OLT insist to have POTS, once failed to query, OLT wont bridge the VEIP for POTS, for this rather limited :(

Thank you for reply. Is it necessary to erase mtd3? I found manual how to  enable VEIP: https://github.com/Anime4000/RTL960x/blob/main/Docs/VEIP.md
Is there a reason to apply this configuration first?


Upgrade torch

Pull Request
Description
upgrade torch
use OCF zipper
Fixes #
How Has This Been Tested?
CI tests

[ ] Yes

Checklist:

[ ] My code follows OCF's coding style guidelines
[ ] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have checked my code and corrected any misspellings

Codecov Report

Merging #113 (95eb7e7) into main (169bc32) will decrease coverage by 0.07%.
The diff coverage is 77.14%.

:exclamation: Current head 95eb7e7 differs from pull request most recent head c74e1e9. Consider uploading reports for the commit c74e1e9 to get more accurate results

@@            Coverage Diff             @@
##             main     #113      +/-   ##
==========================================
- Coverage   79.33%   79.25%   -0.08%
==========================================
  Files         107      107
  Lines        4200     4262      +62
==========================================
+ Hits         3332     3378      +46
- Misses        868      884      +16

Impacted Files
Coverage Δ

ocf_datapipes/training/metnet_gsp_national.py
32.72% <0.00%> (ø)

ocf_datapipes/training/metnet_national.py
17.27% <0.00%> (ø)

ocf_datapipes/training/metnet_national_class.py
0.00% <0.00%> (ø)

ocf_datapipes/training/metnet_pv_national.py
18.86% <0.00%> (ø)

ocf_datapipes/training/simple_pv.py
100.00% <ø> (ø)

ocf_datapipes/transform/xarray/remove_nans.py
89.47% <33.33%> (ø)

ocf_datapipes/select/select_id.py
79.31% <66.66%> (-7.65%)
:arrow_down:

ocf_datapipes/utils/utils.py
52.57% <67.85%> (+6.20%)
:arrow_up:

ocf_datapipes/transform/xarray/normalize.py
86.84% <71.42%> (-1.40%)
:arrow_down:

ocf_datapipes/batch/merge_numpy_modalities.py
100.00% <100.00%> (ø)

... and 18 more

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


Cannot recover browser session after a Google Chrome crash

If Chrome crashes (or your machine crashed) then when you start Chrome again, it will prompt you:
Google Chrome didn't shut down correctly. To reopen the pages you had open, click Restore.
This prompt is in a yellow bar at the top of the browser window (but under the window controls like address bar and bookmarks bar). Before I could click on it, TabRedirect kicked in and redirected the tab to a local file (just like its configured) causing the "restore" prompt to disappear. I lost all my tabs.
Also, Chrome doesn't seem to offer another way to invoke that function such as through a menu item.
Reference:
https://support.google.com/chrome/answer/95268?hl=en
So my request is to address them in some way which could include at least any of the following:

Don't redirect if Chrome didn't start cleanly
Don't redirect if Chrome shows any kind of dialog/message
Restore the "restore prompt" after the redirect
Document a way to invoke Chrome's "Restore" by some other means
Convince Google to support a "new tab url setting" as part of Chrome  :-)

And I can confirm it is because of the redirect, since my chrome has crashed many times, and I have always been able to click the Restore button since I use the default NTR page

This is a known bug in Chrome.
https://code.google.com/p/chromium/issues/detail?id=9890&can=5&colspec=ID Pri M Week ReleaseBlock Cr Status Owner Summary OS Modified
https://code.google.com/p/chromium/issues/detail?id=406355&can=5&colspec=ID Pri M Week ReleaseBlock Cr Status Owner Summary OS Modified
There are numerous issues with Chrome's implementation of the New Tab API.  Unfortunately, extensions have no way that I have found to resolve the problem. It exists with every new tab replacement that I've tried.

Thanks for the comments. Btw I was saved by another extension called "The Great Suspender" which eventually showed me all the windows I had before with an option to restore each. What was amazing is that I had restarted Chrome a few times before this came up, but it still remembered.
Btw, I love TabRedirect. Can't believe Chrome doesn't support such a basic feature out of the box. Thanks.

Thanks, I will check out that extension. I had considered adding some tab
tracking to account for the bug, but users generally hate when extensions
record browsing activity (even if it isn't malicious).
On Jan 24, 2015 5:03 PM, "Charles Esterbrook"<EMAIL_ADDRESS>wrote:

Thanks for the comments. Btw I was saved by another extension called "The
Great Suspender" which eventually showed me all the windows I had before
with an option to restore each. What was amazing is that I had restarted
Chrome a few times before this came up, but it still remembered.
Btw, I love TabRedirect. Can't believe Chrome doesn't support such a basic
feature out of the box. Thanks.
—
Reply to this email directly or view it on GitHub
https://github.com/jimschubert/NewTab-Redirect/issues/93#issuecomment-71339699
.

You could make it option and leave it off by default. On the other hand, it
looks like I have what I need through the other extension, so it's all good.

Cool, then I'll close this issue. Thanks!

Could this flag: chrome://flags/#enable-session-crashed-bubble help at all?

That may work. I'll have to play around with it. I don't know when that
flag was added. Mine is set to 'default', but it doesn't tell me what the
default is :\
On Thu, Feb 5, 2015 at 11:39 AM, ░▒▓█│【Walkman】│█▓▒░ <
<EMAIL_ADDRESS>wrote:

Could this flag: chrome://flags/#enable-session-crashed-bubble help at
all?
—
Reply to this email directly or view it on GitHub
https://github.com/jimschubert/NewTab-Redirect/issues/93#issuecomment-73078804
.

--

<EMAIL_ADDRESS>H<PHONE_NUMBER>
C<PHONE_NUMBER>

From the flags page:
Enable session restore bubble UI. [Windows, Linux]
If enabled, the session restore UI will be shown in a bubble instead of an info bar.

So I'm guessing If you see it as an info bar, and have it set to default, then the default is disabled.
I saw it while working through the flags page on a new linux install :D (flag settings don't seem to be synced...)

Weird, last time I encountered a session restore, it showed and hid quickly. On Friday, I took a snapshot of my Windows 8.1 VM and tried the Windows 10 Technical Preview. It was really laggy in Virtual Box so I reverted to the Windows 8.1 snapshot.  The Chrome session restore displayed correctly:

This is Windows 8.1, Google Chrome 40.0.2214.111 (Official Build) m.
I don't know if this is some sporadic issue or if it's resolved.

Your address bar is blank. Mine has the URL that I redirect to (file:///...). Is yours always blank or just during the restore.

Mine is blank because I use the built in redirect. When you specify a URL, it immediately redirects or updated the tab. I will play around with it a bit more and see if there's a way to figure out the error.

Pretty sure it goes away because of the redirect, and I think that's expected behaviour (since if you type something in the url bar and navigate, it should go away, so if an extension navigates away from the NTP, it will dissapear too). What I want to know is what the flag that enables a 'bubble UI' does.

Walkman100, I agree with you. So then I have questions like: Can the restore prompt be resurrected by the extension? If not, can the restore action be triggered by the action? If not, can we get Chrome changed in some manner to eliminate the conflict?
Re: the bubble, it doesn't work on OS X so it's not interesting to me at this point.

@charles-esterbrook the great suspender is a life saver thanks for helping! @


Dependency on com.amazonaws.services.lambda

If I download the source and add it to my (previously working with the Alexa Skills Kit 1.1 release) code, then I find that it depends on some Lambda classes. I'm not using Lambda and I can't see any documentation on how to get this code (maybe it is linked somewhere in your site but the location is really not obvious). E.g. in SpeechletRequestStreamHandler:
import com.amazonaws.services.lambda.runtime.Context;
import com.amazonaws.services.lambda.runtime.RequestStreamHandler;

And to answer my own question, you need the aws-lambda-java-core source from here:
https://github.com/aws/aws-lambda-java-libs
The docs should say this.

The dependencies of the Skills kit has now been included in the pom.xml file.


Support strings with multiple links in email messages

Currently, the helper function that replaces square brackets with <a> tags in
localizable strings in email notification bodies only supports one link per
string. Update it to support arbitrary numbers of links in preparation for adding
an email notification that has two links in one sentence.

Current dependencies on/for this PR:

main

PR #1211

PR #1212   👈

PR #1213

This comment was auto-generated by Graphite.

@sgrimm started a stack merge that includes this pull request via Graphite.

Graphite rebased this pull request as part of a merge.

@sgrimm merged this pull request with Graphite.


Demo

"I followed your instructions as closely as possible, but to no avail. Could you please provide more detailed guidance? Applying your instructions in practice is challenging. Thank you in advance for your continued support."

In principle you can run our code by simplying running the bash commands in the read.me. But if you encounter any problem, please feel free to post error messages.

Thanks a lot!
Jeri Suh
2023년 10월 25일 (수) 오전 10:05, Hongyin Luo @.***>님이 작성:

In principle you can run our code by simplying running the bash commands
in the read.me. But if you encounter any problem, please feel free to
post error messages.
—
Reply to this email directly, view it on GitHub
https://github.com/luohongyin/EntST/issues/1#issuecomment-1778310926,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJBIEAIKHPEBZESVJ3OX2TLYBBQWZAVCNFSM6AAAAAA6NRJIQ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZYGMYTAOJSGY
.
You are receiving this because you authored the thread.Message ID:
@.***>


Custom view for boolean variables

Consider a simplified view showing just "% true" for boolean variables. Would want to add an option that would allow a user to specify how boolean works in their data (0/1 vs. true/false vs. "yes"/"no").

Low priority

Not sure there's much value added here - closing as won't fix.


Quote the when keyword (when -> "when")

Thanks for catching this and fixing it, @noahhaasis !

Thanks for catching this and fixing it, @noahhaasis !

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: bryphe:x: noahhaasisYou have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: bryphe:x: noahhaasisYou have signed the CLA already but the status is still pending? Let us recheck it.


Warning: change gid or uid fail.

Probably it is a question.
What do I try to do is create systemd service to run workerman server. The main purpose is to restart server when it drops (if process will be stopped/killed).
/etc/systemd/system/workerman.service config:
[Unit]
Description=workerman
After=syslog.target
After=network.target
After=mongodb.service
Requires=mongodb.service

[Service]
Type=forking
PIDFile=/run/workerman/workerman.pid
WorkingDirectory=/path/to/projectRoot
RuntimeDirectory=workerman

User=my-apache-user
Group=my-apache-group

ExecStart=/usr/bin/php5.6 www/index_socketio.php start -d
ExecStop=/usr/bin/php5.6 www/index_socketio.php stop
ExecReload=/usr/bin/php5.6 www/index_socketio.php restart -d
TimeoutSec=300
Restart=always

[Install]
WantedBy=multi-user.target

Why did I set user to my-apache-user? Because I run the service through php's exec() function.

and in my start file index_socketio.php I set:
Worker::$pidFile = '/run/workerman/workerman.pid';

So when I run sudo systemctl start workerman.service  I see next messages in the workerman.log file:
2018-04-09 21:37:19 pid:11179 Workerman[www/index_socketio.php] start in DAEMON mode
2018-04-09 21:37:19 pid:11184 Warning: change gid or uid fail.

Worker.php is unable to run posix_setgid($gid) and posix_initgroups($user_info['name'], $gid) functions because they requires root privileges (and process is being ran under my-apache-user user).
Seems the server and systemd service are working fine. But I'm not sure that I can leave it as is. I don't want to run the server with root privileges. Is there some pitfalls with wrong group id on the system process?

Maybe you setted $worker->user = '...'; in your codes which only working when start workerman as root privileges. So just remove $worker->user = '...'; $worker->group = '...';  in your codes.
Also you can ignore this warning because the user of the running process is already apache-user.

I've not changed any worker params except Worker::$pidFile.
When I start the server directly from the terminal (i.e. php www/index_socketio.php start -d) it detects that the process group is right and I don't get that warning.
I'll leave it as is. Thank you!

здравствуйте, сделал так как вы написали!
при проверки статуса пишет активно, но сам сервер не работает!
hello, I did as you wrote!
when checking the status, it writes actively, but the server itself does not work!

here is my code  : startServerCarwash.service
[Unit]
Description=StartServerCarwash
After=syslog.target
After=network.target
After=mongodb.service
[Service]
Type=forking
User=root
ExecStart=/usr/bin/php /home/admin/sites/fresh.test-handyhost.ru/ServerCarwash/server.php start -d
[Install]
WantedBy=multi-user.target

change user, no changes

sudo visudo -f /etc/sudoers.d/ServerCarwash
Cmnd_Alias STARTSERVERCARWASH_CMNDS = /bin/systemctl start startServerCarwash.service, /bin/systemctl stop startServerCarwash.service, /bin/systemctl restart startServerCarwash.service, /bin/systemctl status startServerCarwash.service
%nobody ALL=(ALL) NOPASSWD: STARTSERVERCARWASH_CMNDS


Error trying to install PowerDNS Admin python packages

PDA version
0.4.1
Python version
3.9
Steps to Reproduce
I am getting this when trying to install requirements.txt
Collecting psycopg2==2.9.5 (from -r requirements.txt (line 47))
Using cached psycopg2-2.9.5.tar.gz (384 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [37 lines of output]
/opt/powerdns-admin/flask/lib/python3.9/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in setup.cfg
!!
          ********************************************************************************
          The license_file parameter is deprecated, use license_files instead.

          By 2023-Oct-30, you need to update your project and remove deprecated calls
          or your builds will no longer be supported.

          See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
          ********************************************************************************

  !!
    parsed = self.parsers.get(option_name, lambda x: x)(value)
  running egg_info
  creating /tmp/pip-pip-egg-info-psl93fod/psycopg2.egg-info
  writing /tmp/pip-pip-egg-info-psl93fod/psycopg2.egg-info/PKG-INFO
  writing dependency_links to /tmp/pip-pip-egg-info-psl93fod/psycopg2.egg-info/dependency_links.txt
  writing top-level names to /tmp/pip-pip-egg-info-psl93fod/psycopg2.egg-info/top_level.txt
  writing manifest file '/tmp/pip-pip-egg-info-psl93fod/psycopg2.egg-info/SOURCES.txt'

  Error: pg_config executable not found.

  pg_config is required to build psycopg2 from source.  Please add the directory
  containing pg_config to the $PATH or specify the full executable path with the
  option:

      python setup.py build_ext --pg-config /path/to/pg_config build ...

  or with the pg_config option in 'setup.cfg'.

  If you prefer to avoid building psycopg2 from source, please install the PyPI
  'psycopg2-binary' package instead.

  For further information please check the 'doc/src/install.rst' file (also at
  <https://www.psycopg.org/docs/install.html>).

  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Expected Behavior
I expected the requirements.txt to install all python packages
Observed Behavior
Installation failed.

Disregard I wasn't reading far enough down in the error. The actual error has nothing to do with licenses_files but is   Error: pg_config executable not found. It appears I needed to install an extra package via dnf install libpq-devel


[Feature] Add a function that detect if a profane word is used in a sentence.

Hello, that's would be cool if we can do that :
if(profanities.profane('Hello bitch!'){ // true

Something like that would be useful, yes, but it’s outside of the scope of this project. This project is supposed to be only a list of words.


<IP_ADDRESS> azure updates

Could remove this section : https://github.com/DecisionsDev/odm-docker-kubernetes/tree/<IP_ADDRESS>-azure-updates/platform/azure#create-the-datasource-secrets-for-azure-postgresql and pass the dababase informations in the helm install command line.

Removed datasources (replaced by args on helm install command)


ARROW-17013: [CI][C++] Fix arrow build for Ubuntu CPP 22.04

@github-actions crossbow submit test-*-cpp

The two R job failures seems to be a known issue: https://issues.apache.org/jira/browse/ARROW-16973 not related with the PR
The Appveyor failure is also unrelated (happening in master right now): https://issues.apache.org/jira/browse/ARROW-17014

@kou @lidavidm this was making builds fail on our nightly for ubuntu-22.04-cpp. It was not failing for ubuntu 18.04 nor 20.4 because flight and flight sql is not enabled there.
I am not an expert on CMake but all builds are working with this being removed so I am not entirely sure whether it was necessary  but this is fixing the build failure. Let me know what you think about this.

@github-actions crossbow submit test-ubuntu-22.04-cpp


Minor Version Upgrades & Gremlin Test Server Setup

Summary
Minor Version Upgrades & Gremlin Test Server Setup
Description
Minor version upgrades for JDBC, and set up the Gremlin server dependency for testing instead of raw usage.
Related Issue
n/a
Additional Reviewers
@kenhuuu
@vkagamlyk
@alexey-temnikov
@Cole-Greer

Codecov Report
Attention: Patch coverage is 0% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 67.61%. Comparing base (f65eca1) to head (835928b).

Files
Patch %
Lines

...erter/ast/nodes/select/GremlinSqlSelectSingle.java
0.00%
0 Missing and 1 partial :warning:

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #252   +/-   ##
========================================
  Coverage    67.61%   67.61%
========================================
  Files          122      122
  Lines         5888     5888
  Branches       585      585
========================================
  Hits          3981     3981
  Misses        1554     1554
  Partials       353      353

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

LGTM


Fix second page allocations

This fixes the logic we have to calculate which content items to allocate when a batch size is specified that is greater than the 100 items we display on a page and when the assignment is instigated from page 2 or greater.
We calculate an offset value which is the total number of content items that would have been displayed on all previous pages. We then assign X number of content items from there onwards.

 Content allocation from second page broken


[Chore]: Run tests in parallel

Background
Now that we are using Ginkgo for tests, we could also make use of running tests in parallel the Ginkgo way when running make test.
Action to take

Revisit suites setup-tear-down, maybe use SynchronizedBeforeSuite/SynchronizedAfterSuite over BeforeSuite/AfterSuite
Ensure that test-env ports are namespaced per ginkgo node so that there are no port clashes
Amend the Makefile to run ginkgo -p -randomizeAllSpecs -randomizeSuites instead of go test

Alternatively to namespacing test-env ports, consider using a real long-living kind cluster that has all the controllers deployed over test-env and just run tests against it.
Impact
Parallel tests execution should be faster. Also, randomising tests execution order would help for identifying flakes.
Dev Notes
No response

It looks like we are already running ginkgo with parallelism
Do you think something is still missing @danail-branekov. If not, please close this chore.

Yes, it seems so. However, we are running those tests with just 2 parallel nodes which is quite inefficient. Shall we have another chore to look at that, or we could use this one?

It's top of the backlog: #302. Closing this one in favour of it.


Add CONTRIBUTING.md

This adds a first attempt at contribution instructions.

Looks good to me too, at least as an initial template (we can always extend later). Feel free to merge.

I also added @msprotz as a reviewer

The branch is good to merge.


Revert "Block cross-db 'SELECT ... INTO table FROM ...' statement (#2744)

Description
This reverts commit 1570cc67db8f76d87d6ac04f9c7340ed2cb899b8.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.004%) to 73.698%

Totals

Change from base Build<PHONE_NUMBER>0:
-0.004%

Covered Lines:
44227

Relevant Lines:
60011

💛  - Coveralls


SSH public key authentication broken in commander 2.4.0 on CentOS 8.4.2105

Prerequisites

[x] Can you reproduce the problem?
[x] Are you running the latest version?
[x] Did you perform a cursory search?

Description
When using SSH public key authentication, commander crashes:
# commander test test.yml --verbose
Starting test file test.yml...

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x79ea53]

goroutine 23 [running]:
golang.org/x/crypto/ssh.publicKeyCallback.auth(0xc00030a960, 0xc000024240, 0x20, 0x20, 0x0, 0x0, 0xa80aa0, 0xc00034c000, 0xa76980, 0xc0000721b0, ...)
	/home/travis/gopath/pkg/mod/golang.org/x/crypto@v0.0.0-20200622213623-75b288015ac9/ssh/client_auth.go:204 +0xd3
golang.org/x/crypto/ssh.(*connection).clientAuthenticate(0xc000340080, 0xc00033e000, 0x0, 0xa)
	/home/travis/gopath/pkg/mod/golang.org/x/crypto@v0.0.0-20200622213623-75b288015ac9/ssh/client_auth.go:44 +0x332
golang.org/x/crypto/ssh.(*connection).clientHandshake(0xc000340080, 0xc0002c8d58, 0x8, 0xc00033e000, 0x0, 0x0)
	/home/travis/gopath/pkg/mod/golang.org/x/crypto@v0.0.0-20200622213623-75b288015ac9/ssh/client.go:113 +0x2b6
golang.org/x/crypto/ssh.NewClientConn(0xa865a0, 0xc00000e010, 0xc0002c8d58, 0x8, 0xc000140968, 0xa865a0, 0xc00000e010, 0x0, 0x0, 0xc00030a980, ...)
	/home/travis/gopath/pkg/mod/golang.org/x/crypto@v0.0.0-20200622213623-75b288015ac9/ssh/client.go:83 +0xf8
golang.org/x/crypto/ssh.Dial(0x9b9aeb, 0x3, 0xc0002c8d58, 0x8, 0xc000140968, 0xc00030a980, 0x1, 0x2)
	/home/travis/gopath/pkg/mod/golang.org/x/crypto@v0.0.0-20200622213623-75b288015ac9/ssh/client.go:177 +0xb3
github.com/commander-cli/commander/pkg/runtime.SSHExecutor.Execute(0xc0002c8d58, 0x8, 0x0, 0x0, 0x0, 0x0, 0xc000308620, 0x15, 0xc0002c8db0, 0xf, ...)
	/home/travis/gopath/src/github.com/commander-cli/commander/pkg/runtime/ssh_executor.go:76 +0x1d0
github.com/commander-cli/commander/pkg/runtime.(*Runner).Run.func2(0xc0002c8f40, 0xc00030a8c0, 0xc00006eae0, 0xc00006ea80)
	/home/travis/gopath/src/github.com/commander-cli/commander/pkg/runtime/runner.go:49 +0x231
created by github.com/commander-cli/commander/pkg/runtime.(*Runner).Run
	/home/travis/gopath/src/github.com/commander-cli/commander/pkg/runtime/runner.go:30 +0x113

Using plain username/password authentication works.
Steps to Reproduce

Create a YML document as seen below
Run commander test test.yml
Watch the beautiful stacktrace :)

nodes:
  node1:
    type: ssh
    addr: node1:22
    identity-file: /root/.ssh/id_rsa.pub
    #user: root
    #pass: trustno1

config:
  nodes:
    - node1

tests:
  check kurt user:
    command: id kurt
    stdout:
      contains:
        - kurt
      not-contains:
        - no such user
    exit-code: 0

Expected behavior: [What you expected to happen]
SSH login succeeds and test is executed.
Actual behavior: [What actually happened]
Application crashes.
Specifications

Version: v2.4.0
Platform: CentOS Linux 8.4.2105 (x86_64)
Subsystem: ?

You can get the version information from executing commander --version.

Thanks @stdevel for the submission.
Looked into it and was able to reproduce it.
It will be fixed in #181


Cannot create type point with point array

Hi, I'm new to this module so I'm not sue if it is my mistake or the readme.
If I try:
any: { 	type: "Point", 	point: [-113.806458, 44.847784] }
as in the readme, the result is this error...
ValidationError: CastError: Cast to GeoJSON failed for value "{ type: 'Point', point: [ -113.806458, 44.847784 ] }" at path "any"
It works fine if I change to
any: { 	type: "Point", 	coordinate: [-113.806458, 44.847784] }
Am I doing something wrong, is the readme incorrect?

The README appears to be incorrect. The GeoJSON spec for the Points type is clear that "coordinates" is the correct key to use: http://geojson.org/geojson-spec.html#point
Thank you for the feedback.

Ah cool, no problem! Thanks for your fast response :)


az aks draft up | In in-line help, provide list of azCLI reference commands being executed

Describe the bug
Customers are asking what Azure CLI reference commands are being executed by our az ... up commands.  Doc writers are also requesting this information when they must replicate Azure CLI docs with Azure PowerShell commands. Although the reference list might change based on the parameters being passed, we need clarity in our in-line help and resulting autogenerated reference content.
Reference command link: https://learn.microsoft.com/en-us/cli/azure/aks/draftt#az-aks-draft-up
Current description:
(This description is actually more helpful than some of the other up descriptions, but it needs to tell customers all of the azCLI commands being executed.)

REQUEST: Please modify this description to list each Azure CLI reference command that "up" can/is executing.
Possible impacted source code files:
https://github.com/azure/azure-cli-extensions/blob/main/src/aks-preview/azext_aks_preview/_help.py
Related command
az aks draft up
Errors
This bug is being entered to eliminate customer confusion by adding clarity to our help content.
Issue script & Debug output
n/a
Expected behavior
n/a
Environment Summary
Azure CLI 2.58.0
Additional context
No response

Thank you for opening this issue, we will look into it.

@dyu1208, @FumingZhang, @andyliuliming.
Can we resolve this issue by putting a sentence in the short or long summary that states something like "Run this command with the --debug parameter to see the API calls and parameters values being used."?
This avoids a lengthy long-summary property, but tells the customer how to find the answer for themselves.

@karenychen to help
From my understanding, this command basically does not call ARM, but executes the draft program/binary.

Hi @dbradish-microsoft, aks draft up only runs the setup-gh and the generate-workflow command. I have updated the short summary to include them. Please let me know if this fix looks good, thanks!

@karenychen, do you have a link to your PR that reflects the update?

HI @dbradish-microsoft, PR link is mentioned in this thread. PR link: https://github.com/Azure/azure-cli-extensions/pull/7782


fix: add .vscode to .gitignore

Exclude local Visual Studio Code configuration from source control.

Contributor License Agreement adherence:

[x] This Contribution is under the terms of Individual Contributor License Agreements (and also Corporate Contributor License Agreements to the extent applicable) appearing in the Apereo CLA roster.

Yup. Agree would be preferable to switch to autogenerated .gitignore. Went for the quick superficial fix rather than a deeper fix in this PR.


⚠ AnimeBytes has degraded performance

In dd557d9, AnimeBytes ($AB) experienced degraded performance:

HTTP code: 598
Response time: 5605 ms

Resolved: AnimeBytes performance has improved in c32393f.


Create a clock tool that can be displayed next to the cursor on command

Description of the new feature / enhancement
To give/show the system clock, day, time, week etc.
Scenario when this would be used?
When the taskbar is hidden it's a nice feature. Until Microsort rollback the Win11 taskbar that's almost useless :)
Supporting information
No response

Sure! :)
I can give you a quick summary on this here.
This is my main post on the feedback hub https://aka.ms/AAd2ifw
In short is missing docking that's the main feature downgrade.
Next it's missing small icons
In short it's using to many px on the screen.
And it's not movable
Then it's the start menu.. it was maybe 9/10 points in Win10.. and it's maybe 3/10 in Win11.
it's a shame that the engineers in redmond don't realize that there are also some SUPER users of Windows who would like to have an OS. Not just an average click and point user

Great feedback, best spots for both those would be /feedbackhub


Refactor /subscriptions router

Use the route protection schema for other routers.

Not needed after admin rework.


master cluster add a vkubelet sub cluster ，and secret use the master cluster kubeconfig ca key ？

Describe the bug
master cluster add a vkubelet sub cluster ，and secret use the master cluster kubeconfig ca key ？
To Reproduce
Steps to reproduce the behavior:
1 master cluster config secret use master cluster kubeconfig ---->virtual-kubelet;
2 master cluster config configmap use sub cluster kubeconfig----->vk-infra-test;
3 deploy vkubelet  in master cluster

apiVersion: apps/v1
kind: Deployment
metadata:
name: k8s-infra-test
namespace: kube-system
labels:
k8s-app: kubelet
spec:
replicas: 1
selector:
matchLabels:
k8s-app: virtual-kubelet
template:
metadata:
labels:
pod-type: virtual-kubelet
k8s-app: virtual-kubelet
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: type
operator: NotIn
values:
- virtual-kubelet
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
labelSelector:
matchExpressions:
- key: pod-type
operator: In
values:
- virtual-kubelet
topologyKey: kubernetes.io/hostname
tolerations:
- effect: NoSchedule
key: role
value: not-vk
operator: Equal
hostNetwork: true
containers:
- name: virtual-kubelet
image: XXXXXX/docker/virtual-node:v0.1.1-30-g2cc1d681db013d
imagePullPolicy: IfNotPresent
env:
- name: KUBELET_PORT
value: "10450"
- name: APISERVER_CERT_LOCATION
value: /etc/virtual-kubelet/cert/cert.pem
- name: APISERVER_KEY_LOCATION
value: /etc/virtual-kubelet/cert/key.pem
- name: APISERVER_CA_CERT_LOCATION
value: /etc/virtual-kubelet/cert/ca.pem
- name: DEFAULT_NODE_NAME
value: virtual-kubelet
- name: VKUBELET_POD_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
volumeMounts:
- name: credentials
mountPath: "/etc/virtual-kubelet/cert"
readOnly: true
- name: kube
mountPath: "/root"
readOnly: true
args:
- --provider=k8s
- --nodename=k8s-infra-test
- --disable-taint=true
- --kube-api-qps=500
- --kube-api-burst=1000
- --client-qps=500
- --client-burst=1000
- --client-kubeconfig=/root/kube.config
- --klog.v=5
- --log-level=debug
- --metrics-addr=:10455
livenessProbe:
tcpSocket:
port: 10455
initialDelaySeconds: 20
periodSeconds: 20
volumes:
- name: credentials
secret:
secretName: virtual-kubelet
- name: kube
configMap:
name: vk-infra-test
items:
- key: kube.config
path: kube.config
defaultMode: 420
serviceAccountName: virtual-kubelet
Expected behavior
1 add vkubelet node success ，
2  then delete and add vkubelet again ，
the master cluster webhook MutatingWebhookConfiguration ‘s  caBundle
x509 error
k8s_api_server
container_name:kube-apiserver
source:stderr
time:2023-07-13T01:48:43.95556069Z
content:W0713 09:48:43.955510       1 dispatcher.go:154] Failed calling webhook, failing closed mesh.XX.com: failed calling webhook "mesh.XX.com": failed to call webhook: Post "https://XX-mesh-webhook-svc.XX-mesh.svc:443/validate?timeout=10s": x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "Kubernetes")
Kubernetes version (please complete the following information):

Version of Upper K8s cluster
1.24.6
Version of Lower K8s cluster
1.26.3

Additional context
Add any other context about the problem here.

I am not sure I get it. Do you mean the tensile-kube webhook can not work or the webhook outside?   This looks like a CA isuue.
If your service is running in the sub cluster and you want access then from the subcluster. I would suggest to use self-singed CA not the CA same as the kubernetes.


Bug? PRs in wrong order on CLI

Not sure if I am mis-understanding how spr works or if this is a bug. :)
The CLI is showing the stack is different order compared to the order shown in the PR description...
PR-11325 should be at the bottom and PR-11323 on the top...
Is spr getting confused because the newer PR (higher PR number) is on the bottom of the stack?
When I try to spr merge, it tries to merge in the wrong order.
PR-11325 is the parent commit of PR-11323

What you are describing sounds like a bug, although this logic has been very solid for a while, so it's a big surprising.
When everything works correctly, both the cli and the added pr comment should show a stack growing upwards, meaning the oldest pr and first to merge should be at the bottom.
Did you do anything special to your commits to get into this state?
How does the output of git log --oneline -n 2 ? based on your description the commit corresponding to 11323 should be at the top?

git log --oneline -n 3 shows essentially this:
abcd44: Commit for PR-11323
fedbcc:  Commit for PR-11325
d45fee: origin/main

reverse order of git spr s ... 🤔
at some point along the lines, after git amend,  git spr u closed some PRs and reopened new ones for the same commit. So the older commit (fedbcc) got a newer PR number.
is the commit-id:fedbcc in the description how it tracks PRs across git amend changes? Maybe that got disturbed when I git amended?
is it getting confused by the PR numbers being in reverse order?

yes, commit-id is what spr uses to track and correlate between prs and commits.
spr doesn't care about pr numbers, it uses the order of commits from the git log command to order the prs.
if for some reason the commit-id is changed for a particular commit, after git spr update is called, the corresponding pr will be closed and a new one opened.
git amend, as far as I know, should not be changing the commit-id in the commit description.

Closing as a one off. Feel free to reopen if it occurs again.


feat: support tmq options session.timeout.ms and `max.poll.interval.ms

`

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 69.36%. Comparing base (224fac6) to head (9b4594b).

Additional details and impacted files
@@            Coverage Diff             @@
##              3.0     #338      +/-   ##
==========================================
+ Coverage   69.33%   69.36%   +0.02%
==========================================
  Files          88       88
  Lines       10791    10795       +4
==========================================
+ Hits         7482     7488       +6
+ Misses       2613     2611       -2
  Partials      696      696

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[Backport v1.0] CPU usage over 100% without any load introduced / images downloaded / containers running / VMs migrated

This is a backport issue for #1700.

The bug has been fixed on #2381


TALScrollBar + BackGround

How to customize the BackGround? It is empty, unlike the Thumb 🤔

Hello, everything has been fixed in the latest committed version.


More a question or feature.

I want your relay node to work with if statements. I was currently using this but if you have another option I would use yours to keep the node packages to a minimum. The purpose is if A is true activate this node relay OR even better... mute this group and activate this other group. (I can do this now but not by a if statement).
Thank you.

To be clear. The issue so far is the relay node can not attach to any other node I am aware of outside of your suite.

So, this isn't going to work for the node you've pointed to, because all muting/bypassing is a client-side event. You mute/bypass nodes (even using the Fast Muter, Relay, Repeater, etc), and then you queue the prompt which sends the snapshot of the current workflow to the backend.
That if node, though, is evaluated on the backend after the prompt has been queued which, at that point, it's too late to then mute/bypass something.
Does that make sense?

Yes you are right but I was not clear so I apologize. This would be in a scenario where say I have 2 options (Using PuLID or something) where therr is a group that has a image of a face. If group A was off pick this face. If on use the other image.
I have come across a few scenarios where I couldn't use your switches but if your relay or muter had a boolean result the woekflow would go in a direction I wanted.


timestamp.json is expired

This is going to fall more into a procedural question than a problem with tufup, but I believe this could be helpful to others as well. I'm experiencing problems with my .exe failing with "timestamp.json is expired" when it begins a .check_for_udpates().
I've followed the feedback from The Update Framework's Frequently Asked Questions where it recommends having timestamp.json expiring after a day.

The Timestamp and Snapshot metadata should normally have a short expiration (1 day), whereas the Root and Targets metadata should expire less often (1 year). A good rule of thumb is the more often the metadata changes, the sooner it should expire.

So, my timestamp is reporting it's expired as expected with it being set for a day. It's keeping my executable from now running. I am completely missing what is supposed to be resigning the timestamp.json after one day?
I have my metadata files hosted in an S3 bucket that the app is checking for updates. What is the process to keep the file signed and updated and the executable not failing?

So, my timestamp is reporting it's expired as expected with it being set for a day. It's keeping my executable from now running.

@abenzick Are you using refresh_required=True?

@dennisvang No, I have it set to False. The error is getting caught on a try/except close.
My problem is why is the timestamp.json expired? Is it ok to ignore this? How will a new update every be triggered? Does it stay expired until a new update is put out and then it is caught?

Thank you. I haven't seen any discussions on practical applications or procedures for how people manage the signing of the files. Having a cron job or similar functionality like that make sense.

@abenzick PEP458 discusses the integration of TUF with PyPi (a public package repository). Although PyPi represents a much more complex use case than ours, the document does discuss the signing process, and I think it gives a good impression of some of the security trade offs.

Closing this for now. Feel free to re-open if you have any other questions.


remove wrong market OXY/USDT

Please remove wrong market OXY/USDT because it is market for OXY/WUSDT pair. And there is the OXY/WUSDT market in list (please, check previous element in array).

Thanks for the PR. Fixed in 41d814d4d3fea082c6f9c9db401f2f09bb1370e4


Add a button to clear the graph (call clearGraph())

Right now if you want to restart the research you need to reload.

Would be highly appreciated.
Unfortunately, users don't necessarily know of F5 or reload page


FeatureRequest: Motion support for multiple devices

I am trying to use the Decks gyro and the gyro of a connected Steam Controller.
I would love to see support for ble connected controllers.
There currently does not seem to be a way to use the gyro without mapping it to a Joystick for the Steam Controller.

Second this. After the installation of this DSU, which works perfectly, the old steam-gyro-for-cemuhook gives error all the time.

This tool is specifically for Steam Deck's gyro. Handling Steam Controller's gyro is out of scope for this project.
steam-gyro-for-cemuhook shows error probably because it uses the same UDP port. Looking at it's github page it should be configurable there, so setting a separate port should work. I will check it as soon as I am able to.

I know of, and had tested, steam-gyro-for-cemuhook, but the issue with that is it seems to only work when using cemu to enable the controller. I could not get it to recognize the controller for use with other emulators.
And yes it required configuring a different port. But that is not why I suggested supporting it here.
The steam-gyro-for-cemuhook repository is archived, so it will not recive any updates going forward. And eventhough it has some forks, most of them are far behind. That is why I opened this request.
I do not know alot about the cemuhook or how it works, but it seems that the one there is specifically for cemu, this project can be used in multiple emulators. I am using this for yuzu for example. And while yuzu can find the server of steam-gyro-for-cemuhook under the new port, it is not reciving any motion data. The interface of that tool is also not showing any input from the controller. So I am guessing it is missing a link which cemu provides.
If you do not want to support other divices I can understand that, in that case you may want to convert this to a discussion to maybe figure out how to get it working and or or close this as not planed.

Hm... Maybe steam-gyro-for-cemuhook is missing the handling of the "request version" telegram. It is the only thing that cemuhook doesn't use compared to e.g. built-in DSU handling in Cemu.
If I'm going to provide Steam Controller support, it will probably not be within this project because of lack of time. The easiest way will be to fork this repo and modify code to handle Steam Controller instead of Steam Deck.
But, it will not be possible to use them both at the same time. It will be possible to make simple script to switch between them though. I am not completely sure if that's something that would satisfy the need for Steam Controller support. Would it?

I am guessing that it is a little more, as the Steam Controller is a Bluetooth Low Energy device and probably is not constantly sending gyro data if not configured to do so. But this is just me guessing.
Having 2 services is not a problem, I figured that would be required if using both of them anyway.
Not being able to use them at the same time is not very helpful, as that is what I am trying to achieve. Maybe it could be possible to change the port on one of them. Through environment variable for example?
Anyway having it working at all would be a great step in the right direction, figuring out how to run it together can follow later.
I will close this here as you stated it is not going to happen in this repo.
Thank You.

Making port configurable via config file is a planned feature.
Does yuzu allow to choose a port? And to use 2 sources at the same time? In Cemu you can only use one, so running them at different ports would not help anyway.

I yuzu I can add as many motion sources as I wish. But since only one is currently delivering motion data I cannot say if it works using multiple simultaneously, but since the Switch Joycon settings have to motion sources themselves I guess it will.


Scroll through pages

I use the Embed-pdf-shortcode for displaying my CV on my personal website.
I wonder if there could be an option in which the few pages will display automatically one after the other (as a long page) without the need to press next/previous.

Hey there!
Great to know that you are using it to display your cv.
The shortcode uses pdfjs by Mozilla so ideally it should support everything that is supported by it.
Let me see if I can enable that or provide a configure option.
It would be great if you could raise a feature request issue.
Please do share the link to your website / page.

Hi ,am sorry for the long delay.
Where should I raise a feature request?(I'm quite a newbie)
Here's a link to my cv page on my website

I've embedded my CV in my portfolio page without the pagination. Currently you'll have to scroll through the entire page. You can add a inner scrollable by adding overflow-y-scroll to the css. Hope it helps.
Link to repo: https://github.com/SuryaThiru/portfolio

I've embedded my CV in my portfolio page without the pagination. Currently you'll have to scroll through the entire page. You can add a inner scrollable by adding overflow-y-scroll to the css. Hope it helps.
Link to repo: https://github.com/SuryaThiru/portfolio

Thanks @SuryaThiru . Would you consider raising a PR for this?

@anvithks Unfortunately, I am unable to find the time to do so at the moment. But, I hope my implementation can be a reference for those who wish to.

The solution by SuryaThiru works, here is how I installed it:

copy embed-pdf.html from here: https://raw.githubusercontent.com/SuryaThiru/portfolio/6af98cdaf0eb3f8f89e155c24463b206c2baf5b5/layouts/shortcodes/embed-pdf.html
check that pdf.js can be accessed here: /static/js/pdf-js/build/pdf.js

Done!

Thank you @RoneoOrg .@SuryaThiru if it's alright can I or @RoneoOrg add this to Hugo Embed Pdf? I can share a reference to your repo in the code.

Thank you @RoneoOrg .@SuryaThiru if it's alright can I or @RoneoOrg add this to Hugo Embed Pdf? I can share a reference to your repo in the code.

Please do! I wanted to get it sorted myself but couldn't find the time to. I'm glad you guys were able to resolve this.

Here is a repo where the full PDF is displayed without pagination:
https://github.com/RoneoOrg/hugo-embed-pdf-shortcode-roneo
See especially the commit https://github.com/RoneoOrg/hugo-embed-pdf-shortcode-roneo/commit/a4c6c7b76d53fe8ad2c9476c73b5d03545efbdb1


Run Model Checkered Result

When I run the landscape modeler with my own data, the final results come out to a checkered result. I am not sure why it is. I have up loaded a screen shot of what I am talking about, and the landscape modeler is hosted on <IP_ADDRESS>/landscape-modeler-js/src. I would appreciate some insight.
Thanks in Advance!

Hi irmcinto, it's hard to tell what's wrong without seeing your data, your mosaic, and knowing the versions of ArcGIS Desktop and Server you are using.  Can you provide the configuration info and give access to the data?  Thanks.

Hello  paniello,
Thanks for the response, but I was able to finally figure it out. I do apologize for not updating the page.


Make iterators const if possible

Const-correctness is an important guide to express your code in a stabil way, so I tried to convert iterators to const_iterators every place if possible.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

verify

Linux test FAILed.

@OzanCansel Thanks for the review, I just reverted back changes on generated source files.


Length kernel returns bytes not character length

Note: migrated from original JIRA: https://issues.apache.org/jira/browse/ARROW-11434
The rust length kernel currently counts number of bytes/octets rather than characters given that Arrow uses UTF8 encoding.
This means that the result of the length kernel on a string like josé will be 5 bytes rather than 4 characters.

Comment from Mike Seddon(MikeSeddonAU) @ 2021-01-30T05:45:15.085+0000:
The function comments have been updated as part of https://github.com/apache/arrow/pull/9243 to clarify that `length` returns `bytes` not number of characters.
Comment from Mike Seddon(MikeSeddonAU) @ 2021-01-30T05:46:25.295+0000:
This has been addressed in https://github.com/apache/arrow/pull/9243 with updated comments to clarify that this function returns number of bytes not number of characters.

Hi - I would like to take on this issue please. // @alamb

I've had a look around and see the length kernel being used in the implementation of OctetLength which appears to be tested specifically on the string josé here: https://github.com/apache/arrow-datafusion/blob/master/datafusion/src/physical_plan/functions.rs#L2554-L2561
I could use some help with understanding this issue please -- what is the desired outcome -- should the assertion in the test referenced above be 4 instead of 5?
Thanks.

Hi @novemberkilo  -- I think you are correct that this ticket is ill formed
Specifically, since this ticket was filed, DataFusion appears to have both CharacterLength as well as OctetLength, perhaps due to the great work from @seddonm1
https://github.com/apache/arrow-datafusion/blob/master/datafusion/src/physical_plan/functions.rs#L225
Closing this one as I don't think it is actionable anymore


DDR Clock with Arrows

I am wondering if there could be a new feature for adding up and down arrows on a clock to signify DDR clock edges.

Good idea. And easy to implement.
I guess we would need two variations:
p -> P -> ?
n -> N -> ?
The hardest part is to choose a letters.

You could maybe use pipes?
P| for starting with a positive edge or N| for starting with a negative edge.  Then the period as usual.

For my purposes D for DDR would be sufficient and you could just use a phase shift to change the polarity.  Most DDR clocks I am used to run continuously and you don't have to worry about which edge is first.  There might be use cases I have not considered, so including a negative polarity DDR does make sense.  'd' would be easy to remember but not exactly fit.  Otherwise I say use 'V' for a negative edge first DDR clock.

Did this ever get implemented?


How do specify the upscale size?

When using RealESRGAN_x4plus_anime_6B, the size increases in x4(512=>2048), but I need x2(512=>1024). Which parameter do I need to change or add?

I'm worried that this trainings are working on a fixed scale, for example RealESRGAN_x4 means always a x4 scale.

RealESRGAN_x4plus_anime_6B in the description of the model it is written that it supports 2x magnification


adds mock ticking, removes spm, drops node 4 and 6

Hey, not sure if you want to incorporate any of the features we've added in our fork. We've dropped support for Node 4 and 6 because our systems don't need it but can easily be put back. The main goal of our fork is to add the ability to 'tick' the mocked now.
Of course, if you're interested in these updates we will change the package name back and all that.
Some other things we did:

Drop spm as it seems to be un-maintained (at least spmjs.io is not up and running)
Add TypeScript defs
Add a package-lock.json for modern npm
Update mocha to 5.2.0
Update should to 13.0.0
Add other dev-deps for typings

Update:
Any of the above changes we made are up for removing, just wanted to get your feedback on if you'd like to see the tick functionality.

In favor of #21


Running phpunit tests PDOException: SQLSTATE[HY000] [2002] Connection timed out

Hi,
I've followed the excellent guide here: https://mglaman.dev/blog/running-drupals-phpunit-test-suites-ddev for getting phpunit running in ddev with Drupal, but I've run into an issue when connecting to the database and I'm struggling to debug.
I've got drupal/core-dev as a dev requirement so that I can run tests. I copied the core phpunit.xml.dist file and have moved that into my root directory:
<?xml version="1.0" encoding="UTF-8"?>

<!-- TODO set checkForUnintentionallyCoveredCode="true" once https://www.drupal.org/node/2626832 is resolved. -->
<!-- PHPUnit expects functional tests to be run with either a privileged user
 or your current system user. See core/tests/README.md and
 https://www.drupal.org/node/2116263 for details.
-->
<phpunit bootstrap="web/core/tests/bootstrap.php" colors="true"
         beStrictAboutTestsThatDoNotTestAnything="true"
         beStrictAboutOutputDuringTests="true"
         beStrictAboutChangesToGlobalState="true"
         printerClass="\Drupal\Tests\Listeners\HtmlOutputPrinter">
  <php>
    <!-- Set error reporting to E_ALL. -->
    <ini name="error_reporting" value="32767"/>
    <!-- Do not limit the amount of memory tests take to run. -->
    <ini name="memory_limit" value="-1"/>
    <!-- Example SIMPLETEST_BASE_URL value: http://localhost -->
    <env name="SIMPLETEST_BASE_URL" value="http://localhost"/>
    <!-- Example SIMPLETEST_DB value: mysql://username:password@localhost/databasename#table_prefix -->
    <env name="SIMPLETEST_DB" value="mysql://db:db@db/db"/>
    <!-- Example BROWSERTEST_OUTPUT_DIRECTORY value: /path/to/webroot/sites/simpletest/browser_output -->
    <env name="BROWSERTEST_OUTPUT_DIRECTORY" value="sites/simpletest/browser_output"/>
    <!-- To have browsertest output use an alternative base URL. For example if
     SIMPLETEST_BASE_URL is an internal DDEV URL, you can set this to the
     external DDev URL so you can follow the links directly.
    -->
    <env name="BROWSERTEST_OUTPUT_BASE_URL" value=""/>
    <!-- To disable deprecation testing completely uncomment the next line. -->
    <!-- <env name="SYMFONY_DEPRECATIONS_HELPER" value="disabled"/> -->
    <!-- Example for changing the driver class for mink tests MINK_DRIVER_CLASS value: 'Drupal\FunctionalJavascriptTests\DrupalSelenium2Driver' -->
    <env name="MINK_DRIVER_CLASS" value=''/>
    <!-- Example for changing the driver args to mink tests MINK_DRIVER_ARGS value: '["http://<IP_ADDRESS>:8510"]' -->
    <env name="MINK_DRIVER_ARGS" value=''/>
    <!-- Example for changing the driver args to phantomjs tests MINK_DRIVER_ARGS_PHANTOMJS value: '["http://<IP_ADDRESS>:8510"]' -->
    <env name="MINK_DRIVER_ARGS_PHANTOMJS" value=''/>
    <!-- Example for changing the driver args to webdriver tests MINK_DRIVER_ARGS_WEBDRIVER value: '["chrome", { "chromeOptions": { "w3c": false } }, "http://localhost:4444/wd/hub"]' For using the Firefox browser, replace "chrome" with "firefox" -->
    <env name="MINK_DRIVER_ARGS_WEBDRIVER" value=''/>
  </php>
</phpunit>

I'm then running the tests by ddev ssh and then navigating to my web directory and running:
../vendor/bin/phpunit -v -c ../phpunit.xml path-to-test
But I'm getting a connection refused error from MySql:
Exception: PDOException: SQLSTATE[HY000] [2002] Connection refused
Drupal\Component\DependencyInjection\PhpArrayContainer->createService()() (Line: 79)

The db string is being pulled through to the connection in web/core/lib/Drupal/Core/Database/Driver/mysql/Connection.php as a var_dump of $connection_options shows:
array(8) {
  ["driver"]=>
  string(5) "mysql"
  ["username"]=>
  string(2) "db"
  ["password"]=>
  string(2) "db"
  ["host"]=>
  string(2) "db"
  ["database"]=>
  string(2) "db"
  ["namespace"]=>
  string(33) "Drupal\Core\Database\Driver\mysql"
  ["prefix"]=>
  array(1) {
    ["default"]=>
    string(12) "test59707422"
  }
  ["pdo"]=>
  array(5) {
    [3]=>
    int(2)
    [1000]=>
    bool(true)
    [1005]=>
    bool(true)
    [20]=>
    bool(true)
    [1013]=>
    bool(false)
  }
}

I'm going to keep investigating at my end, but any help is much appreciated.
Cheers
Tom

The credentials look right, but I think it's not using those credentials. It's probably using "localhost" somewhere for the host.
You can easily tell if "connection refused" is valid, just ddev ssh and telnet db 3306. If it connects, the connection is not being refused.
Please note the many resources on this topic in https://github.com/drud/ddev-contrib as well, including at least one based on Matt's article (https://github.com/drud/ddev-contrib/tree/master/docker-compose-services/drupalci-chromedriver)

Are you possibly running phpunit on the host instead of inside the container? It needs to be running in the web container for those credentials to work.

@rfay
Thanks for the quick reply! telnet db 3306 works just fine so it doesn't look like thats the problem.
I've just clocked that a new file web/sites/simpletest/32770135/settings.php with some odd looking settings has been added, so I'm going to investigate if that is being used instead of my settings.
Running these commands inside the container so should be good to use db as the database host.
I'll report back!
Cheers
Tom

OK odd as you like.
Looks like simpletest created a settings.php which had placeholders instead of actual db settings in it and then decided to use those which caused the issue.
Nowt to do with ddev, but thanks for your help on getting it debugged @rfay
Closing now and I'm going to have a lie down.

Hi,
For anyone else bumping into this issue, here is some more info. From what I can gather simpletest has done the following:

ignored the db string in phpunit.xml
made a copy of default.settings.php and stuck that into sites/default/simpletest directory

Then used those db credentials to try and connect to the database. The debug I added was showing the settings from phpunit.xml but they aren't being used at all.
Not sure what the fix is here as I seem to be the only person having the issue so its most likely a mis-configuration on my part.


[enhancement]: upload model via model manager

Is there an existing issue for this?

[X] I have searched the existing issues

Contact Details
No response
What should this feature add?
It would be great to have the ability to upload a model from your local machine via the web interface.
This would be useful for sites such as Civit which often only allow Model/LoRA downloads when logged in and that don't work well with / don't have an API key available in InvokeAI's environment.
Currently:

I download a LoRA or Model locally
1a. Maybe try it out with something on my machine quickly
I have to rsync it to my server running InvokeAI to the container volume path on the host
SSH to the server
3a. If some files are LoRAs and some are base models, move them around accordingly
chmod/chown
Find the path in the mounted container volume
Copy it
Load InvokeAI
Go to the model manager
Add model
From path
Paste the path in relative to the containers fs
Click search (weirdly pressing enter doesn't work here?)
Find the model I just copied across (would be good if these could be sorted by date added)
Import it
Refresh models

etc... which is a right pain in the bum.
Ideally there'd be either or both:
A) An "upload model" button that pops up a browser file dialogue to select a safetensors file to upload.
and/or
B) The ability to drag a safetensors model onto the invokeAI web interface and have it upload.
Alternatives
No response
Additional Content
No response

I don't think we want to implement a separate frontend for uploading models in the UI.
You can set an API key, though: https://invoke-ai.github.io/InvokeAI/features/CONFIGURATION/#model-marketplace-api-keys
Does that address your use-case?

I was thinking more just another tab or button in or next to the scan folder item:

or simply if you dragged a model file into the model manager pane, similar to how you do with importing images.
I looked at adding API keys via the config file - but as it's committed to git I didn't really want to add secrets there. If InvokeAI can read the secrets from other files or environment variables that may be good enough as a workaround though?

Yes, you can read from environment variables. There's an example here: https://invoke-ai.github.io/InvokeAI/features/CONFIGURATION/#environment-variables
Uploading files would similarly require the API key, no?
To clarify, handling for uploading files to whichever model marketplace, via API or UI, is out of scope. Big can of worms - we don't want to be responsible for all of that complexity.

Oh I missed the env vars for remote tokens! Sorry about that.

Uploading files would similarly require the API key, no?
To clarify, handling for uploading files to whichever model marketplace, via API or UI, is out of scope. Big can of worms - we don't want to be responsible for all of that complexity.

Sorry no, I meant from the users local machine to InvokeAI via the browser

Ohhhh - I misunderstood. That's much more approachable and a nice UX improvement. I think we'd be happy to review a PR to do this. @hipsterusername thoughts (see message just above mine)?


Add an issue template

Basically a file with a better phrasing of:

Please file issues and questions related to the TOML specification at [link]. This repository/issue tracker is only for the toml.io website and not for the language specification.

Originally posted by @pradyunsg in https://github.com/toml-lang/toml.io/issues/16#issuecomment-655828823

Fixed in e0201a844607f01f4df6c473f4c2ce61adb4e168. :)


Error in 2.1.0 index.js Unable to resolve some modules 'TogglTextFieldcke'

After npm updating to 2.1.0 we have the following error:
Unable to resolve some modules:

  "./TogglTextFieldcke" in ...../node_modules/redux-form-material-ui/lib/index.js
(web.browser)

Reverting to 2.0.0 solves issue.
Looks like it's supposed to be Toggle but possibly messed up in transpiling.

Saw that too. Very weird npm/IDE error.

Fixed in v2.1.1. Apologies.


Inconsistent hover popups

When inside function arguments parentheses, it displays:

When hovering, this instead:

Is it possible to make hover popups display as the first type? Thanks

When we show signatures, LSP is safe to always syntax-highlight the server's response.
In your hover example, the python language server is not marking up the first line with a language field, so we don't know if it's code or a paragraph.
This is fixable by changing pyls's hover.py () usage of Definition.docstring() here: https://github.com/palantir/python-language-server/blob/3c1f18361179f3a687bdef6209e136a10bbf043f/pyls/plugins/hover.py#L21
Instead of directly returning docstring, that function could return something like
[
{ language: "python", value: make_a_signature_here(definitions[0]) },
definitions[0].docstring(raw=True)
]

Is there any way I could test this locally? Should I uninstall pyls with pip and reinstall from a modified local copy? Thanks


Change storage and application of start time on wrappers

Goal

Testing

Release Notes

WHAT:
WHY:
WHO:

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#911
#910
#909
#918  👈
#917
#908
#907
#906
#903 : 1 other dependent PR (#867 )
#902
#897
#896
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @bidetofevil and the rest of your teammates on  Graphite


Proposal: Remove docker image tag requirements

I propose that we forgo the image tag requirements from Docker images in favor of OCI annotations, to communicate the version of the packaged PostgreSQL.
Currently the image tag requirement creates a problem for adopting certain externally managed Docker images as their tags may be incompatible.
I propose the following change. The operator:

First checks if there is an: org.opencontainers.image.version annotation and uses that.
If one is not found only then can it try to infer the version from the image tag as a fallback and for backwards compatibility.

This should also ensure a smooth transition, as the image tag would remain as a fallback when an annotation isn't found.

Relying on an annotation would mean cnpg would have to interact with the registry directly?

During the CloudNativePG meeting on January 3d, the following ideas for a solution were discussed under Compatibility with other PostgreSQL “distributions”:

Add an annotation to not check the version from the image tag
Add a field that contain with a regex that extracts the version from an image tag
Add a field that just overwrites the major version

Each of these solutions is feasible within the operator. Can we discuss the pros-and cons of each of the approaches and choose one?

#3711 Would resolve this indeed. Any idea on a release timeline?

Closing this since it's being handled with the image catalog project


fix(popover): style imports

Related Ticket(s)
Closes #10827
Description
Since styles were updated in @carbon/styles in popover: https://github.com/carbon-design-system/carbon/commit/734a3bea26e5b74a520312b7683ecb2a852ac741. We can no longer extend how we were doing it before
fixes all components with popover (copy-button, code-snippet, etc)
Changelog
New

{{new thing}}

Changed

instead of extending i manually copy and pasted the styles over

Removed

{{removed thing}}

Thanks! @annawen1 could we have a new release with it?

@abdonrd we will try to cut another rc today!


Move from promise-mysql to squelize

This will allow us to plug in sqlite in the next PR.
This should obviously require full testing again.

Yeah, should be. Sorry, I've been a bit busy. But it should be good to test.

LGTM, tested message relying and setting timezone.

@Raia says she is good with just having @robdy 's review, as she doesn't have time. So I'll just merge.


clippy: allow dead_code for GraphVoteAccountModeError, DroppableTask and SubscriptionToken

Problem
clippy changes for Rust v1.78.0
GraphVoteAccountModeError

DroppableTask

SubscriptionToken

Summary of Changes
allow dead_code for them. we can create some issues to track/refactor later 💪

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 82.1%. Comparing base (b284eb0) to head (8328566).
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1246   +/-   ##
=======================================
  Coverage    82.1%    82.1%
=======================================
  Files         886      886
  Lines      236580   236580
=======================================
+ Hits       194338   194403   +65
+ Misses      42242    42177   -65