[BUG] hive.boost_heating_on when invoked on TRV produces errors

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behaviour:
Call hive.boost_heating_on on a TRV entity
service: hive.boost_heating_on
data:
  entity_id: climate.office
  time_period: '00:15:00'
  temperature: 30

Expected behaviour
Boost is invoked
Screenshots
N/A
Desktop (please complete the following information):

OS: Docker
Browser: chrome
Version: latest

Additional context
The errors below appear in the logs, however boost is actually invoked on Hive side, however sometimes with random temperature setting. Also Mode entity has a value Unknown instead of MANUAL or OFF, I guess it's supposed to be BOOST
2021-12-15 00:48:08 ERROR (MainThread) [homeassistant.util.logging] Exception in async_write_ha_state when dispatching 'hive': ()

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 486, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 519, in _async_write_ha_state
    state = self._stringify_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 492, in _stringify_state
    if (state := self.state) is None:
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 210, in state
    return self.hvac_mode
  File "/usr/src/homeassistant/homeassistant/components/hive/climate.py", line 161, in hvac_mode
    return HIVE_TO_HASS_STATE[self.device["status"]["mode"]]
KeyError: None

2021-12-15 00:48:17.818 | ERROR    | apyhiveapi.helper.logger:error:16 - An unexpected error has occurred whilst executing getMode with exception <class 'KeyError'> 'mode'

2021-12-15 00:48:17 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 728, in _update_entity_states
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 473, in async_update_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 519, in _async_write_ha_state
    state = self._stringify_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 492, in _stringify_state
    if (state := self.state) is None:
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 210, in state
    return self.hvac_mode
  File "/usr/src/homeassistant/homeassistant/components/hive/climate.py", line 161, in hvac_mode
    return HIVE_TO_HASS_STATE[self.device["status"]["mode"]]
KeyError: None

2021-12-15 00:48:17.847 | ERROR    | apyhiveapi.helper.logger:error:16 - An unexpected error has occurred whilst executing getMode with exception <class 'KeyError'> 'mode'

2021-12-15 00:48:17.850 | ERROR    | apyhiveapi.helper.logger:error:16 - An unexpected error has occurred whilst executing getMode with exception <class 'KeyError'> 'mode'

2021-12-15 00:48:17.852 | ERROR    | apyhiveapi.helper.logger:error:16 - An unexpected error has occurred whilst executing getMode with exception <class 'KeyError'> 'mode'

Can this be retested on the latest version and re-open if its still an issue


tab-change event only on user actions

I'm using vuex. I need to change tab programmatically and with user actions (click on tab). Is possible trigger tab-change only for user actions and not when i change it programmatically?
Thanks

@bicienzu at the moment don't think that's possible. If you need such a thing it can be added as a new event here https://github.com/cristijora/vue-tabs/blob/master/src/components/VueTabs.js#L63
navigateToTab is called only upon click and therefore you can emit a new event there and feel free to open a PR


flutter_quill_extensions and flutter_html are incompatible

If there is only flutter_quill: 6.4.4, there is error:
Resolving dependencies...
Because flutter_quill >=6.4.3 depends on i18n_extension ^7.0.0 which depends on intl ^0.18.0, flutter_quill >=6.4.3 requires intl ^0.18.0.
And because every version of flutter_localizations from sdk depends on intl 0.17.0, flutter_quill >=6.4.3 is incompatible with flutter_localizations from sdk.
So, because aaa depends on both flutter_localizations from sdk and flutter_quill 6.4.4, version solving failed.
pub get failed
command: "D:\flutter\bin\cache\dart-sdk\bin\dart __deprecated_pub --directory . get --example"
pub env: {
  "FLUTTER_ROOT": "D:\flutter",
  "PUB_ENVIRONMENT": "flutter_cli:get",
  "PUB_CACHE": "C:\Users\LongPC\AppData\Local\Pub\Cache",
}
exit code: 1

Process finished with exit code 1

If there is only flutter_quill: 6.4.4, there is no error:
If there is flutter_quill: 6.4.2 and ..., there is no error:
  flutter_quill: 6.4.2
  flutter_quill_extensions: ^0.1.0
  vsc_quill_delta_to_html: ^1.0.1+1

but if there is flutter_quill: 6.4.2 and ..., there is error:
  flutter_quill: 6.4.2
  flutter_quill_extensions: ^0.1.0
  vsc_quill_delta_to_html: ^1.0.1+1
  flutter_html: ^2.2.1

Resolving dependencies...
Because no versions of flutter_html match >2.2.1 <3.0.0 and flutter_html 2.2.1 depends on flutter_svg >=0.22.0 <1.0.0, flutter_html ^2.2.1 requires flutter_svg >=0.22.0 <1.0.0.
And because flutter_math_fork >=0.6.0 depends on flutter_svg ^1.0.0, flutter_html ^2.2.1 is incompatible with flutter_math_fork >=0.6.0.
And because every version of flutter_quill_extensions depends on math_keyboard ^0.1.6 which depends on flutter_math_fork ^0.6.3+1, flutter_html ^2.2.1 is incompatible with flutter_quill_extensions.
So, because aaa depends on both flutter_quill_extensions ^0.1.0 and flutter_html ^2.2.1, version solving failed.
pub get failed
command: "D:\flutter\bin\cache\dart-sdk\bin\dart __deprecated_pub --directory . get --example"
pub env: {
  "FLUTTER_ROOT": "D:\flutter",
  "PUB_ENVIRONMENT": "flutter_cli:get",
  "PUB_CACHE": "C:\Users\LongPC\AppData\Local\Pub\Cache",
}
exit code: 1

Process finished with exit code 1

Hi, if you still facing this issue or any other issues feel free to contact us on GitHub


Don't crash on narrow window widths

I really don't remember how I ran into this, but, well, here's a fix.
Fixes https://github.com/flutter/flutter/issues/70521.
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test exempt.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I signed the CLA.
[ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

I clicked re-run on the tests, will take a look in a bit

I clicked re-run on the tests, will take a look in a bit

FWIW, tests are green.

FWIW, tests are green.

will land on green

will land on green


Create tr-tr.json

Turkish translation for 1.16, 1.18, 1.19, 1.20, 1.21

Thank you for translating this mod! Your translation will be added in the next update for Railroad Blocks.


a problem about commit "Save push state url for inline pages" 290ca661d13eb0968a01fd8d428bd33c5bf421a8

I was trying to debug the issue of #868, found the issue started from this commit. After I rollbacked your modification "url = undefined;" in clicks.js, my issues got solved. The problems happen when clicking 'back" if there is deep recursive repeat history, e.g. 'a->b->a->b->a->b'. Hope you can get some clue from this.
For example in my app.
http://localhost:3000/
click -> http://localhost:3000/#!/#brokerDetails?id=56651974ddb299ad8287072f
click -> http://localhost:3000/#!/#carDetails?id=56e21dd7128fe10051b7c4f8
click -> http://localhost:3000/#!/#brokerDetails?id=56651974ddb299ad8287072f
click -> http://localhost:3000/#!/#carDetails?id=56e21dceefa6310054f5814e
back -> http://localhost:3000/#!/#brokerDetails?id=56651974ddb299ad8287072f
back -> http://localhost:3000/#!/#carDetails?id=56e21dd7128fe10051b7c4f8  ====> here, the page is totally screwed up, it does not load carDetails page, or even brokerDetails/index page, it loads in another page which is never accessed.

same with my problem..
please help..

Does this issue still occur?


Fix missing SomebodyGroup management handlers

@Joltrix please take a look. Here https://github.com/StarcounterSamples/People/commit/9e6ff77f408382f4600876f33844a77a3705b9b6 you've accidentally removed my changes :( Could you merge if ok? :)

@mmnosek I'm so sorry!! Yeah of course it's okay! The only thing I was changing was the HTML :D So I'll go ahead and merge this :)

Thanks! Sure, not a problem at all, just wanted to let you know for the future by this PR ;)


Building under debian

Hello,
FYI, You will need the following dependencies to build under Debian (Ubuntu is probably similar):
apt install build-essential libxft-dev libharfbuzz-dev

@m-fonseca  It builds with those dependencies right?

Hello,
FYI, You will need the following dependencies to build under Debian (Ubuntu is probably similar):
apt install build-essential libxft-dev libharfbuzz-dev

I have added this in the readme. Thanks for this!


VHD file support

I want to boot into VHD files. For instance, Upload and boot into a file called Windows XP.vhd. I have a VHD file to boot into. When I upload it, it says Invalid Boot Device with 512 MB of RAM, 32 MB Video RAM. Can you help?

#351.


fix(topbar): some buttons not clickable

issue mentioned: https://github.com/nimsandu/spicetify-bloom/issues/358#issuecomment-2147670718
also center the topbar
fixed playbar hiding some of the right sidebar elements
current behavior

expected behavior

done with 🤍


[Bug]exceeded your current quota

Bug Description
使用一个账号余额未过期且未消耗完的一个API KEY配置，输入问题总是给出这样的提示：
{
"error": {
"message": "You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.",
"type": "insufficient_quota",
"param": null,
"code": "insufficient_quota"
}
}
是因为缓存的原因吗，我已经重置所有，但依然没有作用，希望能修复这个BUG，或给出解决的方法，谢谢！
Steps to Reproduce

配置API KEY
发送问题
给出的提示就是Bug Description中描述的

Expected Behavior
希望能给出解决方法
Screenshots
No response
Deployment Method

[ ] Docker
[ ] Vercel
[ ] Server

Desktop OS
No response
Desktop Browser
No response
Desktop Browser Version
No response
Smartphone Device
No response
Smartphone OS
No response
Smartphone Browser
No response
Smartphone Browser Version
No response
Additional Logs
No response

Hi, this means you have reach your open ai account, please check your openai account to resolve the issue


All files on /mnt/drive_letter are marked as executable

All files in Windows accessed from Linux subsystem are marked with 'x' bit.
Files such as .txt are not executable.
Actual results (with terminal output if applicable)

