How to disable exit prompt

What did you expect to happen?

What actually happened?
Emacs is asking me in minibuffer : Really exit emacs?...
Additional details:
The relevant part of my init.el:
(doom! :input

       :completion
       company           ; the ultimate code completion backend
       ivy               ; a search engine for love and life

       :ui
       ;;deft              ; notational velocity for Emacs
       doom              ; what makes DOOM look the way it does
       doom-dashboard    ; a nifty splash screen for Emacs
       ; doom-quit         ; DOOM quit-message prompts when you quit Emacs
       ...
      )

Steps to reproduce:
Start doom emacs.
Open a file (not modified it at all).
Press SPC q q.
System information:

```
emacs   version    26.3
        features   XPM JPEG TIFF GIF PNG SOUND GSETTINGS GLIB NOTIFY GNUTLS FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11 XDBE XIM THREADS
        build      Nov 12, 2019
        buildopts  (--with-x-toolkit=lucid)
        windowsys  x
        daemonp    server-running
doom    version    2.0.9
        build      HEAD -> develop, origin/develop, origin/HEAD 10623868b 2020-02-19 23:41:39 -0500
        dir        ~/.doom.d/
system  type       gnu/linux
        config     x86_64-pc-linux-gnu
        shell      /bin/bash
        uname      Linux 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64
        path       (/fast/anaconda3/condabin /fast/anaconda3/bin ~/bin/ ~/.emacs.d/bin /usr/local/cuda/bin ~/bin ~/.local/bin /usr/games /usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin /snap/bin /usr/lib/jvm/java-8-oracle/bin /usr/lib/jvm/java-8-oracle/db/bin /usr/lib/jvm/java-8-oracle/jre/bin ~/.emacs.d/bin /usr/local/libexec/emacs/26.3/x86_64-pc-linux-gnu/)
config  envfile    envvar-file
        elc-files  0
        modules    (:completion company ivy :ui doom doom-dashboard hl-todo indent-guides modeline nav-flash ophints (popup +all +defaults) vc-gutter vi-tilde-fringe zen :editor (evil +everywhere) file-templates fold (format +onsave) multiple-cursors rotate-text snippets :emacs (dired +ranger +icons) electric ibuffer vc :checkers syntax spell grammar :tools (eval +overlay) (lookup +docsets) magit :lang cc data emacs-lisp latex markdown (org +dragndrop +present) python sh :config (default +bindings +smartparens))
        packages   ((figlet) (imenu-list) (ivy-yasnippet) (lorem-ipsum) (nocomments-mode) (highlight-symbol))
        elpa       (n/a)
        unpin      (n/a)
```

confirm-kill-emacs is non-nil by default. The doom-quit module only adds silly confirmation messages to it. To disable it completely:
(setq confirm-kill-emacs nil)

related: if you want to just disable the confusing messages, but keep a simple "Really exit Emacs?" prompt, you can disable the doom-quit module in ~/.doom.d/init.el (and call 'doom sync' afterwards).


Propagate additional information to nodes with INode metadata

Adding optional metadata: any prop to INode
Adding optional metadata: any prop to  ITreeNode
Do a shallow copy of meta data when flattening  ITreeNode. Ideally, it would be great if this was a deep copy but I need some help for that
Adding 2 tests to validate that metadata exists after flattening tree and metadata can be accessed in nodeRenderer

Attempting to resolve https://github.com/dgreene1/react-accessible-treeview/issues/86 and the comments brought up in https://github.com/dgreene1/react-accessible-treeview/pull/101

@mellis481 this PR has the fixes i requested. It was very nice of @megbailey to make the changes that the previous submitter was asked to make. Can you and @yhy-1 get this approved and merged?
Sincerely, from the beach,
Dan

@kpustakhod please merge this

Thank you @megbailey for you contributions. Thank you @sandro768 for the push. We love our community. :)

What is the purpose of doing a shallow clone on the metadata object? Presumably, metadata is just used for additional data that can be used to render large trees and will likely only contain static properties. If anything, I would assume (as a user) that any metadata object that is passed to a given node could be mutated as that is how javascript objects typically work. By shallow cloning the metadata object, we are effectively breaking the expected behavior of the data being passed to the tree.
Furthermore, I don't think nodes should only accept a non-nested metadata object purely so that the flattenTree function can do a shallow clone. For cases where the user is manually building the INode array, users shouldn't be limited to a single level of metadata since we aren't doing any additional metadata manipulation for them.
And finally, boolean should be added to the IFlatMetadata type.


[2031] Add debug info to DuplicateUserError

Context
https://trello.com/c/KMR5Tpjc/2031-add-debug-info-to-error-message-for-error-duplicateusererror
It is impossible to debug this without more information.
Sentry just prints out the error message for the exception, (we could
also use something called raven_context to add some json to the
exception, but that feature is undocumented so this feels safer). It
would be nice to have the email address as well, but this would be
filtered out by our sentry config for PII reasons.
Changes proposed in this pull request
Adds all the attributes on DuplicateUserError to the message
Guidance to review
Not easy to test this with sentry as we disable it on the review apps. If you want to see the error message in action, just raise one manually in the console. Or if you really want to have a fun Friday afternoon, set up your own trial sentry account, set the dsn on your local app and manually send the exception using Raven.capture_exception
Checklist

[ ] Make sure all information from the Trello card is in here
[ ] Attach to Trello card
[ ] Rebased master
[ ] Cleaned commit history
[ ] Tested by running locally

 Add debug info to error message for error DuplicateUserError


Class 'Firebase\Database' not found

I'm attempting to utilize the server value of timestamp in my php project to entries into Firebase Realtime DB.
<?php
require 'vendor/autoload.php';
use Kreait\Firebase\Factory;
use Kreait\Firebase\ServiceAccount;
use Firebase\Database;
$serviceAccount = ServiceAccount::fromJsonFile('.config/google.json');
$firebase = (new Factory)->withServiceAccount($serviceAccount)->withDatabaseUri('https://my-ap.firebaseio.com/')->create();
$db = $firebase->getDatabase();
$ref = $db->getReference('reservoir')->push('created_at', Database::SERVER_TIMESTAMP)->getKey();
print_r($ref);

prints the following

Fatal error: Uncaught Error: Class 'Firebase\Database' not found

Firebase was installed by composer using composer require  kreait/firebase-php ^3.0
What am I needing to require to access the Database class?

Hey @goodrickstar, this was an error in the documentation - please remove the use Firebase\Database; line and your code should work as expected, with $db containing the database instance.

Hi there,
So it looks I dont have in my php:
use Kreait\Firebase\Database;
But instead I have:
use Kreait\Firebase\Factory;
use Kreait\Firebase\ServiceAccount;
And this error persists, any help¿?

@movify If an existing issue and it’s comments doesn‘t solve your problem, please open a new issue and follow the instructions in the issue template.
Especially provide a full code example (without secrets) so that the problem can be reproduced.
Based on our previous communications, please make sure that on your server, the PHP version is the same as in your development environment and that the vendor directory exists.

Hi Jerome,
The fact is that I send a POST by html to Stripe, and in this .PHP file I try to create the instance of my Firebase Database without any success.

Is there any step-by-step guideon getting just Snapshot fromFirebase in PHP?

/vendor exists in my ftp server and the PHP Version installed in my Mac is 7.1.7.
Do I have install on the FTP server a PHP?
Best,
En 10 de mayo de 2018, 11:36:33 +02:00, Jérôme Gamez<EMAIL_ADDRESS>escribió:

@movify https://github.com/movify If an existing issue and it’s comments doesn‘t solve your problem, please open a new issue and follow the instructions in the issue template.
Especially provide a full code example (without secrets) so that the problem can be reproduced.
Based on our previous communications, please make sure that on your server, the PHP version is the same as in your development environment and that the vendor directory exists.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/kreait/firebase-php/issues/103#issuecomment-388004814, or mute the thread https://github.com/notifications/unsubscribe-auth/AiOHppc1dc4UDlVhxMx4JPLy4M3TtjBRks5txAohgaJpZM4OZI4w.

I posted a link to a usage example as a reply to your comment on the other thread - you do actually need PHP in each environment a script is running in, so yes, you need to install a PHP on your FTP-Server.


Example in readme does not work

