Quality of the Open Code of Conduct seems a bit iffy.

I'm not entirely sure what's going on, or why lots of large companies are still using this. But there seems to be a lot of random nonsense in the latest open code of conduct.

Our open source community prioritizes marginalized people’s safety over privileged people’s comfort. We will not act on complaints regarding:

‘Reverse’ -isms, including ‘reverse racism,’ ‘reverse sexism,’ and ‘cisphobia’
Refusal to explain or debate social justice concepts
Criticizing racist, sexist, cissexist, or otherwise oppressive behavior or assumptions

Deliberate misgendering. This includes deadnaming or persistently using a pronoun that does not correctly reflect a person's gender identity. You must address people by the name they give you when not addressing them by their username or handle

When I say, "don't seem to make any sort of sense", I mean, what on earth is classified as a "privileged person" or "oppressive behaviour"?

We've been asking repeatedly, check the closed issues, they refuse to clarify or explain it. Now they "paused" it but haven't removed the blog post soliciting it, nor made any mention of the pause in the repo save for the one issue.
Given the lack of response the best explanation is someone got fed up with trying to talk reasonably, and has started legal action on it's current discriminatory state. If you google Mathew Hopkins + github you should find his blog outlining the action taken so far.
(I'm not going to link it here as I presume that'll get me banned.)

Here's two key commits I take issue with. f05fd4eea62fc1f7fde00f42b76d4dea97d07642, where they've gleefully added the condescending XKCD comic that people wave around as if it's a shield for criticism, and, of course, b00eff579ded8c76cee0d2cb6b5beed6e84258fb, where a GitHub employee decided to add the lovely remark about "reverse-isms" not existing.
I sickened that companies are actually adopting this.

Thanks for your feedback. See #84.


Nonquantized tflite model using tflite_model_maker

1. System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
TensorFlow installation (pip package or built from source):
TensorFlow library (version, if pip package or github SHA, if built from source):

2. Code
model.export(export_dir='.', tflite_filename='model_fp16.tflite', quantization_config=config)
How to convert the trained model to tflite which is not quantized for models trined using tmm.
Option A: Reference colab notebooks

Reference [TensorFlow Lite Model Colab]: https://www.tensorflow.org/lite/models/modify/model_maker/object_detection(https://colab.research.google.com/gist/ymodak/0dfeb28255e189c5c48d9093f296e9a8/tensorflow-lite-debugger-colab.ipynb): Demonstrate how to convert your TF model to a TF Lite model (with quantization, if used) and run TFLite Inference (if possible).

Hi @Deepakpy !
Sorry for the late reply.
I am not sure whether we can get a Non-quantised model if we pass quantization_config = None in
below line . By default ,  you will get a integer quantised model if you don't pass the quantization_config parameter. If you pass None, It might not work as expected ( You will be getting a Float32 model if you pass None).
model.export(export_dir='.', tflite_filename='model_fp16.tflite', quantization_config=None)
@sachinprasadhs ! Could you comment on this query.
Thank you!

Model Maker library applies a default post-training quantization techique when exporting the model.
But, you can change the options in the tflite_model_maker.config.QuantizationConfig.
Also, refer to this post training quantization document for different options and below image to decide the best suited method for your case.


Eliminate assembly load context

Fixes #750.
Eliminate our use of AssemblyLoadContext in favor of simply hooking AssemblyLoadContext.Resolving on the default context.
This also allows us to delete the code that looks in the base directory for dependencies, since the default context will already do that. Also, we need to update the version of the runtime that gets deployed for tests, as this fix depends on other runtime fixes.

@rainersigwald @jeffkl @cdmihai @AndyGerlicher Please review.

@dotnet-bot Retest OSX please.

@dotnet-bot test OSX Build for CoreCLR please

@dotnet-bot test OSX Build for CoreCLR please

I think I fixed this in #1143
@dotnet-bot test OSX Build for CoreCLR please

@dotnet-bot test OSX Build for CoreCLR please

@dotnet-bot test OSX Build for CoreCLR please
hopefully fixed by #1158

@dotnet-bot test OSX Build for CoreCLR please


⚖ Register okp4 Validator

Register new validator gentx on the nemeton network.

do not merge

Replaced by https://github.com/okp4/networks/pull/30


⚠ Quirk Club Argentina (SSR) has degraded performance

In dd72ee6, Quirk Club Argentina (SSR) (https://quirkclub-dev.web.app/ssr-check) experienced degraded performance:

HTTP code: 200
Response time: 4708 ms

Resolved: Quirk Club Argentina (SSR) performance has improved in 6ce94e0 after 14 minutes.


nixos/rasdaemon: remove syslog.target dependency

this was copied from upstream's unit file
but only used when the daemon runs in background mode
--foreground is used unconditionally in this module
https://github.com/mchehab/rasdaemon/blob/v0.6.7/README#L151
Motivation for this change
#149721
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)
[x] 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