$ ll /mnt/c/Windows/*.txt
-r-xr-xr-x 1 root root 0 Mar 15 07:49 /mnt/c/Windows/authtest.txt*

Your Windows build number

14393.51

I think that's been marked as a "feature" for months now. There's documentation about why it was designed this way.
Basically, they only expect / (VolFS) to work like a linux filesystem. Anything under /mnt (DrvFS) is rwx for convenience. The underlying NTFS enforces access control.
Execution (x) is problemmatic. If you don't have it, you can't execute anything stored in DrvFS -- which might make things more secure, but also leads to less flexibility, such as the ability to use a Windows text editor (which knows about Unix line-endings) to edit scripts, which one can't do in VolFS.
The next iteration of this may also be on the backlog.
Apparently the way to change this is to find and support (or create) a suggestion on uservoice.

This "all files as 'x'" is ugly under bash terminal. MINGW and cgwin don't do this.
I am still not using WSL as my default bash on windows due to this only reason.

This is actually a functional issue for us, as it breaks find, and file under WSL.

This is also a problem if you symlink files into your home directory to keep them in sync; for example, I have a standard practice to symlink .ssh (and other dotfiles) from a folder that is automatically backed up. SSH refuses to run this way because of the permissions on the linked files.
Some kind of workaround would be nice.

asside form uglyness this fucntionally breaks things as well such as when you are developing on ntfs but need wsl for deve tools and you may be using wsl for git.
Git will commit this X permission and now anyone who clones the repository is affected.
Any clones done in wsl will have a similar effect on any windows application that uses git.
From a windows application git will report that EVERY SINGLE FILE HAS CHNAGED. This will then cause a chain reaction of events all your git hooks and code valiadations script s etc etc eetc will now be processing files for no reason.
You can stop git tracking this but then shell scripts you have developed and tested will not be executable when cloned on a linux server.
There are sooo many problems caused by this. No file should be executable by default from WSL ever! (perhaps with the exceptions of .exe files for launching windows programs from wsl)
IMO there is no reason to make all file executable by default. No unix system ever does this when creating a file and neither does creating a new file from wsl, so why should files created in windows be different?
There is also no need to track all the permissions of files etc just use the linux default and only add +x in FS queries when '.exe,.com,.msi' files are concerned. Things that are obviously executable.

Using permissions only matters from WSL and having  +x by default ONLY breaks things. It provides no benefit.

I found this fix online.
Edit/create a WSL config file /etc/wsl.conf and add this inside it:
[automount]
enabled = true
options = "metadata,umask=027,fmask=117"

After you restart windows, files in your windows mount will not be flagged as "executable".
You will have to manually fix all the permissions for existing executable files on your drive since they will now be flagged as not-executable, but you should be fine after that.
I've only been using this for a day, but it seems to be working fine.

Thanks @jonathanpel I have actually tried this before but then you are not able to execute windows .exe files anymore even if you chmod +x them.

You are right @b-hayes I didn't noticed that, but it's only true for apps that are in Windows "protected" folders. I have some executable files that are in my AppData folder or elsewhere and they run fine if I change the permission on them. I'm not able to change the permissions on files that are in Program Files or in System32 and such, so they can't be run from WSL.
For me it's a fine compromise since the few Windows executable I need to run from WSL are in my personal "Users" folder.
Clearly it's not a perfect solution, but I think it's a useful tweak while we wait for a more permanent solution.

Perhaps a combination of
[automount]
enabled = false
mountFsTab = true

and
c:             /C             drvfs      rw,noatime,uid=1000,gid=1000,umask=027,fmask=117,metadata    0    0
//localhost/c$ /c             drvfs      ro,noatime,uid=1000,gid=1000,umask=027,fmask=007    0    0
/C/Users       /c/Users       none       bind   0    0

and
export PATH="${PATH//\/C\//\/c\/}"
This should make executable files (PATH) load via SMB (read-only is sufficient and no metadata needed) and other files in the normal way.

I also discovered this breaks python nosetests unless you (are willing to) provide --exe (read more at https://stackoverflow.com/a/6334161/1168342)

Git will commit this X permission and now anyone who clones the repository is affected.

So in summary, as a general rule if a developer is using a default WSL installation (without the workaround in /etc/wsl.conf), they should be instructed always to make Git commits via Command/PowerShell/Git Bash and never make Git commits from inside WSL. (Or more precisely, never to add files to the Git index from within WSL.) Otherwise the repository will be littered with arbitrary source files marked as executable, based upon which developer happened to make the commit.
Is that a fair assessment?

So your stance is EVERYONE should have to implement workarounds for the MAJORITY of cases rather than taking a sensible default position that benefits everyone?

I can't tell if your reply is directed at me, but since you quoted me I want to note that I'm not with Microsoft and I'm new to this ticket, and I was merely asking a question to confirm what Microsoft recommends as the implication of this decision. (Yes, I'm as incredulous as you are that this decision was made, but my post was merely to put down concisely in black-and-white what the decision and its implication was before I started complaining about it. If someone verifies it is true, which I'm still waiting on, then yes my reaction would be similar to yours.)

Force dev to implement/use workarounds or avoid using Linux tools entirely defeats the purpose of having WSL imo.

Exactly. I was waiting to have that reaction until someone confirmed that this is indeed the case (which I infer to be true from reading the ticket, but since it is so ludicrous I wanted to make sure first).
So can someone confirm that my summary above is correct, or am I mistaken in understanding the situation?

Sorry if my response seemed harsh.
It is a fair assessment however, if your only concern is git, then I would just type the following command in wsl...
git config --global core.filemode false
And then you can only commit a +x bit if you intentionally do so via another git command:
git update-index --add --chmod=+x

if your only concern is git, then I would just type the following command in wsl...

So I have to main two separate .gitconfig files on the same machine? And each developer has to remember to make this change? And now adding an executable file in Git requires extra commands, and you have to remember to do it differently if you're at the PowerShell or WSL prompt?
That doesn't sound like "just" is appropriate in your sentence. It sounds like even that is a nightmare of maintainability.

Sorry if my response seemed harsh.

If my assessment was correct (and it seems to have been), that the response wasn't harsh—I just wasn't sure why it was directed at me.
But the issue here is this incredibly "inconvenient" (for lack of a better word) approach on the part of WSL. Sheesh. WSL is so nice in general, but as usual, there's always a wrench being thrown in.

You would have to use that same git command on windows if you want to commit the +x bit regardless since the windows file system has no way to represent +x. The config setting also means nothing to windows because of this. If you dont want to use git inside wsl thats fine but I wouldnt force people not to when a simple config change will do.

I came here looking for a reason why Visual Studio would think that all the bash script files in a fresh clone had changed, but there were no visible differences. In wsl, git diff and git status indicated there were no changes.
Recently I created a new /etc/wsl.conf file as none of my PRs included the executable permission on a new script file, even though it appeared to have the executable flag. (I'm usign a shared file system in /mnt/c/workspace). The new contents of my /etc/wsl.conf file seemed to fix the executable bit in a commit:
[automount]
options = "metadata"

However a new, fresh clone would appear to have file changes. To resolve that I used this:
git config core.filemode false

I'm not sure this is the best solution, but it seems to be working. I'm open to suggestions or comments. Thanks

For those of us who are simply concerned with the display color mess caused by the "everything is executable" permissions, there is a workaround on Super User.


Powershell coding practice: un-approved verb "create"

Need to replace Create with New. This follows the Powershell PsScriptAnalyzer recommendations built into VSCode

Published recommendations: https://learn.microsoft.com/en-us/powershell/scripting/developer/cmdlet/approved-verbs-for-windows-powershell-commands?view=powershell-7.4

Resolved with find/replace Create- with New-.


Include all dependencies in requirements.txt

pytest
phylogenetics

Maybe also good to add installing from requirements to the setup instructions? Currently it's missing:


Un-instance a scene

Sorry for the strange title but I have no better one in mind right now:
Sometimes I create a new scene and instance it in a first scene, but I later realize it is better not to have it as an external scene, but as part of the first scene. But there is currently no way of asking Godot to take a scene instance and make it so it's not an instance anymore.
In other software you would usually copy the root node, then paste it where you want it to be in the main scene, then delete the duplicate instance. But in Godot you cannot do that. You only have Ctrl+D, which only works within the current scene, not across two.
If there is a way to do that please tell me (Godot is full of hidden features :p), otherwise it should be made easier.

You can do "Import > Nodes from Scene" to import the nodes of this other scene directly, without instancing. (in the git master HEAD it was replaced by "Right click > Merge Nodes from Scene").
But I guess a contextual action on instanced scenes could be added to make this more obvious.

I was always wondering how to do this. It would be great if there was an option to convert an existing instanced scene to a "unique" non instanced one.


Assuming the pypi release is for the Path change

There's no release-tag for the latest release at pypi, so I'm guessing:
https://pypi.org/project/atomicwrites/1.4.0/
vs
https://github.com/untitaker/python-atomicwrites/releases
Is that right?   It's just the latest master at pypi?

fixed, thanks


I can't rewind this video with Clappr...

I'm not able to rewind this video with Clappr:
<EMAIL_ADDRESS>However I can do it with Native HLS Playback Chrome extension
https://chrome.google.com/webstore/detail/native-hls-playback/emnphkkblegpebimobpbekeedfgemhof
Is there any way to enable it? with some plugin or extra code.
Thanks in advance.

This HLS is 30s long and it seems do not fit into the DVR enable logic.

Thanks Leandro. So there is no way to force the rewind for some videos? Sometimes I want to repeat something that happened a few seconds ago.

Yes, as you can see you can pass the hlsMinimumDvrSize option.

Ok, adding hlsMinimumDvrSize: 1 or any number
Thank you!


Added Platform Dependent Compilation directive to GADependencies.cs

PlayServicesResolver scripts are only required on Android.
Added Platform Dependent Compilation directive to GADependencies.cs that has been missed.
Stops error Google.JarResolver.ResolutionException: Cannot find candidate artifact for com.google.android.gms:play-services-analytics:9.4 being logged out on other target platforms.

We switched how the resolving works so this file no longer exists. I think we resolved this issue in the newest version, if not please open a new request.


I can't get rid of sollidus_subscription

I removed the gem, and reversed the installation. Firstly, the migrations remained, so I had to manually write a migration to get rid of any tables, indexes and foreign keys. Now that the gem is uninstalled and all migrations removed, the entire store broke into pieces, as whatever we do traces of the gem keep appearing - i.e.:
ActionView::Template::Error (undefined method 'subscribable' for #<Spree::Variant:0x00007feec5b059d0>):     106: <div data-hook="admin_product_form_subscribable">     107:   <%= f.field_container :subscribable do %>     108:     <label>     109:       <%= f.check_box :subscribable %>     110:       <%= Spree::Product.human_attribute_name(:subscribable) %>     111:     </label>     112:   <% end %>
No idea where this is coming from? What do we have to do - step by step to remove the gem?

Hey there! Can you please let us know how you solved this if you have time? It could be helpful for the next person with the same issue!

Hi @kennyadsl, we haven't solved the issue. We are at an early stage of development, so we set up a new shop and moved everything over that was working. We spent two days on the issue above, and it was cheaper to create a new shop simply, and we are now writing our subscription logic, as we can't risk another issue that cannot be solved.
We still have the old shop on our server, so if you want me to troubleshoot - I am happy to assist!

Yes please, I'd like to take a look if possible.

This issue has been resolved - the problem was we have Solidus User Roles added to our Gemfile. Upon installation it populates a permission table (Spree::PermissionSet) and there was the following reference in the table:
SubscriptionManagement - SolidusSubscriptions::PermissionSets::SubscriptionManagement
DefaultCustomer - SolidusSubscriptions::PermissionSets::DefaultCustomer

Upon deleting all entries that refer to SolidusSubscription the issue above was resolved!


SPIKE: form.oi tweaks research

As discussed, research to determine the feasibility and time required for the following changes:

Make the "drag and drop" blue box always visible, even after adding a question.
Rename the "Basic" header on top of the questions/survey components (name tbd)
Change the name of the "Data" tab (name tbd)
Hide the "Values" and "Shortcuts" section in the table on Data tab and make "labels" mandatory (checkboxes, category checkboxes, and radio)
Hide the "Search field(s)" search bar
Turning on the multi-page option will delete all the pre-existing survey questions added (even after being saved). Can we do anything to prevent that?

Make the "drag and drop" blue box always visible, even after adding a question. (Can't be done)
Rename the "Basic" header on top of the questions/survey components (name tbd) (Removed the name)
Change the name of the "Data" tab (name tbd) (Renamed to Values)
Hide the "Values" and "Shortcuts" section in the table on Data tab and make "labels" mandatory (checkboxes, category checkboxes, and radio) (Can't be done)
Hide the "Search field(s)" search bar (hid)
Turning on the multi-page option will delete all the pre-existing survey questions added (even after being saved). Can we do anything to prevent that? (Can't be done)

Make Label field required for checkboxes and radios


Change a dependency resolving to include in deps folder and add to mix.exs

Right now all the dependencies get compiled into elm-deps, and elixir treats them as project code.
For it to be able to further fetch dependencies it needs to add
{:'elchemy-core', path: "elm-deps/wende/elchemy-core"}

for each dependency into mix.exs ONCE so that it fetches all of the dependencies specified in its mix.exs file
Ublocks #125

Assigning you @colinbankier, since you were the last one to mention working on this issue. Ping me if anything changed

Closed by #239


Support json content in RequestParsers class

This PR to Support new HTTP content-type "application/json".
Currently body property in request object will contains a JSON object decoded from incoming JSON string.

-1 I believe mixing in framework like "helpers" to server things is not a good idea.

+1, this library's purpose is to marshal data from tcp to PHP objects. When a client sends a file, it converts it to a FileInfo object. When urlencoded, it converts it to php array. So, when the client sends json, this library should also convert this into a php array. The only conclusion you could make. Actually I as a React\Request object consumer don't care which content-type the client used. I want to sent data, not in a raw format.

Not sure if FileInfo is appropriate because it might require to load a file into memory which wouldnt work for big/huge files. Something streamable would be good.

Afaict this has been filed to build a new feature on top of the previously broken master branch. Now that #59 is in, is this still relevant?

Thanks for filing this PR, I can assure you we're working hard on this :+1:
This PR currently targets an unstable development feature that is no longer part of the master branch, so I've just filed #105 to keep track of the underlying feature request here. Please bear with us, we'll keep this ticket updated :+1:


About Roberta Finetune?

When you run Roberta's code, is there no fine-tuning done in the feature processing?

Yes. We use pre-trained "roberta-base" from the transformers library for feature extraction and MLP layers for classification. We did not employ fine-tuning since we do not have enough computational resources for all tweets in TwiBot-22.
If you want to, you can easily fine-tune LMs on TwiBot-22 and we are looking forward to your results! :)


Fixed build_rpm.sh script for Fedora 30

golang-github-cpuguy83-go-md2man is only available in Fedora 30 and
got renamed to golang-github-cpuguy83-md2man for Fedora 31 which breaks
the user interface for building rpm on fedora 30.
It fixes the same by installing correct md2man package on Fedora 30.
Signed-off-by: Chandan Kumar (raukadah<EMAIL_ADDRESS>

/lgtm

/approve


Dumping to stdout a YouTube video that starts with and underscore (_) fails

As the subject says, if one tries to dump to stdout a video whose ID starts with an underscore (_), youtube-dl instead tries to save it to disk.

youtube-dl --output - -- 'https://www.youtube.com/watch?v=_KYvp8PrCFc'

Maybe you need to specify the best format. E.g.
youtube-dl -f best --output - 'https://www.youtube.com/watch?v=_KYvp8PrCFc'

I think I've found the issue:  with the latest version (2015.04.26) it seems the option to write to stdout is broken (i.e. --output -).
I've downgraded to 2015.04.09 and it seems to be working now.

as @yan12125 said you have to use -f best, because when ffmpeg/avconv is installed youtube-dl now defaults to -f bestvideo+bestaudio/best which gives a better quality video. bestvideo+bestaudio doesn't currently support being dump to stdout, and with a naive approach the two files would need to be downloaded first, that's not what you want when reading from stdout. If you really need to output to stdout bestvideo+bestaudio feel free to open a new issue.


Multi word game name with Title Case causes indefinite connecting... in Lobby

Take the tic tac toe game, change the game name from tic-tac-toe to Tic Tac Toe and the lobby shows connecting... indefinitely when trying to start the game.

This also makes the authenticated example fail.  Looking into this.


Add "leave" to end of assembly functions called from C

I'm not sure if this is required, but it'd be good practice. It resets ebp and esp before exiting a function.

...or maybe it causes everything to break? Weird... if anyone has better luck with this let me know

leave would require ebp to be handled properly by each assembly function. Might be worth looking into, but note that some functions (getEBP, getESP) rely on EBP and ESP being untouched.


Solution loading is stuck

vs 2013 + update 5
Nodejs Tools 1.1
This project is working on my teamates computers, by on my pc it gets stuck 80% of the time.
I'v disabled intelisense, that doesn't seem to help.
Deleting the v12.suo seems to solve it temporarily, but it gets stuck again when I reopen it.

Interesting... we don't actually do anything with the .suo in NTVS... Mind grabbing a dump of the process next time you run into it?

I am running into the same issue. Deleting .suo fixes it every time.
Microsoft Visual Studio Professional 2013
Version 12.0.40629.00 Update 5
Node.js Tools   1.1.31117.00
Node.js Tools - Profiling   1.1.31117.00
This project uses aws and azure npm packages. Attached is the procmon capture of the devenv.exe process when opening the project.
Thanks for all the help.
NJS-Project-Stalls.zip

I want able to 'solve' it by moving it to another folder. Specificaly vs2013 default project folder.
The dump is 600 mb, how should I deliver it to you?

I started out using the vs2013 default folder however I had to move it after installing some npm packages with deep folders.

This sounds like another manifestation of the MAX_PATH problems (see issue #69). Some work arounds in that case is to move the folder to a shorter path and to run npm dedupe on the modules.
If you are still running into this problem, please let me know and we can continue the investigation. Thanks.

I'm still running into this problem. The solution has stoped loading at all unless I delete the v12.sou file beforehand, even at the 'original' folder.

I'm still running into this problem. The solution won't load at all at any folder unless I delete the v12.sou file first.
What you're saying doesn't make sense to me, since it does work on the same folder for me if I delete the file, or for my teammates in the exact same folder - it should be either too long all the time or not too long all the time, the folder doesn't change.

Ok.
It's hard to know where to start looking on this since I cannot repo the problem. Can you try a few additional things:

Turn on NTVS output logging to the console: Tools -> Node.js -> Diagnostic Info and check "Enable Node.js Tools Live Diagnostics output pane". Is anything interesting printed to the output pane while loading the solution?
Look in the file:  %AppData%\Microsoft\VisualStudio\12.0\ActivityLog.XML. Are any errors reported during solution loading?
Does this problem happen on a clean VS install? It'd be helpful to know if it's just that your VS is in a bad state or if NTVS is the root cause. Doing a full install may be too much work, so try disabling all extensions except NTVS, restarting VS, and then loading the solution. A list of extensions would also be helpful. This is found under: Help -> About Visual Studio

Thanks.

Not that I can see.

No. The file doesn't even seem to be updated during project loading

a. The only extension i can disable without uninstalling is GitExtensions, and it doesn't seem to make any differance.

b. Attached the list of extensions:

Microsoft Visual Studio Professional 2013
Version 12.0.40629.00 Update 5
Microsoft .NET Framework
Version 4.6.01038
LightSwitch for Visual Studio 2013   06177-004-0446016-02989
Team Explorer for Visual Studio 2013   06177-004-0446016-02989
Visual Basic 2013   06177-004-0446016-02989
Visual C# 2013   06177-004-0446016-02989
Visual C++ 2013   06177-004-0446016-02989
Visual F# 2013   06177-004-0446016-02989
Visual Studio 2013 Code Analysis Spell Checker   06177-004-0446016-02989
Application Insights Tools for Visual Studio Package   1.0
Application Insights Tools for Visual Studio
ASP.NET and Web Tools   12.5.60612.0
ASP.NET Web Frameworks and Tools 2012.2   4.1.21001.0
ASP.NET Web Frameworks and Tools 2013   5.2.30612.0
Common Azure Tools   1.4
Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools
Node.js Tools   1.1.40329.04
Node.js Tools - Profiling   1.1.40329.04
NuGet Package Manager   2.8.60723.765
NuGet Package Manager in Visual Studio. For more information about NuGet, visit Office Developer Tools for Visual Studio 2013 ENU   12.0.30626
Microsoft Office Developer Tools for Visual Studio 2013 ENU
PreEmptive Analytics Visualizer   1.2
SQL Server Data Tools   12.0.41012.0
Windows Phone 8.1 SDK Integration   1.0
Workflow Manager Tools 1.0   1.0
Git Extensions

Thank you for supplying all the requesting info. Unfortunately, without a way to reproduce this issue on our machines and without any obvious errors, there's just not enough information here to for us to investigate further.
I recommend that you download and build the NTVS. Make sure to checkout the 1.1.x branch for your testing. Then repo the issue and see where exactly the hang is occurring in the code. That way we can at least get a callstack that may hint at what is going on.

I have the same behavior with

Visual Studio 2012
-- Node.js Tools 1.1.40329.04
-- Node.js Tools - Profiling 1.1.40329.04
(and an earlier version I don't remember)
after upgrading NPM

An older copy of my project directory works fine.
I also have an error in ActivityLog.XML which makes no sense to me:
<entry>
    <record>289</record>
    <time>2016/06/17 16:36:19.439</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>Construction of frame content failed.
Frame identifier: ST:0:0:{608f1815-db09-4978-b970-f45a5d5f46c7}
Frame caption:
Exception details:
System.Reflection.TargetInvocationException: Ein Aufrufziel hat einen Ausnahmefehler verursacht. ---> System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei A.cf0da657d5c366425fd56dbfb47c5dc22..ctor()
   bei A.c576c1a6529d636ac03c13f674e97ac2c..ctor()
   --- Ende der internen Ausnahmestapelüberwachung ---
   bei System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
   bei System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   bei System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   bei System.Activator.CreateInstance(Type type, Boolean nonPublic)
   bei System.Activator.CreateInstance(Type type)
   bei Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Type toolWindowType, Int32 id, ProvideToolWindowAttribute tool)
   bei Microsoft.VisualStudio.Shell.Package.FindToolWindow(Type toolWindowType, Int32 id, Boolean create, ProvideToolWindowAttribute tool)
   bei Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsToolWindowFactory.CreateToolWindow(Guid& toolWindowType, UInt32 id)
   bei Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()</description>
</entry>

This error does not appear on startup when the .suo-file is deleted.
When I delete the .suo-file, Visual Studio does not respond on startup with newly created .suo-file.
Old project also stops workingafter deleting original .suo-file.

guys, seriously I cannot do anything, visual studio 2013 with nodejs tool 1.1 hangs forever at starting
Can anyone fix it ?
Thanks,

@nquoctuan Even with all the information provided by the other commenters, we've been unable to reproduce this problem locally and find the root cause of the hang. The best way to get this resolved is to debug NTVS on a machine that has this problem. Try downloading and building NTVS on the v1.1.x branch and reproducing the issue while debugging and let us know the results.
Otherwise, please try upgrading to VS2015 and NTVS 1.2. The new release contains many fixes and we have not see this issue reported for it yet.
Thanks.

Same issue for long, and just now it hangs every time at startup even it is not loading any solution. I've no other way but to uninstall NTVS, and VS gets back. Same VS 2013 + update 5, NTVS 1.1.

Just a shot in the dark: One of the significant changes from VS2013 to VS2015 is github-integration.
I remember reading similiar problem descriptions connected to github-integration.
Maybe there is a relation?

This issue still exists in VS2013 Update 5 with Node.js Tools version 1.1.x. I am a fan of VS as a former MS person, but I am going to have to leverage another tool.  The project hangs and does not come back.  Uninstalling and reinstalling VS2013 Update 5 and/or  Node.js Tools does not fix the issue.
Not being able to repo, is not a solution or an answer.  I am the 3 person to note this issue in the past 30 days.  Please review this issue with more detail and urgency.
Thanks.

Downloaded, tried to follow build instructions, but does not work with VS2012 @mjbvz

Another observation: Activating interactive Window in VS will also cause a freeze (Tools > Node.js Tools > Interactive Window), even with no project loaded

I narrowed it:
works until 8-4-2015 Dev Build,
freezes on NTVS 1.1 RC2.1 VS 2012 or later

+1

+1 for VS2015

Haven't seen this in v1.3 for either Visual Studio 2015 or 2017


added zero benchmark

Can we support other large models (e.g. ViT) in this part as well?

Can we support other large models (e.g. ViT) in this part as well?

No problem. In fact, we can use any HF model in this benchmark.


Can i convert filtered image to base64 url?

I want to filter my local image before upload on server in base64 format. So how could i get filtered base64 image url?
Thanks

How can i convert filtered image?

I want to filter my local image before upload on server in base64 format. So how could i get filtered base64 image url?
Thanks

Did you ever get this


DKIM Signature Failed - body hash (bh) mismatched

Hi, I have installed and configured Postal in 4 domains, great work congratulations !!!
I use Postfix in my domains to relay mails into Postal, working good !!
But I have problems with DKIM Signature in one domain where I use an old support ticket named: osticket ( php ), when that app send an email, dkim signature fail.
GMail shows DKIM Fails
https://ondmarc.com shows: body hash mismatched
https://dkimvalidator.com/ also shows: result = fail / Details: body has been altered
I think is maybe it's because message is in base64 with blank lines.
Note: If I send an email from terminal ssh, dkim signature pass ok
Result on ondmarc.com
The message has a valid signature, but this is the raw error:

    "error": "bad signature",
    "explanation": "body hash mismatched",
    "source": 0,
    "tag": "bh"

Result on dkimvalidator.com
DKIM Information:
DKIM Signature

Message contains this DKIM Signature:
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sait.mx; s=postal-g4lx9d; t=1597352261; bh=4kHXUP5bBJYGm4YppyJSFG/mVknFsv4NMaQwTnGFh3E=; h=to:subject:from:date:message-id; b=E0TDvc+BeCXtvrmTcEud8iVCro1jb/s9iwOrsEEyuCOzjry5IcccOr6DYOatOFpGA40AbJeiAX1HD8BBXQKQW7VRTJEAxVmb+9bQYMahRybuFvHsuTQWyz7ZpsDHlpBVg8LG9K9V2zAXmT9Y8J11+qEH0uPoGrDBeRZvoPkQyYQ=

Signature Information:
v= Version:         1
a= Algorithm:       rsa-sha256
c= Method:          relaxed/relaxed
d= Domain:          sait.mx
s= Selector:        postal-g4lx9d
q= Protocol:
bh=                 4kHXUP5bBJYGm4YppyJSFG/mVknFsv4NMaQwTnGFh3E=
h= Signed Headers:  to:subject:from:date:message-id
b= Data:            E0TDvc+BeCXtvrmTcEud8iVCro1jb/s9iwOrsEEyuCOzjry5IcccOr6DYOatOFpGA40AbJeiAX1HD8BBXQKQW7VRTJEAxVmb+9bQYMahRybuFvHsuTQWyz7ZpsDHlpBVg8LG9K9V2zAXmT9Y8J11+qEH0uPoGrDBeRZvoPkQyYQ=
Public Key DNS Lookup

Building DNS Query for postal-g4lx9d._domainkey.sait.mx
Retrieved this publickey from DNS: v=DKIM1; t=s; h=sha256; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC3RnbaUAW0col8JCxXKZIO+CavSIpmbuN8QRXyjFl3SwqMyBNF/CNnzbR5hX8hpxGnjGuIP8cKuoabVcAfDhXXilZ5UUHS4hevDBtyFWvmFj0k1rhTFZ0TGo5UC5t5WPd7qDcBm/Fpb0TeRjOnLsIr0Yev1ghXAWbWWtxW+ENQsQIDAQAB;
Validating Signature

result = fail
Details: body has been altered

Original Message
Received: from postal.saitnube.com (postal.saitnube.com [<IP_ADDRESS>])
	by relay-6.us-west-2.relay-prod (Postfix) with ESMTPS id 9418A21BCA
	for<EMAIL_ADDRESS>Thu, 13 Aug 2020 20:57:41 +0000 (UTC)
Resent-Sender<EMAIL_ADDRESS>DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sait.mx; s=postal-g4lx9d; t=1597352261; bh=4kHXUP5bBJYGm4YppyJSFG/mVknFsv4NMaQwTnGFh3E=; h=to:subject:from:date:message-id; b=E0TDvc+BeCXtvrmTcEud8iVCro1jb/s9iwOrsEEyuCOzjry5IcccOr6DYOatOFpGA40AbJeiAX1HD8BBXQKQW7VRTJEAxVmb+9bQYMahRybuFvHsuTQWyz7ZpsDHlpBVg8LG9K9V2zAXmT9Y8J11+qEH0uPoGrDBeRZvoPkQyYQ=
X-Postal-MsgID: zO8hTinyNrED
Received: from soporte.sait.mx (::ffff:<IP_ADDRESS> [::ffff:<IP_ADDRESS>]) by postal.saitnube.com with SMTP; Thu, 13 Aug 2020 20:57:41 -0000
Received: by soporte.sait.mx (Postfix, from userid 48)
	id 8B3713C07FA; Thu, 13 Aug 2020 20:57:40 +0000 (UTC)
To<EMAIL_ADDRESS>Subject: SAIT Servicio 099957 prueba de correo
X-PHP-Originating-Script: 48:mail.php
Content-Transfer-Encoding: base64
Content-Type: text/plain; charset=utf-8
MIME-Version: 1.0
From: "Soporte SAIT"<EMAIL_ADDRESS>Date: Thu, 13 Aug 2020 15:57:40 -0500
Message-ID<EMAIL_ADDRESS>X-Mailer: osTicket Mailer
In-Reply-To: <lvjj8o8EophKB9d9NXpsOGZF@fb2321fb46>
References: <lvjj8o8EophKB9d9NXpsOGZF@fb2321fb46>

LS0gUmVzcG9uZGVyIGFycmliYSBkZSBlc3RhIGxpbmVhIC0tCistLS0tLS0tLS0tLS0tLS0tLS0t

LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t

LS0tLS0tLS0tLS0tKwp8IFNlcnZpY2lvIFNBSVQgICAgICAgICAgICAgICAgICAgICAgICAgICAg

ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwKKy0tLS0tLS0t

LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t

LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0rCnwgKy0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t

LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLSsg

fAp8IHwgKkVzdGltYWRvIElnbmFjaW8gR3V0acOpcnJleiBUb3JyZXJvLCogICAgICAgICAgICAg

ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8CnwgKy0tLS0tLS0tLS0tLS0tLS0t

LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t

LS0tLS0tLS0tLSsgfAp8IHwgU3Ugc2VydmljaW8gaGEgdGVuaWRvIHJlc3B1ZXN0YSAgICAgICAg

ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8IHwKfCB8ICojT3Jk

ZW46KiAwOTk5NTcgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg

ICAgICAgICAgICAgICAgICAgICAgfCB8CnwgfCAqQXN1bnRvOiogcHJ1ZWJhIGRlIGNvcnJlbyAg

ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwg

fAp8ICstLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t

LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0rIHwKfCB8IGFxdWkgdmEgb3RybyAgICAg

ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg

ICAgICAgICAgfCB8CnwgKy0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t

LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLSsgfAp8IHwgKlBhcmEg

c2VndWltaWVudG8gZGVsIHNlcnZpY2lvIHZpc2l0ZToqICAgICAgICAgICAgICAgICAgICAgICAg

ICAgICAgICAgICAgICAgICAgICB8IHwKfCB8IFtodHRwOi8vc29wb3J0ZS5zYWl0Lm14L3RpY2tl

dHMucGhwP2lkPTM0OTg1XSgjKSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8

CnwgKy0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t

LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLSsgfAp8IHwgKlBhcmEgY29uc3VsdGFyIHRv

ZG9zIHN1cyBzZXJ2aWNpb3MsIHZpc2l0ZToqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg

ICAgICAgICB8IHwKfCB8IFtodHRwOi8vc29wb3J0ZS5zYWl0Lm14L3RpY2tldHMucGhwXSgjKSAg

ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCB8CnwgKy0tLS0tLS0t

LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t

LS0tLS0tLS0tLS0tLS0tLS0tLSsgfAp8ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg

ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwK

Ky0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t

LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0rCnwgSW5nLiBJZ25hY2lvIEd1dGnDqXJy

ZXogVG9ycmVybyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg

ICAgICAgICAgIHwKfCBDVE8gU0FJVCBTb2Z0d2FyZSBBZG1pbmlzdHJhdGl2byAgICAgICAgICAg

ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8CnwgRU1haWw6IGln

bmFjaW9Ac2FpdC5jb20ubXggICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg

ICAgICAgICAgICAgICAgICAgICAgfAp8IFNreXBlOiBpZ25hY2lvZ3V0aWVycmV6ICAgICAgICAg

ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwK

fCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg

ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8CnwgICAgICAgICAgICAgICAgICAgICAg

ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg

ICAgICAgICAgfAp8IFNBSVQgU29mdHdhcmUgQWRtaW5pc3RyYXRpdm8gICAgICAgICAgICAgICAg

ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwKfCBbd3d3LnNvcG9y

dGUuc2FpdC5teF0oIykgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg

ICAgICAgICAgICAgICAgICAgICB8CnwgRGVwYXJ0YW1lbnRvIGRlIFNvcG9ydGUgICAgICAgICAg

ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfAp8

IFRlbC4gKDY1MykgNTM0LTg4MDAgZXh0IDIgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg

ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwKKy0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t

LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t

LS0tLS0tLS0rClJlZi1NaWQ6ICRNRDhDQUE9PSRmMzQ4ZjYyMzdlQGZiMjMyMWZiNDYK

the spacing certainly looks odd, I presume that message is being sent with SMTP to Postal? It would be good to see the message as it was sent from osticket in case there is some kind of conversion occurring which leads to the wrong hash being generated.

Hello,
We can confirm as well that in some rare cases (~0.1%) our DKIM signature seems to be wrongly calculated by postal.
Our Dmarc feedback loop reports also confirm exactly this problematic. Our Dmarc/DKIM is set to stricly reject non matching signatures.
In this rare case also "redeliver" fails with this message:
550-5.7.26 Unauthenticated email from xxx.com is not accepted due to domain's 550-5.7.26 DMARC policy. Please contact the administrator of xxx.com domain 550-5.7.26 if this was a legitimate mail. Please visit 550-5.7.26 https://support.google.com/mail/answer/2451690 to learn about the 550 5.7.26 DMARC initiative. l188si4946828ybf.176 - gsmtp
We were unable to reproduce the issue till now..
If @ignaciogutierrez can reproduce that its only in some cases failing, we may have a good starting point here..

the spacing certainly looks odd, I presume that message is being sent with SMTP to Postal? It would be good to see the message as it was sent from osticket in case there is some kind of conversion occurring which leads to the wrong hash being generated.

Yes the message is using smtp. I use Php Osticket as app, php use mail() function in Centos OS, I have postfix as a mail agent that send all mail to Postal.
I will try to find a way to see the message as it was sent from osticket, maybe in Postfix are some tools, but the message do include a additional LF in each line.

We were unable to reproduce the issue till now..
If @ignaciogutierrez can reproduce that its only in some cases failing (or maybe his domain has content which let us reproduce the issue), we may have a good starting point here..

Yes we can reproduce the issue, in fact all mail sent using OSticket has the problem

Any comment on it? Issue reproduce in some cases endlessly: if you try resend same email is will be signed incorrectly again and again, at same time changing from or body little bit fix issue for one email.


Verify checksums and GPG key signatures for downloaded binaries

TFLint installed with this action has not been verified for checksums/signatures. This action is typically performed on the GitHub infrastructure, and binaries are distributed under the organization we maintain, so it is unlikely to be affected by supply chain attacks, but it's best practice to do these for security.

It would be good to add an input for this (checksum) to compliment version. Verifying a binary downloaded from GitHub releases against a checksum also downloaded from the same release doesn't really secure against a targeted supply chain attack. Anyone able to upload/serve a malicious binary could also replace the checksums. Reasonable to do anyway but minimally protective. For users who pin a specific version, allowing them to specify the checksum would guarantee immutability.
For users who don't pin, in theory we could persist the resolved version and checksum and then error if a future workflow run resolved the same version but a different checksum. @actions/cache could be helpful there.

Thank you for your reply. I think it's a good idea to input a checksum, but it can be a bit annoying for a user.
In my understanding, by hard-coding the public signing key, you can safely verify the checksum even if you get it from the same release. This is the same way as downloading a plugin binary.
However, this also makes other issues, such as key rotation. I opened this issue because I noticed that a plugin was verified but the TFLint binary wasn't verified.

I think it's a good idea to input a checksum, but it can be a bit annoying for a user.

Yep, mostly an option for users who want a true immutability guarantee once they pick a version. With that immutability comes decreased convenience. In a corporate environment there might be some interest in immutability. I've seen companies using digests to pull Docker images rather than tags, for example.
And yes, hardcoding the signing key helps, particularly for any kind of MITM. For an attack on GitHub itself there's a similar convenience/security trade off. Multiple releasers probably means putting a signing key in CI, which means compromising GitHub or the org/repo allows malicious binaries to be signed.


Did not find the context menu

Issue Description
The table sorting menu does not show up. The error message says it did not find the context menu.
Screenshots

Hi sheepdoggie,
I've prepared a preview version of the next update that you can download here. Just replace the plugin files with these and come back to me with your test results.
In the meantime, stay tuned for the next published release that will include those changes and will also allow you to sort in preview mode.

With the new files the error goes away, but the menus still do not dispaly.

I see, your default editing mode is "source view". Currently, this plugin only works in the live editing mode. With the next release it will also work with the preview mode.
I will look into making it work with the source view mode but as a heads up - it's not as straight forward as implementing the other modes.

Yes, the plugin now works as expected in the live editing mode.


preset google add missing rules

According to the documentation, some rules are missing. There are not always explicit but the code examples seems to match these rules

Coverage remained the same at 99.29% when pulling b73f9bb6d68cec488626ddf50e914d56a0d8e261 on christophehurpeau:patch-1 into e0bcbc6e1d94a4609842102e443f6399e7c0be34 on jscs-dev:master.

Great! :+1:

Could you provide links to the doc for every rule you added?

Here are the links to the documentation:
"disallowKeywords": ["with"]: https://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml?showone=with___{}#with___{}
"requireCapitalizedConstructors": true: here, the valid name is : ClassNamesLikeThis, EnumNamesLikeThis
For the following rules, there are no explicit rules but the documentation follow them:
"disallowSpaceAfterObjectKeys": true and "requireSpaceBeforeObjectValues": true: You can find here the documentation about objects literal, and the valid syntax is:
var o = {};

var o2 = {
  a: 0,
  b: 1,
  c: 2,
  'strange key': 3
};

"disallowSpacesInFunctionExpression": { "beforeOpeningRoundBrace": true }: For example here and here, all functions do not have space before round brace :
var foo = function() {};, function bar(a, b) {
"disallowSpacesInCallExpression": true: For example here : element.onclick = bar(a, b);
"requireDotNotation": true: You can find here the documentation about objects literal, and the valid syntax is:
var o2 = new Object();
o2.a = 0;
o2.b = 1;
o2.c = 2;
o2['strange key'] = 3;

It is a deny rule, but there are not talking about syntax but assignation. You can also find another example here :
/** @enum {string} */
some.long.namespace.Fruit = {
  APPLE: 'a',
  BANANA: 'b'
};