Describe the bug
Running either replace_conv this code form the readme on the front page:
model = vgg16()
replace_conv(model, WSConv2d) # This repo's original implementation
replace_conv(model, ScaledStdConv2d) # From timm
Results in this error:
  File "/opt/conda/lib/python3.8/site-packages/nfnets/utils.py", line 25, in replace_conv
    replace_conv(mod, conv_class)
  File "/opt/conda/lib/python3.8/site-packages/nfnets/utils.py", line 18, in replace_conv
    setattr(module, name, conv_class(target_mod.in_channels, target_mod.out_channels, target_mod.kernel_size,
  File "/opt/conda/lib/python3.8/site-packages/nfnets/base.py", line 262, in __init__
    super().__init__(in_channels, out_channels, kernel_size, stride=stride, padding=padding,
  File "/opt/conda/lib/python3.8/site-packages/torch/nn/modules/conv.py", line 386, in __init__
    super(Conv2d, self).__init__(
  File "/opt/conda/lib/python3.8/site-packages/torch/nn/modules/conv.py", line 108, in __init__
    if bias:
RuntimeError: Boolean value of Tensor with more than one value is ambiguous

Hey, I'll check this out. But, you can always use nf-resnet family of models from the timm and bypass this functionality entirely. Read it from the blog post of why it might not be a good idea to use the replace_conv functionality directly on most models(vgg needs experimentation, but intuitively it might be a hit or miss). I've added this just in case anyone wanted a replacement functionality. I'll soon be deprecating or add a warning about its usage. Currently, I'm a bit busy with some personal life changes, hence most issues/feature requests will be attended to after a week or so.

Fixed in the latest commit!


#1993 but for opencv built from source

Exactly as the title suggests, refers to https://github.com/microsoft/vscode-python/issues/1993.
OpenCV built with NVIDIA CUDA and cuDNN on.
VS Code: 1.47.2
OS: Windows 10 Home 1909 18363.959
Refer: https://github.com/microsoft/python-language-server/issues/1926

@ShivamMukherjee We have recently released a new and more performant language server called Pylance. This issue will likely be addressed there. Because our team's development efforts have shifted to support the new language server, we'd encourage you to try it out. You can download Pylance from the marketplace and install it alongside the core Python extension.


Impossible to start container

Hello,
I was refreshing all my certificates on my nginx-proxy-manager docker the first one was ok and then the second get me an error.
So i decide to reboot my docker to see if it was just a little "bug" but now i cant access to my docker webui i have these error in logs :
[nginx] starting...
nginx: [emerg] cannot load certificate "/etc/letsencrypt/live/npm-31/fullchain.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/npm-31/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
If someone can help me with these :)
thank you !

You probably deleted a certificate manually and had still attached the certificate in one of your proxy hosts. After restarting NPM the nginx configuration will still have links to the old cert but these files are now gone and that's what is causing your problem.
I had a similar problem once and I think I resolved it by temporarily copying another set of certificates to the folder where nginx is missing the certs.
Try something like this:

go to ./letsencrypt/archive/ and hopefully you still have folders there with valid certs.
temporarily copy one of those folders to the now missing folder npm-31:

cd letsencrypt/archive

rm -R ../live/npm-31

cp [any folder] ../live/npm-31

Try if that temporarily fixes things so you can restart NPM properly.
If you can login to NPM you should immediately find out which of your proxy hosts is npm-31 and unselect/remove SSL from that host. Then delete the temporary folder you copied: rm -R letsencrypt/live/npm-31
Now you should be ready to create a new certificate and attach it back to your proxy host. And remember: Don't delete certificates you still have attached to a proxy host in the future :)
Hope that helps!

Hello @ch4ox !
Thanks for your asnwer, yes i thinks i have delete a certificate still attached to a proxy host so i will know for the future thanks.
I have try your solution to copy an archive folder into a new npm-31 folder in /live but when i reboot the docker i still have excatly the same message even if i have correctly copy and have the same file as an archive folder.
It's looks like the file in live are a link to the /archive/npm-x/files

But i don't know how to create these link, do you have an idea ?
Thanks for your precious help

Ah sorry, you're right, the filenames are different. You could just rename those files so they don't have the "1" in their name anymore: mv cert1.pem cert.pem etc.
Another way would be to create those symbolic links but then you'd have to copy the folder in archive and link them manually with ln -s. I would go with the easy method first, so just rename those files :)

Thanks a lot for your help !!

I did go the "hard way" with the ln -s config, know it's working again i have access to my gui !
Thanks a lot for your help couldn't have done it without you !

You probably deleted a certificate manually and had still attached the certificate in one of your proxy hosts. After restarting NPM the nginx configuration will still have links to the old cert but these files are now gone and that's what is causing your problem.
I had a similar problem once and I think I resolved it by temporarily copying another set of certificates to the folder where nginx is missing the certs.
Try something like this:

go to ./letsencrypt/archive/ and hopefully you still have folders there with valid certs.
temporarily copy one of those folders to the now missing folder npm-31:
cd letsencrypt/archive
rm -R ../live/npm-31
cp [any folder] ../live/npm-31

Try if that temporarily fixes things so you can restart NPM properly.
If you can login to NPM you should immediately find out which of your proxy hosts is npm-31 and unselect/remove SSL from that host. Then delete the temporary folder you copied: rm -R letsencrypt/live/npm-31
Now you should be ready to create a new certificate and attach it back to your proxy host. And remember: Don't delete certificates you still have attached to a proxy host in the future :)
Hope that helps!

I was having this same issue and this answer worked for me. Thanks!


Allowing only moderate and above dep vulns to fail audit

We have yarn audit as a part of our CI checks, currently, even INFO and LOW notices will cause it to fail. These types of errors are too frequent and will likely be present majority of the time. This PR adds a proxy script so that only moderate, high, and critical vulnerabilities cause a CI failure.

I'm ok with it, but leaving this one to @diracdeltas to decide.

Script will now fail if there are >=10 low vulnerabilities
Some output has been added as well cc: @diracdeltas


Update plugin to be compatible with Cypress 10

Hello 👋 I'm writing on behalf of the Cypress DX team. We wanted to notify you that some changes may need to be made to this plugin to ensure that it works in Cypress 10.
For more information, here is our official plugin update guide.

Hi @admah , thanks for letting me know 😃
I have just released a new version. Fortunately, the plugin was working properly with Cypress v10, I had only to update the plugin E2E tests to use it.

@javierbrea glad to hear that!


Invalid addon repository for Mopidy

When I add a new repository to my Supervised HA 2022.3.4 using
https://github.com/Poeschl/Hassio-Addons/mopidy
I get Invalid Add-on repository.
Am I doing something wrong or is something broken atm?
Thanks

You need to add https://github.com/Poeschl/Hassio-Addons as repository, this should work.

Thanks.


Support manually adjusting the symbol position

While I'd love this one, it doesn't feel like an initial release.


Add DDEV store links.

The Issue
Adds the DDEV store links to ddev.com

Sounds good, thoughts on renaming it from shop to swag shop?
https://astro.build/

Like astro does?

"Swag shop" is clearer and fine with me.

relates https://github.com/ddev/ddev/issues/5792


results['img'].shape != results['img_shape'] when use Albu's RandomRotate90  to augment the dataset.

I add dict(type='Albu', transforms=[dict(type='RandomRotate90', p=0.5)]) to pipeline. results['img'].shape != results['img_shape'], when the data rotate 90 or 270. Is it a bug?

Hi, I didn't meet this error before, I'll have a try this afternoon.

@kingstarcraft Hi, please give me your config file, I have checked randomrotate90 and did not get the error. Did you fix your error?

have you met this error when using RandomRotate90
Traceback (most recent call last):
  File "./tools/train.py", line 234, in <module>
    main()
  File "./tools/train.py", line 221, in main
    meta=meta)
  File "/disk/sde/qwe/project/mmdet/apis/train.py", line 208, in train_detector
    runner.run(data_loaders, cfg.workflow)
  File "/disk/sdb/qwe/.conda/envs/qwe_env2/lib/python3.7/site-packages/mmcv/runner/epoch_based_runner.py", line 127, in run
    epoch_runner(data_loaders[i], **kwargs)
  File "/disk/sdb/qwe/.conda/envs/qwe_env2/lib/python3.7/site-packages/mmcv/runner/epoch_based_runner.py", line 47, in train
    for i, data_batch in enumerate(self.data_loader):
  File "/disk/sdb/qwe/.conda/envs/qwe_env2/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 435, in __next__
    data = self._next_data()
  File "/disk/sdb/qwe/.conda/envs/qwe_env2/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 1085, in _next_data
    return self._process_data(data)
  File "/disk/sdb/qwe/.conda/envs/qwe_env2/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 1111, in _process_data
    data.reraise()
  File "/disk/sdb/qwe/.conda/envs/qwe_env2/lib/python3.7/site-packages/torch/_utils.py", line 428, in reraise
    raise self.exc_type(msg)
RuntimeError: Caught RuntimeError in DataLoader worker process 6.
Original Traceback (most recent call last):
  File "/disk/sdb/qwe/.conda/envs/qwe_env2/lib/python3.7/site-packages/torch/utils/data/_utils/worker.py", line 198, in _worker_loop
    data = fetcher.fetch(index)
  File "/disk/sdb/qwe/.conda/envs/qwe_env2/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
    data = [self.dataset[idx] for idx in possibly_batched_index]
  File "/disk/sdb/qwe/.conda/envs/qwe_env2/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in <listcomp>
    data = [self.dataset[idx] for idx in possibly_batched_index]
  File "/disk/sde/qwe/project/mmdet/datasets/dataset_wrappers.py", line 437, in __getitem__
    'The training pipeline of the dataset wrapper'
RuntimeError: The training pipeline of the dataset wrapper always return None.Please check the correctness of the dataset and its pipeline.

when i remove RandomRotate90 , the training is normal

feel free to re-open this issue if you still meet this error


feat: forward and back buttons for organize column search

Closes #1529

My guess is a react re-render is interrupting the scroll.

My guess is a react re-render is interrupting the scroll.

fixed in the latest version now. It wasn't a re-render. My newest changes just broke the previous way I was passing in which item to focus on. All good now though!


Option to pass alignment hints to the load and store macros

This won't work with the original w2c2_base.h, but a custom one should be able to make use of it.
Questions:

Should I validate whether the hints have valid values, or just assume it's valid like I am now?
Should I be doing result->align = 1 << align; in the instruction reader like I have here, leave it as-is in the instruction struct and do that as the C source file is written, or write it to the file as-is and have the macros do it?

Closes #65

Oops, looks like I made a mistake that got caught by the test cases again

Sorry, I missed your questions:

Should I validate whether the hints have valid values, or just assume it's valid like I am now?

No, you don't need validate it. w2c2 does not do any validation and assumes the input module is valid, as other tools are already available to validate modules. That keeps w2c2 simple.

Should I be doing result->align = 1 << align; in the instruction reader like I have here, leave it as-is in the instruction struct and do that as the C source file is written, or write it to the file as-is and have the macros do it?

The way it is implemented at the moment seems fine to me 👍


wavebox: 4.7.3 -> 4.11.1

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers

Me

Tested and works fine for me :+1:


[SDK-2298] Update Sample applications

This PR updates the examples to work with the latest versions where appropriate:

Use the latest Auth0 SDKs
Use the latest Xamarin Forms
Build using a more recent Android version
Remove the Xamarin UWP example for now. If needed we can also retrieve it back from history.
Update supported Android versions to be up to date
Dropped unused dependencies where possible

[SDK-2298]


typescript  Cannot find name 'DragObject'

typescript  Cannot find name 'DragObject'
import { useDrop, DragObject, DropTargetMonitor } from 'react-dnd'
  const [, drop] = useDrop({
    accept: type,
    drop (item: DragObject, monitor: DropTargetMonitor) {
      props.onDrop(item, monitor)
    },
    collect: monitor => ({
      isOver: monitor.isOver()
    })
  })

You can create on yourself.
Let's think about the case that drag item is declared like this.
const ItemTypes = {
  SOME_ITEM: "some_item",
};

const [, drag] = useDrag({
  accept: {name: "some Item", type: ItemTypes.SOME_ITEM},
});

Then, you can create type of DragObject like this.
type DragObject = {
  name: string;
  type: string;
}

And useDrop would be like this.
const [, drop] = useDrop({
  accept: [ItemTypes.SOME_ITEM],
  drop: (item: DragObject, monitor: DropTargetMonitor) {
    console.log(item);
  },
});

When you try to drag the item, you can see the result of item contents in browser console :)


Support custom messages for numeric checking

Update validate.js that supports custom messages for numeric checking

Please read the guidelines for contributing. You haven't written any tests and the existing tests fail. These will need to be fixed before this can be reviewed and potentially accepted.

Closing due to inactivity


remove direct explicit Guava dependency (FINERACT-963)

We ARE using Guava, but, unless we have a real need for a more recent
specific version, it seems "safer" (and less hassle to maintain bumping)
just using whatever version we transitively inherit from other libraries
we use that themselves depend on Guava (currently Swagger, Mustache and
activemq-broker).
Currently that "whatever version" is a 28.2 (we used 28.1 before).
This removes two fairly different kinds of Guava dependencies we have:
One for run-time (above), and one for build time which seems to have
been added due to some SpotBugs related issue (but it now works without
that, so that must have been some issue in SpotBugs that meanwhile go
fixed).

@ptuomola are you in favour of this?

Yes - probably the simplest solution. Just out of interest: which version do we end up with this? Hopefully the newest of the dependencies, rather than just what has been cached or is referenced first?

which version do we end up with this?

Currently that "whatever version" is a 28.2 (we used 28.1 before).
@awasum @xurror given @ptuomola's vote of support here, would one of you like to merge this? (Or I can self merge it in 24 hours.)

Given that Tracis and Spotbugs have not complaint, the problem is fixed. Also given the spotbugs problem required using a Guava version above 23, this has now, surely(i have not looked closely) been fixed given the Guava version on the classpath via transitive dep will be higher than 23. We can merge this ASAP. We can always reverse in case of problems. Thanks @vorburger and @ptuomola for this.


Accept friend requests only pending

Hi, using in some tests I found that if I ask a friend request, then that request is denied, if I ask another request (between same users) when the second one is accepted then all requests from that user are accepted, even if they were denied, so I have 2 friends count but with the same user.
In the trait I think could be changed
/**      * @param Model $recipient      *      * @return bool|int      */     public function acceptFriendRequest(Model $recipient)     {         return $this->findFriendship($recipient)->whereRecipient($this)->update([             'status' => Status::ACCEPTED,         ]);     }
with
/**      * @param Model $recipient      *      * @return bool|int      */     public function acceptFriendRequest(Model $recipient)     {         return $this->findFriendship($recipient)->where('status', Status::PENDING)->whereRecipient($this)->update([             'status' => Status::ACCEPTED,         ]);     }
on line 86

Hey, thanks for letting me know.
Can you please submit a pr with the failing test? Feel free to include the fix you mention.


pip-audit: 2.4.2 -> 2.4.3

Description of changes
https://github.com/trailofbits/pip-audit/releases/tag/v2.4.3

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

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

1 package built:

pip-audit


Unable to set optimizer state

🐛 Bug
I'm trying to restore the model using the resume_from_checkpoint. However, I am experiencing instability after the load, similar to #2613. I suspect this is because trainer.fit() calls configure_optimizers after restoring the optimizer, thus overwriting the previously restored value. Thus, I am additionally trying to set the optimizer in configure_optimizers, however, this leads to the process being killed.
To Reproduce
I do not have this issue in the BoringModel.
def configure_optimizers(self):
betas = (0.9, 0.999)
eps = 1e-6
optim = torch.optim.Adam(self.parameters(),lr=self.lr,betas=betas,eps=eps)
checkpoint = torch.load('......ckpt')
optimizer_state = checkpoint['optimizer_states'][0]
optim.load_state_dict(optimizer_state)
#self.trainer.checkpoint_connector.restore_training_state(checkpoint)
return {'optimizer': optim, 'monitor': 'val_loss'}
Expected behavior
I would not expect restoring the state of the optimizer to kill the process.
Environment
Pytorch Lightning 1.2.3
Pytorch 1.7.1
Installed torch with conda
Python version 3.7.1
Cuda version 10.2
Tesla V100

Prior to the most recent couple releases, I was able to use the following code  to ensure that the all optimizer settings were reloaded.  I think for versions 1.4.4>  attributes can not be set so the global_step and current_epoch lines fail, but for your environment set-up this method should work.
    trainer = pl.Trainer.from_argparse_args(**hparams )

    trainer.global_step = checkpoint['global_step']
    trainer.current_epoch = checkpoint['epoch']

   # restore the optimizers

    optimizer_states = checkpoint['optimizer_states']
    for optimizer, opt_state in zip(trainer.optimizers, optimizer_states):
      optimizer.load_state_dict(opt_state)

      # move optimizer to GPU 1 weight at a time
      # avoids OOM
      if trainer.root_gpu is not None:
          for state in optimizer.state.values():
              for k, v in state.items():
                  if isinstance(v, torch.Tensor):
                      state[k] = v.cuda(trainer.root_gpu)

    # restore the lr schedulers
    lr_schedulers = checkpoint['lr_schedulers']
    for scheduler, lrs_state in zip(trainer.lr_schedulers, lr_schedulers):
      scheduler['scheduler'].load_state_dict(lrs_state)

    del checkpoint
    torch.cuda.empty_cache()

The above does  not work. I have found that to restore you have to place the optimizer restoration code in configure_optimizers() function


[Bug]MAPS:  unable navigate to  marked location after deployment when my initial location and default marker are two different location

Steps to reproduce:

Add a Map widget
Click on Property pane of the widget
Set the Initial location
Set the Default marker
Now deploy
6)Try to move the map
and observe

