Bug: Remove Frontend API calls to Workspace

Issue:
the frontend ui is making calls to the /workspace/check-outs in non-logged in mode. There is no reason to be making any calls to the /workspace endpoints unless we are logged in.

Workspace calls removed from Global


Dose the learning rate increase or decrease in Adam?

Hello, I use optimizer Adam and try to plot the learning rate in the tensorboard every epoch.
Following is the code I used in the callbacks
class SubTensorBoard(TensorBoard):
    def __init__(self, *args, **kwargs):
        super(SubTensorBoard, self).__init__(*args, **kwargs)

    def lr_getter(self):
        # Get vals
        decay = self.model.optimizer.decay
        lr = self.model.optimizer.lr
        iters = self.model.optimizer.iterations # only this should not be const
        beta_1 = self.model.optimizer.beta_1
        beta_2 = self.model.optimizer.beta_2
        # calculate
        lr = lr * (1. / (1. + decay * K.cast(iters, K.dtype(decay))))
        t = K.cast(iters, K.floatx()) + 1
        lr_t = lr * (K.sqrt(1. - K.pow(beta_2, t)) / (1. - K.pow(beta_1, t)))
        return np.float32(K.eval(lr_t))

    def on_epoch_end(self, episode, logs = {}):
        logs.update({"lr": self.lr_getter()})
        super(SubTensorBoard, self).on_epoch_end(episode, logs)

the optimizer setting is
optimizer = Adam(lr=0.000456, beta_1=0.9902764)
and learning rate I plot in the following picture

However, according to the code, lr_t should be updated every epoch like this
lr_t = lr * (K.sqrt(1. - K.pow(beta_2, t)) / (1. - K.pow(beta_1, t)))
the picture would be like

The value of learning rate is supposed to decay to the learning rate I set initially. But in my case, it start from a point and slowly increase to the learning rate I set.
It really comfuses me.
Does anyone can explain it? Thanks.

I am currently exploring the same question.
here is what I found which at least explains what you see.
the decreasing rate is between 0 and 1, above 1 (and your t starts at 1), the value increase towards the lr=0.000456
here is a visual explanation of it :

Your two graphs do represent the same function, just at different scale.
I am still wondering too why the lr_t incrases in Adam and how that can allow convergence, but at least it's logical mathematically wise


docs: missing information on what to do when the project depends on flutter when deploying with firebase

Description

I have my existing landing page deployed with Firebase: https://cazadecasa.xyz/
However when trying to do a preview build which embeds a demo version of the Flutter app I'm having issues getting a successful build: https://cazadecasa-379e0--embedded-flutter-app-nzeqsomj.web.app/
I noticed there is an additional step for GitHub Pages and Server Hosting which explains what is necessary to get your project to work if there is a dependency on Flutter for element embedding or if it depends on jaspr_web_compilers which left me thinking perhaps there's an extra step that is required?
If there is no additional step required then it'd be good to at least update the docs to state no additional step should be required.
Docs: https://docs.page/schultek/jaspr/concepts/deploying#firebase-hosting
Additional Context

The project I have is a client Jaspr project.
At first I did think perhaps it was an issue with the preview functionality with Firebase hosting so I checked out the last release version of the landing page and deployed it and it worked fine: https://cazadecasa-379e0--preview-1tuw5ep6.web.app/

I don't thing there are other steps needed for firebase.

However when trying to do a preview build which embeds a demo version of the Flutter app I'm having issues getting a successful build: https://cazadecasa-379e0--embedded-flutter-app-nzeqsomj.web.app/

What are the issues? The page seems to work fine, I see the embedded flutter app.

Apologies for opening this! After deploying I thought after waiting a few minutes it wasn't working and because when I deployed the other preview build it appeared faster I thought perhaps there was an issue.


TPU usage

Hi, I wonder if it is now possible to use TPUs?
Thanks

Not until fastai supports it (which I believe is still the case).


USB FCC Controller

URI,
Hi this is Fusion (aka viper44). Thanks for your contribution to making the fcc controller. I do have an issue with it and maybe you can help me and others. I have been having issues as far as the controller working on 3 separate computers in different ways. My laptop in a USB 3.0 port is working flawlessly with all current drivers installed for my usb hub on my laptop all buttons and axis work. The second pc which is my desk pc for everyday use as far as bills, letters, etc. works with most of the buttons till you get to the tms, dms, cms inputs and the nws buttons. They don't work or intermittent. All of the drivers are current. The axis' do work. This is plugging it into the usb 2.0 port on motherobard, usb 3.0 port on motherboard, and powered usb 2.0 hub plugged into a usb 2.0 port on motherboard. Last my simulator PC when I plug it into the usb 2.0 and 3.1 ports on my motherboard as well as powered usb 2.0 hub plugged into usb 2.0 on motherboard only the axis, 1st detent trigger, pickle buttons work and the hat only works in a few directions. Please help me with this issue as I really want to use your controller.
I have told quite a few people about your controllers, ded, pfld, ffl, etc. They are interested but hope the bugs will be fixed.
Thanks in advance.
Matt "Fusion"

closing


Sign release artifacts using cosign

Motivation
The idea is to sign the release artifacts using cosign when doing the release.
This is an initial step for a more secure release and lets the consumers have the ability to verify the release artifacts.
Feature
Our project already uses GoReleaser and that makes it easier to implement the signing part.
We need to decide where we will run the release:

[ ] If we use GitHub Actions we have a feature that we can sign using a keyless approach

[ ] If we use the correct way using circleci we will need to generate a private/pub certificate and store the password in a circleci context.

Alternatives
n/a
Additional context
n/a

cc @Issif @leogr
/assign @cpanato

I like the idea :+1:
I think we should use CircleCI too, for avoiding to mix the CI solutions and create complexity.

ok cool, i will work for circleci and ping @leogr to synchronize the secrets

Hey @cpanato
I confirm I created the context on CircleCI and set the secrets. :)

thanks @leogr i will finish and push the PR


Benchmark framework updates

Added Eclipse Collections
Added option to selectively disable benchmarking alternatives
Added proper sorting of end-results
Added more compact memory consumption display
Ordered methods in VectorBenchmarks (and added map and filter methods)

Current coverage is 96.97% (diff: 100%)

Merging #1558 into master will decrease coverage by <.01%

@@             master      #1558   diff @@
==========================================
  Files            88         88
  Lines         10641      10641
  Methods           0          0
  Messages          0          0
  Branches       1814       1814
==========================================
- Hits          10320      10319     -1
  Misses          179        179
- Partials        142        143     +1

Powered by Codecov. Last update 16f2931...8c17462

Thanks!


Register v0.1.0

@JuliaRegistrator register
Register first release of RoboDojo.jl

Registration pull request created: JuliaRegistries/General/48713
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.0 -m "<description of version>" bead37447bacfb08530a8b35022c2899c8eb2ed9
git push origin v0.1.0

@JuliaRegistrator register

Registration pull request updated: JuliaRegistries/General/48713
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.0 -m "<description of version>" 32c23f087c711cb9c8ac27d77793fc1a22397b19
git push origin v0.1.0


Adding com_velocity and gait planners

Check the mark down text once

Can you also add documentation for B1Env/gait_planner/config.py?

In https://github.com/BolunDai0216/B1Env/tree/main/docs/source/B1Env can you add two .md files for showing the documentation of the com_velocity_planner and the gait_planner?


ImageList Status Field Updates

For the ImageList status field, let's split the vulnerable and failed images into distinct lists

Fixed in #226


Audit section 9

revised section 9 and appendix c per previously approved google doc

Merged to facilitate clean up and text edit issues


added autoCorrect prop to TextInput

I was still getting underlines under the search bar text - I even tried setting underlineColorAndroid='rgba(0,0,0,0)' with no results. However, I found that the pesky underline goes away after setting the TextInput prop autoCorrect={false}

Looks good @ddeanto! I'll release a new version soon.


README: "Running the Registry Server and Viewer Using Docker" is out-of-date

This section refers to apg and may need other updates.


Feature Request - add tmux

I have seen that the sd card image includes the screen tool. I am more used to tmux and it appears to be much more popular than screen these days.
Of course I can simply install it myself after every update but it would be nice if this could be included directly. I'm already working on a PR for this. @rootzoll against which branch should I file the PR?
Here is a preview:

Will merge PR into v1.4 branch once its open.


tests/integration/s3/test_s3.py:6: error: Module "boto3" has no attribute "Session"; maybe "session"?

The following error occurs when building:
tests/integration/s3/test_s3.py:6: error: Module "boto3" has no attribute "Session"; maybe "session"?
Found 1 error in 1 file (checked 493 source files)

> Task :metadata-ingestion:lint FAILED

> Task :datahub-web-react:yarnLint
Done in 50.53s.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':metadata-ingestion:lint'.
> Process 'command 'bash'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.9.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1m 13s
370 actionable tasks: 85 executed, 285 up-to-date

Desktop (please complete the following information):

OS: Linux 5.15.0-41-generic #44~20.04.1-Ubuntu
Version: master branch from github repository
Python 3.8.10

Can you refresh your branch and retry. This error has been fixed in 2c483298102.
Please re-open if it is reproducible.


Add a demo project associated with a blog post.

Add a demo project associated with a blog post.

ist there a demo project anywhere ? i'm especially interessted for a feeling of how this interacts with standard spring components like @Service or @Repository annotated classes, that @Autowired other stuff as usual .. how can i "get back" to normal spring style af the command was delivered to a @Service class?

Thank you for the suggestion.
It was in my plan to produce demo project. On my blog sylvainleroy.com, there are already some posts about the framework.
I will write an updated one soon and write there the link and the github project.
Thank you for your interest.
Télécharger TypeApp pour Android
Le 26 avr. 2020 à 12:38, à 12:38, "Rico Schüppel"<EMAIL_ADDRESS>a écrit:

ist there a demo project anywhere ? i'm especially interessted for a
feeling of how this interacts with standard spring components like
@Service or @Repository annotated classes, that @Autowired other stuff
as usual .. how can i "get back" to normal spring style af the command
was delivered to a @Service class?
--
You are receiving this because you were assigned.
Reply to this email directly or view it on GitHub:
https://github.com/sleroy/spring-cqrs-arch/issues/2#issuecomment-619526544

great, thanks in advance !

Sorry, I didn't see the wiki was disabled. You will find more documentation there.
the boostrap project onced finished will be there : https://github.com/sleroy/spring-cqrs-arch-bootstrap


[Dubbo-171] Add chinese version for guide_dev page

What is the purpose of the change
Add chinese version for guide_dev page
Fix #171
Brief changelog
Translate from en-us
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a GITHUB_issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Test your code locally by running docsite start, and make sure it works as expected.
[x] Make sure no files under build directory is added.
[x] If this contribution is large, please follow the Software Donation Guide.

Looks good to me.


Investigate wallet needs for keyless/social recovery and a generalizable social guardian service

Since this is no longer on Valora's near-term roadmap, we should scope if any other wallets are interested in a social recovery feature.
To make keyless recovery widely available, we should consider how cLabs or Valora might operate a social guardian service to verify a user's identity (via email confirmation, knowledge-based authentication, etc.) for users that don't have another obvious choice for a social guardian.