myapp.main = function() {
  var Fruit = some.long.namespace.Fruit;
  switch (fruit) {
    case Fruit.APPLE:
      ...
    case Fruit.BANANA:
      ...
  }
};

"validateParameterSeparator": ", ": You can find an example here:
function foo(element, a, b) {
  element.onclick = bar(a, b);
}

function bar(a, b) {
  return function() { /* uses a and b */ };
}

Nice, thank you!

"disallowSpacesInFunctionExpression": { "beforeOpeningRoundBrace": true }: For example here and here, all functions do not have space before round brace :
var foo = function() {};, function bar(a, b) {

It seems we need to add disallowSpacesInFunctionDeclaration  too?

yes indeed

Okay, commit this up, and we are good to go

Coverage increased (+0.03%) to 98.86% when pulling f92e07be552fb79eaa982d8aff093888c0884ef8 on christophehurpeau:patch-1 into 4617c562b991c883d22d17bb93f5a10f0bba315d on jscs-dev:master.

done :)

Thank you!

Thank you :)


Introduce toggle button group (and a better name for it)

This was one of the first items I designed in the early stages of PF4 but it never materialized, and we've got a need for it now in topology. I suspect the need would extend to other products as well, for example OpenShift's toggle between list view and topology view.
The idea is a button group, similar to our input group, containing either text or icons, with one item able to be selected into an "active" state. Below is an example of the topology use case, note the zoom icons on the left and the layout toggles on the right.
I also mocked up a quick/potential "active" state proposal but I'm not totally sold on it, need to explore other options as well, just wanted to show an example.
In this case, the height of the toggles/buttons are shorter than our default buttons because they simply don't need to be that big. That may be separate discussion as to if they need to be smaller and the implications behind that or if we just stick with our typical button sizing.

