Handle Cyclic Reference Object Structures

Problem
Currently, this plugin is using plain JSON.stringify() which does not object references.
Proposed solution
Use cycle.js to stringify json object.
Related Issue
https://github.com/jk-gan/redux-flipper/issues/14

@plwai are you tackling this? do you need any help?

@felippepuhle Yes, I am going to solve this issue soon. If you are welling to tackle this issue now, you are welcomed to do that.

@plwai just tried to, but couldn't make it yet... I was wondering if this error isn't here maybe

@felippepuhle You are correct that is caused by there. In this case, we can decycle the before and after JSON before calling flipper send API in redux-flipper plugin. The JSON coming from Flipper need to be decycle in this plugin as well.

@plwai I've never used cycle.js before, I didn't figure out how we can use it to handle cyclic structures... I was wondering if we can use some lib that already does that like this one

I tried to use fclone but my app got too slow... I don't know if it's wise to handle this, in my case it was better to remove those cyclic structures.

I just had a discussion in flipper #https://github.com/facebook/flipper/issues/1167, flipper side is not going to support cyclic structures due to the performance issue as well. My proposal is we just throw an error with the reason for cyclic structures in default setting and give an option to enable the feature to remove cyclic reference by using lib like fclone or cycle.


[ChartJS]  How to customize tooltip title and label/body !?

My chart is done and now I want to customize the tooltip title and label(or body).
I did like that :
$chart->setOptions([
        'tooltips' => [
            'callbacks' => [
                    // new title ...
                'title' =>  function($tooltipItem, $data) {
                    return $data['labels'][$tooltipItem[0]['index']];
                },
                    // new label/body ...
                'label' =>  function($tooltipItem, $data) {
                    ...
                }
            ],
            'backgroundColor' => '#fff',
            'bodyFontColor' => '#000',
            'bodyFontSize' => 11,
        ],
    ]);

For tooltips backgroundColor,bodyFontColor,bodyFontSize works but not the title and label in callbacks.
Anyone has already solved this problem ?

Hi there!
unfortunately, it can’t work like this :/. The callbacks need to be javascript callbacks. So, you can set all the other options this way. But for the options that require callbacks, you need to create a stimulus controller and listen to the pre-connect event, as shown here - https://symfony.com/bundles/ux-chartjs/current/index.html#extend-the-default-behavior - then you can modify the options that will be passed to chartjs and include your callback options. I wish this part could be done in php, but it’s not possible.
Cheers!


WIP: Functional version of solid mechanics

Is the ordering bug related to vdof vs dim conventions?

Is the ordering bug related to vdof vs dim conventions?

It's possible, although in a subtle way. We build connectivity arrays before the first newton iteration and it somehow gets corrupted before the second iteration.

Is the ordering bug related to vdof vs dim conventions?

It's possible, although in a subtle way. We build connectivity arrays before the first newton iteration and it somehow gets corrupted before the second iteration.

I would like to hear more information about what is being corrupted, and under which circumstances.

When debugging this locally, I see that the col_ind array of the sparse matrix is being modified in the constructor of mfem::HypreParMatrix(...), specifically here
Unfortunately, it appears the relevant mfem documentation neglects to inform the user that the constructor modifies this argument
@jamiebramwell can you verify this?
I'm just testing on your thermal_test.cpp example

Codecov Report

Merging #624 (a46a91e) into develop (6933e39) will increase coverage by 0.14%.
The diff coverage is 99.59%.

@@             Coverage Diff             @@
##           develop     #624      +/-   ##
===========================================
+ Coverage    94.58%   94.73%   +0.14%
===========================================
  Files          123      126       +3
  Lines         8059     8302     +243
===========================================
+ Hits          7623     7865     +242
- Misses         436      437       +1

Impacted Files
Coverage Δ

src/serac/physics/solid_functional.hpp
99.30% <99.30%> (ø)

src/serac/numerics/functional/functional.hpp
99.31% <100.00%> (+<0.01%)
:arrow_up:

...ac/physics/materials/solid_functional_material.hpp
100.00% <100.00%> (ø)

src/serac/physics/tests/serac_solid_functional.cpp
100.00% <100.00%> (ø)

...rc/serac/physics/thermal_conduction_functional.hpp
99.15% <100.00%> (-0.04%)
:arrow_down:

src/serac/numerics/functional/tensor.hpp
96.62% <0.00%> (+0.08%)
:arrow_up:

Continue to review full report at Codecov.

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

I still need to fix some of the doxygen errors, but the major work here is done.

ping @sethwatts @goxberry @junkudo for awareness.

Any other thoughts @white238 @samuelpmishLLNL @jandrej @ebchin ?


Lift States report

Feature request
Lift States report
Description
Include a Lift States report in the Report section.
Implementation considerations
The report should include:

lift_time
lift_name
available_floors
current_floor
destination_floor
door_state
motion_state
available_modes
current_mode
session_id
date_time

More fields could be added in case of need.
A table should be created in the UI to display the information.
An Endpoint and its corresponding filter logic should be implemented in the backend.

Fixed by #297


mailinglogger import error with Python 3.8

The escape function in the cgi module has been removed, yielding the following error:
from cgi import escape
ImportError: cannot import name 'escape' from 'cgi' (/usr/lib64/python3.8/cgi.py)

For a fix, see #15

mailinglogger 5.1.0 is out now and on pypi. Thanks for the fixes, I would have liked to have given you some credit in the changelog, but I'm afraid I can't find your name anywhere...


Edit styling of profile image in header

@caseylitton & @kluo
FYI: @stvstnfrd

+1

merging as changes match those in: https://github.com/Stanford-Online/lagunita-theme/pull/42


Add Motti Lanzkron's fourth test case.

From the comments to Herb's original post. This test case ensures that the solution doesn't over-deallocate, and was later included in the online challenge.
Credit goes entirely to Motti, of course.

Thanks!


react native -> /dist not needed?

Hi,
"main": "dist/index.js",
  "jsnext:main": "src/index.js",
  "bin": {
    "storybook": "dist/bin/storybook.js"
  },
  "scripts": {
    "prepare": "node ../../scripts/prepare.js"
  },

For ReactNative, the /dist package is not needed because all RN packages are transpiled by Metro by default. Btw Metro does not use jsnext:main so not sure this setting is useful.
Also I tried to run StorybookUI on RN with src and it works fine.
Just wanted to mention that, not sure exactly what should be done but I suspect it's not needed to transpile / use the whole src folder. Maybe it's needed for the storybook bin which start the web server ?

Hey @slorber, you are correct, the transpilation is unneeded for preview folder in react-native. It is necessary for server part. Moving forward we will separate preview part from server part to a separate module. There is a PR for that done by me, but it is a little bit stale so I will have to redo it.

Ooh-la-la!! I just released https://github.com/storybooks/storybook/releases/tag/v5.1.0-alpha.7 containing PR #4942 that references this issue. Upgrade today to try it out!
Because it's a pre-release you can find it on the @next NPM tag.


[Mobile] - Rejoin Game Functionality

Preliminary rejoin game functionality has been added.
Here's an overview of the flow:
When a user makes it passed the SelectTeam screen (either by pressing Submit or being pushed through from host), the current gameCode, their teamId and their teamAvatar are saved to localstorage using the react-native-encrypted-storage library. This represents the minimum data required to be able to rejoin the gameSession later.
Note: the addTeam and addTeamMember GraphQL calls have been synched with the above, so they now add teams and teamMembers at the same point in the flow that the local storage gets stored. This is done to prevent instances where someone joins the game (on the backend) but quits before saving locally, and are then able to join the game twice. This differs from dev where the team data is added to the back end after the player enters their name.
A player has completed a game when they reach the Leaderboard screen, at which point the game data above is scrubbed from their device.
If, however, a player crashes out or quits before reaching the Leaderboard (our definition of a game-in-progress) and then reopens the app, they will be prompted with a modal that asks them if they want to rejoin where they left off. If they select yes, the gameSession is fetched using the locally stored gameCode and the separate team, teamMember, and teamAvatar state objects are updated based on the locally stored team.id and teamAvatar. This synchs the player back up with the gameSession object so that when they answer questions, the gameSession object is being written accurately.
If a player selects no to rejoining the game, the local data is cleared from their device so they don't repeatedly get the prompt.
Here's a diagram of the flow:

Pertinent functions (located in GameSessionContainer):