Assigning myself for the work of refactoring and expanding existing designs for social guardian support


[BUG][WEBJS] - Unable to get group members

/api/{session}/groups/{id}/participants
The request was successful but no data was returned

It seems that only certain numbers appear

1+

2024.11.10


Missing file in the 2D evaluation

Hi,
First of all, I would like to thank you for your work and for the clarity of your code.
It seems that the file eval_metric.py is missing at /src/eval. Indeed, in module importation on the 2D evaluation, some modules are missing :
https://github.com/OllieBoyne/FIND/blob/34e34afd78c3d37b95e0417ffffd93a711f68389/src/eval/eval_2d.py#L27
Finally, there seems to be a small typo :
https://github.com/OllieBoyne/FIND/blob/34e34afd78c3d37b95e0417ffffd93a711f68389/README.md?plain=1#L39
python src/eval/eval_3d.py --exp_name 3D_only

Thanks again for your work.

I have just pushed a commit which added the missing file, and corrected the typo. Please let me know if any further issues with the evaluation - thanks!


problem  in update algorithm nodeSelector

Currently test "update algorithm nodeSelector " fails,  either the test or the functionality needs fixing

After re-writing the test, it seems that the first hotWorker doesn't go down && the new one doesn't go up.

Stable for more than 5 runs in a row, with the recent timeout change.
To be revised when logging flow is done.

Swapped instance types in aws to have more CPU, rather than gpu nodes.


Cannot create new channel from IRC

When /joining a non-existent channel, a new Mattermost channel should be created and joined.

For those that want to make a PR for this, make sure to make this feature an option in matterircd.toml which is false by default.

I feel like this is likely to create a bunch of typo channels - ones no one will likely use the UI to go and delete/purge. I agree with Wim on making sure it defaults to disabled.
So the change would basically be, on join getChannelIdTeam(), if no channel ID found or returned from , call CreateChannel() or similar.

Maybe this could be achieved through a /msg mattermost create-channel #whatever instead of the join ?
That would not reduce the risk of typos but would ensure the goal is to indeed create a new channel.

I think this is a good path forward and related to the issue/wishlist you raised in https://github.com/42wim/matterircd/issues/568


Voicemail options

I rule and have completed some work on Case Manager that's ready for review!
Added the ability to configure voicemail options beyond the defaults of yes, no, unspecified.
This pull request makes the following changes:

Adds an option to the configuration screen, similar to other user-configurable options

This does not handle the case where changes (edits, deletions) are made to the configuration, but patient information is not updated. Currently, only the insurance field has handling for this; I can address it with a more general fix if necessary, so that all user-configurable fields will exhibit the same behavior.
(If there are changes to the views, please include a screenshot so we know what to look for!)
It relates to the following issue #s:

Fixes #2055

For reviewer:

Adjust the title to explain what it does for the notification email to the listserv.
Tag this PR:

feature if it contains a feature, fix, or similar. This is anything that contains a user-facing fix in some way, such as frontend changes, alterations to backend behavior, or bug fixes.
dependencies if it contains library upgrades or similar. This is anything that upgrades any dependency, such as a Gemfile update or npm package upgrade.

If it contains neither, no need to tag this PR.

alrighty! have a look at that. also added a new test similar to the insurance options.


Suggestion: Extend topics to have a topic / sub-topic tree

I know we have since added 'topics' to cnvs based on this ticket
https://github.com/cnvs/canvas/issues/434
But I think topics could greatly benefit from having a tree structure with topics/sub-topics (of course, those that don't need to make use of that functionality wont!) but for a lot of content sites, this would be useful to have. For example, see these URLs:
https://www.huffpost.com/news/politics
https://www.huffpost.com/entertainment/comedy
You could have several sub-topics under 'news', like 'world', 'US', 'financial', 'politics' etc. Same applies to entertainment and other topics/sub-topics.
As mentioned earlier, with tags you dont have a hierarchy, with topics you do...and topics give you a lot of flexibility and allow the user to browse content by looking through the topic/subtopic tree - which can be presented in a multitude of ways, in menus, in sidebars, etc). Topics can also be shown in URLs like my.blog/travel/international/trip-to-cyprus, or: my.blog/recipes/easybake/my-favorite-soup, where travel and recipes are category slugs.
As far as back-end admin of topics and sub-topics, it could look like how wordpress does it here: https://prnt.sc/m4jnjs
(I'm not a huge fan of wordpress but this is one feature they do well on)
@austintoddj  I hope this sufficiently explains the background behind the ask, and I hope this feature will make it into cnvs, which imo is the best laravel cms at the moment!

Not a bad idea. I'll keep this in mind as I work through the backlog of tasks that I want to get done here and update this if it makes it into a future release.
Thanks for the suggestion!

Thanks Todd, and this is why I like Cnvs as much as I do! Look forward to seeing this idea come to fruition.

At this time, I'm comfortable with the simple tags/topics structure that Canvas has and what it allows users to organize content by.
Good suggestion though, keep 'em coming!

Does Canvas provide relationship between topics and tags? I am trying to implement a mega menu like Cloudways blog. I want to grab the tags related to the topics from the database dynamically. Does Canvas provides such relationship?
Dropdown under Apps may be a little complex to implement with topics, sub-topics and tags.

But as you want to keep simple tags/topics structure, it will be good to have some relationship to implement such a simple dropdown.

@itsmysterybox There isn't currently a relationship between the two. I'll re-open this and see if I can get something like this in a future release.

Closing this because I don't see enough use-cases to build relationships between tags/topics. They work as intended. If you feel differently, feel free to let me know.


Vendor a .res version of bs-json

Format check is failing.

@ryyppy Yes, I know. If this is reformatted with ReScript 10, it will not build anymore with ReScript 11 though.
This was meant for @aspeddro to take over into his ReScript 11 PR. This PR can be closed once that is done.


FIX: Add created and last_edited fields when creating a page

I noticed these fields are used in createBlock(), and that that method isn't used anywhere. You may want to add them for other types of blocks? Page is the one that really matters to me.

Thank you for that. I honestly thought that the server added those properties automatically. I'll add those for the other methods as well


refactor to use the class syntax

Refactor to use the class syntax instead of a javascript variable with prototype syntax.
2 reasons:
1/ generate @types. It doesn't work with the prototype syntax.
2/ to be consistent with the rest of the code.

I think it's not very good.  @Zemledelec previously mentioned that some classes are made on prototypes for the sake of performance. @tbo47, types for vectors, or some prototyped staff generating correctly with this commit?

oh, ok, I didn't know about performance.
yes, with the class syntax, Extent.d.ts is generated correctly.

Maybe type not generated because the class file is not named as a declaration? I mean: file named as Extent.js and it contain class LonLat? I can't test this case right now

Hey @tbo47, did you make performance tests? You could use any js perf test  to compare prototype instancing vs class instancing performance , such as creating, method accesing etc,  If class instancing tests not worse than prototypes, then I will accept classes and we will refactor every class in the library:)

@tbo47, benchmarks of static methods it's not that what we mean. Try to create instance of classes with es6 notaiton and prototype notaition.

@tbo47, benchmarks of static methods it's not that what we mean. Try to create instance of classes with es6 notaiton and prototype notaition.

I choose this static method because it creates a instance of Extent. Here https://github.com/openglobus/openglobus/blob/master/src/og/Extent.js#L118
But I can create a test with more method calls if needed.

this test tests 10 millions times:
1/ a static method
2/ instantiate a new Extent
3/ call a method/prototype
import { Extent } from '../../src/og/Extent.js';
import { ExtentNew } from '../../src/og/ExtentNew.js';

const nb = 10000000;
const t0 = performance.now();
for (let i = 0; i < nb; i++) {
  const test = Extent.fromTile(1, 1, 1, 1, 1);
  test.getCenter();
}
const t1 = performance.now();
const test1 = (t1 - t0) + " ms"

const t2 = performance.now();
for (let i = 0; i < nb; i++) {
  const test = ExtentNew.fromTile(1, 1, 1, 1, 1);
  test.getCenter();
}
const t3 = performance.now();
const test2 = (t3 - t2) + " ms"
console.log("test " + test1 + " vs " + test2)

on Google Chrome 93, it gives us:
test<PHONE_NUMBER>0149012 ms vs 213 ms
test<PHONE_NUMBER>9850988 ms vs<PHONE_NUMBER>0223517 ms
test<PHONE_NUMBER>0074506 ms vs 219 ms
test<PHONE_NUMBER>0149012 ms vs<PHONE_NUMBER>9850988 ms
test<PHONE_NUMBER>9850988 ms vs 229 ms
test<PHONE_NUMBER>9701977 ms vs<PHONE_NUMBER>0223517 ms
test<PHONE_NUMBER>9850988 ms vs<PHONE_NUMBER>0298023 ms

Yep! I've made tests too! And it looks true!
https://jsbench.me/9dktu8sjza/1


Lower hard limit in setrlimit example

The current value causes the doc test to fail on Fedora 34 for unprivileged users. The value can be lowered without meaningfully changing the example.
Previously the example failed with EPERM.

Obtained the new value by building and running the following C program as a non-root user:
#include <stdio.h>
#include <sys/resource.h>

int main() {
    struct rlimit rlimit;
    int retval = getrlimit(RLIMIT_NOFILE, &rlimit);
    printf("%d\n", rlimit.rlim_cur);
    printf("%d\n", rlimit.rlim_max);
}

Results in
1024
524288

Alternatively, this code block could be marked as no_run.


bazel build ask for ANDROID_NDK_HOME, ANDROID_SDK_HOME -- no way to disable it

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
no
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Linux Ubuntu 16.04
TensorFlow installed from (source or binary):
source
TensorFlow version (use command below):
('v1.5.0-rc0-1-g793280a', '1.5.0-rc0')
Python version:
2.7
Bazel version (if compiling from source):

Build label: 0.9.0
Build target: bazel-out/k8-fastbuild/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Tue Dec 19 09:31:58 2017<PHONE_NUMBER>)
Build timestamp:<PHONE_NUMBER>
Build timestamp as int:<PHONE_NUMBER>

GCC/Compiler version (if compiling from source):
g++ (Ubuntu 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609
CUDA/cuDNN version:
toolkit_9.0 and cudnn 7.0.5_for_9.0
GPU model and memory:
different machines (irrelevant)
Exact command to reproduce:
see this gist which is mainly

export TF_NEED_GCP=0
export TF_NEED_CUDA=1
export TF_CUDA_VERSION="$($CUDA_TOOLKIT_PATH/bin/nvcc --version | sed -n 's/^.*release \(.*\),.*/\1/p')"
export TF_CUDA_COMPUTE_CAPABILITIES=6.1,5.2,3.5
export TF_NEED_HDFS=0
export TF_NEED_OPENCL=0
export TF_NEED_JEMALLOC=1
export TF_ENABLE_XLA=0
export TF_NEED_VERBS=0
export TF_CUDA_CLANG=0
export TF_CUDNN_VERSION=7
export TF_NEED_MKL=0
export TF_DOWNLOAD_MKL=0
export TF_NEED_MPI=0
export TF_NEED_GDR=0
export TF_NEED_S3=0
export TF_NEED_OPENCL_SYCL=0
export TF_NEED_COMPUTECPP=0
export GCC_HOST_COMPILER_PATH=$(which gcc)
export CC_OPT_FLAGS="-march=native"

./configure

bazel build --config=opt --copt=-mfpmath=both --copt=-msse4.2 --copt=-O3 --cxxopt=-D_GLIBCXX_USE_CXX11_ABI=1 ....

Describe the problem
In the past, using exactly this scripted worked. However, there are now a few issues:
The build uses AVX2 even I haven't specified it as --copt (which worked in the past)
Source code / logs
depending on the machine it gives
Python 2.7.12 (default, Nov 20 2017, 18:23:56)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow
2018-01-10 15:06:19.070740: F tensorflow/core/platform/cpu_feature_guard.cc:36] The TensorFlow library was compiled to use AVX2 instructions, but these aren't available on your machine.
zsh: abort      python

