IndexError: list index out of range

Hi, I'm trying to use this for md5 but having the following issue. Any idea why this might be happening?
Thanks
[*] Bruteforcing 'type 5' hash...

        Found 14344391 passwords to test.
        Testing: $1$VWmp
        Hash Type = MD5
        Salt = VWmp
Traceback (most recent call last):
  File "cisco_pwdecrypt.py", line 173, in <module>
    type5_decrypt(args.type5, args.dict)
  File "cisco_pwdecrypt.py", line 128, in type5_decrypt
    print("\tHash = %s\n" % split_pwd[3])
IndexError: list index out of range

When I put in a print statement to see what split password is (split_pwd)
It's coming back with: ['', '1', 'VWmp']
So slice 3 is out of range. It's almost like it's not passing the whole md5 string in the script. This is the md5 I am passing to the script: $1$VWmp$vnpGGorzU9NOGkw9qHnMS0

Hi !
As the hash format contains "$" signs, you have to escape them :
$ python3 cisco_pwdecrypt.py -u "\$1\$VWmp\$vnpGGorzU9NOGkw9qHnMS0" -d passwords.txt


Assistance with repo and to-do list conversation

Hey jvmancuso,
I would love to help compare the two papers, both are really interesting in targeting parameter space exploration vs. action-selection space exploration.
Regarding to-do bullet points 2 and 3, I have been doing a fair amount of experimentation with RL algorithms in the Atari domain and have found that openAI's Baselines repo contains a file 'results_plotter.py' that has been very helpful in plotting experiment data.
Your 5th and final bullet point is to start experimentation, and in parenthesis you mention starting with mujoco because it is "cheaper", can you explain in what sense it is cheaper?
Finally, let me know if you've done any local work on this repo or experimentation that has yet to be pushed! Also let me know if you could use some extra help on any of this :)

Thanks for reaching out, would love some help with this!  I don't think I have local work to push, but I'll check my machines.  I've always planned on returning and finishing it, but my day job and other projects unfortunately pushed it to the back of the queue.
I meant cheaper in a computational sense.  I have a GPU at home that I run experiments on, but the Atari experiments would take quite a long time to run there (e.g. Noisy-DQN trains for 200M timesteps if I'm remembering correctly, which would've taken at least a month to train on one environment for my machine).  In contrast, the MuJoCo 1M timestep benchmark is a bit more reasonable, and would be easier to run at home.  It's also not feasible to run MuJoCo in the cloud, since each license is linked to a particular machine's ID, so that's why I wanted to start there with my local machine.
With respect to point 2 -- I'd planned on thinking through what other interesting metrics I might be able to track in the interest of reproducing/comparing the two methods.  I'd planned to finalize all that before committing to running the DQN experiments.
With respect to point 3 -- would be very interested in using result_plotter.py! An out of the box visualization tool seemed ideal, but I hadn't seen that one before.  It'd probably be a good idea to include that stuff in the Logger class that's there currently, if possible.

Wow! 200M timesteps for atari with DQN is a LONG time lol, most of my experiments have been 10M to 20M timesteps. What kind of a GPU do you have access to?
If you are free at some point this week I would love to discuss the different metrics you are considering to track in the experiments.

Sounds good, what's your info?  Can also contact me through other media sites,  which you can find  links to here: https://manc.us


Profile picture issue

when new user login then automatically create profile that is given different profile picture .
how to clear that profile picture and fix standard one. give reference

If you want to give the user a custom profile during login, you would need to set the defaultUserAvatarURL property during setup:
Configuration.Builder builder = new Configuration.Builder(context);
builder.defaultUserAvatarUrl("http://web-address-of-avatar.png");


Invalid use of this.type for clone methods

I noticed that Data.cloneType has a return type of this.type (Data.scala:64) which in scala isn't just the class of the receiver object, but a special type consisting of only the receiver object. It does not make much sense for a clone method to return the exact same instance it was invoked on, so at least it is misleading. See also this discussion about using this.type for clone.
It also requires explicit type casts for implementers (e.g. in Decoupled.scala:15). Given scala's type system those casts would be invalid. They only work because at runtime the weaker JVM's type system is used to check casts.
AFAICT, the scala compiler would also be free to ignore the actual return value, and just use the receiver object instead. I don't think this is likely to happen though.
The intended type signature is probably def cloneType: this.getClass, except that this is not valid scala. The usual work-around involves using a trait (trait CloneableType[T]) which is implemented by derived classes (class MyBusBundle(busWidth: Int) extends CloneableType[MyBusBundle]).
I assume this is not what you'd want in Chisel, given the excessive verboseness when implementing parametrized bundles. It probably also wouldn't work with the reflection code that gives a generic cloneType implementation for non-parametrized bundles.
I have some vague ideas on a different approach, but wanted to ask whether a fix for this would be welcome, before spending time on it. The idea is to change uses of foo.cloneType to Data.cloneType(foo) or just cloneType(foo) with the right import, and making foo.cloneType return just Data.
The implementation would be along the lines of this:
abstract class Data {
    ...
    def cloneType: Data
    ...
}
object Data {
    def cloneType[T <: Data](data: T): T = data.cloneType.asInstanceOf[T]
}

It would still be possible to write implementations of cloneType that return a Data object of the wrong type, causing an error at runtime. But this is the same as before with the explicit and incorrect cast to this.type needed for implementations.
There are some other invalid uses of this.type for clone like methods. The same would apply to them.
PS: Is there some chisel development mailing-list or chat? I've only found the chisel-users group, which did not have any development discussion.

Instead of the trait using F-bounded types, I would strongly prefer the typeclass approach. I don't think designs usually/should rely on runtime polymorphism for the cloneType methods so that should be OK.
Separately, the workaround with object Data is reasonable although people are likely to complain about the extra verbosity.

This is something we should implement, but we need to determine how to make this work in compatibility mode.