Observation:
It is observed that the user is unable to navigate to location other then the Initial location. Trying to reduce/ increase the size of the map user is only navigated in and around  initial location

Steps to repro the bug on current release

Create map widget
Set default location from property pane
click JS to see js object, click back to see empty field (covered in another issue)
refresh editor page OR deploy application


If most recent version is not-approved the AH WQ should show “view” not “edit”

Related to #823 re. AH not being able to take any action on a “not-approved” version

@micheal-w-wells Another one related to #823

I think this one was actually resolved by #829.


Question: How can I do a Templated Control in a WinUI 3 Class Library and use in a Desktop App with custom styles?

I created a custom Control and defined its default style in a ResourceDictionary and I added it in the MergedDictionaries property in the ResourceDictionary defined in Generic.xaml. It works as expected at first moment, but when I tried to use a named Style calling the respective Key instead of the DefaultStyleKey defined in the custom control construtor, I got this exception:

And here is where I define the custom control with the specified ResourceKey:

Summary of the GameControl.xaml file:

WinUI Class Library Generic.xaml file:

Desktop App Generic.xaml file:

And the project structure:

If I instead define these controls inside the Desktop app project, it works fine, but I am wondering how I can achieve this in class library. Thank you for attention.

Create solution like this
Mylibrary.sln
MyLibrary.Shared (contains your code)
MyLibrary.WinUi (target uwp, contains Uwp specific code and controls style)
MyLibrary.Wpf (Same as above but for uwp

Thanks @nguyenkien but that's is not the question and I'll need to reformulate the title, sorry for that; the point is that my Custom Controls only works with their default styles, if I define an alternative one and try to use in Xaml code, that exception is throwed, so I am wondering a way to fix it.

You should include this in app.xaml instead
https://user-images.githubusercontent.com/30981574/107595427-eeed9900-6bea-11eb-9010-d560a2bb18b4.png

THANK YOU SO MUCH @nguyenkien! It works perfectly. Closing here.


OS X: App won't load

Keybase GUI Version: 1.0.16-20160803190018+268b023
Hi there,
after installing and starting the app the app's screen says "Loading..." but nothing happens, the app won't load.

CC: @gabriel

Hey guys, I've got the same issue. At first I thought maybe little snitch is blocking it, but I have disabled it and still getting the same problem.

same
version: 1.0.16-20160803190018+268b023

Same problem.
I was able to do a brew install keybase and get the CLI, however.

Sorry this fell off my radar...
Can you try this more recent version:
https://s3.amazonaws.com/prerelease.keybase.io/darwin/Keybase-1.0.17-20160823110029%2Bdfc9854.dmg
If it still doesn't work can you do a log send and post the ID:
/Applications/Keybase.app/Contents/SharedSupport/bin/keybase log send

And if you could try running the installer manually:
/Applications/Keybase.app/Contents/Resources/KeybaseInstaller.app/Contents/MacOS/Keybase --app-path=/Applications/Keybase.app --run-mode=prod

and lmk what happens to that. Thanks!

We have a new build which might resolve installer flakiness, in this build if you want to try it out:
https://keybase.pub/gabrielh/Keybase-1.0.17-20160830185045%2B1a947f1.dmg

Known issue we are working on getting fix into release channel. See https://github.com/keybase/client/issues/4150 for more info.
If you encounter this bug, this build resolves it temporarily:
https://keybase.pub/gabrielh/Keybase-1.0.17-20160830185045%2B1a947f1.dmg


138 usability improve on screen formatting of tables sent back to researchers

Function that prettifies view of data frame rather than using df.to_string():

adds surrounding box of 'dashes'
compares numbers lines in string version of table with size of table to determine number header fields
adds horizontal line under headers
adds line between top-level column items

I don't believe it's a problem, but we could remove the lines for sake of tidying up and then if running a notebook we can just $ pip install . the branch and then run the notebook as normal by importing acro, just $ pip uninstall acro after?


MongoDB storage schema

gsMetadata to save GlobalStorage metadata
gsStorage to save object index (we have separate collection for each category)
c<CategoryName> - collections for categorized objects

Done https://github.com/metarhia/GlobalStorage/commit/29af5fa961b7451a4dddd4252449341392238f8c


Build problem on gcc 4.4

Thank you very much for making this code available. I've succeed in building
m2m-aligner on
g++ 4.1.2. On the more recent 4.4, I get this error message

$ make
g++ -O3 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops
-funit-at-a-
time -pthread  -c -I./tclap1.1.0/include/   mmAligner.cpp -o mmAligner.o
In file included from ./tclap1.1.0/include/tclap/UnlabeledValueArg.h:30,
                 from ./tclap1.1.0/include/tclap/CmdLine.h:28,
                 from mmAligner.cpp:48:
./tclap1.1.0/include/tclap/ValueArg.h: In member function ‘int
TCLAP::VALUE_ARG_HELPER::ValueExtractor<T>::extractValue(const std::string&)’:
./tclap1.1.0/include/tclap/ValueArg.h:103: error: ‘EOF’ was not declared in
this scope
In file included from ./tclap1.1.0/include/tclap/UnlabeledMultiArg.h:29,
                 from ./tclap1.1.0/include/tclap/CmdLine.h:29,
                 from mmAligner.cpp:48:
./tclap1.1.0/include/tclap/MultiArg.h: In member function ‘int
TCLAP::MULTI_ARG_HELPER::ValueExtractor<T>::extractValue(const std::string&)’:
./tclap1.1.0/include/tclap/MultiArg.h:103: error: ‘EOF’ was not declared in
this scope
make: *** [mmAligner.o] Error 1

$ uname -a
Linux tyr 2.6.31-20-server #58-Ubuntu SMP Fri Mar 12 05:40:05 UTC 2010 x86_64
GNU/Linux

$ g++ --version
g++ (Ubuntu 4.4.1-4ubuntu9) 4.4.1

If you need any further information, please let me know. Thanks!

Anders

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 29 Apr 2010 at 12:10

I think this issue should be closed as the original issue has been addressed and the solution at the end is for issue #2.


Feat: Add optional custom notification ui

This pull requests adds functionality to pass a custom UI component to be gated behind the settings section of the Dialect notifications dialog.

lgtm, thank you


Add support for embedding use-cases

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context about the feature request here.

Closing this in favor of an equivalent issue in the internal repo


sc and sc.exe on powershell

updated examples

fix for #2898

Thank you for creating this PR and starting the work to have those examples included. I was thinking about doing the same, more than a month ago, but I kept losing track of what the necessary changes should look like.

By the way, maybe we could add a MarkDown Note blob to explain why it is necessary to include the .exe file name extension in the PowerShell command, to highlight that the PowerShell command sc is an alias for the command Set-Content -- would you like to add that near the PowerShell command (before or after the code example)?

@OzBob : are you still following the updates in this PR of yours?

(Ref. issue tickets #2898 and #3822 )

Conflicting files
WindowsServerDocs/administration/windows-commands/sc-delete.md

@OzBob : Will you be able to resolve the file merge conflict by modifying the PR content accordingly?

See also the latest updates for this file here:

https://github.com/MicrosoftDocs/windowsserverdocs/commits/master/WindowsServerDocs/administration/windows-commands/sc-delete.md

@OzBob : Are you there? We need to know if you will be able to follow up the feedback provided in this PR. Otherwise, we may as well close this PR and start a new one with an active online user.

@illfated yes changing Sc to Sc.exe makes the example work. Thanks to @skycommand.

I will close this and allow more active users who have better Git skills to resolve the 'update sc to sc.exe' change


Can i write LESS like CSS just like that in webpages with this tool?

Can i write LESS like CSS just like that in webpages with this tool? If not, is there any plan to support LESS. Thank you very much!

no plans to support less. I am willing to accept some sort of PR which allows LESS plugin.

@mobilesite closing since no PR submit and there has not been a drive for this.


Add apis delete command

$subject

Hi @shashimalcse and @pavinduLakshan, shall we create a test suite or proper standing coding practice before we merge any more PRs. Currently we don't even have a PR-builder. I'll initiate this

Hi @shashimalcse and @pavinduLakshan, shall we create a test suite or proper standing coding practice before we merge any more PRs. Currently we don't even have a PR-builder. I'll initiate this

+1 for this. currently, i am evaluating testing framework for test suites. i have mentioned the coding practice guide in contribution guide but i also not following this due lack of linter/checkstyle :D. lets create one


Add trend analysis to RIPARIAS dashboard

based on cubes and TrIAS time series analysis, present another tab in the RIPARIAS indicator dashboard displaying the TrIAS indicators trend in observations and trend in occupancy at river basin unit.

These graphs:
Observations
Observations - corrected
Occupancy
Occupancy - corrected

https://github.com/inbo/riparias-prep/blob/7d36f452d7c944e71d5c4a751ce73d9c22dc95ea/scripts/shinyapp/baseline_maps_ui_D1.R#L79-L94

@jrhillae I've created a trends_prep.r script which creates/updates data\interim\trends_compact.csv. The next step would be to integrate the graphs into the shiny app. Can you share where you want the code for the graphs and what would be the user input parameters ?
I've created the 42_add_trends-branch, after I've created the trends_prep script, to integrate the graphs. I'll do a PR into the 41_extending_baseline_map - branch when I'm ready.

@jrhillae heads up in heb eindelijk een gat in mijn schema gevonden, ik zal deze namiddag (en mogelijk morgenvoormiddag) werken aan deze issue.

@SanderDevisscher : I want to check your code but I have trouble installing the trias package. I get the message that it is not available for my version of R. How can I install the trias package?

@jrhillea have you tried 'devtools::install_github("trias-project/trias")'?
Op zo 17 apr. 2022 07:35 schreef jrhillae @.***>:

@SanderDevisscher https://github.com/SanderDevisscher : I want to check
your code but I have trouble installing the trias package. I get the
message that it is not available for my version of R. How can I install the
trias package?
—
Reply to this email directly, view it on GitHub
https://github.com/inbo/riparias-prep/issues/42#issuecomment-1100808291,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEAAQOBK3ZIILHCCHJ756QLVFOPJ5ANCNFSM5OU3NJHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

@SanderDevisscher : I tried to install it again and it worked :). The figures are looking ver good! One thing I noticed, the title of the figures is not completely shown. Maybe shorten it by removing species name? The species is very clair from the context (i.e. the one selected on the left) so not necesaary to show in the title. Would that be possible?


Add commands to minimize corpuses and test cases

This adds two commands:

cargo fuzz tmin TARGET TEST_CASE will try and minimize a crashing test case.
cargo fuzz cmin TARGET <CORPUS> will minimize a given corpus while keeping coverage the same.

The names are based off of afl-tmin and afl-cmin, which come bundled with afl-fuzz.

So the corpus minification actually presents a different interface from what libfuzzer provides -- libfuzzer lets you merge new test cases that add coverage from one directory to another, while I wrote cmin to just minimize a given corpus (which is accomplished with a bunch of temporary directories).
I also changed the default settings so that fuzzers build with optimization and debug asserts by default. I personally think that those defaults make more sense for fuzzing, but I'm happy to back that commit out if there are problems.

@nagisa: I backed out the comment changing the CLI flags and defaults -- I'll open a separate PR for that later.

@nagisa: Do you mind taking another look at this?

bors r+
Nice job!


Deleting resources that depended on others via the walrus file returns inaccurate error messages

Describe the bug

Deleting resources that depended on others via the walrus file returns inaccurate error messages.
Steps to reproduce

Create two resources, web-only-resource-template is the dependency of web-with-env.

Expected behavior

Environment

Walrus version: main c7fc65ae3ea5546452dd515722f9f0c0712c3e15

Additional context
Add any other context about the problem here.

Environment

Walrus version: main 66f1bd1681cc926d6b35a6caed7ec5f793ae103a
UI version: dev-21d34af

Test Result: pass
 ~/Downloads/ w delete -f default-test-clone-a.yaml -e test-clone --wait
resource default/test-clone/a delete failed
unexpected status code 400, resource about to be deleted is the dependency of: b


Breakpoint is not catch in the xCode

Hi,
after upgrade to j2objc 2.x I have problem with stopping of code on breakpoints. When I use symbolic breakpoint to stop on exeption, the xCode stops running and shows Java source code, as expected. But when setting normal breakpoint, the code never stops. It worked with older j2objc (1.x).
Thanks,
Jindrich

I'm not sure exactly what you mean by a normal breakpoint, but I just rebuilt the J2Reversi example with j2objc-2.0.5, and after clicking on a Java source line to set the breakpoint, it stopped in the debugger at that line.
Xcode's debugger (lldb) has very simple support for source debugging (like gdb): if #line preprocessor directives are added to the source file used to build the .o file, then they take precedence over the generated file's path. So when J2Reversi's Score.java file is translated with -g on my system, the Score.m file has source debugging lines in it:
...
#line 1 "/Users/tball/src/j2objc-sample-reversi/Classes/Othello/Engine/Score.java"
...
#line 36
+ (jint)GetOpponentWithInt:(jint)player {
...
#line 58
- (void)ScoreSubtractWithInt:(jint)player
                     withInt:(jint)amount {
...

#line directives contain the absolute path of the original source file (directives without paths reuse the last specified path). So there are only two ways the j2objc translator (or any other source generator) can do this incorrectly:

The path is wrong: breakpoints aren't hit, since there's no code associated with a bad path.
The line number is wrong: breakpoints hit on the wrong line, stepping is also off.

It sounds like you are seeing the first problem. Please rebuild your project, check that the problem still exists, then open a j2objc-generated .m file along with its original source (for Xcode projects, I use "find ~/Library/Developer/Xcode/DerivedData/projectname* -name '*.m'" to locate generated files). Copy the Java file's path, then verify it exists with the ls command. If not, then the build rule creating the generated file is the problem. Also check that the line numbers match for any methods where breakpoints aren't stopping.


When enabling "Trace" logging for MVC loggers, I should be buried in log messages

Repro Steps

Create a new MVC App (via the template, for example)
Change appsettings.Development.json to the following

{
  "Logging": {
    "IncludeScopes": false,
    "LogLevel": {
      "Default": "Debug",
      "System": "Information",
      "Microsoft": "Information",
      "Microsoft.AspNetCore.Mvc": "Trace"
    }
  }
}

Run the app

Expected behavior
The below, but with each soccer ball representing log messages:

Actual Behavior
11 new log messages, all for Razor compilation. Nothing for action selection, filters, action results, etc.

Can you suggest some actionable improvements in these areas?

I guess not, I don't have enough context as to what's going on within the pipeline to know where the logging needs to happen.
This originated because the app I was inherited was using MVC Core and had not set up the Authorization filter, so when I tried to add Authorization, nothing was working. I couldn't find anything wrong in the docs (which may be a separate issue), so I tried to turning up the logging level and was shocked at how little I got back.
Certainly, logging something about registered filters at start up, and filters run on a request (including if no filters are run) would have been helpful there, since I had already identified that Authorization was controlled by a filter from searching the code.
So yeah, this may have just been a frustration-driven issue...

After doing some actual experimenting with diagnostics collection, I do have some more actionable suggestions now. A lot of these are for the Debug (or more likely Trace) levels, because they would be extremely spammy at the console, but at dev time, and/or with a searchable log database (ELK, Seq, etc.), they could be much more useful.

ActionResults (which one is executing, what they're doing)
Model binding (what values were bound to which parameters and what source was used to bind them; the values may need to be treated like EF parameters and suppressed from log messages unless explicitly turned on)
Each filter that runs, and what kind of filters are running at each phase
View compilation (view being compiled, view compiled, compiled view found in cache, etc.)
View rendering (view being rendered, view rendered)
Tag helper activation (running tag helper X, tag helper X complete)
Validation errors
Exceptions that escape Controller Actions
Controller activation
Action selection (which action was selected and why, which were discarded and why)

/cc @davidfowl re:diagnostics improvements

I've managed to dig some of these out of the existing logging sources once I figured out how to turn them up to Trace, but the messages still seem a little light.

@kichalla can you take a look at this and see where you feel we have large gaps in our logging? We don't want to just add new logging statements everywhere in the system because that wouldn't be useful.

We don't want to just add new logging statements everywhere in the system because that wouldn't be useful

You're right about wanting to find useful things, but I think we've been way too stingy with the Trace log level. I'd have expected turning Trace on to give me messages for pretty much every individual component involved in my request. Trace, to me, is supposed to be a deluge of events that a human couldn't possibly keep up with. Trace isn't necessarily about "useful" things, it's about following (or "Tracing") the flow of execution through the whole system. Debug and up are for more "useful" content :)

In a discussion with @rynowak we were thinking that the logged events should still have some meaning within the context of MVC. So, yeah, sure, log every model binder that ran, log which doodad short-circuited a process, which thingamajig caused binding to fail. But logging every enter/exit of every method is not "meaningful".
So, yes, a deluge, but not a random deluge 😄

Filters were another area where I needed more logging data. I had an issue where I was using MVC Core and the Authorization filter wasn't added, and I would have really appreciated having a "Filters are running..." "End of filters" message to tell me that something was missing. Granted, I did have the advance knowledge that there was a filter that was supposed to do AuthZ stuff, which isn't something everyone would have.
Entry/Exit of method is extreme, and I agree not terribly meaningful. What's important for Trace is tracing the flow of the request through the subsystems (Filters, Action Invokers, Model Binders, etc.). Nobody outside the team really understands which things happen when in MVC and it can be really difficult to diagnose an issue when everything looks right but is hooked up in some wrong order (or missing some key element). Tracing the flow through subsystems is meaningful and doesn't seem random to me at all.

Yup, I think these are great examples of "stuff that has genuine meaning to MVC."


yes: add --version option

--version option is not implemented in yes.
So I've fixed src/uu/yes/src/yes.rs.

already did it here:
https://github.com/uutils/coreutils/pull/4987/commits/bf7f3783d1b2d075e93eb60bc32fb8ed8ddbff46
but i will take your pr :)

(in general, we are also asking for tests)


Text edits and fixes

There were quite a few typos that I noticed when going through the Bible the first time through, so I thought I'd practice forking and running pull requests by proposing a few fixes.

Oh! Thank you so much! This is the kind of thing practice runs are for, I suppose.


"Selection" breaks pipe to shell

At one point gimme-aws-creds | sh worked, but now because Selection: 1 appears before the export statements, this pipe produces an error.

What is it prompting for?  Okta selection?  AWS role selection?

Its not a prompt, its something gimme creds writes to STDOUT right before it prints the exports ... statements


Mark expander automation peer public

moving expander automation peer to public (was missed out when expander was moved)

/azp run


Fix build on mac

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

Comparison is base (cd8ff60) 26.90% compared to head (5ad66a5) 26.90%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #131   +/-   ##
=======================================
  Coverage   26.90%   26.90%
=======================================
  Files          35       35
  Lines        1613     1613
=======================================
  Hits          434      434
  Misses       1121     1121
  Partials       58       58

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


Create reusable DAOKeyView

From<EMAIL_ADDRESS>on August 01, 2012 10:31:36
Create a drop-down list and/or list-box View component that is populated from values taken from a DAO.
Original issue: http://code.google.com/p/foam-framework/issues/detail?id=3

foam.ui.DAOKeyView exists.


Please Remove Political Content from Project Resources

1st attempt within #190, closed with reply

To cut it short, it's there for a reason.

Of course there is a reason. And the reason is that you cannot separate personal feelings from professional logic. And that reflect negatively on both, the project and the political cause you try to make visible.
Political content does not belong on project-resources, so, please stop your smart-talk and act.

Dear Lazaridis!
This is an open source project, into which authors contributed a lot of efforts and energy trying to make developers world better :)
We would kindly ask you to respect authors of the project and their decisions, as long as the decisions do not offend other people.

This is an open source project, into which authors contributed a lot of efforts and energy trying to make developers world better :)

