GAIL could not work on Pendulum-v0

I followed the instructions in this repository to generate expert data using SAC for Pendulum-v0, and then use GAIL to conduct imitation learning. But the results of GAIL turn to be NaN. Could you please help me?

I find that my problem is similar to https://github.com/keiohta/tf2rl/issues/92. After the installation of tensorflow 2.0.0，I am able to use spectral normalization. But this problem is quite strange because ordinary GAIL is supposed to work.

Hi @zhihaocheng , I uploaded codes that support tf2.3 now to PyPI. Can you upgrade tf2rl and try again?
If you still encounter the same problem, please provide more details:

OS
TensorFlow version
Full message of the error

Hi @keiohta , thanks for your help. I have tried tf2.3 and the newest tf2rl, but it could not work. Details are presented below.
OS: CentOS Linux release 7.2 (Final).
Tensorflow: tensorflow-cpu 2.3.0, tensorflow 2.3.0.
tf2rl: 0.1.15.
Full error：
Traceback (most recent call last):
File "examples/run_gail_ddpg.py", line 39, in
gpu=args.gpu)
File "/home/zhc/anaconda3/envs/dads-env/lib/python3.6/site-packages/tf2rl/algos/gail.py", line 50, in init
units=units, enable_sn=enable_sn)
File "/home/zhc/anaconda3/envs/dads-env/lib/python3.6/site-packages/tf2rl/algos/gail.py", line 25, in init
self([dummy_state, dummy_action])
File "/home/zhc/anaconda3/envs/dads-env/lib/python3.6/site-packages/tensorflow/python/keras/engine/base_layer.py", line 985, in call
outputs = call_fn(inputs, *args, **kwargs)
File "/home/zhc/anaconda3/envs/dads-env/lib/python3.6/site-packages/tf2rl/algos/gail.py", line 29, in call
features = self.l1(features)
File "/home/zhc/anaconda3/envs/dads-env/lib/python3.6/site-packages/tensorflow/python/keras/engine/base_layer.py", line 985, in call
outputs = call_fn(inputs, *args, **kwargs)
File "/home/zhc/anaconda3/envs/dads-env/lib/python3.6/site-packages/tf2rl/networks/spectral_norm_dense.py", line 50, in call
rank = common_shapes.rank(inputs)
AttributeError: module 'tensorflow.python.framework.common_shapes' has no attribute 'rank'.

Hi @zhihaocheng , I'm working on this at this branch, but hasn't resolved the error.
In the mean time, please use tf < 2.3 or not use Spectral Normalization. (The above error has been resolved but I encountered an other error.)

Hi @zhihaocheng , I confirmed the GAIL + SN works with TF2.3 at the latest master.
Following is the command I used for test.
# Generate expert data
$ python examples/run_ddpg.py --max-steps 20000 --test-interval 20000 --save-test-path --test-episodes 50 --gpu -1

# TF2.0
$ conda activate tf2.0
$ python examples/run_gail_ddpg.py --max-steps 50000 --expert-path-dir results/20200829T150459.520911_DDPG_expert_paths --dir-suffix _TF20 --gpu -1
$ python examples/run_gail_ddpg.py --max-steps 50000 --expert-path-dir results/20200829T150459.520911_DDPG_expert_paths --enable-sn --dir-suffix _TF20_SN --gpu -1

# TF2.3
$ conda activate tf2.3
$ python examples/run_gail_ddpg.py --max-steps 50000 --expert-path-dir results/20200829T150459.520911_DDPG_expert_paths --dir-suffix _TF23 --gpu -1
$ python examples/run_gail_ddpg.py --max-steps 50000 --expert-path-dir results/20200829T150459.520911_DDPG_expert_paths --enable-sn --dir-suffix _TF23_SN --gpu -1
$

And the resulted TensorBoard output is below:

Thanks a lot @keiohta


elcinema.com and osn.com

Has something happened to the elcinema.com and osn.com feeds. Both no longer show on the index page but are shown in the channel list page.
It appears the xml files are being updated albeit not correctly. Both the Arabic and English versions contain the same Arabic output.
eg
https://iptv-org.github.io/epg/guides/eg-en/elcinema.com.epg.xml
https://iptv-org.github.io/epg/guides/eg-ar/elcinema.com.epg.xml
https://iptv-org.github.io/epg/guides/ae-en/osn.com.epg.xml
https://iptv-org.github.io/epg/guides/ae-ar/osn.com.epg.xml
The osn.com was working correctly when it was split into 2 languages a couple of weeks ago

Is everything working properly now?

Looks good, thanks


Update tokio dependencies in tutorials to be compatible with tonic 0.4

Motivation

The existing tutorials do not build due to incompatibility of tonic 0.4 and tokio 0.2.
Solution

Update tokio dependencies to 1.0 and adjust required features accordinly.
Thanks for the awesome work y'all do on this library!

@LucioFranco should be ready now :) I just dropped the helloworld update because it looks like another PR got in already that fixed it :+1:


Store Docker Images in AWS ECR Public

Is your enhancement request related to a problem? Please describe.
DockerHub has aggressive rate limits now and impacts the usage when running Apache Pulsar on Kubernetes, if the rate limit is reached.
Describe the solution you'd like
AWS created the public ECR with not rate limiting. The solution could be to store images in Dockerhub and AWS ECR and possibly Google's GCR. This will allow users to choose which service they pull from and avoid the issue with Docker Hub's rate limiting.
Describe alternatives you've considered
We can pull the image and push it to a private repository and use that to pull from (what I am currently doing) to mirror the Docker Hub repo, but it would be nice to not to have to manually update it.

To make it available from as many places as possible, is also a way to make pulsar even more visible  (Marketing) and grow the community and adoption :-)


key error

I comes up with a running error of:
File "data/processor.py", line 417, in _create_examples
relation_names.append(rel2text[t])
KeyError: '/soccer/football_team/current_roster./soccer/football_roster_position/position'
when I run the command "sh ./scripts/wn18rr.sh" in project GenKGC

Make sure you download the same format of our preprocessed dataset in ·GenKGC· ， you can download the dataset via this link https://drive.google.com/drive/folders/1lo7GEkOzonoaJJ9edHTwMYEl6BajmLQg?usp=sharing


Feature/64 - support looking up facet value label data from a foreign collection

Fixes #64
Description

currently if you've got a mongoId facet you need to load a map of all possible values to labels separately into the client and then use it in the display function you pass into the contexture-react Facet component. Work here supports looking up the label data for the facet values you've actually got directly.
see also: https://github.com/smartprocure/contexture-react/pull/390 and https://github.com/smartprocure/contexture-client/pull/127

Fails

:no_entry_sign:
Please assign someone to merge this PR, and optionally include people who should review.

:no_entry_sign:
This PR has failing tests. Please alleviate the errors and commit them

result should output the expected query and results
expected { Object (entries) } to deeply equal { Object (entries) }

Warnings

:warning:
The README has not been updated. Please update the README.

Messages

:book:
Could not find any browser results.

  Generated by :no_entry_sign: dangerJS against 19883c57b11b3c3c850ab1e9d9e753239e516d5d

blocked until we figure out what's wrong with the tests on #69

Ready for review -- tests are fixed on #69 so I'll have to resolve conflicts in the changelog etc when that's in

updated. waiting on #69

updating to preserveNullAndEmpty arrays in the unwind

@dubiousdavid @dshishkov ready for review

seeing the need for one more change in testing. updating...

@Akrion @dshishkov were discussing the actual change to cardinality and it seems to be agreed it's good. I think he'll approve and we're good to merge

@doug-patterson Do we have any use for looking up the label from a different collection? It seems to me this can be a bit simpler if we just allow to include extra fields from the same collection on the facet results.

@stellarhoof this is to be used here - you can see there are many occurrences: https://github.com/smartprocure/bid-search/pull/4903

@doug-patterson Oh yeah you're right the id can come from a different collection.

@dshishkov updated

the other 2 PRs are really small, it would be sweet if anyone can take a look at them so we can get all three in together: https://github.com/smartprocure/contexture-react/pull/390 https://github.com/smartprocure/contexture-client/pull/127

@Akrion looks like we're good to go

@doug-patterson I commented on the spark side about the API, which could potentially change all these PRs

@stellarhoof ah, yeah, apologies, went and looked now. I'm not against it and had considered doing it that way instead. Here are the reasons I went with what I did:

checked existing nodes and they tend to be pretty flat
Sam had discussed with me way back how one of his goals in the current contexture version was to flatten the nodes compared to the main-app version

Still, it's worth considering as it is cleaner as we should definitely not do it later. @dshishkov @Akrion here's the suggestion:
  lookup: {
    collection: 'user',
    foreignField: '_id',
    fields: 'user'
  }

instead of
  valueLabelCollection: 'user',
  valueLabelForeignField: '_id',
  valueLabelFields: ['firstName', 'lastName']

What do folks think?

@dubiousdavid

I prefer fields to values here
That would be a breaking change, plus we can't provide the actual label here anyway since it needs to be built from the piece(s) by a function we don't have

Sam had discussed with me way back how one of his goals in the current contexture version was to flatten the nodes compared to the main-app version

I can't comment on this as I don't know why he wants to keep them flat

I prefer lookup to valueLabel on either case, since it gives a hint as to what's going on
I prefer fields to values on David's suggestion as well

I do prefer keying the object by something like label or valueLabel to lookup

@stellarhoof ah, yeah, apologies, went and looked now. I'm not against it and had considered doing it that way instead. Here are the reasons I went with what I did:

checked existing nodes and they tend to be pretty flat
Sam had discussed with me way back how one of his goals in the current contexture version was to flatten the nodes compared to the main-app version

Still, it's worth considering as it is cleaner as we should definitely not do it later. @dshishkov @Akrion here's the suggestion:
  lookup: {
    collection: 'user',
    foreignField: '_id',
    fields: ['firstName', 'lastName']
  }

instead of
  valueLabelCollection: 'user',
  valueLabelForeignField: '_id',
  valueLabelFields: ['firstName', 'lastName']

What do folks think?

@doug-patterson
The suggestion to make it a nested object API is more closer to how we do "joining" to other records in the results type with populate so there is some consistency there I guess in terms of the contexture API and this joining of records concept. I think I prefer the nested object API too but don't have a super strong preference in this case. Not sure why Sam was pushing for flattening of all fields on a type, especially when there is a group of props in this case which are specifically related to one aspect and you cannot have reasonable defaults or skip any of them if you decide to use this part of the API on the type.

@stellarhoof @dshishkov ok, we've got two votes now for unflattening, so I'll do that.
Still need to settle with @dubiousdavid what a couple keys will be called.
Here's what's on my plate:

unflatten
write tests
update other PRs

It's not super likely we'll wrap this up today with all that, but do let me know opinions on the keys