It might be a good idea to have cloneType return type Data, so that when an implementation of cloneType is required, it doesn't require the boilerplate (and probably not-strictly-correct) .asInstanceOf[this.type].
This would be a API-breaking change, and existing uses of cloneType might break (but there really aren't good reasons to call that anymore). @jackkoenig are there direct uses of cloneType in rocket-chip code that might break?
Though since cloneType is no longer really a public API, this change can happen in the future.

Can't fix. Cannot change type in cloneType

Longer rationale for the record: cloneType needs to return the same type, and there's code that depends on this static type - so we shouldn't break that. The clean alternative is F-bounded types, where cloneType is type-parameterized on the enclosing object and returns that type parameter, though this would (probably?) require F-boudned types as part of the Data hierarchy, which would break even more code.
In any case, we're no longer recommending the use of cloneType, and clone-like operations like chiselTypeOf and friends follow the type parameterized pattern on the argument instead.


Moving dsicsussion to Blog doesn't work

When there is a discussions in the forum and it is on a normal discussion tag, when you then move it to a blog tag, then click on the discussion from the list, you get the redirect page and then the following error :
 Exception
V17Development\FlarumSeo\Extend::setTitle(..): Container was not yet initialized.

Never mind, this works on one of my instances, the other has some huge problems that are most certainly not related.

Never mind, this works on one of my instances, the other has some huge problems that are most certainly not related.


Suggestions for using AsyncTaskTarget

Change string EndPoint into public Layout EndPoint { get; set; } and replace ExpandEnvironmentVariables with RenderLogEvent(EndPoint, LogEventInfo.CreateNullEvent()):
https://github.com/anton-gogolev/nlog.loki/blob/90b21ad9444adcb72dcb5fcd2da599a65197f327/src/NLog.Loki/LokiTarget.cs#L20
Remove override of protected override void Write(IList<AsyncLogEventInfo> logEvents):
https://github.com/anton-gogolev/nlog.loki/blob/90b21ad9444adcb72dcb5fcd2da599a65197f327/src/NLog.Loki/LokiTarget.cs#L37
Consider setting Target-property BatchSize = 50 by default:
See also Batch Logic-options: https://github.com/NLog/NLog/wiki/How-to-write-a-custom-async-target#batch-logic

@snakefoot How did you even found out about that project 😅 ?
I don't feel that having an Endpoint as Layout is good. Layouts are expected to be re-rendered each and every time -- like ${date} for instance. Rendering Endpoint only once will be counter-intuitive, and re-rendering it on every write can have significant performance impact because we might be very well connecting to a different URI each time, thus not using HTTP Keep-Alives and the optimizations that HttpClient has.
Your other points are valid, but I was unable to get proper batching support during my tests. I'm still investigating that,

I don't feel that having an Endpoint as Layout is good. Layouts are expected to be re-rendered each and every time -

Layouts doesn't always have to be rendered for each LogEvent. Especially when making it clear that one uses default-logevent: RenderLogEvent(EndPoint, LogEventInfo.CreateNullEvent()):.

re-rendering it on every write can have significant performance impact because we might be very well connecting to a different URI each time,

You only have to render it once, when initially creating the EndPoint Layout allows you lookup settings in the environment:

https://github.com/NLog/NLog/wiki/ConfigSetting-Layout-Renderer
https://github.com/NLog/NLog/wiki/Environment-layout-renderer
https://github.com/NLog/NLog/wiki/Gdc-Layout-Renderer

Why is this issue still open?

Closing issue as resolved by 0cc5bee


AttributeError: 'Namespace' object has no attribute 'noise_offset' when training in Dreambooth LoRA

Overview
I'm trying to make a LoRA using the Dreambooth LoRA training function but no success. The process always stalls at this bug report message:
CUDA SETUP: Loading binary E:\kohya_ss\venv\lib\site-packages\bitsandbytes\libbitsandbytes_cuda116.dll...
use 8-bit Adam optimizer

Console log
No matter how many times I perfectly reinstall Kohya_ss GUI from fresh, I keep getting this error when attempting to Train Model under Dreambooth LoRA:
AttributeError: 'Namespace' object has no attribute 'noise_offset'

Please check this full console log.
Diffusion Models Used
I tried using the following as pre-trained source models:

Stable Diffusion v1.5
Anything v4.5

My Installation
I'm using Nvidia RTX 2060 6GB. I'm able to run Stable Diffusion from Automatic1111 just fine. I also satisfied the required dependencies:

Python 3.10
Git
Visual Studio 2015, 2017, 2019, and 2022 redistributable

What I Tried

Using different training batch sizes (1/2/3/4)
Enabling Gradient Checkpointing
Enabling Memory efficient attention
Disabling 8-bit Adam
Using xformers

What am I missing?

Fixed the issue 👍
I had to replace kohya_ss/library/train_util.py with the one prescribed here: https://github.com/bmaltais/kohya_ss/issues/192#issuecomment-1435526398
Training in Dreambooth LoRA is working as intended now.


add validation to LedgerIndex

Proposed fix for #93 .
Added a method isValid to LedgerIndex to check the validity of the wrapped index.
The LedgerIndex.of factory method now throws a NumberFormatException if the given value is not a valid index.

Marked constructor in LedgerIndex as deprecated, with a javadoc comment explaining the reason of the deprecation.
Added unit tests to LedgerIndexTest for LedgerIndex's factory methods.

I fixed the code coverage loss I introduced, jacoco now only highlights the code that was already not considered as covered before I made changes to LexerIndex.


Can't give input when user runs python script

I was hoping to use this for a personal IDE made in tkinter but when I try to run a python script that has an input command it gives the error:
"Exception in Tkinter callback
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/tkinter/init.py", line 1892, in call
return self.func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/tkterminal/ternimal.py", line 203, in _on_keypress
or ((insert_idx.column <= self._limit_backspace or False)
TypeError: '<=' not supported between instances of 'int' and 'NoneType'"
Not only this, but when I use the command "python" it also gives that error.

thanks for reporting it, will look into it 👍

@Saadmairaj Any progress?

Tkterminal is not a real terminal, it just like an extended Input widget with custom commands override the default ones.
Python interperter/input() takes input, right? As well as any other shells like cmd, bash. And tkterminal can't handle this since it uses subprocess as described in README.md.
This is an advanced topic, and if tkterminal could take inputs for other programs easily without passing HTML tags, we could have a proper Tkinter terminal a long time ago (except for its ugly when used on Linux).
Better spawn a new external terminal process, or switch to toolkit that has a terminal widget like Gtk (not cross-platform) or Qt.

Tkterminal is not a real terminal, it just like an extended Input widget with custom commands override the default ones.
Python interperter/input() takes input, right? As well as any other shells like cmd, bash. And tkterminal can't handle this since it uses subprocess as described in README.md.
This is an advanced topic, and if tkterminal could take inputs for other programs easily without passing HTML tags, we could have a proper Tkinter terminal a long time ago (except for its ugly when used on Linux).
Better spawn a new external terminal process, or switch to toolkit that has a terminal widget like Gtk (not cross-platform) or Qt.

My bad for not remembering that IDLE has Python interpreter in Tkinter, and commenting right before I go to school.
Here's what I'm talking about Python shell in IDLE: https://github.com/python/cpython/blob/main/Lib/idlelib/pyshell.py
Tkterminal works like that shell too (see the PyShell class), a lot of things have been made in order to make the Tkinter shell work.
So actually, making TkTerminal, or Tkinter.Text accept inputs for shells is able, but takes a lot of work.

Using Tcls Expect package could work :).


CMake: APIs not exported when building shared library

Hi!
When building with CMake, the shared library is missing some important API-s (sqlite3_key for example). I have checked the CMakeLists.txt, there is a variable which is defined, but never used:
set(SQLITE3MC_DLLRES_SRCS
src/sqlite3mc.def
src/sqlite3mc.rc
)
The .def is needed to export the apis when building as a shared lib.
I added this to the sources, but then I got 54 undefined reference link errors.
These 54 functions are not present in the static library, I'm not sure why they are listed. If I remove them from the def file, the shared lib builds fine and contains the necessary apis.

When building with CMake,

Unfortunately, I myself have only very limited experience with CMake. CMake support was contributed by another user.

the shared library is missing some important API-s (sqlite3_key for example). I have checked the CMakeLists.txt, there is a variable which is defined, but never used: set(SQLITE3MC_DLLRES_SRCS src/sqlite3mc.def src/sqlite3mc.rc )

In case of a shared library build these files should be added, but obviously the CMake instruction to do that is missing.

The .def is needed to export the apis when building as a shared lib. I added this to the sources, but then I got 54 undefined reference link errors.

As you observed the .def file is not really suited to solve the problem. The reason is that the .def file reflects the extension selection used by the pre-generated build files coming with SQLite3 Multiple Ciphers. Depending on the actual option selection in CMake the .def file will contain entries for functions that are not enabled.

These 54 functions are not present in the static library, I'm not sure why they are listed.

They are listed, because they are compiled in with the pre-generated build files.

If I remove them from the def file, the shared lib builds fine and contains the necessary apis.

A better option to enable the API actually compiled in will be to define the preprocessor symbol SQLITE_API=__declspec(dllexport) if a shared library/DLL is built.
I will try to adjust the CMake file, but this may take a while.

Defining the preprocessor symbol worked, the .def file is not needed with this method. The .rc file should still be added to the sources if I'm correct. I will create a pull request with the changes.

Defining the preprocessor symbol worked, the .def file is not needed with this method.

Correct.

The .rc file should still be added to the sources if I'm correct.

Yes, this will add version information to the resulting DLL.

I will create a pull request with the changes.

TIA.

PR https://github.com/utelle/SQLite3MultipleCiphers/pull/125 fixing this issue was merged. Closing...


Lazyvim and VSCode often don't play together nicely

As I find myself working with neovim more and more I've adopted Lazyvim and tried to make it work together with VSCode. Unfortunately, as it stands now, things are still wonky. Neovim crashes, I get inline linting errors that don't make any sense, etc.
I've since removed ~/.config/nvim while I think of a more elegant solution.

Seems like this is a configuration issue potentially caused by an issue with VSCode that already landed in Insiders and will be shipped shortly (https://github.com/microsoft/vscode/issues/207813).

Nope, still an issue. For VSCode it is probably better not to configure LazyVim for the time being and rely solely on N
eovim for navigation.


Bug: Crash when deleting a table row in a table with merged cells

Deleting a row of a table that contains merged cells fails with a crash.
Lexical version: 0.10.0 (Latest)
Steps To Reproduce

Create a 4x4 table (not the experimental) in the Lexical Playground.
Merge cells (crash is consistently reproducible by merging cells as shown in the video)
Add two new rows at the end of the table
Try to remove them

Stack trace:
caught Error: Minified Lexical error #114; visit https://lexical.dev/docs/error?code=114 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at Ld (main.7d82f19f.js:21:129552)
    at ed.DEPRECATED_$getNodeTriplet (main.7d82f19f.js:21:216805)
    at Lj.$deleteTableRow__EXPERIMENTAL (main.7d82f19f.js:21:427956)
    at main.7d82f19f.js:21:1215511
    at eh (main.7d82f19f.js:21:189954)
    at th (main.7d82f19f.js:21:192095)
    at Dh.update (main.7d82f19f.js:21:213339)
    at main.7d82f19f.js:21:1215498
    at onClick (main.7d82f19f.js:21:1218228)
    at Object.Ct (main.7d82f19f.js:21:16658)
L

https://user-images.githubusercontent.com/88332746/233639948-201a0f24-765d-4633-b6cb-b401a217a26f.mov

Looking 👀


Implement Relation.with_columns for adding new relation columns

Codecov Report

Merging #14 (af0ebb9) into main (091a56e) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #14   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            6         6
  Lines          389       389
  Branches       108       108
=========================================
  Hits           389       389

Continue to review full report at Codecov.

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


Handle pax install

Handle installing direct from pax file;

move "install" code from zopen-install into common.sh to enable creation of zopen-upgrade script [separation of concerns!] with appropriate parameters added/removed from each module
refactoring monolithic "install" code [now in common.sh] into more specialized functions
Numerous qol fixes found while smoke testing including:
maintaining installation history so dependencies aren't checked multiple times (resolves #472  #431)
allowing an "a" option for the "Do you want to continue (y/n/a)?" question to automatically answer "yes" to any future questions [in case a command is run without -y/--yes and the user actually meant to!
performance when alternating/upgrading improved by diffing updated files rather than systematically checking all symlinks for existence [still required for removal]; resolve #533 as much as possible [removal processing will always be slow due to the need to check every possible file a package ships to see if that symlink is still active]
improving query of installed packages
improving screen formatting calculation using screen cols (resolve #468)
make install less noisier still  (resolve #381)
resolve #253

A global configuration for a paxfile repository [currently a single directory] can be set during initialization using the --paxrepodir <dir> option. This can be manually adjusted in the global config at <ZOPEN_ROOTFS>/etc/zopen/paxrepodir.  --paxrepodir can also be used with zopen install  to force a lookup of that repo for the specified package/pax.
Paxes can be installed using the command:
zopen install --paxinstall path/to/<paxfile.pax.Z>   - installs pax as found at specified location
zopen install --paxinstall <package>   - attempts to locate a pax for package in the current direcotry or in the global paxrepodir if configured
zopen install --paxinstall --paxrepodir <dir> <package>.pax.Z - install the specified package pax file, looking in  for the file
Note that the manual has not been updated - the code is semi-"dark-shipped" for those able to test while the normal installation methodology continues as normal.  Once stabilised, the official documentation can be updated.

/run tests

I'm seeing some changes that are probably not intended.
You may need to do a git rebase --interactive to remove some of the commits not intended in this PR (like this https://stackoverflow.com/questions/36168839/how-to-remove-commits-from-a-pull-request)

Additional testing added under https://github.com/ZOSOpenTools/metaport/pull/28

/run tests

/run tests

Should also resolve: https://github.com/ZOSOpenTools/metaport/issues/23


WKO 3.0.1 Users Guide Initial use case Model in image example fails with error: unable to convert uid/gid chown string to host mapping: cant find gid for group oracle: no such group: oracle

In the sample code for initial use case model in image we have:
$ cd /tmp/mii-sample/model-images
$ ./imagetool/bin/imagetool.sh update
--tag model-in-image:WLS-v1
--fromImage container-registry.oracle.com/middleware/weblogic:<IP_ADDRESS>
...
This fails at
Step 6/24 : COPY --chown=oracle:oracle weblogic-deploy.zip /tmp/imagetool/
[SEVERE ] Response code: -1, message: docker command failed with error: unable to convert uid/gid chown string to host mapping: cant find gid for group oracle: no such group: oracle
It seems that container-registry.oracle.com/middleware/weblogic:<IP_ADDRESS> is built with different group name than "oracle".
Work around so far is to either

use container-registry.oracle.com/middleware/weblogic:<IP_ADDRESS>
or build a local image wls:<IP_ADDRESS>.0 using e.g. weblogic image tool with e.g.
$ ./imagetool.sh cache listItems
jdk_8u241=/u01/stage/jdk/8u241/jdk-8u241-linux-x64.tar.gz
wls_<IP_ADDRESS>.0-w=/u01/stage/wls/<IP_ADDRESS>.0/fmw_<IP_ADDRESS>.0_wls_Disk1_1of1.zip
$ ./imagetool.sh create --type WLS --tag wls:<IP_ADDRESS>.0-w --version <IP_ADDRESS>.0 --jdkVersion=8u241

Please rebuild container-registry.oracle.com/middleware/weblogic:<IP_ADDRESS> with group "oracle".
Please synchronize builds and examples so we have a working combination of weblogic kubernetes operator, weblogic image tool and weblogic deploy tooling.
Regards / Gerth

We did push new images where the owner changed to oracle:root to meet a requirement.  We are in the process of making changes to the MII sample to indicate that you must add --chown oracle:root to the imagetool.sh command.  In the future we will make a change to the WebLogic Image Tool so that the chown command is not necessary.
Thanks
Monica

@mriccell I think this issue is addressed in 3.0.2? If so, can you close it out?


For QE: Add ids and aria label attributes to fields in Review step of wizard

Resolves #544
Changes requested by @ibragins
Field values can be identified by:
#review-plan-name
#review-plan-description
#review-source-provider
#review-target-provider
#review-target-namespace
#review-transfer-network
#review-selected-vms-count
#review-network-mapping
#review-storage-mapping
#review-migration-type

The dynamic parts of the page can also be identified:

If the target namespace does not exist, the message showing "this is a new namespace..." will be present with the id #review-new-target-namespace-message.
If you click on button#review-selected-vms-count a popover will appear containing the id #review-selected-vms-list.

This PR also adds aria-labelledby attributes pointing to the labels in the left column for screen-readers.

https://github.com/konveyor/forklift-ui/pull/565 was merged and this is identical, force merging.


I guess the first one is Android?

Platform Differences iOS twice, Android missing.
please delete or comment this post after fixing, thanke.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 38198725-c8f2-3b90-d179-24f86284c4cb
Version Independent ID: 1dd34451-25d2-9c50-a7f6-bb5b9f763ba0
Content: Xamarin.Essentials: Battery - Xamarin
Content Source: docs/essentials/battery.md
Product: xamarin
GitHub Login: @jamesmontemagno
Microsoft Alias: jamont

This is correct, there are 2 differences for iOS and 1 for UWP.
Maybe we could combine line 2 and 3. That would probably help a bit. Let me do that.

Addressed, can now be closed @davidbritch as the change should be rolling out for any apis that have platform differences.


Add description about what noxfile.py is

Description of problem and opportunity to address it
Context to understand the problem
I'm trying to understand this code base, but find a file like noxfile.py without any comments in it making me stumble.
Problem or idea
I'd love to have a comment in the top of various standalone files that describes what they are about. For example, I've added that to the read the docs config file in #999 which also clarifies what RTD project should be inspected if something is acting up etc.
What's the value and who would benefit
Everyone would benefit - even the person added this file - because over time you forget.
Implementation guide and constraints

[ ] Add a comment of some kind to the noxfile.py file describing its purpose etc, allowing someone finding it to understand its role and purpose in this github project.
[ ] If it was copy-pasted, a source of where it was copy-paste from should be included for example.
[ ] If there is a known place where you can learn more about something etc that could be worth linking to as well.

Updates and ongoing work
No response

I can add more docs about it when I'm back from vacation! In the meantime just wanted to quickly share that we have this documented in the READMEs of each repository (https://github.com/2i2c-org/infrastructure/blob/216bbced49e8635bab02e6c69467e8b43e4d7056/README.md#automatically-with-nox). If you add suggestions for where you naturally thought to look for this documentation but didn't find it, we can add references.

I recall you added a intro to what a noxfile is in another repo @choldgraf, do you recall what repo?


chore: update GA deptrac.yml

Box Requirements Checker
========================

> Using PHP 8.0.25
> PHP is using the following php.ini file:
  /etc/php/8.0/cli/php.ini

> Checking Box requirements:
  E...

Error: ] Your system is not ready to run the application.

Fix the following mandatory requirements:
=========================================

 * The application requires the version "^8.1" or greater.

Error: Process completed with exit code 1.

https://github.com/codeigniter4/shield/actions/runs/3374291576/jobs/5599760846

Thanks! @paulbalandan


VSCode SEARCH cannot work with regexp "[a-zA-Z][\n\r]{"

Issue Type
Bug
Description
I just format C++ code that move '{' in the second line to end of the first line.
For example:
class MyClass
{
// blablabla
}
When use regexp "([a-zA-Z]{1})[\n\r]{", the result should be:
"s
{", rather than  "lass MyClas".
VS Code Info
VS Code version: Code 1.20.1 (f88bbf9137d24d36d968ea6b2911786bfe103002, 2018-02-13T15:23:28.607Z)
OS version: Darwin x64 17.4.0
Reproduces only with extensions

This is not a VS Code specific issue. Please open an issue in the extension's repository

It just is a VSCode specific issue.
Reproduce it that:

create a text file
type some characters, for example:
abcd
{
Search (open with Ctrl + Shift + F) with regular expression [a-zA-Z][\n\r]\{
You can find that:


Add missing tests for required primary key

I searched, and this seems like one possible way to test that's something has been saved or not.

Codecov Report

Merging #487 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #487   +/-   ##
=======================================
  Coverage   89.59%   89.59%
=======================================
  Files           8        8
  Lines         673      673
  Branches      102      102
=======================================
  Hits          603      603
  Misses         55       55
  Partials       15       15

Continue to review full report at Codecov.

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

@atombrella thank you for helping out. I do not understand the purpose of the test, the comment in the test class is confusing.
How is the missing primary key if using a char field as primary key related to django-taggit?
What's the expected result of this combination?

@nemesisdesign I found the comment somewhat confusing as well. In TaggableModel in __get__, an error is raised if the primary key is not set. However this is already being checked for in test_require_pk in TaggableManagerTestCase. Perhaps the two fragments can just be removed?

@frewsxcv Maybe you know the intend of those TODO test cases?

I'm not sure what those TODO comments are, to be honest. I haven't looked at the taggit source in a while so I'm not the best person to review this nowadays, but i think your changes are fine if you're comfortable with them.

I think those tests were what's intended. The TODO comments were unclear.

I think these new tests are mostly testing Django's refresh_from_db(). I'm unclear as to what aspect of taggit is being tested.

@jdufresne Maybe it's better to just update this PR to remove those tests marked with TODO?

Yeah, that works for me. I think the intent of the TODO is lost to time.

Thanks!


Add conditions.DaemonSetReady

What type of PR is this?
/kind feature
What this PR does / why we need it:
Adds a conditions helper for a DaemonSet that asserts its pods are scheduled and ready.
Which issue(s) this PR fixes:
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Added `conditions.DaemonSetReady`, a wait helper for determining a DaemonSet is ready.

Additional documentation e.g., Usage docs, etc.:

@harshanarayana or @cpanato PTAL

/test pull-e2e-framework-test

/ok-to-test


Update desktop-composite-models.md

This is the error message when user creates a calculated column in an import table that uses a column from a DirectQuery table: «Refresh is not supported for datasets with a calculated table or calculated column that depends on a table which references Analysis Services using DirectQuery.»

@davidiseminger
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Thanks for taking the time to clarify.
#sign-off


Migrating from Legacy

Version: multiformats==0.2.1
Code:
""" IPFS Network send and receive by pubsub
"""
from json import loads
from typing import Iterator
from urllib.parse import urljoin

import requests
from multiformats.multibase import decode, encode

from .basic_network_model import BasicNetworkModel

class IPFSNetwork(BasicNetworkModel):
    def __init__(self, api_url: str):
        self.api_url = api_url

    def send(self, data: bytes, net_type: str, timeout: float) -> bool:
        """Send string data to topic"""
        topic = net_type.encode("utf-8")
        topic_encode: str = encode(topic, "base64url")
        url = urljoin(self.api_url, f"/api/v0/pubsub/pub?arg={topic_encode}")
        files = {"file": ("d", data)}
        rsp = requests.post(url, files=files, timeout=timeout)
        return rsp.status_code == 200

    def recv(self, net_type: str, timeout: float) -> Iterator[bytes]:
        """Receive data from topic"""
        topic = net_type.encode("utf-8")
        topic_encode: str = encode(topic, "base64url")
        url = urljoin(self.api_url, f"/api/v0/pubsub/sub?arg={topic_encode}")
        with requests.post(url, stream=True, timeout=timeout) as rsp:
            cache = b""
            for chunk in rsp.iter_content(8196):
                cache += chunk
                data_list = cache.split(b"\n")
                data = data_list.pop(0)
                cache = b"".join(data_list)
                if data_list:
                    data_json = loads(data.decode("utf-8"))
                    result = {}
                    result["data"] = decode(data_json["data"])
                    result["seqno"] = decode(data_json["seqno"])
                    result["topicIDs"] = [
                        decode(b).decode("utf-8") for b in data_json["topicIDs"]
                    ]
                    yield result

Print Wranning:
.venv/lib/python3.11/site-packages/multiformats_config/multicodec.py:80
  /home/xz/Code/FragThing/base_network/.venv/lib/python3.11/site-packages/multiformats_config/multicodec.py:80: DeprecationWarning: open_text is deprecated. Use files() instead. Refer to https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy for migration advice.
    with importlib_resources.open_text("multiformats_config", "multicodec-table.json", encoding="utf8") as _table_f:

.venv/lib/python3.11/site-packages/multiformats_config/multibase.py:53
  /home/xz/Code/FragThing/base_network/.venv/lib/python3.11/site-packages/multiformats_config/multibase.py:53: DeprecationWarning: open_text is deprecated. Use files() instead. Refer to https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy for migration advice.
    with importlib_resources.open_text("multiformats_config", "multibase-table.json", encoding="utf8") as _table_f:

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

Already being addressed on https://github.com/hashberg-io/multiformats/issues/11


pfstools cannot import pictures in RAW format

Issue description
The package "pfstools" installs a bash script, called "pfsindcraw", for importing camera pictures in raw format.
However, the nix-distributed version fails, because one of the programs it relies on, "pfsinppm", is not compiled (because it requires netpbm being installed).
Steps to reproduce

Install pfstools
Try to import a raw camera picture: pfsindcraw camera.raw >camera.pfs

Expected result: The output file "camera.pfs" having several megabytes of PFS data.
Actual result: "pfsinppm program not found. Check if pfstools are compiled with netpbm support."
Technical details

system: "x86_64-linux"
host os: Linux 4.14.90, NixOS, 18.09.1806.928ff62213b (Jellyfish)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.1.3
channels(typedfern): ""
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Workaround
I managed to get it to work normally by using tiff instead of pbm as the intermediate format between RAW and PFS; here is the patch:
diff -pruN a/src/fileformat/pfsindcraw.in b/src/fileformat/pfsindcraw.in
--- a/src/fileformat/pfsindcraw.in      2017-11-13 18:38:27.000000000 +0100
+++ b/src/fileformat/pfsindcraw.in      2018-12-30 17:23:03.837192536 +0100
@@ -28,8 +28,8 @@ if ! which dcraw 2>/dev/null 1>/dev/null
     exit 1;
 fi

-if ! which pfsinppm 2>/dev/null 1>/dev/null; then
-    echo >&2 "pfsindcraw: pfsinppm program not found. Check if pfstools are compiled with netpbm support."
+if ! which pfsintiff 2>/dev/null 1>/dev/null; then
+    echo >&2 "pfsindcraw: pfsintiff program not found. Check if pfstools are compiled with TIFF support."
     exit 1;
 fi

@@ -56,9 +56,9 @@ fi
 while test "$1"; do

       file_pattern="$1"
-
-      dcraw -c -o $COLORSPACE -4 -w "$file_pattern" | pfsinppm - 2> /dev/null | \
-          pfstag --set "FILE_NAME=${file_pattern}" --set "LUMINANCE=RELATIVE"
-
+      temporary=`mktemp`
+      dcraw -c -o $COLORSPACE -4 -w -T "$file_pattern" >$temporary
+      pfsintiff $temporary 2> /dev/null | pfstag --set "FILE_NAME=${file_pattern}" --set "LUMINANCE=RELATIVE"
+      rm $temporary
       shift
 done

cc @juliendehos

Hi @typedfern,
I pushed a fix to my repo (https://github.com/juliendehos/nixpkgs/commit/d4e7deb13b33660dae56b89b8dca8cec6c57a62c) but I have no image for testing it.
Can you try it (nix-env -iA pfstools -f https://github.com/juliendehos/nixpkgs/tarball/pfstools) and tell me if works ?

Hi @typedfern,
I pushed a fix to my repo (juliendehos@d4e7deb) but I have no image for testing it.
Can you try it (nix-env -iA pfstools -f https://github.com/juliendehos/nixpkgs/tarball/pfstools) and tell me if it works ?

Tried it - successfully compiled and installed the (previously missing) pfsinppm command - seems to be fixed.

Thank you. PR sent.
I added a branch pfs, in my repo, that should fix #60841 and #60843. You can use it while the PRs are not merged.

Thank you. PR sent.
I added a branch pfs, in my repo, that should fix #60841 and #60843. You can use it while the PRs are not merged.

Installed it - both issues appear to be fixed; thank you!


Support multiple namespaces in repo name

fix #1217

Coverage remained the same at 51.147% when pulling dc432d55752e0ab7688c7735d406a062cb9ae92d on ywk253100:170207_multinamespace into 88cca745c4f9acdf87b486a7e0fe3ee19844f4f0 on vmware:master.

LGTM


Cloud Authentication is declared as needed but it is not (or at least not always).

Description
As per https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/issues/469#issuecomment-1819248030

New firmware requires TPLink account password in order to control camera locally. You already have one which you used for official app.

I have several Tapo C200 cameras with firmware 1.3.9 (Build 231019 Rel.37378n(4555) and C210 with firmware 1.39 (Build 231019 Rel.31045n(4555) and I can control them using the TinyCam app on Android  without the need to put any cloud password.
Why would it be different for HA control?
Reproduction Steps

Try to add a camera
Put local password

Expected behavior
Cloud auth should be optional if needed for some special cameras.
If applicable, add error logs.
No response
Device Firmware
1.3.9 (Build 231019 Rel.37378n(4555)
Integration Version
5.4.12
Using stream component
Yes
Does camera work via official integrations?
Yes
Camera has all attributes filled out in developer tools
Yes
HASS Environment
VM in Proxmox
Search for similar issues
Yes
Additional information
No response

It is needed.

It is needed.

My I ask, why exactly?

See edit.

Understood


add a way to express product name(s) and numbers (GTIN, GMN etc.)

Implementation status:

[x] schema
[x] examples
[ ] reviewed & approved internally
[ ] documentation
[ ] validation rules

I raise this change request because...
-- [ ] the ILCD+EPD format lacks compliance with regualtions.
-- [ ] the ILCD+EPD format lacks conformaty with standards.
-- [X] the ILCD+EPD format needs to be improved regarding existing format or master data elements.
-- [ ] there is another problem or use case I´m trying to address.
Problem description
We also want to be able to find an EPD for a given product by searching for a product code (e.g. GTIN, GMN etc.), trade name or other identifying means.
Solution description
We want to have a machine readable list of exact product names and corresponding product codes.
The product code type (GTIN, GMN) should be user extensible.
For average EPDs, this will at the same time describe which exact products went into the average.
Relevance or added value
No response

Can be modelled as a list of product codes with type and value. Type can be user defined, with pre-defined values "GTIN", "GMN". Suggestions for further product code types are welcome.
example:
(type)  (value)
GTIN<PHONE_NUMBER>126
GTIN<PHONE_NUMBER>132
GTIN<PHONE_NUMBER>288
GMN    445922

Implementation status

[ ] schema
[ ] examples
[ ] documentation

Example markup:
<epd24:productIds>
   <epd24:productId epd24:type="GTIN">3234567890126</epd24:productId>
   <epd24:productId epd24:type="GTIN">3234567890132</epd24:productId>
   <epd24:productId epd24:type="GTIN">3234567890288</epd24:productId>
   <epd24:productId epd24:type="GMN">445922</epd24:productId>
</epd24:productIds>

Are there any additional product identifiers that need to be supported?

Universal Product Code (UPC)
Used in: North America (primarily USA and Canada)
Structure: 12 digits (including a check digit)
Purpose: Used for retail products to track sales and inventory in stores.

European Article Number (EAN)
Used in: Europe and internationally
Structure: Typically 13 digits (EAN-13), but an 8-digit version (EAN-8) exists for smaller products.
Purpose: Similar to UPC, used to identify products for inventory and point of sale.

Global Trade Item Number (GTIN)
Used: Worldwide
Structure: Can be 8, 12, 13, or 14 digits, depending on the product and region.
Purpose: General identifier for trade items globally, encompasses UPC, EAN, and other barcode formats.

ISBN (International Standard Book Number)
Used for: Books
Structure: ISBN-10 (10 digits) or ISBN-13 (13 digits)
Purpose: Used for identifying books worldwide.

Manufacturer Part Number (MPN)
Used in: Manufacturing and distribution
Structure: Alphanumeric, varies by manufacturer.
Purpose: A unique number given to a part or product by the manufacturer, often used in electronics, automotive, and industrial sectors.

Amazon Standard Identification Number (ASIN)
Used by: Amazon
Structure: 10 alphanumeric characters
Purpose: Unique identifier for products listed on Amazon.

Stock Keeping Unit (SKU)
Used in: Internal inventory systems, retail
Structure: Alphanumeric, varies by retailer or manufacturer.
Purpose: An internal system for tracking product inventory, unique to each business.

Global Location Number (GLN)
Used in: Supply chain management
Structure: 13 digits
Purpose: Identifies the location of entities in a supply chain, useful for identifying warehouses or manufacturing facilities.

Digital Object Identifier (DOI)
Used for: Digital documents (academic papers, reports, etc.)
Structure: Alphanumeric string
Purpose: Uniquely identifies digital content like journal articles, research papers, etc.

International Standard Serial Number (ISSN)
Used for: Periodicals (magazines, journals, etc.)
Structure: 8 digits, often displayed as two groups of 4.
Purpose: Uniquely identifies serial publications.

European Article Number (EAN) was replaced by Global Trade Item Number (GTIN-13). The use of the name still persists.

Then we'll officially support the following for now:
GTIN
GMN
MPN

@ domain experts: please review and approve (by giving a thumbs up 👍) or else comment

please chech the screenshot - do we have all of these covered?


[Security] Potential Secret Leak

It has been noticed that while using chromaui/action@v1 your projectToken 9tzak77m9nj is present in plaintext. Please ensure that secrets are encrypted or not passed as plain text in github workflows.

Duplicate of https://github.com/backstage/backstage/issues/5463


Add missing 16:9 resolutions up to 1920x1080

Fix #5
Motivation
When presenting the screen at online conferences or in another fullscreen-required environment the black boxes occur because of differences in aspect ratio. 16:9 is more popular and this wonderful software really misses it.
Acknowledgments
These changes are based on @dtinth's work in https://github.com/dtinth/DeskPad/commit/5f13f76fb10177f594561c356661e9c002a9907d.
P.S. For some reason, setting maxPixelsWide and maxPixelsHigh into 4K resolution breaks the DeskPad for me. So I don't have the ability to test higher resolutions and don't want to include untested/not working code in that PR.
P.S.S. Build is not working for me unless I change MACOSX_DEPLOYMENT_TARGET to 13.0.

@Stengo: I agree with @seclerp, I've added this also to my local version. It would be nice if this change PR can be reviewed.

I just created a new release 1.1 that contains this change 🚀
Since I got a personal paid developer account since releasing 1.0 I was also able to codesign the app and have it verified by Apple, so hopefully it's now easier to install.


Continuously rebuilding?

Check this lines, especially buildKeyPart variable.
BitBucket API has limited size of key part in API POST request.
Link to #62 issue.

Maybe it makes sense to reference not the whole commit hash (which has 32 characters)  but the abbreviated one.

@Mercynary, @pdjtrifork, @tnguyen14
So, I think this release work as expected. On all my projects alpha version of plugin work fine. After updating plugin new pull requests may trigger one more build.
Can you update plugin to this developer release bitbucket-pullrequest-builder 1.4.15 and check it out?

@maxvodo I installed it, but it seems like the job is not picking up the build automatically anymore? (I had to disable the job on version 1.4.13, and reenabled it when I install 1.4.15). Neither a test this please comment or a change to the PR triggered the build.

@tnguyen14, thx for response. Show me please your logs :smile:.

@Mercynary, @pdjtrifork, @tnguyen14: New beta release, fix #9, #10. Stay tuned.

@maxvodo I see these errors in the log. Might be helpful
Feb 04, 2016 1:03:00 AM INFO bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketPullRequestsBuilder run
Build Start.
Feb 04, 2016 1:03:00 AM WARNING hudson.triggers.Trigger checkTriggers
bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketBuildTrigger.run() failed for hudson.model.FreeStyleProject@6a7f81db[sitegenesis-pr]
java.lang.NullPointerException
	at com.cloudbees.plugins.credentials.matchers.IdMatcher.<init>(IdMatcher.java:49)
	at com.cloudbees.plugins.credentials.CredentialsMatchers.withId(CredentialsMatchers.java:112)
	at bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketRepository.getCredentials(BitbucketRepository.java:309)
	at bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketRepository.init(BitbucketRepository.java:71)
	at bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketRepository.init(BitbucketRepository.java:54)
	at bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketPullRequestsBuilder.run(BitbucketPullRequestsBuilder.java:36)
	at bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketBuildTrigger.run(BitbucketBuildTrigger.java:195)
	at hudson.triggers.Trigger.checkTriggers(Trigger.java:268)
	at hudson.triggers.Trigger$Cron.doRun(Trigger.java:217)
	at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:51)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

@maxvodo using your beta release version seems to be going ok. Will update if the rebuilding occurs again.

@maxvodo any thought on when there will be an official release with your fix?

@tnguyen14, I think on this weekend @tnguyen14 will release new version.

Works for me too.

@maxvodo has the PR for this change been merged in @nishio-dens repo?

@tnguyen14: yep, all changes already merged in @nishio-dens master branch.


OCPBUGS-34987: Add missing Tag permissions to cli role

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #
Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

/lgtm

/jira refresh

/cherry-pick 4.16

/cherry-pick release-4.16


Weird error message when calling yield from a standard function

I made the mistake of calling yield from a non-generator function. Actually an anonymous function. I would probably have understood my mistake sooner if I'd got a better error message.
It would be great with a better error message so the next generator-newbie doesn't have to struggle as much :)
I got "SyntaxError: yield is a reserved word".
Here is the code that got me the error:
function* saveUnsavedJournalItemsToServer() {
  const journalItemsToSave = yield select(selectCompletedUnsavedJournalItems);
  journalItemsToSave.map(journalItem => {
    yield fork(saveJournalItemToServer, journalItem);
  });
}

Here is the complete output.
journalSagas.js: SyntaxError: yield is a reserved word (177:4)
  175 |
  176 |   journalItemsToSave.map(journalItem => {
> 177 |     yield fork(saveJournalItemToServer, journalItem);
      |     ^
  178 |   });
  179 | }
  180 |

Hey @msageryd! We really appreciate you taking the time to report an issue. The collaborators
on this project attempt to help as many people as possible, but we're a limited number of volunteers,
so it's possible this won't be addressed swiftly.
If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack
community that typically always has someone willing to help. You can sign-up here
for an invite.

This is a similar issue to https://github.com/babel/babylon/issues/113 (await in a non async function)


Alternative way of variable length bytes field.

Hi,
This is not issue, this is more of "documenting" of features for future users.
I needed something that is like "vartext" but with bytes. The example shown in README.md didn't work well.
So i implemented varbytes field.
def varbytes(
    length: Value[int],
    *,
    default: bytes = ...
):
    class Bytes(Adapter):
        def encode(self, value: bytes, ctx: Context) -> bytes:
            return value

        def decode(self, value: bytes, ctx: Context) -> bytes:
            return value

    return adapter(Bytes())(
        field(
            lambda ctx: (
                len(ctx.P.self) if ctx.G.packing else evaluate(ctx, length)
            ),
            default=default,
        )
    )

This is strongly inspired by vartext, but simplified as it only supports variable length. (Yes encode and decode could be lambdas, meh)
@dataclass
@datastruct(endianness=Endianness.LITTLE, padding_pattern=b"\x00")
class Packet1(DataStruct):
    list: int = field('B')
    num: int = field('H')
    count: int = field('H')
    data: bytes = varbytes(lambda ctx: ctx.G.root.length-5)

@dataclass
@datastruct(endianness=Endianness.LITTLE, padding_pattern=b"\x00")
class Packet(DataStruct):
    length: int = built("B", lambda ctx: ctx.body.sizeof())
    body: Any = switch(lambda ctx: ctx.typ)(
            PACKET1 = (Packet1, subfield()),
        )

When packing Packet.length is automatically calculated from length of data in Packet1 (or any other body packet)
When unpacking Packet1.data length is calculated from Packet.length - 5 (which is length of B+H+H))

Are you sure that you couldn't just use the usual field() with a lambda here?
After studying the code a bit, you're right that some tinkering is needed here. Using field() wouldn't allow for packing different-length values in data, because it would expect length bytes at all times.
That being said, the varbytes() adapter is actually not doing anything - it simply passes along whatever it gets in encode() and decode().
So if the adapter can be removed, the varbytes() just becomes:
def varbytes(
    length: Value[int],
    *,
    default: bytes = ...
):
    return field(
        lambda ctx: (
            len(ctx.P.self) if ctx.G.packing else evaluate(ctx, length)
        ),
        default=default,
    )

...which would be a nice addition to the library's helpers.py :slightly_smiling_face: right next to varlist(), which works in a similar way. If you want, you could submit a PR with this feature.
The bytes/str fields are quite a mess now, I admit. A short summary:

bytestr() - used for strings, as raw bytes, with fixed storage length and variable text length (stripped and padded with padding_pattern)
text() - used for strings as UTF-8 text, with fixed storage length and variable text length (stripped and padded with padding_pattern)
vartext() - same as text(), but with variable storage length (something like your varbytes(), but as str)
and finally, varbytes() - used for raw bytes strings, with variable storage length and variable text length

The text() field will require refactoring at some point.


update go-yaml to 3.0.1

Closing #29

This didn't actually update the code being used. Need to change anywhere using the old go-yaml path in source.

Sorry, doesn't upgrading from 3.0.0 to 3.0.1 allow keeping the same paths in files?

It would, but we weren't using 3.0.0
The current import is github.com/go-yaml/yaml which is using a non-module version (I suspect this is actually older than v2, but am not at a computer to check)
The new import is gopkg.in/yaml.v3

Oh wow, nice catch. Thanks for letting me know, I'll get that fixed.


[DDW-245] integrate react polymorph render props in daedalus

This PR integrates the develop branch of react-polymorph into Daedalus.
Todo:

[ ] release new react-polymorph version on npm
[ ] set correct react-polymorph version in package.json after npm release
[x] Replace react-css-themr ThemeProvider with react-polymorph ThemeProvider
[x] Change import statements of react-polymorph components, skins, and themes to match new file structure
[x] Pass skins to react-polymorph components as a variable created by import statements instead of passing a skin component instance (i.e. doesn't pass skin components with tags<>)

Review Checklist:
Basics

[x] PR is updated to the most recent version of target branch (and there are no conflicts)
[x] PR has good description that summarizes all changes and shows some screenshots or animated GIFs of important UI changes
[x] CHANGELOG entry has been added and is linked to the correct PR on GitHub
[x] Automated tests: All acceptance tests are passing (npm run test)
[x] Manual tests (minimum tests should cover newly added feature/fix): App works correctly in development build (npm run dev)
[x] Manual tests (minimum tests should cover newly added feature/fix): App works correctly in production build (npm run package / CI builds)
[x] There are no flow errors or warnings (npm run flow:test)
[x] There are no lint errors or warnings (npm run lint)
[N/A] No text changes -> Text changes are proofread and approved (Jane Wild)
[x] There are no missing translations (running npm run manage:translations produces no changes)
[x] UI changes look good in all themes (Alexander Rukin)
[x] Storybook works and no stories are broken (npm run storybook)
[x] In case of npm dependency changes both package-lock.json and yarn.lock files are updated

Code Quality

[x] Important parts of the code are properly documented and commented
[x] Code is properly typed with flow
[x] React components are split-up enough to avoid unnecessary re-rendering
[x] Any code that only works in Electron is neatly separated from components

Testing

[x] New feature / change is covered by acceptance tests
[x] All existing acceptance tests are still up-to-date
[x] New feature / change is covered by Daedalus Testing scenario
[x] All existing Daedalus Testing scenarios are still up-to-date

After Review:

[ ] Merge PR
[ ] Delete source branch
[ ] Move ticket to done on the Youtrack board

@DominikGuzei sure - I will review this on Monday. Still, we must be very careful due to all of the changes - especially in the NumericInput on the Send screen, special inputs on Wallet Settings screen, etc.
@DominikGuzei would you be willing to sort out the 2 of remaining Todos? (publishing new React-Polymorph version + updating that version in package.json on Daedalus side?)

This PR should not be merged before the 1.3 release cut-off.

@MarcusHurney the reason why you didn't upgrade to React 16 was the react-intl package, right?

@nikolaglumac this is ready for review! (again)

@DominikGuzei
Reviewing your changes today!

Thanks for the detailed review @nikolaglumac, great catches as always! Will look into it

@nikolaglumac

settings screen: "Export" link is not working at all - not sure if related to the changes in this PR or not

This outstanding issue seems to be related to the action handler associated with the export button. The onClick event handler fires, but the dialog that's suppose to open does not.

wallet send screen: in case you enter a valid amount and then type some non-numeric keys the button becomes disabled

This one I need a little guidance on. None of my wallets have any ADA so there is always an error about insufficient funds to cover transaction fees pops up before I can test the send button and NumericInput. Is there a way to automatically generate a wallet with funds to test this?

@MarcusHurney "Export" link is fixed here: https://github.com/input-output-hk/daedalus/pull/998 so please don't worry about it ;)

This one I need a little guidance on. None of my wallets have any ADA so there is always an error about insufficient funds to cover transaction fees pops up before I can test the send button and NumericInput. Is there a way to automatically generate a wallet with funds to test this?

Will send you a wallet with funds so that you can test it!

@nikolaglumac
Many of these fixes exist in react-polymorph. It's possible to test them out in Daedalus by changing react-polymorph in package.json to the snippet below and re-installing node_modules.
"react-polymorph": "git://github.com/input-output-hk/react-polymorph.git#bug/ddw-339-refactor-positioning-and-event-handlers-for-select-in-react-polymorph",

Thanks for the great work @MarcusHurney @DominikGuzei. I have reviewed this PR once again and I can confirm that the following issues are fixed:

[x] general: focus on label click feature is missing
[x] general: select checkmark should be white in dark theme
[x] restore-dialog: missing clear option on autocomplete
[x] send screen: in case you enter a valid amount and then type some non-numeric keys the button becomes disabled
[x] settings screen: disabled state on custom fields (inline editing inputs) is wrong (should look like enabled field)
[x] settings screen: assurance-level select not closing on enter key selection
[x] ~settings screen: "Export" link is not working at all - not sure if related to the changes in this PR or not~ (fixed in: PR#998)
[x] ada-redemption screen: can not close wallet selectbox on enter key selection
[x] create-dialog: mnemonic entry buttons should not have outline if they are disabled (even if they are focused!)

However, there are still some which are unresolved plus some new issues that I have found. Here's the list with explanations:
Old issues

[ ] general: select arrow has inverted color on active/inactive states in dark theme - please see this screenshot to see how it should be:

[ ] ada-redemption screen: isOpeningUpwards not working correctly on select and autocomplete components - please match the position we had before (just above the input's top border):

New issues

[ ] select is acting strange - I need to click twice to open it:

[ ] pressing ENTER key opens select box if it exists on the page (regardless if it is focused or not) - e.g. if I focus normal input and hit ENTER it will open the selectbox:

[ ] inputs should have RED border in case they hold invalid input even if they are focused (currently if you focus input that is invalid it changes the border color to focus one and it should remain in red):

Thanks for fixing the remainig issues!

@MarcusHurney @DominikGuzei there is one more problem that I have found regarding the Autocomplete component:
Expected behavior (how it used to be)

Focus the autocomplete component
On ENTER key we used to open the dropdown with the list of suggestions as if you typed “a” - or basically the first possible suggestions (the same thing which we do if you click with the mouse in the autocomplete
Then if you just keep typing ENTER you will make selections of the first suggestion over again and this is how it should be

Actual behavior (how it is with the new React-Polymorph)

Focus the autocomplete component
On ENTER key the suggestions list are no longer open (nothing happens)
If you click with the mouse then the expected top results (starting with “a”) are correctly shown
If you type in “b” and select an item and then click again with the mouse the suggestions will show but with results for “b” instead of for top of the list (aka. “a”)

Thanks for fixing it!

@nikolaglumac

Our issues at the border are solved! 🇺🇸Ahem, Input's border that is. Tested this fix in Daedalus and it works as expected. PR 71

Dominik fixed the remaining issues with the Autocomplete key handlers and merged those into develop. See the clip below.

@nikolaglumac this is ready now for a final review 😉 please reinstall react-polymorph (as it was updated to the latest version)

@DominikGuzei reviewing this one again...

Hi @MarcusHurney @DominikGuzei - great work!
Almost everything is fixed. I have found some more defects which we need to fix:

duplicated styles (Dominik)
error state on textarea (Dominik)
checkbox component 1px centering issue (Dominik)
checkbox disabled state border color in Dark blue theme (Nikola and Saša)

@DominikGuzei @MarcusHurney checkbox disabled state styles fixed!

@nikolaglumac @MarcusHurney this PR is ready for final review :)


timezone automatically appended while reading a timestamp with tz value from postgres

Description
I have upgraded from buffalo 16.5 to buffalo 16.15 and it seems that some module (I assume buffalo-pop) has some breaking changes. I am using postgres to store timestamp with timezone values. Postgres contains values with 0 timezone (+00), however, when I read the value with buffalo, the value gets my timezone (+3) appended to the value. This only started to happen when I did the buffalo 16.15 upgrade. It seems like a bug to me
Steps to Reproduce the Problem

Store a timestamp with a zero timezone in postgres
Read the struct using pop model load (your system time should be in other than the +0 timezone )
For me, this has happened while executing a test, which works fine with older pop and fizz versions

Expected Behavior
I am expecting the timezone to be the same as in the database.
Actual Behavior
The local timezone of the OS seems to be appended to the resulting value
Info
MacOS X Mojave, Pop version 16.15, used through Buffalo

See also #591


fix: Fix module not found

:tada: This PR is included in version 1.11.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Put the game manager into a variable

I wanted to play with some JS to make a self playing 2048, but without modifying the base code I could only end up creating a second instance that has race conditions with the first. This should fix that.

I assumed the reason this was not defined in such a way was to make botting more difficult. I personally would like to watch AI play the game, and not for claiming legitimate play (clearly bad), but I wouldn't argue having the code protect itself against users with worse intentions.


Add v1.0.3 ticket test plan

List of Content

Add v1.0.3 and v1.1.0 issue related manual test plan in of the following tickets

https://github.com/harvester/harvester/issues/2567
https://github.com/harvester/harvester/issues/2577
https://github.com/harvester/harvester/issues/2578
https://github.com/harvester/harvester/issues/2569
https://github.com/harvester/harvester/issues/2546
https://github.com/harvester/harvester/issues/2316
https://github.com/harvester/harvester/issues/2384
https://github.com/harvester/harvester/issues/2524
https://github.com/harvester/harvester/issues/2436
https://github.com/harvester/harvester/issues/2420
https://github.com/harvester/harvester/issues/2464
https://github.com/harvester/harvester/issues/2474
https://github.com/harvester/harvester/issues/1849
https://github.com/harvester/harvester/issues/2383
https://github.com/harvester/harvester/issues/1418
https://github.com/harvester/harvester/issues/2354
https://github.com/harvester/harvester/issues/2229
https://github.com/harvester/harvester/issues/2449
https://github.com/harvester/harvester/issues/2288
https://github.com/harvester/harvester/issues/2350
https://github.com/harvester/harvester/issues/2394
https://github.com/harvester/harvester/issues/2395
https://github.com/harvester/harvester/issues/2116
https://github.com/harvester/harvester/issues/2351
https://github.com/harvester/harvester/issues/2376
https://github.com/harvester/harvester/issues/2379
https://github.com/harvester/harvester/issues/2032
https://github.com/harvester/harvester/issues/2370
https://github.com/harvester/harvester/issues/2175
https://github.com/harvester/harvester/issues/2332

Add upgrade related VM check test plan

Check can start VM after Harvester upgrade
Check the VM is available when Harvester upgrade failed

I also resolved the fixed comments from the previous review, but there were a couple of typos. You can hit expand on it and see them. They collapsed down all of the comments for some reason.

Thanks Noah for checking. I have updated the indent layout, correct typos, double confirm the uncertain content.
Please feel free to let me know if I miss any.


MAUI IOS Use InTheHand.Net.Bluetooth

Hello,
I want Use InTheHand.Net.Bluetooth in Maui Ios,But right now it looks like it doesn't support ios yet.
@peterfoot

Hi, looking into this it appears the net6.0-ios build is missing from the NuGet. I'll get this fixed and re-released as soon as I can.

嗨，看看这个，似乎NuGet中缺少net6.0-ios版本。我会尽快修复并重新发布。

thank you very much。

Hi, looking into this it appears the net6.0-ios build is missing from the NuGet. I'll get this fixed and re-released as soon as I can.
hi，I'm having some other problems，I want the bluetooth picker in ios to display the device ID instead of the name ，But I don't know how to do that, the Microsoft documentation is a little sparse on this, right 。I have a bunch of bluetooth printers of the same model，If the picker displays the name, obviously I can't find the device I want to connect to 。If possible, could you give me some ideas?
Thank you very much.

Hi, the problem with this is that iOS doesn't have a classic Bluetooth API and so the implementation uses the ExternalAccessory API. You cannot access the raw Bluetooth address on iOS so the only meaningful identifier is the name. This is the same with their Bluetooth LE implementation where you can get a unique UUID for the device but not read the raw Bluetooth address. Some printers allow you to configure the name (although this could be a pain to reconfigure a large number) so you could include the last few digits of the Bluetooth address or give them some other unique identifier.

InTheHand.Net.Bluetooth

I'm sorry, because I think my code can be connected to the printer and used these days. After I found inthehand Net. When Bluetooth does not support Maui IOS for the time being, I copied the relevant code from your source code to my project and modified the error reporting code. When I use the picker, I find that it seems that it can only scan the Bluetooth printer device. For other Bluetooth devices, it does not appear in the picker. In fact, I can see many Bluetooth devices in the mobile Bluetooth. I have not modified the code of the picker。

The picker uses the ExternalAccessory picker. This will only display devices which are Apple MFi compatible - many Bluetooth Printers are (some requiring a change of mode) but other Bluetooth devices will not display. If your Bluetooth classic device doesn't support MFi (And hence the ExternalAccessory API) it cannot be used by 32feet.

The picker uses the ExternalAccessory picker. This will only display devices which are Apple MFi compatible - many Bluetooth Printers are (some requiring a change of mode) but other Bluetooth devices will not display. If your Bluetooth classic device doesn't support MFi (And hence the ExternalAccessory API) it cannot be used by 32feet.

Thank you very much for your answer, which has helped me a lot.。
I noticed that you have a two second waiting time after the Bluetooth selector is selected. I tried to reduce this time to 0.2 seconds. Then when I directly clicked cancel instead of selecting any Bluetooth device, an error occurred. I am currently trying to reproduce this problem normally。

MAUI ios now works with zebra Bluetooth printers

MAUI ios now works with zebra Bluetooth printers
Can you provide a demo of MAUI-Bluetooth

MAUI ios 现在可与斑马蓝牙打印机配合使用，能否提供 MAUI 蓝牙演示

`        #region Connect
private EAAccessory eAAccessory = null;
private EASession _session = null;
EAAccessoryManager.SharedAccessoryManager.RegisterForLocalNotifications();
try
{
await EAAccessoryManager.SharedAccessoryManager.ShowBluetoothAccessoryPickerAsync(null);
}
catch (NSErrorException ex)
{

        }
        finally

{
EAAccessoryManager.SharedAccessoryManager.UnregisterForLocalNotifications();
}
if (EAAccessoryManager.SharedAccessoryManager.ConnectedAccessories.Length > 0)
{
foreach (var accessory in EAAccessoryManager.SharedAccessoryManager.ConnectedAccessories)
{
if (accessory.ProtocolStrings.Contains("Protocol for connecting devices"))
{
eAAccessory = EAAccessoryManager.SharedAccessoryManager.ConnectedAccessories[0];
break;
}
}
}
if (eAAccessory != null)
{
if (_session == null)
{
_session = new EASession(eAAccessory, eAAccessory.ProtocolStrings[0]);
}
_session.InputStream.Schedule(NSRunLoop.Current, NSRunLoopMode.Default);
_session.InputStream.Open();
_session.OutputStream.Schedule(NSRunLoop.Current, NSRunLoopMode.Default);
_session.OutputStream.Open();
}
#endregion
#region Close
_session.InputStream.Close();
_session.InputStream.Unschedule(NSRunLoop.Current, NSRunLoopMode.Default);
_session.InputStream.Delegate = null;
_session.InputStream.Dispose();
_session.OutputStream.Close();
_session.OutputStream.Unschedule(NSRunLoop.Current, NSRunLoopMode.Default);
_session.OutputStream.Delegate = null;
_session.OutputStream.Dispose();
eAAccessory.Dispose();
_session.Dispose();
_session = null;
#endregion`

MAUI ios 现在可与斑马蓝牙打印机配合使用，能否提供 MAUI 蓝牙演示

Hope you can help @yylyhldev

MAUI ios 现在可与斑马蓝牙打印机配合使用，能否提供 MAUI 蓝牙演示

Hope you can help @yylyhldev

MAUI ios now works with zebra Bluetooth printers
Can you provide a demo of MAUI-Bluetooth

@yylyhldev

MAUI ios now works with zebra Bluetooth printers
Can you provide a demo of MAUI-Bluetooth

Android or ios?

both


Add tests for empty eyaml values

This adds tests to cover #179

As requested, opened separate pull-requests #322 and #323


*: break circle dependency

Cargo is not good at dealing with features with circle dependency, see
rust-lang/cargo#4866. In the past, raft depends on harness due to tests,
and harness depends on raft as it's only a wrapper of raft.  This PR
breaks the circle dependencies by moving all the tests from raft to
harness, so only harness needs to depend on raft.

So unit cases use default_logger but integration cases use testing_logger instead? To avoid block more works I think it's ok for now, but I think it's better to unify them in future.

(Off-topic, seem tikv has the same issue, tikv(--test) depends on test_raftstore, and test_raftstore depends on tikv.)


Cancel email scheduled via sendAt

New to Sendgrid, coming from Sparkpost, in particular for the sendAt feature.
I don't see any docs there though about how to cancel scheduled emails.
Is that possible?
sgMail.send(msg) returns HTTP 202, with an empty body. It would be far more useful if it returned an id of the scheduled transmission (as SparkPost does), so it could be cancelled later.
Also, would help to manage expectations by documenting the limitations of this feature, including:

scheduling more than 72 hours in advance is forbidden. Sparkpost has the same limitation and they're upfront about it.
cancelling or updating the transmission is not possible

I've sent a PR with these changes (#1097), but unfortunately, these limitations make the scheduled email feature unusable for us.

Hi @dandv
Here is official documentation on how to stop in-progress emails. I also found that according to the request body definition in the api documentation, the send_at parameter cannot be used to schedule emails more than 72 hours in advance.

Documentation updated here: https://github.com/sendgrid/sendgrid-nodejs/blob/master/docs/use-cases/scheduled-send.md
Thanks again for bringing this issue to our attention @dandv!


Each sensible entity will have a created and modified datetime

Blog posts have both the created and edited datetime.


Document Level Security is not honoured when running a query with superset and opendistro.

When running a query against a opendistro instance (both in Chart  and SQL Lab)  all the records are fetched even though Document Level Security is applied on the index.
Expected results
The query should run using the logged in user and not the user which is used to connect to the database.
Actual results
The query is run using the user that connects to the database instead of the logged in user which is also present in the opendistro instance.
Screenshots
If applicable, add screenshots to help explain your problem.
How to reproduce the bug

Go to '...'
Click on '....'
Scroll down to '....'
See error

Environment
(please complete the following information):

superset version: 1.1.0
python version: Python 3.8.5
node.js version: v14.15.5

Checklist
Make sure to follow these steps before submitting your issue - thank you!

[ ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[ ] I have reproduced the issue with at least the latest released version of superset.
[ ] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context
Add any other context about the problem here.

Closing this as stale since it's been silent for so long, and we're trying to steer toward a more actionable Issues backlog. If people are still encountering this in current versions (currently 3.x) please open a new Issue or a PR to address the problem.


Fix double-checked locking

This pull request fixes a broken double-check locking issue in class LazyMember.
A detailed explanation can be found here:
http://stackoverflow.com/questions/3578604/how-to-solve-the-double-checked-locking-is-broken-declaration-in-java
Contains also some minor performance optimizations

Hi @Nowheresly, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.
TTYL, AZPRBOT;

@Nowheresly this ought to be a good candidate for adding some unit-tests

:+1:

Makes sense indeed ;-)
New PR in progress...

Unit test added for LazyMember class.
Review or comment greatly appreciated!

The second PR is related to the issue 157.

@Nowheresly thanks for the contribution. Please split this into 2 seperate PR.

PR split completed !

@Nowheresly thanks for the contribution


updating company cr failures are captured

@shahadarsh This fixes Company CR update failures blocking company updates and org name not being formatted properly.


Create AryanParashar.md

Added AryanParashar.md in the interested writers section

Hi, your other PR was merged, closing this one.


[Windows Installer] Publisher name is Unknown

Seems like certificate is not Added properly.
Tested on pack ballerina-windows-installer-x64-0.992.0-m2-SNAPSHOT.msi created on Aug 2nd.

This has been fixed with 1.0.0 release


Failed to install on mac

On running
./app_setup.sh
it runs for quite a while and then fails:
define NanReturnValue(value) return args.GetReturnValue().Set(_NanEnsu...
^
14 errors generated.
make: *** [Release/obj.target/contextify/src/contextify.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/rrgirish/anaconda/envs/memex/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR!  Darwin 15.0.0
npm ERR! argv "/Users/rrgirish/anaconda/envs/memex/bin/node" "/Users/rrgirish/anaconda/envs/memex/bin/npm" "install" "-g" "log.io"
npm ERR! node v4.1.0
npm ERR! npm  v2.14.3
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the contextify package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls contextify
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /Users/rrgirish/Documents/CSCI_572/memex-explorer/source/npm-debug.log
Traceback (most recent call last):
File "manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/Users/rrgirish/anaconda/envs/memex/lib/python2.7/site-packages/django/core/management/init.py", line 385, in execute_from_command_line
utility.execute()
File "/Users/rrgirish/anaconda/envs/memex/lib/python2.7/site-packages/django/core/management/init.py", line 345, in execute
settings.INSTALLED_APPS
File "/Users/rrgirish/anaconda/envs/memex/lib/python2.7/site-packages/django/conf/init.py", line 46, in getattr
self._setup(name)
File "/Users/rrgirish/anaconda/envs/memex/lib/python2.7/site-packages/django/conf/init.py", line 42, in _setup
self._wrapped = Settings(settings_module)
File "/Users/rrgirish/anaconda/envs/memex/lib/python2.7/site-packages/django/conf/init.py", line 98, in init
% (self.SETTINGS_MODULE, e)
ImportError: Could not import settings 'memex.settings' (Is it on sys.path? Is there an import error in the settings file?): No module named celery
~/Documents/CSCI_572/memex-explorer/deploy ~/Documents/CSCI_572/memex-explorer/source
Any pointers for this?

Did you run source activate memex before the supervisord command?

@brittainhard / @chrismattmann / @kriehl  - I think I'd like to disable log.io from the default build.  Installing is too fragile and we keep hitting the same issues.  Any objections?

@ahmadia I never got to that step. I get this on running app_setup.sh

@rrgirish - Go ahead and run source activate memex then supervisord, the failed log.io install step shouldn't affect the rest of the application.

@ahmadia i ran supervisord but django and celery keep exiting. Memex is also not running on port 8000.
This is what i see on the console repeatedly:
2015-10-03 16:37:33,189 INFO spawned: 'django' with pid 15056
2015-10-03 16:37:33,663 INFO success: celery entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2015-10-03 16:37:33,701 INFO exited: celery (exit status 1; not expected)
2015-10-03 16:37:33,886 INFO spawned: 'celery' with pid 15059
2015-10-03 16:37:34,269 INFO success: django entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2015-10-03 16:37:34,295 INFO exited: django (exit status 1; not expected)
2015-10-03 16:37:34,583 INFO spawned: 'django' with pid 15062

Logs are in resources/logs or you can try starting the applications
manually. Please post back with what you find.
On Saturday, October 3, 2015, rrgirish<EMAIL_ADDRESS>wrote:

@ahmadia https://github.com/ahmadia i ran supervisord but django and
celery keep exiting. Memex is also not running on port 8000.
This is what i see on the console repeatedly:
2015-10-03 16:37:33,189 INFO spawned: 'django' with pid 15056
2015-10-03 16:37:33,663 INFO success: celery entered RUNNING state,
process has stayed up for > than 1 seconds (startsecs)
2015-10-03 16:37:33,701 INFO exited: celery (exit status 1; not expected)
2015-10-03 16:37:33,886 INFO spawned: 'celery' with pid 15059
2015-10-03 16:37:34,269 INFO success: django entered RUNNING state,
process has stayed up for > than 1 seconds (startsecs)
2015-10-03 16:37:34,295 INFO exited: django (exit status 1; not expected)
2015-10-03 16:37:34,583 INFO spawned: 'django' with pid 15062
—
Reply to this email directly or view it on GitHub
https://github.com/memex-explorer/memex-explorer/issues/683#issuecomment-145299477
.

--

Aron Ahmadia
Computational and Data Scientist
[image: Continuum Analytics] http://continuum.io

@ahmadia Thanks for the logs location! There were a couple of python packages not installed on the mac. After installing those packages and then running supervisord, i get the server up and running.
However, on opening localhost:8000 i get this error page:
no such table: base_project
Request Method:	GET
Request URL:	http://localhost:8000/
Django Version:	1.7.3
Exception Type:	OperationalError
Exception Value:
no such table: base_project
Exception Location:	/Users/rrgirish/anaconda/envs/memex/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py in execute, line 485
Python Executable:	/Users/rrgirish/anaconda/envs/memex/bin/python
Am i missing anything else?

The SQLite file is created when you run app_setup, and the packages are
installed in the Conda env create command. Try rerunning each of the
commands from app setup in the right directory except for the npm install.
On Saturday, October 3, 2015, rrgirish<EMAIL_ADDRESS>wrote:

@ahmadia https://github.com/ahmadia Thanks for the logs location! There
were a couple of python packages not installed on the mac. After installing
those packages and then running supervisord, i get the server up and
running.
However, on opening localhost:8000 i get this error page:
no such table: base_project
Request Method: GET
Request URL: http://localhost:8000/
Django Version: 1.7.3
Exception Type: OperationalError
Exception Value:
no such table: base_project
Exception Location:
/Users/rrgirish/anaconda/envs/memex/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py
in execute, line 485
Python Executable: /Users/rrgirish/anaconda/envs/memex/bin/python
Am i missing anything else?
—
Reply to this email directly or view it on GitHub
https://github.com/memex-explorer/memex-explorer/issues/683#issuecomment-145303993
.

--

Aron Ahmadia
Computational and Data Scientist
[image: Continuum Analytics] http://continuum.io

Thanks a lot! I commented out the part on lib io in the app_setup file and ran it again. Now it works.

Awesome!  @rrgirish - please report back with your experiences/issues.  I'm going to leave this issue open since I'd like to address the issue of the failing log.io installs.


[deliver] fix platform

issue: https://github.com/fastlane/fastlane/issues/7356

infact the issue was resolved by just setting the platform to osx - but i think the change in this PR should also be there.

Would you mind pushing again, so that we re-trigger Circle?

@KrauseFx  done


Add support for Ansible Runner

Currently the auto-heal service can react to alerts running AWX jobs or Kubernetes batch jobs. It should also be able to run playbooks using Ansible Runner.
The description of the healing action should contain all the data needed to run the playbook, in an structure similar to the one used by Ansible Runner itself. For example:
apiVersion: autoheal.openshift.io/v1alpha2
kind: HealingRule
metadata:
  name: my-rule
labels:
  alertname: "MyAlert"
ansibleRunner:
  env:
    envvars:
      TESTVAR: aval
    extravars:
      ansible_connection: local
      test: val
    passwords:
      "Password:\\s*?$": "some_password"
    settings:
      idle_timeout: 600
      job_timeout: 3600
      pexpect_timeout: 10
    ssh_key: ...
  inventory:
    hosts:
      ...
  project:
    test.yml:
      ...

The auto-heal service should take all these information and create a config map (or secret) containing all this information. It should then start a Kubernetes job that runs the Ansible Runner image with the config map (or secret) mounted so that Ansible Runner can use it.
In order to be able to pass passwords and SSH keys to Ansible Runner the auto-heal service should also be able to access Kubernetes secrets, and inject their values into the generated config map. For example, assuming that the SSH private key will be stored in a secret named mysshkey, the auto-heal service should support something like this:
ssh_key: $secrets.mysshkey['ssh-privatekey']

I'm not sure what's our exact trust model, but it's good™ to keep secrets separate from non-sensitive data.  Can we mount the secrets (or inject as env vars via valueFrom: secretKeyRef:) so ansible-runner can access them?

I am not 100% sure, but I think the only way that Ansible Runner can access secrets is if their content is written in some of the files that it uses. So environment variables won't work, unless we manage to take the environment variables and write their content to files.


[Improvement] Reliable outbound provisioning & the ability to retry

In outbound provisioning in Identity server, there is no mechanism of retry in case of a failure.
There should be a mechanism for notifying the users whether the provisioning is successful or not and If failed, the user should be able to retry.
Redmine: https://redmine.wso2.com/issues/6934

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.


param resource-metering.enabled  is deleted in v5.4.0, upgrade to 5.4.0 will fail if pre-upgrade version include this config

Bug Report

What version of TiKV are you using?
v5.4.0
What operating system and CPU are you using?

Steps to reproduce
Error: init config failed: <IP_ADDRESS>:2360: executor.ssh.execute_failed: Failed to execute command over SSH for 'tidb@<IP_ADDRESS>:22' {ssh_stderr: unknown configuration options: resource-metering.enabled
, ssh_stdout: , ssh_command: export LANG=C; PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin /home/tidb/deploy/tikv-2360/bin/tikv-server --config-check --config=/home/tidb/deploy/tikv-2360/conf/tikv.toml --pd "" --data-dir "/home/tidb/deploy/tikv-2360/data"}, cause: Process exited with status 1: check config failed
Verbose debug logs has been written to /home/tidb/.tiup/logs/tiup-cluster-debug-2022-01-11-11-14-29.log.
Error: run /home/tidb/.tiup/components/cluster/v1.8.1/tiup-cluster (wd:/home/tidb/.tiup/data/SuAsiQg) failed: exit status 1
[tidb@101 540]$
What did you expect?
this config can be ignored
What did happened?
upgrade fail

/type bug

/severity Critical

/assign tonyxuqqi

/assign zhongzc

Since resource-metering.enabled is not released, backward compatibility may not be guaranteed.


Stop click event propagation when clicking an IssueItem component

The current behavior is annoying because it toggles the repository item card isOpen state whenever you click on anything within the repo card, including links.

Hey @aqeelat! Thanks for opening the issue. That would be a good improvement! Do you want to have a look at it?

@lucavallin I can take a look at it if this is still open! Would it make sense to have only the div with the repository info handle the toggle? Or would it be better to add stopPropagation event on the links themselves?
In my personal, albeit limited, experience, misclicking an issue and accidentally closing the issue list is annoying, but not everyone has fat fingers like me so I want to make sure, haha.

Hey @Senatrius! Yep, feel free to have a look at it... thanks for your interest! What you suggested is probably the best option, and cleaner than stopping even propagation imho.
A possible solution is also to have only the "header" of the card to handle the toggle:

What do you think?

@lucavallin that is certainly a good option. I'm thinking to also adjust the hover effect, right now hover effect on the "header" doesn't show up when list is expanded, only when it's collapsed. It feels slightly inconsistent.
Something to look into later, I'm not on my laptop at the moment. I'll get to it as soon as I'm able, probably have something ready tomorrow.


Bump dartdoc to 6.1.3

No longer includes constructor-like calls interspersed in enum doc generation by updating to the latest dartdoc version.
Fixes https://github.com/dart-lang/dartdoc/issues/3201

Is there a way to set up an autoroller for this? (cc @godofredoc?)

test-exempt: rolling dependencies


Invoke error message hard to follow when env key set to integer

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/3314
Originally created by @pnadolny13 on 2022-03-04 17:32:22

What is the current bug behavior?
What is happening now?
I set PG_PORT as an environment level env in my meltano.yml and forgot to quote the integer. I assume we'd say that they should always be quoted but the error logs were really hard to decrypt what the issue was. It just says expected str, bytes or os.PathLike object, not int.
What is the expected correct behavior?
What should be happening?
It should either validate for this or catch the exception and try to give a better log message so I can fix it without having to read through the stack trace.
Steps to reproduce
How one can reproduce the issue?
plugins:
  extractors:
  - name: tap-gitlab
    variant: meltanolabs
    pip_url: git+https://github.com/MeltanoLabs/tap-gitlab.git
    select:
    - commits.id
    - commits.project_id
    - commits.created_at
    - commits.author_name
    - commits.message
    - tags.*
    - '!*.*_url'
  loaders:
  - name: target-postgres
    variant: transferwise
    pip_url: pipelinewise-target-postgres
  orchestrators:
  - name: airflow
    pip_url: apache-airflow==2.1.2 --constraint https://raw.githubusercontent.com/apache/airflow/constraints-2.1.2/constraints-${MELTANO__PYTHON_VERSION}.txt
  transformers:
  - name: dbt
    pip_url: 'dbt-core~=1.0.0 dbt-postgres~=1.0.0 dbt-redshift~=1.0.0 dbt-snowflake~=1.0.0
      dbt-bigquery~=1.0.0

      '
  files:
  - name: dbt
    pip_url: git+https://gitlab.com/meltano/files-dbt.git@config-version-2
  - name: airflow
    pip_url: git+https://gitlab.com/meltano/files-airflow.git
environments:
- name: dev
  config:
    plugins:
      extractors:
      - name: tap-gitlab
        config:
          projects: meltano/meltano meltano/tap-gitlab
          start_date: '2021-03-01T00:00:00Z'
      loaders:
      - name: target-postgres
        config:
          user: meltano
          dbname: warehouse
          default_target_schema: public
      transformers:
      - name: dbt
        config:
          target: postgres
          source_schema: public
  env:
    PG_ADDRESS: localhost
    PG_PORT: 5432
    PG_USERNAME: meltano
    PG_DATABASE: warehouse

Then I ran
meltano --log-level=debug --environment=dev invoke dbt:compile
Relevant logs and/or screenshots
Please use code blocks (```) to format console output
2022-03-04T17:13:08.705829Z [debug    ] expected str, bytes or os.PathLike object, not int
Traceback (most recent call last):
  File "/Users/pnadolny/.virtualenvs/meltano_project/lib/python3.8/site-packages/meltano/cli/__init__.py", line 47, in main
    cli(obj={"project": None})
  File "/Users/pnadolny/.virtualenvs/meltano_project/lib/python3.8/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/Users/pnadolny/.virtualenvs/meltano_project/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/Users/pnadolny/.virtualenvs/meltano_project/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/pnadolny/.virtualenvs/meltano_project/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/pnadolny/.virtualenvs/meltano_project/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/Users/pnadolny/.virtualenvs/meltano_project/lib/python3.8/site-packages/meltano/cli/params.py", line 23, in decorate
    return func(*args, **kwargs)
  File "/Users/pnadolny/.virtualenvs/meltano_project/lib/python3.8/site-packages/meltano/cli/params.py", line 56, in decorate
    func(project, *args, **kwargs)
  File "/Users/pnadolny/.virtualenvs/meltano_project/lib/python3.8/site-packages/meltano/cli/invoke.py", line 88, in invoke
    exit_code = run_async(
  File "/Users/pnadolny/.virtualenvs/meltano_project/lib/python3.8/site-packages/meltano/core/utils/__init__.py", line 50, in run_async
    loop.run_until_complete(future)
  File "/Users/pnadolny/.pyenv/versions/3.8.12/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "/Users/pnadolny/.virtualenvs/meltano_project/lib/python3.8/site-packages/meltano/cli/invoke.py", line 131, in _invoke
    handle = await invoker.invoke_async(*plugin_args, command=command_name)
  File "/Users/pnadolny/.virtualenvs/meltano_project/lib/python3.8/site-packages/meltano/core/plugin_invoker.py", line 393, in invoke_async
    return await asyncio.create_subprocess_exec(
  File "/Users/pnadolny/.pyenv/versions/3.8.12/lib/python3.8/asyncio/subprocess.py", line 236, in create_subprocess_exec
    transport, protocol = await loop.subprocess_exec(
  File "/Users/pnadolny/.pyenv/versions/3.8.12/lib/python3.8/asyncio/base_events.py", line 1630, in subprocess_exec
    transport = await self._make_subprocess_transport(
  File "/Users/pnadolny/.pyenv/versions/3.8.12/lib/python3.8/asyncio/unix_events.py", line 197, in _make_subprocess_transport
    transp = _UnixSubprocessTransport(self, protocol, args, shell,
  File "/Users/pnadolny/.pyenv/versions/3.8.12/lib/python3.8/asyncio/base_subprocess.py", line 36, in __init__
    self._start(args=args, shell=shell, stdin=stdin, stdout=stdout,
  File "/Users/pnadolny/.pyenv/versions/3.8.12/lib/python3.8/asyncio/unix_events.py", line 789, in _start
    self._proc = subprocess.Popen(
  File "/Users/pnadolny/.pyenv/versions/3.8.12/lib/python3.8/subprocess.py", line 858, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/Users/pnadolny/.pyenv/versions/3.8.12/lib/python3.8/subprocess.py", line 1628, in _execute_child
    env_list.append(k + b'=' + os.fsencode(v))
  File "/Users/pnadolny/.pyenv/versions/3.8.12/lib/python3.8/os.py", line 806, in fsencode
    filename = fspath(filename)  # Does type-checking of `filename`.
TypeError: expected str, bytes or os.PathLike object, not int

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/Users/pnadolny/.virtualenvs/meltano_project/lib/python3.8/site-packages/meltano/cli/__init__.py", line 55, in main
    raise CliError(str(err)) from err
meltano.cli.utils.CliError: expected str, bytes or os.PathLike object, not int
expected str, bytes or os.PathLike object, not int

Possible fixes
If you can, link to the line of code that might be responsible for the problem or suggest a fix
Further regression test
Ensure we automatically catch similar issues in the future

[ ] Write additional adequate test cases and submit test results
[ ] Test results should be reviewed by a person from the team

View 8 previous comments from the original issue on GitLab

Still relevant


dependency conflict between azure-mgmt-subscription and azure-devops

Package Name: azure-devops
Package Version: 6.0.0b4
Operating System: MacOS 12.6
Python Version: 3.10.4

Describe the bug
Error was encountered while upgrading azure-mgmt-subscription from 3.0.0 to 3.1.0
Setting these dependencies in your pipfile and running pipenv install will result in a dependency conflict error:
azure-mgmt-subscription = "==3.1.0"
azure-devops = "==6.0.0b4"

Looking at the dependency graph output it looks like the devops dependency has an upper limit on its ms-rest dependency version which triggers this error
from azure-devops dep graph:
- msrest [required: >=0.6.0,<0.7.0, installed: 0.7.1]
from azure-mgmt-subscription 3.1.0 dep graph:
- msrest [required: >=0.7.1, installed: 0.7.1]

Hi @ttorsteinbo thanks for the feedback. We will get back to you asap.

Hi @ttorsteinbo, mgmt SDK can't downgrade dependency so I think it is better to open issue in https://github.com/microsoft/azure-devops-python-api/issues for a new release with higher version of msrest