keep dreaming

We would kindly ask you to respect authors of the project and their decisions, as long as the project serves its goal, and the decisions do not offend other people.

Get serious!

@lazaridis-com I think that's the place for project related talk and not political discussion, but i could not help being intrigued by your strong reactions and thus try to understand better the cause of them.
Does that political content bother you?
Or you think that that sparkle of politics does greatly affect and damage the whole project and the community around it?

This is project related. And get your answers by rereading what I wrote, as this is getting ridiculous.

@lazaridis-com

@lazaridis-com I strongly believe that the right to claim something must be earned.
It's sad, that you're so emotional (too much news on TV?) about national symbols of Ukraine, but I don't see any reasonable arguments except you personal feelings.
As @jimmyfm said, it's not the right place for such talks and not the right time.

You're quiet confused about many things, but at least keep your paranoia which targets me personally for yourself.
Any way, it seems that this here is no serious project, and I start to understand now why the project is stuck since months.
Have fun.

Bombanulo

Came on Laz, that's a pretty cool project, and it goes slow cause open source, like volunteering, are hard to do.
I think you are an asshole came out too strong on those issues but I'm very very happy to keep seeing your commits.
As @max-dev  said, you've already earned some respect, don't you see?

@jimmyfm , I'm sending the commits because of the people/users here, nothing else. As for your respect, I couldn't care less.
(Having said this: watch your tone, a strike-through does not change the legal fact of an insult).