[x] 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.05 Release Notes (or backporting 21.11 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.

Thanks. Is it worth opening an issue/PR upstream if we got this from their service file?

they've always had their service file use the -f (same as --foreground) option
that file was checked in with the commit enabling syslog logging
so the After line is probably only intended as a hint...

PR opened
https://github.com/mchehab/rasdaemon/pull/59


Should fluxxor assume that React is in the global namespace.

Hey I really like this library, however I noticed that causes some problems with browserify and gulp, because it doesn't import react, it just assumes it's in the global namespace.
It may be worth including React = require("react") at the beginning of the files which depend in it.

Fluxxor doesn't require React to be in the global namespace; in fact, most of Fluxxor doesn't depend on React. When React is required, you're expected to pass it in (so you can get it however you want—CommonJS, global, etc.)

Apologies,
Thanks for clarifying this.

No problem! Sorry if it wasn't clear. Happy to change some docs up if something was confusing.


DataGenerator API

An API to create easy datagen using Minecraft's existing datagen system would be a very useful tool for modders. There could be default methods to create data for common things such as lang entries, loot tables, block states, recipes, models, etc.
Datagen is great because it removes a lot of the monotony of having to create very similar files over and over.

The main distinction here (which Platymemo didn't explicitly point out) is that Minecraft's datagen system is not executed at runtime, while ARRP is. Making that datagen API easier to use would be good, but it is not a wholesale replacement for ARRP's dynamic resources.


Usage of additional storage account

With Reference to https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-hadoop-add-storage
Can you also add details about, how additional storage account will get utilized.
For example :
I have a hdinsight HBase cluster with storage [store1] attached and configured with fs.defaulFS pointing to container on [store1].
Now I attach another storage account [store2], BUT as my defaultFS is still pointing to container on store1, I want to understand how I can utilize both store1 and store2 transparently.
We have applications utilizing below tools to access [read/ write] data in HBase cluster.

HBase Java API
Phoenix jdbc thin driver
Spark -hbase connector

What changes I need to make in order to take advantage of hbase cluster with multiple storage accounts? Currently my applications are not aware of underlying storage details for the HBase cluster.

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

ID: 5be42fb6-e850-0990-de22-409392cb9e87
Version Independent ID: 5339ee18-6c77-1be3-e5ca-5cfd074a834d
Content: Add additional Azure storage accounts to HDInsight
Content Source: articles/hdinsight/hdinsight-hadoop-add-storage.md
Service: hdinsight
GitHub Login: @hrasheed-msft
Microsoft Alias: hrasheed

@dhananjaypatkar What exactly are you trying accomplish and can please provide me the document which you are referring to the above query?

@dhananjaypatkar The additional storage account is not automatically utilized. Are you copying data in/out of that extra storage account?
To address the files in that added path you can use the fully qualified address<EMAIL_ADDRESS>Some simple examples in
https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-hadoop-use-blob-storage?toc=%2Fen-us%2Fazure%2Fhdinsight%2Fr-server%2FTOC.json&bc=%2Fen-us%2Fazure%2Fbread%2Ftoc.json#address-files-in-azure-storage
For location of HBase files, look for hbase.rootdir entry in hbase-site.xml, and hbase.wal.dir. By default it would not point to additional storage because only one path is used by HBase data/column families.
Thanks, Jason

@JasonWHowell Thanks for leaning in to clarify here.
@dhananjaypatkar Hope your issue was resolved. I will now proceed to close this issue. Feel free to still comment if you need any more clarification.


multi teacher KD cannot achieve better performance than seperate models

In the multi teacher KD experinment resdcn18_KD_woGT_scratch always performs a little worse than resdcn18 on crowd dataset, even if pretrained on imagenet, and it outperforms on another dataset, how does it happen?

Good question！
There may be many reasons for this：

The imbalance instances of different datasets：
1).crowd human has 352978 human instance，and the other has 1/3 or 1/8 of it.

the crowd human model is well trained and the other model is not trained well for lack of annotations.
So multi-teacher KD helps model to training more dataset, and the lack of training dataset well increase mAP.
Theoretically，a multi-class model is worse than one-class model, so the well trained crowd human model  is worse than baseline.

My super parameters  is not the best one.

I didn't understand 1.3), multi-teacher will feed more dataset to the baseline model beyond either isolated dataset, theoretically it should perform better than either baseline model. I would like to try to explain that crowd_human dataset covers a wider domain than wider face or coco car, so I guess that a wider domain task will benefit a narrow one but hurt itself if put them together. So we still need to carefully merge mutli datasets with different labels before we find a method can definitively promote both.

What you said might be one of the reasons. Domain Has a great effect.
“theoretically it should perform better than either baseline model”: this is right when both KD model and baseline are one-class detector, but i think a multi-class KD model might be worse than a single-class baseline in some specific datasets.


NVIDIA driver - support machines without direct internet access

The NVIDIA driver installer currently downloads the driver from the internet. This doesn't work for machines that don't have direct internet access.
It's not clear how best to fix this. Some options are

Bake nvidia driver kernel+userspace components into the flatcar image. This is easy, but may bloat out the image too much.
Bake only the kernel part of the nvidia driver into the image. This reduces image bloat, but leaves it up to the user to install the userspace part.
Make it possible to configure the URLs used to download the nvidia driver, plus anything else needed. These could then by pointed to an internal artifact store, such as Artifactory.
Publish a special "with nvidia" version of flatcar.

Let's look at the relative sizes of flatcar and the driver.
Sizes of driver:
kernel - /opt/nvidia/470.57.02/3033.2.4/lib64/modules:
uncompressed: 109MB
bzip2 compressed: 42MB
user - /opt/nvidia/470.57.02/3033.2.4/lib64 excluding modules:
uncompressed: 473MB
bzip2 compressed: 205MB
Size of flatcar:
flatcar_production_openstack_image_3033.2.4.img:
uncompressed: 884 MB
bzip2 compressed: 341MB
So I don't think 1 and 2 are reasonable. 4 is probably my favorite.
Thanks,
Rob

We are happily using gpu-operator for this now, which is probably a better solution than any of the above. Closing.


Fix rerun-web canvas size

What
The canvas size was the default of 300x150 because we didn't update the CSS in index.html after

https://github.com/emilk/egui/pull/4536

Closes

https://github.com/rerun-io/rerun/issues/6507

Checklist

[x] I have read and agree to Contributor Guide and the Code of Conduct
[x] I've included a screenshot or gif (if applicable)
[x] I have tested the web demo (if applicable):

Using examples from latest main build: rerun.io/viewer
Using full set of examples from nightly build: rerun.io/viewer

[x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG
[x] If applicable, add a new check to the release checklist!

PR Build Summary
Recent benchmark results
Wasm size tracking

To run all checks from main, comment on the PR with @rerun-bot full-check.

The old CSS was me copy-pasting things that I don't understand

However, I don't have any context on the historical reasons for the previous complexity, which always makes me a bit nervous.

I believe the original CSS here was taken from the egui demo app, or its predecessor. All it did was move the canvas into place, and then some code in eframe took care of resizing the canvas to the equivalent of width: 100%; height: 100%. That code in eframe is gone now, so that the size of the canvas can be controlled fully through CSS like is being done in this PR.


Manifest-based update isn't picking up new files

If you don't currently have the mdn/ folder in your spec-data, and do a manifest-based update, it won't pick up the folder for you.

Fixed in c36eb169


Searching element in an array within given range

Issue Id you have worked upon -
#212
Briefly explain your program logic -
Taking input array and target. after that declaring function it asks array,target,end and start values.
after passing values into the function it checks array size is 0 or not. After that it run in a loop to check target in a given in range
or not . its checking through each index.
Screenshots(Attach 2 screenshots of your own input and output) -

Checklist:
Eg - If your code follow the below guidelines. Kindly change [] to [x]
All the conditions should be fulfilled for considering your code for merging -
[x] I have mentioned the question as comment in my solution file.
[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code.
[x] My code gives the correct output.
[x] I confirm that I have not copied the code from anywhere. In case its found that I have copied even after successful merge then I can be banned from the repository and hacktoberfest.
[x] I affirm that I strictly follow contributing guidelines and code of conduct.

@SarthakKeshari


CIS CentOS 6 - CIS-7.1.3

The requirement is looking for PASS_WARN_AGE but the conf file is looking for PASS_WARN_DAYS. Due to this the requirement will always fail
Conf

Document Requirements

Good catch! Fixed in #166


Advenced form theme don't work

I don't manage to make advanced theme work. Can u help me if I add some codes ?

Hello Stax,
Did you try to clone this repo?
The demo/ directory contains the http://symfony-collection.fuz.org website.
Alain

Yes, but i think there is something i don't understand.
I have an object with 2 collections:
class Produit
{
/**
 * @var \stdClass
 *
 * @ORM\ManyToMany(targetEntity="ListeBundle\Entity\GarDomElec", cascade={"persist"}, inversedBy="produits")
 */
private $garDoms;

 /**
 * @var \stdClass
 *
 * @ORM\ManyToMany(targetEntity="ListeBundle\Entity\GarDegatEaux", cascade={"persist"}, inversedBy="produits")
 *
 */
private $garDegats;

And collection like this,
     ->add('garDoms', CollectionType::class, array('entry_type' => GarDomElecType::class,
                                                         'allow_add' => true,
                                                         'allow_delete' => true,
                                                         'label' => 'Coefficients de dommages électrique',
                                                         'entry_options' => array('label' => 'Coefficients'),
                                                         'attr' => array('class' => 'collection')
                                                      ))

        ->add('garDegats', CollectionType::class, array('entry_type' => GarDegatEauxType::class,
                                                         'allow_add' => true,
                                                         'allow_delete' => true,
                                                         'label' => 'Coefficients dégâts des eaux',
                                                         'entry_options' => array('label' => 'Coefficients'),
                                                         'attr' => array('class' => 'collection')
                                                       ))

my view with :
{% form_theme formProduit
'form/jquery.collection.html.twig'
'form/advenced-theme.html.twig'
%}
$('.collection').collection({
init_with_n_elements: 1,
'add': 'Add,'',
});
My advenced theme look like below :
{% block ProduitType_label %}{% endblock %}
{% block ProduitType_errors %}{% endblock %}
{% block ProduitType_widget %}

{{form_widget(form.value)}}

             Delete             Add

{% endblock %}
Do i have to change the jquery.collection.html.twig when i use advenced theme ?

Which Symfony version are you using?
Can you try to use produit instead of ProduitType?
{% block produit_label %}{% endblock %}
{% block produit_errors %}{% endblock %}
{% block produit_widget %}

I'm using symfony 2.8.
Do i have to modify {{ block('form_widget') }} from jquery.collection.html.twig ?
I tried with produit instead of ProduitType but the form theme still not applied.
When I put {{ block('produit_widget') }} instead of  {{ block('form_widget') }} in jquery.collection.html.twig.
I have the buttons but no input.
js console output:
jquery.collection.js: the prefix used in descendant field names is mandatory, you can set it using 2 ways:jquery.collection.js:468:17
jquery.collection.js: - use the form theme given with this plugin sourcejquery.collection.js:469:17
jquery.collection.js: - set name_prefix option to  '{{ formView.myCollectionField.vars.full_name }}'

I'm using symfony 2.8.
Do i have to modify {{ block('form_widget') }} from jquery.collection.html.twig ?
I tried with produit instead of ProduitType but the form theme still not applied.
When I put {{ block('produit_widget') }} instead of {{ block('form_widget') }} in jquery.collection.html.twig.
I have the buttons but no input.
js console output:
jquery.collection.js: the prefix used in descendant field names is mandatory, you can set it using 2 ways:jquery.collection.js:468:17
jquery.collection.js: - use the form theme given with this plugin sourcejquery.collection.js:469:17
jquery.collection.js: - set name_prefix option to '{{ formView.myCollectionField.vars.full_name }}'

No you should not update jquery.collection.js
I think your mistake is here:

                {{form_widget(form.value)}}

Shouldn't it be form.garDegats or form.garDoms ?

I tried with those names but collections still have the default theme.

Hi @Stax
Maybe try debugging your form with a more generic block :
{% block collection_widget %}
    {{ dump() }}
{% endblock %}

This should output some useful data that will help you to find the actual name of your custom block.
Also refer to Symfony's documentation : http://symfony.com/doc/2.8/cookbook/form/form_customization.html#how-to-customize-a-collection-prototype
You'll probably have to add some suffix and prefix to the block's name to make it work.

Any solution found for this issue? I tried all the ways discussed here and the symfony documentation way (http://symfony.com/doc/2.8/cookbook/form/form_customization.html#how-to-customize-a-collection-prototype) too. But only the basic rendering is shown. I really need to customize the rendering of the collection fields. Any help would be highly appreciated.

Hello,
Can you reproduce your issue on the demo website?
I can fix it very quickly if you can.
Thank you!

Here are my classes:
User.php
class User
{
    ...

    /**
     * @var string
     *
     * @ORM\Column(name="name", type="string", length=255)
     */
    private $name;

    /**
     * @ORM\OneToMany(targetEntity="Phone", mappedBy="user", cascade={"persist"})
     */
    private $phones;

    ...

}

Phone.php
class Phone
{
    ...

    /**
     * @ORM\ManyToOne(targetEntity="User",  inversedBy="phones")
     * @ORM\JoinColumn(name="user_id", referencedColumnName="id")
     */
    private $user;

    /**
     * @var string
     *
     * @ORM\Column(name="numero", type="string", length=255)
     * @Assert\NotBlank()
     */
    private $numero;

    ...
}

I did this in my Twig template
{% form_theme form
    'jquery.collection.html.twig'
    'collection-phone.html.twig'
    'collection-website.html.twig'
%}

Here is my collection-phone.html.twig, based on the advanced-theme.html.twig pattern:
{% block phones_label %}{% endblock %}
{% block phones_errors %}{% endblock %}

{% block phones_widget %}

            {{ form_widget(form.phones) }}

            Up
            Down

            Delete
            Add

            Duplicate

{% endblock %}

As it was not working, I tried the one Symfony's documentation provided here: https://symfony.com/doc/2.8/cookbook/form/form_customization.html#how-to-customize-a-collection-prototype which I put like this:
{% block _phones_entry_widget %}

        {{ form_widget(form.phones) }}

{% endblock %}

None of them gave the expected result. The default rendering is still there
Form phone fields
Am I missing something? Thanks in advance for your highly appreciated help.

Any update about this issues ?

I had the same issue until i change the value to the same that is configured in the function getBlockPrefix() of the entity.
Hope that help


Long file names unreadable in analytics popular page list

File names longer than about 15 characters double over on themselves in the popular page widget. The resulting text is largely illegible. See https://osf.io/ixgcd/analytics/ for a good project example. Screenshot attached from Chrome (58.0.3029.110 (64-bit)) on OSX but I get similar results on the major linux browsers as well.

Thanks for the report @wikey! I moved this over to the bugs and improvements board and added you as a watcher there. Can you close this ticket?


Application not reading sereno.yml configuration

It seems that the application is not reading from sereno.yml configuration.
I have changed the siteName, however after I build the site it still says My Serene Website.

I figured out that it is reading the config.php file and not the predefined sereno.yml file. 👍

^ You have to update composer dependencies.
See https://github.com/serenohq/sereno/blob/master/composer.json#L13-L15

Ahh, thanks for clearing that out @znck.
Maybe that should be changed in the default application files that are used when creating a new Sereno application.

Lately caught up with stuff. I'll try to cleanup the project this weekend.


Fixed the "TERM/INT signals do not propagate to children" (#40) bug.

This is by not using forkProcess and also allow the invoker to change the user Angel runs as at start up.

Added -u command line option
Added a top level "user" configuration command

The user Angel executes as can be specified at startup.

OK was not expecting the version of optparse-applicative to change and drop <> as an infix function.  Looks like it was an infix synonym for mappend so should not be too difficult to correct.  Should have this before next weekend.

Pushing as only the GHC 7.10 version build failing due to a travis cabal version issue rather than an more serious error.


[Feature Request] Sweetalert

What is your enhancement?
There is minimal documentation about using Sweetalert in this dashboard
https://www.creative-tim.com/learning-lab/tailwind/html/sweetAlerts/soft-ui-dashboard/
But I can't find any plugin for that. As you said: Use our SweetAlerts plugin based on Tailwind CSS.

Use this:
https://sweetalert2.github.io/
Feel free to change the CSS too.


please add package for gnu/stubs-32.h

Project description
describe the project a little
Metadata

homepage URL:
source URL:
license: mit, bsd, gpl2+ , ...
platforms: unix, linux, darwin, ...

Im on nixos-unstable.
I installed this derivation "glibc_multi.dev" but it didn't work.
I compile with command:
gcc -m32 -o name_output file1.c file2.s
Il giorno mer 9 mar 2022 alle ore 22:05 hqurve @.***>
ha scritto:

Im on nixos-unstable.
You are receiving this because you authored the thread.Message ID:
@.***>

How did you install it?
Loading it in a shell works just fine. If I have a file a.c
#include <gnu/stubs-32.h>

int main(){
}

and then
❯ nix-shell -p gcc glibc_multi
❯ gcc a.c
❯

however, if i just load gcc

❯ nix-shell -p gcc

❯ gcc a.c
a.c:1:10: fatal error: gnu/stubs-32.h: No such file or directory
    1 | #include <gnu/stubs-32.h>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
❯

yes, this is true but I need to fill in gcc and with option -m32 otherwise
the program goes into seg fault because i use in the file assembly of the
instructions that are compatible with 32-bit only.
I don't know if you can help me understand how to compile in 32-bit
without the site giving me errors of libraries not included.
Il giorno mer 9 mar 2022 alle ore 23:39 hqurve @.***>
ha scritto:

How did you install it?
Loading it in a shell works just fine. If I have a file a.c
#include <gnu/stubs-32.h>
int main(){
}
and then
❯ nix-shell -p gcc glibc_multi
❯ gcc a.c
❯
however, if i just load gcc
❯ nix-shell -p gcc
❯ gcc a.c
a.c:1:10: fatal error: gnu/stubs-32.h: No such file or directory
1 | #include <gnu/stubs-32.h>

  |          ^~~~~~~~~~~~~~~~

compilation terminated.
❯
—
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/issues/163376#issuecomment-1063450754,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWJHX7CXLK4FIBQYVG4PFJLU7ESCJANCNFSM5QHO3GYA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Currently im trying https://nixos.org/guides/cross-compilation.html with gnu32 instead of aarch64-multiplatform however ... its still compiling musl. But there may be another way (will confirm if it works)

In the meantime though, perhaps you can make a post on the discourse asking for help

Okay, decided to take my own guidance and found this post. Apparently its as simple as using pkgsi686Linux.
For example, with a shell.nix file
{
  nixpkgs ? import <nixpkgs> {},
  pkgs ? nixpkgs.pkgsi686Linux
}:
with pkgs;
mkShell {
  # builtInputs = [glibc]; # not required since mkShell already pulls this dependency. Also note that it automatically uses the glibc with the 32bit header file
}

Then enter the shell with nix-shell and then $CC a.c. Also, to prove that its indeed compiling to a 32bit, file reports
a.out: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /nix/store/n8k71gd1a759s9mmi85iinfdb0ckkzkv-glibc-2.33-108/lib/ld-linux.so.2, for GNU/Linux 2.6.32, with debug_info, not stripped


"Argument list too long" with many files on Windows

https://github.com/servo/mozangle/tree/ee3f46cc4e6a990634d3cab4d49d1ebfdb785d22 uses the cc crate, and cargo test works on both Linux and Windows for me.
When adding --features egl however, compilation fails on Windows with the error below. This feature is Windows-only, but as far as the cc crate is concerned it mostly adds a bunch more source files.

Internal error occurred: Command "C:\[…]\lib.exe" [many arguments…] with args "lib.exe" failed to start.

When I copy/paste the command into a shell, the output is:

Argument list too long

Could this crate do something like https://github.com/rust-lang/rust/pull/47507 ?

I could compile with https://github.com/alexcrichton/cc-rs/pull/293.


Example runs in CI?

Should we add several example runs/expected results to the CI? Or are we OK with 'just' tests?

We already do some of this when we execute the notebooks. When those are combined with #54, I think we're basically there.


add setup.py for pip install -e

For editable checkouts.

Additional work.

It's probably rude to just work in master, no? Note to self: do things in a branch.

Thank you for putting this together; I have since published to pypi and you can track the changes there in this meta repo.


[$1000]  In the assign task flow, Value for description not changing

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Click on Assign Task in global create menu.
Add title and description.
Click on the next button.
On Confirm Task page, click on the Description
Change the value for description
Click on Next. You will go to Confirm Task menu
Click on back chevron button near heading
Description is not updated

Expected Result:
Description should be updated
Actual Result:
Description is not updated
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/43996225/044a7528-331d-44ec-a1ff-929e374ac805
https://github.com/Expensify/App/assets/43996225/805b89b5-ba0e-446d-98fb-0ad462bc8fea
Expensify/Expensify Issue URL:
Issue reported by: @BhuvaneshPatil
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1684554959081519
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0159a2a911d29c5676
Upwork Job ID:<PHONE_NUMBER>838981120
Last Price Increase: 2023-05-23

Potentially related https://github.com/Expensify/App/issues/19343

Proposal
Please re-state the problem that we are trying to solve in this issue.
In the assign task flow, the value for description on in the initial page is not updated if it is changed on the details page and the user navigates back to the initial page.
What is the root cause of that problem?
The taskDescription input field in the form on the initial page is not being updated with the stored value in Onyx.
What changes do you think we should make in order to solve the problem?
Update the NewTaskDetailsPage to retrieve the value from Onyx when the page loads.
What alternative solutions did you explore? (Optional)
None.

Proposal
Please re-state the problem that we are trying to solve in this issue.
In the assign task flow, the value for description on in the initial page is not updated if it is changed on the details page and the user navigates back to the initial page.
What is the root cause of that problem?
The taskDescription input field in the form on the initial page is not being updated with the stored value in Onyx.
What changes do you think we should make in order to solve the problem?
Update the NewTaskDetailsPage to retrieve the value from Onyx when the page loads.
What alternative solutions did you explore? (Optional)
None.

Proposal
Please re-state the problem that we are trying to solve in this issue.
In the assign task flow, value for title and description not changing
What is the root cause of that problem?
In NewTaskDetailPage, title and description input  field don't have value prop to update with task value from Onyx
https://github.com/Expensify/App/blob/7a42755a79737314edf702ce17bf0647dd8c41fb/src/pages/tasks/NewTaskDetailsPage.js#L78-L91
What changes do you think we should make in order to solve the problem?

Subscribe task from Onyx with key ONYXKEYS.TASK and update propTypes and defaultProps corresponding
Add value prop for title field value={props.task.title} and description field value={props.task.description}

What alternative solutions did you explore? (Optional)
NA
Result
Screencast from 25-05-2023 13:01:10.webm

@abdulrahuman5196 thoughts on the proposals above?

Proposal
Please re-state the problem that we are trying to solve in this issue.
The title and description are not updated in AssignTask page
What is the root cause of that problem?
In
https://github.com/Expensify/App/blob/main/src/pages/tasks/NewTaskPage.js
We're using Form.js to render the form, it's data is only updated when user changes value manually. That why when we update title or description from other forms and go back, this form still shows stale data
What changes do you think we should make in order to solve the problem?

add new field shouldSync in task
When we call setTitleValue or setDescriptionValue function, update shouldSync to true
In NewTaskDetailPage subscribe task from onyx, if shouldSync is true -> update inputValues and reset shouldSync to false

    useEffect(()=>{
        if(props.task.shouldSync){
            formRef.current.setState({
                inputValues:{
                    taskTitle:props.task.title,
                    taskDescription: props.task.description
                }
            })
            TaskUtils.setShouldSync(false)
        }
    },[props.task.shouldSync])

Result
https://github.com/Expensify/App/assets/113963320/5625f5db-bc0c-4f6a-979d-2f77c2e17b36

Proposal
Please re-state the problem that we are trying to solve in this issue.
Title and Description value in Assign Task form not updating, after we change there values in next pages.
What is the root cause of that problem?
There are two possible reasons for these -

The NewTaskPage components does not take any prop from onyx's task. That's why updating/re-rendering is not happening when those values are changed outside of that component.
https://github.com/Expensify/App/blob/0070968b27dd29728d5bb13a8b7eabb3db37a5ff/src/pages/tasks/NewTaskDetailsPage.js#L26-L28
The Form component used in above mentioned component doesn't take any default values as of now, and if we check component tree it's not unmounted even if we go to another page i.e. Confirm Task. So the values that are present in both input fields are only particular to that component only.
https://github.com/Expensify/App/blob/0070968b27dd29728d5bb13a8b7eabb3db37a5ff/src/pages/tasks/NewTaskDetailsPage.js#L70-L77

What changes do you think we should make in order to solve the problem?
There are few changes that we need to make -

Add task to props, that will subscribe to the task from onyx.
The current implementation of Form component uses draftValues as props, they are used to initialize the state.inputValues, we can use them for our use case.
https://github.com/Expensify/App/blob/0070968b27dd29728d5bb13a8b7eabb3db37a5ff/src/components/Form.js#L94-L99
To make sure we are updating the values for the Form component, we can modify - componentDidUpdate() in Form component like following -

    componentDidUpdate(prevProps) {
      if (!_.isEqual(prevProps.draftValues, this.props.draftValues)) {
          this.setState((pre) => ({...pre, inputValues: {...pre.inputValues, ...this.props.draftValues}}));
      }
        if (prevProps.preferredLocale === this.props.preferredLocale) {
            return;
        }

        // Update the error messages if the language changes
        this.validate(this.state.inputValues);
    }

We can pass the values for draftValues as props in Form component.
As we don't want to save the input values from draft, we won't pass shouldSaveDraft prop in form inputs.

What alternative solutions did you explore? (Optional)
To avoid any regressions, we can add two props to the Form component.

intialValues - a key-value pair/object of [inputId]:<inital_value>
shouldInitializeWithValues - If this prop is passed we can conditionally initialize the form input values.

If we implement this approach, in future if such issue occurs this can be used.
Looking forward to your feedbacks.
https://github.com/Expensify/App/assets/27822551/39be3e63-a9a2-4c1b-aa6e-46d78fd88e78

@akinwale's proposal here https://github.com/Expensify/App/issues/19460#issuecomment-1560405178 looks good and works well.
And as to note its not just description affected, task title is also affected by same issue. We should fix both here since its on the same page and @akinwale's proposal could be applied the same way for title as well.
🎀👀🎀
C+ Reviewed
cc: @tgolen

@abdulrahuman5196 Can you check my proposal here? My proposal mentioned both description and title bug and @akinwale proposal it's unnecessary to use defaultValue if use value props and onChangeText should replace by onValueChange when TextInput is wrapped by Form

@dukenv0307  Thank you for the proposal and reaching out. I did go through all the proposal's at this time before approving.
Both the proposals are almost same. I agree, Your proposal included further concerns of title also needs change and others as mentioned here https://github.com/Expensify/App/issues/19460#issuecomment-1565542059.
But IMO, these are minor improvements which could have easily solved during PR phase. So I have approved the proposal which came first since both are almost same.

@abdulrahuman5196 can you please provide feedback and any improvements to my proposal.
The reason behind following the approach is we are not using state to store the values anywhere in the code when Form component is used.

@BhuvaneshPatil  Thank you reaching out.
The first part of using task from Onyx is same in all proposals.
The second problem is that Form with TextInput currently won't change the value if the defaultValue is changed. This is a known issue and already have a conversation here - https://github.com/Expensify/App/pull/15672/files#r1139341904 (The conversation is not solved yet).
But I am not aligned to use draftValues to solve this problem, since it's purpose is to store draft values in form and show it again. IMO using the value prop of TextInput directly like the accepted proposal is more apt in this case.

@abdulrahuman5196 What's about my proposal https://github.com/Expensify/App/issues/19460#issuecomment-1564159075. I don't think adding a new value and onChangeText is a good idea, we already have the logic to render value and handle onChangeText in Form.js, I also wonder if user's typing, the task is updated by pusher(update task from other devices), so the input will be changed. That why I just want to update the input value when setTitleValue or setDescriptionValue is executed.

Hi @tienifr , Thank you for the proposal. But I am not aligned with the idea of adding a new field of shouldSync just to solve this issue.

I don't think adding a new value and onChangeText is a good idea, we already have the logic to render value and handle onInputChange in Form.js

I don't think its forbidden to use value or onChangeText(onValueChange in Form) in Forms, infact Forms expose these params - https://github.com/Expensify/App/blob/main/contributingGuides/FORMS.md. But in most cases you won't need it since Form has a default behaviour and its handled internally by Form. But for our current issue we need more than the default behaviour.

I also wonder if user's typing, the task is updated by pusher

I don't think we should worry more about this. These are just draft values stored in onyx.

Copy pasting from https://github.com/Expensify/App/issues/19460#issuecomment-1565520844 so that it is not missed in the discussions.
@akinwale's proposal here https://github.com/Expensify/App/issues/19460#issuecomment-1560405178 looks good and works well. Root cause is also correct.
And as to note its not just description affected, task title is also affected by same issue. We should fix both here since its on the same page and @akinwale's proposal could be applied the same way for title as well.
🎀👀🎀
C+ Reviewed
cc: @tgolen

I don't think this is worth fixing. Step 7 means that user wants to cancel current edition.
After enter title and close modal and restart creating new task, title and description should be reset.
But after this issue fix, old input values will still remain, even after refreshing app. This is not expected behavior I believe.

After enter title and close modal and restart creating new task, title and description should be reset.
But after this issue fix, old input values will still remain, even after refreshing app. This is not expected behavior I believe.

@situchan  I don't think this will happen. We always clear out the onyx task information before navigating to new task flow even now. Could you kindly let us know on how this issue could happen if you have otherwise information?

http://localhost:8080/new/task/details
@abdulrahuman5196 please visit this page directly from address bar

Got it @situchan. But I am still aligned to solving this issue. We could also actually solve this concern as part of this issue as well. Anyways I will check with others here well.
Summarizing for others on the concern.
Currently after we go to new task page where we assign people, if we refresh the page it will show the already entered information. Same way if we directly go that page via url. But this only can happen if you refresh or directly go via url in web.
https://github.com/Expensify/App/assets/46707890/759af2a3-b767-4f7e-b035-3c88f8835251
This is due to the fact we only clear task information when navigate the new task page.
So I think the question are,
@tgolen The same could happen for the page which we are trying to fix this issue. When we refresh or go to url directly, should we show already entered/old information or it should be cleared out?
Note: I am holding off my approval here https://github.com/Expensify/App/issues/19460#issuecomment-1566187185 to favor the answer to the above question.

I think it is a pleasant UX that it keeps the data that was previously
entered.
On Mon, May 29, 2023 at 9:28 PM abdulrahuman5196 @.***>
wrote:

Got it @situchan https://github.com/situchan. But I am still aligned to
solving this issue. We could also actually solve this concern as part of
this issue as well. Anyways I will check with others here well.
Summarizing for others on the concern.
Currently after we go to new task page where we assign people, if we
refresh the page it will show the already entered information. Same way if
we directly go that page via url. But this only can happen if you refresh
or directly go via url in web.
https://github.com/Expensify/App/assets/46707890/759af2a3-b767-4f7e-b035-3c88f8835251
This is due to the fact we only clear task information when navigate the
new task page.
So I think the question are,
@tgolen https://github.com/tgolen The same could happen for the page
which we are trying to fix this issue. When we refresh or go to url
directly, should we show already entered/old information or it should be
cleared out?
Note: I am holding off my approval here #19460 (comment)
https://github.com/Expensify/App/issues/19460#issuecomment-1566187185
to favor the answer to the above question.
—
Reply to this email directly, view it on GitHub
https://github.com/Expensify/App/issues/19460#issuecomment-1567411194,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJMAB3GBHA3J7ULZVG36GTXITTFLANCNFSM6AAAAAAYMFP3SE
.
You are receiving this because you were mentioned.Message ID:
@.***>

I think it is a pleasant UX that it keeps the data that was previously entered.

Based on this, I suppose we can move forward with my proposal as initially reviewed. Thanks.
cc: @abdulrahuman5196

Yes.
@akinwale's proposal here https://github.com/Expensify/App/issues/19460#issuecomment-1560405178 looks good and works well. Root cause is also correct.
And as to note its not just description affected, task title is also affected by same issue. We should fix both here since its on the same page and @akinwale's proposal could be applied the same way for title as well.
If possible we could also clear the task info when user manually click on the close button, should be a minor change IMO.
🎀👀🎀
C+ Reviewed
cc: @tgolen

Unfortunately, I need to reassign this one due to going on extended leave.

@aldo-expensify thanks for stepping in for Tim! can you take a look at the C+ reviewed proposal here and let us know if we're good to proceed?

@aldo-expensify @abdulrahuman5196 I have applied to the Upwork job and the PR is ready for review. Thanks.

Thanks!

C+ review complete, looks like PR is waiting on @aldo-expensify for a final review

Merged, awaiting deploy to prod

Offers sent to @BhuvaneshPatil @akinwale @abdulrahuman5196

Accepted


Find out why "&*self.data as &_Selectable" doesn't work

In the last commit I had to change all &*self.data as &_Selectable:
https://github.com/mahkoh/comm/commit/6c94245807d47578ebbe67673aa12fb8c5d8c6a9#diff-4835274688f8e63ddfb96e10d7fa1067L486
static_ref is like deref but it transmutes the output from &T to &'static T. I don't know why this is necessary and the error messages are completely useless. I believe this is fine because the lifetimes are really longer than the deref lifetime but maybe there is something else going on.

https://github.com/rust-lang/rust/issues/22606

Fixed in e1ee39c


Saving embedded grandchildren creates additional embedded documents

I ran into an issue where I have a model that embeds_many of another model, that has it's own embeds_many.
For example:
parent:
  - child_1:
  - child_2:
    - grandchild

The issue comes up when you update one of the grandchildren. It saves the grandchild just fine but also creates a additional grandchild record. The number of records that get created is directly tied to how many children there are. Three children will create three grandchild records. If there is only one child record, there is no problem.
I created a repo with specs do demonstrate this: https://github.com/adamcrown/grandchild-save-bug
The best workaround I've found is to call save on the child instead of the grandchild.
For some reason I can't get Travis CI to reproduce the bug, but I've reproduced it on multiple computers. Please clone the repo and let me know if it passes for you. There should be one failed and one passed spec.

+1 I experience the same issue

Could be a duplicate of https://github.com/mongoid/mongoid/issues/3532 ?

+1 for me. This also ignores validations and created empty records that can't be deleted through mongoid. Maybe I am just using update wrong in my controller??

This is an issue with MongoDB's positional operator $ from 2.6 and higher. (Which is why on travis this is not reproducable - they are still on MongoDB 2.4). I'm removing Mongoid's use of this operator and using only pure indexes now.


Fix branding

Summary
Qiskit Runtime

For repo names we stick with the pattern (since we have already suggested this to partners):

# IBM
qiskit-ibm-runtime

# Other Partners
qiskit-dell-runtime
qiskit-ionq-runtime
qiskit-aqt-runtime

For usage as title in README/Documentation:

# IBM
Qiskit Runtime IBM Quantum Client

# Other Partners
Qiskit Runtime Dell Client
Qiskit Runtime IonQ Client
Qiskit Runtime AQT Client

For usage as description:

# IBM
IBM Quantum Client for Qiskit Runtime

# Other Partners
Dell Client for Qiskit Runtime
IonQ Client for Qiskit Runtime
AQT Client for Qiskit Runtime

Note: These are called Client and not Provider because they don't implement the Qiskit Provider interface.

A Client uses a Service class to connect to the API. Ex: IBMRuntimeService.

from qiskit_ibm_runtime import IBMRuntimeService

Similarly we could have DellRuntimeService, IonQRuntimeService or AQTRuntimeService. (If you are thinking of adding Qiskit or Quantum to the class name it just makes it too long, since we are importing from qiskit_* we don't have to repeat that)
For other projects:
Qiskit Experiments

Repo name: qiskit-ibm-experiment
Usage as Title in README/Documentation: Qiskit Experiments IBM Quantum Client
Usage as Description: IBM Quantum Client for Qiskit Experiments
Service class name: IBMExperimentService

Providers
Any packages that implement the Qiskit Provider interface can be called as Providers (a special type of Client). These are generally legacy interfaces and they don't necessarily have to align with the new patterns as explained above.

Repo name: qiskit-ibm-provider
Usage as Title in README/Documentation: Qiskit IBM Quantum Provider
Usage as Description: Qiskit IBM Quantum Provider
Provider class name: IBMProvider

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 56.778%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2044

Relevant Lines:
3600

💛  - Coveralls

Thanks for summming this up, @rathishcholarajan. I think it's important to get everyone aligned on the "branding" of the client libraries even if that involves some discussion cycles.
General Questions

Do we need to differentiate between For usage as description vs. For usage as title in README/Documentation?
Is IBM Client for ... (instead of IBM Quantum Client for ...) also an option to stay consistent with other names like Dell Client for ..., IonQ client for ...?

I think it'd be nice if the description were a little more descriptive than feel like a title. I searched to see if Dell had a Quantum branding, but couldn't find one. But the idea is to include the word Quantum if available (previously IBMQ). Other companies like IonQ and AQT are Quantum Computing companies and that's why we don't have to include the word Quantum.

Can we fix this decision via a code review? If not, whom should we involve to give a green light to make sure names do not keep changing once published?

Change is constant. I think we are sticking to the branding here, so don't see a reason for anyone else to review.

Personal Preference

IBM Client for Qiskit Runtime
IBM Client for Qiskit Experiments

Same reason as above, we should highlight Quantum division.

I am going to merge this since we need to release 0.1.0 now. We can always restart conversation and change things if needed.


Remove unused / disabled commands from the all command list

Folding is disabled.

Note: I believe this is a bug on the monaco editor

Microsoft/monaco-editor#135

@microsoftsam Is this still a issue? How do I repro this?

Yes it still is, and will be until we update Monaco.
F1 or right click and hit "Command Pallets" in the JavaScript editor, you'll find folding commands and a bunch of other commands that are disabled features, but are in the list.

From: Abhijith Chatra<EMAIL_ADDRESS>Sent: Monday, October 24, 2016 6:22:32 PM
To: Microsoft/pxt
Cc: Sam El-Husseini; Mention
Subject: Re: [Microsoft/pxt] Remove unused / disabled commands from the all command list (#259)
@microsoftsamhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoftsam&data=02|01|Sam.El-Husseini%40microsoft.com|db28d13f61054a07a24a08d3fc756669|72f988bf86f141af91ab2d7cd011db47|1|0|636129553560088083&sdata=kA9QeubHChhT8N%2FRlvvSkM0fYvaDzipHBX4yeXZxcTk%3D&reserved=0 Is this still a issue? How do I repro this?

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fpxt%2Fissues%2F259%23issuecomment-255910661&data=02|01|Sam.El-Husseini%40microsoft.com|db28d13f61054a07a24a08d3fc756669|72f988bf86f141af91ab2d7cd011db47|1|0|636129553560088083&sdata=5EzVdYl2xrmq32eodggX7zXYMSXZF7N6fED3%2FLL0aJQ%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAP6rzM9OPgOjbZpBORcVJgFgywcD-RnMks5q3VnYgaJpZM4JtlnU&data=02|01|Sam.El-Husseini%40microsoft.com|db28d13f61054a07a24a08d3fc756669|72f988bf86f141af91ab2d7cd011db47|1|0|636129553560088083&sdata=3w5%2FAsQiov7WUdqgBkqTABSLvcMJs9Y400a0exDzIs8%3D&reserved=0.

Won't fix.


Exporting an object of type pyscf.pbc.dft.rks.RKS

Hello,
I want to export a fit to use it later. The only way I knew to try was to use pickle put the interpreter raises TypeError: cannot pickle '_io.TextIOWrapper' object
from pyscf.pbc import gto, dft
import pickle

cell = gto.Cell()
a = 3.5668
cell.a = f'''
{a}     0       0
0       {a}     0
0       0       {a}'''
cell.atom = '''C     0.      0.      0.
              C     0.8917  0.8917  0.8917
              C     1.7834  1.7834  0.
              C     2.6751  2.6751  0.8917
              C     1.7834  0.      1.7834
              C     2.6751  0.8917  2.6751
              C     0.      1.7834  1.7834
              C     0.8917  2.6751  2.6751'''
cell.basis = 'gth-szv'
cell.pseudo = 'gth-lda'
cell.build()

mf = dft.RKS(cell)
mf.kernel()

with open('mf.pkl', 'wb') as outp:
    pickle.dump(mf, outp, pickle.HIGHEST_PROTOCOL)

Can I somehow store a RKS-fit on disk for later use?

I'd recommend to use the chkfile to save the results. Before calling the mf.kernel function, you can specify
mf.chkfile = 'mf.chk' . This will save cell and mf objects to the 'mf.chk' file. You can restore the two objects by
cell, mf = pyscf.pbc.scf.chkfile.load_scf('mf.chk')

I'd recommend to use the chkfile to save the results. Before calling the mf.kernel function, you can specify mf.chkfile = 'mf.chk' . This will save cell and mf objects to the 'mf.chk' file. You can restore the two objects by
cell, mf = pyscf.pbc.scf.chkfile.load_scf('mf.chk')

If I do that, then the object referenced by mf isn't actually of type pyscf.pbc.dft.rks.RKS. It is of type dict. Can you say the appropriate line to convert it to type pyscf.pbc.dft.rks.RKS?

I forgot the return type of the load_scf function. You can use it to overwrite an mf object. That is to say you have to create the mean field object yourself. Please note that mf_dic only saves the SCF results. You need to assign attributes of mf, like xc, exxdiv manually.
cell, mf_dic = pyscf.pbc.scf.chkfile.load_scf('mf.chk')
mf = cell.RKS()
mf.__dict__.update(mf_dic)

See also
https://github.com/pyscf/pyscf/blob/master/examples/scf/14-restart.py#L64


making an example of recipes being displayed on a html

ive managed to display some of the data but i need to display the ingredients and make it neater and more presentable
create a different html to showcase using the search api within the mealDB api, maybe link a search bar to find a recipe.


Wrong import path

file
codegen/types.ts
line 7
import { BinaryReader, BinaryWriter } from “../../../binary”;
should be
import { BinaryReader, BinaryWriter } from “./binary”;
using Telescope 1.0.10

<EMAIL_ADDRESS>


Implement the first batch of Serialization / IO / Conversion functions

See https://pandas.pydata.org/pandas-docs/stable/reference/frame.html#serialization-io-conversion
Looks like we can easily implement almost all of them by calling toPandas().func_name().
One thing is that some of the functions support max_rows. When that argument is specified, we should add a limit call in Spark to avoid moving all the data to the driver.
The list to add in the first batch are:

[x] to_dict (see #169)
[ ] to_excel (#288)
[x] to_html (we already have this, but let's add a limit when max_rows is set), done in #206
[ ] to_latex
[ ] to_records
[x] to_string (done in #211 and #213)
[ ] to_clipboard (#257)

Skipping the following because I don't know how popular they are:

to_pickle
to_hdf
to_stata
to_msgpack
to_records
to_sparse
to_dense

The following might require parallelization with Pandas UDFs, rather than collecting all the data to the driver, so leaving them for the future:

to_sql
to_gbq

I'm also not adding json and csv here. We need to design those properly because both Spark and Pandas have those.

For contributors -- in general this is a pretty easy one to get started. Just look at how we did https://github.com/databricks/koalas/pull/211 and https://github.com/databricks/koalas/pull/213

Can I work on this?

please go ahead.

@rxin , @HyukjinKwon Can I take this up as well?

Go for it.
On Thu, May 2, 2019 at 12:47 PM Shril Kumar<EMAIL_ADDRESS>wrote:

@rxin https://github.com/rxin , @HyukjinKwon
https://github.com/HyukjinKwon Can I take this up as well?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/databricks/koalas/issues/169#issuecomment-488807335,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACO6PA3QJ6XEWUOQMVLMHTPTNAOLANCNFSM4HIHAYQQ
.

I think we should do to_json too.

@rxin

I'm also not adding json and csv here. We need to design those properly because both Spark and Pandas have those.

I agree with @HyukjinKwon, we can add to_json & to_csv.
In fact, both methods need to collect data in the driver through toPandas(). And if we pass the path as a parameter, the output will be saved in the driver. This is what Pandas users will expect, at least, those who are not familiar with Spark.
In the case of Spark, I think we should keep to_csv and to_json in a separate section than Serialization / IO / Conversion and we explain the behaviour in the documentation. These methods will be useful if we want to write the output in HDFS without impacting the performance.
Btw, to_clipboard uses to_csv.

We can support both hdfs and local path and that's what Spark currently supports. Let's keep it consistent first before we start to have some divergence.
We can explain the difference in the docstring with notes and I think that's already what are doing.

@garawalid do you want to do the rest as well?

@rxin
Of course, I'll handle the rest!
You can close it.

We only close the ticket once all the items are done :)

@garawalid are you doing to_excel function?

@shril not yet! You can pick it up.

I can take up one of the functions. Let me know if something is available.

Please say that you're working on some functions here and go ahead.

Working on .to_latex() function. Pull request coming soon.

Working on to_records

Thank you all!

@rxin, I have implemented to_records in  PR #298.
Can you please close this issue?

Thanks, @shril. This issue is nicely finished.


Self-hosted kubelet breaks port-forwarding

I found that trying to use kubectl port-forward does not work with the self-hosted cluster. I experienced this at first on 1.3.0, and then tried again after the 1.3.4 PR got merged earlier today. As far as I can tell this has likely always been an issue.
In my gist below, I try to port-forward prometheus, and that doesn't work. I try to port-forward the api-server, and that doesn't work. So I delete the kubelet daemonset, and then I port-forward the api-server again, this time it works.
https://gist.github.com/chancez/bb993765348612f6ee47b59e0e01a8c2

Potentially related: https://github.com/kubernetes/kubernetes/issues/19765

see https://github.com/kubernetes/kubernetes/issues/26093

this is a tricky one. as  kubernetes/kubernetes#26093 clearly shows over time kubelet gained a fair share of external dependencies, some of which may come with a non trivial tail. Given the focus on slimness and lightness not all packages that own those external dependencies ship with CoreOS (socat is the issue here).
on production this is easily solved by going the hyperkube way (as those dependencies stop being an CoreOS concern as they just become containerized) but here we have an issue because we are running things directly on top of CoreOS.
So, IMHO, one of two routes would have to be paved - either one assumes that all (that matter to us) dependencies of k8s should ship with stock CoreOS (fattens the OS a bit, and is a non backward compatible trick) and the issue is over or change the tooling so that a containerized bootkube is run so that when it runs there would be worries of any kind about what userland is or isn't available.

I'm fairly certain socat is in the hyperkube image, and we're running both kubelets via the hyperkube image. So I'm fairly certain it isn't a problem of the image, but rather how the self hosted-kubelet is configured/ran. I'm guessing it has to do with the nsenter stuff that's done as the entrypoint to hyperkube, but I'm not certain.

So, the nsenter prefix is messing with PATH resolution. Specifically, we lose the binaries installed into the container filesystem when we break out of the container namespace.
We could:

Attempt to use the --containerized flag, which will prefix mount commands with nsenter so they take effect on the host namespace (note: this is marked as experimental).
Still use global nsenter but chroot to the container working directory (e.g., function in host mount namespace, but use container filesystem as root).
(End goal, eventually) run kubelet via rkt fly (similar to host).

To reiterate the problems:

We want to be on the host mount namespace so that any mounts we make are visible to docker. K8s doesn't support mount propogation so mounts must be made from the host mount namespace (or kubernetes must support shared mounts)
We package socat in our container's filesystem, but it's not on the host's filesystem. Being in the host mount namespace results in socat not being in our path
2a) If we do chroot into our container rootfs (socat is now in our path woo) but remain in the host mount namespace to solve 1), we no longer have the bindmounts for kubelet (e.g. /etc/kubernetes) that are in the container's mount namespace since chrooting doesn't get them back.
2b) We could re-create all bindmounts we need + chroot. Congrats, we just reimplemented rkt fly, let's just use nsenter + kubelet-wrapper in that case... which we could package in the image I suppose

One other possible solution would be to explicitly nsenter, not chroot, and add our PATH (/container/usr/bin ...) Unfortunately, this is fragile because you're still using the host's lib directory. You could also modify the LD_LIBRARY_PATH but I feel like this is a path to bad ideas, if you'll pardon the pun.
I'd like to disagree that the end goal is kubelet in rkt fly here. I think the end goal should be kubelet, but smart enough to run in a container appropriately. The --containerized nsenterMounter is in that direction, and so if that works I think it's an okay step. The downside with that approach is it prevents us from packaging additional mount. commands in the container, which kidna defeats the distribution bit. Perhaps a better solution would be instead of an nsenterMounter hack, a execWithPath hack that effectively does PATH=$containerPath LD_LIBRARY_PATH=$containerLibPath /usr/bin/nsenter -t 1 -m -- $cmd
This is really a bunch of words to say that I like the direction of --containerized

FYI I got this to sorta work using the --containerized flag approach with some questionable log lines.
Gist of the kubelet manifest + logs:
https://gist.github.com/chancez/ea9002c9ff6b546fe253f49165185210

I made a PR for it yesterday and uploaded it now, it should work (hadn't got time to test)

So to sum up our options right now:

use the --containerized flag and stop entering host mount namespace

Mostly depends on how stable an option we consider  --containerized. It's been a while since I've looked at this flag -- so would need to reassess any known issues.

Continue entering host mount namespace, but change PATH to the container filesystem.

Downside here is that all binaries will use host shared libraries (increases risk of a CoreOS update breaking a previously working kubernetes install)

Wait on mount propagation to make it upstream

This could be a while

Get weird with LD_LIBRARY_PATH hacks:

bind mount a socat-wrapper script to /usr/bin/socat in container fs, and update PATH to include this explicitly.
LD_LIBRARY_PATH=./lib/x86_64-linux-gnu/:./usr/lib/x86_64-linux-gnu/ ./lib/x86_64-linux-gnu/ld-2.19.so --inhibit-cache ./usr/bin/socat

Then we would also need to do the same for other kubelet dependencies (e.g. mount tools).
Thoughts @luxas @chancez @euank ?

These all make me want to cry 😿

I think 1) is the least awful, but then we're relying on the host to provide mount tooling since --containerized results in Kubelet nsentering the host to run mount. Not sure if we're okay with this or what.

For nfs it would work, for others tools that we don't ship in OS it would be a problem...

Another option is to test nsenter --target=1 --mount --wd=. -- chroot . /kubelet $@

That might be best, i think it would need some serious testing to see how that interacts with the various libraries/binaries.

The natural extension of the nsenter .. chroot one is the nsenter -t 1 --mount --wd=. rkt run --stage1=fly, which naturally extends to nsenter ... kubelet-wrapper.

Continue entering host mount namespace, but change PATH to the container filesystem.

We know this breaks socat today, right? That sounds super fragile and the compatibility matrix would be a nightmare.

Wait on mount propagation to make it upstream

There might be a way to break out and fix the mount propogation to be shared while we're suggesting other horribly hacky fixes, though I can't claim to know off the top of my head how to.

@aaronlevy wouldn't the problem be easy to fix if all required binaries (e.g. socat) are part of the container working directory, e.g. using symlinks ln -s /usr/bin/socat /socat. You would have to build your own hyperkube though - or at least add a layer

Closing, as this issue would be resolved by the switch to the --containerized flag implemented in https://github.com/kubernetes-incubator/bootkube/pull/247
There may be other issues with the --containerized flag, but those should have their own issue (port forwarding issue due to socat path should no longer be an issue


GOOGLE_CALENDAR_SHOW_EVENTS.model conflicts with GOOGLE_MAIL_LIST_MAIL.model

Commands that are supposed to be for the list gmail command are being matched with the list calendar events command.

Should be fixed as of 18aefaed8a842b78bb65fd2817378094d3fcc7ac with updated models


Fix output stage for c2d.

Fixes #536  .
Changes proposed in this PR:

Unfortunately, I will rewrite this PR, as it was based from develop after I screwed it up :(

I'll close this and create a new one from main branch.


XF Android Distortion Issue

I'm having an odd issue with FFImageLoading images in XF Android. The first time the image is displayed, everything is perfect. But then for all subsequent displays (anywhere in the app), the image is oddly distorted. See the attached screenshots of the same image displayed the first time normally and then distorted the second time (after leaving the page and returning to it, which uses a new image instance).
If I simply re-layout the content, there is no problem. It only happens when there is a new instance with the same image being displayed. The problem does not happen at all on iOS.
I am using <IP_ADDRESS>9.
Any ideas? Thanks in advance!

https://github.com/luberda-molinet/FFImageLoading/wiki/Xamarin.Forms-API#downsampletoviewsize-bool-default-false


Azure Storage Explorer 1.15.1 is missing "List" permission when creating SAS on a VHD

Storage Explorer Version: 1.15.1
Build Number:  20200902.9
Platform/OS: MacOS 10.15.7
Architecture: x64
Regression From:    Not sure. Updated maybe a month ago.
Bug Description
The partner portal requires r and l options when creating Shared Access Signatures when sharing images for Marketplace submission.  I now get the error:
Permissions (sp) must include read "r" and list "l".
And there is no option to select "List" in the list of permissions.
Steps to Reproduce
Right click on a VHD and select create shared access signature.  Under permissions, "list" has been removed.
Expected Experience
List and Read used to be selected by default.  I have full permissions over the image (I created it).  I have done this dozens of times before and never had an issue.
My role is: Service Administrator | Has full access to all resources in the subscription
Oddly enough I just checked and read is present on previous images created the same way.
I added the Reader Role to my resource group and the list option showed in explorer, but then the Partner Portal complained that the link was not created with a VHD extension.  I searched and found that there is now a Azure Storage Explorer in the Portal now.  I used that and it worked fine.
It also seems that the option to create a "container-level" shared signature is also missing.

@c2company We are aware of this issue and is discussing with the corresponding team. List permission is a container level SAS permission so it is removed as we remove the "container-level" option. Ideally speaking you shouldn't need a container-level SAS because it will grant access to all blobs in that container, which is far beyond what is really needed for the submission. The requirement of container-level SAS was due to some legacy service issue and depending on whether they can fix it in time, we will consider adding it back.

Version 1.17.1 still has breaks the SAS URIs that are required for publishing images within Partner Portal.
The missing requirements (which were available and working in 1.12.x) are (1) list permission and (2) the URI must be container level.
While generating the SAS URIs via Portal's web-based "Storage Explorer (Preview)" is a workaround, the Storage Explorer application should not be handicapped in this way.  I use AZE for everything... but cannot use it for generating the SAS URIs to publish images in Partner Portal since upgrading past 1.12.x.

Version 1.17.1 still has breaks the SAS URIs that are required for publishing images within Partner Portal.
The missing requirements (which were available and working in 1.12.x) are (1) list permission and (2) the URI must be container level.
While generating the SAS URIs via Portal's web-based "Storage Explorer (Preview)" is a workaround, the Storage Explorer application should not be handicapped in this way.  I use AZE for everything... but cannot use it for generating the SAS URIs to publish images in Partner Portal since upgrading past 1.12.x.

This is still an issue in 1.19.0.
Any idea when this will get fixed?

We are still working with the team providing the VHD submission service for a coordinated solution.

@JasonYeMSFT Any update on this?
The Portal web-based "Storage Explorer (Preview)" is no longer working to generate Partner Center compatible SAS URIs.
I just tried az storage blob generate-sas ... and that doesn't work for read+list permissions either.
To the best of my knowledge, there is no longer any way to generate SAS URIs with read+list permissions which means publishing of new images via Microsoft Partner Portal are entirely broken at the moment.

@N3WWN According to our conversation with the service team, it should now be able to accept SAS url with only read permission right now. Is the submission process you are using still require a SAS with both read and list permission?

Hi @JasonYeMSFT !
Yes...This is the result of attempting to save when adding new images to the technical configuration of a plan:

This error was from this afternoon.


Added tests for the new feature of pyrsia config edit

#12
Added tests for pyrsia config edit improvement which was implemented in https://github.com/pyrsia/pyrsia/pull/1251.
The tests check...

if host, port and disk_allocated can be changed separately.
if settings can be changed at once using pyrsia CLI options.
if all values are validated.

@karolh2000 Thank you for the review! 🙏


Dried pineapple yields infinite pineapple chunks

Crafting a dried pineapple by itself yields the dry pineapple plus a pineapple chunk.
Repeat as needed until the dry pineapple expires.

This sounds like one of those food recipes conflicting with it.... hm


Allow binding interface

Fix #1336

Looks good! Any reason to restrict it to only Linux?

@seanmonstar Hi, it comes from here: https://github.com/hyperium/hyper-util/blob/a24c162f89879271801af196c861fb1a22c1dac7/src/client/legacy/connect/http.rs#L306


Add particles_updated and particles_expired signals to CPUParticles

This can be used for various effects and even gameplay purposes:

Add lights that follow individual particles.
Add sound effects that follow individual particles.
Add particle nodes that follow individual particles (either CPUParticles3D or GPUParticles3D). This can be used to emulate subemitters for CPUParticles3D.
Detect collisions with areas or physics bodies, and make the areas or physics bodies react accordingly.

Individual particle reporting is read-only, so the particles themselves cannot react to collisions this way. GPUParticles3D supports collision, but they don't support individual reporting on the CPU (since communicating from the GPU back to the CPU is too slow).

Need both individual particle reporting and collision? It may happen one day…

Spawn lights, sound effects or other particles at the location of a particle that just expired.

This is a separate signal as it'll be emitted less often than particles_updated, which can therefore perform better when you don't need to know particle transforms on every particle tick. If we follow along this design, I expect particles_collided to also be a separate signal from particles_updated if CPUParticles collision is implemented.

This closes https://github.com/godotengine/godot-proposals/issues/3349.
Testing project: test_cpuparticles3d_signal_dictionary.zip
Testing project for old commit: test_cpuparticles3d_signal_class.zip
Preview
Local/Global coordinates support
https://user-images.githubusercontent.com/180032/169689360-778654ef-a9d8-4707-bb6f-a87910fdcd22.mp4
Explosiveness
https://user-images.githubusercontent.com/180032/169688353-2e2b40d0-5847-4543-b293-74d4a5a8c547.mp4
Lights reflected in VoxelGI
https://user-images.githubusercontent.com/180032/169690114-7a45b461-36fa-4ea6-a083-6d4731dc4b16.mp4
Spawning boxes on expiration locations
https://www.youtube.com/watch?v=rOLA_-IZ4jM
TODO

[ ] Add Max Particles Reported property which limits the number of particles reported in total during the particle's lifetime. This would affect both particles_updated and particles_expired. Spread out the particles reported over the lifetime smoothly. If set to 0 (default), the signal is never emitted to avoid incurring any performance cost.
[ ] Port to CPUParticles2D.

Rebased and tested again, it works as expected. See OP for updated MRPs, both for the initial commit and the second commit that switches to a Dictionary[] return type.


Remove dependency on Fresco

Lots of apps(including ours) are using glide or picasso, the ui module should not depend on Fresco.

We tried a number of different frameworks including Glide and Picasso but Fresco just worked the best. I think this problem will come up which ever image loading library we use. If we use Picasso, the host app may use Glide etc... If we use Glide, the host app may use Fresco. Is there a reason why you particularly don't like Fresco?

No I haven't tried Fresco. I am a long time user of Glide and picasso. Maybe I should try fresco, but the point is as a sdk it should minimize the dependencies to allow more flexibility and easier integration for host app.

We have tried to minimize dependencies as much as possible but after evaluating Volley, Picasso and Glide, we decided that Fresco is the best fit. If it causes significant problems or if we see that the other libraries could offer a similar level of performance, I'd be happy to consider switching.


Support custom fish

Is it possible to add support for this plugin: https://www.spigotmc.org/resources/pyrofishingpro-1-14-x-1-16-x-1-fishing-plugin.60729/
Or is it already possible to define a fish by its "name"? A bit like MythicMobs but a fisherman version :)

Looking at the resource, I didn’t see any free available APIs or documentation that we could possibly use to create compatibility using the plugin. To avoid a flat jar, we would need a constantly running repository for the resource so that we can use any modified API methods in the future and not have a problem. If that author creates a repository handler and makes the API free for other developers, we'll add it later if someone suggests it again.


Keycloak hackathon

Description
Keycloak hackathon, trying out things and getting knowledge and working code 😃
Secure both efiling-demo and efiling-frontend with keycloak-js authentication guard :) using github identity provider
Type of change

[x] New feature (non-breaking change which adds functionality)

HOLY!!!!! 97% overall lesgoooooo


Youth Explorer

add youth explorer
add the youth explorer launch article

TODO: we need a better image for the launch article, the dimensions are wrong.

:rocket:


Refactor svg elements

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

Comparison is base (3354a43) 98.83% compared to head (987d4c4) 98.93%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #143      +/-   ##
==========================================
+ Coverage   98.83%   98.93%   +0.10%
==========================================
  Files           9        8       -1
  Lines         257      282      +25
  Branches       38       38
==========================================
+ Hits          254      279      +25
  Misses          3        3

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


[docs] Update docs templates to allow for parsing markdown in foldable details

Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.

Motivation and Context

Changing docs templates for actions to allow for parsing markdown in foldable details.
Description

There are 2 templates that are used by bot to regenerate docs.
Without this change bot will override changes in docs as written in https://github.com/fastlane/docs/pull/1075#issuecomment-886803348
Testing Steps

@joshdholtz I'm glad it works. You could read more in the fastlane/docs PR that was merged lately.
This option is available only after adding markdown.extensions.md_in_html mkdocs extension: https://github.com/fastlane/docs/blob/master/mkdocs.yml#L17


Docker on UnRaid fails after installing registration key

After adding my purchased registration/activation key, the docker goes into a reset loop.
If i stop/start the docker the registration/activation is lost and the above repeats when re-adding the key

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-app-niceness.sh: executing...
[cont-init.d] 00-app-niceness.sh: exited 0.
[cont-init.d] 00-app-script.sh: executing...
[cont-init.d] 00-app-script.sh: exited 0.
[cont-init.d] 00-app-user-map.sh: executing...
[cont-init.d] 00-app-user-map.sh: exited 0.
[cont-init.d] 00-clean-logmonitor-states.sh: executing...
[cont-init.d] 00-clean-logmonitor-states.sh: exited 0.
[cont-init.d] 00-clean-tmp-dir.sh: executing...
[cont-init.d] 00-clean-tmp-dir.sh: exited 0.
[cont-init.d] 00-set-app-deps.sh: executing...
[cont-init.d] 00-set-app-deps.sh: exited 0.
[cont-init.d] 00-set-home.sh: executing...
[cont-init.d] 00-set-home.sh: exited 0.
[cont-init.d] 00-take-config-ownership.sh: executing...
[cont-init.d] 00-take-config-ownership.sh: exited 0.
[cont-init.d] 10-certs.sh: executing...
[cont-init.d] 10-certs.sh: exited 0.
[cont-init.d] 10-cjk-font.sh: executing...
[cont-init.d] 10-cjk-font.sh: exited 0.
[cont-init.d] 10-nginx.sh: executing...
[cont-init.d] 10-nginx.sh: exited 0.
[cont-init.d] 10-vnc-password.sh: executing...
[cont-init.d] 10-vnc-password.sh: exited 0.
[cont-init.d] 10-web-index.sh: executing...
[cont-init.d] 10-web-index.sh: exited 0.
[cont-init.d] cloudberrybackup.sh: executing...
[cont-init.d] cloudberrybackup.sh: Generating machine-id...
[cont-init.d] cloudberrybackup.sh: CloudBerry Backup web interface not usable: No user name defined.
[cont-init.d] cloudberrybackup.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] starting s6-fdholderd...
[services.d] starting certsmonitor...
[services.d] starting nginx...
[services.d] starting xvfb...
[nginx] starting...
[certsmonitor] disabling service: secure connection not enabled.
[xvfb] starting...
[services.d] starting cbbLocalManagement...
[services.d] starting logmonitor...
[cbbLocalManagement] starting...
[services.d] starting statusmonitor...
[logmonitor] no file to monitor: disabling service...
[statusmonitor] no file to monitor: disabling service...
[services.d] starting openbox...
[openbox] starting...
[services.d] starting x11vnc...
[services.d] starting cbbWebAccess...
[services.d] starting app...
[x11vnc] starting...
[cbbWebAccess] starting...
09/04/2018 10:58:52 passing arg to libvncserver: -rfbport
09/04/2018 10:58:52 passing arg to libvncserver: 5900
09/04/2018 10:58:52 passing arg to libvncserver: -rfbportv6
09/04/2018 10:58:52 passing arg to libvncserver: -1
09/04/2018 10:58:52 passing arg to libvncserver: -httpportv6
09/04/2018 10:58:52 passing arg to libvncserver: -1
09/04/2018 10:58:52 passing arg to libvncserver: -desktop
09/04/2018 10:58:52 passing arg to libvncserver: CloudBerry Backup
09/04/2018 10:58:52 x11vnc version: 0.9.14 lastmod: 2015-11-14 pid: 888
09/04/2018 10:58:52 Using X display :0
09/04/2018 10:58:52 rootwin: 0x43 reswin: 0x400001 dpy: 0x5a2bda00
09/04/2018 10:58:52
09/04/2018 10:58:52 ------------------ USEFUL INFORMATION ------------------
[app] starting CloudBerry Backup...
[services.d] done.
09/04/2018 10:58:52 X DAMAGE available on display, using it for polling hints.
09/04/2018 10:58:52 To disable this behavior use: '-noxdamage'
09/04/2018 10:58:52
09/04/2018 10:58:52 Most compositing window managers like 'compiz' or 'beryl'
09/04/2018 10:58:52 cause X DAMAGE to fail, and so you may not see any screen
09/04/2018 10:58:52 updates via VNC. Either disable 'compiz' (recommended) or
09/04/2018 10:58:52 supply the x11vnc '-noxdamage' command line option.
09/04/2018 10:58:52 X COMPOSITE available on display, using it for window polling.
09/04/2018 10:58:52 To disable this behavior use: '-noxcomposite'
09/04/2018 10:58:52
09/04/2018 10:58:52 Wireframing: -wireframe mode is in effect for window moves.
09/04/2018 10:58:52 If this yields undesired behavior (poor response, painting
09/04/2018 10:58:52 errors, etc) it may be disabled:
09/04/2018 10:58:52 - use '-nowf' to disable wireframing completely.
09/04/2018 10:58:52 - use '-nowcr' to disable the Copy Rectangle after the
09/04/2018 10:58:52 moved window is released in the new position.
09/04/2018 10:58:52 Also see the -help entry for tuning parameters.
09/04/2018 10:58:52 You can press 3 Alt_L's (Left "Alt" key) in a row to
09/04/2018 10:58:52 repaint the screen, also see the -fixscreen option for
09/04/2018 10:58:52 periodic repaints.
09/04/2018 10:58:52 GrabServer control via XTEST.
09/04/2018 10:58:52
09/04/2018 10:58:52 Scroll Detection: -scrollcopyrect mode is in effect to
09/04/2018 10:58:52 use RECORD extension to try to detect scrolling windows
09/04/2018 10:58:52 (induced by either user keystroke or mouse input).
09/04/2018 10:58:52 If this yields undesired behavior (poor response, painting
09/04/2018 10:58:52 errors, etc) it may be disabled via: '-noscr'
09/04/2018 10:58:52 Also see the -help entry for tuning parameters.
09/04/2018 10:58:52 You can press 3 Alt_L's (Left "Alt" key) in a row to
09/04/2018 10:58:52 repaint the screen, also see the -fixscreen option for
09/04/2018 10:58:52 periodic repaints.
09/04/2018 10:58:52
09/04/2018 10:58:52 XKEYBOARD: number of keysyms per keycode 7 is greater
09/04/2018 10:58:52 than 4 and 51 keysyms are mapped above 4.
09/04/2018 10:58:52 Automatically switching to -xkb mode.
09/04/2018 10:58:52 If this makes the key mapping worse you can
09/04/2018 10:58:52 disable it with the "-noxkb" option.
09/04/2018 10:58:52 Also, remember "-remap DEAD" for accenting characters.
09/04/2018 10:58:52
09/04/2018 10:58:52 X FBPM extension not supported.
09/04/2018 10:58:52 X display is not capable of DPMS.
09/04/2018 10:58:52 --------------------------------------------------------
09/04/2018 10:58:52
09/04/2018 10:58:52 Default visual ID: 0x21
09/04/2018 10:58:52 Read initial data from X display into framebuffer.
09/04/2018 10:58:52 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/5120
09/04/2018 10:58:52
09/04/2018 10:58:52 X display :0 is 32bpp depth=24 true color
09/04/2018 10:58:52
09/04/2018 10:58:52 Listening for VNC connections on TCP port 5900
09/04/2018 10:58:52
09/04/2018 10:58:52 Xinerama is present and active (e.g. multi-head).
09/04/2018 10:58:52 Xinerama: number of sub-screens: 1
09/04/2018 10:58:52 Xinerama: no blackouts needed (only one sub-screen)
09/04/2018 10:58:52
09/04/2018 10:58:52 fb read rate: 1584 MB/sec
09/04/2018 10:58:52 fast read: reset -wait ms to: 10
09/04/2018 10:58:52 fast read: reset -defer ms to: 10
09/04/2018 10:58:52 The X server says there are 10 mouse buttons.
09/04/2018 10:58:52 screen setup finished.
09/04/2018 10:58:52
The VNC desktop is: 6965660d240c:0
0

Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet?
The scheme stores pixel data offscreen on the VNC viewer side for faster
retrieval. It should work with any VNC viewer. Try it by running:
x11vnc -ncache 10 ...
One can also add -ncache_cr for smooth 'copyrect' window motion.
More info: http://www.karlrunge.com/x11vnc/faq.html#faq-client-caching
09/04/2018 10:58:53 Got connection from client <IP_ADDRESS>
09/04/2018 10:58:53 other clients:
09/04/2018 10:58:53 Got 'ws' WebSockets handshake
09/04/2018 10:58:53 Got protocol: binary
09/04/2018 10:58:53 - webSocketsHandshake: using binary/raw encoding
09/04/2018 10:58:53 - WebSockets client version hybi-13
09/04/2018 10:58:53 Disabled X server key autorepeat.
09/04/2018 10:58:53 to force back on run: 'xset r on' (3 times)
09/04/2018 10:58:53 incr accepted_client=1 for <IP_ADDRESS>:41770 sock=10
09/04/2018 10:58:53 Client Protocol Version 3.8
09/04/2018 10:58:53 Protocol version sent 3.8, using 3.8
09/04/2018 10:58:53 rfbProcessClientSecurityType: executing handler for type 1
09/04/2018 10:58:53 rfbProcessClientSecurityType: returning securityResult for client rfb version >= 3.8
09/04/2018 10:58:53 Pixel format for client <IP_ADDRESS>:
09/04/2018 10:58:53 32 bpp, depth 24, little endian
09/04/2018 10:58:53 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
09/04/2018 10:58:53 no translation needed
09/04/2018 10:58:53 Enabling NewFBSize protocol extension for client <IP_ADDRESS>
09/04/2018 10:58:53 Enabling full-color cursor updates for client <IP_ADDRESS>
09/04/2018 10:58:53 Using image quality level 6 for client <IP_ADDRESS>
09/04/2018 10:58:53 Using JPEG subsampling 0, Q79 for client <IP_ADDRESS>
09/04/2018 10:58:53 Using compression level 9 for client <IP_ADDRESS>
09/04/2018 10:58:53 Enabling LastRect protocol extension for client <IP_ADDRESS>
09/04/2018 10:58:53 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFECC)
09/04/2018 10:58:53 Using tight encoding for client <IP_ADDRESS>
09/04/2018 10:58:54 client_set_net: <IP_ADDRESS> 0.0001
09/04/2018 10:58:54 created xdamage object: 0x40002c
09/04/2018 10:58:54 client 1 network rate 573.4 KB/sec (44421.5 eff KB/sec)
09/04/2018 10:58:54 client 1 latency: 0.7 ms
09/04/2018 10:58:54 dt1: 0.0105, dt2: 0.0784 dt3: 0.0007 bytes: 50762
09/04/2018 10:58:54 link_rate: LR_LAN - 1 ms, 573 KB/s
09/04/2018 10:58:55 copy_tiles: allocating first_line at size 41
09/04/2018 10:59:02 created selwin: 0x40002d
09/04/2018 10:59:02 called initialize_xfixes()
[services.d] stopping services
[services.d] stopping app...
[services.d] stopping cbbWebAccess...
[services.d] stopping x11vnc...
caught signal: 15
09/04/2018 10:59:46 deleted 40 tile_row polling images.
09/04/2018 10:59:46 Restored X server key autorepeat to: 1
[services.d] stopping openbox...
[services.d] stopping statusmonitor...
[services.d] stopping logmonitor...
[services.d] stopping cbbLocalManagement...
[services.d] stopping xvfb...
[services.d] stopping nginx...
[services.d] stopping certsmonitor...
[services.d] stopping s6-fdholderd...
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] syncing disks.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

Thanks for getting back to me!
I’ll upload the logs when I can, in the mean time I did a docker stop, chmod’d the app data to 0777 for the CBB folder and child objects and that resolved the issues for now
When you apply the license the docker just goes into a reboot loop, was quite odd


Question: Is it possible to disable  Developer Menu in Release

I am getting ready to release a project using this library. I just built a release version as a test and noticed that the devmenu still appears when you right click. I tested to see what would happen when you click the different options and a lot of them cause the system to crash now as they should not be available anymore (like open debug). Is there anyway to turn off the developer menu?

See https://github.com/microsoft/react-native-macos/pull/528.

Hi @acoates-ms. Now that the pull request you mention has been merged, I have realized that it does not actually answer the question I have.
The DevSetting object, which contains the isSecondaryClickToShowDevMenuEnabled is only available when in debug mode. This means that you do not have access to this option when in Release mode basically blocking the ability to disable the debug menu in release mode.

Hi! I'm just facing this issue, any news here?
Also, I enabled hermes on my project and even though it is compiled on release mode, the window still shows development? is this correct?

Circling back here, is this in any way shape or form fixed?

I dive deeper in the source code and found
// React/Base/RCTDefines.h

/**
 * The RCT_DEV macro can be used to enable or disable development tools
 * such as the debug executors, dev menu, red box, etc.
 */
#ifndef RCT_DEV
#if DEBUG
#define RCT_DEV 1
#else
// Dev Mode is now enabled or disabled at runtime via the -[RCTDevSettings isDevModeEnabled] property
#define RCT_DEV 1
#endif
#endif

And following comment explain what is going on

// Dev Mode is now enabled or disabled at runtime via the -[RCTDevSettings isDevModeEnabled] property

so I end up with following code for my project
import {AppRegistry, NativeModules} from 'react-native';
import App from './src/App';
import {name as appName} from './app.json';

if (__DEV__) {
  NativeModules.DevSettings.setDevModeEnabled(true);
} else {
  NativeModules.DevSettings.setDevModeEnabled(false);
}

AppRegistry.registerComponent(appName, () => App);


Refresh data more often than current frequency

We're on it

I'm going to close this issue, @anuragsodhi, as it's already in the works  -- the core team is charging hard at it.  Please check back again.   Thank you! jz


Fully support adaptive max/avg pooling

Is your feature request related to a problem? Please describe.
PyTorch has AdaptiveMaxPool2d but currently the converter only can do a global pooling. Adaptive pooling is necessary when the feature size could vary but the output size is fixed, so I cannot use normal pooling and adjust parameters in forward because those parameters will be different for each size of dummy_input .
I see you have a roi_pooling, can it be generalized to use as adaptive pooling too (single ROI of entire image, with fixed given output size instead of a ratio)?
@parse_args('v', 'is')
def adaptive_max_pool2d(g, input, output_size):
    assert output_size == [1, 1], "Only output_size=[1, 1] is supported"
    return g.op("GlobalMaxPool", input), None

System information

ONNX Runtime version (you are using): 0.3.0

Describe the solution you'd like
Support adaptive pooling
Describe alternatives you've considered
See if I can pass pooling parameters as input (instead of parameter), and thus use normal pooling adaptively.

@dashesy : Please check if the updated opset10 maxpool and averagepool updates address this. ONNX Runtime 0.4 will support opset 10 definitions once ONNX 1.5 is released.
In the future, please file onnx spec operator issues in the onnx github :) https://github.com/onnx/onnx/issues
We align runtime implementation with the onnx spec. Thanks!


Examples of new commands

What type of PR is this?
Following #123
I have changed the examples with their new equivalent.

Which issue does this PR fix:
What does this PR do / Why do we need it:
If an issue # is not available please add repro steps and logs showing the issue:
Testing done on this change:

Automation added to e2e:

Will this break upgrades or downgrades?
Does this PR introduce any user-facing change?:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Closing because PR #126 is merged.


Filter values list does not contain all values

Description
percona table, size 12M, 164K records, trying to filter Int column. After opening the filter window I entered the desired value I want to retrieve. The value seems not to be present in the table according to the filter suggested values, which is not the case.
Steps to reproduce

DBeaver Version
Community 22.1.3
Operating System
Windows 10

thanks for the report

@ptarant, Hi. Can you tell me what DB was used?

Looks like a duplicate of #3977

@Destrolaric : db mysql/percona flavour.
@E1izabeth : not likely, it happened at quite simple tables, not views or queries. I did not notice this behaviour at primary indexes, just at regular fields or foreign keys.

@ptarant Thank you for your response.

Hello @ptarant,
Is the issue actual for you? We've changed the way filters work for numeric types. Previously, it was equal to >= X, not it's = X.

There is no update on this issue for a long time, so I'm closing it. Please let me know if the issue is still actual for you for the latest DBeaver version.

Sorry, notification mail went to spam. The issue is still there.
Filter by value at non-primary key column
Enter the desired EXISTING value
The value is not suggested for entry, the values suggested are BIGGER than the requested value
Using the latest dBeaver, Version <IP_ADDRESS>301211053
On top of that, in the list of values are even such values which do not exist in the data column of the filtered table - seems the system selects possible items from the foreign key table, not from the table the selection is requested from.

On top of that, in the list of values are even such values which do not exist in the data column of the filtered table - seems the system selects possible items from the foreign key table, not from the table the selection is requested from.

You're right. DBeaver shows values from the referenced "dictionary" table. This is an expected behavior.
I'm still unable to reproduce your issue.

Can you please provide a minimal reproducible example? For example, an SQL script for creating two tables with sample data. It would be really handy.
Are you sure that value is present there? Perhaps the foreign key constraint was violated and the value was removed from the referenced table?

the problem is still present. I tried to construct a reproducible test pattern but without success so far. The tables / keys involved should be non-trivial to induce the mentioned behavior. I cannot publish the real data as it involves personally related information.

It's been a while since no update here. If the issue is still actual, please let me know and provide table DDL (create table statement) so we can reproduce it.

I think the problem is searching in a column that has a foreign key. It's looking in Description instead of Value. Is there somewhere to turn this off? I suppose that would solve both my and the author's problem. I think the primary search should be in Value.


Now that the master branch is gone, some links are broken

e.g. the examples link in https://docs.rs/serenity/0.4.3/serenity/

Initially, we used the master branch as our in-development branch for the next version. This is problematic, because if it's a breaking version, then the example in the README and the examples directory won't work with the latest released version.
We had the initial idea of using a branch for each version (including the intended next version), but this just doesn't work, with one reason being the one you mentioned.
As a solution, the most recent version will be the master branch, and the in-development branch(es) will be named according to their intended version.
Thanks for the report.


proposed edits to the new introductory section

Hi Gabriele -  Here are my proposed edits for the introduction you wrote.  I did a bit of re-ordering and fixed a few typos. I like the image you included and think the focus on game development is good.
-Sam

I really like it. Thanks Samuel