Captha Solving using capmonster

Hello, i think i almost got it to work. however i searched a lot but i found no docs telling me what attribute im supposed to use so it actually solve the capthas. I only found how i need to define different variables. but variables alone wont run the module.... here this is the code i made so far. It prints the code out correctly but the issure is, it not solve the captha:
solver = captchatools.captcha_harvesters(solving_site="capmonster", api_key="my key where here", sitekey="6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-", captcha_url="https://www.google.com/recaptcha/api2/demo")
captcha_answer = solver.get_token()
print(captcha_answer)

Hi!
I copied your code and it ran without any issues. What seems to be the issue?

The timing of solving captchas vary by captcha site and captcha type. If everything is correct, it will output the captcha token, as shown below.

Hmm yea the token where printed into the terminal on my side too like i already wrote above. however the captcha not became solved. "It prints the code out correctly but the issure is, it not solve the captha:"

If the captcha token is being printed, that means the captcha is solved. Are you trying to use the token on a different site?

No. I use selenium and after the token is being printed, the window closes. The verified icon on the captcha box wont be added so i cant press on continue later on.

That's entirely different. You need to research how to use selenium with captcha tokens. From what I hear you need to change the element with the correct / solved token.
There is nothing wrong with this module, it's functioning to the fullest extent. These tokens are best used when dealing with requests.

hmm okay. so how im able to use it with requests then? like what requests i need to do so it register a account on yandex for example? I looked up how i can insert the tokens in selenium but i found nothing useful....

I'd suggest starting with learning what request(s) are and how they work. Then learn how the website makes the request and then you implement something to replicate that.

hmm okay. ill try to learn requests

That's entirely different. You need to research how to use selenium with captcha tokens. From what I hear you need to change the element with the correct / solved token.
There is nothing wrong with this module, it's functioning to the fullest extent. These tokens are best used when dealing with requests.

I understood how that should work and it works on some sites but on the site im trying to inject  the code it not will continue after its solved cause there is no button like "continue" if you solve it manually it add the checkmark and then directly continue without need to press a button but this is not possible using selenium i think however probably you understand how to solve this issue.


A11y_SQLAzureDataStudio_SchemaCompare_Comparison_ScreenReader: Status message not announced for the data that is updated on the screen.

“Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier.”
GitHubTags:#A11yWCAG2.1;#A11yTCS;#SQLAzureDataStudio;#DesktopApp;#Win32;#MAS4.1.3;#Benchmark;   #A11y_SQLAzureDataStudioBenchmark;#A11ySev2;#NVDA;#JAWS;
Environment Details:
Version: 1.16.0-insider
Commit: 506c6a5
Date: 2020-02-17T05:43:18.399Z
VS Code: 1.42.0
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18363
Additional Details:
MAS reference: MAS4.1.3
Screen Reader: NVDA(2019.3.1),JAWS
Repro Steps:

Launch Azure Data Studio application.
Connect to server with windows credentials.
Navigate to Extensions from left menu.
Search & install Schema Compare extension.
Navigate to Connections from left menu.
Expand the server connected in step 2.
Right click an on prem database and select Schema compare from Context menu.
Navigate till Select Source or Select Target & hit enter.
Provide all the details for Source & Target.
Navigate till Ok button & hit enter.
Navigate till Compare menu from Schema compare Menu bar & hit enter.
Check if status message is announced for all the updated content on the screen.

Actual:
The data that is updated on the bottom side of the comparison screen is not announced by screen reader.
Issue observed with NVDA and JAWS.
Expected:
All the data that gets updated on the screen should be announced by the screen reader.
User Impact:
Screen reader users will not receive all the information that is updated on the screen.
Attachment link reference:
9401_A11y_SQLAzureDataStudio_Extension_SchemaCompare_Comparison_ScreenReader.zip

GithubTags:#A11y_SQlADS_WCAG2.1;

As per the discussion with our Accessibility SME this is an expected behavior as it is very hard to the screen reader to announce the content which is being changed while navigating in a table. So, closing the bug.
GitHub Tags: #Closed;

GitHubTags:#SQLADS-Win32-Feb2020;


libevdev2:i386 is not installed on ubuntu by default

"error while loading shared libraries: libevdev.so.2: cannot open shared object file: No such file or directory" when opening built game binary either on 32/64-bit ubuntu. 32-bit linux templates were built on ubuntu chroot with libevdev installed.

You probably just need to install libevdev.

libevdev2 and libevdev-dev packages are already installed.

maybe the release binaries should like that static
On Sun, Jan 24, 2016 at 6:28 PM, nepitard<EMAIL_ADDRESS>wrote:

libevdev2 and libevdev-dev packages are already installed.
—
Reply to this email directly or view it on GitHub
https://github.com/godotengine/godot/issues/3439#issuecomment-174343160.

libevdev2 and libevdev-dev packages are already installed.

You need libevdev2:i386 to run the 32-bit binaries.

maybe the release binaries should like that static

That could be an option yeah.

Fixed it by installing libevdev2 on 32-bit system, but anyway it could be an improvement when player doesn't need to install any libraries to start the game

Yeah this should be statically linked. Does the editor fail the same way?
On 24 January 2016 at 23:44, nepitard<EMAIL_ADDRESS>wrote:

Fixed it by installing libevdev2 on 32-bit system, but anyway it could be
an improvement when player doesn't need to install any libraries to start
the game
—
Reply to this email directly or view it on GitHub
https://github.com/godotengine/godot/issues/3439#issuecomment-174378685.

I'm using 64-bit editor so no problems with that. Also don't know if libevdev installed by default or I installed it before.

I just had a quick look at this, but couldn't quite figure it out. How to tell scons to link a single lib statically?
I remember doing something like -Wl,-Bstatic "lib" -Wl,-Bdynamic in the past. But it seems to me there's no easy way to do that using scons..?


npm start command not working

I'm following traccar-web instruction page to run it locally on my ubuntu machine - https://www.traccar.org/build-web-app/
after running 'npm install' I'm trying to run npm start as per the isntruction in the page.
But it's not working.
Apparently there is no start command in package.json page
Can anyone help me to run it locally?

You probably forgot to change to the right folder.
Please use the forum for questions.


updating to work on debian sid : RuntimeError: Data access methods are unsupported. Use normal Python attributes instead

I get this error :

mdupont@mdupont-Aspire-7750G:~/experiments/a11n/accerciser-mirror$ accerciser
Traceback (most recent call last):
File "/usr/bin/accerciser", line 50, in
accerciser.main()
File "/usr/local/lib/python2.7/dist-packages/accerciser/init.py", line 35, in main
main = Main()
File "/usr/local/lib/python2.7/dist-packages/accerciser/accerciser.py", line 62, in init
self.window = AccerciserMainWindow(self.node)
File "/usr/local/lib/python2.7/dist-packages/accerciser/main_window.py", line 51, in init
self._populateUI(node)
File "/usr/local/lib/python2.7/dist-packages/accerciser/main_window.py", line 110, in _populateUI
paned.set_data('last_position', paned.get_position())
File "/usr/lib/python2.7/dist-packages/gi/overrides/GObject.py", line 590, in _unsupported_data_method
raise RuntimeError('Data access methods are unsupported. '
RuntimeError: Data access methods are unsupported. Use normal Python attributes instead

I got the same error!


Inline CSS to make test report portable

This change pulls the CSS styles for styling the test report into the generated HTML instead of referring to it by a computed link.  It makes the test report self-contained, so that it can be easily displayed with proper styling when it is passed around or served by a http server.

What if the CSS refers to external files?
#92 will refer to external image files, if we integrate the original changes as they are.

I've added a new command line option -i to force the inlining of the CSS.

Just curious, but why add a new command line option? Would there be a reason to sometimes not have the CSS inline in the HTML report?
The new image files in #92 could possibly be embedded in the CSS using base64 encoding so the HTML report could be just one file.

@hanshuebner  I have pushed branch test/pr111  with the core part of your pull request, which is to include the CSS inline, and added the images from the oXygen report also inline. The output HTML report is a single file with no dependencies. To test this, check out branch test/pr111 and run an XSpec test that includes successful, pending, and failing tests. Please have a look.


Feature/array serialize

Coverage increased (+0.09%) to 96.992% when pulling 0104def452df0f1fafce850a6111ef0165122d90 on feature/array-serialize into c3dc3d07788ec788b96b671e490e3dbf5e272d4f on master.


Revert "Tighten the error tolerance requirement by 100x"

Reverts grpc/grpc#26588

Known flake: https://github.com/grpc/grpc/issues/26595


fixes issues 11, 13, 14, 15

And all sorts of other cleanups.

OK @gijzelaerr , same problem again here, my master has diverged from the radio-astro master. I still don't have a good workflow for merging your changes back into my repo. Your last suggestion (making a branch in my repo that would track the radio-astro master) didn't work so well. And I can't find a way on github to initiate a pull request from radio-astro to my repo, i.e. the opposite way.
Given that I'm still actively developing, it makes sense for me to maintain my own repo full time, or a full-time branch. So how about we just create a "devel" branch on radio-astro/radiopadre which I can play on, and I can issue pull requests every now and then?

I have no idea what is going on from here at this point. But I think you are missing things up big time ;)
Looks like you have the old commits that I rebased (squashed) also in your tree. I think because you are not working with a feature branch but are committing directly to your master branch. You should not do that.
Maybe a good idea to just start over and walk through it over chat.

pff, this is such a mess now, merging this is taking too much time. I give up. we should start over

OK @gijzelaerr , I managed to merge radiopadre/master into my fork's master, which has resolved all conflicts and has made this pull request automatically merge-able again.
I've bumped the version number to 0.3.
I suggest we merge this one, release it, then I'll create a development branch for myself under here and delete my fork.

yes, it is mergable, but on merging history will be a complete mess. Let me have a look.

rebased into one commmit
https://github.com/radio-astro/radiopadre/commit/e2b18b7eea2be0a94e461206ab292caa34c94703


Don't determine XHR every time

I think it will improve some performance.

Isn't this going to fail here: https://github.com/lmk123/superagent/blob/81c979d43f32c5016917475a8e58a1ecfc40ff49/lib/client.js#L755 ? You removed a function without updating the places that call that function.

@focusaurus I'm not removed this function request.getXHR(). It is strange that when I run make test-browser-local, everything is ok. I will take a look.

I can't figure out why it's failed on Travis CI.


Failed installing plugin on backstage 1.19.0

Hello,
I am trying to install the plugin for kubevela on backstage 1.19.0 but I am facing the following errors:
~/Developments/CPF/backstage/backstage-idp$ yarn tsc
yarn run v1.22.19
$ tsc
packages/app/src/components/Root/Root.tsx:29:10 - error TS2305: Module '"@oamdev/backstage-plugin-velaux"' has no exported member 'VelaLogo'.
29 import { VelaLogo } from '@oamdev/backstage-plugin-velaux';
~~~~~~~~
packages/backend/src/plugins/catalog.ts:12:47 - error TS2345: Argument of type 'UrlReaderService' is not assignable to parameter of type 'UrlReader'.
Property 'read' is missing in type 'UrlReaderService' but required in type 'UrlReader'.
12   const vela = new VelaProvider('production', env.reader, env.config);
~~~~~~~~~~
node_modules/@oamdev/plugin-kubevela-backend/node_modules/@backstage/backend-common/dist/index.d.ts:1587:5
1587     read(url: string): Promise;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'read' is declared here.
Found 2 errors in 2 files.
Errors  Files
1  packages/app/src/components/Root/Root.tsx:29
1  packages/backend/src/plugins/catalog.ts:12
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Could you please help me?
Thanks a lot,
Matteo.