@velikanov , there is  a small possibility that I finally fork this project, as in its current state I cannot use it (due to a  non-politics policy). Would be the same code-base, with future development focused on spring boot, and with all non-related stuff striped off.

@lazaridis-com that would be great
I think many projects just can not use this because of politics

@velikanov
Could you please be more specific as to the exact location of political content (codebase, project description, etc)?
If such a content exists, does it violate any GitHub community rules?

I think many projects just can not use this because of politics

yeah, a tragedy, but as you see from the team-member comments, it's hopeless - and I've never before seen such an nonsense behaviours. Anyway, spring-boot-1.2.3 works now.
@ikostenko , can you please stop this crap? I'm talking about the banner on the project-website, and this is not about violating rules, but about violating common sense (or in other words: it's about beeing a total moron, who does not know what belongs where).
 Hell that's really too much for me.

@ikostenko, I think it doesn't violate any GitHub community or GitHub rules itself
but I have many customers which doesn't like the Ukrainian part on this crysis, so it affects me too :(
and yes, like @lazaridis-com said - it's all about Ukrainian banners

@velikanov
Thank you for explaining the source of this heated discussion. It was really not clear, as the word 'banner' was not mentioned in any of the previous posts, and in addition, we had no information about decisions being made on LightAdmin usage due to the presence of a country flag on the website.

we had no information about decisions being made on LightAdmin usage due to the presence of a country flag on the website.

"sheeps"

we had no information that decisions on LightAdmin usage are made based on the presence of a country flag on the website.

"sheeps"

we had no information that decisions on LightAdmin usage

What are you, gods? Thus you have any information available?

are made based on the presence of a country flag on the website.

Stop twisting facts like a cheap fascist. it's not about a country flag, but about a deeply politicla link to http://stfalcon.github.io/euromaidan/, which simply does not belong there.
 :)) Is it the last place you're allowed to be?
@velikanov Serge, Can you share more details, please? As far as I remember, there are no 'banners' or anything else on LightAdmin's UI (in non-demo mode). Does it affect your clients at the POC phase?

@max-dev , now it's your turn to play dumb? It was clearly exmplained: website, banner, political (http://stfalcon.github.io/euromaidan/)
I understand your problems to grasp that I'm still here.

I'm sending the commits because of the people/users here, nothing else

It's one thing that the project-lead (and the team around him) are incapable to to keep the very most basic requirements of IT-projects, it's another thing that users of the code should not suffer under their inability.
So, at least go on and mer #193, thus latest sprin-boot (1.2.3) works in this repo.

@max-dev I strongly support politics and and I actively did it for the last 5 years but as @lazaridis-com  (in his own way) and more nicely @velikanov  pointed at, that's hurting the project and it's adoption.
I love this project and think it's a unique and fast solution for spring, since I jumped on it on an early stage I could not use it in production and had to switch to Django but I still look forward to be able to contribute.
But now, with extra data I am among the ones asking you to remove that banner.
Look around, there are some active people and enough will to make a team and see this project grow.

@jimmyfm , for some reason, @max-dev has even blocked conversation on the PR #193 (I didn't wrote there, but possibly someone else, and it was possibly censored).

@max-devmax-dev locked and limited conversation to collaborators an hour ago

so, before he blocks any conversation here, be aware that within https://github.com/lazaridis-com/spring-entry I try to achieve what you are looking for (light-admin would be a part of it, either the original sources, or the forked ones).
It is important to realize that "light-admin" is a very difficult piece of software. Difficulty comes up when you go towards completing it's functionality, whilst keeping up some decent speed.

So, it seems the first step is done: the banner on http://lightadmin.org/ now has only a mouse-over tip that says "Made in Ukraine". This is better, but still not free of political messages (EU flag), and additionally the "Made in Ukraine" is both, false and irrelevant.
So, it would really be better to simply place a usual "Fork me" banner with the github repo on the website.

@lazaridis-com I've locked PR conversation in order to prevent spreading of this talk. You overused words 'crap', 'shit', etc. and I don't want to mix dirty talks with code changes. Lets leave this discussion here.
Thanks for pointing me out to the link - simply forgot about it ~> Removed for being outdated.
Have fun)

You should not act on your paranoia. Why would I comment off-topic on code changes? Really, really

( @jimmyfm @velikanov , for the sake of piece, lets all delete ourselves our messages )


Store node children WeakMaps in vars and bind its methods as locals.

@typescript-bot perf test this


chore(main): release 1.0.0

:robot: I have created a release beep boop
1.0.0 (2024-08-24)
⚠ BREAKING CHANGES

release 1.0.0

Features

add audio channels handler (203a15f)
add edition test (2392ce3)
add edition test (fe70088)
add episode test. (eb7c0b8)
add network test (215ae9d)
add ppv support (643ef01)
add readme (97e9639)
added site, size, networks and other fixes (2f641dd)
basic title matching working now! (5096ea8)
update season and episode tests. (d04e8c9)
wip (55882fb)

Bug Fixes

fixed 2 failing tests (157c972)
minor tweaks (64216da)
small tweaks (38a9c60)
tidy up functions. (6a804e9)
tidy up functions. (aa9e25e)
update french language. tweak test (fa4c2fa)
update tests. multiple tweaks. (807287e)

Miscellaneous Chores

release 1.0.0 (136215b)

This PR was generated with Release Please. See documentation.

@coderabbitai full review

:robot: Created releases:

v1.0.0
:sunflower:


update new location of code and image

Code change to resolve issue 6.

Merging this since it is straight forward.


Internal API crash on Xcode 8.3

I'm getting a crash after upgrading to Xcode 8.3 (Swift 3.1 instead of 3.0.1). With previous version everything was working fine.
It seems there's a problem with a private property/iVAR called __TF11ReactiveKitau31ImmediateOnMainExecutionContextFFT_T_T_.
I get following crash:
dyld: lazy symbol binding failed: Symbol not found: __TF11ReactiveKitau31ImmediateOnMainExecutionContextFFT_T_T_
  Referenced from: /.../Library/Developer/CoreSimulator/Devices/FEC21F04-BA6C-4345-8803-D4D2C0690998/data/Containers/Bundle/Application/8A3F479A-0C53-47AA-B36C-697E5AF2BB16/MYAPP.app/Frameworks/Bond.framework/Bond
  Expected in: /.../Library/Developer/CoreSimulator/Devices/FEC21F04-BA6C-4345-8803-D4D2C0690998/data/Containers/Bundle/Application/8A3F479A-0C53-47AA-B36C-697E5AF2BB16/MYAPP.app/Frameworks/ReactiveKit.framework/ReactiveKit

dyld: Symbol not found: __TF11ReactiveKitau31ImmediateOnMainExecutionContextFFT_T_T_
  Referenced from: /.../Library/Developer/CoreSimulator/Devices/FEC21F04-BA6C-4345-8803-D4D2C0690998/data/Containers/Bundle/Application/8A3F479A-0C53-47AA-B36C-697E5AF2BB16/MYAPP.app/Frameworks/Bond.framework/Bond
  Expected in: /.../Library/Developer/CoreSimulator/Devices/FEC21F04-BA6C-4345-8803-D4D2C0690998/data/Containers/Bundle/Application/8A3F479A-0C53-47AA-B36C-697E5AF2BB16/MYAPP.app/Frameworks/ReactiveKit.framework/ReactiveKit

Everything happens under such command:
viewModel.activityTypeImage.bind(to: activityImageView.bnd_image)

Where:
Printing description of activityImageView:
<UIImageView: 0x7fb953143980; frame = (0 0; 0 0); userInteractionEnabled = NO; layer = <CALayer: 0x608005c3de40>>
Printing description of viewModel.activityTypeImage:
<Property<Optional<UIImage>>: 0x60000744f060>

It calls the implementation of observeNext function and crashes here:
    if case .next(let element) = event {
        observer(element) // crash SIGABRT
      }