CC
@mcarrano @matthewcarleton @serenamarie125 @rachael-phillips @mcoker

Hello! This is actually something we'd need on Atlasmap. We are currently migrating the app from Angular to React and we are playing with the Topology view. We have a number of options that we can toggle on and off that are now hidden in a menu in the view toolbar, but having toggles in the control bar would make the options easier to discover and reason about. Also grouped controls like in this screen (is this something that can be done already?)!


Project list items on the landing page don't utilize tileClick directive

Thus requiring clicking the project name directly rather than the entire project item row the way the full project list page does.  We should move the tileClick directive to origin-web-common so it can be used in both the catalog and the console.

See https://github.com/openshift/origin-web-console/issues/1485#issuecomment-297999688
cc @ncameronbritt

Fixed by #240


Add propertyBag column to clusters table

https://github.com/Shippable/pm/issues/10573

this is done, closing


Custom type NSDate: EXC_BAD_INSTRUCTION

I added the following to my project:
extension NSDate: SQLite.Value {
	public class var declaredDatatype: String {
		return Int.declaredDatatype
	}
	public class func fromDatatypeValue(intValue: Int) -> NSDate {
		return self(timeIntervalSince1970: NSTimeInterval(intValue))
	}
	public var datatypeValue: Int {
		return Int(timeIntervalSince1970)
	}
}