Hello Matteo,
I got the same issue here. Did you fixed it somehow?
Regards
Francesco

MR merged， but npm release is out of date.
@FrancescoGraziano @kratosmat

Thanks @FrancescoGraziano to fix the issue

Thanks @FrancescoGraziano @kratosmat  https://github.com/FrancescoGraziano/backstage-plugin-kubevela/pull/1


Compatibility fixes for Python 3.5

Hi!  I ran into a couple of problems trying to use rottentomatoes with Python 3.5.  Everything seems to work now (the tests seem to be passing on both 2.7 and 3.5).

Oops!  I just saw the other PR (#9)...


fix(java): only use mason-registry if mason installed

Description
The current config breaks when mason is not installed (e.g. for Nix users). This PR makes the mason-related functionality (which, as of now, consists only of finding lombok) dependent on mason being installed. As noted in the commit, this does make it impossible to use lombok without mason, but I'm unaware of any other method of finding it (which is why mason-registry was used in the first place, I assume)
Please note that I'm not very experienced with Lua and the code might be not the most idiomatic one.
Related Issue(s)

Screenshots

Checklist

[x] I've read the CONTRIBUTING guidelines.

ty


Fix for Pascal NaN redux

Force push over-rode but it isn't fixed.
I have tried this and it works. Please test it on your other cards.
All credit goes to: richardwth
@richardwth
fixes: https://github.com/TimDettmers/bitsandbytes/issues/165

Nevermind, its a bnb issue. I found the 8bit_test.py from that issue you linked and get the same RuntimeError: probability tensor contains either inf, nan or element < 0

The half vs float is something else. I tested this when doing inference from said webui.
0cc4m's script tests HW matmul first and that SHOULD fail.. and then it does the software/workaround. I will give it a try and see what happens.
This script, you mean? https://gist.github.com/0cc4m/a753b6a16a618cfbe747a74920dc50f6

I did some testing.
Load the model:

Inference:
Output generated in 17.68 seconds (2.60 tokens/s, 46 tokens, context 71, seed 572183632)
Output generated in 4.18 seconds (2.16 tokens/s, 9 tokens, context 68, seed<PHONE_NUMBER>)

Training:
INFO:Loading raw text file dataset...
INFO:Getting model ready...
INFO:Prepping for training...
INFO:Creating LoRA model...
INFO:Starting training...
wandb: (1) Create a W&B account
wandb: (2) Use an existing W&B account
wandb: (3) Don't visualize my results
wandb: Enter your choice: 3
wandb: You chose "Don't visualize my results"
wandb: Tracking run with wandb version 0.14.2
wandb: W&B syncing is set to offline in this directory.
wandb: Run wandb online or set WANDB_MODE=online to enable cloud syncing.
{'train_runtime': 734.5184, 'train_samples_per_second': 8.659, 'train_steps_per_second': 0.065, 'train_loss': 2.2761232058207193, 'epoch': 0.18}
INFO:LoRA training run is completed and saved.
INFO:Training interrupted.

It's slightly faster using the adamw_bnb_8bit optimizer. On this gen of card it will never be super great due to the lack of HW matmul... but hey, us and the $3k V100 people are in the same boat. :100:

One change is good, the other would be a degradation in speed. Lets discuss how to fix this while maintaining speed for other GPUs.

Haven't really compared this recently with the new codebase. In one of the issues a commenter said that only the first change was required.

@Ph0rk0z I would love to make this PR actionable somehow but somehow I'm still struggling to understand what Tim means.
According to him one of the changes is good to go and the other "that adds lines which do 16 bit computation by casting the entire matrix to 16 bit that is more inefficient in many cases" needs improvement. Do you know what exactly he means and is this something we could wrap up together?
Maybe we can already merge the change that's good to go and handle the other one separately?

Force push over-rode but it isn't fixed.
What do you mean by that? Is the commit in the PR the only thing to consider or is there something missing?

Can be tried with just the fwd change to see if it still NaNs. I think people were saying it worked. I basically moved to GPTQ/GGUF and this languished a while so haven't been paying attention and re-testing. My bad. Sat so long I didn't think it would be accepted.

I removed backwards pass so people can try it. Haven't had time to test on my machine yet, I'm down to my P6000 and P100 here.


KeyError: 'bn1.num_batches_tracked'

这段代码state_dict[i].copy_(param_dict[key])出错，使用的是torchvision 0.4.0
KeyError: 'bn1.num_batches_tracked'

这段代码state_dict[i].copy_(param_dict[key])出错，使用的是torchvision 0.4.0
KeyError: 'bn1.num_batches_tracked'

这个是pytorch版本的问题。用高版本的时候可以直接把这个Key跳过去，对实验结果影响不大。

Hi. I am not able to achieve your performance on CUHK (The mAP I get is around 40%). I got the same problem. There is also a similar problem for similar layers (e.g. layer1.0.bn1.num_batches_tracked , layer1.0.bn2.num_batches_tracked). Are you sure we can skip these layers without loosing performance? In the requirements you suggest to use  pytorch version == 0.4.0 but it is not available and the code only works with an updated pytorch version but with the highlighted problem of the layers. Can you help to solve this? Thanks a lot

Hi. I am not able to achieve your performance on CUHK (The mAP I get is around 40%). I got the same problem. There is also a similar problem for similar layers (e.g. layer1.0.bn1.num_batches_tracked , layer1.0.bn2.num_batches_tracked). Are you sure we can skip these layers without loosing performance? In the requirements you suggest to use pytorch version == 0.4.0 but it is not available and the code only works with an updated pytorch version but with the highlighted problem of the layers. Can you help to solve this? Thanks a lot

What I suggest is to skip the params named "*.num_batches_tracked" instead of the layers! These params are added in the new versions of Pytorch after 0.4.0. However, the pre-trained model in Pytorch official website (as attached in this repo) doesn't include them. Thus, if you have to use a high-version Pytorch, skipping them when loading the pre-trained model is the only solution I can find currently. This shoud not affect subsequent re-id training much in theory, but I'm not sure for its practical effects.

我在使用高版本pytorch加载过程中跳过了这一参数，在cuhk03数据集上的训练结果中mAP与文中一致，但rank1低了1.4个百分点，是由于这方面的影响吗？

你好，我在使用高版本pytorch加载过程中跳过了这一参数，在cuhk03数据集上的训练结果中mAP与文中一致，但rank1低了1.4个百分点，请问是由于这方面的影响吗？

有可能。另一种可能性是单卡vs.多卡训练导致。

      你好，感谢说明！我在多卡测试时确实观察到mAP下降问题，但与这并不是同一问题。后续我将尝试解决这一参数的影响，感谢你的帮助！
------------------ 原始邮件 ------------------
发件人:                                                                                "microsoft/Relation-Aware-Global-Attention-Networks"<EMAIL_ADDRESS>发送时间: 2020年8月2日(星期天) 下午5:07
收件人<EMAIL_ADDRESS>抄送: "Hongwei Zhang"<1398936838<EMAIL_ADDRESS>主题: Re: [microsoft/Relation-Aware-Global-Attention-Networks] KeyError: 'bn1.num_batches_tracked' (#4)
你好，我在使用高版本pytorch加载过程中跳过了这一参数，在cuhk03数据集上的训练结果中mAP与文中一致，但rank1低了1.4个百分点，请问是由于这方面的影响吗？
有可能。另一种可能性是单卡vs.多卡训练导致。
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

@ZhiZZhang
您好，因为我想像se 模块一样嵌入到训练任务中，对于其他的任务也可以直接有效的提升，所以对您的这几个参数，我想请问一下，
opt = adam
epoch = 300
batch = 64，
lr_scheduler = LRScheduler(base_lr=0.0008, step=[80, 120, 160, 200, 240, 280, 320, 360],
factor=0.5, warmup_epoch=20,
warmup_begin_lr=0.000008)
这是您实验的最优参数吗，epoch迭代次数比较大，所以您训练多少epoch达到最好的精度昵？这两个模块加入到网络中有比较注意的训练参数有害，或者有益吗？     我用的fastreid，项目中超参数训练，rgasc网络结构直接嵌入到mgn_ibna 网络中，  epoch是60,初始学习率0.0035， CosineAnnealingLR（不是step)，  目前结果明显是不好的，dukemtmc数据， 只有map 71%，
您的实验参数是有什么理由吗？ 还是直接根据经验调整的吗？

Hi, i used the  exact packages you defined your requirements.txt and yet, i couldn't find bn1.num_batches_tracked in the loaded weights. I decided to skipp the parameters as you said, but then the results is really far from the one your reported in your paper. I got
labeled cuhk03 dataset
Evaluated with "feat_" features and "cosine" metric:
Mean AP: 71.6%
CMC Scores
  top-1          77.1%
  top-5          89.5%
  top-10         94.1%
  top-20         96.4%
Evaluated with "feat" features and "cosine" metric:
Mean AP: 66.0%
CMC Scores
  top-1          69.6%
  top-5          85.6%
  top-10         91.4%
  top-20         95.1%

While, in your paper, you report top-1: 81.1 and mAP: 77.4. This is a huge gap. Can you release your checkpoints, so we can try.

你好，我在使用高版本pytorch加载过程中跳过了这一参数，在cuhk03数据集上的训练结果中mAP与文中一致，但rank1低了1.4个百分点，请问是由于这方面的影响吗？

你好， 请问可以分享一下这部分（使用高版本pytorch加载过程中跳过了这一参数）是如何做的吗？？ 最好可以贴一下这部分的代码

@PhilChina
I think you can skip the params using this code
   def load_partial_param(self, state_dict, model_index, model_path):
        param_dict = torch.load(model_path)
        for i in state_dict:
            try:
                key = 'layer{}.'.format(model_index) + i
                state_dict[i].copy_(param_dict[key])
            except KeyError:
                continue
        del param_dict

    def load_specific_param(self, state_dict, param_name, model_path):
        param_dict = torch.load(model_path)
        for i in state_dict:
            try:
                key = param_name + '.' + i
                state_dict[i].copy_(param_dict[key])
            except KeyError:
                continue
        del param_dict

This is what i did
it should work,

@PhilChina
I think you can skip the params using this code
   def load_partial_param(self, state_dict, model_index, model_path):
        param_dict = torch.load(model_path)
        for i in state_dict:
            try:
                key = 'layer{}.'.format(model_index) + i
                state_dict[i].copy_(param_dict[key])
            except KeyError:
                continue
        del param_dict

    def load_specific_param(self, state_dict, param_name, model_path):
        param_dict = torch.load(model_path)
        for i in state_dict:
            try:
                key = param_name + '.' + i
                state_dict[i].copy_(param_dict[key])
            except KeyError:
                continue
        del param_dict

This is what i did
it should work,
OK, thank you very much @jpainam


Refactor ExampleWording cop

Replace manual destructuring with a much simpler node matcher.
Breaks offense logic into a helper function.

This looks great


feat: implement 0x90 - SWAP1 Opcode

Implementation of Swap_i,  and all SwapN, and tests
Please check the type of change your PR introduces:

[ ] Bugfix
[ x] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] Documentation content changes
[ ] Other (please describe):