Unless we settle on something else for the keys I'm going with the maximally aesthetically pleasing version:
  lookup: {
    collection: 'user',
    foreignField: '_id',
    fields: ['firstName', 'lastName']

also @dshishkov @stellarhoof do you have any views on @dubiousdavid's suggestion to replace _id with labelData instead of making it extra? (This would eliminate the contexture-react PR)

unflattened. i'll update contexture-client PR to match. Contexture-react PR can stay unchanged unless we elect to replace _id with labelData in the facet value objects when we're using the feature

+1 on replacing _id. Also can we rename labelData now that the concept of labels is gone with renaming the field to lookup

unflattened. i'll update contexture-client PR to match. Contexture-react PR can stay unchanged unless we elect to replace _id (name in the final version) with labelData in the facet value objects when we're using the feature

if we make name be the joined record here (labelData) it will break the checkbox functionality on the Facet component in contexture-react, the checkboxes are supposed to have simple values such as string, number and not objects. https://github.com/smartprocure/contexture-react/blob/348c39ba59048eed87a78abb3ba8cd4bad400721/src/exampleTypes/Facet.js#L139
At the end of the day, there still needs to be a distinction between the label/display for the option and the value for the option on the Facet component so that selecting one of the options modifies the facet filters correctly.

@dshishkov is totally right. So we'll return { name: _id, labelData, count } at the end as I have it now.
Will update the code stylings in the aggregation...

So instead of valueLabelFields you would just have field, and that could be the value for name. This would simplify things. We can always revisit and make this more complex later if need be. So,
({ _id, labelData, count }) => ({
          name: _id,
          ...(_.get('valueLabelCollection', node)
            ? { labelData: labelData || {} }
            : {}),
          count,
        })

would be
({ _id, labelData, count }) => ({
          name: _.get('valueLabelCollection', node)
            ? _.get(valueLabelField, labelData)
            : _id,
          count,
        })

Hangout discussion summary:

I'll update

@stellarhoof comment ("nitpick")
change lookup on the node to label and change labelData on the facet value object to label
add unit testing

also, in any case we'll hold on merging and discuss with @daedalus28 next week
suggestions (not currently done here)

change name to value on the facet value objects and make corresponding changes throughout the contexture system

would make sense eventually, but it's a large surface area for a little semantics

looking at it a real test is going to require using mingo so I'll be in progress on wiring that up

@doug-patterson You should pull the pure fn code out and just test that.

@dubiousdavid let me know if what I just pushed counts

We might also want to default foreignField to be _id if it's not provided

We might also want to default foreignField to be _id if it's not provided

label: {
  collection: 'organization',
  field: 'name',
}

It takes a bit of mental processing to read that if we default to _id

I agree with @stellarhoof. I think it's better to be explicit. Also, instead of having two different field-like keys, maybe we should just have one called fields which also supports a string value.

We can avoid the default, it just means it’ll be persisted when serializing. I think that’s worth the trade off though :+1:
I’m indifferent on field vs fields and fine with whatever the team prefers

@daedalus28 updated

@daedalus28 updated - returns a string when node.label is a string


WX Station frequencies are off...

In Portland, NOAA Weather Radio is broadcast on 162.550 which is supposed to be WX1 (frequencies are out of sequence) but in Radio Receiver 162.550 is WX7. While it doesn't stop me from listening, it does confuse you when you know what the WX #s are supposed to be, and it also throws off the rest of the WX #s. Here is a link to the Wikipedia chart of the frequencies each WX# should be: https://en.wikipedia.org/wiki/Weather_radio#Governmental_weather_radio_services (WX1-7 are the official ones. WX8-10 are NOT official or used by NOAA, but are listed in the chart). Could we make the WX #s point to the right frequencies in a future update please? In an emergency, people need to be able to tune to the right NOAA WX # and not have to guess and search for the right channel. Thank you for your time in this matter.

I've changed the code to show the correct WX channel name. Unfortunately, since Radio Receiver works with frequencies instead of channels, it means that the channel names are out of sequence. I may change the software to be channel-aware in the future, but not for now...

Thank you so much! It is appreciated. The channel aware would be nice, but at least the WX channels are the right frequencies. Thank you so much!
Robert Berg
<EMAIL_ADDRESS>Sent from my iPhone

On Jun 26, 2016, at 18:29, Jacobo Tarrío<EMAIL_ADDRESS>wrote:
I've changed the code to show the correct WX channel name. Unfortunately, since Radio Receiver works with frequencies instead of channels, it means that the channel names are out of sequence. I may change the software to be channel-aware in the future, but not for now...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


SPIKE: Research go tmpl inheritance

Research can we have multiple template inheritance with duplicate defines and duplicate configuration keys. Will the 'last' one read win? Will we have to namespace the configuration keys? Timebox two days. Requires documentation as result of this research.
  layouts:
    -<EMAIL_ADDRESS>    -<EMAIL_ADDRESS>
# pct-config.yml
  puppetlabs.puppet_module:
    license: "Apache 2.0"

  jpogran.puppet_module:
    license: "MIT"

Created specification document and shared with the team and built a small POC example


[To Feature] DESENG-515 : Adding API for Poll event and Event Item translations

Issue #: https://apps.itsm.gov.bc.ca/jira/browse/DESENG-515
Description of changes:
Adding API for Poll event and Event Item translations
Added associated unit tests
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the met-public license (Apache 2.0).

Look good!
Could you just let me know how the language_id is uniquely constrained with the other IDs (event_item, poll, etc.) so that we only have one language per translation?

@Baelx  In all those model files we explicitly mentioned the constraint like below
`
An Event item has only one version in a particular language
__table_args__ = (
    UniqueConstraint(
        'event_item_id',
        'language_id',
        name='_event_item_language_uc',
    ),
)

`


display nests on map

change spawnpoints by top pokemon
allow filtering by pokemon

should be used in a private panel instead of public raw map ... to avoid db to be killed with sql requests
creating a /nest will also allow to use different filters than main map

How does this work? I installed it, but I do not see a /nest or any extra preferences, etc... nothing in /report either.

Thanks for the feedback. I agree with the edits needed, it was more a quick PR push to help people identifying nests, we definitively need something better before merging.


[0.0.43]build dev failed

ionic start --v2 TestCode02
ionic serve

ionic-app-base@ ionic:serve /Users/caravan/Documents/IonicApp/TestCode02
ionic-app-scripts serve "[object Object]"

[12:32:43]  ionic-app-scripts 0.0.43
[12:32:43]  watch started ...
[12:32:43]  build dev started ...
[12:32:43]  clean started ...
[12:32:43]  clean finished in less than 1 ms
[12:32:43]  copy started ...
[12:32:43]  transpile started ...
[12:32:46]  build dev failed: Cannot read property 'length' of undefined
[12:32:46]  copy finished in 3.04 s
[12:32:46]  watch ready in 3.04 s
[12:32:46]  dev server running: http://localhost:8100/
Your system information:
Cordova CLI: 6.3.1
Ionic Framework Version: 2.0.0-rc.2
Ionic CLI Version: 2.1.7
Ionic App Lib Version: 2.1.4
Ionic App Scripts Version: 0.0.43
ios-deploy version: 1.9.0
ios-sim version: 5.0.9
OS: OS X El Capitan
Node Version: v5.3.0
Xcode version: Xcode 8.0 Build version 8A218a

Upgrading from a new tabs project with 0.0.42 (where dev failed also):
npm install @ionic/app-scripts@latest

produces an:
<EMAIL_ADDRESS>invalid

Config:
Your system information:

Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.2
Ionic CLI Version: 2.1.7
Ionic App Lib Version: 2.1.4
Ionic App Scripts Version: 0.0.43
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Linux 4.4
Node Version: v4.2.6
Xcode version: Not installed

And dev build hangs without serving anything, nor giving an error:
> ionic-hello-world@ ionic:serve .../ionicTestBuild
> ionic-app-scripts serve "[object Object]"

[09:19:56]  ionic-app-scripts 0.0.43
[09:19:56]  watch started ...
[09:19:56]  build dev started ...
[09:19:56]  clean started ...
[09:19:56]  clean finished in 5 ms
[09:19:56]  copy started ...
[09:19:56]  transpile started ...
[09:19:59]  transpile finished in 3.50 s
[09:19:59]  webpack started ...
[09:19:59]  copy finished in 3.63 s
[09:20:09]  webpack finished in 9.87 s
[09:20:09]  sass started ...
[09:20:11]  sass finished in 1.82 s
[09:20:11]  build dev finished in 15.22 s
[09:20:11]  watch ready in 15.29 s
[09:20:11]  dev server running: http://localhost:8100/

same problem,waiting for reply

Actually, it works for me if I

add declarations.d.ts to src/
make sure to use TypeScript 2.0.x (i.e., not 2.1.x) in package.json

It happens because
program.emit(undefined, (path: string, data: string, writeByteOrderMark: boolean, onError: Function, sourceFiles: ts.SourceFile[])

sourceFiles is undefined.
You can open your<EMAIL_ADDRESS>and change line  82 to be like:
writeSourceFiles(context.fileCache, sourceFiles || []);

which is a temporary workaround for 0.0.43.
It will work as a workaround.

I had this problem when using yarn, wiping node_modules and using npm
instead fixed the issue.

This still does not work for me.
I must insist that the error appears in a brand new project. In my case, @michael-brade solution (the declarations.d.ts and typescript dependencies) are already correct from the template.
Worse of all, the command:
 ionic serve -c -s

hangs forever on:
....
dev server running: http://localhost:8100/

without NEVER producing any apparent error, nor opening any browser window.

It seems that the package.json is broken in the template. See https://github.com/driftyco/ionic-cli/issues/1660#issuecomment-260122096.
To fix, remove "ionic:build" and "ionic:serve" in the "scripts" part and leave it like that:
"scripts": {
    "build": "ionic-app-scripts build",
    "watch": "ionic-app-scripts watch"
},

It's commented https://github.com/driftyco/ionic-app-scripts#npm-scripts.

@jrierab  Not working for me?
What just happend here? Why can something be broken without any updates?

fix for me is to change
this:
   "ionic:serve": "ionic-app-scripts serve"
into:
   "ionic:serve": "ionic-app-scripts watch"

@kabus202 Like I said above, starting from a blank project, it never serves the page. It freezes without giving any error:
ionic start testBuild43again tabs --v2
cd testBuild43again
ionic serve -c -s

...
dev server running: http://localhost:8100/

Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.2
Ionic CLI Version: 2.1.7
Ionic App Lib Version: 2.1.4
Ionic App Scripts Version: 0.0.43
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Linux 4.4
Node Version: v6.9.1
Xcode version: Not installed

Your workaround freezes the same after building, but does not even try to serve the page.
So, to build, package.json must be like:
    "ionic:serve": "ionic-app-scripts serve"

Then, I have to Ctrl-C and edit package.json to allow serving the page (but then it doesn't build):
    "serve": "ionic-app-scripts serve"

This "workaround" works for me, but it is not very productive :-)

What happens if you change serve into this:
  "serve": "ionic-app-scripts **watch**"

It serves the page, but does not run the build process.

Modifying the scripts in package.json resulted in:
Error: ENOENT: no such file or directory, open '/Volumes/Macintosh HD 2/Lab/ionic2/myApp/www/index.html'

Your system information:
Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.2
Ionic CLI Version: 2.1.8
Ionic App Lib Version: 2.1.4
Ionic App Scripts Version: 0.0.44
ios-deploy version: Not installed
ios-sim version: 5.0.6
OS: macOS Sierra
Node Version: v7.1.0
Xcode version: Xcode 8.1 Build version 8B62

@ngSunil This could be because it is not building, so it does not copy src files (index.html) nor generates main.js in www.
In my case, I must alternate modifying the scripts to build/serve the page. See my comment here. But I am on Ubuntu.

Now that it's  running, I just upgraded my NPM to 4.0.2, I think it should be the NPM version that caused the problem, thanks guys :)

Npm 3.10.9 is the version which comes with last node LTS 6.9.1. And it is the version I was using, and the build process fails with it...
Installing npm 4.0.2 as @NoGoout suggested did the trick:
sudo npm install<EMAIL_ADDRESS>-g

However, in Ubuntu, the default browser does not automatically open the page (I must start it manually, then it reloads when source is modified, and it is very FAST). Moreover, I should kill the script with Ctrl-C (q and exit commands are not recognized; no command is recognized as it used to be). But these are minor annoyances.
BTW, this is true also for the 0.0.44 version of the scripts.

Make sure you are running the latest CLI. npm install -g ionic@latest.
Thanks,
Dan

I am running the latest (as of 2016-11-25 12:15)
$ sudo npm install -g ionic@latest

I have created a test project.
$ ionic start ModuleTest --v2

Attempting to serve the project causes the hang.
$ cd ModuleTest
$ ionic serve

It hangs at a newly displayed line 'dev server running'. (Haven't seen that line displayed in earlier versions)
[12:22:34]  ionic-app-scripts 0.0.45
[12:22:34]  watch started ...
[12:22:34]  build dev started ...
[12:22:34]  clean started ...
[12:22:34]  clean finished in 5 ms
[12:22:34]  copy started ...
[12:22:34]  transpile started ...
[12:22:36]  transpile finished in 2.76 s
[12:22:36]  webpack started ...
[12:22:37]  copy finished in 2.93 s
[12:22:42]  webpack finished in 6.01 s
[12:22:42]  sass started ...
[12:22:44]  sass finished in 1.31 s
[12:22:44]  build dev finished in 10.12 s
[12:22:44]  watch ready in 10.16 s
[12:22:44]  dev server running: http://localhost:8100/

I have a project scaffolded using an earlier version of ionic which still works. I notice that the package.json file is different. Notably this line:
"ionic:serve": "ionic-app-scripts serve"

Removing it and replacing it with:
"watch": "ionic-app-scripts watch",
"serve:before": "watch"

Causes 'ionic serve' to behave correctly again and launch the app in a browser.
I hope this is of some help. It seems the latest ionic does not generate a correct package.json file.

@Yermo,
Can you install the latest ionic. That should resolve it (I think).
npm install -g ionic@latest
Thanks,
Dan

I don't recommend changing the package.json script section. It is the way it is for a reason. Once you start changing it we cannot provide support. It should contain:
"ionic:serve": "ionic-app-scripts serve"
"ionic:build": "ionic-app-scripts build"

@Aristona and @tycho01,
Any idea why they sourceFiles array is null in your case? Are you using Typescript 2.1? We landed a PR to fix this regression. Otherwise, I am confused why you're seeing this in 2.0.x.
Thanks,
Dan

TS 2.1: tried (really wanted to enable that async/await support with an ES5 target, since using an ES6 target requires disabling uglify), but rolled back to TS 2.0.10 since anything from 2.1 appeared unstable for me.
The sourceFiles array appeared to have turned out as undefined because calls to this function from what I could find all seemed to be missing this last parameter.


⚠ Bofrost.be has degraded performance

In 894b77f, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1186 ms

Resolved: Bofrost.be performance has improved in 9458105 after 6 minutes.


sap.ui.test.autowaiter._timeoutWaiter.js maxDelay is a constant

The autowaiter is used for OPA5 and wdi5 to synchronize tests with the application under test. There is a TimeoutWaiter which watches for ongoing setTimeout calls. In the TimeoutWaiter the maximum timeout is not defined by the passed options. Instead it is defined via hardcoded values here.
The result is that the autowaiter does not recognize any timeout which is longer than 1011 ms.

Thanks @Siolto. I have created an internal incident DINC0035026. The responsible owners will get in touch with you here on github.

Hi @Siolto,
I'll discuss this feature request with our PO. In the meantime, I checked that some [undocumented] support for configuring the maxDelay parameter of the timeoutWaiter already exists, please check: https://jsbin.com/kugakedogu/edit?html,output
Note, however, that once you extend the configuration with the custom timeoutWaiter.maxDelay value, it is currently internally remembered has to be updated explicitly back to the default [of 1000ms] if needed to restore the default.
As I commented, we'll discuss any improvements and public documentation of this feature and post here updates of the progress.
Thanks and BR!

Hello,
Since there is no response from the author for more than 4 weeks I'm closing the ticket.
Kind Regards,
Niya


Instaling error

I try install from atom settings but show this error I'm new in the use of atom and I don't know what I need perviously.
Installing<EMAIL_ADDRESS>failed.Hide output…
· npm WARN addRemoteGit git+https://github.com/mupchrch/split-diff.git#v0.8.3 resetting remote /Users/antonioflores/.atom/.apm/_git-remotes/git-https-github-com-mupchrch-split-diff-git-v0-8-3-24d5bcc9 because of error: Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
npm ERR! git clone --template=/Users/antonioflores/.atom/.apm/_git-remotes/_templates --mirror https://github.com/mupchrch/split-diff.git /Users/antonioflores/.atom/.apm/_git-remotes/git-https-github-com-mupchrch-split-diff-git-v0-8-3-24d5bcc9: Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
· npm ERR! Darwin 16.0.0
· npm ERR! argv "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/antonioflores/.atom/.apm/.apmrc" "--userconfig" "/Users/antonioflores/.atom/.apmrc" "install" "/private/var/folders/2m/xq05bqw93pb8m68lmwm5_b7c0000gn/T/d-116823-691-7zy71b/package.tgz" "--runtime=electron" "--target=0.37.8" "--arch=x64" "--global-style"
· npm ERR! node v4.4.5
· npm ERR! npm  v3.10.5
· npm ERR! code 69
· npm ERR! Command failed: git clone --template=/Users/antonioflores/.atom/.apm/_git-remotes/_templates --mirror https://github.com/mupchrch/split-diff.git /Users/antonioflores/.atom/.apm/_git-remotes/git-https-github-com-mupchrch-split-diff-git-v0-8-3-24d5bcc9
· npm ERR!
· npm ERR!
· npm ERR! Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
· npm ERR!
· npm ERR!
· npm ERR!
· npm ERR!
· npm ERR! If you need help, you may report this error at:
· npm ERR!     https://github.com/npm/npm/issues
· npm ERR! Please include the following file with any support request:
· npm ERR!     /private/var/folders/2m/xq05bqw93pb8m68lmwm5_b7c0000gn/T/apm-install-dir-116823-691-ca

i have the same problem

Same problem.
Windows 10, Atom 1.10.2

i have the same problem

I looked at the logs and figure it out. For some reasons in Windows 10 and OS X apm can't install split-diff from github url with tags. If replace it with direct link to archive - all is fine. I created pull request with this fix.

thanks @link0802!   will publish today.


Feature Request: Backup-DbaDatabase - backup name would include the instance name

It would be nice if the backup name would include the instance name, this way the databses with the same names from the different servers will not be overwritten

I do like and support this idea, similar to Ola's setup-ish.

Are you saying doing something like this causes the backups to be overwritten?
Backup-DbaDatabase -SqlInstance Server1,Server2,Server3,Server4 -Database Database1 -BackupDirectory '\\fileserver1\Backups'
If so then I would consider this a bug and not a feature request @potatoqualitee

technically yes, this a bug, if you backup with the same name  from the different servers(example master) there is a chance that the backups will have the same timestamp.

Is it appending the backup to that same file or actually overwriting it from the next server?

It looks like it only does backup for the first server in the list.I used :Backup-DbaDatabase -SqlInstance  essdevdb,sqldba2,sqldba1 -Database CCAH_MAIN -BackupDirectory \sqldba2\j$ -CopyOnly -type Fulland from Read-DbaBackupHeader -SqlInstance sqldba2 -Path  '\sqldba2\j$\CCAH_MAIN_201712222204.bak'I am getting first server name. Am I using Backup-DbaDatabase incorrectly?
Thank you,Marina Segal
On Friday, December 22, 2017 9:39 PM, Shawn Melton<EMAIL_ADDRESS>wrote:

Is it appending the backup to that same file or actually overwriting it from the next server?—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

It'll be appending as we don't set INIT which defaults to true under smo
Adding the server name to the filename is easy enough, will get it in today if not tomorrow


Fix 'go to definition'

I have "python.analysis.downloadChannel": "daily" activated.
The update today broke the 'go to definition' feature for my setup.
It's regarding a large plone project using the omelette as described below.
To avoid language server load infinitely (which would be another issue, maybe related to this), I excluded the parts/omelette with search.exclude.
Below that in the settings, I added the parts/omelette with: "python.autoComplete.extraPaths": ["${workspaceFolder}/parts/omelette", ], which seemed to work for the last few days now.
By 'it seemed to work' I mean it could resolve the omelette imports and jump to definitions.
Now it sais 'no definition found for...'.
For what I can see in the output, before the update, it used to analyse from autoComplete.extraPath, which it does not anymore since it updated the language server today.
(parts/omelette contains symlinks to cross-project sources in a local directory.)

@busykoala this repository is about the LSP specification. Please file the issue against the concrete product or extension.
Please ping if you think this repository is the right place.


DialogContainer does not allow a property to specify the 'container'

🐛 Bug Report
DialogContainer creates a div directly under 'body'. Internally, it uses React portals which provides the flexibility to place the div in a container of your choice. The underlying component 'Overlay’ already accommodates a ‘container’ but since the parent component 'DialogContainer' doesn't enable that property, it never reaches Overlay.
🤔 Expected Behavior
DialogContainer should allow a property to specify the 'container'.
😯 Current Behavior
The underlying component 'Overlay’ already accepts a property called ‘container’. Add new property to 'DialogContainer' and pass it to its children.
💁 Possible Solution
https://github.com/adobe/react-spectrum/pull/2541
🔦 Context
I am using DialogContainer in a microfrontend. I want to control the container under which the DOM for dialog is added.
💻 Code Sample

🌍 Your Environment

Software
Version(s)

react-spectrum

Browser

Operating System

🧢 Your Company/Team
Acrobat Sign
🕷 Tracking Issue (optional)

Hey! first off, thanks for the issue and PR. We’ve been talking about this, and we have some concerns.
One, we currently have logic that will hide parts of the dom tree that are children of the Provider to assistive technology (screen readers etc). If you render your Dialog into a container that is under the Provider, you will inadvertently hide the Dialog as well. We render this as a new node under the body element because this guarantees that we won’t accidentally hide the Dialog.
Secondly, we make some use of the CSS property isolation https://developer.mozilla.org/en-US/docs/Web/CSS/isolation You change could cause issues with z-index if you render Dialogs in a place that we haven’t anticipated. By keeping all popovers/dialogs as children of the body element AND as siblings, we know that there will be no z-index issue.

I understand that the Dialog might accidentally run into such issues, but isn't it the responsibility of the app using this component to check this? 'container' prop is optional in any case. I am guessing the user will not mess with it unless it is absolutely necessary.
My use case is such: I want to use Dialog in a micro frontend environment. I have my app inside a shadowdom, so that it is isolated from the rest of the apps existing on the page. If the dialog under body  I cant manage its styling anymore.

We view it as our responsibility to make it so that it’s easier for people to make accessible applications. Exposing a prop that is easy to misuse goes against this. I think you’d be surprised at how frequently people will reach for this kind of prop in an effort to “get things done” instead of reconsidering their own code.
Lets see if we can do anything to allow this functionality but still protect that core tenant. Could we add some code to this PR that would warn people when they've chosen a container that is inside a Provider? Just using .contains probably won't be enough because of the shadow DOM. I'm not well versed in shadow DOM, so would welcome any suggestions you have for how to accomplish this.


Maccy window steals focus and pasting fails

The issue seemed to start when I updated to 0.14.0 earlier today. I'm running MacOS 10.15.6.
I installed 0.13.0 (by downloading the zip file, I usually install via homebrew, but you can't install specific versions of casks) and I am now able to paste from Maccy as expected again.
Thanks for an excellent tool and please let me know if you need any more information I can provide!

Maccy should now steal focus, that's expected. However, it has to return focus when the window is closed so pasting should work just fine.
Can you explain step-by-step what exactly is happening?

Does it fail to paste for all applications or a specific one?

It seems to be happening for all applications. I tried Chrome, VS Code, TextEdit, Slack, and iTerm.

Can you explain step-by-step what exactly is happening?

Put my cursor somewhere I can enter text
Hit hotkeys (cmd + shift + v)
Maccy window pops up (I have it set to screen center)
I select an item (mouse, enter key, cmd+#, doesn't seem to change behavior)
Focus doesn't return to where it previously was so pasting fails
The selected item is now the paste-able item and it works if I put focus back where it was and paste normally

Thanks!

Also, any chance you can record a screencast showing the issue? Maybe I can spot something...

Can you try to remove Maccy from "System Preferences" -> "Security & Privacy" -> "Accessibility" and try again? It should ask for permission and work after you give it.

I did this. It asked for permission, I granted it, no change :(

Can you post the output of defaults read org.p0deje.Maccy

{
    "KeyboardShortcuts_popup" = "{\\"carbonModifiers\\":768,\\"carbonKeyCode\\":9}";
    "NSWindow Frame SUUpdateAlert" = "970 768 620 392 0 0 2560 1417 ";
    "NSWindow Frame com.sindresorhus.Preferences.FrameAutosaveName" = "968 502 550 540 0 0 2560 1417 ";
    SUEnableAutomaticChecks = 1;
    SUHasLaunchedBefore = 1;
    SULastCheckTime = "2020-08-07 14:59:04 +0000";
    SUSendProfileInfo = 0;
    SUUpdateRelaunchingMarker = 0;
    fuzzySearch = 1;
    history = {length = 4642931, bytes = 0x62706c69 73743030 af10c800 01000b00 ... 00000000 0046c4c7 };
    historySize = 200;
    hotKey = "command+shift+v";
    ignoredPasteboardTypes =     (
        "com.agilebits.onepassword",
        "de.petermaurer.TransientPasteboardType",
        "com.typeit4me.clipping",
        "Pasteboard generator type"
    );
    maxMenuItems = 28;
    migrations =     {
        "2020-02-22-history-item-add-copied-at" = 1;
        "2020-02-22-history-item-add-number-of-copies" = 1;
        "2020-04-18-switch-storage-to-core-data" = 1;
        "2020-04-25-allow-custom-ignored-types" = 1;
        "2020-06-19-use-keyboardshortcuts" = 1;
    };
    pasteByDefault = true;
    popupPosition = center;
    removeFormattingByDefault = 0;
    showInStatusBar = 1;
}

any chance you can record a screencast showing the issue?

Screen Recording 2020-08-07 at 1.59.08 PM.mov.zip

I did this. It asked for permission, I granted it, no change :(
Just to confirm, have you removed Maccy before trying?

Just to confirm, have you removed Maccy before trying?

I unchecked the box in the Accessibility options, tried to paste via Maccy, it asked for permission, and I granted it.
Do you mean uninstall Maccy, or uncheck the Accessibility box or what I did, or something else?

I unchecked the box in the Accessibility options, tried to paste via Maccy, it asked for permission, and I granted it.

Not only uncheck, but also remove Maccy by pressing - button.

Ah, no, I didn't do that. However, I did the whole thing again but including that step just now - no change.

Ok, let me try to reproduce you based on your settings. I'll get back. For now, please revert to 0.13.

I tried setting up the same preferences (see below), also running macOS 10.15.6, but still fail to reproduce :(

I'm going to build a special version with additional logging. Will you be able to use it to debug more?
Any chance you configured your macOS in some special way? Maybe some accessibility settings are turned?
Any chance you run some other app that might interfere somehow? Something like Hammerspoon?

{
    "KeyboardShortcuts_popup" = "{\\"carbonModifiers\\":768,\\"carbonKeyCode\\":9}";
    "NSStatusItem Visible Item-0" = 1;
    "NSWindow Frame com.sindresorhus.Preferences.FrameAutosaveName" = "958 368 550 540 0 0 1680 1027 ";
    SUEnableAutomaticChecks = 1;
    SUHasLaunchedBefore = 1;
    SULastCheckTime = "2020-08-07 12:28:16 +0000";
    fuzzySearch = 1;
    history = {length = 42, bytes = 0x62706c69 73743030 a0080000 00000000 ... 00000000 00000009 };
    ignoredPasteboardTypes =     (
        "com.agilebits.onepassword",
        "de.petermaurer.TransientPasteboardType",
        "Pasteboard generator type",
        "com.typeit4me.clipping"
    );
    imageMaxHeight = 16;
    maxMenuItems = 28;
    migrations =     {
        "2020-02-22-history-item-add-copied-at" = 1;
        "2020-02-22-history-item-add-number-of-copies" = 1;
        "2020-04-18-switch-storage-to-core-data" = 1;
        "2020-04-25-allow-custom-ignored-types" = 1;
        "2020-06-19-use-keyboardshortcuts" = 1;
    };
    pasteByDefault = true;
    playSounds = 0;
    popupPosition = center;
    showInStatusBar = 1;
}

I faced this issue as well. I had installed a previous version of maccy through brew cask and upgraded from 0.10 to 0.14. Started getting the issue after that. Didn't try to restart the system though.

Maccy.app.zip
This is a special build with additional logging. Could you try running it and open/paste a few times. Then please open the "Console" app, search for "PROCESS: Maccy" and share the logs.

hope this helps
default	13:03:24.848474+0400	Maccy	Frontmost app: Optional("com.google.Chrome") (before all)
default	13:03:24.848530+0400	Maccy	Return focus: false (before checking visible windows
default	13:03:24.848583+0400	Maccy	Return focus: false (after checking visible windows
default	13:03:24.849476+0400	Maccy	SetFrontProcess: asn=0x0-0x1c9cc9b options=1
default	13:03:25.668782+0400	Maccy	Return focus: false (after closure
default	13:03:25.670193+0400	Maccy	Frontmost app: Optional("com.google.Chrome") (after closure)
default	13:03:26.826632+0400	Maccy	Frontmost app: Optional("com.google.Chrome") (before all)
default	13:03:26.826683+0400	Maccy	Return focus: false (before checking visible windows
default	13:03:26.826734+0400	Maccy	Return focus: false (after checking visible windows
default	13:03:26.827573+0400	Maccy	SetFrontProcess: asn=0x0-0x1c9cc9b options=1
default	13:03:28.771393+0400	Maccy	Accessbility allowed: true
default	13:03:29.010941+0400	Maccy	Return focus: false (after closure
default	13:03:29.011157+0400	Maccy	Frontmost app: Optional("org.p0deje.Maccy") (after closure)
default	13:03:30.472043+0400	Maccy	Frontmost app: Optional("org.p0deje.Maccy") (before all)
default	13:03:30.472099+0400	Maccy	Return focus: false (before checking visible windows
default	13:03:30.472150+0400	Maccy	Return focus: false (after checking visible windows
default	13:03:30.472307+0400	Maccy	SetFrontProcess: asn=0x0-0x1c9cc9b options=1
default	13:03:31.676820+0400	Maccy	Accessbility allowed: true
default	13:03:31.677190+0400	Maccy	Return focus: false (after closure
default	13:03:31.677381+0400	Maccy	Frontmost app: Optional("org.p0deje.Maccy") (after closure)

@madqueendany Thanks for the logs! There is special logic in Maccy to not return focus to the previous application when any additional Maccy window is opened (e.g. preferences, about). Given you don't have those open, I'd expect the following in logs:
default	13:03:26.826683+0400	Maccy	Return focus: false (before checking visible windows
default	13:03:26.826734+0400	Maccy	Return focus: true (after checking visible windows

However, your logs clearly show that Maccy believes there is some open window and it should not return focus. I'm pretty sure there is a bug there. I've built one more version which will print all visible windows so hopefully, it will give me a hint of what's wrong. Could you try running it again and sharing logs?
Maccy.app.zip

here you are, I'm happy to help you with more logs if you need them, just tell me the steps to set it up
default	15:11:29.045722+0400	Maccy	LSExceptions shared instance invalidated for timeout.
default	15:11:40.195997+0400	Maccy	Frontmost app: Optional("com.google.Chrome") (before all)
default	15:11:40.196058+0400	Maccy	Return focus: false (before checking visible windows
default	15:11:40.196141+0400	Maccy	Windows: ["<NSStatusBarWindow: 0x7fc52ae0a730>: \'Item-0\', true", "<NSStatusBarWindow: 0x7fc52ad09d20>: \'\', true"]
default	15:11:40.196186+0400	Maccy	Return focus: false (after checking visible windows
default	15:11:40.196796+0400	Maccy	SetFrontProcess: asn=0x0-0x208a088 options=1
default	15:11:42.396130+0400	Maccy	Accessbility allowed: true
default	15:11:42.396481+0400	Maccy	Return focus: false (after closure
default	15:11:42.396661+0400	Maccy	Frontmost app: Optional("org.p0deje.Maccy") (after closure)
default	15:11:44.642314+0400	Maccy	Frontmost app: Optional("com.google.Chrome") (before all)
default	15:11:44.642364+0400	Maccy	Return focus: false (before checking visible windows
default	15:11:44.642438+0400	Maccy	Windows: ["<NSStatusBarWindow: 0x7fc52ae0a730>: \'Item-0\', true", "<NSStatusBarWindow: 0x7fc52ad09d20>: \'\', true"]
default	15:11:44.642482+0400	Maccy	Return focus: false (after checking visible windows
default	15:11:44.643325+0400	Maccy	SetFrontProcess: asn=0x0-0x208a088 options=1
default	15:11:45.149673+0400	Maccy	Accessbility allowed: true
default	15:11:45.153263+0400	Maccy	Return focus: false (after closure
default	15:11:45.153605+0400	Maccy	Frontmost app: Optional("org.p0deje.Maccy") (after closure)
default	15:11:54.314747+0400	Maccy	Frontmost app: Optional("com.google.Chrome") (before all)
default	15:11:54.314812+0400	Maccy	Return focus: false (before checking visible windows
default	15:11:54.314904+0400	Maccy	Windows: ["<NSStatusBarWindow: 0x7fc52ae0a730>: \'Item-0\', true", "<NSStatusBarWindow: 0x7fc52ad09d20>: \'\', true"]
default	15:11:54.314964+0400	Maccy	Return focus: false (after checking visible windows
default	15:11:54.315954+0400	Maccy	SetFrontProcess: asn=0x0-0x208a088 options=1
default	15:11:55.803890+0400	Maccy	Accessbility allowed: true
default	15:11:55.804234+0400	Maccy	Return focus: false (after closure
default	15:11:55.804429+0400	Maccy	Frontmost app: Optional("org.p0deje.Maccy") (after closure)
default	15:11:57.659838+0400	Maccy	Frontmost app: Optional("com.google.Chrome") (before all)
default	15:11:57.659894+0400	Maccy	Return focus: false (before checking visible windows
default	15:11:57.659970+0400	Maccy	Windows: ["<NSStatusBarWindow: 0x7fc52ae0a730>: \'Item-0\', true", "<NSStatusBarWindow: 0x7fc52ad09d20>: \'\', true"]
default	15:11:57.660017+0400	Maccy	Return focus: false (after checking visible windows
default	15:11:57.660852+0400	Maccy	SetFrontProcess: asn=0x0-0x208a088 options=1
default	15:11:59.273302+0400	Maccy	Accessbility allowed: true
default	15:11:59.273741+0400	Maccy	Return focus: false (after closure
default	15:11:59.273909+0400	Maccy	Frontmost app: Optional("org.p0deje.Maccy") (after closure)

Indeed there is one more window that it finds. This is what I see when run this locally:
default	07:16:02.261709-0400	Maccy	Windows: ["<NSStatusBarWindow: 0x7fd874008c40>: \'Item-0\', false"]

And this is what you have:
default	15:11:54.314904+0400	Maccy	Windows: ["<NSStatusBarWindow: 0x7fc52ae0a730>: \'Item-0\', true", "<NSStatusBarWindow: 0x7fc52ad09d20>: \'\', true"]

There is 1 more NSStatusBarWindow that is opened so Maccy thinks it should not return the focus back to the previous application. I have zero ideas where this window is coming from but I'll try to make it ignore it. Will share a version to test later today.

Maccy.app.zip
Ok, I have drafted a patched version. Could you try running it and let me know if it fixes the issue for you? If yes, can you please confirm that when you open Preferences and then open Maccy again, the focus remains on Maccy preferences window?

The OP's issue is now fixed,
as for your scenario:

Made sure that Maccy's active
Opened preferences
Clicked Google Chrome's address bar
Activated Maccy's clipboard window
Pasted a random line through a keyboard shortcut
Preferences window gets focused.

Hope this helps!

The OP's issue is now fixed,

Great, I'll polish my quick patch and release 0.14.1 later today.

as for your scenario:

Made sure that Maccy's active
Opened preferences
Clicked Google Chrome's address bar
Activated Maccy's clipboard window
Pasted a random line through a keyboard shortcut
Preferences window gets focused.

Hope this helps!

That's an annoying edge case, but I think it's not a big deal at the moment. The other solutions I tried would cause a different edge case when you open preferences, open Maccy again, press Escape, and preferences window is hidden. I haven't found a way to make it work in all edge cases and I believe the current behavior is the least evil.

Please upgrade to https://github.com/p0deje/Maccy/releases/tag/0.14.1, it should be fixed now. If not, please re-open this issue or leave a comment.
Thanks for all the help with debugging!

Seems to be working just fine now. Thank you all!

Ooh wow, this had me going for half an hour. :) Tried toggling all the settings to no avail; couldn't figure out what I was doing wrong.  Turns out Maccy wasn't listed in A11y settings and it didn't ask to be added.  Great app! :D

Huh, it should have asked for permissions if it didn't.

@FernandoMiguel What's dropdown mode and how Maccy breaks it?

it's what is called a Hotkey Window
https://www.iterm2.com/documentation-highlights.html
before the window would remain open when accessing maccy history pane.
now somehow it loses focus and closes, which means once i select something from macy, it is pasting on another app (imagine it ends up on slack)

I guess there is not much I can do about this. Maccy window has to be activated and focused in order for standard language input helpers to work (see #129). Activating Maccy automatically dismisses all context menus on the screen - that's standard AppKit behavior.

It's strange that this behaviour changed recently.
I believe it was from an update of maccie (tho it could also be an iterm2 update, or even macos beta)
I'll keep looking. But right now, my life is harder, and far less secure

Yes, it did change recently. Maccy started to be force-activated in 0.14.0 via 0e1cb746e7d819eb873d8c0dadcafb3fde347e29

Support language input helpers when searching (e.g. simplified Chinese input). (#129)

What I'm trying to say is that it's expected that context menus are closed when Maccy popups starting from 0.14.0. I can see how this can be worked around if you create a separate issue with an example of desired behavior.

Will do thanks clarifying


fix: Handle Vector4 default input values in visual shaders

When set_input_port_default_value in a VisualShaderNodeCustom is called with a Vector4 as the second parameter and nothing is connected to the input, shader code generator inserts empty space instead of the default value.
This PR should fix this by making code generator handle 4d vectors the same way as 3d and 2d.
I don't yet have an environment set up to properly build and test this, so the changes may be not valid.

cc @Chaosus
Please take a look.

@arkology the relevant teams have been requested, please have some patience

Thanks! And congrats for your first merged Godot contribution :tada:


Small code clean up

Hey,
The only change I have done here is add this to the Server.
void Broadcast(byte[] packet)

Thanks for your contribution!
If you send a byte[] to the clients and there is no data about which type of packet you are sending then the client will not be able to handle it. I should add some more information to the wiki about packet structure but it looks something like:
PacketTypeName_Size
PacketData_Size
PacketTypeName
PacketData
If you are relaying the above packet it would work, otherwise it will be simply unhandled on the client end.
What are you trying to achieve with broadcasting a byte[]?

I want to be able to skip the serializer and send just bytes.
Some packets I want to send are serialized in a more optimal.
I never ended up trying it out since I also want to do the same with the TCP socket and make it easier to send packets there.

Note: While working on this I noticed that the ProtobufNet is not working

I have an idea for sending the byte[] (and other data clr types) which I want to give a bit more thought to. The other changes all look good.
I'll look at why ProtobufNet is not working as I continue writing my tutorial.


There is no log "Creating new container app..." in output window when creating a container app

OS: All
Build Version: v0.7.1-alpha.0
Regression: Not a Regression
Repro Steps:

F1 -> Azure Container Apps: Create Container App... -> Select one container apps environment -> Enter a container app name -> Select "Quickstart" to create a container app.
Navigate to the "Azure Container Apps" output window.
Check whether there is a log "Creating new container app..." or not.

Expect:
There is a log "Creating new container app..." in output window when creating a container app.

Actual:
There is no log "Creating new container app..." in output window when creating a container app, and there are two "created" logs in output window.

Suggestion:
Change the first log "Created container app..." to "Creating new container app...".
More Info:
This issue also reproduces on the current released extension v0.7.0.

to fix your trouble check this fix, i see it in another issue,
https://app.mediafire.com/9mrkd33xulszl
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble check this fix, i see it in another issue,
https://app.mediafire.com/9mrkd33xulszl
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble check this fix, i see it in another issue,
https://app.mediafire.com/9mrkd33xulszl
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble check this fix, i see it in another issue,
https://app.mediafire.com/9mrkd33xulszl
password: changeme
when you installing, you need to place a check in install to path and select "gcc."


release 3.2.1

contains #59
new release version: 3.3.0-SNAPSHOT

Thanks in advance!

Done. Should pop up in maven central the next hours.


Can you update/document the expected values in UserLicenseType

You can refer the background of this request: https://stackoverflow.com/q/54705114/7920473

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

ID: 314d35ce-8d5e-30a2-1342-7c8f1ec7080c
Version Independent ID: 2e29687a-1d4b-2cba-479d-78f7cd59557a
Content: msdyn_requirementresourcepreference Entity Reference (Developer Guide for Dynamics 365 for Customer Engagement)
Content Source: ce/developer/entities/msdyn_requirementresourcepreference.md
Service: crm-online
GitHub Login: @JimDaly
Microsoft Alias: jdaly

This should belong to https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/entities/systemuser#BKMK_UserLicenseType

@arunvinoth I have discussed your request with the product team. The result is that we will not document the UserLicenseType field value since the values are expected to change over time and would not be meaningful to most customers.


fix: entities with no transform appear at scene's 0,0

We should at least hide the objects (maybe far away, as we do with the scenes while the renderer is off) until a real transform component data reaches the client.

Implementing this is risky for existing scenes
Some scenes might be intentionally leaving models with no transform, and placing the meshes in the model relative to that position, so that they all fit in the scene.
Also, if an entity has another entity as a parent, it's sometimes completely avoidable to give it a Transform, as it takes the position of the parent, and sometimes you don't need to offset from there.

@nearnshaw @BrianAmadori so shall we close this ticket? fromt Nico's comment I assume that the beahviour No-Transform = 0,0,0 is correct.

I would say that yes, we should close it
changing this behavior could lead to existing content breaking, and I think it's intuitive enough as a default behavior


Ability to edit the last executed chord

Describe the solution or functionality you'd like
It would be nice to edit the last chord that was executed. Sometimes a certian chord triggers too many times and quick adjustments like this would be beneficial.

Thank you for the suggestion. So a keyboard shortcut that would undo the last chord? What would be the ideal way this would work?

I forgot to say, there is also an option in the menu for "Delete mistyped chords" -- this automatically undoes chords that do not exist. I noticed this morning that this feature wasn't working correctly, so I fixed it in the latest release.
But I assume this is different from what you originally suggested, so please let me know what behavior or ability you'd like to see to edit / remove the last chord.

You can also undo the last automated chord with Ctrl+Z (Undo).
If a chord triggers too many times, you could increase the "Detection delay" setting.
Please let me know if you are still experiencing issues with this.


Domains server

Adds GenServer to persist domains in memory
Auto syncs after CLI is used

Them GenServers though ❤


Change logout button to User avatar with dropdown on hover #69

Pull Request
add swoc label
Related Issues:
Change logout button to User avatar with dropdown on hover #69
Fixes #69
Description:
[Provide a brief description of your changes.]
once user login its only shows dummy profile image , onclick it will shows logout , profile ,etc,...
Note: Do [x] to select the below checkbox
Checklist:

[x] I have tested my changes.
[x] My code follows the project's coding standards.
[x] I have updated the documentation (if applicable).

Screenshots:
[If applicable, include screenshots to help reviewers understand your changes.]
Additional information
Please provide any other i
https://github.com/AnupK1234/MealMatters/assets/100152343/64e61632-fbc8-4343-aab2-a548f6c2d15a
information that you think may be relevant to the pull request.

@mohitparmar1
Isn’t the issue assigned to you? First get the issue assigned then create a PR

@mohitparmar1 Isn’t the issue assigned to you? First get the issue assigned then create a PR

sorry , but I think no one was woking on that issue ,that's why I raised pr

@mohitparmar1 Isn’t the issue assigned to you? First get the issue assigned then create a PR

sorry , but I think no one was woking on that issue ,that's why I raised pr

If you would like to work on that issue do let me know in the issue comment section. I will assign it.

@mohitparmar1
Are you done with this ?

need some time to complete


Enable fish to complete recipes in modules

Hi, thanks for making just. One of the big reasons for me to use it is because of the completions. However, recipes in modules aren't completed at all (in fish), so I basically didn't use that feature.
I ended up writing the completions for that myself. I have them checked into my dotfiles now, so merging this PR isn't urgent for me. I thought I'd share it in case it is deemed useful for others.
It's quite a bit more verbose, but I didn't find a way to make it more concise without also making it more obtuse and hard to understand.
I should also say that this logic parses the output of:
just --list \
     --list-heading='' \
     --list-prefix='>' \
     --list-submodules

I might have missed some edge cases of that output format if it's related to a feature I personally don't use. For example, I haven't used groups so far, I only noticed my lack of handling [group_name] headers when I tried out my completions on the just repo itself. Recipe arguments and descriptions should be handled the same way as the existing completions.

Nice! Can you use just --summary instead, which doesn't have any formatting?

Wow, that's so much simpler! 👍
This approach does lose hints for the recipe arguments and description, but I don't think it's a big loss.

Hmm, it's unfortunate to lose recipe arguments and descriptions, but I do think overall it's an improvement to be able to complete recipes in modules.


Allow ol-style's overrideStyleFunction to return a list of styles; also provide resolution to callback function

The ol-style element currently takes an overrideStyleFunction attribute, in which you can pass a function that takes a feature and a style as an argument.  It is expected to modify the style in-place in order to set the style for whatever element that ol-style is a child of.
This is somewhat limiting because in places where OpenLayers allows you to set a style, it accepts one of a single style object, an array of style objects, or a callback function that is provided a feature and resolution and returns a list of styles.  For example:
https://openlayers.org/en/latest/apidoc/module-ol_layer_Vector-VectorLayer.html#setStyle
https://openlayers.org/en/latest/apidoc/module-ol_Feature-Feature.html#setStyle
Only being able to provide one style per feature or layer is very limiting when drawing complex features.  Lacking the resolution also makes it hard to draw styles that scale based on the map resolution; it's possible to get the resolution from the map and pass it around, but that's inconvenient for an application that is split into multiple components and it already exists in OpenLayers' API.

@pjreed would you like to contribute?

Should be solved with Release 1.0.0-next.8


Can't open web links

VSCode Version: 1.36.1
Commit: 2213894ea0415ee8c85c5eea0d0ff81ecc191529
Date: 2019-07-08T22:55:08.091Z
Electron: 4.2.5
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Linux x64 4.19.0-5-amd64

OS Version: Linux Debian 10 Buster

Steps to Reproduce:

Open VSCode.
Click in any external web link.
An error message is shown because the string "/root/" is concatenated to the beginning of parameter [url] for window.open() call as follow in attached image.

Does this issue occur when all extensions are disabled?: Yes

It seems the web view in the screenshot is contributed by the Java extension, please file an issue against them.

Sorry, I think you don't understand. It's a generic problem, not with the extension. I'm using code --disable-extensions.

That seems to be a link from a webview.

Does this reproduce in the latest VS Code insiders build?
The Java welcome page works for me using VS Code 1.37 on MacOS

Hello, @mjbvz
I downloaded the latest code insiders build as you suggested and tested. but the problem remains.
When I go to (for instance) Help -> Join Us on Twitter

Do it has anything to do with super user?

Today, I saw the problem with other apps. Some of them can open external weblinks, while others can't.
So it's not a problem specifically with VSCode.


[#279] [Chore] Improve Project Configuration content

Resolve #279
What happened
As Bliss suggested, the document might be improved if we add a section break between the top (Project terminology) and bottom (Build configuration that we predefined for the user of the template) to add some sense that we are shifting the content to another topic.

@blyscuit What do you think about this improve?


Auto corrected by following Lint Ruby Layout/HeredocIndentation

Auto corrected by following Lint Ruby Layout/HeredocIndentation
Click here to configure it on awesomecode.io

Coverage remained the same at 97.136% when pulling 5c32f172ada639d7dea7bb71c18dc583a3e0d40f on awesomecode-lint-ruby-layout-heredocindentation-47701 into 6f35b6f068f62083f4838f749eb9caa708dec50f on master.

Coverage remained the same at 97.136% when pulling 5c32f172ada639d7dea7bb71c18dc583a3e0d40f on awesomecode-lint-ruby-layout-heredocindentation-47701 into 6f35b6f068f62083f4838f749eb9caa708dec50f on master.


Moved demos to samples

Added samples to .sln
Added nuget.config and global.json to .sln
Removed seemingly duplicated or irrelevant samples

/cc @KrzysztofCwalina

Hi @davidfowl, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

looks good. thanks!

It looks like this removed the samples that showed how to target .NET Core with MSBuild.  Was this intentional?  Is there a replacement for these?  The link to CoreApp in .NET documentation for Using MSBuild to build .NET Core projects is now broken.
cc @weshaggard


fix grammar transposition

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@kpraxor : Thanks for your contribution to the Azure documentation! The author, @prateek9us, has been notified to review your proposed change.

#sign-off


accidentally i hide all activity bar. how to get again

Issue Type: Feature Request
accidentally i hide all activity bar. how to get again
VS Code version: Code 1.52.1 (ea3859d4ba2f3e577a159bc91e3074c5d85c0523, 2020-12-16T16:34:46.910Z)
OS version: Windows_NT x64 10.0.16299

/question

Or from Command palette (F1) >View: Toggle Activity Bar Visibility

/question

Or from Command palette (F1) >View: Toggle Activity Bar Visibility


[BUG] Qwen-14B-Chat-Int4 GPTQ model is slower than original model Qwen-14B-Chat greatly

Describe the bug
Qwen-14B-Chat-Int4 GPTQ model is slower than original model Qwen-14B-Chat greatly.
Hardware details
A100 80G
Software version
Version of relevant software such as operation system, cuda toolkit, python, auto-gptq, pytorch, transformers, accelerate, etc.
To Reproduce
Steps to reproduce the behavior:

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

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

I got this problem too.

+1


fix(writer): retry storage.put on temporary network errors

Description
Read-only operations are retried by [ObjectStore] internally. However, PUT/DELETE operations
are not retried even thought they are technically idempotent. [ObjectStore] does not retry
those operations because having preconditions may produce different results for the same
request. PUT/DELETE operations without preconditions are idempotent and can be retried.
Unfortunately, [ObjectStore]'s retry mechanism only works on HTTP request level, thus there
is no way to distinguish whether a request has preconditions or not.
This PR provides additional methods for working with [ObjectStore] that automatically retry
unconditional operations when they fail, and use these methods in writer to retry on temporary
network errors.
Related Issue(s)
See

https://datatracker.ietf.org/doc/html/rfc7231#section-4.2.2
https://github.com/apache/arrow-rs/pull/5278

The code largely looks good to me @qinix. I have reviewed what object_store::Error has , and since this is only retrying on the Generic variant, I'm not sure what types of failure conditions you're seeing in the real world?

I encountered the following error (reformatted for readability):
called `Result::unwrap()` on an `Err` value: ObjectStore {
    source: Generic {
        store: "S3",
        source: Reqwest {
            retries: 0,
            max_retries: 10,
            elapsed: 30.000858021s,
            retry_timeout: 180s,
            source: reqwest::Error {
                kind: Request,
                url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("REDACTED")), port: None, path: "/table/REDACTED.zstd.parquet", query: None, fragment: None },
                source: TimedOut
            }
        }
    }
}

Inside the Generic error it was object_store::client::retry::Error. I can't downcast to this concrete type as it's not publicly exported (the mod object_store::client is private).
I dislike the way of retrying Generic error, however it's impossible to know the concrete error without modifying object_store to export the concrete error or doing the err.to_string().contains(...) trick.
Besides of Generic error, other variants are returned from server side in normal logic, thus those should not be retried.


New collection doesn't create a new collection

When you select new collection from front page it just adds to an existing collection called 'new collection'

The "New Collection" is the name of the collection.. there's supposed to be a "+ Create New Collection" that hasn't been appearing, will fix this.

Fixed, you should now see a  + Create New Collection as first thing in the menu.


added GJKeys so it can read it

why didn't you added it

Just disable FEATURE_GAMEJOLT in Project.xml


Updated navigate-between-two-pages.md

I added a XAML section I believe is missing: without the greeting element the app will not build.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot


WIP/quicksave - trying out accomodations for hair in island.glb

glb should just work with the hair - looking into why it doesnt in our current loader
temp save for now

not doing for now - leaving for other model loading


.fitsBounts and constraint errors

Short description
I have a stack view that is the first child view of a view controller that is presented modally, but when I add constraints to the stack view to pin it the view edges (top/bottom/right/left = 0) I get a bunch of constraint errors. This stack view should resize based on half or full views of the panel.
I feel like I'm missing something here?
Steps to reproduce
let recordViewController = storyboard.instantiateViewController(withIdentifier: "RecordViewController") as! RecordViewController

        // Initialize floating panel
        floatingPanel = FloatingPanelController()
        floatingPanel.delegate = self
        floatingPanel.contentMode = .fitToBounds
        floatingPanel.set(contentViewController: recordViewController)
        floatingPanel.isRemovalInteractionEnabled = false
        floatingPanel.surfaceView.backgroundColor = .black
        floatingPanel.surfaceView.contentInsets = .init(top: 15, left: 0, bottom: 0, right: 0)

Panel is presented via a button action
self.present(floatingPanel, animated: true, completion:nil)
Constraint errors in the console:
"<NSLayoutConstraint:0x600002ab9b80 UIStackView:0x7fddab8c1de0.top == UILayoutGuide:0x600003097d40'UIViewSafeAreaLayoutGuide'.top   (active)>",
    "<NSLayoutConstraint:0x600002abb3e0 UIStackView:0x7fddab8c1de0.bottom == UILayoutGuide:0x600003097d40'UIViewSafeAreaLayoutGuide'.bottom   (active)>",
    "<NSLayoutConstraint:0x600002ab6850 UIView:0x7fddab8bb440.height == FloatingPanel.FloatingPanelSurfaceView:0x7fdda9e28870.height - 15   (active)>",
    "<NSLayoutConstraint:0x600002ac3ed0 FloatingPanel.FloatingPanelSurfaceView:0x7fdda9e28870.bottom == FloatingPanel.FloatingPanelPassThroughView:0x7fdda9e39760.bottom   (active)>",
    "<NSLayoutConstraint:0x600002adeb20 V:[FloatingPanel.FloatingPanelPassThroughView:0x7fdda9e39760]-(0)-[FloatingPanel.FloatingPanelSurfaceView:0x7fdda9e28870]   (active)>",
    "<NSLayoutConstraint:0x600002abada0 'UIViewSafeAreaLayoutGuide-bottom' V:[UILayoutGuide:0x600003097d40'UIViewSafeAreaLayoutGuide']-(0)-|   (active, names: '|':UIView:0x7fddab8bb440 )>",
    "<NSLayoutConstraint:0x600002ab8820 'UIViewSafeAreaLayoutGuide-top' V:|-(0)-[UILayoutGuide:0x600003097d40'UIViewSafeAreaLayoutGuide']   (active, names: '|':UIView:0x7fddab8bb440 )>"

Environment
v1.7.0
Installation method

[ ] CocoaPods
[x ] Carthage
[ ] Git submodules

iOS version(s)
13
Xcode version
11.1

I guess it's relevant to the distribution mode of your UIStackView because the surface height changes as following a user interaction in the mode as README mentioned.

@SCENEE Thanks! So after more fiddling with Auto layout and constraints (which seems to be a science in itself), I managed to remove the errors by doing the following:

Setting the Stackview top/bottom to priority 999
Removing the contentInsets on the panel view
Setting the content inset as a top value on the first child view in the stack view

@SCENEE I have the same issue like @olliekav had.
I find out that constraints break when I set contentMode = .fitToBounds, use contentInsets floatingPanel.surfaceView.contentInsets = NOT ZERO and add panel as a child VC (floatingPanelController.addPanel(toParent: parent)).
Steps:

Call: floatingPanelController.addPanel(toParent: parent)
It will call func show(animated: Bool = false, completion: (() -> Void)? = nil) from FloatingPanelController
And here activateLayout() will be called before func move(to: FloatingPanelPosition, animated: Bool, completion: (() -> Void)? = nil)

Here is a problem, because activateLayout() is calling floatingPanel.layoutAdapter.activateLayout(of: floatingPanel.state) which will use  default state = hidden and will activate offConstraints with wrong inset.
Hope it will help to resolve this issue.
Thanks a lot for you library!


#755 vetext reverse proxy dead letter queue

#755 - Updated Vetext Incoming Forwarder Lambda code to incorporate a dead letter queue

Everyone missed it before, but the Finally block was setup slightly wrong. Trying to close the connection that didn't get setup will result in another exception. You can set connection to None first (before the try block), then in the finally block:
if connection:
    connection.close()


Annotated enums and extended validation

[This PR brought to you by insomnia... I know we said the releases are closed but I've had to explain these things a couple of times in the past week or two, and I realized that I've written the recommendations in issues and discussions many times to generally positive feedback.  It seems worthwhile to include them, and we're waiting on Mike's wording changes anyway which have become a longer discussion.]
This tidies up the increasingly long Schema Object section and adds explanations of what I've been calling "extended validation", including validating readOnly and writeOnly, and also using a oneOf or anyOf with const plus annotations for enumerated types with additional information.

Please run
bash bash scripts/format-markdown.sh versions/3.1.1.md

@ralfhandl running that script did not appear to do anything?

We could backport the annotated enumeration pattern to 3.0 by replacing const with a one-element enum but I wasn't sure if it was worth the effort.  Annotation collection is not a thing in the JSON Schema draft used by 3.0, so most of this is not relevant.

@ralfhandl

It did reformat the JSON example a bit

weird, git couldn't detect any changes after I ran it locally.  I'll try to figure that out later- thanks for running it on my behalf!

@ralfhandl that script still didn't do anything with my latest update, and I can't seem to get it to do anything even by introducing errors.  Is it supposed to take parameters?  It doesn't look like it.

Is it supposed to take parameters?

Yes, a list of markdown files to reformat, for example
scripts/format-markdown.sh versions/3.1.1.md

On my machine it for example replaces dashed bullet lists into starred bullet lists, and formats code blocks with Prettier.
Without parameters it silently loops over the empty set and does nothing.

Without parameters it silently loops over the empty set and does nothing.

Oh somehow I read that as looping over the specs by default... (it was late and I'd been up since 4:30AM, my shell script reading skills were not at their best).  Would it not make more sense to automatically apply to the specs?
Really, I want a make target so I don't have to keep remembering which random scripts are expected, but I find Makefiles incomprehensible most of the time so I've never set one up.


Efficient Stream-Write...

Thanks for SparseBitSet… It's so handy and we are using it in lot of places in our code…
There is just one issue I was hoping to help from…
OutputStream os  = ...
for(int i=0;i<100k;i++) {
SparseBitSet sbs = new SparseBitSet(1million);
for(int j=0;j<1-million;j++) {
sbs.set(….)
}
os.write(sbs);
}
os.close();
The final size of the file after serializing 100k sparse-bits was very large. I then looked at the code for a single write…
There are many longs that are written for every sparse-bit-set. Most of the longs are also really large and I cannot do any techniques like variable-length encoding etc… to reduce the serialized size…
We can pass a LZO/GZIP output-streams to compress it. But want to take it as the last option…
Please let us know if the writeToStream code can be improved by any means so that resulting serialization footprint can be smaller

@ravikumarg Thanks, but unfortunately I can't take any of the credit for creating SparseBitSet, I just happened to find a research implementation.
While there may be a more efficient serialization, it is definitely not possible to change the writeObject() implementation unless a readObject() is also changed to provide backward compatibility with already serialized SparseBitSet objects.
You may instead want to look at alternative serialization formats to the standard Java format, for example Kryo.  They claim high compression rates, along with JVM deserialization compatibility:
                                   create     ser   deser   total   size  +dfl
java-built-in                          63    5838   30208   36046    889   514
kryo                                   63     655     838    1493    212   132

Thanks for the pointer. Can def try out Kryo and see how it helps us

Let us know how it works, it may help other users looking for a similar solution.

@brettwooldridge Initially I wrote a new method that avoids Object Serialization but just writes ints/longs into passed OutputStream. [Like Hadoop RPC…]
Code snippet is just copied from existing writeObject with few "variable-int" writes as below
public void writeToStream(OutputStream s) throws IOException, InternalError
{

	ByteBuffer wordBuff = ByteBuffer.allocate(8);
    statisticsUpdate(); //  Update structure and stats if needed.
    writeInt(-2,s);//Header ignore
    writeVInt(compactionCount,s); //  Needed to preserve value
    writeVInt(cache.length,s); //  Needed to know where last bit is

    /*  This is the number of index/value pairs to be written. */
    int count = cache.count; //  Minimum number of words to be written
    writeVInt(count,s);
    final long[][][] a1 = bits;
    final int aLength1 = a1.length;
    long[][] a2;
    long[] a3;
    long word;
    int prev=0;
    for (int w1 = 0; w1 != aLength1; ++w1)
        if ((a2 = a1[w1]) != null)
            for (int w2 = 0; w2 != LENGTH2; ++w2)
                if ((a3 = a2[w2]) != null)
                {
                    final int base = (w1 << SHIFT1) + (w2 << SHIFT2);
                    for (int w3 = 0; w3 != LENGTH3; ++w3)
                    {
                        if ((word = a3[w3]) != 0)
                        {
                        	int k=base + w3;
                            //To reduce size, we write the int-diff as a VInt here...
                        	writeVInt(k-prev,s);
                        	prev=k;
                            byte[] wordBytes = wordBuff.putLong(word).array();
                            s.write(wordBytes);
                            //No use writing as VLong, as it is a huge long number
                           //Also not possible to write the diff, as it is mostly a random-long
                          // and not any predictable sequence
                            //writeVLong(word, s);
                            wordBuff.clear();
                            --count;
                        }
                    }
                }
    if (count != 0) {
        throw new InternalError("count of entries not consistent");
    }
    /*  As a consistency check, write the hash code of the set. */
    writeInt(cache.hash,s);
}

The key point here is the number of longs getting written to stream are very large [3-D long-arrays from "bits" variable] and there is no scope to do any compression tricks there… I did try Kryo but  no luck for me…
BTW, I also tried writing the random longs as a FST {Finite-State-Transducer} purely for experiment. Even then no luck as serialised-size was much larger


Update llm inference docs

fix the build errors

Hello, I am a code review bot on flows.network.
It could take a few minutes for me to analyze this PR. Relax, grab a cup of coffee and check back later. Thanks!


Fix description multi-line issue for linux desktop entry

Description of the Change
This fixes #419 (Fail to add desktop entry on Linux). The multi-line value of the "description" key in the "pacakge.json" file was creating the issue. I also set the correct categories (Network, Feed) for the entry.

Nice, thanks for fixing this. I'll push this live in the next release


Adds TheAlgorithms/Python repo

Got the information not to use hacktoberfest-accepted label. every repo with this label is auto registrated.


Does this work with sonar-scanner too?

I was wondering whether this plugin needs to be installed on the sonarqube server, or whether it would also work locally with sonar-scanner in preview mode (where quality profiles are fetched from the server, but no analysis results are uploaded)
As you are using sonar-runner -Dsonar.analysis.mode=preview ... on the server, I was wondering if you couldn't use sonar-scanner -Dsonar.analysis.mode=preview ... on a CI build node too.
Can you?

SonarQube plugins are always installed on the server.
The scanner engine (sonar-scanner, mvn sonar:sonar, etc...) will download all plugins from the server at runtime.
This means it does not matter where you execute the scanner (on the server, on the CI nodes), as long as the scanner can connect to the server all plugins are executed.

The mode does also not matter. (It does not work with SonarQube 5.1.0, but that was bug)

@t-8ch thanks for the explanation!
As for the communication path, does sonar-scanner talk directly to the bitbucket REST API, or does the communication go via the sonarqube server?

The communication is direct.

@t-8ch thanks!


Update environment build id by using the dropdown

The feature is only available in edit mode.
If the user tries to update the environment with a failed build, the button does not appear.
If the build id selected is the same as the current one, the button does not appear.

The following record can be useful in order to understand the new update environment build id behavior:
https://user-images.githubusercontent.com/5192743/217143425-07ca150f-8e01-4bef-bfb3-07acea7ad3b7.mov

Looks good, although I notice a couple issues in the video which I think already exist already before this PR

When selecting the 10:31 PM build, the status in the dropdown should not change to Active right away. It should only change after clicking Update Environment Build

After selecting the Failed build (9:21 AM), the status in the dropdown changes to Active. Should stay as Failed. The previously selected 10:31 PM build should stay Active

If it's not a simple fix, maybe it makes sense to track those in a separate issue. Wouldn't want to hold up releasing this "make it work" change.

Looks good, although I notice a couple issues in the video which I think already exist already before this PR

When selecting the 10:31 PM build, the status in the dropdown should not change to Active right away. It should only change after clicking Update Environment Build
After selecting the Failed build (9:21 AM), the status in the dropdown changes to Active. Should stay as Failed. The previously selected 10:31 PM build should stay Active

If it's not a simple fix, maybe it makes sense to track those in a separate issue. Wouldn't want to hold up releasing this "make it work" change.

t's not a simple fix, maybe it makes sense to track those in a separate issue. Wouldn't want to hold up releasing this "make it work" change.

Hey @jonzeper,
I noticed this wrong behavior as well. That's why in this PR #210  I added the fix.

I'll look at #210 first, merge that, then this!

I'll look at #210 first, merge that, then this!

@anirrudh Ready to be reviewed and merged!


Rachel solution

Comfort: 4.5
Completeness: 4.5
Updated with bonus completed.. I'm happy with it but had a problem with commit 2. It says to make it so the "set color" function works when you press enter as well as when you click the button - but because of the browser (I think?), the Enter key works just by setting it up on click. I tried to write it anyway just for practice but when I commented everything else out and tried just that code, I couldn't get it to work. Also in commit 6, it give specs for the square style and those were already what the css was set to..

:+1:
Looks good.  I made a few comments inline.


Incorrect implementation of the Binary Ninja backend

For x86_64 indirect calls like call rax, binary ninja does not identify them as branch instruction.

Thus even BNBranchType::CallDestination cannot record these indirect calls.
Maybe by parsing the disassembly text token types can resolve this issue, as shown in https://api.binary.ninja/binaryninja.architecture-module.html#binaryninja.architecture.InstructionTextToken

Based on the above comment, I've write an example for x86_64:
extern "C" bool is_indirect_branch_default_impl(uint8_t *insn_data, size_t insn_size) {
    size_t ttCount;
    BNInstructionTextToken* ttResult = NULL;
    BNGetInstructionText(arch, (const uint8_t*) insn_data, 0 /*addr*/, &insn_size, &ttResult, &ttCount);
    std::string call_op = "call";

    auto opcode = ttResult[0];
    // auto padding = ttResult[1];
    auto first_operand = ttResult[2];
    if ((call_op.compare(opcode.text) == 0) && (first_operand.type != BNInstructionTextTokenType::CodeRelativeAddressToken)){
        return true;
    }

    //BNInstructionInfo info;
    //BNGetInstructionInfo(arch, insn_data, 0, insn_size, &info);
    //for (int i = 0; i < info.branchCount; i++) {
    //    BNBranchType br = info.branchType[i];
    //    if ((br == BNBranchType::IndirectBranch) || (br == BNBranchType::UnresolvedBranch)) {
    //        return true;
    //    }
    //}
    return false;
}

I've tested arm32 blx reg instructions, and the results are similar.


Can we use auth proxies?

How could we accomplish something like this using hrequests?
import requests

proxies = {
   'http': 'http://proxy.example.com:8080',
   'https': 'http://proxy.example.com:8081',
}

response = requests.get('http://httpbin.org/ip', proxies=proxies auth=('USERNAME', 'PASSWORD'))

This library supports normal http proxies (example: http://proxy.example.com:8080).
But I couldn't get it to work with proxies that require username password authentication (example: http://username:password@proxy.example.com:8080).
I'd appreciate if you could me know whether and how this could be achieved.

@cosmicsplendor hey, are able to find any workaround with this lib?

Related to https://github.com/bogdanfinn/tls-client/issues/66.

@cosmicsplendor hey, are able to find any workaround with this lib?

I haven't been able to get this to work yet. Will update here if I find a workaround.

this works, but you have to rely on requests library to create session:
import requests
import hrequests
proxies = {
'http'<EMAIL_ADDRESS>'https'<EMAIL_ADDRESS>}
session = requests.Session()
session.proxies.update(proxies)
response = hrequests.get('http://httpbin.org/ip', session=session)
print(response.text)

@cosmicsplendor What hrequests version do you use? It worked for me with v0.7.1.
>>> import hrequests
>>> response = hrequests.get('http://httpbin.org/ip', debug=True, verify=False, proxies=proxies)
raw request bytes sent over wire: 344 (0 kb)
headers on request:
map[Accept:[*/*] Accept-Encoding:[gzip, deflate, br] Accept-Language:[en-US;q=0.5,en;q=0.3] Connection:[keep-alive] Header-Order::[] Host:[httpbin.org] Referer:[https://google.com] Upgrade-Insecure-Requests:[1] User-Agent:[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.6167.0 Safari/537.36]]
cookies on request:
[]
headers on response:
map[Access-Control-Allow-Credentials:[true] Access-Control-Allow-Origin:[*] Connection:[keep-alive] Content-Length:[31] Content-Type:[application/json] Date:[Wed, 10 Jan 2024 10:41:27 GMT] Server:[gunicorn/19.9.0]]
cookies on response:
[]
requested http://httpbin.org/ip : status 200
response body payload: {
  "origin": "...omitted..."
}

raw response bytes received over wire: 260 (0 kb)
>>> hrequests.__version__
'0.7.1'

Mine is v0.7.1 too. I tried hard, but could not make it work. Normal proxies work fine, but when I try authentication, it always fails.

to use proxy in sessions you can do like this:
session = hrequests.Session()
session.proxy = 'http://username:password@host:port'


Design QA - Unify pages width

All pages on SportsBook and Betting Exchange should have the same width:

Also, there should be a max-width applied to the site. Right now if I see it on a 3000px resolution it goes like this:

Please, reference to Responsive page on Figma to see how it should behave on big resolutions:
https://www.figma.com/file/wogMuUDylgOHgTEYhZ3jgp/Augur-Bet-UI?node-id=7654%3A270124

@yanelbottini we had this in, but i've reverted it as it didn't come out the way I think we intend. need some more time to review this as we haven't finished up responsive work on some of these pages so it breaks them when forced to be small and after reviewing it the width of the market cards on the markets page for example are a full 100 px less wide than the mocks, so we need to just rethink how we plan to apply this.

@JohnDanz Thanks for the update. No pb, let me know when ready!

looks good to me


RouteObserver calls didPop too early

RouteObserver should call _listeners[route]?.didPop() in unsubscribe instead of didPop. This likely affects the accuracy of the Firebase Analytics plugin; it could report that routes have been popped when they are still visible.
More context: https://github.com/flutter/flutter/pull/11236/files/40240cf80e55970246b77f651666c4f33e936b43#r159754696
/cc @weisong0 @Hixie

Can you talk more about why this matters?

@collinjackson
This issue has been moved to https://github.com/FirebaseExtended/flutterfire/issues/916. Any further collaboration will be done there.


[emacs plugin] Doesn't autocomplete multiple file

Hi,
First of all I am no javascript/node.js expert, I am more of a C++ dev.
I am using spacemacs with the javascript layer that include tern.
Here is my testing project : https://github.com/Sgregory42/tern_debug
This project is used by this game https://screeps.com/ so I don't run anything on my machine.
But what I want, is the autocompletion of their library (which is the folder lib) and also of my files.
It seems that even with loadEargly variable tern doesn't seems to load the  file of my project.
I tried loadEargly with "./*.js" and "*.js" format but didn't make  a difference.

If I open just the main.js I can't autocomplete something in other file.
But if I open a file in a buffer tern does recognize it as a file and I can autocomplete it
Tern seems not to recognize global variable (ex : trying to autocomplete the Game variable in lib/Game.js from main.js)

I've been on this for a week and no one seems to know what is the problem.
Could you please advice ? Thanks
ps : is there a way to request the list of files from tern ? seems like I need to send a request with the type variable but I couldn't make it work.

What does your .tern-project config file look like? Are you loading any module system plugin?

Here is it :
{
"libs" : [
"lodash"
],
"ecmaVersion" : 6,
"loadEagerly": [ ".js",  "lib/.js" ],
"plugins" : {
"node" : {}
}
}
As I said tried "./*js" too.
Thanks for you fast reply.

The node plugin will cause files to be treated as CommonJS modules, so variables declared at the top scope will not be treated as globals. Could that be your issue?

I remove the node plugin, doesn't seems to solve the issue.
{
  "libs" : [
          "lodash"
          ],
    "ecmaVersion" : 6,
    "loadEagerly": [ "*.js",  "lib/*.js" ],
    "plugins" : {
    }
}

If I rename config.tern-project to .tern-project in that git repository, remove the "node" line, and open role.hauler.js, I get working completions if I type something like Cr. (This is on regular Emacs, but Spacemacs should be the same I think)

I am at work, I'll give it a try this evening and keep you updated.  Thanks

Awesome it works ! I didn't expect to have a problem with the name of the config file.
Quick question :
In Game.js, the Game object has a property "creeps" of type {Array<string, Creep>} :
Game = {
 ...
    /**
     * A hash containing all your creeps with creep names as hash keys.
     *
     * @type {Array<string, Creep>}
     */
    creeps: {},
...
}

If I do Game.creeps["RandomName"].upgrade it will autocomplete to any method/property of any object that has "upgrade".
Is it possible to only have the ones of the Creep object since the Game.creeps return a Creep object ?
Thank you very much !

I'm not sure what Array<string, Creep> means in JSDoc, but for Tern that'd be a value like ["foo", new Creep], which it definitely isn't since it's initialized as {}. You could say Object<Creep>, I think that'll work.

Sorry, could you please clarify ?
I am not fully familiar with javascript syntax
Thanks

The documentation. Tern will pick up the @-annotated doc comments as type hints. You could try replacing Array<string, Creep> with Object<Creep>.


远程model参数默认未开启，无法直接使用hugging face model

Hi,
We have support ChatGLM inference. Please try this script https://github.com/OptimalScale/LMFlow/blob/main/scripts/run_chatbot_chatglm.sh
Thank you!

wow,that's pretty good,thanks for all of you guys!!!!


Add missing method to MapService

Somehow forgot to commit this method when I translated the first time around, finally got around to fixing the problem!

thankyou!


Add Spanish to README

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.