And when I do row.get(Expression<NSDate>("lastUpdated")) I get the following:

fromDatatypeValue is not being called.
I'm using the carthage branch (which I forked to change target from iOS 8.3 to 8.0). This is happening in simulator.
Any idea what I'm doing wrong here?

Is there an error message printed to the console? Do you have the exception breakpoint enabled?

No error message in the console, and I do have an exception breakpoint set, but that doesn't seem to make a difference. The $swift.type's are empty, and when I try to expand self Xcode crashes.

While this doesn't work
row.get(Expression<NSDate>("lastUpdated"))

This does:
NSDate(timeIntervalSince1970:NSTimeInterval(row[Expression<Int>("lastUpdated")]))

Insert works though:
table.insert(
    Expression<NSDate>("lastUpdated") <- date
)

Ok, so I added SQLite to my project directly and I set a breakpoint on:
func valueAtIndex(idx: Int) -> V? {
            if let value = values[idx] as? V.Datatype { return (V.fromDatatypeValue(value) as! V) }
            return nil
        }

And this is what I get:

@stephencelis I figured it out... this works (note: Int64 vs Int):
extension NSDate: SQLite.Value {
    public class var declaredDatatype: String {
        return Int64.declaredDatatype
    }
    public class func fromDatatypeValue(intValue: Int64) -> NSDate {
        return self(timeIntervalSince1970: NSTimeInterval(intValue))
    }
    public var datatypeValue: Int64 {
        return Int64(timeIntervalSince1970)
    }
}

So... it looks like the documentation needs to be updated.

Thanks for the sleuthing! I'd imagine that these things should cascade, so this looks like a bug. I'll try to come up with a solution.


Add Contact Us Page

Add Contact Us Page

@Harshal0902 pls assign this issue to me.

@ishitakapoor26 go for it

@Harshal0902 pls review pr.


arduino: 1.0.6 -> 1.6.9

Motivation for this change
Yet another arduino PR, now with all download problems fixed.Based on @brodul commit at
https://github.com/brodul/nixpkgs/tree/arduino-update. Desktop file generation is from #13690
All chroot download problems are solved. Package/library lists are changing daily, so I've had to create my own repository with snapshots of those files.
Tested it by uploading simple sketch to Arduino Uno.
Things done