or
Python 2.7.12 (default, Nov 20 2017, 18:23:56)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow
zsh: illegal hardware instruction  python

On machines with AVX2 everything is fine. Further, there is no way to skip to setup ANDROID_NDK_HOME, ANDROID_SDK_HOME (I manually uncommented this in configure.py).
edit
I am willing to provide a pull-request for configure.py, adding something like TF_NEED_ANDROID.

@reedwm  @gunan @angersson
Neither of two work for me. I should note that:

--config=opt has nothing to do with the problem, as the question prompt pops-up in ./configure script, before the bazel build with this flag is launched
setting to 1 or 0 or unsettling the TF_SET_ANDROID_WORKSPACE has no visible effect

This is very annoying, because this interactive prompt breaks otherwise fully automated build on a headless server with no Android SDK/NDK. Could you please check if I do something wrong?
I am investigating the relevant code here: configure.py#L1353. Any help is appreciated.


Implement application deployment (Blocked by #1)

Add the necessary capistrano gems and configure capistrano for application deployment to our servers.
Done when:

Capistrano is configured following our normal process.
sdr-deploy?

Now that we https://github.com/sul-dlss/operations-tasks/issues/3904#issuecomment-2458310383 we can start setting up capistrano for deployment.
Will require https://github.com/sul-dlss/puppet/pull/11449 having been merged


Fix misaligned address asan

fix https://github.com/lemire/streamvbyte/issues/69

Running tests.

Merging.


installation.rst: install jupyter with pip instead of conda

Apparently  conda install jupyter hasn't been working as expected the last few weeks.
We might update the instructions to help unexperienced users and suggest they use pip instead (of if you know  a cleaner way or a way to get conda install jupyter to work: suggestions welcome).
Another option: let conda install jupyter in the standard instructions, but add the pip solution in the FAQ

Closed it because it made the tests fail


Add a new doc about AADSTS700003

This is a new error doc about AADSTS700003. I have already discussed it with the ESTS EEE team.

@juntakata If your changes in this PR are complete and it's ready for review, please leave a "#sign-off" comment. Thanks.

#sign-off


An attempt to connect to the wrong destination does not work properly on Windows

Let's say that I want to connect to the "www.rust-lang.org:443", such attempt using TcpStream::connect() should resolve the future sucessfully when the connect is done, right? But what if I used "www.rust-lang.org:9443"? In case if you are using tokio_core::net::TcpStream::connect() on Windows (on Linux the issue is not reproducible), such future will never resolve (I've been waiting for 5 minutes). The blocking version of connect() (from the standard library) resolves (returns an error) in a few seconds. This is the small code I used for testing:
extern crate futures;
extern crate tokio_core;

use std::env;
use std::net::ToSocketAddrs;

use futures::Future;
use tokio_core::reactor::Core;
use tokio_core::net::TcpStream;

fn main() {
    let url: String = env::args().nth(1).unwrap_or_else(|| {
        panic!("this program requires at least one argument")
    });

    let addr = url.to_socket_addrs().unwrap().next().unwrap();
    println!("first address for the url you provided: {}", addr);

    let mut core = Core::new().unwrap();
    let handle = core.handle();

    /* The blocking version of TcpStream would use:
    {
        use std::net::TcpStream;
        let res = TcpStream::connect(&addr).unwrap();
        println!("done");
    }
    */

    // If you uncomment this, you'll see that wait() hangs the program execution and never returns
    // (https://github.com/tokio-rs/tokio-core/issues/182)
    // let res = TcpStream::connect(&addr, &handle).wait().unwrap();
    // println!("works");

    let tcp = TcpStream::connect(&addr, &handle);
    let client = tcp.and_then(|_| {
        println!("connected");
        Ok(())
    }).map_err(|e| {
        println!("error occurred: {}", e)
    });

    core.run(client).unwrap();
}

Thanks for the report!
I've posted a PR against mio to fix this issue.


Deal failing on some tokens on mainnet (e.g. DIGG)

Component
forge-std
Have you ensured that all of these are up to date?
Foundry
Foundryup
What version of Foundry are you on?
forge 0.2.0 (bff4ed9 2023-08-29T00:32:25.634676000Z)
What command(s) is the bug in?
forge test
Operating System
macOS (M2)
Describe the bug
I have not been able to call deal on DIGG token (0x798D1bE841a82a273720CE31c822C61a67a601C3) with error
[FAIL. Reason: stdStorage find(StdStorage): Slot(s) not found.].
To reproduce
pragma solidity ^0.8.19;

import "forge-std/Test.sol";

contract DealTest is Test {
    function testDealDai() public {
        deal(0x6B175474E89094C44Da98b954EedeAC495271d0F, address(1), 100);
    }

    function testDealDigg() public {
        deal(0x798D1bE841a82a273720CE31c822C61a67a601C3, address(1), 100);
    }
}

Stacktrace
[⠊] Compiling...
No files changed, compilation skipped
Running 2 tests for test/executors/DealTest.t.sol:DealTest
[PASS] testDealDai() (gas: 144156)
Traces:
[148369] DealTest::testDealDai()
├─ [2602] 0x6B175474E89094C44Da98b954EedeAC495271d0F::balanceOf(0x0000000000000000000000000000000000000001)
│   └─ ← 0x00000000000000000000000000000000000000000000012f775b3376f86d2167
├─ [0] VM::record()
│   └─ ← ()
├─ [602] 0x6B175474E89094C44Da98b954EedeAC495271d0F::balanceOf(0x0000000000000000000000000000000000000001) [staticcall]
│   └─ ← 0x00000000000000000000000000000000000000000000012f775b3376f86d2167
├─ [0] VM::accesses(0x6B175474E89094C44Da98b954EedeAC495271d0F)
│   └─ ← [0xe90b7bceb6e7df5418fb78d8ee546e97c83a08bbccc01a0644d599ccd2a7c2e0], []
├─ [0] VM::load(0x6B175474E89094C44Da98b954EedeAC495271d0F, 0xe90b7bceb6e7df5418fb78d8ee546e97c83a08bbccc01a0644d599ccd2a7c2e0) [staticcall]
│   └─ ← 0x00000000000000000000000000000000000000000000012f775b3376f86d2167
├─ emit SlotFound(who: 0x6B175474E89094C44Da98b954EedeAC495271d0F, fsig: 0x70a08231, keysHash: 0xada5013122d395ba3c54772283fb069b10426056ef8ca54750cb9bb552a59e7d, slot:<PHONE_NUMBER>25425523237923285454331214386340807945685310246717412709691342439136 [1.054e77])
├─ [602] 0x6B175474E89094C44Da98b954EedeAC495271d0F::balanceOf(0x0000000000000000000000000000000000000001) [staticcall]
│   └─ ← 0x00000000000000000000000000000000000000000000012f775b3376f86d2167
├─ [0] VM::load(0x6B175474E89094C44Da98b954EedeAC495271d0F, 0xe90b7bceb6e7df5418fb78d8ee546e97c83a08bbccc01a0644d599ccd2a7c2e0) [staticcall]
│   └─ ← 0x00000000000000000000000000000000000000000000012f775b3376f86d2167
├─ [0] VM::store(0x6B175474E89094C44Da98b954EedeAC495271d0F, 0xe90b7bceb6e7df5418fb78d8ee546e97c83a08bbccc01a0644d599ccd2a7c2e0, 0x0000000000000000000000000000000000000000000000000000000000000064)
│   └─ ← ()
└─ ← ()
[FAIL. Reason: stdStorage find(StdStorage): Slot(s) not found.] testDealDigg() (gas: 188200)
Traces:
[188200] DealTest::testDealDigg()
├─ [12304] 0x798D1bE841a82a273720CE31c822C61a67a601C3::balanceOf(0x0000000000000000000000000000000000000001)
│   ├─ [5028] 0x020eb84309243Ed4B8E6C197AF145125dDE4AFDa::balanceOf(0x0000000000000000000000000000000000000001) [delegatecall]
│   │   └─ ← 0x0000000000000000000000000000000000000000000000000000000000000000
│   └─ ← 0x0000000000000000000000000000000000000000000000000000000000000000
├─ [0] VM::record()
│   └─ ← ()
├─ [1804] 0x798D1bE841a82a273720CE31c822C61a67a601C3::balanceOf(0x0000000000000000000000000000000000000001) [staticcall]
│   ├─ [1028] 0x020eb84309243Ed4B8E6C197AF145125dDE4AFDa::balanceOf(0x0000000000000000000000000000000000000001) [delegatecall]
│   │   └─ ← 0x0000000000000000000000000000000000000000000000000000000000000000
│   └─ ← 0x0000000000000000000000000000000000000000000000000000000000000000
├─ [0] VM::accesses(0x798D1bE841a82a273720CE31c822C61a67a601C3)
│   └─ ← [0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103, 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc, 0x000000000000000000000000000000000000000000000000000000000000009f, 0xf4875fff8b0cf986238a93aa5a1c4dd6cdbe2f1045b9974e1f43ef715569af66], []
├─ [0] VM::load(0x798D1bE841a82a273720CE31c822C61a67a601C3, 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103) [staticcall]
│   └─ ← 0x00000000000000000000000020dce41acca85e8222d6861aa6d23b6c941777bf
├─ [0] VM::store(0x798D1bE841a82a273720CE31c822C61a67a601C3, 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103, 0x1337000000000000000000000000000000000000000000000000000000000000)
│   └─ ← ()
├─ [1804] 0x798D1bE841a82a273720CE31c822C61a67a601C3::balanceOf(0x0000000000000000000000000000000000000001) [staticcall]
│   ├─ [1028] 0x020eb84309243Ed4B8E6C197AF145125dDE4AFDa::balanceOf(0x0000000000000000000000000000000000000001) [delegatecall]
│   │   └─ ← 0x0000000000000000000000000000000000000000000000000000000000000000
│   └─ ← 0x0000000000000000000000000000000000000000000000000000000000000000
├─ [0] VM::store(0x798D1bE841a82a273720CE31c822C61a67a601C3, 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103, 0x00000000000000000000000020dce41acca85e8222d6861aa6d23b6c941777bf)
│   └─ ← ()
├─ [0] VM::load(0x798D1bE841a82a273720CE31c822C61a67a601C3, 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc) [staticcall]
│   └─ ← 0x000000000000000000000000020eb84309243ed4b8e6c197af145125dde4afda
├─ [0] VM::store(0x798D1bE841a82a273720CE31c822C61a67a601C3, 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc, 0x1337000000000000000000000000000000000000000000000000000000000000)
│   └─ ← ()
├─ [3273] 0x798D1bE841a82a273720CE31c822C61a67a601C3::balanceOf(0x0000000000000000000000000000000000000001) [staticcall]
│   ├─ [0] 0x0000000000000000000000000000000000000000::balanceOf(0x0000000000000000000000000000000000000001) [delegatecall]
│   │   └─ ← ()
│   └─ ← ()
├─ [0] VM::store(0x798D1bE841a82a273720CE31c822C61a67a601C3, 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc, 0x000000000000000000000000020eb84309243ed4b8e6c197af145125dde4afda)
│   └─ ← ()
├─ [0] VM::load(0x798D1bE841a82a273720CE31c822C61a67a601C3, 0x000000000000000000000000000000000000000000000000000000000000009f) [staticcall]
│   └─ ← 0x00000000021c4670c74db8a66c88be12a956b791789b1ed9d3313f88ac2b9149
├─ [0] VM::store(0x798D1bE841a82a273720CE31c822C61a67a601C3, 0x000000000000000000000000000000000000000000000000000000000000009f, 0x1337000000000000000000000000000000000000000000000000000000000000)
│   └─ ← ()
├─ [1804] 0x798D1bE841a82a273720CE31c822C61a67a601C3::balanceOf(0x0000000000000000000000000000000000000001) [staticcall]
│   ├─ [1028] 0x020eb84309243Ed4B8E6C197AF145125dDE4AFDa::balanceOf(0x0000000000000000000000000000000000000001) [delegatecall]
│   │   └─ ← 0x0000000000000000000000000000000000000000000000000000000000000000
│   └─ ← 0x0000000000000000000000000000000000000000000000000000000000000000
├─ [0] VM::store(0x798D1bE841a82a273720CE31c822C61a67a601C3, 0x000000000000000000000000000000000000000000000000000000000000009f, 0x00000000021c4670c74db8a66c88be12a956b791789b1ed9d3313f88ac2b9149)
│   └─ ← ()
├─ [0] VM::load(0x798D1bE841a82a273720CE31c822C61a67a601C3, 0xf4875fff8b0cf986238a93aa5a1c4dd6cdbe2f1045b9974e1f43ef715569af66) [staticcall]
│   └─ ← 0x0000000000000000000000000000000000000000000000000000000000000000
├─ emit WARNING_UninitedSlot(who: 0x798D1bE841a82a273720CE31c822C61a67a601C3, slot:<PHONE_NUMBER>63395171899735330315556823543698862821855419343863432992412742037350 [1.106e77])
├─ [0] VM::store(0x798D1bE841a82a273720CE31c822C61a67a601C3, 0xf4875fff8b0cf986238a93aa5a1c4dd6cdbe2f1045b9974e1f43ef715569af66, 0x1337000000000000000000000000000000000000000000000000000000000000)
│   └─ ← ()
├─ [1804] 0x798D1bE841a82a273720CE31c822C61a67a601C3::balanceOf(0x0000000000000000000000000000000000000001) [staticcall]
│   ├─ [1028] 0x020eb84309243Ed4B8E6C197AF145125dDE4AFDa::balanceOf(0x0000000000000000000000000000000000000001) [delegatecall]
│   │   └─ ← 0x000000000000000000000000000000000000000000000000000000091ac85ff4
│   └─ ← 0x000000000000000000000000000000000000000000000000000000091ac85ff4
├─ [0] VM::store(0x798D1bE841a82a273720CE31c822C61a67a601C3, 0xf4875fff8b0cf986238a93aa5a1c4dd6cdbe2f1045b9974e1f43ef715569af66, 0x0000000000000000000000000000000000000000000000000000000000000000)
│   └─ ← ()
└─ ← "stdStorage find(StdStorage): Slot(s) not found."
Test result: FAILED. 1 passed; 1 failed; 0 skipped; finished in 3.20s
Ran 1 test suites: 1 tests passed, 1 failed, 0 skipped (2 total tests)
Failing tests:
Encountered 1 failing test in test/executors/DealTest.t.sol:DealTest
[FAIL. Reason: stdStorage find(StdStorage): Slot(s) not found.] testDealDigg() (gas: 188200)
Encountered a total of 1 failing tests, 1 tests succeeded