-- edit --
I also did bump the version from 5.0.0 to 5.4.6. To test what's the fault, I reversed the version to 5.0.0 and it's still crashing, so I suppose the problem is connected rather with Swift 3.1 update then Bond update.
On version 5.0.0 even the build doesn't work properly (crashes on start) and  the following output is shown (slightly different but still more or less similar):
dyld: Symbol not found: __TWau0_R_s5ErrorrGC11ReactiveKit17_ReplayOneSubjectxq__S0_14SignalProtocolS0_
  Referenced from: /.../Library/Developer/CoreSimulator/Devices/FEC21F04-BA6C-4345-8803-D4D2C0690998/data/Containers/Bundle/Application/86EC4449-D345-4BF0-A972-C9E3B077B4AC/MYAPP.app/Frameworks/Bond.framework/Bond
  Expected in: /.../Library/Developer/CoreSimulator/Devices/FEC21F04-BA6C-4345-8803-D4D2C0690998/data/Containers/Bundle/Application/86EC4449-D345-4BF0-A972-C9E3B077B4AC/MYAPP.app/Frameworks/ReactiveKit.framework/ReactiveKit
 in /.../Library/Developer/CoreSimulator/Devices/FEC21F04-BA6C-4345-8803-D4D2C0690998/data/Containers/Bundle/Application/86EC4449-D345-4BF0-A972-C9E3B077B4AC/MYAPP.app/Frameworks/Bond.framework/Bond

Hi @natalia-osa,
Thanks for the detailed issue! I've experienced something similar once and the solution was to clear Carthage caches and rebuild. Cache is located at ~/Library/Caches/org.carthage.CarthageKit.
However, I think there might be another problem because of updates to ReactiveKit. The best long-term solution would be to update Bond to latest v6, but I'm going to make an update to v5 that fixes ReactiveKit compatibility.
Give me few minutes.

This looks like an issue with the dependency on ReactiveKit.  Initially I was able to create a cocoapods project and it pulled ReactiveKit (3.1.1) and things worked fine.  After updating my pod repos it started using ReactiveKit (3.5.1) which emits the same issue.

Ok, @natalia-osa @pixelrevision, I've just released 5.4.7 that fixes the issue. Please try updating the dependencies.

Thank you for awesome & fast support! Version 5.4.8 works perfectly, issue cannot be reproduced any more.

Great to hear that! :)


Investigate Notary latest release 0.6

investigate align with harbor replication.

https://github.com/goharbor/harbor/pull/5734


Function pointers

I solemnly swear that I am up to no good. this is the last PR in the queue