[X] Tested using sandboxing
(nix.useChroot on NixOS,
or option build-use-chroot in nix.conf
on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

If accepted, this PR supercedes https://github.com/NixOS/nixpkgs/pull/13690 https://github.com/NixOS/nixpkgs/pull/10047 https://github.com/NixOS/nixpkgs/pull/6694

So indeed there is a problem with package/library lists. Library list has already changed since yesterday. Is there some standard place where I can store snapshots of highly-volatile files? Will be some new GitHub repo under my username enough?

@binarin: I don't think there is a standard place for that. A repo under your name is fine by me, but I cannot speak for others. I guess it's either that or allow arduino to manage package/library lists in $HOME. I don't know what makes more sense, and what is more work.
Does the package/library lists allow selecting particular versions? Or is it always fetching "latest and greatest"? If the latter, I guess letting arduino manage stuff in $HOME will make reproducible builds impossible. (How to ensure that a project built today will work 6 months from now?)

Yes, package list allow selection of a particular version. But I don't get  why this files are downloaded during build process. So maybe later I'll find time to figure it out. And for now I've created my own repo with snapshots and updated the patch to use them.

Updated PR - patching build.xml wasn't necessary at all.

@binarin: But the "Pre-download package lists, for patching into build.xml" comment is still there...? Can you put a comment in its place that explains why your are fetching from your personal repo? (I know the answer, but we should document it.)

Done.

@binarin: Thanks. So, ready to merge?

Yes, it's ready.

The 32-bit build fails on Hydra.
Full log: https://hydra.nixos.org/build/37929938/nixlog/1/raw
Tail of log:
...
unzip:
     [echo] Unzipping ./liblistSerials-1.1.0.zip into folder linux
     [copy] Copying 1 file to /tmp/nix-build-arduino-1.6.9.drv-0/Arduino-1.6.9-src/build/linux/work/lib

linux32-build:

linux-jvm-noop:
    [mkdir] Created dir: /tmp/nix-build-arduino-1.6.9.drv-0/Arduino-1.6.9-src/build/linux/arduino-builder-linux32

untar-unzip-check:

untar-unzip-download:
      [get] Getting: http://downloads.arduino.cc/tools/arduino-builder-linux32-1.3.18.tar.bz2
      [get] To: /tmp/nix-build-arduino-1.6.9.drv-0/Arduino-1.6.9-src/build/arduino-builder-linux32-1.3.18.tar.bz2
      [get] Error getting http://downloads.arduino.cc/tools/arduino-builder-linux32-1.3.18.tar.bz2 to /tmp/nix-build-arduino-1.6.9.drv-0/Arduino-1.6.9-src/build/arduino-builder-linux32-1.3.18.tar.bz2

untar-unzip-checksum:
     [echo] Testing checksum of "./arduino-builder-linux32-1.3.18.tar.bz2"
 [checksum] Could not find file /tmp/nix-build-arduino-1.6.9.drv-0/Arduino-1.6.9-src/build/arduino-builder-linux32-1.3.18.tar.bz2 to generate checksum for.

BUILD FAILED
/tmp/nix-build-arduino-1.6.9.drv-0/Arduino-1.6.9-src/build/build.xml:104: The following error occurred while executing this line:
/tmp/nix-build-arduino-1.6.9.drv-0/Arduino-1.6.9-src/build/build.xml:731: The following error occurred while executing this line:
/tmp/nix-build-arduino-1.6.9.drv-0/Arduino-1.6.9-src/build/build.xml:833: Could not find file /tmp/nix-build-arduino-1.6.9.drv-0/Arduino-1.6.9-src/build/arduino-builder-linux32-1.3.18.tar.bz2 to generate checksum for.

Total time: 20 seconds
builder for ‘/nix/store/z9i1q4634sfl12hard3qkjzsy9xs87pd-arduino-1.6.9.drv’ failed with exit code 1

Aha, I see where the problem is. Will fix it in a few days.


didnt download properly

Problem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/install
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

Can you give more information about what's happening?

It’s fine, my bad
On Tue 23 Mar 2021 at 18:19, Maira Wenzel @.***> wrote:

Can you give more information about what's happening?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dotnet/core/issues/6084#issuecomment-805125781, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AM2OO2TQNFHBMSEWMQ6HBXTTFDLURANCNFSM4ZVM3V2Q
.


ANET_HOME and ANET_CFG are required

hi. i'm trying to run your code on linux. I see there are 2 enviorment variables that are not  configured anywhere.
ANET_HOME and ANET_CFG. to what folders should I point them too?

I hope this may help you.

Hello, I am also having the same problem.How do I set these enviroment variables?

raceback (most recent call last):
File "examples/classify_video.py", line 13, in
anet_home = os.environ['ANET_HOME']
File "/usr/lib/python3.6/os.py", line 669, in getitem
raise KeyError(key) from None
KeyError: 'ANET_HOME'
How to fix this in google colab?

raceback (most recent call last):
File "examples/classify_video.py", line 13, in
anet_home = os.environ['ANET_HOME']
File "/usr/lib/python3.6/os.py", line 669, in getitem
raise KeyError(key) from None
KeyError: 'ANET_HOME'
How to fix this in google colab?

https://github.com/yjxiong/anet2016-cuhk/issues/35#issuecomment-717604185

https://github.com/yjxiong/anet2016-cuhk/issues/35#issuecomment-717604185

Assign your local home directory for both ANET_HOME and ANET_CFG as below in order to run project in  seamless manner.
import os
anet_home = os.environ['ANET_HOME'] = '/home/yagmurs/Downloads/CENG/anet2016-cuhk'


Docs: Describe some use cases for Nodely

Hello!
Nodely looks very interesting but I do not have a clear, concrete picture when and what for I would use it. I imagine you have concrete examples of what you use it for. It would be enlightening for me and surely others as well if you described those at the readme.
thank you!!!

@holyjak - You might look at the projects listed as "Related Work" to help answer your question.

At Nubank we mainly use it for declaring and executing flows that have many outbound http requests. Those are the cases where we can benefit the most from async execution. It is also possible to use Nodely as a way to clearly separate between side effectful code and other computations.
There are most likely other uses to be found since Nodely solves a generic problem (declaring and running DAGs that support conditional declaration of data dependencies), we will be happy to hear if there are other people using Nodely in different scenarios.
You can also see the tutorial for simple examples.
There is also a presentation from London Clojurians


BREAKING CHANGE: Only allow setting the temperature to multiples of 100 within the device's accepted range

Per #92, it's only possible to set a Litra's temperature to multiples of 100 between the device's minimum and maximum. In practice, if you try to use another value, your device does nothing, but at the moment, this library accepts the input.
This introduces stricter validations in setTemperatureInKelvin, throwing an error for unsupported values, and removes the setTemperaturePercentage function and litra-temperature CLI, since accepting a percentage doesn't really work if many values are not allowed.
Fixes #92.

@NMichas What do you think of this solution to #92?

LGTM @timrogers


PLAT-67660: Pass itemProps through VirtualList

Checklist

[X] I have read and understand the contribution guide
[ ] A CHANGELOG entry is included
[ ] At least one test case is included for this feature or bug fix
[X] Documentation was added or is not needed
[ ] This is an API breaking change

Issue Resolved / Feature Added
There is no way to pass custom parameters from app to VirtualList's itemRenderer.
Resolution
Define itemProps prop in VirtualList and spread it as arguments of the itemRenderer.
Links
PLAT-67660
Comments

LGTM


Headless Install fails on Ubuntu 18.04, python3.6

Version and Platform (required):

Binary Ninja Version: 3.0.3233 Headless
OS: Ubuntu Linux
OS Version: 18.04

Bug Description:
install_api.py fails to find dataclasses compatibility shim when using Ubuntu 18.04 default Python 3 implementation (Python 3.6)
Steps To Reproduce:
Please provide all steps required to reproduce the behavior:

download_headless.py
unzip
linux-setup.sh

Note: the import error is hidden in validate_path as the code assumes all ImportErrors are because the API package is not installed but inspecting the ImportError's attributes shows dataclasses module unable to import
Expected Behavior:
The dataclasses compatibility shim is imported.

Hey, sorry about that. In our pre-release testing we did pip install dataclasses to install the workaround package for 3.6 and this seemed to work. The actual dataclasses functionality is a python 3.7 thing. We probably should add this to our documentation, so thanks for pointing this out.
If this doesn't work for you, please let me know and I can handle it as a support request. But, we're planning to drop Ubuntu 18.04 as a supported platform by our next release. So, this is unlikely to be fixed just to support an aging platform reaching end-of-life.

Fair enough, but that does raise some more questions

As mentioned can the minimum requirements be documented for:

Python interpreter
pip dependencies (if any)
Native dependencies (had to add libdbus-1-3 to my Dockerfile)

Is there a way for users to remain on the 2.x releases or are they expected to move to the 3.x branch?
The for the API could be bolstered in validate_path() to check that the caught ImportError is actually coming from missing the binaryninja module and not some submodule (like dataclasses)
If the dataclasses module used for testing came from the PyPI backport, what functionality does the shim provided in-tree provide?

This script is merely a helper that is not required. Simply setting your python path environment variables or manually making a PTH file is also sufficient for headless usage.
The core and API are tested and expected working in whatever python is supported in the official Ubuntu support. So the dependencies are rather indirect as a result based on that:
https://binary.ninja/faq/#supported-platforms
We are dropping 18.04 in the next stable release and migrating our build infrastructure to 20.04 so we do not expect to maintain support for 18.04 for long in future dev releases. Note that this is at least partially true because Py 3.10 is starting to be standard in some distros and has an unfortunate dependency chain between python and QT that makes compatibility with both Ubuntu 18.04 and Py 3.10 problematic. That's one reason we are looking forward to ending 18.04 official support.


Consecutive duplicate node IDs are being used in buildings

Take a look at v1 of the following building: https://www.openstreetmap.org/way/810825393/history#map=19/61.32089/-149.51818
Node<PHONE_NUMBER> appears twice in a row. This triggers various QC tools and asks the community to clean them up. Can this be fixed at the source before entries are added into the database?

I'll look into this and figure out if it's a data issue or a logic bug from either RapiD or our backend conflation service.

Confirmed that this is a data issue with the MS building polygons. Working with the MS team on a plan for fix.

I notice that other imports of building data which I assume to be from MS has the pattern A-B-C-B-D-E-... where the outline goes to a single point and then doubles back on itself. I'm not sure if RapiD is catching and fixing that particular case, but if you're talking with someone about it, you might want to mention it.

I notice that other imports of building data which I assume to be from MS has the pattern A-B-C-B-D-E-... where the outline goes to a single point and then doubles back on itself. I'm not sure if RapiD is catching and fixing that particular case, but if you're talking with someone about it, you might want to mention it.

Good catch! Any chance you can find back a specific example?

https://overpass-api.de/achavi/?changeset=72534341 for https://www.openstreetmap.org/way/706522751 is the clearest example. Also, looking at that example, I don't think it strictly reuses the node, but certainly doubles back on itself and causes a QC issue.

You can find similar examples via Overpass by querying for closed ways where the „number of district nodes + 1“ does not equal the „number of nodes“ in that way.

Update: it will take some time for MS team to do the data cleaning at large scale. We'll add some filtering on FB side to prevent such data from going back to RapiD/JOSM. Expect to get this fixed by end of this week (2020-07-05).

Fixed on the FB side service. @b-jazz feel free to reopen this if you notice the issue again on #mapwithai changesets.


Add deformation to the mode shape animation

Description of the feature
The actual mode shape animation looks like this example presented in the documentation. Even though the method animate_mode allows the deform_scale_factor parameter, only the colors changes in the animation. I expected that the node coordinates changes too (acording to the mode shape).
If some of you could please implement that feature I would apreciate it so much.
Steps for implementing the feature
No response
Useful links and references
No response

I've driven into the code and found a way (not necessarily the better) to show the mode shape deformation. Below I describe the solution:
Here: https://github.com/ansys/pydpf-core/blob/05399b10cd293c63020ea224d13d3b3dba1f11d4/src/ansys/dpf/core/animation.py#L98 I added an addtional workflow output for deform_by as follows:
wf.set_output_name("deform_by", scaling_op.outputs.field)
Finally, in method https://github.com/ansys/pydpf-core/blob/05399b10cd293c63020ea224d13d3b3dba1f11d4/src/ansys/dpf/core/animator.py#L98 I passed the parameter scale_factor with the following value: scale_factor[frame]


pw_migrate migrate fails when changing fields against Postgresql

Happens with peewee-migrate version 1.0.0 (tested against multiple peewee versions from the latest one (3.6.4) backwards, didn't find any where this doesn't occur).
Error:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/peewee_migrate/router.py", line 144, in run_one
    migrator.run()
  File "/usr/local/lib/python2.7/site-packages/peewee_migrate/migrator.py", line 129, in run
    op.run()
  File "/usr/local/lib/python2.7/site-packages/playhouse/migrate.py", line 141, in run
    self._handle_result(method(*self.args, **kwargs))
  File "/usr/local/lib/python2.7/site-packages/playhouse/migrate.py", line 149, in inner
    return fn(self, *args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/peewee_migrate/migrator.py", line 36, in change_column
    operations = [self.alter_change_column(table, column_name, field)]
  File "/usr/local/lib/python2.7/site-packages/peewee_migrate/migrator.py", line 81, in alter_change_column
    field_clause = clause.nodes[-1]
AttributeError: 'Context' object has no attribute 'nodes'

Other details:
OS: Ubuntu 16.04
Setup: docker version 18.06.0-ce; docker-compose version 1.8.0; Python 2.7; postgresql version 9.6
Steps:

Create model with a few fields

class PgTest(Model):
    class Meta:
        database = psql_client.db
        table_function = lambda model_cls: '{model_name}'.format(model_name=model_cls.__name__.lower())

    id = AutoField()
    name = CharField(max_length=100, index=True)

Create migration, and migrate it
$ pw_migrate create --auto test.models --directory test/migrations --database postgresql://postgres@postgres:5432/postgres test
$ pw_migrate migrate --directory test/migrations --database postgresql://postgres@postgres:5432/datalake --name 001_test

Back to the model, alter max_length on the name field, generate new migration

Migrate the new migration, result is the traceback above.

Can reproduce it on PostgreSQL database with latest peewee and peewee_migrate.

Same for me. Is there any chance it can be fixed some time soon?

Hey yall, looks like this particular issue was fixed. I came across this issue while reporting #135. I followed the steps in the top description and the max_length was successfully changed.
I feel like this particular issue can probably be closed.


image_pull: repull when image ID (config digest) changed

Signed-off-by: Antonio Murdaca<EMAIL_ADDRESS>
- What I did
Better fix than https://github.com/kubernetes-incubator/cri-o/pull/1136 to fix image policy always from kube
- How I did it
vim
- How to verify it
tricky, push images with same tags (but different images) and notice CRI-O re-pull the image if it has changed (same as docker).
- Description for the changelog

Close #1136

@mrunalp @rhatdan @apilloud PTAL

/test all

(note to self, we'll need this for release-1.0 as well)

/test all

Thanks for pulling this together so fast! LGTM!

@mrunalp ptal

LGTM

/test e2e_fedora

LGTM
Do we need similar changes in kpod and buildah?
@umohnani8 PTAL

Probably yeah


[QUESTION]: Could we get a current state report? There are so many bugs reported right now

Hi there, love the kit.
I wanted to reach out for a current state report? I am beginning to lose control over the state of the Creator Kit due to so many bugs being reported.
Due to all the bugs being reported what is the recommended approach to using the kit?
When do you foresee to get "control" again?
Hope this could be interesting for all current developers using the kit.
Ole

We would all benefit to an answer to this. Will this kit continue to be supported and expanded? I am doing major development leveraging this kit, if it will not be supported any longer, I will need to pull it and use the stuff that comes with the Power Platform, which is nowhere near as rich as what this kit provides.
A response would be much appreciated.
Regards,
Steven

For me as well. I've just run into a bug with the DetailsList control and have seen comments elsewhere that no further resources are being devoted to this project. If that is the case, people need to know so that they can alter their projects accordingly.

The silence is deafening

Thank you @denise-msft , a short follow up question with regards to

we will be prioritizing updates to components that do not have successors in modern controls,

Will that mean all other? could you refer to a list or write the discontinued controls?


running distributed tensorflow using MPI

Click to expand!
Issue Type
Support
Have you reproduced the bug with TF nightly?
Yes
Source
source
Tensorflow Version
2.6
Custom Code
Yes
OS Platform and Distribution
Linux
Mobile device
No response
Python version
3.8.3
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
11.3.1
GPU model and memory
8 * rtx 2080 ti / 11gb memory each
Current Behaviour?
Instructions for updating:
use distribute.MultiWorkerMirroredStrategy instead
2023-01-18 13:18:35.789808: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1510] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 9687 MB memory:  -> device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:3d:00.0, compute capability: 7.5
2023-01-18 13:18:35.790848: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1510] Created device /job:localhost/replica:0/task:0/device:GPU:1 with 9687 MB memory:  -> device: 1, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:3e:00.0, compute capability: 7.5
2023-01-18 13:18:35.791743: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1510] Created device /job:localhost/replica:0/task:0/device:GPU:2 with 9687 MB memory:  -> device: 2, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:88:00.0, compute capability: 7.5
2023-01-18 13:18:35.792678: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1510] Created device /job:localhost/replica:0/task:0/device:GPU:3 with 9687 MB memory:  -> device: 3, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:89:00.0, compute capability: 7.5
2023-01-18 13:18:35.804893: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1510] Created device /job:worker/replica:0/task:0/device:GPU:0 with 9687 MB memory:  -> device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:3d:00.0, compute capability: 7.5
2023-01-18 13:18:35.805620: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1510] Created device /job:worker/replica:0/task:0/device:GPU:1 with 9687 MB memory:  -> device: 1, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:3e:00.0, compute capability: 7.5
2023-01-18 13:18:35.806333: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1510] Created device /job:worker/replica:0/task:0/device:GPU:2 with 9687 MB memory:  -> device: 2, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:88:00.0, compute capability: 7.5
2023-01-18 13:18:35.807029: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1510] Created device /job:worker/replica:0/task:0/device:GPU:3 with 9687 MB memory:  -> device: 3, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:89:00.0, compute capability: 7.5
2023-01-18 13:18:35.810512: I tensorflow/core/distributed_runtime/rpc/grpc_channel.cc:272] Initialize GrpcChannelCache for job worker -> {0 -> g01:37672}
2023-01-18 13:18:35.810736: I tensorflow/core/distributed_runtime/rpc/grpc_server_lib.cc:427] Started server with target: grpc://g01:37672
/usr/ebuild/software/TensorFlow/2.6.0-foss-2021a-CUDA-11.3.1/lib/python3.9/site-packages/keras/optimizer_v2/optimizer_v2.py:355: UserWarning: The `lr` argument is deprecated, use `learning_rate` instead.
  warnings.warn(
WARNING:tensorflow:`period` argument is deprecated. Please use `save_freq` to specify the frequency in number of batches seen.
2023-01-18 13:18:42.547198: W tensorflow/core/grappler/optimizers/data/auto_shard.cc:695] AUTO sharding policy will apply DATA sharding policy as it failed to apply FILE sharding policy because of the following reason: Found an unshardable source dataset: name: "TensorSliceDataset/_2"
op: "TensorSliceDataset"
input: "Placeholder/_0"
input: "Placeholder/_1"
attr {
  key: "Toutput_types"
  value {
    list {
      type: DT_DOUBLE
      type: DT_DOUBLE
    }
  }
}
attr {
  key: "output_shapes"
  value {
    list {
      shape {
        dim {
          size: 15
        }
      }
      shape {
        dim {
          size: 13
        }
      }
    }
  }
}
2023-01-18 13:18:42.740015: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:185] None of the MLIR Optimization Passes are enabled (registered 2)
[g01:44037:0:44313] Caught signal 11 (Segmentation fault: address not mapped to object at address (nil))
==== backtrace (tid:  44313) ====
 0 0x000000000002137e ucs_debug_print_backtrace()  /umbc/ebuild-soft/cascade-lake/build/UCX/1.10.0/GCCcore-10.3.0/ucx-1.10.0/src/ucs/debug/debug.c:656
 1 0x000000000382045b tensorflow::NcclCommunicator::Enqueue()  collective_communicator.cc:0
 2 0x0000000005c9f88a tensorflow::NcclReducer::Run()  ???:0
 3 0x00000000009086dc tensorflow::BaseCollectiveExecutor::ExecuteAsync(tensorflow::OpKernelContext*, tensorflow::CollectiveParams const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::function<void (tensorflow::Status const&)>)::{lambda()#3}::operator()()  base_collective_executor.cc:0
 4 0x0000000000b99403 tensorflow::UnboundedWorkQueue::PooledThreadFunc()  ???:0
 5 0x0000000000b9f6b1 tensorflow::(anonymous namespace)::PThread::ThreadFn()  env.cc:0
 6 0x0000000000007ea5 start_thread()  pthread_create.c:0
 7 0x00000000000feb0d __clone()  ???:0
=================================
[g01:44037] *** Process received signal ***
[g01:44037] Signal: Segmentation fault (11)
[g01:44037] Signal code:  (-6)
[g01:44037] Failing at address: 0x2ecf70000ac05
[g01:44037] [ 0] /lib64/libpthread.so.0(+0xf630)[0x2aaaab7e6630]
[g01:44037] [ 1] /usr/ebuild/software/TensorFlow/2.6.0-foss-2021a-CUDA-11.3.1/lib/python3.9/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so(+0x382045b)[0x2aaab68fc45b]
[g01:44037] [ 2] /usr/ebuild/software/TensorFlow/2.6.0-foss-2021a-CUDA-11.3.1/lib/python3.9/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so(_ZN10tensorflow11NcclReducer3RunESt8functionIFvRKNS_6StatusEEE+0x1ca)[0x2aaab8d7b88a]
[g01:44037] [ 3] /usr/ebuild/software/TensorFlow/2.6.0-foss-2021a-CUDA-11.3.1/lib/python3.9/site-packages/tensorflow/python/../libtensorflow_framework.so.2(+0x9086dc)[0x2aaadc7556dc]
[g01:44037] [ 4] /usr/ebuild/software/TensorFlow/2.6.0-foss-2021a-CUDA-11.3.1/lib/python3.9/site-packages/tensorflow/python/../libtensorflow_framework.so.2(_ZN10tensorflow18UnboundedWorkQueue16PooledThreadFuncEv+0x1b3)[0x2aaadc9e6403]
[g01:44037] [ 5] /usr/ebuild/software/TensorFlow/2.6.0-foss-2021a-CUDA-11.3.1/lib/python3.9/site-packages/tensorflow/python/../libtensorflow_framework.so.2(+0xb9f6b1)[0x2aaadc9ec6b1]
[g01:44037] [ 6] /lib64/libpthread.so.0(+0x7ea5)[0x2aaaab7deea5]
[g01:44037] [ 7] /lib64/libc.so.6(clone+0x6d)[0x2aaaac468b0d]
[g01:44037] *** End of error message ***
--------------------------------------------------------------------------
Primary job  terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun noticed that process rank 0 with PID 44037 on node g01 exited on signal 11 (Segmentation fault).

Standalone code to reproduce the issue
from getOneHot import getOneHot
from mpi4py import MPI
comm = MPI.COMM_WORLD
rank = comm.Get_rank()

# Load in the parameter files
from json import load as loadf
with open("params.json", 'r') as inFile:
    params = loadf(inFile)

# Get data files and prep them for the generator
from tensorflow import distribute as D
callbacks = []
devices = getDevices()
print(devices)
set_tf_config_mpi()
strat = D.experimental.MultiWorkerMirroredStrategy(
        communication=D.experimental.CollectiveCommunication.NCCL)
# Create network
from sys import argv
resume_training = False
print(argv)
if "resume_latest" in argv:
    resume_training = True

with strat.scope():
    # Scheduler
    if isinstance(params["learning_rate"], str):
        # Get the string for the importable function
        lr = params["learning_rate"]
        from tensorflow.keras.callbacks import LearningRateScheduler
        # Use a dummy learning rate
        params["learning_rate"] = 0.1
        # model = create_model(**params)
        # Get the importable function
        lr = lr.split(".")
        baseImport = __import__(lr[0], globals(), locals(), [lr[1]], 0)
        lr = getattr(baseImport, lr[1])
        # Make a schedule
        lr = LearningRateScheduler(lr)
        callbacks.append(lr)
    # Resume Model?
    model_name = None
    if resume_training:
        initial_epoch, model_name = getInitialEpochsAndModelName(rank)
    if model_name is None:
        initial_epoch=0
        model = create_model(**params)
        resume_training = False
    else:
        from tensorflow.keras.models import load_model
        model = load_model(model_name)
# Load data from disk
import numpy
if "root" in params.keys():
    root = params['root']
else:
    root = "./"
if "filename" in params.keys():
    filename = params["filename"]
else:
    filename = "dataset_timeseries.csv"

restricted = [
        'euc1', 'e1', 'x1', 'y1', 'z1',
        'euc2', 'e2', 'x2', 'y2', 'z2',
        'euc3', 'e3', 'x3', 'y3', 'z3',
        ]
x, y = getOneHot("{}/{}".format(root, filename), restricted=restricted, **params)
# val_x, val_y = getOneHot("{}/{}".format(root, val_filename), restricted=restricted)
val_x, val_y = None, None
params["gbatch_size"] = params['batch_size'] * len(devices)
print("x.shape =", x.shape)
print("y.shape =", y.shape)
print("epochs  =", params['epochs'], type(params['epochs']))
print("batch   =", params['batch_size'], type(params['batch_size']))
print("gbatch  =", params['gbatch_size'], type(params['gbatch_size']))
# Load data into a distributed dataset
# Dataset object does nothing in place:
# https://stackoverflow.com/questions/55645953/shape-of-tensorflow-dataset-data-in-keras-tensorflow-2-0-is-wrong-after-conver
from tensorflow.data import Dataset
data = Dataset.from_tensor_slices((x, y))

# Create validation set
v = params['validation']
if val_x is not None:
    vrecord = val_x.shape[0]
    val  = Dataset.from_tensor_slices((val_x, val_y))
    validation = val # data.take(vrecord)
else:
    vrecord = int(x.shape[0]*v)
    validation = data.take(vrecord)
validation = validation.batch(params['gbatch_size'])
validation = validation.repeat(params['epochs'])
# Validation -- need to do kfold one day
# This set should NOT be distributed
vsteps = vrecord // params['gbatch_size']
if vrecord % params['gbatch_size'] != 0:
    vsteps += 1
# Shuffle the data during preprocessing or suffer...
# Parallel randomness == nightmare
# data = data.shuffle(x.shape[0])
# Ordering these two things is very important!
# Consider 3 elements, batch size 2 repeat 2
# [1 2 3] -> [[1 2] [3]] -> [[1 2] [3] [1 2] [3]] (correct) batch -> repeat
# [1 2 3] -> [1 2 3 1 2 3] -> [[1 2] [3 1] [2 3]] (incorrect) repeat -> batch
# data = data.skip(vrecord)
data    = data.batch(params['gbatch_size'])
data    = data.repeat(params['epochs'])
records = x.shape[0] # - vrecord
steps   = records // params['gbatch_size']
if records % params['gbatch_size']:
    steps += 1
print("steps   =", steps)
# Note that if we are resuming that the number of _remaining_ epochs has
# changed!
# The number of epochs * steps is the numbers of samples to drop
print("initial   cardinality = ", data.cardinality())
print("initial v cardinality = ", data.cardinality())
data       = data.skip(initial_epoch*steps)
validation = validation.skip(initial_epoch*vsteps)
print("final     cardinality = ", data.cardinality())
print("final v   cardinality = ", data.cardinality())
# data = strat.experimental_distribute_dataset(data)
# Split into validation and training
callbacks  = createCallbacks(params, callbacks, rank, resume_training)
print(callbacks)

history = model.fit(data, epochs=params['epochs'],
        batch_size=params['gbatch_size'],
        steps_per_epoch=steps,
        verbose=0,
        initial_epoch=initial_epoch,
        validation_data=validation,
        validation_steps=vsteps,
        callbacks=callbacks)
if rank == 0:
    model.save("model-final")
else:
    model.save("checkpoints/model-tmp")

Relevant log output
No response

Hi @dgscharan ,
I want confirmation whether the 8 gpus mentioned are on same machine or different machines. If on same machine you have to use MirroredStrategy.If on different machines then MultiWorkerMirroredStrategy should be used.Also please confirm whether the environment set properly for MultiWorkerMirroredStrategy as per instructions here.Please confirm the details on how you created the environment for MultiWorkerMirroredStrategy.
Thankyou!

Hi @SuryanarayanaY, all the 8 gpus are on one node. I am running my scripts on my university's cluster which has 8 rtx 2080 on one single node.
The environment is currently a linux os. I usually load all my python. tensorflow modules bu using module load command in my cluster.
here is my slurm script :
#!/bin/bash
#SBATCH --job-name=job1            # Job name
#SBATCH --mem=30000                      # Job memory request
#SBATCH --gres=gpu:4                    # Number of requested GPU(s)
#SBATCH --time=3-23:00:00                  # Time limit days-hrs:min:sec
#SBATCH --constraint=rtx_2080           # Specific hardware constraint
#SBATCH --error=slurm.err               # Error file name
#SBATCH --output=slurm.out              # Output file name
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=1
#SBATCH --cpus-per-task=1
#SBATCH --array=1-2%1
if [ -d "model-final" ]
then
scancel $SLURM_ARRAY_JOB_ID
else
module load Anaconda3/2020.07
module load TensorFlow/2.6.0-foss-2021a-CUDA-11.3.1
mpirun python -u main.py resume_latest
fi

@dgscharan , If you have all GPUs in one machine then please use tf.distribute.MirroredStrategy() instead of MultiWorkerMirroredStrategy(). Please change the code accordingly test and confirm if still having any problem.You can refer documentation here for more details.

Hi @SuryanarayanaY, thanks for the suggestion. I have changed it to the MirroredStrtegy and it is perfectly working fine.
I also have multiple nodes (4nodes in total),  each node haveing 8*rtx_2080 gpu. When i used MultiworkerMirroredStrategy,  my code is actually executing twice rather than distributing. I have changed my function to  this and executed.  do u have any suggestions for running accross multiple nodes ?
strat = D.experimental.MultiWorkerMirroredStrategy(
communication=D.experimental.CollectiveCommunication.AUTO,
cluster_resolver=None)
thanks.

@dgscharan , For MultiWorkerMirroredStrategy we need to set-up some additional environment compared to MirroredStrategy.
Please refer to attached documentations link1 and link2 here.Please follow the steps mentioned there and let us know if having any problems there. Thanks!

Is this issue  resolved or any further changes is required.

definitely tell update us regarding further issues.

Thanks for the support @SuryanarayanaY  @1515236544hit

Hi @SuryanarayanaY @1515236544hit
the mirrored worker strategy worked, however the multimirrored strategy is not working. Can you please help me with it ? i have configured accordingly the documentation but i still when i run it on multiple workers, the load was not getting distributed. rather,  each worker node is running twice the same code.

Hi @SuryanarayanaY
The code perfectly runs while using MirroredStrategy(). When i use the MultiMirroredStrategy() the code executes twice, ones on each cluster. the error log has been corrected.
so in the new code instead of the variable
strat = D.experimental.MultiWorkerMirroredStrategy(
communication=D.experimental.CollectiveCommunication.NCCL)


[panos]Updated 9.1.18 to 9.1.19

Updated Pan-OS 9.1.18 to 9.1.19.
Released: 2024-05-22.
https://docs.paloaltonetworks.com/pan-os/9-1/pan-os-release-notes/pan-os-9-1-addressed-issues/pan-os-9-1-19-addressed-issues

Thanks @mrjcap !


AADB2C99059: The supplied request must present a code_challenge

Library

[ ]<EMAIL_ADDRESS>or<EMAIL_ADDRESS>[x ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>
Description
My app is a SPA.  I use MSAL loginPopup() to show the login dialog.  When the user clicks "Forgot password" I handle the error and attempt to redirect.  When I do I get this error:

AADB2C99059: The supplied request must present a code_challenge

This issue suggests:

In general, we recommend you use an auth library like MSAL to do the code generation/etc. for you.

Sorry for being such a noob but even though I am using MSAL I don't understand how to get the code challenge.  Also, is there I a way I can handle this in the popup?  Handling an exception and redirecting the user just does not seem right. Am I doing this right?  I don't see any documentation that recommends anything different.
See also this issue
And this one  - With respect to this issue I did copy the the URL that was generated in the B2C portal as was suggested by jennyf19.
async login(signInType: string): Promise<AuthenticationResult>  {
    var response: AuthenticationResult = new AuthenticationResultClass();

    if (signInType === "loginPopup") {
        try {
            response = await this.myMSALObj.loginPopup(this.loginRequest);
            this.account = response.account;
        }
        catch (ex) {

            if ((ex as Error).message.indexOf("AADB2C90118") > -1) {
                this.resetPassword();
            }
            else
                throw ex;
        }
    }
    return response;
}

resetPassword(): void {
    // still writing this
    const url = "https://client.b2clogin.com/client.onmicrosoft.com/oauth2/v2.0/authorize?p=B2C_1_password_reset&client_id=12345&nonce=defaultNonce&redirect_uri=https%3A%2F%2Flocalhost%3A5031&scope=openid&response_type=code&prompt=login";
    window.location.href = url;   // Dont want to do this.  Prefer to use dialog
}

@sam-wheat Instead of handling the redirect yourself you should call loginPopup again with the password reset policy. You can find an example here

@tnorling  Thanks much!