As you can see in L589 of the implementation, the DIGG contract's balanceOf method dynamically computes the balance to return (like a rebase token), whereas the deal cheat only supports tokens that return balanceOf by reading a value directly form a storage slot, because deal works by changing the value in the balanceOf storage slot. As a result this token is not currently supported by forge-std, similar to https://github.com/foundry-rs/forge-std/issues/140
As a workaround you can find an DIGG whale from etherscan, prank as that user, and transfer tokens to any address you need.
Going to close as a duplicate of #140


Localisation: German

Added some missing translations; fixed the status of the "unfinished" items; edited the wording of some translations because their wording was quite weird.
Thank you for that great tool! :)

Thank you! I'll check what went wrong

Thank you!


merge for EOmaps v4.2.3

🌳 New

there is now an option to completely disable extension arrows when adding a colorbar
(e.g. with m.add_colorbar(add_extend_arrows=False))

Codecov Report

Merging #92 (79d2547) into master (7d32d79) will decrease coverage by 0.01%.
The diff coverage is 75.00%.

@@            Coverage Diff             @@
##           master      #92      +/-   ##
==========================================
- Coverage   72.07%   72.06%   -0.02%
==========================================
  Files          13       13
  Lines        5974     5978       +4
==========================================
+ Hits         4306     4308       +2
- Misses       1668     1670       +2

Impacted Files
Coverage Δ

eomaps/eomaps.py
67.51% <75.00%> (-0.05%)
:arrow_down:

Continue to review full report at Codecov.

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


Missing parameter name at

Framework7 version: 6.0
Platform and Target: Cordova Web

Describe the bug
Random, when  i wrote the code, i get the
Uncaught TypeError: Missing parameter name at 56
    at framework7-bundle.min.js:2474:39

when i need to open a new page
Click on button (button load a new page)
Expected behavior
Open the page
Actual Behavior
No actionsl olny the
Uncaught TypeError: Missing parameter name at 56
at framework7-bundle.min.js:2474:39
Additional context
Code at that line :
if (!i) throw new TypeError("Missing parameter name at " + a);
                        t.push({
                            type: "NAME",
                            index: a,
                            value: i
                        }), a = s

impossible to realize something without proper code example or better live example with the issue

I solved, it was an error on routes configuration.


Update loyalty link

📝 Changed routes:

/solutions/loyalty

(view full size)

Commit 3de30f993a925cbeedd270fa59b27a8aa0107219 (https://thirdweb-biog2efsa.thirdweb-preview.com).


Amharic

Creating a PR for amharic

Via email: https://drive.google.com/drive/folders/103eEoFqtuwLxOHs-k3N7nlQlHB0uZJdz?usp=sharing
@jaderabbit are you able to modify the branch? I have some issues with it being detached from HEAD :confused:

@juliakreutzer let me give my git muscles some exercise and give it a go :P


strtk does not seem to depend on "boost" but only on "boost-random"

As the title says, strtk only includes <boost/random.hpp> which makes a whole lot less than depending on "boost".
HTH,
Jean

Hi @jeanga,
I installed strtk, checked its source code. And I found that it depends on the librarys not just random, but also convert and regex.
Thanks.

Hum... This is embarassing... I don't know how I did not see those...
There is also some boost spririt in it... (which probably means all of boost comes in...)
strtk will be "no go" for me with so many boost depends.... :-(


README Update: TOC, Complete Sentences, Outline, GitHub Pages Patches

README.md - Converted features into complete sentences
README.md - Merged step-by-step instructions for bare install on linux
README.md - Fixed "one less" to "one more" for configuration editing comparison of RB speeds to demand profiles
README.md - Combined system specifications into one section
README.md - Split citations and moved version checking to appendix (also created appendix)
README.md - Added  to split guest and host properties table (should fix spacing issue for GitHub pages)
README.md - Created getting started / custom execution outline

Cancelling due to failed pull

Merged master. Ready for pull.


Add TLS support for TCP protocol

Add TLS Support:

Add a new array config option for TLS option management
Possible to force TLS version for higher security
Possible to verify the certificate is trusted

Bugfix:

detect half-open socket by reading the socket after writing and socket error return by the server
fix possible issue when "default_options" is nil

TCP improvement:

Add close definition for manually closing TCP connection
Add the possibility to set a number of retry when sending message (default unlimited)

Thank you for the PR!
See comments.

Nevermind, I will just merge this and apply some fixes. :smiley:
Watch out for some changes. :wink:
Thanks again for your contribution! :+1:

:+1: Thanks @bernd and @edefaria!

@edefaria Sorry, I had to revert this because we need a signed Contributor License Agreement before we can merge this. I thought we already got this from you, but I was wrong.
Please follow the instructions here: https://www.graylog.org/get-involved (down at the bottom of the page)
We will happily merge your contribution once we receive the signed CLA. Thank you very much!

@edefaria We received the CLA, thank you! :smiley:
I will merge this soon!

Are there any blockers on this? If this is working as it should, I'd use this branch as a base to also add certificate authentication.

After reading the commit message on the revert commit and looking at the changes that the master branch has gone through, I started a new approach at supporting TLS at https://github.com/milgner/gelf-rb/tree/feature/tcp-tls-cert-auth
Right now it's pre-PR-quality since I just quickly cobbled it together and still lacking tests, but it supports client certificate authentication in addition to encryption.
Feedback is appreciated, let me know what you think. I don't know how much time I'll have to polish it but I think I'll deploy it in a test environment and see what happens :wink:


Can't edit exported nodes in array as text

Tested versions
4.3 dev4
But likely existed since much earlier.
System information
Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; <IP_ADDRESS>3) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads)
Issue description
When using the Edit option from NodePath's ⋮ menu, when the property is an Array of Nodes

submitting the text results in an error
  Attempted to set a variable of type 'NodePath' into a TypedArray of type 'Object'.
  core/variant/array.cpp:413 - Condition "!_p->typed.validate(value, "set")" is true.

Steps to reproduce