Im not quite sure if i exported the module in the correct way, as i tried to follow PUSH implementation

messed with version, dont review jet


request: Deleted message reply

Is there an existing issue or pull request for this?

[X] I have searched the existing issues and pull requests

Feature description
Show a reply to a deleted message, like this:

Desired solution
Being able to set a reply element to, for example deleted and set it to show up as if the message replyed to was deleted.
Alternatives considered
Just highliting the message and not showing it is a repl
Additional context
No response

Actually a pretty neat solution is a user with the arrow icon as profile pic, no name and <discord-italic>Original message was deleted<discord-italic> as content. A bit hacky but it works.

This is available as of version 4.0.0-alpha.16 by adding a deleted property in discord-reply. A full release of 4.0.0 will be coming in the near future.


[XamarinWorkbooks-Windows]: Accessibility:MAS4.2.6:Inspect: Hierarchy for radio buttons in 'Preferences' window is not defined correctly

Steps to Reproduce

Launch Xamarin Workbook application.
Navigate to 'Tools' menu item present in menu bar and Expand it
Navigate to 'Preferences' menu item and select it
Navigate to 'Feedback' tab item and select it
Navigate to radio buttons and observe Inspect hierarchy

Expected Behavior
Radio buttons should be defined as child elements under separate group and User should be able to navigate between radio buttons using Arrow keys only
Actual Behavior
Radio buttons are defined in same hierarchy level as other elements in 'Feedback' tab pane.
User is able to Navigate  between radio buttons using Tab key as well as arrow key
User Impact:
User who rely on screen-reader will not get confused if user is able to navigate between radio buttons using tab keys
Screen-Shots:

Video attachment:
radio_groups.zip
Environment
Windows :Windows 10 Pro Version 1803 (OS Build : 17672.1000)
Xamarin Version : 1.4 (master/b3f92f9)
NVDA Version: 2018.1

Log File

Please add the following labels to the bug:
A11yMAS
Accessibility
Xamarin-Workbooks-Windows
Wipro
MAS4.2.6

Exemption Approved - 1813


Add NVIDIA driver installation on OpenShift

Document NVIDIA GPU driver configuration for InstaSlice on OpenShift.
Remove absolute links in README and let GitHub handle relative paths.

/cc @asm582

/lgtm


Possibility to return relations of search results

resolves #28
These changes are not final es this still needs some adjustments in the autoupdate service.

Requires https://github.com/OpenSlides/openslides-autoupdate-service/issues/710


Fix decoding bug: only _save_until_eos when target modality is symbol.

This PR fix #844 . When decoding, we should call _save_until_eos only if the target modality is SymbolModality.

It seams the build system failed, not relevant to this PR...


Allow for CTRL+ENTER to add carriage-return for editable-textarea

Currently, the behavior is to have enter have default behavior (carriage return) for textareas.  Would be nice to have an option, something like submit-on-enter="true" that would make the text-area submission more intuitive when buttons="no" is set.
If there's a way to do this currently.. would LOVE to hear it!

+1

I would also like this! Just came across this problem and hitting enter to submit a text area would be awesome.

Hey @RavenHursT and @maelfrize ... just modified my x-editable source to accommodate the request ... I will probubly make a pull request with this but just incase anyone does not want to wait around here is how I did it ... go into your x-editable source and change the xeditableTextarea directive to this. The modifications are down in the autoSubmit function where I check to see if there is a submitOnEnter attr and if there is cause submission to happen on Ente  and new lines to happen on  Shift + Enter  This might not be the best way to do it but it works really well for me. All you need to do after making these modifications is add a submit-on-enter="true" attribute to your editable-textarea element.

angular.module('xeditable').directive('editableTextarea', ['editableDirectiveFactory',
  function(editableDirectiveFactory) {
    return editableDirectiveFactory({
      directiveName: 'editableTextarea',
      inputTpl: '',
  addListeners: function() {
    var self = this;
    self.parent.addListeners.call(self);
    // submit textarea by ctrl+enter even with buttons
    if (self.single && self.buttons !== 'no') {
      self.autosubmit();
    }
  },
  autosubmit: function() {
    var self = this;
    self.inputEl.bind('keydown', function(e) {
      if (self.attrs.submitOnEnter) {
        if (e.keyCode === 13 && !e.shiftKey) {
          self.scope.$apply(function() {
            self.scope.$form.$submit();
          });
        }
      } else if ((e.ctrlKey || e.metaKey) && (e.keyCode === 13)) {
          self.scope.$apply(function() {
            self.scope.$form.$submit();
          });
      }
    });
  }
});

}]);

@RavenHursT Thanks for sharing your solution!

@maelfrize, @BenjaminConant did it..
@BenjaminConant wondering if the opposite behavior might be better/worse?  Maybe allow for both.  For example.. Facebook behaves as you've mentioned, (shift+enter for new lines, enter for submission).  But a number of other apps (like gitHub and Gmail) behave in the opposite (kind've): Enter for new lines, CMD+Enter (on a Mac) for submission.
I kind've prefer the latter, but that's just me.

asdasd


Feature request: Documentation support

Thanks for the crate!
I wanted to ask if there could be documentation support.
Wit supports only comments and does not differentiate between documentation and code comments. But, when using wit-bindgen to transform to markdown, comments are part of the generated .md and correctly located.
Proposal
I propose to make use of this to pass over documentation comments in Rust as comments (using \\) to the generated .wit file.
Code comments in the Rust file would be ignored.
Use case
At the end of the day, the objective is to generate the .wit file that people possibly outside of the Rust world can use, therefore it makes sense to me to generate the documentation also outside of the Rust world.
I do not have experience in this type of macros, but I could do the research if needed.

I'm not sure to understand what you mean by using \\ but you're right I definitely should take comments written in Rust code for a witgen tagged element.