I pushed changes to master bringing miri back up to the latest nightly (so you'll want to rustup update nightly). I looked around and it should have minimal overlap with your PR.

See my PR against your PR: https://github.com/oli-obk/miri/pull/1. :smiley:

thanks for the rustup on my PR. I added errors specific to pointer misuse. The spans are a little odd, but that's probably rustc.


Improve immutability of the data structure of the wasm module

Opening in draft as I expect this PR to have impacts on performance.
@electrum would you like to propose improvements on top of this?

@electrum now that we merged #517 should we close this one?
From your comments, looks like we only miss a couple of defensive copies of Lists, correct?

I think most of these changes are separate from #517.

Cool :+1: thanks for reviewing!

What I meant is that we still need this PR, as most of the changes here are different from the ones in #517.

Ouch, ok, I'll keep it on the Todo list.


Incorrect line item VAT percentage

Full description here: https://wordpress.org/support/topic/incorrect-line-item-vat-percentage/

https://github.com/paytrail/paytrail-for-woocommerce/blob/36142643d808936c68324a21511475e73aa7df29/src/Gateway.php#L1861
$total_with_tax     = $order->get_line_total($item, true, false);
The variable $total_with_tax should be calculated with rounding, ie. the third parameter for $order->get_line_total should be true. The total amount is in any case rounded, because the customer never pays in fractional cents. With this change the amounts in the test case become:
$total_without_tax = 0.645161
$total_with_tax = 0.80
$tax_total = 0.80 - 0.645161 = 0.154839
$tax_rate = round( ( 0.154839 / 0.645161) * 100) = 24

This was fixed on #124 and released on 1.3.11 version


[Feature Request]: Home page image carousel

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
I want to add more images with this to the home page for the carousel image transition effect. This will enhance the home page UI
Use Case
Seeing the Automatic transition and slideshow effects it enhances and makes the UI more attractive.
Benefits
Enhance the UI
Automatic Slideshow
Add ScreenShots

To this

Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

@Trisha-tech Please do review this issue


Ordered docs don't show status indicators

The standard document list shows indicators for publish and edit status, this is removed in the ordered list.
STANDARD

ORDERED

I'm currently using this plugin and having this feature in the ordered list section would be super helpful, especially when clients are updating and adding new content.


logging, csv: Should use q_c instead of second q_d?

For the logging code here:
https://github.com/frankaemika/libfranka/blob/f1f46fb008a37eb0d1dba00c971ff7e5a7bfbfd3/src/logger.cpp#L31
which gets written to CSV here:
https://github.com/frankaemika/libfranka/blob/f1f46fb008a37eb0d1dba00c971ff7e5a7bfbfd3/src/log.cpp#L44-L45
It seems like q_c might've been better, because it would've allowed for unique headers.
When I load up this CSV file with pandas, I get columns like q_d[3] for robot_state.q_d[3] and q_d[3].1 for robot_command.joint_position[3].
Example notebook / plots and stuff:
https://github.com/EricCousineau-TRI/libfranka/blob/159876127a5a163dfa7fc4424a684b95f678bab3/tmp/plot_joints_libfranka.ipynb

Hi @EricCousineau-TRI ,
thank you for the input. Will be considered for future feature :grinning:
Cheers,
Andreas


fix: disable background clicks when progress bar is shown

modified progress bar views in all the layouts

fixes #412

@iamareebjamal please review.

@iamareebjamal please review

@iamareebjamal please review now.

@iamareebjamal please review.


Use struct to represent ICMPv6TypeCode

Fixes issue #84

This is a great idea, but unfortunately it's not backwards-compatible, so it'll break compilation for anyone currently using the library.  We strive very hard to be backwards-compatible, to avoid causing issues to our users, so I'm afraid I'm unable to let this one through.

I understand and agree with the reasoning but do you think it is worth bumping the major version number (non-backward compatible change) to fix this small wart in the API?
Alternatively I'll submit a small helper function to help with the endianness and bit shifting for the ICMPv6 Type.

Feel free to add any functions to the type to help with endian-ness and bit
shifting.  I'm happy to accept those :)
On Tue, Sep 8, 2015 at 9:04 AM, randstr<EMAIL_ADDRESS>wrote:

I understand and agree with the reasoning but do you think it is worth
bumping the major version number (non-backward compatible change) to fix
this small wart in the API?
Alternatively I'll submit a small helper function to help with the
endianness and bit shifting for the ICMPv6 Type.
—
Reply to this email directly or view it on GitHub
https://github.com/google/gopacket/pull/121#issuecomment-138612349.


Any special character sequence is replaced when loading file from Pico/Pico W - VSCode

Please provide a clear and concise description of the bug along with logs

What are the steps to reproduce this issue?

Create a string operation such as string.strip('\n') or bytearray a[5] = '\x0A'
Save the file with the instructions to the Pico
3.Close the file in VSCode
Open the file again
In the editor the code now reads:
string.strip('
')
or bytearray a[5] = '
'
The newline char in the source code has actually been replaced by a real newline character

What happens?
see above
What were you expecting to happen?
That the load process does nor strip my source code newline or hex values and replaces them in the source code with the actual function of the character. Basically DONT change my source code!
Any logs, error output, etc?
(To get extension logs see Terminal > Output > Extension Host and copy output concerning pico-w-go or micropico)
(If it’s long, please paste to https://gist.github.com and insert the link here)
Any other comments?
Here is an example from my code after loading:
if not pin_resv_low.value() and pin_resv_top.value():
# Print the current date in the format: month/day/year hours:minutes:seconds and append a newline
_dh.time_print (prefix = 'ERROR: ', divisor = '-', end=f'{_msg.get("msg_sensor")}\ <---- this here should be \n
', sev=sev.ERROR )  <-- this is what happens after  loading the file.
This never happened before.
Which version of MicroPico are you using?
MicroPython v1.22.2 on 2024-02-22; Raspberry Pi Pico with RP2040
Support info
Copy this from the Help -> Info/About -> Copy (Code -> About Visual Studio Code -> Copy on macOS) option in Visual Studio Code:
Version: 1.93.0 (user setup)
Commit: 4849ca9bdf9666755eb463db297b69e5385090e3
Date: 2024-09-04T13:02:38.431Z
Electron: 30.4.0
ElectronBuildId: 10073054
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.22631

@kpg141260 Should be fix with the next release.

Oh cool, I just wasted a lot of time correcting the entries again and again as I'm in the middle of debugging a project, so need to start, edit, save, load, correct the newlines again and so on.
But hey, no worries as long as you can fix it I'm happy and other will be too.
By the way, great job on the extension!

Hi Paul,Thanks for the quick turnaround.I’m impressed.Kind regards,Peter GosslerOn 11 Sep 2024, at 20:03, Paul @.***> wrote:
Closed #1 as completed via 1489cf6.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>


X86 Simulation failing to exit simulation loop due to invalid opcode

Describe the bug
X86 Simulations are failing to exit the simulation loop with an invalid opcode: 0000 [#4] SMP NOPTI error. This is causing our Daily Tests and Weekly Tests to fail with timeouts for X86 Boot tests.
This bug was introduced by #593 and can be fixed via a reversion: #663 with #666
Affects version
Currently affects the develop branch as well as the release-staging-v23-1 branch. This bug appears to have been introduced by #593 (Commit: 3fe5e58f2832cc9b8712058db96373a57d36c462).
To Reproduce
scons build/ALL/gem5.opt -j12
./build/ALL/gem5.opt configs/example/gem5_library/x86-ubuntu-run.py
# Alternatively, for KVM compatible machines:
# ./build/ALL/gem5.opt configs/example/gem5_library/x86-ubuntu-run-with-kvm.py

The Ubuntu boot will complete but will fail when attempting to exit the simulation loop, thus leaving the simulation in the loop indefinitely.
Output
terminal-output.txt
CPU: 0 PID: 1151 Comm: gem5_init.sh Not tainted 5.4.49 #8
StaHardware name:  , BIOS  06/08/2008
rting gRIP: 0010:__show_regs+0x136/0x236
em5 iniCtode: fc ff ff bf 01 01 00 c0 48 89 44 24 10 e8 c0 fc ff ff bf 02 01 00 c0 48 89 44 24 08 41 8c dd e8 ae fc ff ff 41 8c c6 49 89 c1 <41> 0f 20 c7 0f 20 d3 0f 20 d8 48 89 04 24 41 0f 20 e4 44 8b 44 24
... RrSP: 0000:ffffc90000107b98 EFLAGS: 0000006e
eadiRAX:<PHONE_NUMBER>000000 RBX:<PHONE_NUMBER>000001 RCX: 00000000c0000102
ng rRDX: 00000000c0000101 RSI: ffffc90000107a7c RDI: 00000000c0000102
un scRBP: ffffc90000107cc8 R08:<PHONE_NUMBER>000000 R09:<PHONE_NUMBER>000000
riptR10:<PHONE_NUMBER>000000 R11:<PHONE_NUMBER>000064 R12:<PHONE_NUMBER>000000
 filR13:<PHONE_NUMBER>000000 R14:<PHONE_NUMBER>000000 R15: ffff8880bcbee500
e.
Rinvalid opcode: 0000 [#4] SMP NOPTI

Host Operating System
Ubuntu 22.04
Host ISA
X86 (with KVM enabled)
Compiler used
GCC 11.4.0

Fixed by #666


VM properties missing in VM portal

Description of problem:
There are no VM properties in 4.3 RHV VM portal.

like in previous 4.2 RHV VM portal

I mean those settings:

Connect automatically
Fullscreen
Use Ctrl+Alt+End
Smartcard enabled

VM Portal version number: 1.5.1-1
oVirt version number: ovirt-engine-4.3.2-0.1.el7.noarch
Browser and version: firefox-60.5.1-1.el8.x86_64
Steps to Reproduce:

Go to VM portal and select any VM
Try to modify any VM properties

Actual results:
no VM properties to set. User is for example unable to connect to VM in fullscreen since fullscreen=0 by default in .vv-file
Expected results:
VM properies settings are available in VM portal.

@rdkdd We're currently in the middle of doing a redesign of the VM console page and looking to relocate these settings to the console page. Here are some of the wireframes that feature the console settings relocated to the console page instead of when you are editing individual VM settings.
Console settings wireframes:

Feel free to leave any feedback or comments you have!

Will be fixed with new settings dialog

https://github.com/oVirt/ovirt-web-ui/issues/145

@bond95 Is it still relevant?

@yodem yes, it will be fixed in https://github.com/oVirt/ovirt-web-ui/pull/1088

This PR was addressed by https://github.com/oVirt/ovirt-web-ui/pull/1446 for oVirt 4.4.7
And few gaps are planned to be addressed by: https://github.com/oVirt/ovirt-web-ui/issues/1458 and https://github.com/oVirt/ovirt-web-ui/issues/1459.
Therefore I'm closing this issue as Done.


Support weaker SSL/TLS connections for a broader compatibility with outdated web servers

wpull's --no-strong-crypto allows for SSLv2 and SSLv3 connections (if the OpenSSL library is built accordingly) and compression.
The OpenSSL configuration file overrides the defaults that are shipped e.g. with Debian Buster, which only accept TLSv1.2+ and decently secure cipher suites.
Fixes #424 (hopefully)

Closed/reopened to trigger a rebuild because the previous one failed due to a temporary LaunchPad outage.


PKG + sequelize-typescript

It seems to have problems to include the sequelize-typescript module
due to it using a dynamic require for their "Model" objects.
https://github.com/RobinBuschmann/sequelize-typescript/blob/master/lib/models/Model.js#L6
I fixed it by adding "node_modules/sequelize-typescript/lib/models/v4/*", is there a cleaner way of detecting this?

+1

+1

@Maximvdw you was adding it on assets???

I found out. Your workaround works for me.


Missing import declaration

I have the two following capnp files:
using Go = import "../../zombiezen.com/go/capnproto2/go.capnp";

@0xcde0a8c73d1ea02f;

$Go.package("capnptemplates");

struct Timezone {
  hours @0 :Int8;
  minutes @1 :UInt8;
}

using Go = import "../../zombiezen.com/go/capnproto2/go.capnp";
using import "timezone.capnp".Timezone;

@0xd95c6bcd88adc7f9;

$Go.package("capnptemplates");

struct Date {
  year @0 :Int16;
  month @1 :UInt8;
  day @2 :UInt8;
  tz @3 :Timezone;
}

When I run, I get the following error:
capnp compile -ogo timezone.capnp
capnp compile -ogo date.capnp
capnpc-go: Generating Go for date.capnp failed: missing import declaration for timezone.capnp:Timezone
go: plugin failed: exit code 1
make: *** [date] Error 1

I already tried to put $Go.import("timezone.capnp.go") , $Go.import("myproject/capnptemplates") and $Go.import("myproject/capnptemplates/timezone.capnp.go") right after the date's package statement and still didn't work.
Any ideas?

$Go.import is specifying the import path for each of the schemas.  Your schemas should be:
timezone.capnp:
using Go = import "../../zombiezen.com/go/capnproto2/go.capnp";

@0xcde0a8c73d1ea02f;

$Go.package("capnptemplates");
$Go.import("myproject/capnptemplates");

struct Timezone {
  hours @0 :Int8;
  minutes @1 :UInt8;
}

date.capnp:
using Go = import "../../zombiezen.com/go/capnproto2/go.capnp";
using import "timezone.capnp".Timezone;

@0xd95c6bcd88adc7f9;

$Go.package("capnptemplates");
$Go.import("myproject/capnptemplates");

struct Date {
  year @0 :Int16;
  month @1 :UInt8;
  day @2 :UInt8;
  tz @3 :Timezone;
}

Note that the import is the same in both cases since they are part of the same Go package.

Great. It worked. Thanks


PointCloud Label Coco dataset bug

Hi Hugo
I realised a potential issue in saving the coco dataset. To debug this I need to understand two things.
First is why do we need to translate the geometry?
https://github.com/hugobaudchon/geodataset/blob/389f3c82af22878939589d75e0fceb94009f596e/geodataset/tilerize/labeled_raster_tilerizer.py#L237
Secondly how does cv2.fillpoly works?
https://github.com/hugobaudchon/geodataset/blob/389f3c82af22878939589d75e0fceb94009f596e/geodataset/utils/utils.py#L77
For example this is how my binary_mask and polygon looks like. Do you have any suggestion on how can I generate the binary mask accurately?
ic| binary_mask: array([[0, 0, 0, ..., 0, 0, 0],
                        [0, 0, 0, ..., 0, 0, 0],
                        [0, 0, 0, ..., 0, 0, 0],
                        ...,
                        [0, 0, 0, ..., 0, 0, 0],
                        [0, 0, 0, ..., 0, 0, 0],
                        [0, 0, 0, ..., 0, 0, 0]], dtype=uint8)
ic| contours: array([[[ 577115, 5093416]],

                     [[ 577115, 5093416]],

                     [[ 577115, 5093416]],

                     [[ 577116, 5093417]],

                     [[ 577116, 5093417]],

                     [[ 577116, 5093417]],

                     [[ 577116, 5093417]],

                     [[ 577116, 5093417]],

                     [[ 577116, 5093417]],

                     [[ 577116, 5093418]],

                     [[ 577117, 5093418]],

                     [[ 577117, 5093418]],

                     [[ 577117, 5093418]],

                     [[ 577117, 5093418]],

                     [[ 577117, 5093418]],

                     [[ 577118, 5093418]],

                     [[ 577118, 5093418]],

                     [[ 577118, 5093418]],

                     [[ 577118, 5093417]],

                     [[ 577118, 5093417]],

                     [[ 577118, 5093417]],

                     [[ 577118, 5093416]],

                     [[ 577118, 5093416]],

                     [[ 577118, 5093416]],

                     [[ 577118, 5093416]],

                     [[ 577118, 5093416]],

                     [[ 577115, 5093416]],

                     [[ 577115, 5093416]]], dtype=int32)

On further inspection I found that we need to have the correct height and width of the image for RLE representations. Right now the RLE is being disabled if tile metadata is not being provided with correct height and width.  Working without RLE works as expected.


concatenate iterm applescript commands

iterm was being unresponsive due to list syntax typo

I don't think it is a syntax error.

i guess you're correct in that it's not a syntax error. all I know is that ST doesn't send anything to iTerm for me without the explicit addition. FWIW, I'm on ST3.

It is weird. I have no problem at all. Anywhere, explicit is better than implict. I will accept this PR.


chore: don't require torch to import lance

This isn't caught by our CI at the moment.  We may want a new "minimal dependencies" job.

Closing in favor of #3007


Properly create subscriberlists

These parameters tell email-alert-api to create a "subscriberlist" with certain parameters. The parameters determine when the user receives an email. This used to be done by saying specifying the URL of a topic the user wants to subscribe to. Because URLs always change, this is being moved to be based on content_id in the links hash.
This app was still sending both links and tags, when email-alert-api only accepts one of these. Since a deploy this morning email-alert-api has been suddenly rejecting the payloads (as if the validation just got introduced) - we don't know why.
https://trello.com/c/Nmyl1NkF

One thing that went out in the deploy was a move to reading from JSON columns instead of HSTORE.  Maybe the validation didn't work properly before.


The seo_title does not seem to be working

I can't get the seo_title to appear automatically, or by manually echoing cgit_seo_title(): or seo_title(); within my theme's header.
Am falling back to using the following instead:

As far as I can tell, the plugin is working as intended. You shouldn't have to change your templates (see README.md!); you just use wp_title(...) as usual.


Create MintableERC827Token, with new constructor syntax and proper inheritance

Fixes #782
🚀 Description
Adds a MintableERC827Token, inheriting from ERC827Token instead of ERC827, with new constructor syntax in the mocks and proper directory organization.

[x] 📘 I've reviewed the OpenZeppelin Contributor Guidelines
[x] ✅ I've added tests where applicable to test my new functionality.
[x] 📖 I've made sure that my contracts are well-documented.
[ ] 🎨 I've run the JS/Solidity linters and fixed any issues (npm run lint:all:fix).

Welp, that's not working. I'll look into why and report back.


[WIP] Tunnel encryption

First stab at network.Tunnel encryption.
We use AES symmetric encryption to encrypt the body of the transport messages sent over tunnel sessions.
The key aka passphrase to encrypt the payload is set to token+session_name+channel_name at the moment.
Open questions:

what should we do if the token is empty/not found?
should we also encrypt headers?

what should we do if the token is empty/not found?

We could be clever but maybe we should just not worry about it for now

should we also encrypt headers?

Yes let's encrypt all the headers inside the session. I think Micro-Tunnel- headers will be injected before and after so the routing will continue to work but user data will be encrypted


Bot page is broken on mobile

Needs font scaling updates, better use of similarities between other site pages.

^ also some font scaling issues on other pages as well

Fixed in yesterday's commits


[1.17] Crashing when Upgrading to Tier 4

Hi,
So whenever I upgrade my dank to Tier 4, my client just crashes. Also when I click on the button left to the "Pickup" the colour isn't updated instantly, I need to close and open again the dank to refresh the colour.
Crash Report Below:
crash-2021-07-18_16.57.50-client.txt

fixed in 2.1


Dúvidas sobre "sportdb build" e resultados de cada ano.

Olá,
Depois de fazer o build no banco sqlite e checar as tabelas, a maioria está vazia. É assim mesmo?
E como eu posso pegar de forma automatizada os resultados dos jogos de cada ano (o arquivo .txt de cada campeonato)?  Já tem algum script pronto?

Sorry I don't understand. All the best. Cheers.

I just want to know if it's possible to build a database with the match results along the years of this brazilian league.

See https://github.com/openfootball/br-brazil#questions-comments

I'm trying, but I can't understand the Datefile.
Could you help me?
All I wanna do is:
At https://github.com/openfootball/br-brazil repository, build database with all .txt files, which are inside of years' folders (e.g 2003, 2004).
And export as .csv file, but this last step I can do on my own.

Have to change only Datefile or inside setups folder?


Waking from sleep theme issues

I've got auto dark mode enabled on my mac and have the window.autoDetectColorScheme setting enabled. My computer was asleep in the afternoon (daytime) and when I returned in the evening the computer turned to dark mode, as well as my VS Code theme but the icons in the editor did not. Everything else remained the same. If I refresh my window it returns to normal.

but the icons in the editor

Which are those in the screenshot?

Too right actions, they’re a little hard to see because they’re using the light theme colors (because I was on light mode before closing my laptop)


External link content element

REDMINE-17384

Coverage remained the same at 99.23% when pulling f23e9a29d4007228def7f2acc1e23fbefe9d4bba on awaismbajwa:external-link-contentelement into d85ef57b73aa6a64d14726ce44c9ad1d99a242d4 on codevise:master.


[Bug]: Correcting name convention of many games in the Repo and also updating the README.md [gssoc23]

PR Description 📜
Please include summary related to the issue you have fixed and describe your PR in brief over here by specifying the issue number on which you were working below
Name convention of many games is not according to the contributing guidelines.
Fixes #2755

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[] I have added screenshot for website preview in assets/images
[x] I have added entries for my game in main README.md
[ ] I have added README.md in my folder
[ ] I have added working video of the game in README.md (optional)
[x] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you @thevirengarg ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

@gurjeetsinghvirdee Please review this PR.

@gurjeetsinghvirdee Please review this PR.

Thank you  @thevirengarg , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


Param decorator in constructor assignment

TypeScript Version:  3.4.0-dev.20190323

Search Terms:

decorator
constructor decorator
param constructor decorator
decorator constructor assignment

Code
function Deco(...args: any[]) {}

class C1 {
    constructor(@Deco public foo) {}
}

generates:
function Deco(...args) { }

let C1 = class C1 {
    constructor(foo) {
        this.foo = foo;
    }
};
C1 = __decorate([
    __param(0, Deco)
], C1);

Expected behavior:
Should be the same as:
class C2 {
    @Deco
    public foo;
    constructor(@Deco foo) {
        this.foo = foo;
    }
}

with this generated JS:
let C2 = class C2 {
    constructor(foo) {
        this.foo = foo;
    }
};
__decorate([
    Deco
], C2.prototype, "foo", void 0);
C2 = __decorate([
    __param(0, Deco)
], C2);

Actual behavior:
As it is for now, __decorate helper is only generated for the param decorator instead of both member AND param (in that order)
Potential caveat:
This maybe is not a bug since we end up dealing with two-usages decorator for both member and param.
So maybe this was intended to give priority to param decorator over member.
Playground Link:
Basic example: https://typescript-play.js.org/?experimentalDecorators=true&target=5#code/GYVwdgxgLglg9mABAEQKYTgCgHS4IYBOA5gM4BcieYAngNoC6AlIgN4C+AUBwPTeIC0grhAA2eEiUQBhAIysOiRYgxgSUAiGhwCmAAJoMiAA4gARiJgREwOHApVqzdh048+g-sLETpAJnmK+uhwCsZmFlY2dpQ0ANxciipqGlo6QYZR9jROoYpQABYwJNhRiAC81rbxipyuXPUNjQ1AA
Complex example: https://typescript-play.js.org/?experimentalDecorators=true&target=5#code/GYVwdgxgLglg9mABAEQKYTgCmAJzgWwC5EBnKHGMAcwEpEBvAKEUR1ShByVElgUUoATdFgB04gIY4qJYhLABPANoBdGnMUNmLHRjAk4AG1SjDcKtjz4ANInGipMmgG5tAX0YfGEQxJIlEAGVUHAA3GAhULR0dAAE0DEwAcnxUfAAjEKSabRYABwpQiSgoyhgSwUQAXkRgCUMSVFcYgpgiktIoYojEAEkAOUCAFQBBfoBhAFFiYLCIptzEVvaovTIcEGg4HExFlniRZLypCVTspcLiqOA4OGJ1yiprPcQDxKTjnFPUc4K4EugqEq6SkxGQV2eMX2CSwHxO+EQPj8JAi5wkAC9UPdyI9IVC3rDPt9fiB0oYeiD0cR0rdjPJqohyCBUHi6EwYlAABYwEiiMpQTAuRZrIwmMwWJLjADygyGACUAKrjIbZdyMbTLK4CMDlQXRHQwYCITBcnl8nUVNkvNgcLjNHQeDnc3n8oEMpkLFhefKk8kQTrdf1UdjasjySKCmYhcKRfUsG2cJAm52iAbDMZTd0ptOjCaTF4AfkZ2dlGfzUMQxDAqAA7sWeZgAESc1CGMyN2zVuvgkqYHsmMBwGuCmi2JIKODZIVe9UxAnJVJcuCCVU+sk9YNQRkwVJ69lQhNceu8kE4e0eLwi4ymcyYWYxkyUMOQEywVJC9Wfr-fn+MIA
Related Issues:

Duplicate of https://github.com/Microsoft/TypeScript/issues/10777 I think

Yep, totally. Didn't look up for the "shortand" search term. My bad. Closing this in favor of #10777.


Add timezone configuration

Hi ! Since, Schedule support timezones, it would be useful to configure JobScheduler with a custom timezone, such as chrono::offset::Local.

To be implemented it seems necessary that the trait chrono::TimeZone provides function now such as we can call Z::now() for Z: TimeZone.
I opened an issue on the chrono repository : https://github.com/chronotope/chrono/issues/366


TypeScript should error on static attribute called 'name'

"name" property on a function has a special meaning in JavaScript
(https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/name)
If you do
class MyC {
 static name = "foo";
 foo() {
  console.log(MyC.name);
 }
}

f = new MyC();
f.foo();

You get code that behaves unxpectedly (prints "MyC" instead of "foo". With minifaction, it will print a minified function name (e.g. "i").
Desired behavior: TypeScript should raise error or warning when you try to create static attribute called "name".

looks like a dupe of  #442


RealmSwift dyld: lazy symbol binding failed: Symbol not found

Hi guys! Just to give you some context, we have a framework that uses Carthage as a dependency manager and we use RealmSwift 3.11.1. In order to test our framework we've built a sample app (Cocoapods dependency manager) that consumes it. Being that our framework is embed in our sample app we have to bring all the necessary dependencies including the RealmSwift 3.11.1. The sample app project builds just fine but at runtime we get:
dyld: lazy symbol binding failed: Symbol not found: $S10RealmSwift0A0C13ConfigurationV7fileURL18inMemoryIdentifier04syncC013encryptionKey8readOnly13schemaVersion14migrationBlock06deleteA17IfMigrationNeeded21shouldCompactOnLaunch11objectTypesAE10Foundation0E0VSg_SSSgAA04SyncC0VSgAP4DataVSgSbs6UInt64VyAA0T0V_A0_tcSgS2bSi_SitcSgSayAA6ObjectCmGSgtcfcfA
Referenced from: /Users/razvanb/Library/Developer/CoreSimulator/Devices/41BF8FFD-3F82-4BFB-87BC-C69DFA3EDA50/data/Containers/Bundle/Application/5A6FDF95-5A32-4D14-909B-6038B04F8F5F/MAFSample.app/Frameworks/Storage.framework/Storage
Expected in: /Users/razvanb/Library/Developer/Xcode/DerivedData/MAFSample-cdsfcfgbndttwpaymjtrdfotobgv/Build/Products/Debug-iphonesimulator/RealmSwift.framework/RealmSwift
Realm framework version: 3.11.1
Xcode version: 10.0
We had a similar issue with the Moya framework on Xcode10 (worked on Xcode9) but they seem to have fix it in their 12.0.0-beta.1 version

same issue here. do you figured it out ? @RazvanBengaGemini

same issue here. do you figured it out ? @RazvanBengaGemini

reason confirmed, a thridparty framework was release with realm 3.11.0, but out project referenced 3.11.2

@tgz We had to import the RealmSwift framework manually in our Carthage dependent project as a temporary solution. We'll replace Carthage with Cocoapods soon and update the post with our findings.

Closing this issue with no recent activity. I assume this issue has been resolved -- please let us know if that is not the case.


[CNCF] Review trademark guidelines

Parts of the CNCF onboarding issue tracked by this issue
This is the list of all bullet points from the CNCF onboarding issue that this issue will track:

[ ] * Understand the Linux foundation trademark guidelines*

This is a statement of The Linux Foundation’s trademarks and its policy and guidelines relating to use of trademarks owned by The Linux Foundation and used by projects under The Linux Foundation
...
Rules and Policies Applicable to Marks Owned by The Linux Foundation (on top of generally applicable rules):

Use the full form of any trademarks (e.g., “The Linux Foundation”) in the first reference in all documents of mass communication, including marketing collateral and web pages.  You may then use any abbreviated or short form references (e.g. “TLF”) within the same the document where the full form has already been used.
Use The Linux Foundation’s trademarks in a form that distinguishes them from the text around them, such as by capitalization, bold or italic fonts, or with quotation marks. Any use of registered trademarks as indicated in The Linux Foundation’s Trademark List at https://www.linuxfoundation.org/trademark-list/ should include the ® symbol immediately after the first usage (e.g., “The Linux Foundation® projects develop open source….”). Any use of unregistered trademarks as listed in the Trademark List should include a TM immediately after the first usage (e.g., “The Core Infrastructure Initiative TM community seeks to secure….”)
Do not use The Linux Foundation trademarks in a manner that would disparage The Linux Foundation or its projects (e.g., untruthful advertising, false/misleading promotional materials, etc.).
Do not use a The Linux Foundation logo on the cover of a book or magazine without written permission from The Linux Foundation.
Do not use The Linux Foundation trademarks more prominently than your own company, product or service name.
Do not use a logo of The Linux Foundation on posters, brochures, signs, websites, or other marketing materials to promote your events, products or services without written permission from The Linux Foundation.
Do not refer to a product or service as being certified under any of The Linux Foundation’s marks unless your company has successfully undergone the requisite compliance testing and has explicit authorization to use such terms from The Linux Foundation.
Do not attempt to claim or assert any ownership rights in any mark of The Linux Foundation and do not attempt to register any The Linux Foundation trademark as a trademark, trade name, domain name, or “doing business as” name, alone or (unless specifically licensed) in combination with your own trademarks.

FYI, I reviewed this last Friday, it seems relatively basic. What does it take to close the issue?

Reviewed. This all seems quite reasonable.

Reviewed.

Reviewed.

Reviewed and it's basic and reasonable

Yup, this seems pretty straightforward. We are already conforming to these guidelines, but let's continue to use common sense and thorough review.


Implement Dependency API (removed Mutex callback API)

With Dependency API feature, there is no more of random occur failures for any partial library's symbols. Dependency API is require for using XbSymbolContext_ScanLibrary API.
I am requesting reviews on the API naming or even discovery of faulty code.
I have personally tested this new change on single thread and multi-threads and confirm random failures of missing symbols has stopped except for one weird bug not relative to this pull request.
Weird bug report is: (fixed in commit 3eb125546e9d7c195aef690b1d96a7258fddd22e)
ERROR  : g_SymbolAddresses(Raw) is missing UNKNOWN (b0000) 0x00000000 ->
fixed #168

Since there's no feedback from the team, merging as-is.