`@export var a: Array[Node]
In the inspector, add element to array
Use Edit option from ⋮ menu
Type something and press Enter

Minimal reproduction project (MRP)
N/A

does it give the same error when its just a Node and not in an array?

No.


[Enhancement] RuntimeInfo and ClusterListSubCommand show ackThreadPoolQueueSize and ackThreadPoolQueueHeadWaitTimeMills

Before Creating the Enhancement Request

[X] I have confirmed that this should be classified as an enhancement rather than a bug/feature.

Summary
RuntimeInfo and ClusterListSubCommand show ackThreadPoolQueueSize and ackThreadPoolQueueHeadWaitTimeMills
Motivation
After the introduction of the POP mode in RocketMQ 5.0, acknowledging messages (ack) has become increasingly important. It is hoped that the runtime information of the broker includes the queueing status of ack messages. Ideally, this information should be displayed in the clusterList command.
Describe the Solution You'd Like
RuntimeInfo and ClusterListSubCommand show ackThreadPoolQueueSize and ackThreadPoolQueueHeadWaitTimeMills
Describe Alternatives You've Considered
No
Additional Context
No response

@RongtongJin Cloud I finish this issue？


 anchor ping attribute

<a ping> anchor ping attribute
https://plus.google.com/u/0/+IlyaGrigorik/posts/fPJNzUf76Nx
http://www.whatwg.org/specs/web-apps/current-work/multipage/links.html#ping

This issue was imported from Google Moderator
Moderator votes: +16
Issue added by Dean Taylor on 2013-10-03
To vote this issue up or down, simply include +1 or -1 in your comment.

-1

+1

+1

+1

+1

+1

+1

+1

+1

+1

Now available at http://caniuse.com/#feat=ping


Automatic campaign tracking

Is this feature supported?
Meaning if the intent is correctly defined in the manifest will it send the campaign data automatically?
If not is there a way of getting the data that were set at the installation and set them manually?
Thanks for any advice.

In the Dev Guide for the Unity Plugin (http://goo.gl/Xhxrxc) under point 3 campaign tracking is mentioned.
I followed the instructions and tested it like described on http://goo.gl/SYy2Mg.
This worked for me.


Bower-folder empty in VS 2015 Preview

Just for fun I was trying to convert a medium-sized web-project to vNext.
I copied my bower.json-file and replaced the one that came with the VS-template and after that the
bower-folder under dependencies displays an empty folder. The bower.js-file is wellformated and I have successfully installed my deps with 'bower install'. I should add that I use a .bowerrc-file for getting the files installed to the wwwroot. Not using the default grunt-config for this.

i had the same issue

This issue is being closed because it has not been updated in 3 months.
We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.


Azure Static Webapp with routes that take a slug [id]

I cannot figure out how to configure the staticwebapp.config.json through this adapter to support a page with /[id]. Currenlty I always get a 404 from azure but what I want is a client side rendered page which handle's the ID in this example.
My svelte config:
import { execSync } from "child_process";
import azure from "svelte-adapter-azure-swa";
import { vitePreprocess } from "@sveltejs/kit/vite";

/** @type {import('@sveltejs/kit').Config} */
export default {
  preprocess: vitePreprocess(),
  kit: {
    adapter: azure({
      customStaticWebAppConfig: {
        routes: [
          {
            route: "/*",
            methods: ["POST", "PUT", "DELETE"],
            rewrite: "/index.html",
          },
        ],
        globalHeaders: {
          "X-Frame-Options": "DENY",
        },
      },
    }),
    version: { name: execSync("git rev-parse HEAD || date").toString().trim() },
  },
  vitePlugin: {
    experimental: {
      inspector: { holdMode: true },
    },
  },
};

I tried to do the following:
1: Adding route configuration: (No result)
routes: [
          {
            route: "/*",
            methods: ["POST", "PUT", "DELETE"],
            rewrite: "/index.html",
          },
        ],

1: Changing: (Not allowed by the adapter)
  "navigationFallback": {
    "rewrite": "/index.html"
  }

Does anyone have a suggestion?

Can you provide an example repo that reproduces the issue?

No repro was provided, closing.


Debug prints

@jl-animo started initial works on the debug prints. These should be expanded upon and we should find a way when we want to use which log level.

https://github.com/animo/aries-cli/pull/109


Add java 11 and java 17 support

Describe the improvement
Adding JDK 11 and JDK 17 compilation support for  WSO2 IS repositories
Repositories which support only JDK 11 (Not JDK 17)

[x] Identity-Framework

Repository List, PR merged ✓

[X] identity-governance
[x] identity-inbound-provisioning-scim2
[x] identity-api-server
[x] identity-outbound-auth-sms-otp
[x] identity-carbon-auth-rest
[x] identity-outbound-auth-totp
[x] identity-outbound-auth-samlsso
[x] identity-outbound-auth-saml
[x] identity-outbound-auth-oidc
[x] identity-api-user
[x] identity-inbound-auth-oauth

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Wishing list world level and AR reseted for no reason

Although my achievments are ok, my wishing list and all other data is reseted for some reason and I don't know how to retrieve it since my wishing list was from more than a year ago...

restore from backup


Fix footer size with horizontal scrolling

As described in #83 , the footer would sometimes be too large when scrolled to the right.  This makes the footer always match the table's actual width.

Lowering coverage here is fine because it's just removing lines, there are no new uncovered lines added.


Add LEAP hub

Ref https://github.com/2i2c-org/infrastructure/issues/1050

@sgibson91 can you take another look with the changes I've made? It's all deployed now.

@sgibson91 aha, looks like scratch bucket access doesn't actually work. Boo. I'll investigate.

Thanks for the review, @damianavila and @sgibson91! This also doesn't have fully functional scratch buckets, something that'll be fixed in #1130.

I also ran a terraform apply, and verified it is as clean as it can be. There's still changes that are see-sawing (with no actual effects) that'll be fixed in #1130.

google_artifact_registry_repository.registry: Refreshing state... [id=projects/leap-pangeo/locations/us-central1/repositories/leap-registry]
google_service_account.cluster_sa: Refreshing state<EMAIL_ADDRESS>google_service_account.cd_sa: Refreshing state<EMAIL_ADDRESS>google_project_iam_custom_role.identify_project_role: Refreshing state... [id=projects/leap-pangeo/roles/leap_user_sa_role]
google_storage_bucket.user_buckets["pangeo-scratch"]: Refreshing state... [id=leap-pangeo-scratch]
google_project_iam_member.cd_sa_roles["roles/container.admin"]: Refreshing state<EMAIL_ADDRESS>google_project_iam_member.cd_sa_roles["roles/artifactregistry.writer"]: Refreshing state<EMAIL_ADDRESS>google_project_iam_member.cluster_sa_roles["roles/monitoring.metricWriter"]: Refreshing state<EMAIL_ADDRESS>google_project_iam_member.cluster_sa_roles["roles/logging.logWriter"]: Refreshing state<EMAIL_ADDRESS>google_service_account_key.cd_sa: Refreshing state<EMAIL_ADDRESS>google_project_iam_member.cluster_sa_roles["roles/monitoring.viewer"]: Refreshing state<EMAIL_ADDRESS>google_project_iam_member.cluster_sa_roles["roles/stackdriver.resourceMetadata.writer"]: Refreshing state<EMAIL_ADDRESS>google_project_iam_member.cluster_sa_roles["roles/artifactregistry.reader"]: Refreshing state<EMAIL_ADDRESS>google_storage_bucket_iam_member.member["pangeo-scratch"]: Refreshing state<EMAIL_ADDRESS>google_filestore_instance.homedirs[0]: Refreshing state... [id=projects/leap-pangeo/locations/us-central1-b/instances/leap-homedirs]
google_container_cluster.cluster: Refreshing state... [id=projects/leap-pangeo/locations/us-central1-b/clusters/leap-cluster]
google_project_iam_member.identify_project_binding: Refreshing state<EMAIL_ADDRESS>google_container_node_pool.dask_worker["huge"]: Refreshing state... [id=projects/leap-pangeo/locations/us-central1-b/clusters/leap-cluster/nodePools/dask-huge]
google_container_node_pool.notebook["large"]: Refreshing state... [id=projects/leap-pangeo/locations/us-central1-b/clusters/leap-cluster/nodePools/nb-large]
google_container_node_pool.dask_worker["medium"]: Refreshing state... [id=projects/leap-pangeo/locations/us-central1-b/clusters/leap-cluster/nodePools/dask-medium]
google_container_node_pool.dask_worker["large"]: Refreshing state... [id=projects/leap-pangeo/locations/us-central1-b/clusters/leap-cluster/nodePools/dask-large]
google_container_node_pool.notebook["huge"]: Refreshing state... [id=projects/leap-pangeo/locations/us-central1-b/clusters/leap-cluster/nodePools/nb-huge]
google_container_node_pool.dask_worker["small"]: Refreshing state... [id=projects/leap-pangeo/locations/us-central1-b/clusters/leap-cluster/nodePools/dask-small]
google_container_node_pool.notebook["medium"]: Refreshing state... [id=projects/leap-pangeo/locations/us-central1-b/clusters/leap-cluster/nodePools/nb-medium]
google_container_node_pool.core: Refreshing state... [id=projects/leap-pangeo/locations/us-central1-b/clusters/leap-cluster/nodePools/core-pool]
google_container_node_pool.notebook["small"]: Refreshing state... [id=projects/leap-pangeo/locations/us-central1-b/clusters/leap-cluster/nodePools/nb-small]
Note: Objects have changed outside of Terraform
Terraform detected the following changes made outside of Terraform since the
last "terraform apply":
google_container_cluster.cluster has changed
~ resource "google_container_cluster" "cluster" {
id                          = "projects/leap-pangeo/locations/us-central1-b/clusters/leap-cluster"
name                        = "leap-cluster"
# (26 unchanged attributes hidden)
  ~ node_pool {
        name                        = "nb-small"
      ~ node_count                  = 0 -> 1
        # (6 unchanged attributes hidden)

        # (4 unchanged blocks hidden)
    }

    # (22 unchanged blocks hidden)
}

google_container_node_pool.notebook["small"] has changed
~ resource "google_container_node_pool" "notebook" {
id                          = "projects/leap-pangeo/locations/us-central1-b/clusters/leap-cluster/nodePools/nb-small"
name                        = "nb-small"
~ node_count                  = 0 -> 1
# (8 unchanged attributes hidden)
    # (4 unchanged blocks hidden)
}

Unless you have made equivalent changes to your configuration, or ignored the
relevant attributes using ignore_changes, the following plan may include
actions to undo or respond to these changes.
─────────────────────────────────────────────────────────────────────────────
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
google_container_node_pool.dask_worker["huge"] will be updated in-place
~ resource "google_container_node_pool" "dask_worker" {
id                          = "projects/leap-pangeo/locations/us-central1-b/clusters/leap-cluster/nodePools/dask-huge"
name                        = "dask-huge"
# (9 unchanged attributes hidden)
  ~ node_config {
        tags              = []
        # (12 unchanged attributes hidden)

      ~ workload_metadata_config {
          ~ mode = "GKE_METADATA" -> "MODE_UNSPECIFIED"
        }
        # (1 unchanged block hidden)
    }

    # (3 unchanged blocks hidden)
}

google_container_node_pool.dask_worker["large"] will be updated in-place
~ resource "google_container_node_pool" "dask_worker" {
id                          = "projects/leap-pangeo/locations/us-central1-b/clusters/leap-cluster/nodePools/dask-large"
name                        = "dask-large"
# (9 unchanged attributes hidden)
  ~ node_config {
        tags              = []
        # (12 unchanged attributes hidden)

      ~ workload_metadata_config {
          ~ mode = "GKE_METADATA" -> "MODE_UNSPECIFIED"
        }
        # (1 unchanged block hidden)
    }

    # (3 unchanged blocks hidden)
}

google_container_node_pool.dask_worker["medium"] will be updated in-place
~ resource "google_container_node_pool" "dask_worker" {
id                          = "projects/leap-pangeo/locations/us-central1-b/clusters/leap-cluster/nodePools/dask-medium"
name                        = "dask-medium"
# (9 unchanged attributes hidden)
  ~ node_config {
        tags              = []
        # (12 unchanged attributes hidden)

      ~ workload_metadata_config {
          ~ mode = "GKE_METADATA" -> "MODE_UNSPECIFIED"
        }
        # (1 unchanged block hidden)
    }

    # (3 unchanged blocks hidden)
}

google_container_node_pool.dask_worker["small"] will be updated in-place
~ resource "google_container_node_pool" "dask_worker" {
id                          = "projects/leap-pangeo/locations/us-central1-b/clusters/leap-cluster/nodePools/dask-small"
name                        = "dask-small"
# (9 unchanged attributes hidden)
  ~ node_config {
        tags              = []
        # (12 unchanged attributes hidden)

      ~ workload_metadata_config {
          ~ mode = "GKE_METADATA" -> "MODE_UNSPECIFIED"
        }
        # (1 unchanged block hidden)
    }

    # (3 unchanged blocks hidden)
}

google_container_node_pool.notebook["huge"] will be updated in-place
~ resource "google_container_node_pool" "notebook" {
id                          = "projects/leap-pangeo/locations/us-central1-b/clusters/leap-cluster/nodePools/nb-huge"
name                        = "nb-huge"
# (9 unchanged attributes hidden)
  ~ node_config {
        tags              = []
        # (12 unchanged attributes hidden)

      ~ workload_metadata_config {
          ~ mode = "GKE_METADATA" -> "MODE_UNSPECIFIED"
        }
        # (1 unchanged block hidden)
    }

    # (3 unchanged blocks hidden)
}

google_container_node_pool.notebook["large"] will be updated in-place
~ resource "google_container_node_pool" "notebook" {
id                          = "projects/leap-pangeo/locations/us-central1-b/clusters/leap-cluster/nodePools/nb-large"
name                        = "nb-large"
# (9 unchanged attributes hidden)
  ~ node_config {
        tags              = []
        # (12 unchanged attributes hidden)

      ~ workload_metadata_config {
          ~ mode = "GKE_METADATA" -> "MODE_UNSPECIFIED"
        }
        # (1 unchanged block hidden)
    }

    # (3 unchanged blocks hidden)
}

google_container_node_pool.notebook["medium"] will be updated in-place
~ resource "google_container_node_pool" "notebook" {
id                          = "projects/leap-pangeo/locations/us-central1-b/clusters/leap-cluster/nodePools/nb-medium"
name                        = "nb-medium"
# (9 unchanged attributes hidden)
  ~ node_config {
        tags              = []
        # (12 unchanged attributes hidden)

      ~ workload_metadata_config {
          ~ mode = "GKE_METADATA" -> "MODE_UNSPECIFIED"
        }
        # (1 unchanged block hidden)
    }

    # (3 unchanged blocks hidden)
}

google_container_node_pool.notebook["small"] will be updated in-place
~ resource "google_container_node_pool" "notebook" {
id                          = "projects/leap-pangeo/locations/us-central1-b/clusters/leap-cluster/nodePools/nb-small"
name                        = "nb-small"
# (9 unchanged attributes hidden)
  ~ node_config {
        tags              = []
        # (12 unchanged attributes hidden)

      ~ workload_metadata_config {
          ~ mode = "GKE_METADATA" -> "MODE_UNSPECIFIED"
        }
        # (1 unchanged block hidden)
    }

    # (3 unchanged blocks hidden)
}

Plan: 0 to add, 8 to change, 0 to destroy.
Warning: Argument is deprecated
with google_filestore_instance.homedirs,
on storage.tf line 4, in resource "google_filestore_instance" "homedirs":
4:   zone    = var.zone
Deprecated in favor of location.
(and one more similar warning elsewhere)
─────────────────────────────────────────────────────────────────────────────
Note: You didn't use the -out option to save this plan, so Terraform can't
guarantee to take exactly these actions if you run "terraform apply" now.


[SPARK-42123][SQL] Include column default values in DESCRIBE and SHOW CREATE TABLE output #39657

What changes were proposed in this pull request?
Include column default values in DESCRIBE and SHOW CREATE TABLE output.
Why are the changes needed?
This helps users work with tables and check their properties before querying or modifying.
Does this PR introduce any user-facing change?
Yes, it changes the DESCRIBE and SHOW CREATE TABLE command outputs when the table has one or more columns with default values.
How was this patch tested?
This PR includes new unit and file-based query test coverage.

@gengliangwang here is my PR to add DESCRIBE and SHOW CREATE TABLE support for column default values again, and the CI appears to be running now. 👌

cc @Yikun do you know why @dtenedor's github action jobs failed? I haven't seen such an error before.
https://github.com/dtenedor/spark/runs/10887372029

@xinrong-meng I think this one is useful and the jira https://issues.apache.org/jira/browse/SPARK-42123 was created before the 3.4 branch cut. I didn't merge it due to issues happen on @dtenedor's github action jobs.
I am merging this one into master and branch-3.4. Let me know if you are against the idea.

+1 for backporting decision. Thank you all!

do you know why @dtenedor's github action jobs failed? I haven't seen such an error before.

@gengliangwang It's due to permisson issue, if it's not a flaky error, pls @dtenedor  try to check below configuration:
Step1: https://github.com/dtenedor/spark/settings/actions

Step2: https://github.com/users/dtenedor/packages/container/package/apache-spark-ci-image/settings

Thanks! Step 1 was already working properly for me, but I had to perform
Step 2. I assume something changed with how Spark and packages and GitHub
actions work since last time I contributed to Spark. Appreciate the help!
Best,
Daniel
On Fri, Jan 27, 2023 at 11:51 PM Yikun Jiang @.***>
wrote:

do you know why @dtenedor https://github.com/dtenedor's github action
jobs failed? I haven't seen such an error before.
@gengliangwang https://github.com/gengliangwang It's due to permisson
issue, if it's not a flaky error, pls @dtenedor
https://github.com/dtenedor try to check below configuration:
Step1: https://github.com/dtenedor/spark/settings/actions
[image: image]
https://user-images.githubusercontent.com/1736354/187890839-2f26ce10-2e20-4d7e-ab6e-311c898fc416.png
Step2:
https://github.com/users/dtenedor/packages/container/package/apache-spark-ci-image/settings
[image: image]
https://user-images.githubusercontent.com/1736354/215254107-c415833f-a64f-4de7-8962-e027aa261944.png
—
Reply to this email directly, view it on GitHub
https://github.com/apache/spark/pull/39726#issuecomment-1407323278, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AXU4POA54Y4HOSNYJ6ZTTS3WUTFW7ANCNFSM6AAAAAAUFSGHKM
.
You are receiving this because you were mentioned.


Download models in prior

What would you like to be added:
Support to downloads models in prior of inference service, and it's useful when new nodes privisioned.
Why is this needed:
Accelerate the service startup, however, if the cluster has P2P accelerating system like dragonfly, this seems not that necessary.
Completion requirements:
This enhancement requires the following artifacts:

[x] Design doc
[ ] API change
[x] Docs update

The artifacts should be linked in subsequent comments.

/kind question

This maybe useful for really really big models because some nodes are dedicated for them, like with high end GPUs preset.

However, this can be solved with cache systems like fluid, llmaz should not touch this because caching to the local host makes little sense.
/close


FormulaWidget: implement new custom operation mechanism

Description
Shortcut: https://app.shortcut.com/cartoteam/story/320253/implement-new-custom-operation-mechanism-in-formulawidget-in-c4r
FormulaWidget support for 'custom' aggregation expression passed as operationExp
Type of change

new feature

Fix

Feature

Refactor

Tests

Documentation

Acceptance
Please describe how to validate the feature or fix

go to X
test Y
assert Z

If feature deals with theme / UI or internal elements used also in CARTO 3, please also add a note on how to do acceptance on that part.
Basic checklist

Good PR name
Shortcut link
Changelog entry
Just one issue per PR
GitHub labels
Proper status & reviewers
Tests
Documentation

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

6 of 7 (85.71%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.01%) to 71.637%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/react-widgets/src/models/FormulaModel.js
2
3
66.67%

Totals

Change from base Build<PHONE_NUMBER>:
-0.01%

Covered Lines:
2177

Relevant Lines:
2820

💛  - Coveralls


[#2725] Add extra fields to webhook payloads

Closes #2725
Code Changes

[x] Adds new fields to the SecondPartyResponseFormat schema so they can be passed into the webhook

Steps to Confirm

[ ] TBC

Pre-Merge Checklist

[ ] All CI Pipelines Succeeded
Documentation:

[ ] documentation complete, PR opened in fidesdocs
[ ] documentation issue created in fidesdocs

[ ] Issue Requirements are Met
[ ] Relevant Follow-Up Issues Created
[ ] Update CHANGELOG.md

Approving. Do you have a follow up issue to document the new format?

I don't. The OpenAPI docs will update automatically since its a pydantic schema — which page of our docsite should I update?


Question about linear quantization

I figure out the procedure of linear quantization and reproduce the experiments,

Search the quantization strategy on the imagenet100 dataset.
Finetune the model on the whole imagenet dataset with the strategy obtained from step 1.

It seems like the final accuracy of the quantized model is more dependent on the fine-tuning.
Another question is why the bit reduction process starts from the last layer as the _final_action_wall function shows.

Could I ask ,when linear_quantization', default=True,some error like the following will appear

Have you miss these errors?

@87Candy I have not encountered this error.
self._build_state_embedding() function is used to build the ten-dimensional feature vector as the paper section 3.1 shows, you can check it.

There are two methods, one is the K-means quantification method, the other is the linear quantification, I would like to ask, when you ran through the linear quantization, what changes have been made to the entire project file?
Thanks for your solution.

@87Candy The error may be caused by data = torch.zeros(1, 3, H, W).cuda() in measure_model function.  You can change the batch size.

@87Candy The error may be caused by data = torch.zeros(1, 3, H, W).cuda() in measure_model function. You can change the batch size.

some another question maybe encouter,could I communicate with you,one more time?

How to covert mobilenet v2 in to qmobilenetv2?
qmobilenetv2 seems using QConv2d and QLinear, then how can I calibrate the bits into mobilenetv2?

@alan303138 See https://github.com/mit-han-lab/haq/blob/8228d126c800446fdc1cc263555d1e5aed7d9dfd/lib/env/linear_quantize_env.py#L115

@alan303138 See
https://github.com/mit-han-lab/haq/blob/8228d126c800446fdc1cc263555d1e5aed7d9dfd/lib/env/linear_quantize_env.py#L115

Thank you for your reply,
But according to the pre-training file they provided : mobilenetv2-150.pth.tar ,it seems that there is no inheritance relationship for QModule, because it is implemented in models/mobilnetv2, so do I need to inherit the model or is there something I missed?
And I also used the QConv2d and QLinear provided by them to make a pretrained qmobilnetv2, but I am not sure if this is correct, because it is not usually necessary to use fp32 training and then convert it to a quantized model?(Like quantization aware training)
https://github.com/mit-han-lab/haq/blob/8228d126c800446fdc1cc263555d1e5aed7d9dfd/lib/utils/quantize_utils.py#L454
# If my current model is mobilenetv2 it will not do calibrate,because the implementation inside is nn.Conv2d, nn.Linear
https://github.com/mit-han-lab/haq/blob/8228d126c800446fdc1cc263555d1e5aed7d9dfd/lib/utils/quantize_utils.py#L455

@alan303138

Modify the strategy = [[8,-1], [8,8], [8,8], [8,8],...., [8,8]] and use run_linear_quantize_finetune.sh to obtain a W8A8 quantized mobilnetv2 model.
https://github.com/mit-han-lab/haq/blob/8228d126c800446fdc1cc263555d1e5aed7d9dfd/finetune.py#L316

Modify the path variable to the W8A8 quantized mobilnetv2 model obtained in step 1.
https://github.com/mit-han-lab/haq/blob/8228d126c800446fdc1cc263555d1e5aed7d9dfd/models/mobilenetv2.py#L186

Run the run_linear_quantize_search.sh to perform the RL-based bitwidth search process to obtain an optimal strategy. As the upper bound of the action space is 8-bit, you should use W8A8 quantized model as the baseline (i.e., step 1). That is why the float_bit and the max_bit in run_linear_quantize_search.sh script is 8-bit.
https://github.com/mit-han-lab/haq/blob/8228d126c800446fdc1cc263555d1e5aed7d9dfd/run/run_linear_quantize_search.sh#L8

Modify the strategy = "the searched optimal strategy in step 3 "  and use run_linear_quantize_finetune.sh to recover the accuracy of the mixed-precision quantized model.
https://github.com/mit-han-lab/haq/blob/8228d126c800446fdc1cc263555d1e5aed7d9dfd/finetune.py#L316

@alan303138

Modify the strategy = [[8,-1], [8,8], [8,8], [8,8],...., [8,8]] and use run_linear_quantize_finetune.sh to obtain a W8A8 quantized mobilnetv2 model.
https://github.com/mit-han-lab/haq/blob/8228d126c800446fdc1cc263555d1e5aed7d9dfd/finetune.py#L316
Modify the path variable to the W8A8 quantized mobilnetv2 model obtained in step 1.
https://github.com/mit-han-lab/haq/blob/8228d126c800446fdc1cc263555d1e5aed7d9dfd/models/mobilenetv2.py#L186
Run the run_linear_quantize_search.sh to perform the RL-based bitwidth search process to obtain an optimal strategy. As the upper bound of the action space is 8-bit, you should use W8A8 quantized model as the baseline (i.e., step 1). That is why the float_bit and the max_bit in run_linear_quantize_search.sh script is 8-bit.
https://github.com/mit-han-lab/haq/blob/8228d126c800446fdc1cc263555d1e5aed7d9dfd/run/run_linear_quantize_search.sh#L8
Modify the strategy = "the searched optimal strategy in step 3 "  and use run_linear_quantize_finetune.sh to recover the accuracy of the mixed-precision quantized model.
https://github.com/mit-han-lab/haq/blob/8228d126c800446fdc1cc263555d1e5aed7d9dfd/finetune.py#L316
Thank you for the very detailed steps,still not sure
So I can't use mobilenetv2-150.pth.tar this model right?(Only for kmean quant?)
If I use --arch qmobilenetv2. The mobilenetv2 will implement using QConv2d and Qlinear not nn.Conv2d nn.Linear which implement  in pretrained model:mobilenetv2-150.pth.tar.
https://github.com/mit-han-lab/haq/blob/8228d126c800446fdc1cc263555d1e5aed7d9dfd/run/run_linear_quantize_finetune.sh#L3
mobilenetv2
https://github.com/mit-han-lab/haq/blob/8228d126c800446fdc1cc263555d1e5aed7d9dfd/models/mobilenetv2.py#L169
qmobilenetv2
https://github.com/mit-han-lab/haq/blob/8228d126c800446fdc1cc263555d1e5aed7d9dfd/models/mobilenetv2.py#L183

@alan303138

The QConv2d inherits from the QModule base class.
https://github.com/mit-han-lab/haq/blob/8228d126c800446fdc1cc263555d1e5aed7d9dfd/lib/utils/quantize_utils.py#L363
The construction function of QConv2d initializes the w_bit=-1, which will first initialize the self._w_bit = w_bit in QModule, i.e., self._w_bit = w_bit=-1
https://github.com/mit-han-lab/haq/blob/8228d126c800446fdc1cc263555d1e5aed7d9dfd/lib/utils/quantize_utils.py#L366

When running the forward function of QConv2d, it will first call self._quantize_activation(inputs=inputs) then self._quantize_weight(weight=weight).
https://github.com/mit-han-lab/haq/blob/8228d126c800446fdc1cc263555d1e5aed7d9dfd/lib/utils/quantize_utils.py#L395

Take self._quantize_weight(weight=weight) as example, now self._w_bit = w_bit=-1, it will jump to line 315 and return weights without quantization.
https://github.com/mit-han-lab/haq/blob/8228d126c800446fdc1cc263555d1e5aed7d9dfd/lib/utils/quantize_utils.py#L287
https://github.com/mit-han-lab/haq/blob/8228d126c800446fdc1cc263555d1e5aed7d9dfd/lib/utils/quantize_utils.py#L315

Putting them all together, if we do not use half-precision (fp16, see --half flag) and do not specify the w_bit and a_bit for each QConv2d and QLinear layer, the qmobilenetv2 will not be quantized.
According to run_pretrain.sh and pretrain.py, the pre-trained file mobiletv2-150.pth.tar seems to use fp16. Therefore, the mobiletv2-150.pth.tar file might be unsuitable for linear quantization. You can load the mobiletv2-150.pth.tar and insert some prints before https://github.com/mit-han-lab/haq/blob/8228d126c800446fdc1cc263555d1e5aed7d9dfd/models/mobilenetv2.py#L192  to check it out.


Added Build a Climate Fintech App

You don't have to include 'BRIEF DESCRIPTON', just replace it😅, anyways I've updated it.
Thank you for your effort✨

You don't have to include 'BRIEF DESCRIPTON', just replace it😅, anyways I've updated it.
Thank you for your effort✨


backend/drm: query render formats

Depends on https://github.com/swaywm/wlroots/pull/2483
On some platforms it's possible that the display engine supports
modifiers not supported by the render engine.
Query render formats and intersect them with plane formats to accommodate
for this.

Side note, another reason why we should query render formats is that when a driver adds support for modifiers, at some point KMS will return modifiers but Mesa won't understand them. This is what is happening right now on AMD GFX9+.

Also added some docs for wlr_drm_format_intersect in the latest version.

Please do!

Thanks :+1:


Add auto completion input type

Search source for a matching input and display matching list as characters are entered.

+1 and the ability to switch through options using the tab key.

+1

Appreciate the support of this feature but I may struggle to find time to add this atm. Suggestions for implementation or PRs would speed up the process.

Here's an easy solution if you don't mind adding readline as a dependency:

http://bogojoker.com/readline/#autocomplete_strategies

I think that using readline may be unnecessary(need more time to think this through though) as we already have a nice way to respond to any keystrokes, I think the matching behaviour is the key to get right. Thanks for the reference!

It's been a long time and few things have improved in this library such as pagination of select menus. However, recently I have found out about really poor behaviour of this gem on Windows. Though, this is not the system of my choice I appreciate the fact that a lot of users may wish to install and use it on windows. For example kontena cli tool is using tty-prompt as one of their dependencies. If there is a way to make this gem work on Windows well then I feel it is worth an effort as a lot of tty components are cross platform.
Therefore I'm currently rewriting how reading of character input works and testing it simultaneously on Windows. There is still plenty of code to be written but I'm making good progress and feel optimistic about outcome. What that means to you? Well, once I finish the reading bit I have pretty much foundation ready to implement the autocomplete feature which will provide the readline capabilities, e.i. completion_proc but work across systems and won't require actual dependency on unix readline which makes me happy.
I wanted to update you on where I'm at and where things are going. I cannot promise a timeline but this is basically a next thing after Windows support is done. You can of course read the Windows issue to keep track.
Thanks for your patience!

@piotrmurach - I see some recent commits about Windows, so I'm wondering how Windows support is coming.
I'd be interested to put in some time here to help you out in making pretty auto-complete prompts like those provided by python-prompt-toolkit possible in Ruby:

Please let me know if there is work that I can pick up toward this effort (that doesn't involve Windows) that fit with your overall vision for this feature.

@jemc - cheers for reaching out and offering to help!
Firstly, the windows support was implemented in v0.11.0 Feb this year. Recent work involved implementing blocking vs non-blocking keypress reading on Windows due to new pause feature which required some awkward windows apis.
The most recent changes removed all keyboard input reading capabilities into a separate abstraction tty-reader. I haven't officially let anyone in on this library yet. Why do I mention this? It has a lot to do with this issue, namely, providing completion features. I believe this to be a really useful abstraction that I will use in different projects.
My current thinking goes this way. The tty-reader as a component should provide low level api in some ways similar to readline but not replacing it. I would be looking into adding a method completion that based on the input provides possible matches. The completion method would contain default logic for matching that could be easily customised. For example, by default it would search for files in the current directory. The caller would have an easy way to hook into these matched results through callbacks or some other mechanics. Obviously there is a host of other configurations that TTY::Reader would accept to customise behaviour such as what character is used for completion.
As a second part of the story, there would be a consumer class in tty-prompt(let's say auto_complete prompt) that would hook into tty-reader completion method and take care of actually rendering the matches, including querying the user if they wish to display all results or subset etc... How would we display these results is of course left to debate. I'm not sure whether a dynamic table displayed right under the cursor is the best choice or maybe a list aligned in columns like it's done by some completion plugins in vim is a better choice.
I hope this kind of paints the picture a bit better. I don't think it's a quick job but definitely useful feature that would make this library super useful. If I were you I would probably look into tty-reader first and create issue over there on what and how you think the completion api can work.
ps. I'm currently working on releasing new tty version which will take me till the end of this month. I hope to show it off in a lightning talk at conference 😱  So I won't be working on this library until then.

+1

+1


(SERVER-268) Improve Acceptance README

Improve the README in the Acceptance folder to reflect that
setting the BEAKER_TYPE and BEAKER_LOADPATH environment variables
are required when running the tests with a Rakefile under
Workflow a.
I also went ahead and updated the PACKAGE_BUILD_VERSION to reflect a more recent snapshot build of puppet server, and updated the BEAKER_CONFIG variable to point to an actual config file in the acceptance folder, as the one previously being pointed to no longer exists.
This only addresses Rakefile Workflow a, as that's how I was running the acceptance tests when I ran into the issues with the README. Other parts of the README are likely outdated as well, so this will probably require some further investigation.

:+1:


Add rb.ac.th

@wachirawit-m First stage of verification passed, official domain is rb.ac.th as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@wachirawit-m Please provide us with:

the school official website URL
the school street address, including city and country
an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course
a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.

School URL: rb.ac.th/mainpage
Street address: 3 Sanamchai Road, Grand Palace, Phra Nakhon, Bangkok 10200
IT course (they only have the list of students that qualified for the course): https://drive.google.com/file/d/1o_aBGnHYSLkVHsG2FEbgPL9RiMExjA_s/view (page 2-4)
Students email proof (it's a manual for students): https://drive.google.com/file/d/1MLEWhmfdQXyfOqVsvLOcm2ufFqkZk_X7/view

@wachirawit-m Thank you for the details! Would you be able to provide also evidence that children who are older than 13 years of age are enrolled in the school?

@wachirawit-m  Thank you for the clarifications. Pull request merged.


Load config after injection

I want to run a config method when lazy loading a module. After requesting and injecting my modules, my app loads a file with my config content which gets correctly (or not?) executed and updates the provider. But when I call the service in a controller it's like no config was made.
This is how plugins are loaded:
.state('scheduler', {
        url: '/scheduler',
        templateUrl: '/views/marketplace/scheduler.html',
        controller: 'SchedulerCtrl',
        resolve: {
            loadScheduler: ['$ocLazyLoad', function($ocLazyLoad) {
                return $ocLazyLoad.load(['moment', 'scheduler']);
            }]
        }
    });

{
             name: 'moment',
             insertBefore: '#loadJS',
             files: ['/js/moment-with-locales.js']
       },
       {
           name: 'scheduler',
           insertBefore: '#loadJS',
           serie: true,
           files: ['/js/tmhDynamicLocale.js', '/js/ng-weekly-scheduler.js', '/js/scheduler.js']
       }

Whereas my scheduler.js file referenced above:
angular.module('eXperting')
.config(['weeklySchedulerLocaleServiceProvider', function (localeServiceProvider) {
    localeServiceProvider.configure({
      doys: {'pt-br': 4},
      lang: {'pt-br': {month: 'Mês', weekNb: 'Semana', addNew: 'Novo item'}},
      localeLocationPattern: '/js/angular-locale_{{locale}}.js'
    });
}]);

Finally, my controller declaration:
.controller('SchedulerCtrl',  ['$scope', 'weeklySchedulerLocaleService', function ($scope, localeService)
I can make it work by importing the js files manually though

I'm having the same issue with hotkeysProvider, I couldn't lazy load it.


html5 editor

Hi
I have included js/css file of wysihtml5 editor, then add data-type="wysihtml5" but I can see only textarea.
I found that this code override type:
     if(type === 'wysihtml5' && !$.fn.editabletypes[type]) {
           type = 'textarea';
       }

Why and how to fix this?
Thanks

make sure you're including these files, here is a snippet from my gulpfile:
    var wysiwyg = gulp.src([
        paths.dev.vendor+'/x-editable/dist/inputs-ext/wysihtml5/bootstrap-wysihtml5-0.0.2/wysihtml5-0.3.0.js',
        paths.dev.vendor+'/x-editable/dist/inputs-ext/wysihtml5/bootstrap-wysihtml5-0.0.2/bootstrap-wysihtml5-0.0.2.js',
        paths.dev.vendor+'/x-editable/dist/inputs-ext/wysihtml5/wysihtml5.js',
    ],{base:'../templates/assets/'})
    .pipe(replace("<a class='btn","<a class='btn btn-default"))
    ;
    var others = gulp.src([
        paths.dev.vendor+'/x-editable/dist/bootstrap3-editable/js/bootstrap-editable.js',

        paths.dev.vendor+'/select2/select2.js',

        paths.dev.vendor+'/x-editable/dist/inputs-ext/typeaheadjs/lib/typeahead.js',
    ],{base:'../templates/assets/'})
    ;

thanks for your reply..
I have include all this file but still not work, I have include this file:
https://github.com/vitalets/x-editable/issues/931


Added Swagger Spec for ManagedServices

PR is already approved in private repo (https://github.com/Azure/azure-rest-api-specs-pr/pull/661)
Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ ] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

Automation for azure-sdk-for-js

Automation for azure-sdk-for-ruby
Nothing to generate for azure-sdk-for-ruby

Can one of the admins verify this patch?

Automation for azure-sdk-for-python

Automation for azure-sdk-for-go

Automation for azure-sdk-for-node

Automation for azure-sdk-for-java

@jianghaolu Could you please let me know why the checks are failing and how can I fix?

@jianghaolu Is the step Automation for azure-sdk-for-net supposed to fail for new RPs? If not, how can I fix this?

startbuild

Automation for azure-sdk-for-net
A PR has been created for you:
https://github.com/azure/azure-sdk-for-net/pull/5438
.NET SDK Commits:
https://github.com/adxsdknet/azure-sdk-for-net/pull/5438/commits/e4b89464326a9f5e9a646434ab346bf20a72e824

@jianghaolu Is anything else pending for this PR?


doc: en/docs/hertz/tutorials/toolkit/template.md

Add toolkit/template.md English translation file

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Bug: Code generation for Images form requires C++14 compiler

Description:

The wxueBundleSVG() function uses std::make_unique() which requires C++14. Switching to wxSharedPtr would avoid that compiler version dependency. Note that it is still used in wxWidgets 3.3 source code in spite of the use of std::unique_ptr in other places. The other option would be to add a property that lets the user specify the compiler they plan to use. If it's C++11 then use wxSharedPtr, otherwise use std::make_unique().

On second thought, maybe not. Support for C++ 14 was added to gcc and msvc in 2015. While I'm sure older versions are still in use for older projects, using wxWidgets 3.2 and an SVG file while still using a compiler over 8 years old seems unlikely...


Delete Call Change

Under Delete Blocks I added the following information:
{% info %} Please note, when you are completing the following requests they should not be combined. For example, if requesting to delete one address, it is not necessary to add the "delete_all=false" parameter in an effort to prevent deletion of further blocks, it is assumed. {% endinfo %}
Description of the change:
Reason for the change:
Link to original source:

Closes #

Hello @kelseyenglish,Thanks again for the PR!                                         We noticed that you have earned 1 out of the 5 points needed to receive glorious SendGrid Hacktoberfest swag.                                         Please take a moment to checkout this link to find more issues to get you past the required threshold.                                         Also, please be sure that you have officially registered here.                                         Thank you and Happy Hacktobering!                                         Team SendGrid DX

Hello @kelseyenglish,Thanks again for the PR!                                         You have earned 1 out of the 5 points needed to receive glorious SendGrid Hacktoberfest swag.                                         Please take a moment to checkout this link to find more issues to get you past the required threshold or to simply continue the celebration.                                         Also, please be sure you have officially registered with us here by November 1, 2018 to qualify.                                         If you have any questions you can email us at<EMAIL_ADDRESS>                                        Thank you and Happy Hacktobering!                                         Team SendGrid


Create store

Looking at how we might add state and interact with the DOM.

Closing until we need it.


ensureIndex throws error about key name

I issue collection.ensureIndex({"foo.bar": 1}, {background: 1}, function() {});
and mongolian throws an error "Error: key foo.bar must not contain '.'
This is a bug... Key names very much so can contain a dot... its the only way I know to do embedded doc keys!
going to have to go back to mongoskin until this is fixed :(

Good catch! The problem is the generated key name doesn't strip out dots. Do you hit this on the mongo shell as well? Their code seems to have the same bug: http://api.mongodb.org/js/1.8.1/symbols/src/shell_collection.js.html (scroll down to _genIndexName)

I actually can't reproduce this problem. What version of mongodb are you using?

1.8.2
key foo.bar must not contain '.'
Error: key foo.bar must not contain '.'
    at Error (unknown source)
    at Function.checkKey (./node_modules/mongolian/node_modules/mongodb/lib/mongodb/bson/bson.js:1304:11)
    at Function.serializeWithBufferAndIndex (./node_modules/mongolian/node_modules/mongodb/lib/mongodb/bson/bson.js:278:16)
    at [object Object].toBinary (./node_modules/mongolian/node_modules/mongodb/lib/mongodb/commands/insert_command.js:98:55)
    at [object Object].send (./node_modules/mongolian/node_modules/mongodb/lib/mongodb/connection.js:376:32)
    at ./node_modules/mongolian/lib/server.js:254:20
    at ./node_modules/mongolian/lib/util.js:19:18
    at MongolianServer.cacher [as _connection] (./node_modules/mongolian/node_modules/taxman/taxman.js:8:25)
    at MongolianServer.sendCommand (./node_modules/mongolian/lib/server.js:248:10)
    at ./node_modules/mongolian/lib/server.js:148:17

I use this function
function index(col, key, dir) {
	var keyobj = {};
	keyobj[key] = dir || 1;
	db.collection(col).ensureIndex(keyobj, {background:1 }, function(err) {
		if (err) {
			console.error(err)
		}
	});
}

It works fine under Mongoskin, but throws that error with Mongolian.


winmerge2011: Add version 2011.211.170

WinMerge2011 moved from Bitbucket to Github: https://github.com/datadiode/winmerge2011

/verify


Added EroShare Ripper

EroShare ripper works with reddit user profile submissions and as a stand alone from EroShare

compiling error with maven
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
(default-compile) on project ripme: Compilation failure
[ERROR] .../ripme-master/src/main/java/com/rarchives/ripme/utils/RipUtils.java:[85,31] cannot find symbol
[ERROR] symbol:   variable EroShareRipper
[ERROR] location: class com.rarchives.ripme.utils.RipUtils

Thank you kanink007 I have updated the utils file to correct this issue.

Fixed Vidble Ripper to include vidle.com/show/ images.

Resolving in favor of https://github.com/4pr0n/ripme/pull/319
If this should stay open, feel free to reopen it.


Water/lava pickup/placement does not fire a block change event

This does sort of inhibit proper protection plugins. The only event fired is the interaction event, and even that can't be used if the player only clicks on fluid and not a block.

Does this only affect SpongeVanilla, or does the same apply to SpongeForge?

Specifically, it's SV only, but SF has a different bug which I believe I made another issue for.

I get a ChangeBlockEvent.Place when placing water and a ChangeBlockEvent.Break when picking it back up. I just made a simple test plugin that logs all ChangeBlockEvents and it shows them.

I report this bug and this is fixed by this Commit

@pie-flavor Could you test if it's still happening for you in the latest SV version?

Closing for lack of input.


[9.0.0-rc.3] useSprings not behaving properly

🐛 Bug Report
When trying to implement a simple useSprings example I am unable to mimic other examples. I don't know if this is because the way to use it has changed with the newest rc.
To Reproduce
Use useSprings like I have in the sandbox
Expected behavior
Have the items transition based off of their index values
Link to repro
CodeSandbox
Environment

react-spring v9.0.0-rc.3
react v16.12

When you pass a function to useSprings, it wraps the array of springs in a tuple that includes an animate function and a stop function. Pretty sure that's how v8 works, too.
const [springs, animate, stop] = useSprings(3, i => ({ ... }))


[api][SIMS #451] Source code update for NEST upgrade

Following changes are made to have the code ready for NEST upgrade and fix the decorators which are identified to be possibly used between more the one client types(Student | Institution | AEST | Supporting users)

[x] Update setupDB.ts removing the line which deletes the config property schema and uses local variable to pass to the setup
[x] Adding the property enum to all entities which has an enum column.
[x] Removing @Inject("Connection") from all the service constructors.
[x] Updating InstitutionLocation, InstitutionAdmin and Groups guard to validate only their respective client type users.

Following changes are made to have the code ready for NEST upgrade and fix the decorators which are identified to be possibly used between more the one client types(Student | Institution | AEST)

what about supporting users?

@andrewsignori-aot as discussed to test the removal of delete config.schema and delete config.entities, I ran the migration from a clean database(aest_test in my case) and I saw that it ran without any issue. Also I ran the migration again with existing tables and it worked fine. Additionally I created an institution and a location from the clean DB.