saveLocalSession - saves the data under "righton_session" EncryptedStorage
clearLocalSession - clears data tagged as "righton_session" from local storage (if user closes Rejoin Modal or gets to ScorePage
loadLocalSession - loads game session data from "righton_session"
handleRejoinSession - ran on start of JoinGame. Scans if there is "righton_session" data on local storage (using loadLocalSession) and then fetches the gameSession via gameCode, synchs the team, teamMember and teamAvatar state variables, flags that a rejoin has occurred through isRejoin === true and resubscribes to the gameSession, prompting the navigator to direct the game to the current state.

Pertinent state variables (located in GameSessionContainer and passed as a prop):

isRejoin has been added as a means to track whether or not a user has rejoined the current game. This is important because the screen needs to be updated to match the previous conditions that the user saw before they crashed/quit and currentState doesn't provide enough resolution for that. An example of this is if a user has already answered a question, we need to apply the correct styling to components to ensure the user can't re answer a question.  Also, this needs to be reset prior to entering PhaseResult because we calculate scoring on load there. Currently, we gate off this calculation if the app detects that a user has rejoined (so that the score isn't recalculated). This means that any previous rejoins need to be reset so that the screen doesn't block the scoring calc prematurely.

The following conditions were tested for:

Initial join - no modal
Rejoin - close modal - Rejoin - no modal
Quit on game code
Quit on name enter
Quit on avatar select
Quit on onboarding instructions
Quit on pregame countdown
Quit on phase 1 answer, prior to answering
Quit on phase 1 answer, post answer
Quit on phase 1 discussion
Quit on phase 1 results
Quit on phase 2 answer, prior to answering
Quit on phase 2 answer, post answer
Quit on phase 2 discussion
Quit on phase 1 answer - next question, prior to answering
Quit on phase 1 answer - next question, post answer
Quit on phase 1 results - next question
Quit on phase 2 answer - next question, prior to answering
Quit on phase 2 answer - next question, post answer
Quit on phase 2 discussion - next question
Quit on phase 2 results - next question
Quit on phase 2 nice job screen
Quit on phase 2 leaderboard

Round 2:

Quit, host skip, rejoin Phase 1 results, question 1
Quit, host skip, rejoin Phase 2 results, question 1
Quit, host skip, rejoin Phase 1 results, question 2
Quit, host skip, rejoin Phase 2 results, question 2
Host skip all questions (testing for null in discussion and Phase results)
Quit, rejoin answer question, quit rejoin, phase 1, question 1
Quit, rejoin answer question, quit rejoin, phase 2, question 1
Quit, rejoin answer question, quit rejoin, phase 1, question 2
Quit, rejoin answer question, quit rejoin, phase 2, question 2

Let me know if I missed anything though!

Merging now but just let me know if there are issues and I'll revert and correct


Objects disappear when using shadow

Checklist:

[x] I updated to the latest version available
[x] I cleared the cache of my browser

Home Assistant OS 6.6 : core-2021.11.1
Last working release (if known):
FireFox on Windows10

**First, let me congratulate you on the wonderful HACS application you have created. You have really created something very beautiful. Thank you for the effort you have put into it. So I'm almost annoyed to report that something doesn't seem to be going quite right. Then again, maybe it's just me.
What's going wrong:
If I add in yaml: shadow: 'yes' a part of the objects disappear. In itself it is not a disaster because then I work without shadow: 'yes' but with this option the lighting is just a bit nicer.
**

Javascript errors shown in the web inspector (if applicable):

*Additional information:

*

Hello Kouwe please refer to the closed issue https://github.com/adizanni/floor3d-card/issues/35.
Please try to open this URL on the browser you use to visualize the card: https://webglreport.com/?v=1
Post the result here below. The parameter called "Max Texture Image Units" is the maximum number of light entities that you can have in your floor3d card when you activate the shadows. Beyond that number the card becomes unstable.
It is not a bug it is simply a limit of your GPU.
In order to be sure this is the problem, please open the console in your browser and paste here any errors you see when displaying the model with the shadows.

You were right. I reached the maximum number off lights. 16 in my case. When I removed one everything was back to normal. Excuse me that I didn’t look in the closed issues but a bug is solved or not. I only looked at the open issues. But this turns out not to be a bug but a system limitation.
We decided to sell the children and move to a smaller house with a maximum of 15 lights to solve the problem.
Thanks for the quick reply.

Op 8 nov. 2021 om 21:23 heeft andy1970 @.***> het volgende geschreven:

Hello Kouwe please refer to the closed issue #35.
Please try to open this URL on the browser you use to visualize the card: https://webglreport.com/?v=1
Post the result here below. The parameter called "Max Texture Image Units" is the maximum number of light entities that you can have in your floor3d card when you activate the shadows. Beyond that number the card becomes unstable.
It is not a bug it is simply a limit of your GPU.
In order to be sure this is the problem, please open the console in your browser and paste here any errors you see when displaying the model with the shadows.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

I sense you are being sarcastic.
What I can do is to put a control on the number of lights and set a warning when it is going beyond the fixed limit (but I'm not even sure if I can retrieve the limit from some browser object).
Another good evolution could be to put the shadow parameter at light level too, to give the choice about which lights have to cast shadows and which ones don't.
For both I do not consider those as bugs but as new features as they will require some effort to code.

Sorry, that was absolutely not my intention. I am really very pleased with what you made. It was a joke but apparently not a good one.

Op 9 nov. 2021 om 09:47 heeft andy1970 @.***> het volgende geschreven:

I sense you are being sarcastic.
What I can do is to put a control on the number of lights and set a warning when it is going beyond the fixed limit (but I'm not even sure if I can retrieve the limit from some browser object).
Another good evolution could be to put the shadow parameter at light level too, to give the choice about which lights have to cast shadows and which ones don't.
For both I do not consider those as bugs but as new features as they will require some effort to code.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

I've implemented in v1.1.4 the possibility to put 'no' to the shadow parameter of a light for those light we do not want to cast a shadow on. Also now in the console log, the parameter "Max Texture Image Units" is logged at card initialization.
Please validate and close the ticket if you think the bug has been "corrected"

As there are no more comments I close the issue, please re-open if you think the fix/workaround is not satisfactory


mise activate doesn't take effect immediately

So I'm trying to figure out why the ruby-lsp extension for vscode is not working despite me running an command of eval "$(mise activate zsh) in it's config, so I broke out into a "naked" bash shell (IE with nothing configured) to see exactly what was happening.
$ ruby -v
ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.x86_64-darwin23]
$ eval "$(mise activate bash)" && ruby -v
ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.x86_64-darwin23]
$ eval "$(mise activate bash)" && ruby -v
ruby 3.3.1 (2024-04-23 revision c56cd86388) [x86_64-darwin23]

So we an see that the command works, but only after the second invocation - IE I am guess that due to using precmd hooks, it wont have added them to the first invocation because it was already executing a command.
I guess this is just a function of how it's implemented and we should use shims for this sort of thing?

please read my blog post on the topic to understand why this is the case: https://jdx.dev/posts/2024-04-13-shims-how-they-work-in-mise-en-place/
tl;dr: this is expected behavior and there is no way to "fix" it

Makes sense, thanks for confirming.


Fastlane screengrab throws adb not found error

#16021 # New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
I'm trying to generate screenshots. But screengrab fails.
Command executed
fastlane screengrab
Complete output when running fastlane, including the stack trace and command used
C:\Users\subhas\StudioProjects\shabdkosh-android-app>fastlane screengrab
[✔] 🚀
[17:14:59]: fastlane detected a Gemfile in the current directory
[17:14:59]: However, it seems like you didn't use bundle exec
[17:14:59]: To launch fastlane faster, please use
[17:14:59]:
[17:14:59]: $ bundle exec fastlane screengrab
[17:14:59]:
[17:14:59]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
'cat' is not recognized as an internal or external command,
operable program or batch file.
[17:15:04]: The adb command could not be found relative to your provided ANDROID_HOME at C:\Users\subhas\AppData\Local\Android\Sdk
[17:15:04]: Please ensure that the Android SDK is installed and the platform-tools directory is present
[!] adb command not found
Environment
C:\Users\subhas\StudioProjects\shabdkosh-android-app>fastlane env
[✔] 🚀
[17:22:22]: fastlane detected a Gemfile in the current directory
[17:22:22]: However, it seems like you didn't use bundle exec
[17:22:22]: To launch fastlane faster, please use
[17:22:22]:
[17:22:22]: $ bundle exec fastlane env
[17:22:22]:
[17:22:22]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
[17:22:23]: Generating fastlane environment output, this might take a few seconds...
✅ fastlane environment ✅
Stack

Key
Value

OS
UNKNOWN

Ruby
2.6.5

Bundler?
false

Git
not found

Installation Source
C:/Ruby26-x64/bin/fastlane

Host
Unknown  ()

Ruby Lib Dir
C:/Ruby26-x64/lib

OpenSSL Version
OpenSSL 1.1.1d  10 Sep 2019

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane files:
`./fastlane/Fastfile`
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
#     https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
#     https://docs.fastlane.tools/plugins/available-plugins
#

# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane

default_platform(:android)

flavors ={
#listof flavors
}

platform :android do
  desc "Runs all the tests"
  lane :test do
    gradle(task: "test")
  end

  desc "Fetch meta data of apps"
  lane :fetchMetadata do
        flavors.each do |flavor,pack|
                   sh("fastlane supply init --json_key C:/Shabdkosh/KEYSTORE/play_key.json --metadata_path ./metadata/"+flavor+" --package_name "+pack)
       end
  end

  desc "Buid single apk"
  lane :build_app do

    flavor = UI.input("Enter flavor code")
    pack = flavors[flavor]
    UI.success("package '#{pack}'")
    gradle(
      task: "clean"
    )

    gradle(
      task: 'assemble',
      flavor:flavor,
      build_type: 'Debug'
   )
    gradle(
      task: 'assemble' + flavor,
      build_type: 'DebugAndroidTest'
    )

    capture_android_screenshots(
      app_package_name: pack,
      clear_previous_screenshots: true,
      output_directory: 'fastlane/metadata/' + flavor,
      app_apk_path: "app/build/outputs/apk/" + flavor + "/debug/app-" + flavor + "-arm64-v8a-debug.apk",
      tests_apk_path: "app/build/outputs/apk/androidTest/" + flavor + "/debug/app-" + flavor+"-debug-androidTest.apk"
    )
  end
end

`./fastlane/Appfile`
json_key_file("C:\Shabdkosh\KEYSTORE") # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one
package_name("example.com") # e.g. com.krausefx.app

fastlane gems

Gem
Version
Update-Status

fastlane
2.143.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.3.0

slack-notifier
2.3.2

atomos
0.1.3

CFPropertyList
3.0.2

claide
1.0.3

colored2
3.1.2

nanaimo
0.2.6

xcodeproj
1.15.0

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

unicode-display_width
1.6.1

terminal-table
1.8.0

plist
3.5.0

public_suffix
2.0.5

addressable
2.7.0

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.7.1

tty-cursor
0.7.1

tty-spinner
0.9.3

babosa
1.0.3

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

excon
0.72.0

faraday
0.17.3

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday_middleware
0.13.1

fastimage
2.1.7

gh_inspector
1.1.3

mini_magick
4.10.1

multi_xml
0.6.0

rubyzip
1.3.0

security
0.1.3

xcpretty-travis-formatter
1.0.0

dotenv
2.7.5

bundler
1.17.2

naturally
2.2.0

simctl
1.6.8

jwt
2.1.0

uber
0.1.0

declarative
0.0.10

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.2

mini_mime
1.0.2

httpclient
2.8.3

google-api-client
0.36.4

google-cloud-errors
1.0.0

google-cloud-core
1.5.0

google-cloud-storage
1.25.1

emoji_regex
1.0.1

jmespath
1.4.0

aws-eventstream
1.0.3

aws-sigv4
1.1.1

aws-sdk-core
2.11.460

aws-sdk-resources
2.11.460

aws-sdk
2.11.460

json
2.3.0

multi_json
1.14.1

signet
0.13.0

os
1.0.1

memoist
0.16.2

googleauth
0.11.0

google-cloud-env
1.3.1

digest-crc
0.5.1

forwardable
1.2.0

logger
1.3.0

stringio
0.0.2

ipaddr
1.2.2

openssl
2.1.2

ostruct
0.1.0

strscan
1.0.0

fiddle
1.0.0

date
2.0.0

fileutils
1.1.0

etc
1.0.1

zlib
1.0.0

rexml
3.1.9

psych
3.1.0

mutex_m
0.1.0

generated on: 2020-03-05

 [REPLACE THIS WITH YOUR INFORMATION]

@kadam840 Looking into!

@kadam840 Has this worked in the past for you? Or is this the first time you are trying screengrab?
Are you able to run something like adb --version in your command prompt outside of fastlane?

This is the first time Im working on screengrab.
On Thu, 5 Mar, 2020, 11:18 PM Josh Holtz<EMAIL_ADDRESS>wrote:

@kadam840 https://github.com/kadam840 Has this worked in the past for
you? Or is this the first time you are trying screengrab?
Are you able to run something like adb --version in your command prompt
outside of fastlane?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/fastlane/fastlane/issues/16121?email_source=notifications&email_token=AGPYBSMSJT4KO4UPOJGSWKLRF7QXJA5CNFSM4LCIGY32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEN6HRCQ#issuecomment-595359882,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGPYBSI4WOIMZPE4X6UYCLLRF7QXJANCNFSM4LCIGY3Q
.

Duplicate of https://github.com/fastlane/fastlane/issues/16075
Please don't do that @kadam840, you just wasted @joshdholtz 's time.

@kadam840 Has this worked in the past for you? Or is this the first time you are trying screengrab?
Are you able to run something like adb --version in your command prompt outside of fastlane?

yes. adb is up to date and working through command line.

I dont understand what is wrong with fastlane.

There are already similar issues but  you have not solved it for any of them.


[BUG] The latest change for Azure.Core doesn't fix the bug in Unity

Hi, I test the new fix in Unity, I found that the #22539 PR for Azure.Core didn't fix the bug, the code actually catch the wrong exception
Unity uses a very old version of Mono, so the access to some https functions throws NotImplementedException rather than NotSupportedException, in their code Unity Https.
Environment:
-Azure.Data.tables 12.1.0, Unity 2020.3.6f LTS
-.NET SDKs 5.0.301 and Windows 10 10.0.19041
-IDE and version : [e.g. Visual Studio Version 16.10.2
I just created a new PR to fix the issue, tested in Unity.

Thank you for your feedback.  Tagging and routing to the team member best able to assist.


added /health endpoint that always returns 200 without secret

If you need to deploy nexrender-server behind the load balancer, then you need to define a valid health check. Health checks must usually return 200..
Currently we have a problem that we want to place it behind the Kubernetes ingress with using the secret of course.. However Kubernetes still does not have a possibility to define a health check that includes a header value from secrets.. Thus we cannot set nexrender-secret header and create a health check (we could, but then we would expose secret in the deployment files)..
I created this small patch, that exposes /health which can be accessed without the nexrender-secret header. Simply returns 200.
Let me know if you want me to do anything else. Hope this gets in soon..

I like the suggestion! The only change I think would that can be added, is to change route from /health to /api/v1/health, just for the sake of continuity.
How do you think is it ok, or do you have some arguments against that?

I like the suggestion! The only change I think would that can be added, is to change route from /health to /api/v1/health, just for the sake of continuity.
How do you think is it ok, or do you have some arguments against that?

It's perfectly fine as long as the route does not require a secret.. Let me push the update, I'll do it asap..

@inlife So the update is pushed.. Let me know if anything else comes to your mind.. Any idea when can this be released?

Amazing! Thank you for the contribution @ivansenic and for the fix!


CLI can create a new SDK7 project

Currently, whenever you create a new project with the CLI or with the Editor UI, you are only offered SDK6 options. To create a new project with SDK7, the only existing alternative is to clone the template repo manually.
This was maybe acceptable for the Alpha, but for the Beta we need something better.
We need the version of the Editor that we release with SDK7 beta to create a new project with SDK7. For this we will need to change the CLI too to link the dcl init to this template.

@nicoecheza


[suggestion] The InputDecorator of FormBuilderCheckboxList, FormBuilderRadio, FormBuilderSegmentedControl need to be changed.

Currently, the InputDecorator of FormBuilderCheckboxList, FormBuilderRadio,  and FormBuilderSegmentedControl's border is set to InputBorder.none and contentPadding is set to EdgeInsets.only(top: 10.0, bottom: 0.0).
Because of this, border: OutlineInputBorder() is not working.
For all other widgets, giving border: OutlineInputBorder() work fine.
By changing the packages setting from
return InputDecorator(
  decoration: widget.decoration.copyWith(
     enabled: !_readOnly,
     errorText: field.errorText,
     contentPadding: EdgeInsets.only(top: 10.0, bottom: 0.0),
     border: InputBorder.none,
),

to
return InputDecorator(
  decoration: widget.decoration.copyWith(
    enabled: !_readOnly,
    errorText: field.errorText,
    contentPadding: EdgeInsets.only(top: 10.0, left: 12.0, bottom: 0.0),
),

I could get the desired result.
Why set border to InputBorder.none? Are there any reasons?
This is my screen capture after removing border: InputBorder.none and setting contentPadding: EdgeInsets.only(top: 10.0, left: 12.0, bottom: 0.0).

I think there is no reason to set border to InputBorder.none.

Hi @lightlitebug,
Your feedback is much appreciated.

The reason for doing this was simply because I didn't like the spaces created around the fields.
I realize that this may have been ill-advised.
In the next release, I'll have contentPadding and border attributes removed from the library so that the developer decides how that goes.
Cheers!

It's my pleasure.
I really love your package.
Thank you
2019년 11월 3일 (일) 오후 8:03, Danvick Miller<EMAIL_ADDRESS>작성:

The reason for doing this was simply because I didn't like the spaces
created around the fields.
I realize that this may have been ill-advised.
In the next release, I'll have contentPadding and border attributes
removed from the library so that the developer decides how that goes.
Cheers!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/danvick/flutter_form_builder/issues/160?email_source=notifications&email_token=AM2JVSSJWNEJAIRUFZIFPFLQR2VWNA5CNFSM4JF342NKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC5P3BY#issuecomment-549125511,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM2JVSTAFMGQ243VGZVXOFDQR2VWNANCNFSM4JF342NA
.

Kindly check out v3.6.0. Let me know if there's anything to add.
Meanwhile, I'm closing this.
Cheers! Thanks for the love.


manual bump, by running './hack/update-deps.sh --upgrade'

Fixes #
Proposed Changes

manual bump to latest. Done instead of #1633 which is also bumping the golang version...

Release Note

@matzew can you rerun hack/update-codegen.sh?

/close


Open pages

This does not animate the opening of pages. Decided to do this progressively so that we can start using the website ASAP.

LGTM


GPU Issues with PIP-Installed PH4

Describe the bug
It seems that currently, PH4 when installed via PIP does not build the ph4_gpu_worker.
To Reproduce
Run any PH4-related script with gpu workers turned on.
Expected behavior
Start the job with a number of gpu workers allocated to the number of specified GPUs (one per unit, ideally).
Logs
Traceback (most recent call last):
  File "/home/draco/jglaser/GitHub/Tycho/sim_cluster.py", line 372, in <module>
    convert_nbody = LargeScaleConverter)
  File "/home/draco/amuse/anaconda3/lib/python3.7/site-packages/amuse/community/ph4/interface.py", line 471, in __init__
    legacy_interface = ph4Interface(**keyword_arguments)
  File "/home/draco/amuse/anaconda3/lib/python3.7/site-packages/amuse/community/ph4/interface.py", line 34, in __init__
    **options
  File "/home/draco/amuse/anaconda3/lib/python3.7/site-packages/amuse/rfi/core.py", line 752, in __init__
    self._start(name_of_the_worker = name_of_the_worker, **options)
  File "/home/draco/amuse/anaconda3/lib/python3.7/site-packages/amuse/rfi/core.py", line 771, in _start
    self.channel = self.channel_factory(name_of_the_worker, type(self), interpreter_executable = interpreter_executable, **options)
  File "/home/draco/amuse/anaconda3/lib/python3.7/site-packages/amuse/rfi/channel.py", line 898, in __init__
    self.full_name_of_the_worker = self.get_full_name_of_the_worker(legacy_interface_type)
  File "/home/draco/amuse/anaconda3/lib/python3.7/site-packages/amuse/rfi/channel.py", line 704, in get_full_name_of_the_worker
    raise exceptions.CodeException("The worker application does not exist, it should be at: \n{0}".format('\n'.join(tried_workers)))
amuse.support.exceptions.CodeException: The worker application does not exist, it should be at:
/home/draco/amuse/anaconda3/lib/python3.7/site-packages/amuse/_workers/ph4_worker_gpu
/home/draco/amuse/anaconda3/lib/python3.7/site-packages/amuse/_workers/ph4_worker_gpu
/home/draco/amuse/anaconda3/lib/python3.7/site-packages/amuse/community/ph4/ph4_worker_gpu
/home/draco/amuse/anaconda3/lib/python3.7/site-packages/amuse/rfi/ph4_worker_gpu

Environment (please complete the following information):

Centos & Ubuntu 18 LTS
Anaconda 3.7+ with AMUSE installed via PIP

Hi,
In order to use the GPU version you need to build the codes from source using ./configure --enable-cuda. Pip doesn't install the GPU version. Building from the source is a bit tricky but it works.

Yeah, though I find it a bit odd that we dont have a gpu builder on pip (though I admit I am still getting prepping packages for pip distribution).
@rieder Any ideas on prepping methods that might make this a possibility in the future?

I think the only thing blocking this is that amuse-framework doesn't automatically detect if CUDA should be enabled (and therefore also won't build the sapporo library).
Not sure how we could make it detect this automatically (though it shouldn't be too difficult).
The pip version of amuse-ph4 should build a GPU worker if it is enabled.

@rieder is there a flag that should be passed to enable building the worker when installing amuse-ph4 from pip?
I have collaborators that would much rather that be the option than messing around with the source compilation.
~ Joe G.

@blackhole-canada @stevemcmillan
So, I have been building AMUSE 13.1 via source to see if I can get PH4-GPU working. However, it is failing to install due to the following error:
ranlib libph4gpu.a
make[2]: Leaving directory `/home/draco/jglaser/GitHub/amuse/src/amuse/community/ph4/src'
mpicxx -g -O2 -fPIC -g -O2 -fPIC -Wall -g -O2 -I/home/draco/jglaser/GitHub/amuse/lib/stopcond  worker_code.cc interface.o src/libph4gpu.a -o ph4_worker_gpu  -L/home/draco/j$
worker_code.cc: In function ‘void run_mpi(int, char**)’:
worker_code.cc:1301:74: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i < (sizeof abort_signals) / (sizeof abort_signals[0]); i++) {
                                                                          ^
worker_code.cc: At global scope:
worker_code.cc:29:13: warning: ‘NEEDS_MPI’ defined but not used [-Wunused-variable]
 static bool NEEDS_MPI = true;
             ^
worker_code.cc:60:13: warning: ‘TRUE_BYTE’ defined but not used [-Wunused-variable]
 static bool TRUE_BYTE = 1;
             ^
worker_code.cc:61:13: warning: ‘FALSE_BYTE’ defined but not used [-Wunused-variable]
 static bool FALSE_BYTE = 0;
             ^
/usr/bin/ld: cannot find -lsapporo
collect2: error: ld returned 1 exit status
make[1]: *** [ph4_worker_gpu] Error 1
make[1]: Leaving directory `/home/draco/jglaser/GitHub/amuse/src/amuse/community/ph4'

The following are the system variables:
AMUSE_DIR	/home/draco/jglaser/GitHub/amuse
BOOSTLIBS
CC	gcc
CFLAGS	-g -O2 -fPIC
CUDA_LIBDIRS	-L/cm/shared/apps/cuda55/toolkit/5.5.22/lib -L/cm/shared/apps/cuda55/toolkit/5.5.22/lib64
CUDA_LIBS	-L/cm/images/default-image/cm/local/apps/cuda-driver/libs/331.75/lib64 -lcuda  -L/cm/shared/apps/cuda55/toolkit/5.5.22/lib64 -lcudart
CUDA_SDK	/TOBEFIXED
CUDA_TK	/cm/shared/apps/cuda55/toolkit/5.5.22
CXX	g++
CXXFLAGS	-g -O2 -fPIC
F90	gfortran
FC	gfortran
FFLAGS	-g -O2 -fPIC
FFTW_FLAGS
FFTW_LIBS	-lfftw3 -lm   -lfftw3_threads
FORTRAN	gfortran
GSL_FLAGS
GSL_LIBS	-lgsl -lgslcblas -lm
JAR	/usr/bin/jar
JAVA	/usr/bin/java
JAVAC	/usr/bin/javac
MPICC	mpicc
MPICXX	mpicxx
MPIF90	mpif90
MUSE_PACKAGE_DIR	/home/draco/jglaser/GitHub/amuse
OPENMP_CFLAGS	-fopenmp
OPENMP_FCFLAGS	-fopenmp
PYTHON	/home/draco/amuse/anaconda3/bin/python
SAPPORO_LIBS	-L/home/draco/jglaser/GitHub/amuse/lib/sapporo-2 -lsapporo -fopenmp

Any ideas here, since this will need to be ironed out for the pip install version anyway?
~ Joe G.

Update for today:
I have ph4 with its gpu worker for AMUSE 13 compiling correctly against Anaconda 3.7. I had to switch from sapporo_2 to sapporo_light in the Makefile's library call, but for now everything is working (thanks @stevemcmillan for the suggestion).
I'll see what is going on with sapporo_2 in the near future unless anyone has any insights on this.
~ Joe G.


JDK-7 ? or must use 8?

I see it is distributed for JDK-8
14.04 LTS ubuntu has openJDK-7 (maximum) and that runs elasticsearch fine.
How do I get elasticsearch-river-web standalone for jdk-7 ?
thanks.

Java 7 is EOLed and River Web does not support Java 7.
Please upgrade to Java 8.


loading AlphaFoldDB encountering cgroup out-of-memory handler

Hi,
I am trying to use AlphaFoldDB as my training dataset, but it will always have the cgroup oom problem during the data loading stage. I have tried to use the lazy mode when processing the dataloader, but it will still face the same cgroup oom issue.
I am also using some transforms for processing the dataset, like truncating proteins to a maximum length of 100.
I paste a screenshot along with my configuration for loading the dataset below.

Any advice you can give me will be helpful!

Hi, this issue is better raised in the GearNet repo. Typically, we only load one split (with at most 22,000 proteins) for pre-training and use the round-robin method for pre-training. So will this sovle your problem?

Thank you for ur quick response. However, I am using the same code script as GearNet, and I think it performs the round-robin scheduling as it loads one species at a time. However, this will also face the cgroup oom problem. I attach the code to this message.

Thanks.  In this case, you may need a machine with large cpu memory. Otherwise, you have to hack the source code of AlphaFold DB. Here are some possible solutions:

change the size of split to a smaller number
remove all edges generated by rdkit. This works only because we don't need bond edges in GearNet and will re-generate edges on GPU.
do truncation in load_pickle() when loading protein

Great! Thank you for ur help, I will try to hack the issue with your advice. I will follow up on the effectiveness of these suggestions once I implement them successfully. Many thanks again!


Fix typo: colmak -> colemak

Hi,
Thank you so much for this! I think there is a typo in the layout name - it should be colemak, not colmak. I could not find a issue tab so I'm creating a PR.
By the way, could you please point me which part of the code I can change to have more comprehensive colemak key layout? (for example, I want to use d for g so I have the consistent keymap between qwerty and colemak in terms of key locations).

Oh man, sorry I didn't see this, for some reason I wasn't set as watching the repository!
Thanks for this, yeah I always make that spelling mistake, at least I'm consistent I guess. Will merge your PR later today.
For changing the d/g keys around, I basically did a search of the whole repository for the string 'x' where x is the key I want to remap, and changed switched them all like that. I don't have the repository checked out at the moment, but I when I get home later (UK time) I'll find the single commit where I did it all, if you're still looking to do this.

Thank you so much for your kind reply. Yes it would be great if you can point me to the commit. Thank you!

So this is the commit: 06bdcbf8feed4307bbfb3ca2f9f556a7187ad980
Since then though, looking through my history, there have been a few occasions where I've had to make updates to those changes as things have been changed upstream, so that commit isn't going to have everything.
I think your best options is to fork this repository, and then just do a couple of search & replaces of 'g' & 'd' and see if it works. Be sure to check for each instance though that it's the correct context, e.g. the key 'g' and not the 'g' from regex - /abc/g.
It doesn't look like there'll be do much to change if you don't worry about the tests, I didn't. Good luck!


implement Labels

implement a FreeDistributedLattice<G> class parameterized over a generator set G, and then the Label class would look like:
class Label implements Lattice<Label> {
  FreeDistributedLattice<Principal> confidentiality;
  FreeDistributedLattice<Principal> integrity;
}

The official term is Distributive lattice, not distributed.

resolved as of 9aa9372aa1dd22b59f426d1acab796193575f006


Uncaught Error: spawn /Users/admin/Downloads/Atom.app/Contents/Frameworks/Atom Helper.app/Content...

[Enter steps to reproduce below:]

...
...

Atom Version: 1.4.1
System: Mac OS X 10.10.5
Thrown From: Atom Core
Stack Trace
Uncaught Error: spawn /Users/admin/Downloads/Atom.app/Contents/Frameworks/Atom Helper.app/Contents/MacOS/Atom Helper ENOENT
At events.js:141

Error: spawn /Users/admin/Downloads/Atom.app/Contents/Frameworks/Atom Helper.app/Contents/MacOS/Atom Helper ENOENT
    at exports._errnoException (util.js:837:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
    at onErrorNT (internal/child_process.js:344:16)
    at doNTCallback2 (node.js:441:9)
    at process._tickCallback (node.js:355:17)
    at EventEmitter.ipc.sendSync (/Users/admin/Downloads/Atom.app/Contents/Resources/atom.asar/renderer/api/lib/ipc.js:21:31)
    at BrowserWindow.Object.defineProperty.get [as loadSettings] (/Users/admin/Downloads/Atom.app/Contents/Resources/atom.asar/renderer/api/lib/remote.js:160:27)
    at Object.windowState (/Users/admin/Downloads/Atom.app/Contents/Resources/app.asar/src/window-load-settings-helpers.js:17:39)
    at Object.stringify (native)
    at exports.setWindowLoadSettings (/Users/admin/Downloads/Atom.app/Contents/Resources/app.asar/src/window-load-settings-helpers.js:27:52)
    at ApplicationDelegate.module.exports.ApplicationDelegate.setRepresentedDirectoryPaths (/Users/admin/Downloads/Atom.app/Contents/Resources/app.asar/src/application-delegate.js:172:14)
    at /Users/admin/Downloads/Atom.app/Contents/Resources/app.asar/src/atom-environment.js:844:44
    at Function.module.exports.Emitter.simpleDispatch (/Users/admin/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/Users/admin/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at Project.module.exports.Project.setPaths (/Users/admin/Downloads/Atom.app/Contents/Resources/app.asar/src/project.js:217:27)
    at /Users/admin/Downloads/Atom.app/Contents/Resources/app.asar/src/text-editor.js:184:27
    at Function.module.exports.Emitter.simpleDispatch (/Users/admin/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/Users/admin/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at TextBuffer.module.exports.TextBuffer.setPath (/Users/admin/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:342:27)
    at TextBuffer.module.exports.TextBuffer.saveAs (/Users/admin/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:1048:12)
    at TextEditor.module.exports.TextEditor.saveAs (/Users/admin/Downloads/Atom.app/Contents/Resources/app.asar/src/text-editor.js:608:26)
    at Pane.module.exports.Pane.saveItemAs (/Users/admin/Downloads/Atom.app/Contents/Resources/app.asar/src/pane.js:558:16)
    at Pane.module.exports.Pane.saveActiveItemAs (/Users/admin/Downloads/Atom.app/Contents/Resources/app.asar/src/pane.js:521:19)
    at Workspace.module.exports.Workspace.saveActivePaneItemAs (/Users/admin/Downloads/Atom.app/Contents/Resources/app.asar/src/workspace.js:647:35)
    at atom-workspace.commandRegistry.add.core:save-as (/Users/admin/Downloads/Atom.app/Contents/Resources/app.asar/src/register-default-commands.js:176:32)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Users/admin/Downloads/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
    at CommandRegistry.handleCommandEvent (/Users/admin/Downloads/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61)
    at CommandRegistry.module.exports.CommandRegistry.dispatch (/Users/admin/Downloads/Atom.app/Contents/Resources/app.asar/src/command-registry.js:160:19)
    at AtomEnvironment.module.exports.AtomEnvironment.dispatchApplicationMenuCommand (/Users/admin/Downloads/Atom.app/Contents/Resources/app.asar/src/atom-environment.js:1013:28)
    at emitOne (events.js:77:13)
    at EventEmitter.emit (events.js:169:7)

Commands
     -4:31.3.0 editor:split-selections-into-lines (atom-text-editor.editor.is-focused)
     -4:28.7.0 grammar-selector:show (atom-text-editor.editor.is-focused)
  7x -4:16.1.0 core:backspace (atom-text-editor.editor.is-focused)
     -4:02.4.0 core:move-left (atom-text-editor.editor.is-focused)
     -3:55.6.0 editor:newline (atom-text-editor.editor.is-focused)
     -3:51.8.0 core:move-down (atom-text-editor.editor.is-focused.autocomplete-active)
  2x -3:42 editor:newline (atom-text-editor.editor.is-focused)
  2x -3:41.2.0 core:move-up (atom-text-editor.editor.is-focused)
     -3:41 core:move-down (atom-text-editor.editor.is-focused)
     -3:40.5.0 core:move-up (atom-text-editor.editor.is-focused)
     -3:36.5.0 editor:newline (atom-text-editor.editor.is-focused)
     -3:32.6.0 core:backspace (atom-text-editor.editor.is-focused.autocomplete-active)
     -3:26.9.0 core:move-left (atom-text-editor.editor.is-focused)
     -3:24.3.0 core:move-up (atom-text-editor.editor.is-focused)
     -3:01.7.0 core:copy (atom-text-editor.editor.is-focused)
     -0:42.9.0 core:save-as (atom-text-editor.editor.is-focused)

Config
{}

Installed Packages
# User
No installed packages

# Dev
No dev packages

I wrote 4 lines , save it. Things were ok until this error popped out... The file has been saved

Looks like a duplicate of #9559, no?

Yep, thanks @demhydraz!

@kwokandy what were you doing when this happened? Was it around the same time as an atom update? Did you move the app on disk by chance when it was running?


#1117, improve MySQL configuration

Fixes #1117 .

Codecov Report

Merging #1118 into dev will decrease coverage by 0.04%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##              dev    #1118      +/-   ##
==========================================
- Coverage   58.18%   58.14%   -0.05%
==========================================
  Files         641      641
  Lines       12701    12717      +16
  Branches     2055     2055
==========================================
+ Hits         7390     7394       +4
- Misses       4837     4849      +12
  Partials      474      474

Impacted Files
Coverage Δ

...dbc/datasource/JDBCXABackendDataSourceFactory.java
0% <0%> (ø)
:arrow_up:

...bc/datasource/JDBCRawBackendDataSourceFactory.java
0% <0%> (ø)
:arrow_up:

...ration/reg/newzk/client/zookeeper/base/Holder.java
75.36% <0%> (-1.45%)
:arrow_down:

...ng/parser/sql/dql/select/AbstractSelectParser.java
95.65% <0%> (+1.08%)
:arrow_up:

...orchestration/reg/newzk/client/cache/PathTree.java
73.29% <0%> (+1.57%)
:arrow_up:

...ce/OrchestrationShardingDataSourceFactoryBean.java
77.77% <0%> (+11.11%)
:arrow_up:

Continue to review full report at Codecov.

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


🐛 BUG: I am getting the __dirname uncaught refrence error ?

Which Cloudflare product(s) does this pertain to?
Workers Runtime
What version(s) of the tool(s) are you using?
3.81.0
What version of Node are you using?
21.7.1
What operating system and version are you using?
windows 11
Describe the Bug
Observed behavior
Please describe.
Uncaught ReferenceError: __dirname is not defined
at null.
[code: 10021]
Expected behavior
Please describe.
backend/node_modules/@prisma/client/runtime/library.js:6:1410)
at null. (index.js:13:638)
at null.
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
A request to the Cloudflare API (/accounts/6b04d8f8defb2010a12af27200ad7fe1/workers/scripts/medium-like-blog-backend/versions) failed.
Uncaught ReferenceError: __dirname is not defined
at null.
(backend/node_modules/@prisma/client/runtime/library.js:6:1410)
at null. (index.js:13:638)
at null.
(backend/src/controllers/blog.controller.ts:2:45)
[code: 10021]

Thanks for reporting this! Would you be able to provide a reproduction repo that demonstrates the issue?

We haven't heard from you in while so I'm going to close this issue for now. If you're still running into problems feel free to open a new issue with more details and we can investigate further.


Still getting stuck on Victory Material Window

I discussed it with TryBane and we thought it might be able to be fixed by changing line 134 back from the edited 35 back to 45.
Unfortunately this solution didn't work and it still occasionally happens every few battles.
For now I'll try changing it to 60 in the hopes a higher number will help more.
But do you guys have any other suggestions in the meantime?
Picture same as last time
https://send-anywhere.com/web/downloads/882P0DAM

Switching to 60 fixed it.
Along with restarting to minimize lag.

No problem! I have also committed with a change to 55 (as that's been working for me) for now.

For me, even after switching it to 60, 55, 45, or even 35 the script sometimes stuck there.

You can always increase it even more. The higher the number, the longer it'll spend clicking next option. The problem is likely a slow device, which can affect the speed at which menus move to the next. This combined with multiple Bond level ups can easily cause you to have issues even at 60 clicks. So, you can increase the clicks to 65, 70, 75, or even higher if you are still having the issue.

Welp, the joy of having laggy phone. Thanks for the advice

No worries man, sorry about that


[PE-D] Unable to view meetings are invalid find

Unable to view a list of meetings after keying in an invalid find command. (ie meeting list becomes empty, unable to view original list of meetings)

Labels: type.FeatureFlaw severity.Medium
original: tanweien/ped#2

Duplicate of #168


fix custom script handling for node.sh entrypoint

Expected behaviour
when using .snyk.d/prep.sh for node, run_snyk is executed so that any custom commands are done before the rest of the script is executed.
Actual behaviour
when using .snyk.d/prep.sh for node, run_snyk is not executed.  In the the language entrypoints, the custom script will run but run_snyk is also still called.

target date to resolve this is by 6/6.


Ordering articles by datePublished override

We need to make sure we can order articles by a datePublished override before the content team can start publishing old, imported articles.

Plan:

[x] Delist wordpress tagged pages
[ ] Publish
[ ] Run a remap on the content putting in the right dates.
[ ] Remove wordpress delisting


RSDK-1781 discard stale frames

Will need to wait for the next patch in mediadevices so we pin it. I'm assuming we don't want to just use latest.

Using latest is fine. Nothing special about a patch

Using latest is fine. Nothing special about a patch

Done

@edaniels merging is blocked for me.


Broken schema link in example, no other schema link provided

Essentially the title.
As it stands, the only indication of a full schema for the statitcwebapp.config.json is found in the following example:
https://learn.microsoft.com/en-us/azure/active-directory-b2c/configure-authentication-in-azure-static-app#31-add-an-openid-connect-identity-provider
which has a schema link here: http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name
which does not go anywhere useful.
Other than that, there is no indication of a full schema for the staticwebapp.config.json. As a result, if my use cases aren't 100% exactly as found in the few examples on the page, there's no clear way how to proceed.
Plus, even if that link did work, it's still a bit hidden and unclear. My suggestion is that if you have a documentation page dedicated to writing a config file, you have a clearly presented and functional link to a full schema for it.

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

ID: 762d787f-b0e0-4403-a0b0-a5bb0a228b34
Version Independent ID: 595ea830-dd14-e8b7-5a35-2ac67a60dee4
Content: Configure authentication in an Azure Static Web App by using Azure Active Directory B2C
Content Source: articles/active-directory-b2c/configure-authentication-in-azure-static-app.md
Service: active-directory
Sub-service: b2c
GitHub Login: @kengaderdus
Microsoft Alias: kengaderdus

@njrardin
Thanks for your feedback! We will investigate and update as appropriate.

@kengaderdus
Could you please review add comments on this, update as appropriate.

@njrardin
Thank you for bringing this to our attention.
I've delegated this to content author @kengaderdus, who will review it and offer their insightful opinions.

@njrardin
Thanks for your feedback! This article shows you how to enable authentication in an Azure Static Web App by using Azure AD B2C, but the documentation for static apps is found here. So, you need to satisfy the prerequisites before you proceed.
Please let us know if this response helps you to proceed.
Thanks.

This is still an issue and the resolution doesn't offer a solution. There is no document against which the customer can raise an issue to say the documentation is missing. As it stands this page does not fully document how to configure the authentication because there is only one example configuration and no documentation on how to configure in different ways. Suggest finding an owner and getting this schema properly documented.


Toggle (mat-slide-toggle) highlight not fading away after interaction

What is the expected behavior?
The shadow/highlight when turning the toggle either on or off should disappear after setting the toggle.
What is the current behavior?
The shadow/highlight stays after setting the toggle.
What are the steps to reproduce?
The bug is also present here (version 7.1.1) --> https://material.angular.io/components/slide-toggle/overview
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 7.1.1
Material 7.1.0

This will be fixed with #13562


caching is not working

I have tried the attached code in the readme file for the cache but it failed, saying that no cache is found.
I managed to find a solution to the problem and I am willing to add it in a pull request.

Hi. Could you please briefly share what problems you found?

Hi. Could you please briefly share what problems you found?

I mean, please provide a minimal reproducible example about this problem, otherwise other people may not be able to get your point.

I know that there is no cache in the first time but, this problem arises in the third run of the GitHub actions.

I just ran into the same issue, this seems to be the problem

Hi @Mostafa-wael and @AnotherFoxGuy , I think you may need to switch to actions/cache@ v1 .
See also https://github.com/jurplel/install-qt-action/issues/51#issuecomment-778594660 .

I fixed it by using the following setup:
- name: Cache Qt
  id: cache-qt
  uses<EMAIL_ADDRESS>  with:
    path: "${{ github.workspace }}/qt/"
    key: ${{ runner.os }}-QtCache

- name: Install Qt
  uses: jurplel/install-qt-action@v2
  with:
    cached: ${{ steps.cache-qt.outputs.cache-hit }}
    dir: "${{ github.workspace }}/qt/"

I fixed it by using the following setup:
  uses<EMAIL_ADDRESS>  with:
    path: "${{ github.workspace }}/qt/"

@AnotherFoxGuy Yes, it works because you are now using an absolute path.


Doghousehq

https://github.com/dogghousehq/azure-docs/blob/master/azure-portal-docs-mapping.json

@demaford Thanks for leveraging Azure docs feedback channel to raise this question. Please help with the link of document on which above document feedback request is created.
Under this repository we want to make sure any issue is linked to a doc so we can help others that may be having the same issue.

@demaford Please help with the link of document on which above document feedback request is created. We try to reserve these issues for feedback directly related to the tutorials: like if there are errors that block tutorial completion or if there are updates/changes required, suggestions for improvement, etc. If this is not the case I would suggest you, open an issue with your question on  Microsoft QnA or StackOverflow forums where there is a community that can help.

@demaford This channel is reserved for ‘Azure docs’ feedback- for sharing doc feedback and suggesting content improvements. After reviewing the ask, it seems like generic query and not a doc feedback.
Hence, we request you to please reach out in forums like Microsoft Q&A or Stackoverflow. We have our engineers and other community members who will be happy to assist. Forums have a better suited audience for such queries. Once your issue is posted in forum, please do share the forum thread link here for tracking.
If you have a document which you are following and if you think it needs an update, please let us know about that here.
We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.
Thank you


Messages not sending after being ban-unbanned in specific channel

Checklist

[X] I'm reporting a problem with Chatterino
[X] I've verified that I'm running the most recent nightly build or stable release
[X] I've looked for my problem on the wiki
[X] I've searched the issues and pull requests for similar looking reports

Describe your issue
Got banned and unbanned from channel. Can view chat, can chat from browser. Can chat in other channels from chatterino, but not from the one I got ban-unbanned from.
Using the latest version, have uninstalled reinstalled, fully cleared cache.
Cannot see this issue anywhere else nor have ever heard of this from anyone before.
Screenshots
No response
OS and Chatterino Version
Chatterino Nightly 7.4.2 (commit e76110ce) built on 2023-03-28 with Qt 5.15.2, Windows SDK, MSVC 193431942, Crashpad Running on Windows 10 Version 2009, kernel: 10.0.19044

I think this might be a twitch issue (you might be shadowbanned). If you know the broadcaster, try asking them to VIP you and check if you can type as a VIP.
Since this isn't 7TV related, I'll transfer this to the upstream repository.

You are correct, I have been shadowbanned from that specific channel. Thanks for your help :)

You are correct, I have been shadowbanned from that specific channel. Thanks for your help :)

If you confirmed the issue by having them VIP you as neri suggested, can you have them time you out for any duration, that's how I've seen it resolved.


how to suppress "context canceled" message

I am using this method to post something to my coap-network:

// Post ...
func Post(ip config.IPv6, payload string) {
	co, err := udp.Dial("[" + string(ip) + "]:5683")
	if err != nil {
		log.Fatalf("Error dialing: %v", err)
	}
	defer co.Close()

	// create context with timeout
	ctx, cancel := context.WithTimeout(context.Background(), time.Second)
	defer cancel()

	// send our post
	resp, err := co.Post(ctx, "set/output", message.AppJSON, strings.NewReader(payload))
	if err != nil {
		fmt.Printf("Error sending post: %v\n", err)
		return
	}

	// read "data" from the ACK response
	if resp.Type() == udpMessage.Acknowledgement {
		data, _ := ioutil.ReadAll(resp.Body())
		fmt.Println("ACK:", string(data))
	}

	// do we need to send an ACK?
	if resp.Type() == udpMessage.Confirmable {
		fmt.Println("send ACK")

		resp.Message.Reset()                     // dont sent content again
		resp.SetType(udpMessage.Acknowledgement) // its an ACK..

		err = co.WriteMessage(resp)
		if err != nil {
			fmt.Println("something went wrong..")
		}
	}

	fmt.Println("post done!")
}

Works fine! Thanks for that! ;) But what is a bit annoying.. I am getting all the time this message after a transmission:

How can I suppress this "context canceled" message?
Seems like it comes from here:

Am I doing something wrong?

Hi Slaesh. Could send me a backtrace where the error was created ? With udp.WithErrors you can suppress it - just set the option in Dial. udp.Dial(..., udp.WithErrors(func (err error) {}))

Thanks for your message. Will try that tomorrow!
How would I generate the backtrace?

udp.WithErrors(func (err error) {}) works. feels kinda like wrong.. I mean there was no error? cancel was called during the defer thing .. or?

I guess the error comes from:
func (c *UDPConn) ReadWithContext()
select {
case <-ctx.Done():
	return -1, nil, ctx.Err()
default:
}

And is bubbled up till client.go
go func() {
	err := cc.Run()
	if err != nil {
		cfg.errors(err)
	}
}()

I can't find why it's printed to log in your case.


MultiPoint boundary iteration

I was trying to get the first Point of a LineString.
I ran the following code with Shapely 1.8.2:
line = LineString([(0, 0), (0, 1)])
p0 = line.boundary[0]  # deprecation warning
p1 = line.boundary.geom[0]  # error

This results in a warning and an error:
test.py:5: ShapelyDeprecationWarning: __getitem__ for multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  p0 = line.boundary[0]  # deprecation warning

Traceback (most recent call last):
  File "test.py", line 6, in <module>
    p1 = line.boundary.geom[0]  # error
AttributeError: 'MultiPoint' object has no attribute 'geom'

The warning is for using the new (towars Shapely 2) .geoms for iteration.
The error is that for some reason "'MultiPoint' object has no attribute 'geom'".
(For example: the area of my geometry is 1.417 when it should be 1.414.)
FWIW, I eventually used Point(line.coords[0]) - but this mandates a call to the Point() constructor - a cost I was hoping to avoid (and from my measurements was slower in previous Shapely versions).
[Shapely 1.8.2 on Windows from conda]

There is a small error in your code: the warning points to geoms (with "s") and not geom attribute. So the following code works both with older and newer versions of Shapely:
In [2]: line = LineString([(0, 0), (0, 1)])

In [3]: line.boundary.geoms[0]
Out[3]: <shapely.geometry.point.Point at 0x7f30bd361f40>

🤦♂ My bad. Thanks!


Panic fix

Turns out that there are transactions in the zS range, and these crashed the siacoinString function.

lol that's probably me & luke

that's definitely a really hacky fix...I'd say think about it some more, and if you don't come up with anything better will use this.

Bump.
Is there a better way to approach this?

it's four lines instead of one and has a branch, but feels cleaner now.


Modify word error

修改文字错误，便于阅读。

Please add more content next time, don't just fix typos. 😄

you can try to fix the English readme


ARTEMIS-1562 convert doc in slow-consumer example

@jbertram  sorry about that ... I only noticed your conversion to markdown after the example PR was committed.
the markdown is so much nicer 👍

@pgfox, no worries.  It was quick work.

@pgfox This wasn't your fault.  I merged your work Pat, then Justin's right after, (reviewing them seperately) not realising that Justin's MD changes didn't (couldn't have) included your example.  Hence the follow up PR.


Max limit of available profiles is sometimes still the old value

See: https://www.flickr.com/photos/amoebae/3262258431

Found it, https://github.com/dtgDTGdtg/SRWE/blob/master/SRWE/SRWE_Settings.cs#L148
If there are more than 9 profiles already (e.g. by manipulating the config file), it will simply remove the last one, but if you have 9, it won't be more.

Fixed


TEC Incubation Roadmap X TQF X Investable Workstreams X Bonding Curves on Optimism

The following headlines are unfolding the TEC Forum:

TEC Incubator V1
TEC on Optimism and ABCs on Optimism with Aragon
Inverter Networks Bonding Curves Model
TEC Investable Workstreams

See the TEC Forum for more information on the above topics.
The quest for this team is then to define how TQF fits into the TEC TE Incubation Narrative. TQF is like seed funding for TE public goods. Seed funding which is governed via TQF. This is a quadratic matched funding for peer to peer donations.
Quadratic funding is peer to peer funding boosted by matching pools. Where is TEC getting it's matching pool from?

The Common Pool
Sponsorship Matching
Quadratic Funding

Up until now, the common pool has been the primary source of funding for the TE QF rounds. The TEC is currently on a mission to remove the common pool funding from the above list such that funding parity is reached, TEC Common Pool Token Ingress = TEC Common Pool Token Outgress. Funding Parity. So that TEC can run perpetual TEGR rounds without depleting its common pool. Meaning gain should be equal to or greater than loss for the common pool.
Thus TEC Capital Strategy for TQF is the following:
$100,000WXDAI distributed to TE public goods projects per year, over 4 rounds with $25,000WXDAI matching pool per round.
So far, two rounds have been run, TEGR1 and TEGR2, with TEGR3 coming up in mid November.
This methodology gives TEC a specific function that it is optimizing for, the outcome of its quadratic funding rounds. It also sets a target for yearly Token Ingress of $100,000WXDAI token ingress per year.
By thinking through the above notes, I may be coming to my conclusion about how TQF fits into the Incubation Roadmap.
TQF is the Seed funding for TE Public Goods. It's the first Phase of the TE Public Goods Discovery Process. It's perpetual, sustainable, quantifiable funds streaming into TE public goods at $100,000WXDAI per year. It's a showcase for TE public goods. It's a community donations and matching platform to fund projects up to $15,000WXDAI per year.
Scoping out Phase 2 of the TEC Incubation process would be beyond the scope of this repository. That will be left up to the agents of TECAN, BCRG, Tumeric, ect. Closing this issue for now, and will reference it for future discussion.


Recursive search of the folder "ExamplePythonDependency" in Program.cs, not working in CodeSpaces

Do you know why it wasn't working in a code space? It should run the same from path discovery as other OS environments.


Resnet documentation update

I have updated resnet block documentation and merged to main PR #12692.
The changes have been reflected in this documentation but not in this documentation page.

fyi @saichandax


LGT8F328P nano style Holtec USB Serial not recognized?

Hello David,
I've tried to use your fabulous looking web-oscilloscope, but it seems it can't connect to my LGT8F328P nano style board with onboard Holtec USB Serial adapter. I'm running Windows 7 32-bits (Yes, I know...) with an updated version of Google Chrome (Version 86.0.4240.75 (Official build) (32-bits).
While the oscilloscope seems to run fine, it allows me to select a com-port. In the popup-window it shows all kind of ports, but it doesn't show the Holtec serial port of the LGT-board. That port is properly shown in the list of ports in the Arduino IDE and in the device-list of the Windows management console, but not in the web application.
When I insert a prolific serial adapter, that port is properly displayed, so I guess that could be a workaround, but I'd prefer to use the onboard USB connector. BTW. I also have some SOP20 boards laying around, but those don't have all analog pins available.
What can you suggest me to do?

Hi @maxint-rd ! Thanks for the kind words :)
SSOP20 boards should work fine, the oscilloscope can only read A0 as analog and A4,A5 ad digital.
You can get a second analog channel by using a second board but I didn't upload the instructions yet.
Regarding the holtek board in Windows, if it doesn't appear in the list, there's nothing I can do unfortunately, that's handled directly by the browser. I'll test it in a Windows machine this weekend anyway to be sure.
Have a nice week!

Hi David,
Thank you for your swift response and for your clear explanation. Good to read that the SSOP20 board should work.
It would be nice if you ever get the Nano-style board with the onboard Holtek chip working, but the SSOP20 with a separate Prolific board should be fine too.  (I haven tested it yet, but considered it fine enough to close this issue).
BTW. thank you very much for all your great work on the core files for this interesting board. I've happily used your work and  did some experimenting for my own projects. I'm still struggling a bit to get TIMER3 to do fast PWM, but that's a whole different topic...

:) thanks, happy to hear it it is useful for you.
Btw, I was also having problems with Timer3, and a contribuitor recently found out there's a couple of register which are wrongly defined. Check this issue: https://github.com/dbuezas/lgt8fx/issues/57#issue-comment-box
It will be fixed in the next release, but you can already get it to work by redefining the constants yourself (Use #undef)

@maxint-rd :
Hi!
You need to dowload HOLTEK drivers for windows 7 or windows 8.
https://www.holtek.com/productdetail/-/vg/42B534-x
The driver .zip file can found under "Documents" tab.
They made this driver with an old signature. If you are unable to install driver, must set system date 2018 or earlyer for the setup time.

Btw, I was also having problems with Timer3, and a contribuitor recently found out there's a couple of register which are wrongly defined. Check this issue: dbuezas/lgt8fx#57 (comment)
It will be fixed in the next release, but you can already get it to work by redefining the constants yourself (Use #undef)

Oh, cool! Thanks you for that piece of info. When I was struggling to get it working I didn't even think that that could be the issue.

You need to dowload HOLTEK drivers for windows 7 or windows 8.
https://www.holtek.com/productdetail/-/vg/42B534-x

Thank you @LaZsolt for the suggestion. I already have the driver working and the comm-port shows up in the Arduino IDE as well as in the Windows 7 device manager. It just doesn't show in the Crome box when connecting. Perhaps the Holtec driver is not compatible with this new Chrome feature.
But my Prolific board does show up, so I can use a SSOP20 pro-mini style board to test the oscilloscope.


ElementalEditor needs a way to respond to unauthorised CMS users

At the moment users that only have access to the CMS, but no privileges to view or edit content will be able to open up a page that has the Elemental extension applied.
They are, however, not able to see the list of blocks at all. Instead only the loading indicator is shown, which is unsatisfactory feedback for users.
The unauthorised CMS user sees:

These are the permissions I set when encountering this:

I am using dev-master at 06eba2e2bb9

In the default CMS we render a readonly view. We probably need to do that as well, assuming the user can view this page in the first place (your permissions indicate that they shouldn't be allowed to get to this point at all). The "access to all CMS sections" is probably taking precedence.

@sachajudd FYI

This issue closely related to https://github.com/dnadesign/silverstripe-elemental/issues/426.

Should be resolved by dnadesign/silverstripe-elemental#449

Closed via #446 and #449


Ranges preparation for v1.1 for replacing linspace

The current range syntax changing between 1.0 and 1.1... It may only be a few months before the 1.1 release, but we are writing a lot of code between now and then.
Basically, whenever we have code right now that says linspace(a, b, N) with this patch we could turn it to range(a, b, length=N) which is objectively better.
I asked on slack and they told me that if we do some (temporary) type piracy, we can emulate the (far better) syntax with
Base.range(start, stop; length=nothing, step=nothing) = range(start; stop=stop, length=length, step=step)

We would wrap that in a v"1.0" <= VERSION < v"1.1" wrapper so as not to clash with the 1.1 release.
@sglyon @Nosferican @cc7768  Thoughts?

I'm curious : how is range () objectively better than linspace ?
Le ven. 31 août 2018 à 19:47, Jesse Perla<EMAIL_ADDRESS>a
écrit :

The current range syntax changing between 1.0 and 1.1... It may only be a
few months before the 1.1 release, but we are writing a lot of code between
now and then.
Basically, whenever we have code right now that says linspace(a, b, N)
with this patch we could turn it to range(a, b, length=N) which is
objectively better.
I asked on slack and they told me that if we do some (temporary) type
piracy, we can emulate the (far better) syntax with
Base.range(start, stop; length=nothing, step=nothing) = range(start; stop=stop, length=length, step=step)
We would wrap that in a v"1.0" <= VERSION < v"1.1" wrapper so as not to
clash with the 1.1 release.
@sglyon https://github.com/sglyon @Nosferican
https://github.com/Nosferican @cc7768 https://github.com/cc7768
Thoughts?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/QuantEcon/QuantEcon.jl/issues/220, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAQ5KRKpoMg6qFItknOx4Po4p8i8q1pHks5uWXbBgaJpZM4WVnZF
.

I suppose that is a matter of taste, but I like forced keyword arguments when things are unclear of the ordering.
Regardless, it is what Julia is doing.  What is worse than linspace is the current range in Julia v1.0 - which this is intended to temporarily patch.

my gut reaction is that it scares me a bit to define that method...
Are you trying to expose this method to users (not devs) who call using QuantEcon?

It should be scary, it is unequivocable type piracy!
Yes, the idea would be that the julia lecture notes (and anyone who does using QuantEcon) would be able to use the new syntax.  Once Julia 1.1 is released, though, that function would not exported or even defined as https://github.com/JuliaLang/julia/pull/28708 would be merged.  This is one of those PRs that should have made it into v1.0 but missed the window.
The code listed above comes from a Julia core dev (@simonbyrne ) who suggested that we could just add in the method from the PR temporarily if we chose to.

If it is local to the package, one way to avoid type piracy is to add your own range(a, b, length=N) method within the QuantEcon module:
range(start; stop=nothing, length=nothing, step=nothing) =
    Base.range(start; stop=stop, length=length, step=step)
range(start, stop; length=nothing, step=nothing) =
    Base.range(start; stop=stop, length=length, step=step)

Because random packages shouldn't change the behaviour of unrelated Base functionality.
Yes, I agree since it's a method error, it's not that big of a deal, but you could still have a situation where someone has some code which uses the this functionality, which then breaks when they forget using QuantEcon.
If it should go anywhere, it should be in Compat.jl.

Because random packages shouldn't change the behaviour of unrelated Base functionality.

True almost always.  But in this exact circumstance, it is about temporarily accelerating a feature that will be in Base, is currently a method error, and isn't exported when base changes.  It may seem trivial, but this is such a common programming pattern that I care deeply about making sure people use the right (i.e. 2-3 months from now) way of doing it.

Yes, I agree since it's a method error, it's not that big of a deal, but you could still have a situation where someone has some code which uses the this functionality, which then breaks when they forget using QuantEcon.

If that is the worst thing that could happen, I think that is OK.  And that would only be for the next 2-3 months (hopefully), at which point the same code would work on base.

If it should go anywhere, it should be in Compat.jl.

I don't believe that most user code uses Compat.jl?  I never do, at least?  Or am I missing something there.

I would use the syntax based on the language. We can release a new version for v"1.1.z". If there are issues I think Compat would be the place if anything and it would probably be there. We could add it as a dependency even if not my favorite solution.

I also want to point out that this is a sufficiently special case that people in https://github.com/JuliaLang/julia/pull/28708 were even arguing about breaking SemVer to get it in.

I would use the syntax based on the language. We can release a new version for v"1.1.z".

A lot of code would be created and taught prior to that point, using a confusing pattern that everyone agrees will be changed in the short term.  The language was released before it was ready, so some special cases may be acceptable to help in patching it.  I don't think this sets a precedent.
I think that telling users to setup Compat.jl as a dependency on user code is a bad idea.

If the course is started with Julia 1.y.z. I would not upgrade a major version for that term so students would most likely not see the new syntax until after the course.

Students (at least mine) will start with 1.0.
Who knows when v1.1 will actually be released?  You are also assuming that students will notice and change the way they code between versions... these things are a mental snapshot for most people.  They will take whatever source we give them and use it directly for the future unless something forces them to change it.  This linspace debacle will be the most visible (and only known?) change in the code between the two versions that I can see.
You guys can outvote me, but this seems a reasonable special case to be made.

I started learning Python soon after 3.y.z got released and learned the language in three different classes using 2.7. It was a bummer trying to learn the changes, but it wasn't too bad and I think Julia is making it a lot easier than what it was for Python at that historic time. Say that we teach them the 1.1 syntax, who will "shelter" them from when 1.2 comes out? I would be surprised if v"1.1.0 does not allow the previous syntax and just give a deprecation warning.

Say that we teach them the 1.1 syntax, who will "shelter" them from when 1.2 comes out?

No precedent is intended on any other features or versions.  I expect v1.2 to be a normal point release and staggered with a normal timeline.  Whether people admit it or not, v1.1 is very likely going to be a fix to the v1.0 release getting in whatever they should have snuck in to v1.0 but couldn't because of the hard deadline on the release date.
I also don't believe that v1.1 is supposed to deprecate the current syntax.  Would that change anything?

I don't believe that most user code uses Compat.jl? I never do, at least? Or am I missing something there.

won't matter because as long as some package they load uses compat, the method will be added to the Base.range function

won't matter because as long as some package they load uses compat, the method will be added to the Base.range function

My concern was that I would prefer not to make Compat.jl a dependency for lectures.
Your concern seems to be that when this code is added to Compat.jl (which it will be there at some point soon, I would guess) that it would clash with any QuantEcon.jl version of the function?

Nope, I was addressing your concern about not loading Compat explicitly in script type code.
You would have to as long as somewhere in the stack (e.g. in QuantEcon) a package loads Compat. As soon as that happens the method is added to the range function and available globally.
If we wanted to find a home for it and ensure that it is ready for QuantEcon lecture users we should put it in Compat and call using Compat in QuantEcon so that as soon as somebody does using QuantEcon the method is guaranteed to be added.
Same effect as defining it here ourselves, but it can be shared across all of Julia and Compat gets to be the pirate, not us

I think I see what you are saying for the clashes between this and one added into compat.  That kills the idea.
So... changing approaches, but not my end goal :-)
If we tell people to add using Compat in the lecture notes, which is not an enormous problem, and could help us sneak in other v1.0 to v1.1 quirks, is there any real downside?  Can it break anything, slow things down in compiled code, etc.?

I don't think I was clear enough
Here's the idea:

Add your method to Compat.jl
Then call using Compat in QuantEcon. This causes the new method to be added to Base.range and available anywhere Base.range is available
Lecture users call using QuantEcon. QuantEcon then loads compat and without the lecture user even needing to think about it, the new method (that lives in Compat) is available for them to use

I see.  Are there any downsides to that approach?  Are there times when you really don't want to have Compat.jl?

Not that I know.
The downside will be convincing Compat stewards to accept a "forward compatibility" method instead of the typical backward compatibility-preserving definitions you usually find there

Maybe they would be open to "from future import range" ? ;-)
Joke appart, I'm fairly neutral on this issue as it's really a transitional
problem. Compat sounds like a good idea.
What the students should know is that keyword arguments are now fast with
Julia so there is no need to find strategies to avoid them. range is a
good example of that. Now I'll be teaching Julia again soon and I sincerely
hope 1.x will be stable in the future, but maybe we should tell students
snapshoting a mental representation of Julia wasn't a winning strategy in
the past...
On Fri, Aug 31, 2018 at 10:48 PM Spencer Lyon<EMAIL_ADDRESS>wrote:

Not that I know.
The downside will be convincing Compat stewards to accept a "forward
compatibility" method instead of the typical backward
compatibility-preserving definitions you usually find there
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/QuantEcon/QuantEcon.jl/issues/220#issuecomment-417785259,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAQ5KQEqAcSs3_bZrob0CRr39Ldv9njpks5uWaErgaJpZM4WVnZF
.

but maybe we should tell students snapshoting a mental representation of Julia wasn't a winning strategy in the past...

That is for sure.  The problem is that it is hard for them to acquire the new information - unless errors are triggered, which wouldn't occur here.  Also a great deal of hysterisis occurs with code.
It looks like from
https://github.com/JuliaLang/julia/pull/28708#issuecomment-418433463 that adding to Compat.jl would have support, so I will close this issue and we can do something separate for the Compat.jl.


24kHz and 10 bit mu-law model

Following the original paper train a model on 24kHz audio with 10 bit mu-law encoding.

thanks for your impressive work. Is the "24kHz and 10 bit mu-law model" training completed?

Hi @agangzz, unfortunately I had to move on to some other work so I haven't had time to look into training the 24kHz and 10 bit mu-law model. If you (or anyone else) are interested contributions would be more than welcome.
Note that the ZeroSpeech2019 data I used for the current model is 16kHz so it'd require a different multispeaker dataset.


Workaround or document catchup result streamed meta

When running catchup in multi-thread mode users might incur an error within the MetaResult wrapper since after catching up it will try to decode the catchup result. The most straightforward way to approach this is to document this and notify users not to do unsafe access to options of MetaResult since it will always result in a panic when running catchup in multi-thread mode.

partially addressed in 0.0.2. Closing for now, will reopen if we take another approach in the future


the large dataset problem

I want to finish a muli-classification problem. The dataset is so large!!! It includes 200 thousand samples which have high dimension about 2,000,000. However, it's a binary sparse matrix.So i want to use sparse matrix as input.What can i do to solve the input problem? Thanks!

This is beyond the scope of gpflow. It would be probably be possible to make a custom model using SVGP and tensorflow sparse matrix operations.

Thanks a lot!I reduce the dimension but when i use the SVGP to make muli-class(22) classification,i get the OOM error.Could you please tell me what to do?

It is very hard to give an advice not seeing what you actually do and error output, is that gpu oom or standard one and so on.

@311dada please feel free to reopen this issue if you've got further questions and further details to help us answer your questions!


Incorrectly positioned loading in Button

Chrome version: 108.0.5359.98
OS: Ubuntu 22.04
Screencast from 12-17-2022 03:44:58 PM.webm

Does this also happen on Incognito Mode (with all Chrome plugins disabled)?
Because I suspect something might be manipulating the style. Same Chrome version on all operating systems should give the same result 🤔

@saadeghi You are right. Maybe some extensions are overriding the styling. It works fine on incognito.

Great.
If you found out which extension is causing the issue, please let me know.


Add support for GRAFANA_API_TOKEN environment variable

This allows a grafcli.conf configuration file to be managed within a public repository without revealing credentials.

Thanks for contributing!


Issues in bitwise operators

Description:
Bitwise and seems to produce incorrect results in certain scenarios where at least 1 operand is of a non-int signed int type.
import ballerina/io;
import ballerina/lang.'int as ints;

public function main() {
    ints:Signed8 a = -1;
    int b = -1;

    int x = a & b;
    io:println(x); // prints `-1`, expected `255`
}

Affected Versions:
1.2.0-rc1

Update: the above output is correct according to https://github.com/ballerina-platform/ballerina-spec/issues/458.
Keeping this issue open to validate the current behaviour.

The following results in a type-cast error at runtime
import ballerina/io;
import ballerina/lang.'int as ints;

public function main() {
    byte a = 128;
    ints:Signed16 b = 384;

    byte x = a & b;
    io:println(x);
}

$ ballerina run abc.bal
Compiling source
        abc.bal
Running executables

error: {ballerina}NumberConversionError message='int' value '384' cannot be
converted to 'byte'
        at abc:main(abc.bal:8)

Fixed with https://github.com/ballerina-platform/ballerina-lang/pull/21769.


Updating EMR release version for tests and default

Enhancement

Updating EMR release version for tests and default

Detail

In interest of limiting use of IMDSv1 calls internally newer releases of EMR use IMDv2 by default.
Security Configuration should enforce this in our test cases. Reference

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

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: 9e43c99024275f2b07670eb138c8e7524c0dc393
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: 4899264c0caa9e96097379cd940bc618949e1aec
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: 39231b486c02859c7ed5cf47a3b26b4d5ccd470a
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: 6ac45535099ebdd0332faab2e4f3ae7feeab2af1
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: 6ac45535099ebdd0332faab2e4f3ae7feeab2af1
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Move Class (Or some other way to load in moves)

We will need a way to store loaded-in move information, if you have any ideas for how this might be done best post them as replies here.
Here's what I've thought of so far:

A move should store coordinate information in an identical manner to the Lattice class, so that comparing the desired cell values in the move to the actual cell values on the lattice is kept fairly simple.
A move should store the initial position of the moving module relative to its local coordinate system
A move should store the (desired) final position of the module relative to its initial position (so that it's an offset from the original position)

So for example if we had a move that was encoded like this
xx
?!
##

where x means we need that cell to be empty, # means we need that cell to contain a module, ? is the moving modules initial position and ! is its final position, the initial position of the moving module would be stored in the move as (0,1) (keeping in mind that in the program (0,0) refers to the top left corner), and the desired final position should be stored as (1,0) which we could then use to update the modules position by just adding the final position offset to the original position of the module.
That's just my ideas though if anyone has any alternative ideas definitely post those so that we can figure out what works best

That seems good. I was thinking of where the user gives a set of allowed moves in strings and the program would utilize built-in set of moves with the underlying representation that you shared above.
Some more ideas:

How to apply the move in all possible rotations in n-dimensions
What if multiple files of the same move are given


Move one of dev/test/pentest to Postgres Flexible Server

Per 1/6 engineering sync, we decided to migrate the databases to Postgres Flexible Server. As this is probably going to surface a few hardcoded assumptions around DNS and Terraform state, let's create a checklist implementation plan by migrating one of the test envs first that we can use to migrate the other ones.
More info: https://docs.microsoft.com/en-us/azure/mysql/flexible-server/

Steps to migrate:
Ahead of time:

Create new networking subnet for flexible servers (delegated to Microsoft.DBforPostgreSQL/flexibleServers)
Use this PR to create a new Flexible DB
Spin up VM
Check replication settings on old DB (should already be set)

max_replication_slots = 10
max_wal_senders = 10

Merge a PR to avoid hard coding the username format for the no_phi user
For the environment(s) you are about to migrate, prepare a PR that sets the correct no_phi username format (and have it approved ahead of time)

Rollout time:

Modify DB secrets in KeyVault

we’ll keep the same passwords, so really we’re just changing the URI and username (Flexible DB username removes the @ servername portion)
simple-report-ENV-db-jdbc
simple-report-ENV-db-metabase-uri

Stop app / staging slot
Stop Metabase
wait for # of connections to be 0:

SELECT * FROM pg_stat_activity WHERE state = 'active' and datname = 'simple_report';

export PGPASSWORD
Dump old DB

pg_dump -h simple-report-ENV-db.postgres.database.azure.com -U simplereport@simple-report-ENV-db -d simple_report -z0 -Fd dump.sql

Restore to new DB

CREATE DATABASE simple_report and CREATE ROLE simple_report_no_phi WITH LOGIN NOSUPERUSER ENCRYPTED PASSWORD ‘nophipassword’
pg_restore -c --no-owner --role=simplereport --j 4 -h simple-report-ENV-database.postgres.database.azure.com -d simple_report -U simplereport dump.sql

Connect using psql and verify tables are there
Start app / staging slot

Visit app URL to test

Start Metabase

Verify dashboard looks correct

Merge the PR approved above
Done!

Questions to answer before starting for real:

Should we upgrade our Postgres version as part of this process?
Throughput and memory vs CPU optimized - what’s the right size?

pentest is now moved over and working successfully.

no-phi user has been figured out! Josh working on tests.


Support for Rider 2022.3 EAP

Rider EAP is out there with great hot reload (and lot more improvements).
Your plugin requires version 222., new Riders has 223. so plugin is considered to be incompatible. I'm not sure if there are any incompatibilities in plugin API, may be it will be enough to change version requirement?

Hi @ZlobnyiSerg
Please check the side note for EAP in the README.


Roll engine 80f80b14e000..53bee4391ab5 (4 commits)

git@github.com:flutter/engine.git/compare/80f80b14e000...53bee4391ab5
git log 80f80b14e000..53bee4391ab5 --no-merges --oneline
2019-08-06<EMAIL_ADDRESS>Roll fuchsia/sdk/core/linux-amd64 from 0EOCG... to W6ZtV... (flutter/engine#10666)
2019-08-06<EMAIL_ADDRESS>Roll fuchsia/sdk/core/mac-amd64 from g3-Ex... to kFlVe... (flutter/engine#10664)
2019-08-06<EMAIL_ADDRESS>Roll src/third_party/skia 3a543aafd4e6..c853bf2867b9 (4 commits) (flutter/engine#10665)
2019-08-06<EMAIL_ADDRESS>Migrate Fuchsia runners to SDK tracing API (flutter/engine#10478)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (jimgraham@google.com), and stop
the roller if necessary.

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/4548370960482304

Commit queue failed; closing this roll.


Text field should add class 'textarea'

Thanks for making this!
Given a view:
<%= simple_form_for company do |form| %>
  <%= form.input :terms_and_conditions %>
<% end %>

It renders as:
<textarea class="input text optional" name="company[terms_and_conditions]" id="company_terms_and_conditions" spellcheck="false"></textarea>

Bulma has a textarea class for that field type though https://bulma.io/documentation/form/textarea/ instead of text.

@nickhammond the text field should include the textarea class if you use the latest release, thanks for reporting it and happy coding!


Separate P_B trunk & min_len

This PR makes it possible to have a separate set of parameters for P_B by setting cfg.model.do_separate_p_b. It also introduces cfg.algo.min_len, which defaults to 0 and prevents and agent from stopping before min_len steps have been taken.
Other changes:

This change required adding a timestep parameter to graph_to_Data across contexts.
While debugging I added a consider_masks_complete flag to contexts, which indicates when masks computed by a context should be taken as ground truth in terms of which actions are valid. This should help in some aspects in the future (e.g. counting parents, debugging new masks).
Adds explicit mask computation in SeqTransformerGFN

Basic experiments on the double trunk model (2pPB) vs shared parameterized (pPB) vs uniform (uPB). The other parameter is sampling_tau


Root selector

Sorry. I just saw this. Wasn't a repo I was actively watching as I haven't been doing front end work in several years. I'll merge the pr

@grantHarris I'm not really sure . I think this makes it so you can specify the root element of your app. I made this modification when I was working at a previous company where we had a hybrid angular 1/2 app. maybe best to juts close it (:


Sorry again for everyone who has had this issue, I added more checks so that it does not reproduce #20


resnet101-bert-base file

Hello,
Where i can find resnet101-bert-base file please
as i have this error when i run run_pretrain.py
FileNotFoundError: [Errno 2] No such file or directory: './checkpoints/resnet101-bert-base'
Thank you inadvance,

What's your arguments when runing 'run_pretrain.py'? Do you follow the README.md to run the script?
'resnet101-bert-base' is a pre-trained file that will be generated by 'run_pretrain.py' since the default name of the argument '--save_model_name' is 'resnet101-bert-base'.


JSONRPC: ‘:events-buffer-scrollback-size’ deprecated. Use ‘events-buffer-config’.

As of https://github.com/emacs-mirror/emacs/commit/e0b9944b69ff72923c29756fcfcea9528a3f5069, this line will emit a warning:
https://github.com/zerolfx/copilot.el/blob/653fe7b12990b5b7a050971bed4579022ce4b4f8/copilot.el#L157
Unfortunately events-buffer-config was added in the same commit events-buffer-scrollback-size was deprecated, so it's not a trivially easy fix. Maybe checking if the events-buffer-config slot is present on jsonrpc-process-connection would be decent fix?

Oops, should've checked the PR tab first: #224

Fixed by #224


prep v0.25

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

Project coverage is 80.06%. Comparing base (7b5933b) to head (a5ff274).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #508      +/-   ##
==========================================
- Coverage   80.13%   80.06%   -0.08%
==========================================
  Files          72       72
  Lines        5557     5557
==========================================
- Hits         4453     4449       -4
- Misses        810      814       +4
  Partials      294      294

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


⚠ Bofrost.de has degraded performance

In 24fd947, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 826 ms

Resolved: Bofrost.de performance has improved in a277eb7.


[FEATURE] Adding Forks

The title contains the number of stars. Similarly, we can have the number of forks. This needs to be optional parameter and default=False

Solved in various commits