Thank you for the quick answer!
And sorry I meant // (comments).
I was asking for formalizing the support of doc-comments (///) which are already functional in bytecodealliance/wit-bindgen#117. So maybe one could use simply /// in the generated wit file(?)

Oh yes indeed. I will try to implement this and generate /// in the wit generated files. I won't have enough time to do this this week but next week should be ok :)

Documentation has been added in this commit https://github.com/bnjjj/witgen/commit/896328beb6427d7fb840a03b1446fdafbdbb3ad6 and is now available in the 0.4.0 version published on crates.io
Thanks for the feature request ! Let me know if anything is missing


mkdocs-material-extensions pulled when installing Flask-Mailman

Hello, I recently installed Flask-Mailman, and I noticed that the mkdocs-material-extensions extension gets pulled by pip install Flask-Mailman.
Is mkdocs-material-extensions a mandatory dependency for Flask-Mailman, or is it an optional one?
If it's optional, what functionality or features provides when used with Flask-Mailman?
It's safe to remove mkdocs-material-extensions without affecting the core functionality of Flask-Mailman?
Thank you!

Thanks for the report, this has been fixed with https://github.com/waynerv/flask-mailman/pull/47.


[EKSv2] Add help text for custom AMI box

What kind of request is this (question/bug/enhancement/feature request):
enhancement
Using custom AMIs with EKS requires some detailed configuration for the AMI. A help text with a link to the AWS documentation would be helpful for the user.
The documentation link is https://aws.amazon.com/premiumsupport/knowledge-center/eks-custom-linux-ami/

On 2.5-head - commit id 2ae4cf11 and master-head commit id: 59ebdc

Create a hosted EKS cluster --> Managed Node group section has this text

Opens to this page


Encoding removes characters

I have an CSV file which I try to import.
This file contains addresses in different countries. Some street names contain a special character like De Döllard. The default encoding is set to UTF-8 but when I try to set it to ISO 8859-1 or 8859-16 the ö is removed, even before storing in the database
Is there a solution for this problem?

You will have to set the encoding to the exact same format as the file is.
Maybe one of the solutions in this issue, can help you: https://github.com/Maatwebsite/Laravel-Excel/issues/431

Yes!! This comment fixed my problem.


Further improving the performance for the serve command.

Q
A

Bug fix?

New feature?
:heavy_check_mark:

New sample?

Related issues?

What's in this Pull Request?
I found a way how further improve the speed of "fast-serve" specifically for this project (now in fast mode it's 30% faster). Thus I updated the version of fast-serve-helpers to the latest - 1.12.14. As a result this PR only changes package-lock.json since all changes are inside dependent package.

Thanks @s-KaiNet !


About the view space!

Hello, Thanks for your source code! I've read your paper recently, and I have one question about this paper.

You mentioned that you model the spatial query in the input view's camera space. This means that the poses is camera2world?
I want to know that how can I apply this method on my own data? Would you like to give me some suggestions?
Thanks very much! ! ! Looking forward your apply!

Hi! friend from XJTU!
Have you solve this problem? I'm trying to use pixelNeRF in my project and I only have the  data of LLFF form（which contains the pose file called pose_bounds.npy  just like nerf-pytorch），but I don't find the preprocessing code that read LLFF data to pixelNeRF. Anyway, the data of DTU form, I have no idea about generate it by my own.
There is some possible solution that I figure out.

write a scirpt to generate DTU's pose( cameras.npz ) (some matrix transform from colmap pose to the form of DTU)
copy and modify the code that can read LLFF data from other NeRF project(e.g. nerf-pytorch, GeoNeRF)

But I have not try them for the busy daily life. I would appreciate it If you have solve it and tell me.

+1

+1


feat(ui): img2img UX 2

Summary

Clean up canvas add layer hooks
Add layer post-init callback system
Add mutex to CanvasEntityTransformer to prevent concurrent operations
Use new init callback and transform mutex to implement New Img2Img from Image
Disable the "new X from image" actions when canvas is busy

Related Issues / Discussions
Scattered discord & offline discussions
QA Instructions
To test the functionality

Right click an image in gallery
Click New Img2Img from Image, which should:

Reset the Canvas
Optimize the bbox size, retaining the image's aspect ratio
Fit the image exactly to the bbox

You should be able to click Invoke immediately after this and it should do img2img.

Discussion points

I've left New Canvas from Image and New Img2Img from Image separate, but maybe it's better to not add a new button for img2img and instead update the behaviour of New Canvas from Image.

Because the image can be of any size (e.g. not perfect multiples of 8/16), we will typically need to make a small concession with the image or bbox size. Two approaches:

The image is fit to the bbox using the fill strategy, so its final aspect ratio may be slightly different, but it will fit the bbox perfectly. This is the approach used in this PR. I think it's closer to what the user wants, and better replicates the old img2img flow.
The image retains its aspect ratio exactly, and we do a conservative bbox fit. This would typically leave some edges of the image outside the bbox.

Merge Plan
n/a
Checklist

[x] The PR has a short but descriptive title, suitable for a changelog
[ ] Tests added / updated (if applicable)
[ ] Documentation added / updated (if applicable)

I agree about the “New Canvas” resizing automatically. I think we’ve gotta streamline that
Regarding the size, I think you’ve made the right call. Having leftover pixels would be confusing for users. We will just need to explain that well enough

Have merged this in any case, change to the button can be done as a follow on.


incremental translation implemented

translation task now:

detects source file changed in source files and generated source files, it only translates source files which have been changed since the last compile
removes .java source files and remove translated counterpart .m and .h files

This pretty cool and makes development a lot faster.

@brunobowden May be you have an idea how to add the .class files correctly to the classpath here https://github.com/confile/j2objc-gradle/commit/af138abd9a986c2c27b895d6193dfed0cbf79653#diff-cd56e928e1096973b671c75e5e0c6073R525
When I uncomment the code I get these output messages:
warning: error in opening zip file

@confile - can you help explain this code and what you're trying to do?
fileTree(dir: "build/source/apt",
     // TODO @Bruno must be project.j2objcConfig.generatedSourceDir no idea how to set it there
     include: "**/*.java")

@brunobowden I am done!

@brunobowden
fileTree(dir: "build/source/apt",
     // TODO @Bruno must be project.j2objcConfig.generatedSourceDir no idea how to set it there
     include: "**/*.java")

This code takes the generated source files from an annotation processor which ran in the compile-java task and appends them to the source files which are the input of the translation task. I have to do it at this point in order to enable the task to track changes.

I've had the same problem before with trying to setup the correct state from the j2objcConfig object. See the comment from the StackOverflow question I asked. I'm not sure if SO "bigguy" is the same as GitHub @bigguy but he's been very helpful. Still not clear how to wire up the global config but we'll get there...
... In general, I'd try to stay away from an extension class that contains configuration for a task. There's nothing wrong with that, but you have to do more wiring yourself. –  bigguy Nov 23 '14 at 19:44
http://stackoverflow.com/questions/27075123/gradle-plugin-best-practices-for-tasks-that-depend-on-extension-objects

@confile - just a few last nits

@brunobowden I am done!

@brunobowden Thanks Bruno. Question: Do you have any idea how we could add the already translated classes which have not changed to the -classpath of the j2objc command. I tried it here:
https://github.com/confile/j2objc-gradle/commit/af138abd9a986c2c27b895d6193dfed0cbf79653#diff-cd56e928e1096973b671c75e5e0c6073R525
But when running this code I get the error: warning: error in opening zip file.

I might be misunderstanding what you're looking but j2objc doesn't yet
translate class files.
On Thu, Apr 23, 2015 at 3:26 PM Confile<EMAIL_ADDRESS>wrote:

@brunobowden https://github.com/brunobowden Thanks Bruno. Question: Do
you have any idea how we could add the already translated classes which
have not changed to the -classpath of the j2objc command. I tried it
here:
confile@af138ab#diff-cd56e928e1096973b671c75e5e0c6073R525
https://github.com/confile/j2objc-gradle/commit/af138abd9a986c2c27b895d6193dfed0cbf79653#diff-cd56e928e1096973b671c75e5e0c6073R525
But when running this code I get the error: warning: error in opening zip
file.
—
Reply to this email directly or view it on GitHub
https://github.com/brunobowden/j2objc-gradle/pull/36#issuecomment-95735163
.


isFirstRendering always false

in actions.js the method onLocationChanged has the parameter isFirstRendering but the method onLocationChanged from ConnectedRouter.js does not send a value.
actions.js
export const onLocationChanged = (location, action, isFirstRendering = false) => ({
type: LOCATION_CHANGE,
payload: {
location,
action,
isFirstRendering,
}
})
ConnectedRouter.js
const mapDispatchToProps = dispatch => ({
onLocationChanged: (location, action) => dispatch(onLocationChanged(location, action))
})

What the bug does it cause?
Basically, it's intended to be false except only for the first time here.

We use SSR in our apps.
We cannot determine the first LOCATION_CHANGE.
This needed to prevent get data on client because they received on server.

I don't user SSR but it is always same for me too. I've integrated connected-react-router with create-react-app.

@AlexeyAbretov I re-read the code again and you're right. It's obviously a bug. The 3rd argument is passed from handleLocationChange, but, it is not forwarded to the onLocationChange props. I'm merging your PR.


can't override baseURL

trying to get build working again with latest stuff...
jspm 16.b3
builder 12
I can't seem to override baseURL anymore, even though this is an example in the builder/README! =(
[11:20:37] TypeError: baseURL should only be configured once and must be configured first.
  at SystemJSNodeLoader.SystemJSLoader.config (/Users/jon/checkout/gearlaunch/hub/node_modules/systemjs-builder/node_modules/systemjs/dist/system.src.js:1388:13)
  at Builder.config (/Users/jon/checkout/gearlaunch/hub/node_modules/systemjs-builder/lib/builder.js:213:10)
  at /Users/jon/checkout/gearlaunch/hub/gulpfile.babel.js:165:11
  at lib$rsvp$$internal$$tryCatch (/Users/jon/checkout/gearlaunch/hub/node_modules/systemjs-builder/node_modules/rsvp/dist/rsvp.js:489:16)
  at lib$rsvp$$internal$$invokeCallback (/Users/jon/checkout/gearlaunch/hub/node_modules/systemjs-builder/node_modules/rsvp/dist/rsvp.js:501:17)
  at lib$rsvp$$internal$$publish (/Users/jon/checkout/gearlaunch/hub/node_modules/systemjs-builder/node_modules/rsvp/dist/rsvp.js:472:11)
  at lib$rsvp$asap$$flush (/Users/jon/checkout/gearlaunch/hub/node_modules/systemjs-builder/node_modules/rsvp/dist/rsvp.js:1290:9)
  at process._tickCallback (node.js:355:11)

config.js:
System.config({
  "defaultJSExtensions": true,
  "transpiler": "babel",
  "babelOptions": {
    "optional": [
      "runtime"
    ]
  },
  "paths": {
    "github:*": "../../jspm_packages/github/*",
    "npm:*": "../../jspm_packages/npm/*"
  }
});

let bundler = (app) => {
	let builder = new Builder();

	return builder.loadConfig('src/main/config.js').then(function() {
		builder.config(
			{
				baseURL: 'file:' + process.cwd() + '/target',
				paths: {
					'github:*': '../jspm_packages/github/*.js',
					'npm:*': '../jspm_packages/npm/*.js'
				}
			}
		);
		return builder.buildSFX('js/' + app + '/app', path.war + '/js/' + app + '/' + app + '-bundle.js', {minify: false, sourceMaps: false});
	});
}

I also saw this issue. Turns out you can bypass this assertion via this hacky method:
var Builder = require('systemjs-builder')
var builder = new Builder('./')

var baseURL = builder.loader.baseURL

builder.loadConfig('system.config.js')
  .then(function() {
    builder.loader.baseURL = baseURL
    // .... builder.build ....
  })

This assert seems unnecessary.

For jspm it is advisable to do:
var Builder = require('jspm').Builder;

// ...

It will then come with all the correct config.

closing, moving discussion to https://github.com/systemjs/builder/issues/225

The var Builder = require('jspm').Builder; hint should get added to the readme for JSPM users.

@rolaveric this is documented at https://github.com/jspm/jspm-cli/blob/master/docs/api.md#class-builder.


Missing cache sync: esp_mmu_paddr_find_caps returns wrong answer for pages in large memory blocks

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
CC: @mythbuster5
I believe memory blocks in regions can span multiple MMU pages. However, the esp_mmu_paddr_find_caps function only checks the starting address and thus may return the wrong answer for pages that are contained in such large memory blocks. This in return leads to missing cache synchronization.
https://github.com/espressif/esp-idf/commit/5bac46b3e80d8193e79ceead6ddfb24d52050090#diff-faa20d683c326250f53c6865a91baa990ecdb2cd61c03dfc15a2558c24df289dR350
I believe this fixes the issue:
--- a/components/esp_mm/esp_mmu_map.c
+++ b/components/esp_mm/esp_mmu_map.c
@@ -347,7 +347,7 @@ IRAM_ATTR esp_err_t esp_mmu_paddr_find_caps(const esp_paddr_t paddr, mmu_mem_cap
             }

             //now we are only traversing the actual dynamically allocated blocks, dummy_head and dummy_tail are excluded already
-            if (mem_block->paddr_start == paddr) {
+            if (mem_block->paddr_start <= paddr && paddr < mem_block->paddr_end) {
                 found = true;
                 found_block = mem_block;
                 break;

Thanks for reporting.


Do not duplicate bytes length when tree-hashing

When tree-hashing a bytes the length currently appears twice:

in the first four bytes of the serialisation
in the final hash(chunkz[0] + datalen)

This is suboptimal:

It is unnecessary and causes an awkward 4-byte misalignment.
It is inconsistent with the way lists are handled. (bytes is just a list of uint8.)
Removing the 4 leading bytes is an optimisation opportunity when the Merkle root of the bytes object is already known.

I'd support making bytes a de facto synonym for List[bytes1] globally in SSZ; it does make it simple.

Yay, 47 lines removed!


Set up a CI/CD Pipeline

This will set up a CI/CD pipeline for the repository.
In addition to adding a .github/workflow/pipeline.yaml file to the root directory, a number of other files have been modified so that the pipeline can be set up:

Tests were modified so that they are more robust, don't interfere with other tests, and work within the CI/CD pipeline.
Commands were renamed and new commands were added to support and make more clear the CI/CD process.
There are new and modified files in the backend so that fly is able to deploy it.

I need to correct a small mistake in the pipeline.yaml file (it should run when pushing/merging to main, not to pipeline)


Review The DEVOPS Conference opportunity for 10Fold

Review The DEVOPS Conference opportunity for 10Fold

Here's what I submitted


Show menuItem title

When a menuItem showAsAction attribute is set to ifRoom, but has no icon show it's title instead of vertical dots

Titles would take up too much space, don't you think? Let me know if you mean something else.

Something like this http://d.pr/i/Lhx6, but "ANUNCIAR" should be inside the searchView like a expanded menuItem.
I think a single menuItem with a short title it is not a big deal

The whole point of the vertical dots is to show that there is more options when there is not enough space to fit the options in. Text can have variable length so that would not work out here.


xgbregressor and spark.SparkXGBRegressor giving very different results

Hello
I am getting very different results using xgbregressor and sparkxgbregressor.
Any idea why this is happening and how I could fix it?
I have not given seed for XGBRegressor when I initiated it, and I noticed that SparkXGBRegressor doesn't have a seed parameter.
from xgboost.spark import SparkXGBRegressor
from xgboost import XGBRegressor

version of xgboost == 2.0.3
Thanks in advance!

Hi @iamyihwa, could you give more details about the issue, better to have some repro code and faked data.

let's continue the discussion in https://github.com/Nixtla/mlforecast/issues/308 .


Document the codebase

Coverage remained the same at 84.444% when pulling b45424b4ea6b341ee3b993fabfeaf4cd0f6fc6c7 on document-all-the-things into 82f3b46ff30b440fca9c8ae19d44b8fada0e9c35 on master.

Coverage remained the same at 84.444% when pulling 02f8c832bdf09876fc17a3ef21d033456db3503e on document-all-the-things into 82f3b46ff30b440fca9c8ae19d44b8fada0e9c35 on master.


Enable CI/CD deployment to PyPI on merge or commit to main branch

As a developer, I would like to request an enhancement to our project's CI/CD pipeline to automatically deploy our project to PyPI whenever a merge or commit happens to the main branch.
Currently, our project is hosted on GitHub and we have a CI/CD pipeline set up using a continuous integration tool. However, there is no deployment process to PyPI.
By enabling automatic deployment to PyPI on merge or commit to the main branch, we can streamline our release process and ensure that the latest version of our project is readily available to our users.
The desired workflow would be as follows:
0. Make the entire project PIP installable locally using setup.py

Whenever a merge or commit occurs on the main branch, the CI/CD pipeline should trigger.
The pipeline should build the project, run tests, and generate the necessary artifacts.
Once the build and tests pass successfully, the pipeline should automatically deploy the project to PyPI.
The deployed package on PyPI should be versioned according to the project's versioning scheme.

This enhancement will save time and effort for our development team, as well as ensure that our users have access to the latest stable version of our project without any manual intervention.
Please consider implementing this enhancement to our CI/CD pipeline. If there are any further details or requirements needed, please let me know.

I can lend a hand here, but it requires the repo owner to create the pypi endpoint and add the secret keys to github.


add "Changes: Audio" label to labeler

See title. We got the label already, but it is not applied by the labeler yet.
I have no idea how to best test this before merging, but the code is simple enough.

You can test labeler PRs by merging them into your own fork and making test PRs to the fork. Might need to enable the workflow first though, but it should even work for branches if you want to avoid messing with your master.
I tested it and it looks like it works! Nice!


CWE-78 fix for v2

I use a package (css-loader) which indirectly depends on v2 of postcss-filter-plugins, so porting the cwe-78 fix to the older version would fix the audit warnings for myself and the many other people who use css-loader, or current versions of cssnano.
I literally just cherry-picked the changes from 3.0.1 onto 2.0.2.
(looks like y'all don't have a branch for v2, and I guess github doesn't have a way to suggest creating a new branch in the base repository? strange.)

@rettgerst please solve merge problem

This is based on an older version of master, so merge problems are OK and expected. I need to manually merge.

@RyanZim can we wait release in near future?

Cherry-picked to https://github.com/postcss/postcss-filter-plugins/tree/2.x.x and released as 2.0.3. :tada:
Please consider upgrading to PostCSS v6 and postcss-filter-plugins v3 if possible.

can you publish it to npm? doesn't look like it's up yet

@rettgerst looks npm have some problems, i can't publish own package too, just wait


Limit policy reports to kubewarden controller version

Fix #620
This will limit the fetching of policy reports when the installed kubewarden-controller app is a version less than v1.11.0. Adds a banner to the Dashboard page which explains to the user that reports are incompatible and they will need to upgrade. Also added unit test cases.

Hmm, I get Could not find a declaration file for module 'semver'. - shouldn't it be added to package.json?

Some odd behavior, I'm able to leverage the semver package in vue files as it's installed by the @rancher/shell package, but I'm not able to use it in typescript files.
I added the semver and @types/semver packages to the dev dependencies, this should solve the build error.


[TheGauntlet] /warp TheGauntlet - Orion

The warp, "The Gauntlet" is missing 99% of its blocks, the admins+ boss challenges all sit on the barrier floor below spawn.

Turn on /god or /fly
Use /warp TheGauntlet
See error.

For the Gauntlet Island not to be missing a huge chunk due to world edit.

Orion.
The remnants only seem to exist on Orion, I'm guessing that either atlas/titan never had "The Gauntlet" or it was meant to be removed entirely?

I broke it by accident but it was never really a project we planned on continuing anyway. The remnants of it will be destroyed shortly. Thanks for the report!


histogram y-axis label should include histnorm

dupe of #65 ?

This issue came up again in the community forum https://community.plot.ly/t/bug-report-on-px-histograms-histnorm-parameter/29092


Add Scroll To Top button

Hey @CodeXstalker  ,
I want to work on this feature/task of implementing a scroll to top button with an animated progress bar.
Could you please assign me this issue with hacktoberfest label?

under you name, please create one issue at a time.

Hey @CodeXstalker , I've completed the previous task, and this one as well, kindly review my PR at your earliest convenience.
Thank you!

@harshjais369  Share the video for the same


Up to Surreal 1.4.0

prepare for new version:

fix bugs, docs
DEFINE...RELATE
INCLUDE ORIGINAL
highlight
http /rpc

#40


Ski Resort Area Locations

Current metadata draft for Utah Ski Resort Area Locations. Let me know what you think!

I'm not sure if anyone would care or if I would suggest any changes but "alpine ski areas" could be interpreted in an exclusionary way for the mode of travel. Alpine in the sense of high mountains makes sense but it could also imply alpine skiing only where other modes of travel are acceptable. For instance snowboarding, telemark skiing, etc.

Ah, see I don't ski so I didn't realize that alpine skiing was referring to the type of skiing, not the geography. I'll take it out, I agree it sounds exclusionary. Thanks for your input!


Implement PEP-263 and PEP-3120 (WIP 2)

This PR contains mostly error message improvements (to align them more closely with CPython's) and eval changes for the bytes-like overload. Perfect alignment will probably not be practical as CPython may generate different error messages depending whether the code is imported, compiled inline, or run from a file given on the command line.
With these changes, test.test_source_encoding from StdLib passes (excluding two minor implementation-dependent incompatibilities with CPython).

Thanks for the PR!


Added checking for "IsFinishing" on Activity. This will avoid adding …

Added checking for "IsFinishing" on Activity. This will avoid adding the AlertDialog and possibly resulting in WindowManagerBadTokenException.

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,
.NET Foundation Pull Request Bot

thanks


MSBuild option 'TreatWarningsAsErrors' added.

Can you send this to the upstream GYP project first?  I can cherry-pick the patch once it lands upstream.

I'll close, no follow-up.


how to run boxen/boxen changes

I am experimenting with some boxen/boxen changes.  The our-boxen repo Gemfile pulls boxen/boxen from rubygems.org.  I changed my Gemfile to use a public git repo from my github account, to test some changes, but I receive a very weird issue near the end of the boxen install process:
Error: Could not update: Execution of 'brew boxen-upgrade boxen/brews/git' returned 1: Error: git 2.3.0 already installed
Wrapped exception:
Execution of 'brew boxen-upgrade boxen/brews/git' returned 1: Error: git 2.3.0 already installed
Error: /Stage[main]/Git/Package[boxen/brews/git]/ensure: change from 2.3.0 to 2.1.4-boxen1 failed: Could not update: Execution of 'brew boxen-upgrade boxen/brews/git' returned 1: Error: git 2.3.0 already installed

I presume this is because the Gem is pulling the git dependency before boxen-homebrew attempts to run it's upgrade operation on git.  How do the rest of you customize and test boxen/boxen before checking-in changes to be published to rubygems?
Thanks in advance... this has unfortunately stumped me for quite a few hours now.

The error you posted usually happens if you have update a homebrew package that boxen manages outside of boxen.
As for boxen development in my personal config I opted in for all of the boxen repos and then point my personal boxen setup to use local copy with the branch in question.

what @tarebyte said. @addigy is this still an issue or can it be closed?

@addigy closing this—if it's still an issue feel free to re-open with more details.


feat: added footer feature

Context
This pull request addresses issue #16 -implemented a footer at the bottom of the website that includes copyright information and social media links with a background matching the colour scheme of blue.
Closes #16
What Changed?

when scrolling to the bottom of the page there will be different shades of blue footer with links to social media and information regarding our copyright information.

How To Review
Test by:

download Awesome Fonts using: npm install @fortawesome/fontawesome-free
start running the server using npm start and scroll to the bottom

Testing
I ran the server using npm start and scrolled to the bottom. I clicked on every link. Currently, only the GitHub logo takes us to our GitHub Repo as the others are currently just placeholders.
Risks
NA
Notes
NA

Overall, the footer with copyright information and social media links looks good! There seems to be no critical bugs that I observed, and works as intended.
However, I do want to suggest some changes, that I think will allow the PR to become ready for merging:
Improvements

[ ] Check if the footer dynamically adjusts for different screen sizes
[ ] Footer should be visible without scrolling (scrolling disrupts user experience)
[ ] Add short comments to explain the functionality

Possible Suggestions

Footer could be its own component
Move the css elements into the built-in App.css file

Please do let me know of the suggestions - these don't need to be implemented in this pull request, but could be feature improvements!

After careful consideration of your suggestion, we have decided not to go ahead with the suggestion of:
The footer should be visible without scrolling (scrolling disrupts user experience).
However, I have checked and can confirm that the footer dynamically adjusts for different screen sizes and have also added comments in the App.js file.
Please let me know if you have any questions otherwise, feel free to test the feature again and merge.

I think everything looks good to merge now.
Thanks for the work - really appreciate the comments you added for better understanding in the team.


CT abdomen image segmentation is not good

Thank you for sharing. I tried to perform the task of abdomen segmentation directly on CT images, but the results were not good. The following is my result map, please ask what the possible reasons are?

Hello, may I ask how you used this dataset for inference? I also use the same dataset, but it will report errors, such as inconsistent shapes. What other modifications did you make during inference? Thank you.
I think the reason why his abdominal CT results are not good is that the checkpoint is based on what seems to be brain training, so the categories are not quite the same.

start to preprocess support volume
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 3/3 [00:22<00:00,  7.57s/it]
start to extract support feature for each class
0%|                                                                                | 0/13 [00:00<?, ?it/s][29, 41, 19]
[29, 41, 19]
0%|                                                                                | 0/13 [00:03<?, ?it/s]
Traceback (most recent call last):
File "/root/data/lingling/MedLSAM-main/MedLAM_Inference.py", line 34, in <module>
ana_det = AnatomyDetection(args.config_file)
File "/root/data/lingling/MedLSAM-main/MedLAM/Anatomy_detection.py", line 74, in init
self.RD=process_support(self.RD, support_image_ls, support_label_ls, self.patch_size,
File "/root/data/lingling/MedLSAM-main/MedLAM/Cal_support_feature.py", line 54, in process_support
support_image_batch = np.array(support_image_batch)
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 4 dimensions. The detected shape was (36, 1, 64, 64) + inhomogeneous part.

May I ask if your problem has been resolved? My reasoning result on abdominal CT is also the same.


Service / Provider scoping for DI - DI Rework

Right now all providers are initialized during the bootstrapping process. We would like to also support providers that are instantiated at runtime depending on the use case.
Singleton (Default) - Instantiated during bootstrapping, shared among all modules that import the same exporting module.

Transient - Instantiated for each command/event call.

Scoped - Instantiated for every scope if present, otherwise the module is used as a scope.

Split up the current module injector into differently scoped injectors as well as adding a ContextInjector for Event scoped providers.

Tested DynamicInjector and added ContextInjector. Also added a dynamic injector to the router-ref such that routers can store their own providers for things like prefixes and such.


Add replace method to PowerMock and PowerMockito

From<EMAIL_ADDRESS>on May 22, 2009 19:17:40
We should add a "replace" method to the API's allowing the user to replace
each call to a specific method in a class with another value. This is
already support using MockRepository.addSubstituteReturnValue.
We should also consider using replace(X.class, Y.class), i.e. duck-typing.
Would be possible if we extend the addSubstituteReturnValue somewhat (i.e.
lazy-invocation).
Original issue: http://code.google.com/p/powermock/issues/detail?id=108

From<EMAIL_ADDRESS>on October 01, 2009 13:46:20
Labels: -Milestone-Release1.3 Milestone-Release1.4

From<EMAIL_ADDRESS>on July 22, 2010 02:16:55
Labels: -Milestone-Release1.4 Milestone-Release1.5

From<EMAIL_ADDRESS>on August 08, 2010 02:01:38
Status: Fixed


PMID:22134091

increased protein localization to microtubule plus-end
note to self
mal3-89R(aaQ89R)[Wild type product level]

increased microtubule binding

increased protein localization to microtubule plus-end FYPO:0007131
increased microtubule binding FYPO:0007132
edit file: f623968cf338deb197a749ed344b11922bde331f
release: 22a37036cb982537b07873689c6932f2397082a6


Should xarray:open_kwargs be more explicit?

Right this extension doesn't really do any validation. The type on xarray:open_kwargs is Map<string, Any> with zero required fields. Should we update the jsonschema to actually match the fields / types expected by xarray? Two complications:

The exact keywords / types depends on the opener (open_dataset, open_zarr, open_rasterio, etc.) which depends on the media type of the asset. We could have open_datset_kwargs, open_zarr_kwargs, etc.
The keywords / types would change over time. Maybe the schema should indicate the versions of xarray it supports?

I don't really think this is feasible.


Documentation includes many broken imports

Currently linked docs including many:
Unresolved directive in <stdin>

For YAML files that doesn't exist

I think this was an overlook when merging #191

Addressed in https://github.com/micronaut-projects/micronaut-kubernetes/pull/238

Addressed in https://github.com/micronaut-projects/micronaut-kubernetes/pull/238


feat: dart_frog new middleware

Description
I should be able to run:
dart_frog new middleware
and it should generate the middleware in the lib folder.
Right now this doesn't work.
Requirements

[ ] dart_frog new middleware works

Never mind, this can be done with dart_frog new middleware /.
It would be useful if the docstring for the command had some examples.


IntelliJ IDEA error: Access of undefined property SplashScreen

Moved from joshtynjala/feathers#1161
IntelliJ IDEA known issues should be modified. The cleared -preloader argument isn't picked up from airmobile-config.xml because IntelliJ IDEA likes to do its own thing, so it must be added manually.

have the same thing, this helps


Reports View(s)

Create view(s) in the database to facilitate running reports with filters.
Will need to look at payment's dates as one of the filters, and maybe sum up the amount of payments during that time range as well as reporting on the actual order fields.
Once view is created and tested, that will need to be pulled into the migration

SELECT dbo.Payments.CreatedOn, dbo.Payments.Status, dbo.Orders.Id, dbo.Orders.Name, dbo.Payments.Amount
FROM   dbo.Payments INNER JOIN
dbo.Orders ON dbo.Payments.OrderId = dbo.Orders.Id
SELECT TOP (1000) [Id]
,sum([Amount]) as total
,max([createdOn]) as toDate
,max([createdOn]) as fromDate
FROM [Hippo].[dbo].[Test View]
where Status = 'Completed'
and CreatedOn < '2024-08-01' and CreatedOn >= '2024-07-01'
group by Id


Change the CLI so it only does one thing

The following command should start a server from the base directory (defaulting to the current working directory).
npx counterfact [baseDir] [pathToOpenApi]

If an OpenAPI file is given, it will first generate TypeScript code from that file. It should also watch the file and regenerate the types whenever it changes. Thus combining the functionality of the current start and generate commands.
The init command will go away. It's not useful enough to warrant the added complexity.

Depends on #170

I have a PR that does this but now I'm not so sure it's a good idea. Going to hold back on merging for now.

I ended up merging the PR. Instead of flattening the three existing commands I added a new "go" command. The design of the CLI is still fluid. Need to get the other 1.0 issues done so we can get some experience using Counterfact and see what feels right.


Lintr can not be disabled with VS Code 1.21.1 on macOS 10.13.4

VSCode Version: 1.21.1
VSCode-R Version: 0.5.6
OS Version: macOS 10.13.4

Steps to Reproduce:

Install lintr in R terminal.
Open VS Code with vscode-R extension enabled.
set "r.lintr.enabled" to false.
Open an R file.

(If related)setting.json
// R path for Mac OS X
"r.rterm.mac": "/usr/local/bin/R",

// Enable lintr
"r.lintr.enabled": false,

// list of linter functions
"r.lintr.linters": "default_linters",

// toggle caching of lint results
"r.lintr.cache": false,

// R executable path for lintr
"r.lintr.executable": "",

// If true, lintr exec lint_package() instead of lint()
"r.lintr.ispackage": false

Thanks for reading this. I found a similar issue at here while it can't be solved with upgrading to the newest version.

Happening for me too, with "r.lintr.enabled: false" not helping. Seems like my old ticket https://github.com/Ikuyadeu/vscode-R/issues/40 is still active, with the R session loading the lintr package running with --no-init-file and thus not loading the local ~/.Rprofile with libpaths() set.

@ukyoi and @adamaltmejd, thank you for issue.
I think it is cause of R language server. it has lintr function.
Could you try to disable these extension?
Sorry, I can not change r language server settings now.

The linter warnings disappear if languageserver has been removed. But does it mean that the language support is not working at all?

There are no settings to configure the features of the language server right now. We are working on it.

@Ikuyadeu: you made R LSP Client a dependency so it cannot be disabled in VS code.

How to disable lintr on Windows? Is it necessary to remove the "languagesever" package? I want to use the R LSP which needs it.

@Ikuyadeu
Diagnostics can be disabled by using the setting diagnostics in package.json of vscode-r-lsp. Something like
 "contributes": {
        "configuration": {
            "title": "R Language Server Configuration",
            "properties": {
                "diagnostics": true
.....

Fixed by  REditorSupport/vscode-r-lsp#15


Unknown prop _radiumDidResolveStyles on  tag.

I'm getting a warning with React 15.2.0.
Unknown prop `_radiumDidResolveStyles` on <div> tag.

Ref: https://gist.github.com/jimfb/d99e0678e9da715ccf6454961ef04d1b

Same here

We'll have to wait for a fix for https://github.com/FormidableLabs/radium/issues/759

Thanks for replying @jfschwarz , I'll try that out!

@jfschwarz I've updated to 0.5 and confirmed the warning is gone. Thanks!


Clip buildings layer with larger region

There are certain features in the buildings layer that can span multiple tiles at high zooms, which is problematic for rendering. Eg the highline in nyc
Instead of clipping on the tile boundary, we can extend the clip region a tile's worth in every direction, ie a 3x3 grid.

More from the Trello thread:
Here's another view of the High Light in OSM (relation this time):

http://www.openstreetmap.org/edit?relation=175905#map=20/40.74585/-74.00578

At zoom 18 the High Line geometry goes everywhere:
http://tangrams.github.io/tangram/#mapzen,40.744275885977395,-74.00397802140873,18.010624999999994

Talking with @bcamper more about this today, it sounds like this is not a problem in Tangram ES because of implementation details, but we should still fix this for Tangram WebGL (but lower priority). Moving this to Compilation 2.1 milestone to load balance.

Turns out this is an issue for Tangram after all, pulling into v0.7 release.

Thanks!

We just haven't been noticing it in JS, but yeah, still an issue. I had a proof of concept that fixed this client-side, but it's an awful lot of work to put every tile through for the very rare cases where it is actually needed, so I think doing it upfront on the server is the way to go.

Unfortunately, this isn't without visual side effects... :crying_cat_face:

@bcamper, is there anything we can do to mitigate this?

Hmm, interesting issue, this is happening because we exclude edges that fall on the boundary of the current tile, but these are actually lines that while still falling on a tile boundary, it's over a full tile away from the one being rendered :)
Discussing with @blair1618, there are a couple things we'd like to look at:

Can we make these tiles available on a dev server somewhere so we can try them out? While possibly a hacky solution, we could exclude edges falling on any tile boundary (not just the "current" one).
We might want to bite the bullet and try clipping all buildings to the current tile bounds, like we do for other geometry. I saw artifacts with that before but it was so long ago, almost every part of the system has changed in some way and it may not be an issue or can be worked around. It should also eliminate wasteful duplicate geometry/overdraw. On the downside it will mess up UVs for buildings, this might be a problem for the Eraser Map building grid for example.
Related note: is the Highline really best classified as a building?! :/ Simple way to solve this particular case is to change that if it's not semantically correct (I'm not sure).

What about clipping, but serving LineString stroke geometries separately from Polygon fill geometries, and styling accordingly?

My primary concerns with that would be:

Could add a lot of weight to the tiles both for repeated geometry and for properties which we need for styling. This can be measured to see of course.
Increase in client-side processing time to apply many style filters rules twice. So instead of applying a bunch of filters (for things like "tier 3 national park at zoom 11") once to a polygon feature and then drawing it with both a fill and a stroke, you have to check those filters twice, once for the fill geom, then again for the stroke geom. There's a fairly linear relationship in processing time here so I think the increase would be significant.
Would likely require a significant style/scene file overhaul, but that's mostly a one-time cost (just not one we would ideally want to take on now while trying to get an app out the door :)
Doesn't address UV issues with polygons on the sides of buildings anyway.

In general this has felt to me like intelligence that is reasonable to handle on the client-side (low-effort to detect a tile boundary vs. the cost of multiple filtering passes and increased tile weight)... I'm open to changing the way we approach but in that case we should take a broader look at things like polygon UV generation which are not ideal already (@meetar and @zerebubuth did some spitballing on this in NYC a couple months ago).

(I should add that there are definitely places where I think different geometry representations for the same logical feature are a good approach -- an example is the point geometries we added for label placements, because it was just not practical to derive good label placements client-side, especially given the limited knowledge each tile had when a polygon was split across multiple tiles.)

Can we make these tiles available on a dev server somewhere so we can try them out?

Absolutely, if the PRs get :+1:ed by the end of the day, then they'll be in dev tomorrow-ish.

We might want to bite the bullet and try clipping all buildings to the current tile bounds, like we do for other geometry.

Yup, this is pretty easy to try out, it's a one-line config change.

Related note: is the Highline really best classified as a building?!

I wouldn't like to venture an opinion that... seems like it might have some History behind it. :wink:
If you'd prefer a more traditionally large building, we could use LIGO, or the other LIGO, or SLAC, or the Robert-Bourassa dam, or the Bailly generating station, etc...

What about clipping, but serving LineString stroke geometries separately from Polygon fill geometries, and styling accordingly?

Yes, we could totally do that, and already do for water boundaries. Its downside is that it'll increase the size of tile, although hopefully some of that would be reclaimed by TopoJSON and/or compression.

Water boundaries are a good example where the stroke you want to render is the coastline, which is logically a different feature; it's not coincident with the underlying polygons, because water bodies get split into many polygons but the seams between them are often not on tile boundaries.

From my local machine, here's a test with single-tile clipping. It's not looking so great, but I figure that's because I need to tune something in the scene file?

Hm, you shouldn't have to do anything to enable the edge clipping (which is
why you don't see them on landuse polys for instance). What's the scene
file you're using there? Maybe something I'm forgetting.
On Wed, Jan 13, 2016 at 2:31 PM, Matt Amos<EMAIL_ADDRESS>wrote:

From my local machine, here's a test with single-tile clipping. It's not
looking so great, but I figure that's because I need to tune something in
the scene file?
[image: high-line-z18-single-tile-clip]
https://cloud.githubusercontent.com/assets/271360/12305360/49befd18-ba2c-11e5-9e56-6d595ad43e79.jpg
—
Reply to this email directly or view it on GitHub
https://github.com/mapzen/vector-datasource/issues/197#issuecomment-171407927
.

This is the latest version of Tangram Skin and Bones. With minor modifications to point at my local tile server.

Wonder if it's related to extrusion, what happens if you change this to false?
https://github.com/nvkelso/tangram-skin-and-bones/blob/gh-pages/scene.yaml#L1066

:arrow_up: @zerebubuth?

Sadly, looks like extrusion isn't the culprit:

Oh, hehe, the tile edges are set to explicitly draw (I believe this was inadvertently copy-pasted from one of Patricio's old styles):
https://github.com/nvkelso/tangram-skin-and-bones/blob/gh-pages/scene.yaml#L3259
tile_edges: true
Just drop that line :)

Yup, that looks pretty good:

@nvkelso shall we take this to dev and check that there aren't any other rendering artefacts there?

Let's look in dev. Things I think could be an issue: UVs in Eraser Map (almost certainly), seams in 3D from building extrusion, either in Tangram JS or ES or both.

Let's leave this at 3 tiles and get on dev so more people can experiment with it?

Fixed in: https://github.com/nvkelso/tangram-skin-and-bones/commit/25f1e386a0247dc3c61656219fde5c20df8513ee

@nvkelso is that in EM too?

Wasn't present in EM.

I've added #486 to track the u, v issues, which I think we can solve separately.
I've left the tile clip at 1 for now, as I think that setting it to 3 would stop the tile_edges: false working?

Yes that's right, with current Tangram behavior the tile clip at 3 would cause an issue, but we think we could make it work with some minor changes. This could be a preferable temporary fix depending on how Eraser Map looks. Happy to try a boundary of 1 tile first to see how bad the damage is though :)

We should also think of other clients like D3 and Mapbox Studio – I suspect a larger tile clipping strategy would work better for them / show less obvious bugs for styles there?

Mapbox Studio, I think, won't render anything outside the extent of the tile, so the 3x clip would probably work for not introducing rendering artefacts. I'm not sure how D3 works and whether it clips / masks the draw area per tile - if not, then it wouldn't make a difference whether the clip is 3x or 1x.

Right, and for Mapbox we might need to start buffering everything (or have an option for that anyway). I'm not a fan of buffering everything, it feels wasteful to me (adds tile weight and overdraw for something that seems reasonably resolvable client-side), but I do want to maintain compatibility where possible. This needs more research though, I suggest we keep it out of this immediate issue and just do something that works for EM for now?

Yes, let's take to dev.

Looks good to me.
@bcamper for final Tangram signed.
http://vector.dev.mapzen.com/osm/all/16/19295/24632.topojson
http://vector.dev.mapzen.com/osm/all/19/154363/197062.topojson

Hmmm, in both Skin & Bones and Eraser Map I'm seeing seams in the rendered map for the Highline at tile bounds. I thought we had fixed that with the tile_edge change? What else do we need to do to fix this? Was there a Tangram fix we're relying on?

Our options were:

Do no clipping, have the whole building. This was causing issues when very large buildings overflowed the tile local coordinate system.
Clip to tile boundaries, which has special support in Tangram. This causes issues because it resets the u, v texture coordinates at tile boundaries, so building textures look funky. #486 would fix this, but needs work both in the tiles and Tangram.
Clip to 3x tile boundaries, which has no special support in Tangram (AFAIK - @bcamper would know better). This causes tile boundary artefacts with very large buildings, and will have texture issues too, but it avoids boundary artefacts and the texture issue for most buildings.

We initially did (2), but the texture / tile edge artefacts meant we switched to (3). At the moment (AFAIK) none of the currently possible options is completely free from issues.

I'm still fine with (3), and talking with Brett last night it sounds like Tangram needs to be rev'd to support this. So @bcamper to add new issues and relate them here. But we're fine on the tiles end.

Yes, we are good to go with tiles. I think this 3-tile-clipping was just
the least-worst option, because 1) it only generates artifacts for very
large features, and 2) the artifacts can be fixed with a small (if somewhat
hacky) Tangram change (which I will document). We can later explore going
back to 1-tile clipping (and the buffering discussion will become part of
that too).
On Thu, Jan 21, 2016 at 8:57 AM, Nathaniel V. KELSO <
<EMAIL_ADDRESS>wrote:

I'm still fine with (3), and talking with Brett last night it sounds like
Tangram needs to be rev'd to support this. So @bcamper
https://github.com/bcamper to add new issues and relate them here. But
we're fine on the tiles end.
—
Reply to this email directly or view it on GitHub
https://github.com/mapzen/vector-datasource/issues/197#issuecomment-173633638
.

Fix for JS in https://github.com/tangrams/tangram/pull/237, will need to add to ES as well.

Will add in ES - hang tight.

Fix merged in ES, all systems go.

Thank you!

On Jan 21, 2016, at 14:32, Matt Blair<EMAIL_ADDRESS>wrote:
Fix merged in ES, all systems go.
―
Reply to this email directly or view it on GitHub.


Show all media types

When the media types are not specified while calling the API, show all of them.

Not so simple because now you're removing the ability for a person so see only images. This is react-native-image-picker, it should default to images only. If you want to add a different mediaType such as mixed, for the user to explicitly choose to show all media, that might work. But I am concerned about the response object. This will need to be tested thoroughly for all media types.

Agreed that a mixed option is probably more useful

No activity here, so closing this. Feel free to send another PR with a mixed option instead.


Could not make it work with basic set up

I´ve just created a app using CRA, add the allotment dependency and copy/past the sample
yarn create react-app my-app  then  yarn add allotment
and changed the src/App.js to:
import { Allotment } from "allotment";
import "allotment/dist/style.css";

function App() {
  return (
    <Allotment>
      <Allotment.Pane>

A simple div

      </Allotment.Pane>
      <Allotment.Pane>

Just a div

      </Allotment.Pane>
    </Allotment>
  );
}

export default App;

I´ve got a blank screen.
When adding the vertical prop (<Allotment vertical>) it renders the divs and a line between it, where I can not interact with.

I am using
Microsoft Edge
Version 96.0.1054.53 (Official build) (64-bit)
on  Windows 11

Hi @viniciuscr. Thanks for getting in touch.
Could I just check what the dimensions of the element you're putting the Allotment component inside are? If I recall correctly Create React App has a root div with no explicit height. This would force the allotment component to have height zero which isn't very useful.
If this is the case then I will add something to the README making it clear that the Allotment component will take its dimensions from its parent.
Otherwise, I might have to ask for a reproduction on something like Codepen.
Thanks!

Hi @johnwalley .
It worked!
Adding height to the parent was the missing peace.
Yes, updating the README  would be  perfect.
Thanks a lot for the help and even more thanks for this lib, it will save me a lot of time and some headaches


Looking for maintainers

I don't have time to maintain this package, yet it seems quite a few people do use it. If you are willing to take on the maintainer role, let me know here.

Hey @agraboso, I'm interested

@nason I'm on vacation until Sunday. Send me an email to<EMAIL_ADDRESS>and I'll contact you on Monday.

is this moving forward? do we have a maintainer!?
I'd also be down to help as time allows. I've got a fork where I've merged the existing PRs and made some changes so I'm fairly familiar with the codebase.
Let's get this thing stable again!

Just to let everybody know: we have a new maintainer! Give a warm welcome to @nason!

Welcome @nason. If you need any help I am available. We use this extensively at submittable and would like to see it maintained.


Redundant method calls in SSA form

Describe the bug
The generated SSA form recalculates method calls over and over again instead of replacing them.
To Reproduce
Steps to reproduce the behavior:

Use the following code:

class Throw {
    int g;
    int v;
    int a;
    int h;

    public int sqrt(int a) {
        return a;
    }

    public int Tcos(int a) {
        return 1 - a*a/2;
    }

    public int Tsin(int a) {
        return a - a*a*a/6;
    }

    public int w(int t) {
        return v*Tcos(a)*(v*Tsin(a)+ sqrt((v*Tsin(a))*(v*Tsin(a))+2*g*h))/g;
    }
}

Run with arguments --graphical --skip-after SSAFORM

Convert to image (e.g. using dot -Tpng Throw.java > Throw.png)

The w method has many calls to Tsin(a) and hence muls with v

Expected behavior
Tsin(a) should not be calculated over and over again; the following SSA form was expected:
10: DISPATCH 'Throw', 'Tcos', 'this', a
11: mul v, (10)
12: DISPATCH 'Throw', 'Tsin', 'this', a
13: mul v, (12)
14: mul (13), (13) // new
15: mul 2, g
16: mul (15), h
17: add (14), (16)
18: DISPATCH 'Throw', 'sqrt', 'this', (17)
19: add (13), (18) // new
...

The problem with this setup is that the compiler does not know whether the methods rely on some fields of the class that could have been changed meanwhile. Hence, it is perfectly fine for the compiler to generate individual calls. From a single-threaded point of view, the compiler could probably check whether the above case happens in the program, but that tendentially contradicts the overall goal of this project, i.e. being simple and easy to understand for beginners.


Flutter http post is Sending Empty body

Here is my code:
final Map<String,dynamic>userData={
      'firstname': _firstNameField,
      'lastname': _lastNameField,
      'display_name': _userNameField,
      'email': _emailField,
      'password': _passwordField
    };

    final response = await http.post(url, body:json.encode(userData) );

How do  resolve this

Please consider asking support questions in one of the other channels listed at http://flutter.io/support .

@bennybat50 Have you trid this?
await http.post(
  headers: {
    HttpHeaders.contentTypeHeader: 'application/json',
  }

This is working but there is still an error -
Error: Can't access platform private library.
import 'dart:_http';
So I don't know whether to use this solution or not.

@neerajyadv
I fixed this by setting headers' content-type to application/json and accept to application/json. Here's the code snippet.
 await http.post('https://google.com/api/make-request',body: _payload,         headers: {       "accept": "application/json",       "content-type": "application/json"         });

I am also facing the same issue .
final result = await http.post(
"Url path",
body: json.encode({"test":"test"}),
headers: {"accept": "application/json", "content-type": "application/json"  },
  );

In the server request is hitting with req.body is empty.

I am also facing the same issue .
final result = await http.post(
"Url path",
body: json.encode({"test":"test"}),
headers: {"accept": "application/json", "content-type": "application/json" },
  );

In the server request is hitting with req.body is empty.

have you fixed this somehow? I have the same issue

@bennybat50 Have you trid this?
await http.post(
  headers: {
    HttpHeaders.contentTypeHeader: 'application/json',
  }

Thank you!!!!!

if you are using Spring boot with HAL browser and HATEOAS  then Content-Type application/hal+json is causing problem .
so in flutter post request use below headers
headers: {
HttpHeaders.contentTypeHeader: 'application/json',
HttpHeaders.acceptHeader: '*'},


Tile behaviour reporting Entity states

I'm seeing inconsistent behaviour when displaying device states on tiles.
to better explain this I'll give a few examples.
[EXAMPLE 1]
        service: light.turn_on
        service_data:
          entity_id: light.ceiling_light
          brightness: >
            {% set current_brightness = state_attr('light.ceiling_light', 'brightness') %}
            {% if current_brightness == None %}
              {% set current_brightness = 0 %}
              {% set next_brightness = (current_brightness + 25) %}
              {{ next_brightness }}
            {% elif current_brightness > 250 %}
              {% set next_brightness = 0 %}
              {{ next_brightness | int }}
            {% else %}
              {% set next_brightness = (current_brightness + 25) %}
              {{ next_brightness | int }}
            {% endif %}
        icon_mdi_color: >-
          {% if states('light.ceiling_light') == "on" %}
          lawngreen
          {% else %}
          blue
          {% endif %}
        text_color: >-
          {% if states('light.ceiling_light') == "on" %}
          white
          {% else %}
          orangered
          {% endif %}
        text_offset: -15
        text: >-
         lee room
          ceiling light
         {% set current_brightness = state_attr('light.ceiling_light', 'brightness') %}
         {% if current_brightness == None %}
         OFF
         {% else %}
         ON: {{ current_brightness }}
         {% endif %}

Using the above code, the text on the tile will dynamically update to show if the light is off or on and the current brightness.  This will update regardless of the method I use (alexa, zigbee switch, ha dashboard or streamdeck button).
{EXAMPLE 2]
      # Blind Tilt Control button
      - entity_id: cover.blind_tilt_bbac
        service: cover.set_cover_tilt_position
        service_data:
          entity_id: cover.blind_tilt_bbac
          tilt_position: >
            {% set current_tilt = state_attr('cover.blind_tilt_bbac', 'current_tilt_position') %}
            {% set reverse_tilt = states('input_boolean.lee_blind_direction') %}
            {% if current_tilt is not none %}
              {% if reverse_tilt == "on" %}
                {% set next_tilt = (current_tilt - 25) %}
              {% else %}
                {% set next_tilt = (current_tilt + 25) %}
              {% endif %}
              {% if next_tilt > 100 %}
                {% set next_tilt = 100 %}
              {% endif %}
              {% if next_tilt < 0 %}
                {% set next_tilt = 0 %}
              {% endif %}
              {{ next_tilt }}
            {% endif %}
        icon_mdi_color: >
          {% set current_tilt = state_attr('cover.blind_tilt_bbac', 'current_tilt_position') %}
          {% if current_tilt is not none %}
          {% if current_tilt >= 45 and current_tilt <=55 %}
          {% set mdi_colour = "gold" %}
          {% else %}
          {% set mdi_colour = "steelblue" %}
          {% endif %}
          {{ mdi_colour }}
          {% else %}
          grey
          {% endif %}
        icon_mdi: blinds-horizontal
        text_color: >
          {% set current_tilt = state_attr('cover.blind_tilt_bbac', 'current_tilt_position') %}
          {% if current_tilt is not none %}
          {% if current_tilt != 0 and current_tilt !=100 %}
          {% set text_colour = "lavender" %}
          {% else %}
          {% set text_colour = "orangered" %}
          {% endif %}
          {{ text_colour }}
          {% else %}
          white
          {% endif %}
        text_offset: -15
        text: >
         {% set current_tilt = state_attr('cover.blind_tilt_bbac', 'current_tilt_position') %}
         {% if current_tilt is not none %}
         {% if current_tilt == 0 %}
         {% set position_text = "closed Down" %}
         {% endif %}
         {% if current_tilt >= 45 and current_tilt <=55 %}
         {% set position_text = "Fully Open" %}
         {% endif %}
         {% if ( current_tilt > 15 and current_tilt < 45 ) or ( current_tilt > 55 and current_tilt < 85 ) %}
         {% set position_text = "partly open" %}
         {% endif %}
         {% if current_tilt == 100 %}
         {% set position_text = "closed Up" %}
         {% endif %}
         {% if ( current_tilt > 0 and current_tilt <= 15 ) or ( current_tilt >= 85 and current_tilt < 100 ) %}
         {% set position_text = "almost
          closed" %}
         {% endif %}
          lee room
           blinds: {{ current_tilt }}%
          {{ position_text }}
         {% else %}
          Lee room
           Blinds
           UNKNOWN
           ERROR
         {% endif %}

Again the above code works to control a switchbot blind tilt. Once again the tile updates dynamically showing the blind tilt position/icon colour etc. and regardless of how the tilt was moved (alexa, home assistant, streamdeck, switchbot app or even manually) it dynamically registers the entity attribute has changed and updates the text and icon colour.
[EXAMPLE 3]
      # radiator control
      - entity_id: input_number.jo_office_temp_control
        service: input_number.set_value
        icon_mdi_color: >-
          {% set desired_temp = states('input_number.jo_office_temp_control') | float(1) %}
          {% set current_temp = states('sensor.jo_office_thermostat_temperature') | float(1) %}

          {% if desired_temp > current_temp %}
          {% set current_status = "on" %}
          lawngreen
          {% else %}
          {% set current_status = "off" %}
          blue
          {% endif %}

        service_data:
          entity_id: input_number.jo_office_temp_control
          value: >-
            {% set current_temp = states('input_number.jo_office_temp_control') | float(1) %}
            {% if current_temp >= 20 %}
              {% set next_temp = 15 %}
            {% else %}
              {% set next_temp = (current_temp + 0.5) %}
            {% endif %}
            {{ next_temp }}

        icon_background_color: black
        icon_mdi: radiator
        text_offset: -20
        text: >
          {% set desired_temp = states('input_number.jo_office_temp_control') | float(1) %}
          {% set current_temp = states('sensor.jo_office_thermostat_temperature') | float(1) %}
          {% if desired_temp > current_temp %}
          {% set current_status = "on" %}
          {% else %}
          {% set current_status = "off" %}
          {% endif %}
          Jo Office
           Heating:{{ current_status | upper }}
           Actual {{ current_temp }}°
           Desired {{ desired_temp }}°

The above example controls an oil radiator (connected to a zigbee plug).  A simple home assistant automation controls the on and off on the plug based on one of two events (a number slider helper in HA and a zigbee thermostat sensor.)
The tile on the stream deck dynamically shows the value of the number helper slider, the {{ desired_temp }}.  However the sensor.thermostat {{ current_temp }} does not dynamically update when thermostat entity updates unless the streamdeck  is refreshed by utilising an action to force a page refresh
I'm seeing this with other entities as well so thought I ask if it's something obvious I'm missing.
Apologies for the length of the post,  and thanks for reading this far.

[ Disclaimer: I am not in any way connected to the development of this application, I am just another user trying to help out :) ]
I have run into a similar issue in the past - the state of the tile seems to be controlled by the entity_id you provide, and will only update when that entity's state changes in home assistant. In your case, I would try setting entity_id to the one you are trying to monitor (current_temp), or another entity that changes state more quickly (I even used sensor.time in some cases, which updates every minute - even works for showing a real time clock on the StreamDeck :) )

Hi @ziggycatuk,
Author here. Just confirming that @bogd is correct. The state of each tile updates with the entity_id you provide. If this entity's state doesn't change frequently, the tile's display might seem inconsistent. Using an entity_id that updates more frequently can resolve this. Thanks @bogd for your insightful solution and @ziggycatuk for bringing up this issue.
I have opened https://github.com/basnijholt/home-assistant-streamdeck-yaml/pull/119 to clarify this in the README.

I was trying to output information from two different entities on one tile and have it dynamically update if either changed.
The two values represented a thermostat temperature and a number helper used to set a desired temp
I was doing this without realising only the entity named in the entity-id:  would be dynamically updated.
Solved by creating a template sensor that incorporates the temperature value from thermostat and assigning an attribute to store the value of the desired temp, then reference the new sensor in the entity_id:
    jo_office_temp_control:
      friendly_name: jo office temp and slider control value
      value_template: >-
        {{ states('sensor.jo_office_thermostat_temperature') | float(1) }}
      attribute_templates:
        slider: "{{ states('input_number.jo_office_temp_control') | float(1) }}"

Now works like a charm.
I really appreciate the help.
Many thanks

I was doing this without realising only the entity named in the entity-id: would be dynamically updated.

Small correction here - the entire tile gets updated, not just the values for that entity. It is just that the updates happen only when that particular entity changes state.

I was doing this without realising only the entity named in the entity-id: would be dynamically updated.

Small correction here - the entire tile gets updated, not just the values for that entity. It is just that the updates happen only when that particular entity changes state.

That's not what I experienced.  Only one entity would ever refresh, regardless of frequency of the value changing.
In [Example 3] above I could move the slider back and forth in the HA dashboard and it would instantly reflect on the tile, but then the temperature value would never update without manually interacting with the streamdeck to force it to redraw the page.
The same was true if I used the temperature sensor as the entity_id: , the tile would update dynamically as the thermostat pushed a new value but any changes made to the slider value would never be reflected unless interacting directly with streamdeck to force it to redraw.
All this is solved now and your help was the key figuring out a solution :)

@ziggycatuk - One example from my configuration file, which I just tested:
  - icon_mdi: air-conditioner
    entity_id: sensor.bedroom_temperature
    text: |
      Bedroom
      {{ states("sensor.bedroom_temperature") | string + "°C" }}
      Set to {{ (state_attr("climate.bedroom_ac", "temperature") | string) + "°C" }}

In this case, the tile will only update when the actual temperature measured by the sensor changes. But when the tile is updated, both values update correctly.
So if I change the AC set temperature, the tile still shows the old set temperature until the actual sensor value changes. But when that does, the tile updates with the correct values for both templates (actual and set temperature).
It might have something to do with the way you use {%set%} - it is my impression that set values are only populated once, and are not updated when the tile is redrawn. So maybe using the values directly in the template (instead of setting them via {%set) would also work in your case.

Interesting that it works for you, but the problem persists for me using your code snippet (modified for my entities).
entire contents of configuration.yaml
state_entity_id: input_boolean.streamdeck
brightness: 80
auto_reload: true

pages:
  - name: Home
    buttons:
      - icon_mdi: air-conditioner
        entity_id: sensor.jo_office_thermostat_temperature
        text: |
          Office
          Actual: {{ states("sensor.jo_office_thermostat_temperature") | float(1) | string + "°C" }}
          Desired: {{ states("input_number.jo_office_temp_control") | float(1) | string + "°C" }}

Moving the slider in HA to change the value of input_number.jo_office_temp_control has no effect on the tile.
I'm running this plugin in a docker container remotely on an RPi and not directly usb connected to the server