Adding an Application Subtopic?

I've noticed that there are quite a few application LOs in Volume 2.  Should a subtopic on the application of the concepts be added for each topic?
See:

Volume 1, Sections 17.4,17.5,17.6, 17.8
Volume 2, Sections 9.2, 10.5, 10.6, 11.7, 13.6, 13.7

I don't think we need an applications subtopic for each topic but maybe under Physics in General we can add a catch all LO like "Apply physical principles to real world application". What do you think?

Yeah, that sounds good!  What do you suggest we do with these LOs listed above?  Should they be ignored or should they be added to the topic outcome of their respective topics?

For sure those LOs should be added to the topic outcome of their respective topics. I will add the "Apply physical principles to real world application" LO to Physics in General


Update to PowerToys Awake documentation

@alvinashcraft good catch - I've just updated it. Should be good now!


Adding retain for stable_graph, function returns removed weights

I'll use the same signature as Graph::retain_nodes. (With Frozen). The current interface is not general enough.


[PE-D][Tester B] Example commands given in Command Result and UG does not work

Example commands given in the UG and the Command Result upon an invalid command are not updated, should be updated with previous grade as well as interview score

Labels: severity.Medium type.FunctionalityBug
original: darrentfy/ped#2

Has been fixed!


What license does this repo have

This project sounds so interesting. But i didn't find license in the repo. license does it have?

Thank you for reminding me. I'll add MIT license to the repo.


Not playing if add to stage after decode complete

It's actually a bug which can be triggered like this:
    var gif:GIFPlayer = new GIFPlayer();
    gif.addEventListener(GIFPlayerEvent.COMPLETE, function (e:*):void {
        addChild(gif);
   };
    gif.loadBytes(gifDataBytes);

As I tried, two lines' modification should fix this:

remove the stage check inside function handleDecodeComplete (GIFPlayer.as) :

  - if (stage) {
       if (autoPlayer) {
       ...
  - }

add a stage check inside function goto (GIFPlayer.as) :

  + if (stage == null) return;

     _cuirrentFrame = requestedIndex;
     ...

And another problem is that the function goto need to change it's name into something like gotoFrame or it will cause error when compiling in lots of flashplayer compile targets.
This is a great project which really properly handled gif files, and is better than the version you can find on the internet written by "bytearray"(?).Thanks and I'm using this lib in a business project.

And a second solution is add codes inside the function initMinFrameDelay to trigger the first play.


[Backfill corrections] Efficient date handling and rolling averages

Description
Various changes to make modeling/predicting faster. The main changes are:

Keep date fields (time_value, issue_date) in string format. Explicitly convert to date when required. This reduces the (large) number of implicit date-to-string conversions happening in other functions.
Replace zoo::rollmeanr with RcppRoll::roll_mean for speed. Unlike most other fast rolling average functions available in R (e.g. stats::filter), RcppRoll::roll_mean uses the same more-precise method as zoo; the speedup is only because the new function is implemented in C++.

Modeling with these changes is 20% faster than after https://github.com/cmu-delphi/covidcast-indicators/pull/1802 changes and 33% faster overall. The test example is smaller than what would be used in production.

@korlaxxalrok This is ready to merge

@krivard This is ready to merge


Add explanation for command in Step 35 in Lab #2

What lab has the bug?
using-terminal-on-macos.md
Describe the bug
This is less of a bug and more of a suggestion. Every other step in the Lab except Step 35 has an explanation for what a command does, following the prompt to use the command. It would be helpful to the follower of this lab to be able to view an explanation of what the cd .. command does before moving onto the next command.
To Reproduce
Steps to reproduce the behavior:

Go to the following lab: using-terminal-on-macos.md
Scroll down to Step 35 of 'Lab Instructions'
View Step 35 and Step 36, and see that there is no explanation for the cd .. command following Step 35.

Expected behavior
I would expect step 35 to have an explanation of the command like every other step in Lab #2
Screenshots

Desktop (please complete the following information):

macOS Big Sur
Browser Chrome
Version 94

Additional context
Add any other context about the problem here.

Kristin, I believe you are referring to 'using terminal on MacOS' which is actually listed as lab 3 in the assignment, it's the 2nd part for Mac users.
It's probably better to change the naming to the title and not use Lab numbers, as this will clear up any confusion.
Good catch on the missing step.

Kristin, I believe you are referring to 'using terminal on MacOS' which is actually listed as lab 3 in the assignment, it's the 2nd part for Mac users. It's probably better to change the naming to the title and not use Lab numbers, as this will clear up any confusion. Good catch on the missing step.

Thanks for the catch on the naming Courtney! Updating now


Upgrade from MAC-then-encrypt to encrypt-then-MAC mechanism is not negotiated correctly

Currently re-handshake is failing at handshake step SSL_HANDSHAKE_WRAPUP where the renegotiated session  encrypt-then-MAC using the mechanism of the current session which is MAC-then-encrypt and then the message that follows was continue with MAC-then-encrypt.
NOTE: This isue is present only if renegotiation is supported
if( ssl->session )
{
  #if defined(MBEDTLS_SSL_ENCRYPT_THEN_MAC)
    /* RFC 7366 3.1: keep the EtM state */
       ssl->session_negotiate->encrypt_then_mac = ssl->session->encrypt_then_mac;
  #endif

    mbedtls_ssl_session_free( ssl->session );
    mbedtls_free( ssl->session );
}

To Keep EtM state, this code Need to check whether the last session is using EtM?
ie. if (ssl->session->encrypt_then_mac == 0x01)
RFC 7366 :- section 3.1. Rehandshake Issues
If an upgrade from MAC-then-encrypt to encrypt-then-MAC is negotiated as per the second line in the table below, then the change will take place in the first message that follows the Change Cipher Spec (CCS) message. In other words, all messages up to and including the CCS will use MAC-then-encrypt, and then the message that follows will continue with encrypt-then-MAC.
Table 1: Encrypt-then-MAC with Renegotiation

Current Session
Renegotiated Session
Action to take

MAC-then-encrypt
MAC-then-encrypt
No change

MAC-then-encrypt
Encrypt-then-MAC
Upgrade to Encrypt-then-MAC

Encrypt-then-MAC
MAC-then-encrypt
Error

Encrypt-then-MAC
Encrypt-then-MAC
No change

ARM Internal Ref: IOTSSL-1444

shall I expect this will get fix in next Version?

If I understand correctly, your bug is that mbedtls doesn't correctly deny the change of encrypt-to-mac state from the other party?
I think the table is a red-herring. It seems to me that RFC 7366 3.1 explicitly states that implementations SHOULD NOT allow renegotiation which changes the encrypt-then-mac state. The table is only used when implementations chose to ignore that advice. Or are you asking for mbedtls to allow this?

I am talking about following case :

Current Session
Renegotiated Session
Action to take

MAC-then-encrypt
Encrypt-then-MAC
Upgrade to Encrypt-then-MAC

If you see the code below line which copies the current session mechanism into negotiated session.
ssl->session_negotiate->encrypt_then_mac = ssl->session->encrypt_then_mac;
ie. If my current session is MtE and negotiated session is EtM then also it copies MtE into negotiated session and following message comes with MtE.
I think confusion is due to its name
ssl->session->encrypt_then_mac = 0x00 means MAC-then-encrypt (or EtM is disable)
ssl->session->encrypt_then_mac = 0x01 means Encrypt-then-MAC (or EtM is enable)
Your understanding is correct implementations SHOULD NOT allow renegotiation which changes the encrypt-then-mac state. This means if my current session is EtM and try to renegotiated with MtE is not allowed it should maintain the state EtM.
To Keep EtM state, this code Need to check whether the last session is using EtM?
ie. if (ssl->session->encrypt_then_mac == 0x01)

I'm still not sure I understand your point. The code you mentioned looks correct to me - if we want to keep the old EtM state then copying it over from the previous session should be OK? Why do we need an if here (and what is going to go inside this if)? Are you trying to argue that MtE -> EtM upgrades should be allowed?

MtE -> EtM upgrades should be allowed?
Yes RFC 7366 also talks the same for more flexibility, as mentioned in the table.

OK I understand now.
My point is that RFC 7366 also states that implementations should not allow upgrades (but does not completely prohibit it). The table is for implementations which for some reason need to allow this - most people should be ignoring the table completely. I think you would need to provide some very good reasons for adding this - presumably there were good reasons for advising against implementing it when RFC 7366 was written.

As RFC does not prohibit it completely,  we as a Client need to verify all the scenarios.
SSL as a library it needs to provide support to test all the scenario mentioned in RFC. Request is to provide the support for flexible behavior .

Closing this issue as not reproducible.
If you think this issue was wrongfully closed, please reopen


Open source request

Hello author, I am very interested in your research on longitudinal data models. Would it be convenient for you to open source them? And how to obtain permission to access the breast dataset?

Hi there,
I appreciate your interest.
The code is now available online. Please feel free to have a look at it.
Regarding the whole dataset, it's a private one. Access cannot be granted, unfortunately.


add no-linking user options to citifty_recon_all

Some systems can't work with the sym-links, so we need user options that are ok with getting rid of these

in version 2.0


Add keepAlive support

Add periodic Ping actions to prevent the connection to be closed by inactivity.

Thanks for your pr @rodrigowbazevedo! :+1:
Now that this PR includes sending ping messages regularly, how should we react to incoming responses?
Regarding the API: When should consumers of this lib call this method? What if they happen to call this more than once?
We may want to consider making this the default and perhaps remove the API.

I'm having to close this due to a lack of feedback. Please come back with more details if you think this is still relevant and we can reopen this :+1:


BindableLayout width

on some device, such as huawei U20, layout width is wrap_content ( see below picture )

after this update, for listview return an exception :
java.lang.ClassCastException: android.widget.FrameLayout$LayoutParams cannot be cast to android.widget.AbsListView$LayoutParams

Please try with the snapshot version,

This should be fixed in version 1.3.0, but you will have to specify your layout_width on your own for this to work. As the LayoutParms depend always on the parent view, you can use that to your advantage in your views now and do it programmatically. I have added some examples in the code and in the README for this.


Make timeout configurable

Would be great if the connection timeout could be configurable.
Thanks!

Sorry, I'm no longer using Zabbix and therefore it is quite hard for me support something I'm not using. Feel free to rise pr or just fork it for your own needs.

Ok. Thanks!


Feature #4399: Add VNC/Spice keymap option to the CLI

http://dev.opennebula.org/issues/4399

Thanks! Man pages will be recreated from command help just before release anyway.


The application “Visual Studio Code” can’t be opened: vscode > 1.58.1 and mac os > 10.15.7 (19H2)

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

VS Code Version: (VSCode-darwin) -> 1.58.1
OS Version:n=mac os -> 10.15.7 (19H2)

Steps to Reproduce:

downloaded VSCode-darwin.zip file
extracted and moved to application directory
right clicking on the app and trying to open
getting error : The application “Visual Studio Code” can’t be opened.
checked:  system preferences -> security & privacy -> General , but nothing was blocked there.

Please attach the output of following commands,

open -b com.microsoft.VSCode
spctl --verbose --assess --type execute --v /Visual\ Studio\ Code.app/

Same issue

open -b com.microsoft.VSCode

No output

spctl --verbose --assess --type execute --v /Visual\ Studio\ Code.app/

/Visual Studio Code.app/: invalid API object reference
switch to /Applications and try:

spctl --verbose --assess --type execute --v Visual\ Studio\ Code.app/

Visual Studio Code.app/: accepted
source=Notarized Developer ID
origin=Developer ID Application: Microsoft Corporation (UBF8T346G9)
More info

Double click on vscode icon in dock not working
Open vscode by command line is working

open -b com.microsoft.VSCode
No output

Can you provide the output of open -a /Application/Visual\ Studio\ Code.app/

Can you provide the output of open -a /Application/Visual\ Studio\ Code.app/

The application /Application/Visual Studio Code.app cannot be opened for an unexpected reason, error=Error Domain=NSCocoaErrorDomain Code=260 "The file “Visual Studio Code.app” couldn’t be opened because there is no such file." UserInfo={NSURL=file:///Application/Visual%20Studio%20Code.app/, NSFilePath=/Application/Visual Studio Code.app, NSUnderlyingError=0x7f9c9a507080 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}

The above error indicates the application does not exist at the path, please verify if the path is correct and re-try the command.

Can't reproduce the bug. Don't know why. Haven't moved  vscode path.


GORM query/delete not working based on the time interval

GORM Playground Link

https://github.com/go-gorm/playground/pull/283
Description

database doesn't support use the 2 as argument, consider to use gorm.Expr


Add data_chart

The goal of data_chart is to receive some data and we will automatically generate a chart with it with options to control how the chart is rendered. Then we can export the chart to Elixir VegaLite source code.

FWIW, Deepnote has a very neat demo on a similar feature: https://www.youtube.com/watch?v=3PhEO41WVLQ

Migrated to #40.


Make disabled buttons follow patternfly styling, remove btn-disabled

Patternfly has explicitly decided that disabled buttons should all be the same color, that is, not blue/red/yellow/... just gray.
This PR makes our buttons follow that convention.
This also completely removes the btn-disabled class we were using for that, and replaces it with patternfly's disabled class.
This also removes any custom cursor: not-allowed styling on disabled buttons, we should do that for all or none.
@epwinchell about that cursor .. we can either change that cursor to default or to not-allowed, what do you think? Patternfly currently sets not-allowed except for buttons that are <a> underneath.

Talked a bit about the cursor thing on the patternfly channel.. seems like anchor elements need pointer-events: none when .disabled to prevent the href from doing stuff.. but pointer events prevents even hover, so the cursor is silently ignored.
No way to fix that, but I guess using not-allowed consistently is what we want, right? (I really dislike that cursor though :( )

@serenamarie125 Could you chime in? As discussed this might involve a form button that is disabled because of state or a toolbar button or dropdown item that is never available.

@epwinchell Well the changes here should not affect toolbars, (those are using li.disabled > a, so they already work the patternfly way), but  it defnitely affects all our buttons, those that used to have btn-disabled and not .disabled or [disabled] will now have different cursor, and all of them (well, except for the btn-default ones) will have different color when disabled.
(As for the %a.btn vs %button.btn inconsistency, seems we only have one %a.btn.. and that one is .. uh .. well.. broken anyway)

@serenamarie125 Indeed, these all appear to be disabled because of state rather than "never available."
@dclarizio I suggest we merge it.


Excluding parent virtual project from rye test --all run in monorepo setup

I'd like to raise a suggestion regarding the behavior of the rye test --all command in a monorepo setup, specifically when using a virtual project as the parent project.
Scenario
I've structured my project as a monorepo using Rye. I initialized the base project with rye init --virtual <name-of-parent> and then set up multiple subprojects using rye init --script <name-of-the-subproject>.
Here's a snippet of the pyproject.toml file for the parent virtual project:
[tool.rye]
managed = true
virtual = true
dev-dependencies = []

[tool.rye.workspace]
members = ["subproject-*"]

Issue
When running rye test --all, tests are executed for the parent virtual project, even though it doesn't contain any code. This behavior seems unnecessary since the parent virtual project serves only as a connector for the subprojects within the monorepo.
Current Output
The rye test --all command runs tests for all projects, including the parent virtual project, resulting in unnecessary test runs and output.
Running tests for monorepo (/path/to/monorepo)
======================================================================= test session starts =======================================================================
platform linux -- Python 3.8.13, pytest-8.1.1, pluggy-1.5.0
rootdir: /path/to/monorepo
configfile: pyproject.toml
collected 0 items

====================================================================== no tests ran in 0.01s ======================================================================

Running tests for subproject-2 (/path/to/monorepo/subproject-2)
======================================================================= test session starts =======================================================================
platform linux -- Python 3.8.13, pytest-8.1.1, pluggy-1.5.0
rootdir: /path/to/monorepo/subproject-2
configfile: pyproject.toml
collected 0 items

====================================================================== no tests ran in 0.00s ======================================================================

Running tests for subproject-1 (/path/to/monorepo/subproject-1)
======================================================================= test session starts =======================================================================
platform linux -- Python 3.8.13, pytest-8.1.1, pluggy-1.5.0
rootdir: /path/to/monorepo/subproject-1
configfile: pyproject.toml
collected 1 item

tests/test_init.py .                                                                                [100%]

======================================================================== 1 passed in 0.02s ========================================================================

Suggested Output
Tests should be executed only for the subprojects within the monorepo, excluding the parent virtual project.
Proposed Solution
Implement a configuration option to exclude the parent virtual project from test runs. This could be set at the base project level and could default to excluding the parent project.
Expected Output (Suggested)
When running rye test --all, tests should be executed only for the subprojects within the monorepo, excluding the parent virtual project. The output should reflect this exclusion.
Running tests for subproject-2 (/path/to/monorepo/subproject-2)
======================================================================= test session starts =======================================================================
platform linux -- Python 3.8.13, pytest-8.1.1, pluggy-1.5.0
rootdir: /path/to/monorepo/subproject-2
configfile: pyproject.toml
collected 0 items

====================================================================== no tests ran in 0.00s ======================================================================

Running tests for subproject-1 (/path/to/monorepo/subproject-1)
======================================================================= test session starts =======================================================================
platform linux -- Python 3.8.13, pytest-8.1.1, pluggy-1.5.0
rootdir: /path/to/monorepo/subproject-1
configfile: pyproject.toml
collected 1 item

tests/test_init.py .                                                                                [100%]

======================================================================== 1 passed in 0.02s ========================================================================

I believe implementing this change would improve the efficiency and clarity of test runs in monorepo setups using Rye.
Thank you for considering this suggestion.
Best regards,
Adrián

I think you are right, that would be nice!

I have a fix for this in #858 but it seems the issue is also for other command such as lint as per #973


neonKUBE cloud integrated Kubernetes

Azure, AWS, Google Cloud, DigitalOcean and probably most other clouds offer integrated Kubernetes solutions where the cloud handles cluster setup as well as the cluster managers.
CRAZY IDEA: In theory, we could do the same thing by deploying VMs to cloud datacenters that can act as managers for customer clusters as well as coordinating cluster setup, etc.  This would be a lot of work but it's kind of interesting.
...for the distant future

This actually might not be that hard conceptually.  Setting setup management aside for the moment, we really have only two major things to solve to get implement the managers:

host Kubernetes API servers for multiple customer clusters

do the same for Etc holding the data

I could see us hosting this all in one or more neonKUBE clusters co-located in the same DC.  We'd deploy individual API servers for each customer cluster and and then perhaps use an egress load balancer in the cluster to port map to their specific API service instance in our cluster.  SSL authentication is already built in.
The critical thing is to avoid losing the backing Etc data at all costs.  We could triple replicate that within our cluster but we'd be screwed if we lost our cluster.  I wonder if might be possible to back Etc with cloud storage like S3 or Azure Storage.

We're not going to do this.

We're not going to do this.


Feature Chart Unit Tests

Codecov Report

Merging #1117 into master will increase coverage by 1.46%.
The diff coverage is 98.24%.

@@            Coverage Diff             @@
##           master    #1117      +/-   ##
==========================================
+ Coverage   98.27%   99.74%   +1.46%
==========================================
  Files         349      349
  Lines        8511     8523      +12
  Branches     2037     2023      -14
==========================================
+ Hits         8364     8501     +137
+ Misses        147       22     -125

Impacted Files
Coverage Δ

src/components/chart/YGrid.tsx
100% <100%> (+70%)
:arrow_up:

src/components/chart/InfoLine.tsx
100% <100%> (+72.72%)
:arrow_up:

src/components/chart/LineSeries.tsx
100% <100%> (+60%)
:arrow_up:

src/components/chart/ChartContainer.tsx
100% <100%> (+77.27%)
:arrow_up:

src/components/chart/BarSeries.tsx
100% <100%> (+66.66%)
:arrow_up:

src/components/chart/XYChart.tsx
100% <100%> (+69.23%)
:arrow_up:

src/components/chart/XGrid.tsx
100% <100%> (+70%)
:arrow_up:

src/components/chart/XYAxis.tsx
100% <100%> (+83.33%)
:arrow_up:

src/components/chart/ChartTooltipContent.tsx
100% <100%> (+61.11%)
:arrow_up:

src/components/chart/ScatterSeries.tsx
100% <100%> (+57.14%)
:arrow_up:

... and 11 more

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 1da4be2...6b2480f. Read the comment docs.


fix: expedition caused rxjs issues

:tada: This PR is included in version 2.1.0-beta.8 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Improve project & applets management in admin dashboard

[ ] Allow renaming applets
[ ] Allow renaming projects

The project name cannot be modified once created duo some reasons of w3bstream itself.
for renaming applets we could just remove and create it again.


[BEAM-8090] Create test for bug around self setting timers

Create test for bug around self setting timers and interaction with GC Timers. Create timer that is a milli behind GC so they likely show up in the same bundle.
Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.


Validate the default key name

In the next major version, we should strictly validate the key name to ensure users don't accidentally make the key's unable to be observed.
The rules are as follows:

The key must be ASCII, not start with @, and cannot contain a dot (.).

I think we might have three ways to do it.

Mark Defaults.Key initializer as throws:

pros:

Can throw an error early when user input an invalid name.

cons:

Need to add try when initialize Defaults.Key.

Add an assertion in Defaults.Key initializer:

pros:

No need to add try.

cons:

Assertion is not available in release mode.

Mark KVO related function(ex. Defaults.observe) as throws:

pros:

No need to add try.

Only 2. is really feasible.
The question is, do assertions work when they are in a package and you build your app in debug mode.

Actually, a better solution could be to show a warning in Xcode using this hack<EMAIL_ADDRESS>
This looks awesome! Will try to implement this in Defaults.


Mcheng/moretests

unit test for MCP23S17 (GPIO Expander)

Can you remove # TODO comments? Thanks!


Provision requests listed in Services menu

It feels confusing to me that requests for VM provision are listed in Services menu (Services => Requests), since we have Requests in Infrastructure too (Compute => Infrastructure => Requests).

It would make more sense to me if Infra & Cloud request would be listed in Compute menu, for example in new 2nd level item (Compute => Requests) instead of in Services.
@martinpovolny @dclarizio

@jonnyfiveiq @bascar any comments on this?  I don't recall if we wanted SSUI users to see all of their requests in both UIs.  If not, we will need to somehow filter them based on which UI the user is coming in on.

@miq-bot remove_label stale

@romanblanco : can you move this to the ui repository? I have a feeling someone had a tool to move issues between repos, but cannot remember.

@miq-bot move_issue ManageIQ/ui-components


Beachball/freeze when scrolling subscription list during refresh

Title pretty much describes the bug.  Using version 3.0.2 :3139437, I have to be careful not to scroll the subscription list during a refresh, or I will often get a beachball and permanent lock-up of the app.  Only solution is to force-quit and restart.  I'm using InoReader sync if that's relevant.

I'm able to reproduce this so will need to fix it.

I can reproduce this consistently. It freezes every time. I need to kill the app for restarting it.

I do frequently encounter this as well with 3.0.4 :a86edf4. Just selecting a folder with several feeds freezes the app often for some seconds without refreshing or having refreshed at all. Same when refreshing such a folder, too. It gets responsive afterwards again but the delay is a bit, well, inconvenient. Also trying to quit the app keeps several seconds hanging with the beach ball. So I often use force quite therefore… (21" iMac late 2011, 10.9.5)

is this still an issue for people? i haven't had it for a while and i have a large list of feeds.

No, I haven't seen it lately, either.


Finish project

This Pr includes :
Create a website consisting of 3 pages: Home, Calculator, and Quote.
Add styles to improve the look and feel
For every page, create a
Use React Router to make the routes work.

I dont know how to fix this deploys error even i delete my deploy from netlify.. it waste my 3 hours kindly help


Why do I keep being reminded that there is another instance of the game?为什么我一直被提醒有另一个游戏进程

I did not open the game program, restart the computer still so (already running as an administrator)
我并没有打开游戏程序，重启电脑仍然如此（已经以管理员身份运行）

The same is true in version 2.2,
while v3.0.2 doesn't work,it popups an err msg "System.ComponentModel.Win32Exception: Access is denied"
   System.ComponentModel.Win32Exception (5): Access is denied。
   at System.Diagnostics.Process.Kill()
   at unlockfps_nc.Service.ProcessService.<>c.<Start>b__14_1(Process x)
   at System.Collections.Generic.List`1.ForEach(Action`1 action)
   at unlockfps_nc.Service.ProcessService.Start()
   at unlockfps_nc.MainForm.BtnStartGame_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, MessageId msg, WPARAM wparam, LPARAM lparam)

Its annoying for me, i use two windows users at same time with rdp and i must launch one instance from normal client, not thru unlocker

will check

im sry,upon inspecting the task manager,i noticed that when i ended the game, its process was susbended.the suspended status persisting for a few days might have resulted from an abnormal closure.
both 2 versions worked fine after killed the suspended process


Add dictionaryOf method

Overview
This pull request adds a dictionaryOf(_:type:) function that is analogous to the existing arrayOf(_:type:) function.
Example
This pull request makes the following example possible:
let residentJSON = JSON.Dictionary([
    "residentsByName": [
        "Matt": ["name": "Matt", "age": 33, "hasPet": false, "rent": .Null],
        "Drew": ["name": "Drew", "hasPet": true, "rent": 1234.5],
        "Pat": ["name": "Pat", "age": 28, "hasPet": .Null]
    ]
])

do {
    let residents = try residentJSON.dictionaryOf("residentsByName", type: Resident.self)
    if let matt = residents["Matt"] {
        print("Matt is \(matt.age) years old.")
    }
} catch {
    // handle error
}

Justification
I admit that it's rare to run into JSON that would make use of the dictionaryOf(_:type:) function. However, I needed something similar to decode this parameter in the IBM Watson Developer Cloud iOS SDK.
The IBM Watson Speech to Text documentation provides an example JSON payload for which the dictionaryOf(_:type:) function would be very helpful:
{
  "keywords_result": {
     "tornadoes": [
        {
           "normalized_text": "tornadoes",
           "start_time": 1.52,
           "confidence": 1.0,
           "end_time": 2.15
        }
     ],
     "colorado": [
        {
           "normalized_text": "Colorado",
           "start_time": 4.94,
           "confidence": 0.925,
           "end_time": 5.62
        }
     ]
  }
}

In particular, I believe the following should be able to decode the JSON payload:
public struct TranscriptionResult: JSONDecodable {

    public let keywordResults: [String: [KeywordResult]]

    public init(json: JSON) throws {
        keywordResults = try json.dictionaryOf("keywords_result")
    }
}

Implementation Notes
I tried to follow the example of the arrayOf(_:type:) function. I used it (and its documentation) as the starting point for dictionaryOf(_:type:). Hopefully, these changes are consistent with your style as a result.
I also searched for all occurrences of arrayOf so I could add an analogous use of dictionaryOf.

I'm a big 👍 on this, and will merge tomorrow save for that one comment. We appreciate the excellent tests!

Nice work!  Thanks also for exposing some documentation problems.  : |

Thanks, @mdmathias!
I committed an update to reflect the changes from your comments. Thanks for the thorough review! :)

Okay, I added those fixes to the documentation for getArrayOf and arrayOf. I think this is ready to be merged after the Travis build completes.


[Backport - 2.3.9] Update Canal to use Flannel 0.12.0

Update Flannel for linux
Backport for https://github.com/rancher/rancher/issues/27532

Tested on rancher server version - v2.3.8 with KDM pointing to dev-v2.3
Validated the following K8s versions for canal and flannel network configuration:

v1.17.6-rancher2-2
v1.16.10-rancher2-2

Able to bring up cluster with 1 control node , 1 etcd and 2 worker nodes successfully using Kube-flannel - rancher/coreos-flannel:v0.12.0.
Automation tests relating to networking and fqdn checks report success.

v1.15.12-rancher2-3 is not made available  when testing with rancher server version - v2.3.8 with KDM pointing to dev-v2.3

Validated on 2.3.8 with KDM branch dev-v2.3

With k8s versions: v1.17.6-rancher2-2 and v1.16.10-rancher2-2
Windows cluster comes up fine 3 linux nodes, 3 windows worker nodes
Validated using both Windows 1809 and 1903
Kube flannel on the linux is rancher/coreos-flannel:v0.12.0

Validated on 2.3.8 with KDM branch dev-v2.3

K8s versions: 1.15.12-rancher2-3
kube-flannel version - rancher/coreos-flannel:v0.12.0
Windows cluster comes up fine 3 linux nodes, 3 windows worker nodes
Validated using both Windows 1809 and 1903
Automation checks were fine on the cluster

v1.15.12-rancher2-3 is available now when testing with rancher server version - v2.3.8 with KDM pointing to dev-v2.3
Able to bring up cluster with 1 control node , 1 etcd and 2 worker nodes successfully using Kube-flannel - rancher/coreos-flannel:v0.12.0.
Automation tests relating to networking and fqdn checks report success.


Crash while configuring the drawer

Checklist

[X] I have used the search function to see if someone else has already submitted the same bug report.
[X] I will describe the problem with as much detail as possible.

App
Thunderbird for Android
App version
8+ versions
Where did you get the app from?
Google Play
Android version
Android 14 + 15
Device model
Google Pixel 6
Steps to reproduce
Not known yet, but observed that there is a condition where the account object is set to null within initializeFromLocalSearch
Expected behavior
Should not crash.
Actual behavior
Crash
Logs
Exception java.lang.NullPointerException:
  at com.fsck.k9.activity.MessageList.configureDrawer (MessageList.kt:1399)
  at com.fsck.k9.activity.MessageList.initializeFromLocalSearch (MessageList.kt:1373)
  at com.fsck.k9.activity.MessageList.performSearch (MessageList.kt:683)
  at com.fsck.k9.activity.MessageList.openFolder (MessageList.kt:634)
  at com.fsck.k9.activity.MessageList.initializeFolderDrawer$lambda$14 (MessageList.kt:597)
  at app.k9mail.feature.navigation.drawer.ui.DrawerViewKt$DrawerView$$inlined$observe$2$1.emit (UnidirectionalViewModel.kt:99)
  at kotlinx.coroutines.flow.SharedFlowImpl.collect$suspendImpl (SharedFlow.kt:397)
  at kotlinx.coroutines.flow.SharedFlowImpl$collect$1.invokeSuspend (SharedFlow.kt)
  at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith (ContinuationImpl.kt:33)
  at kotlinx.coroutines.DispatchedTask.run (DispatchedTask.kt:101)
  at androidx.compose.ui.platform.AndroidUiDispatcher.performTrampolineDispatch (AndroidUiDispatcher.android.kt:81)
  at androidx.compose.ui.platform.AndroidUiDispatcher.access$setScheduledFrameDispatch$p (AndroidUiDispatcher.android.kt:41)
  at androidx.compose.ui.platform.AndroidUiDispatcher.access$performTrampolineDispatch (AndroidUiDispatcher.android.kt:41)
  at androidx.compose.ui.platform.AndroidUiDispatcher$dispatchCallback$1.run (AndroidUiDispatcher.android.kt:57)
  at android.os.Handler.handleCallback (Handler.java:958)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loopOnce (Looper.java:230)
  at android.os.Looper.loop (Looper.java:319)
  at android.app.ActivityThread.main (ActivityThread.java:9063)
  at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:588)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1103)

and
Exception java.lang.RuntimeException:
  at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:3685)
  at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:3825)
  at android.app.servertransaction.LaunchActivityItem.execute (LaunchActivityItem.java:101)
  at android.app.servertransaction.TransactionExecutor.executeCallbacks (TransactionExecutor.java:135)
  at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:95)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2317)
  at android.os.Handler.dispatchMessage (Handler.java:106)
  at android.os.Looper.loopOnce (Looper.java:201)
  at android.os.Looper.loop (Looper.java:288)
  at android.app.ActivityThread.main (ActivityThread.java:7972)
  at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:586)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:942)
Caused by java.lang.NullPointerException:
  at com.fsck.k9.activity.MessageList.configureDrawer (MessageList.kt:1399)
  at com.fsck.k9.activity.MessageList.initializeFromLocalSearch (MessageList.kt:1373)
  at com.fsck.k9.activity.MessageList.findFragments (MessageList.kt:258)
  at com.fsck.k9.activity.MessageList.onCreate (MessageList.kt:186)
  at android.app.Activity.performCreate (Activity.java:8291)
  at android.app.Activity.performCreate (Activity.java:8270)
  at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1385)
  at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:3666)

There are some play store crashes in configureDrawer, maybe related?

This is from the play store crash

I tested the widgets and still can't reproduce this bug.

@kewisch @wmontwe
Hi guys,
I've been reviewing #8100 and trying to reproduce this bug with no luck but I've found something suspicious and may be it's related.
On this method mentioned in the crash the account field is set to null:
    private fun initializeFromLocalSearch(search: LocalSearch?) {
        this.search = search
        singleFolderMode = false

        if (!search!!.searchAllAccounts()) {
            val accountUuids = search.accountUuids
            if (accountUuids.size == 1) {
                account = accountManager.getAccount(accountUuids[0])
                val folderIds = search.folderIds
                singleFolderMode = folderIds.size == 1
            } else {
                account = null
            }
        }

        configureDrawer()
    }

And then configureDrawer() is accessing the value with not null assertion drawer.selectAccount(account!!.uuid)
The only thing I'm missing is how could I reach the case where accountUuids.size != 1 to check if I'm right.


Rework CI

Started in https://github.com/hermitcore/uhyve/pull/177
This simplifies the rust toolchain setup in our CI and removes a duplicated test.

bors try

Thanks & bors r+

I think, the bors comment has to be at a new line.
bors r=jounathaen

I forgot to remove the duplicated test from bors.toml.
bors r=jounathaen

I forgot renaming the checks in bors.toml.
bors r=jounathaen


i18nline with Preact-CLI

Hi, I create project by Preact-CLI
Next, npm i preact-i18nline i18nline
I create i18n/en.json
Add strings to package.json:
{ "i18n": {     "plugins": [       "preact-i18nline"     ],     "directories" : "src",     "patterns" : ["**/*.js", "**/*.jsx"],     "outputFile" : "i18n/en.json"   }, "scripts": {     "trlt": "i18nline export"   } }
Run npm run trlt
And...

i18nline export
env: node\r: No such file or directory
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR<EMAIL_ADDRESS>trlt: i18nline export
npm ERR! spawn ENOENT

Does not ring a bell for me. Unfortunately I have not yet tried preact-18nline i.c.w. preact-cli.
Let me know if you figure it out.
Also, what is npm run trlt?

Also, what is npm run trlt?
In package.json:
"scripts": { "trlt": "i18nline export" } }

Ay yes sorry should have seen that.

I think I fixed the issue with the env: node\r: No such file or directory. Still needs some testing though.

Hi @chuikoffru
I think this issue is now fixed in v2. Also, I added some docs to better explain how to setup a project. It even has a section specifically for Preact CLI.
I'm closing this issue, but feel free to comment or open a new issue if it's not fixed or you have other problems. Thanks for trying preact-i18nline and for taking the time to report issues. Much appreciated!

Hi @Download ,
I recently discovered an issue, when running npm test on a project created with Preact CLI. It has some problems with the I18n.import function, which is autogenerated. Here the output of Jest:
$ ../../node_modules/jest/bin/jest.js
 FAIL  .\header.test.js
  ● Test suite failed to run

    C:\Projects\preact-test\src\i18n\index.js:12
                case 'en':return import( /* webpackChunkName: 'i18n.en'
*/'./en.json');
                                 ^^^^^^

    SyntaxError: Unexpected token import

      at ScriptTransformer._transformAndBuildScript (node_modules/jest-runtime/build/script_transformer.js:305:17)
      at Object.<anonymous> (src/components/meta-nav/index.js:2:13)
      at Object.<anonymous> (src/components/header/index.js:5:16)

Test Suites: 1 failed, 1 total
Tests:       0 total
Snapshots:   0 total
Time:        1.786s
Ran all test suites.

SyntaxError: Unexpected token import

This suggests the code is not being transpiled by Babel correctly. Can you post the commands you used to create this project (so I can try to reproduce)? And did you create/change preact.config.js and if so, can you post that here as well?
Can you try to create a preact project from scratch and follow the steps for setting up a project as outlined here and here? Does this work for you?
Thank you for trying out preact-i18nline and for taking the time to report feedback. It is much appreciated!

Project was created with: preact create default myApp
preact.config.js (should be the same as documented):
export default (config, env, helpers) => {
  // Use Preact CLI's helpers object to get the babel-loader
  let babel = helpers.getLoadersByName(config, 'babel-loader')[0].rule;
  // Update the loader config to include preact-i18nline
  babel.loader = [
    { // create an entry for the old loader
      loader: babel.loader,
      options: babel.options
    },
    { // add the preact-i18nline webpack loader
      loader: 'preact-i18nline/webpack-loader'
    }
  ];
  // remove the old loader options
  delete babel.options;
};

I will create another project from scratch later the day, because I am currently at work.
Thanks for reaching out!

So this are the steps I did, to recreate the issue.

preact create default myApp
cd myApp && npm i -S i18nline preact-i18nline
created the script "i18n": "i18nline synch" in package.json
added the preact.config.js (same as documented in README)
added translate="yes" on the h1 element of the header component under components/header
ran npm run i18n
imported the index file into app.js: import I18n from "../i18n"
and here is the index file of the header component:

import { h, Component } from 'preact';
import { Link } from 'preact-router/match';
import style from './style';
import I18n from "../../i18n";

export default class Header extends Component {
	constructor(props) {
		super(props);
		this.state = {
			key: 0
		}
	}

	translate() {
		I18n.changeLocale("en");
	}

	render() {
		I18n.on("change", locale => {
			// to avoid this.forceUpdate()
			this.setState({ key: Math.random() });
		});

		return (

Preact App

					<Link activeClassName={style.active} href="/">Home</Link>
					<Link activeClassName={style.active} href="/profile">Me</Link>
					<Link activeClassName={style.active} href="/profile/john">John</Link>
					<button class="btn btn-info" onclick={this.translate}>translate</button>

		);
	}
}

then, I ran ../../node_modules/jest/bin/jest.js under src/tests. The call is like this, since there is a bug with the created npm run test command (issue is filed in the preact-cli repo). So after the call the same message appears:

$ ../../node_modules/jest/bin/jest.js
 FAIL  .\header.test.js
  ● Test suite failed to run

    C:\Users\yduman\Desktop\myApp\src\i18n\index.js:12
                case 'en':return import( /* webpackChunkName: 'i18n.en' */'./en.json');
                                 ^^^^^^

    SyntaxError: Unexpected token import

      at ScriptTransformer._transformAndBuildScript (node_modules/jest-runtime/build/script_transformer.js:305:17)
      at Object.<anonymous> (src/components/header/index.js:4:13)
      at Object.<anonymous> (src/tests/header.test.js:2:15)

Test Suites: 1 failed, 1 total
Tests:       0 total
Snapshots:   0 total
Time:        1.701s
Ran all test suites.

Hope this helps :)

Thanks this does help.
One question still though. If you just run the project with npm start, does it fail with the same error or what happens? And does import work with Jest if i18nline is not used?

This issue baffles me. import has nothing to do with i18nline really. It's just a generic ES6 feature.
I am not convinced there is an issue with i18nline here but I understand it would be helpful if you could test with Jest  :p  I will leave this issue open but I am currently not able to dive into it. The fact that import is not recognized as a Keyword tells me the Babel config is not correct but I am not intimate with Jest so not sure about it. I do see a lot of issues / questions come up when I search for Jest and this error.
If you find a solution, please do let me know! I will do the same.

Mmmmmmm wait.... I just realized something...
There is import and then there is dynamic import() (used by I18nline).
The import() keyword (with braces) acts like an async function. It is a proposal and not yet standardized. But Webpack (and other module bundlers) are already using it for code splitting purposes. I guess this is where the problem lies...
Does your project have a .babelrc file? If so, could you check if adding this plugin helps?
https://www.npmjs.com/package/babel-plugin-syntax-dynamic-import
I guess you have to add this when not using Webpack, but again I am not sure.
As an alternative you could try to replace the import() calls in the generated index file with require.ensure. This article describes that, but it is now recommended by the Webpack team to use import().

Ok, so... there is this book coming up that I have been working on that has a chapter about internationalization with Preact CLI. I can't share any of the book of course, but you can have a look at the example app that we published to Github for this book:
https://github.com/backstopmedia/preact-book-example
This repo has a branch i18n that has preact-i18nline configured. I just tried your command and it works as expected there:
C:\ws\preact-book-example\src\tests>node ../../node_modules/jest/bin/jest.js
 PASS  .\Item.test.js
  <Item />
    √ should render a list item

 PASS  .\CommentItem.test.js
  <CommentItem />
    √ should render a comment item (16ms)
    √ should render a comment replies

 PASS  .\CommentsList.test.js
  <CommentsList />
    √ should render a list of comments

 PASS  .\header.test.js

    √ should render a title and nav

 PASS  .\HNList.test.js
  <HNList />
    √ should a HNList of articles (16ms)
    √ should have called fetch()

Test Suites: 5 passed, 5 total
Tests:       7 passed, 7 total
Snapshots:   6 passed, 6 total
Time:        5.897s
Ran all test suites.

I am now sorta committed to figure this thing out.  What will come of my duties now?  😀
Anyway I will see if I can reproduce using your repro steps.

Ok, so following your reproduction steps, I can indeed reproduce this issue. And I now think I understand why we did not encounter it in our example app.
In our example app, we import I18n directly from i18nline in the components (such as header) (this is also recommended in the docs BTW). We only import from '../i18n' in the Appcomponent. This is also where we handle the language change (I think this makes sense actually). This way, the wholeimport()mechanism is bypassed for Jest. It does mean that yourtranslate` button cannot be tested with Jest in this setup, because no translations are loaded yet. But afaik, Jest is for unit testing and this is more an integration test I guess so I'm not sure how much of an issue this is.
If you wanted to make this a pure unit test, I guess you can mock the I18n.import function that is added in the src/i18n/index.js file to just load some hardcoded strings. Or I guess this can be made to work by creating a .babelrc with some plugin thing to make Jest understand import() and deal with it (by using require.ensure below the surface).
I'm laying it to rest now. If you come up with a way to make Jest just understand import(), I think it would also be worth it to report it to the Preact CLI guys. Because I guess this is a problem with the default preact cli setup.

Wow, first of all thank you for your dedication to this problem! I will try your proposals as soon as possible and will report my solutions. Thanks again!

Hi @yduman
Thanks for reporting back and great to hear you solved your issue!

I think the problem was really, that I imported the I18n object from the generated index.js file instead of the i18nline package.

Yes, agreed.
My ramblings above about mocking only apply when you want to test the actual change locale functionality (your translate button). In that case, you need function I18n.changeLocale, which calls I18n.import, which is in the generated index file. So testing that would require some mocking.
If you finish your project I would be glad to hear from you! It would be really cool to add some projects using preact-i18nline to the README.

I guess that I really can't share the project since we try to pitch Preact to very well known client. Compliance and stuff...


fix: Optimize checking the status of IPPool status and spiderpool-controller.

Thanks for contributing!
Notice:

[ ] unite test or E2E test
[ ] do not forget essential code comment and log
[ ] document for the PR
[ ] release note label
"release/none"
"release/bug"
"release/feature"
[ ] read about  Contribution notice: https://spidernet-io.github.io/spiderpool/latest/develop/contributing/

What issue(s) does this PR fix:

Fixes #
Special notes for your reviewer:

rebase #4171

/cc @weizhoublue


Maybe. Import and Build problems

Thanks for it, simple helpfull library and speech about monads, but i have a problem. Example of usage Maybe in this docs doesnt work. In Maybe we have undefined , because index.js exports Maybe class as module.exports = its defaul export, not desctructurisation. And if we swap destructutisation import to default, we would have a errors like ' Cannot use namespace 'Maybe' as a type.', 'Property 'none' does not exist on type 'typeof import("path_to_project/node_modules/@sweet-monads/maybe/index")'', Thanks once again

Hello, @general-ice.
I've just moved to default exports in every @sweet-monads library.
I hope it will fix your problems.
Sorry, for the long answer ^^


Fix OTBR enable option

The method to create a conditional s6 service is recommended in https://github.com/just-containers/s6-overlay/issues/446#issuecomment-1133547597.


Loading popup location varies

Please check all of the platforms you are having the issue on (if platform is not listed, it is not supported)

[X] iOS
[X] Android
[] UWP
[X] NET Standard 2.0

Version of ACR UserDialogs Library
7.0.1
Expected Behaviour
Loading popups are displayed in same position in Xamarin Forms iOS app
Actual Behavior
I am using the loading popup throughout my app.  It works great.  However on the iOS version of my app, the loading popup appears not in the center on some screens and in the center in others.  Is there something this depends on?  Do I need to do something special on the app/page to make them always appear in the center?
Android it always displays in the center and looks great.
Code of Conduct

No Library Update Requests - THIS ESPECIALLY MEANS ANDROID SUPPORT LIBRARIES
No Timeline Requests
Please read through the documentation and FAQs
Please be respectful of my time. I put a lot of effort into my libraries.  I try to support the issue requests within a day.  I'm not psychic, so please take the time to fill out the above form as complete as possible

There is an infinite number of reasons why this can occur.  I have a hacky way of finding the top window & viewcontroller to be able to present the alert controller.  Other modals can often create issues like this.
You would need to provide small examples if I'm to shed any light on what's going on

Hi @aritchie - thank you for your reply.
I have a few forms where it is happening.  I have screenshots below:
This one (the AddEditSite.xaml - also attached) the popup appears towards the top of the screen.

This one (the SelectZoneTemperaturePage.xaml attached) the popup appears in the center of the screen.

The strange thing is - if I open one of the pages that has the loading popup that is not centered, it affects the rest of them.  So say i open the app and go to the AddEditSite screen first, and then the SetTemperature page, the loading popup appears in both uncentered.  But if I open the temp screen first it appears centered but the AddEditSite still appears uncentered.
Both pages are added to the modal stack when being displayed.
Hope this detail helps.  Would love to get the dialogs appearing in the center as they look great when they appear.
Thanks for your help
CodeFiles.zip

Both pages are added to the modal stack when being displayed.

Ok, this library doesn't work well with modals as I mentioned.  You can override UserDialogs.Init(() => return topViewController); yourself.  Not sure how to manage that through forms, but I can't do much beyond that.
If I'm reading your reply wrong, please provide an actual working sample that I can run to see the issue.  These are just xaml/cs files.  I need something I can run.

Hi @aritchie - thanks.
I have narrowed it down a bit.  So it seems to only happen on a screen where the keyboard is displayed - so any form that has a textbox.  Everything is fine unless i tap the textbox.  As soon as i tap the textbox and display the keyboard, even if the keyboard is dismissed - the loading popup appears in the wrong position when it displays.

Cases like this are things I can’t really do much about.  You can dismiss the keyboard before calling for loading.

Just to add onto this (though doesn't look like much can be done), I am having a similar issue. Sometimes its centered and others its not, for me its more random. No modal and it can happen on the same page sometimes.


Publish 7.4-rc-1

Publish 7.4-rc-1

@bot-gradle test and merge

OK, I've already triggered a build for you.


Simplify Variants

The ES5 "compat" version of safari-14-idb-fix was actually 2b smaller than the default (modern) version. Since the differences between the two were limited to "function" vs arrows and const vs var, there should also be no measurable performance tradeoff. Simplifying the package by shipping only ES5 will help ease usage in bundlers/runtimes with varying support for Package Exports.
The new directory layout is:
dist/
    index.js  <- ESM
    index.cjs  <- CJS
    iife.min.js  <- IIFE
    index.d.ts  <- types

All are ES5, all are minified via Terser.

I'm going to move terser to only operate on the iife, but I'll do that in a follow-up commit.


Pretrain

Excuse me. Labeled outlier classes also should be put into the ae_net to train?

In ae_trainer.py


parse json rpc return values in the same function

If you really want to go crazy you can do some complicated type stuff to make it so you can even have this function parse the result based on the expected result type by having a mapping of request to response types somewhere.  This requires quite a bit of effort to setup and at least one sacrifice to the TypeScript Gods, but it can really improve the ergonomics of the library going forward.
Originally posted by @MicahZoltu in https://github.com/DarkFlorist/TheInterceptor/pull/157#discussion_r1098641677

this was implemented


python3Packages.pontos: 22.1.1 -> 22.1.3

Motivation for this change
https://github.com/greenbone/pontos/releases/tag/v22.1.3
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 157144 run on x86_64-linux 1

2 packages built:

python310Packages.pontos
python39Packages.pontos


Bug fix: Bot move freezes player move

Fix for player move freeze by bot move computation
Description
On each game tick, the bot move state will be checked and the player move will be rendered first.
This solution relies on a variable exposed through the board enum and an if clause in the app loop. This solution is not perfect and maybe a thread-event approach would be better. Any feedback would be extremely helpful.
Fixes #83
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

Hello @LucaSain thanks for the contribution the code seems good and logical, do you have any steps to reproduce the bug ? I wasn't able to reproduce it on my computer

Hi, sorry for late reply.

Hello @LucaSain thanks for the contribution the code seems good and logical, do you have any steps to reproduce the bug ? I wasn't able to reproduce it on my computer

Try with this bot. It's slower and the issue should visible:
https://github.com/LucaSain/chess-daniel

Hi, sorry for late reply.

Hello @LucaSain thanks for the contribution the code seems good and logical, do you have any steps to reproduce the bug ? I wasn't able to reproduce it on my computer

Try with this bot. It's slower and the issue should visible: https://github.com/LucaSain/chess-daniel

Ah yes I do see it now, I tried to play a game and lost but the game didn't end after reading the code maybe this is an edge case, I was able to get the Black Won text after selecting the black queen in this position:

Hi @LucaSain wanting to know if you will finish this issue or if I shall do it ?

Hi @LucaSain wanting to know if you will finish this issue or if I shall do it ?

Working on it right now. I'll try to finish it by tomorrow.

This should do, however this still feels like a workaround. Should I create a new method or move the checkmate and draft check from the if clause to the switch_turn method?

This will do the trick for now, I am working on a refactor so this will probably be part of it. Thanks for your contribution ! 🎉


Multiple select: is it possible to toggle a multiple choice?

Is it possible to set every multi select option as a toggle to add/remove the item from the list?
Thank you

Yes, it is possible. There is my attempt, looks dirty, but works: https://jsfiddle.net/pvvnxdementor5/og7yhu4t/42/


Not emitting end event from stream in plan errors

Does tape intentionally not fire end event when there is a plan error?
Example:
var test = require('tape');

test.createStream({ objectMode: true }).on('end', function (){
  console.log('ok');
});

test('fibwibblers and xyrscawlers', function (t) {
  t.plan(3);
  t.ok(false);
});

Won't output "ok"

This is trivially reproduceable and seems like a clear bug; end should be emitted when there's a plan failure too. I'm unable to quickly come up with a solution, however.


Feature Request: add method to exclude menu item from list

I’m using a custom MenuItemType, where I’m connecting pages from a Page model to the menu items.
When I’m deleting the related page and the "relation" breaks, the menu item is still displaying in Nova as well as in front-end via nova_get_menu_by_slug('my-menu').
Maybe to achieve this by writing return false (or something similiar):
public static function getValue($value = null, array $data = null, $locale)
{
	$page = \App\Page::find($value);

	if (!empty($page))
    	return $page->slug; // success: include

    return false; // error: exclude from list
}

inside getDisplayValue it could be disabled in the list-view.

Friends, tell me where and how to create a configuration file and how to display the menu in the new admin panel?

I may be a bit late however I hope this might help someone.
Here is how I fixed this issue:
public static function getDisplayValue($value, ?array $data, $locale) {         // Example usecase         if(!empty(Page::find($value)->name)) {             return 'Page: ' . Page::find($value)->name;         } else {             return 'Page: (not found. This page is probably deleted.)';         }     }
public static function getValue($value, ?array $data, $locale)     {         if(!empty(Page::find($value)->slug)) {             return Page::find($value)->slug;         } else {             return '';         }     }
I added the if conditions to both functions. Now if a page is deleted while a page menu item exists in any menu, instead of throwing an error it will simply display a message saying the page is deleted. So it will be easier to identify broken page links in the admin interface. The menu item will still show up in the frontend menu, but that can be fixed with a simple if condition within your menu loop in the frontend.

Added a new function, getEnabledValue that can be used to override the enabled value.
Hopefully this solves the issue :)
https://github.com/outl1ne/nova-menu-builder/releases/tag/7.1.0


[RFE] Ability to customize RKE2 Provisioned VSphere machine names and hostnames

Is your feature request related to a problem? Please describe.
When VSphere machines are provisioned with RKE2, the machine name and hostname of the machine are provisioned with a hash, similar to this:
{CLUSTER_NAME}-{POOL_NAME}-##########-#####
Gov agencies require all machines to be connected to Active Directory, and generally, they will key off the first 15 chars of a hostname.
Due to this provisioning with the hashes, Rancher is unable to generate 'unique' hostnames for machines in a pool.
eg.
Cluster Name: C1
Pool name: P1
This ends up with machine names such as:
C1-P1-##########-#####
As AD will key off the first 15 chars, it will key off of 'C1-P1-##########'. Since the hash is so long, this results in non-unique hostnames for AD to key off of.
Describe the solution you'd like
The ability to set the length of the hashes, away from the default 10 characters
Describe alternatives you've considered
We can use hostnamectl inside of cloud-init, but on VSphere, this is hard to do properly, as there has to be an API or system that can be called to figure out which hostname is required

I have the same issue. If you have a workaround, please share.
Thanks,

This is still needed

yes, this is still needed.


Mod breaking enemies spawn logic of the game

Currently this mod seems to break enemies spawn logic, enemies such as ghost girl originally will spawn only one in a time, but with the mod they could spawn multiple amounts. It may be caused by spawning functions in this mod but this is not supposed to happen in ordinary play. Is it able to fix the spawn logic to vanilla as soon as the enemy spawn function is not used? Or adding configs to disable/enable some specific commands?

Will be togglable with the commands /override or /ovr and configurable in the configs in the next update :)

it now is configurable with that ^


Drachtio-Sofia tport_recv_event() tport_recv_iovec() query

Hi Dave,
In our drachtio logs we have observed that at some instances (marked as '//Doubt-Log' in logs attached) there is some break (timestamps) in tport_recv_event() & tport_recv_iovec() events, we are assuming that this is because there is no message to be received or sent over the transport at that given point of time. Is our assumption correct or is there some bug here?
Our drachtio version - v0.8.25-rc3
converted_logs.txt

Hi Dave,
We faced this issue again. It paused around 13:07:19.509671 and then it started receiving/sending messages around 13:07:44.018090. We are facing the same issue as [https://github.com/drachtio/drachtio-server/issues/334] (Issue #334)
drachtio-server-issue-filtered-17022024.txt
Our drachtio-server version - 0.8.24


addresses #1616

@mandyreal, I'm quite elated about your pull request. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a pull request and learned that I merged it?
We’ve recently added Facebook share and tweet feature to our web app. Could you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.

thanks @Roshanjossey ! it was a great learning experience. the fix looked straightforward, then i had to ensure it didn't break anything by running the react app in my local machine. after the web app started and i saw the change, it felt great!


TASK - Add integration tests to pipeline

Description
Acceptance Criteria

[ ] Acceptance Criteria

Additional Context and Related Items

@russellmorton I think this can be deleted since integration tests have been added to the pipeline for taqueria


[Bug]: "This browser or app may not be secure."

Preflight Checklist

[X] I have read the Contributing Guidelines for this project.
[X] I agree to follow the Code of Conduct that this project adheres to.
[X] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Ferdi Version
5.6.3
What operating system are you using?
Windows
Server
Ferdi
Operating System Version
Windows 11
What arch are you using?
x64
Last Known working version of Ferdi
No response
Git SHA and/or build date
No response
Steps to reproduce

Add new service
try to log in using google
opens google sign in on an external windows
enter google username

Expected Behavior
Sign in using google account
Actual Behavior
See error "couldn't sign you in
This browser or app may not be secure.
Try using a different browser. If you’re already using a supported browser, you can try again to sign in."
Screenshots

Debug information
No response
Testcase Gist URL
No response
Additional Information
No response

@dehyde : This happens from time to time when google changes their browser-detection algorithm. Without any change on Ferdi's code, this has resolved itself (in past instances).
The best workaround for this is to play around with the user-agent setting. There is a global one, as well as a recipe-specific one. Both are available in the Preferences/Settings dialog of Ferdi.


OSError: Error no file named pytorch_model.bin, model.safetensors, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory checkpoints/stable-diffusion-v1-5.

hello, I have a similar problem, have you already solved it or not?


DBZ-3056 Add validation for SQL Server connector.

https://issues.redhat.com/browse/DBZ-3056
DBZ-3056 Add validation for SQL Server connector.

Excellent, all LGTM now. Will merge and add one more commit with some minor clean-up. Thanks a lot @Cyril-Engels and @rhauch!

Remaining test failure is unrelated and tracked separately.


[DO NOT MERGE] Test ZetaSQL on Beam

This tests that we can use the ZetaSQL parser on Beam.
This contains no actual code and should not be reviewed or merged!

Run SQL PostCommit


Remove is_global_zero check in training_epoch_loop

What does this PR do?
This check in training_epoch_loop is unnecessary so we can remove it.
This is because save on the LightningLoggerBase API is not implemented:
https://github.com/PyTorchLightning/pytorch-lightning/blob/b29b07e9788311326bca4779d70e89eb36bfc57f/pytorch_lightning/loggers/base.py#L173-L174
And save is only overridden for CSV and TB loggers, and both implementations are decorated with @rank_zero_only:
https://github.com/PyTorchLightning/pytorch-lightning/blob/b29b07e9788311326bca4779d70e89eb36bfc57f/pytorch_lightning/loggers/csv_logs.py#L204-L207
https://github.com/PyTorchLightning/pytorch-lightning/blob/b29b07e9788311326bca4779d70e89eb36bfc57f/pytorch_lightning/loggers/tensorboard.py#L254-L264
Fixes https://github.com/PyTorchLightning/pytorch-lightning/issues/12127
Does your PR introduce any breaking changes? If yes, please list them.
Before submitting

[x] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[x] Did you make sure to update the documentation with your changes? (if necessary)
[x] Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
[x] Did you list all the breaking changes introduced by this pull request?
[x] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

This might break third-party loggers whose integration is not part of the PL codebase though and who didn't decorate the save function but still implement it.
Personally, I think it makes more sense to have an explicit check in the loop, than to have every logger implementation taking care of that.
Also: is it documented somewhere, that this is required?

@justusschock I agree, this is a breaking change. The motivation is the same as https://github.com/PyTorchLightning/pytorch-lightning/issues/8589 . In this case, users may want to have a logger per process to publish metrics. This can be very useful in distributed training for detecting outliers.
Currently, the loop is hardcoded to only flush the metrics on rank 0. In v1.7 this behavior will change given flush_logs_every_n_steps will be removed from the Trainer, since loggers will take over more the responsibility (on what ranks to log + how frequently to flush). Between v1.6 and v1.7 though we can still offer more flexibility through this PR.

@daniellepintz could you update the changelog to reflect the behavior change here?

I updated the changelog!


Performance issue during the debug process

Summary:
There seems to be an issue related to debugging web applications using dartium.
When resuming program execution after triggering a break-point, performance becomes significantly worse under specific curcumstances.
When execution is resumed by stepping out of the event-function (i.e. we do specifically not click 'resume program'), the application becomes noticeably slower from that point on and forward.
Repeating the process further degrades the perceived performance each time.
What steps will reproduce the problem?

Create a new project by cloning the link: https://github.com/dart-lang/sample-pop_pop_win.
Open lib/src/stage/square_element.dart.
Place a break-point at line 82, this should be the closing brace of the onClick() function.
Run the application in debug-mode.
Click on a balloon.
Press F7 or F8 to perform a step into or step over action and out of the debug process.
Repeat step 5-6 until the application starts to perform noticeably worse.
Remove the break-point and repeat step 5.

What is the expected output? What do you see instead?
Expected:
The application will run smoothly throughout the debug process.
Actual:
The application starts running slower and slower the more times you exit the debug process
by performing a step into or step over action.
The issue remains even if the break-point is removed.
What version of the product are you using?
Dartium dartium-win-full-dev-1.14.0-dev.3.0.0
WebStorm 11.0.1
Dart 14.0-dev.3.0
On what operating system?
Windows 7 SP1(64bit)
Please provide any additional information below.
The issue has been reproduced using dartium-win-full-stable-<IP_ADDRESS>
Removing the break-point will not fix the issue, but restarting the debug process will reset the performance.
Performance seems ok if the debug process is exited by pressing F9 to perform the resume action,
however this does not reset the performance and exiting the debug process with F7 or F8 afterwards will not have improved performance.
Additionally we have observed the application crashing on several occations during this process.

Could be related #/25014

This is about the Intellij debugger integration, which is using the deprecated VM debug protocol. This should be replaced with the observatory protocol before long, which would presumably make this obsolete. @jwren @rmacnak-google

@alan-knight Since SDK 1.14 IntelliJ IDEA uses VM Service protocol for debugging. krkboasit says that 14.0-dev.3.0 is used, so unlikely it is an IDE issue.

@turnidge

@mhausner

Does IntelliJ use the VM service protocol for Dartium debugging? I would have expected it to use the Chrome DevTools protocol.

@johnmccutchan Sorry, I overlooked the description. Indeed, IntelliJ IDEA uses Chrome's debugger protocol both for Chrome and Dartium regardless of the SDK version.

@krkboasit I tried to reproduce the issue with WebStorm 11.0.2, Windows 8.1, Dart SDK 1.14-dev.4.0 and corresponding Dartium.

Failed to reproduce with F7 (Step Into) because it doesn't resume the program, but goes to this state:

F8 (Step Over) indeed resumes the app. I repeated it 15 times and then removed the breakpoint. After that the app still works smoothly, I do not see any slowness.

@alexander-doroshko thanks for trying to reproduce.  Closing out the issue.

@krkboasit Can you please check if this issue is still reproducible in your environment? I failed to reproduce both with dartium-win-full-stable-<IP_ADDRESS> and dartium-win-full-dev-1.14.0-dev.4.0, see my comment above.

We're still seeing this issue, and have now reproduced it on MacOS and Win10, using the dev4.0 build of the sdk and dartium.
We're seeing the same issue on all platforms. Usually the animations will run smoothly, and if we trigger a breakpoint and resume the program with the webstorm action 'Resume program', the animations continue to run smoothly.
However if we perform the 'step over' action at the previously specified location (thus indirectly resuming the program) the animations will become very choppy, and they will continue as such until the application is restarted.
It was however a mistake when we wrote that 'step into' also trigger this (we also enter the 'wrap_jso_no_SerializedScriptvalue' when doing so).

@boasjls Thank you for the update! I have found an issue at IDE side. Will be tracked as https://youtrack.jetbrains.com/issue/WEB-19534, please watch/vote.
Workaround: Disable ''Do not step into library script' in Settings (Preferences) | Build, Execution, Deployment | Debugger | Stepping

@boasjls I spent more time on the issue and finally I think that it is not at IDE side. I came to the situation when Dartium is doing nothing but eating my CPU.
Attaching full log of IDE <-> browser communication: wip.log.zip
Used SDK and Dartium from  http://gsdview.appspot.com/dart-archive/channels/dev/release/1.14.0-dev.5.0/
Technical details (you'll actually see all this info in attached logs as well):

Browser is suspended on a breakpoint with the following stack

Step over is invoked ~50 times
Finally application resumes (although Resume command was not sent, only StepOver), the last stack before the app resumes contains a single frame:

After that application execution continues, but Dartium process is eating my CPU, performance is becoming worse.

Wild guess is that event cycle is done, Dartium is still trying to suspend VM after StepOver, may be doing numerous supend/resume internally, but in fact never suspends again even when user triggers next event cycle, for example by mouse click.
I think from user point of view StepOver always should suspend somewhere and never just resume the app.

Experiments with debugging JavaScript in Chrome show that Chrome's behavior is better. When you stand on the last instruction for current event in the Event Loop and ask to StepOver it starts handling the next event and suspends there.

Please re-try with Dart 1.24.2 Stable (Dartium 50).


Replace golang.org/x/tools/go/vcs

The linter complains that:

SA1019: "golang.org/x/tools/go/vcs" is deprecated: Use the go list command with -json flag instead, which implements up-to-date import path resolution behavior, module support, and includes the latest security fixes. (staticcheck)

We should follow-up on https://github.com/kubernetes-sigs/bom/pull/335 and replace the library.
cc @kubernetes-sigs/release-engineering

/remove-lifecycle stale

/kind deprecation

/remove-lifecycle stale

We still use this dependency
/remove-lifecycle stale


learn programming from scratch with Rust?

The learning rust section of chapter 1 says "If you are completely new to programming, then a piece of bad news: Rust is a relatively young language, so there isn't a lot of "learn programming from scratch with Rust" material out there - yet." This may be a little bit outdated; it seems like there's a good ecosystem of such resources now available.
Here are several "become competent in Rust" tutorials that were recommended to me via IRC: https://nitter.net/iamgmoot/status/1471548574764728322

Most of those resources are aimed at programmers. The quote from chapter 1 is about people who don't already know how to program, and are attempting to learn Rust as their first language.


Crashes can occur in high concurrency scenarios

Hello, I add go-proxyproto as a dependency in the server side of a VPN project. When the number of connections is high, it tends to crash. Here is the error message:
May 11 13:57:35 xxxhostname xxxappname: goroutine 1520070 [runnable]:
May 11 13:57:35 xxxhostname xxxappname: internal/poll.runtime_pollWait(0x7fd92f37bf40, 0x72)
May 11 13:57:35 xxxhostname xxxappname: runtime/netpoll.go:305 +0x89
May 11 13:57:35 xxxhostname xxxappname: internal/poll.(*pollDesc).wait(0xc009a02100?, 0xc0034db000?, 0x0)
May 11 13:57:35 xxxhostname xxxappname: internal/poll/fd_poll_runtime.go:84 +0x32
May 11 13:57:35 xxxhostname xxxappname: internal/poll.(*pollDesc).waitRead(...)
May 11 13:57:35 xxxhostname xxxappname: internal/poll/fd_poll_runtime.go:89
May 11 13:57:35 xxxhostname xxxappname: internal/poll.(*FD).Read(0xc009a02100, {0xc0034db000, 0x1000, 0x1000})
May 11 13:57:35 xxxhostname xxxappname: internal/poll/fd_unix.go:167 +0x25a
May 11 13:57:35 xxxhostname xxxappname: net.(*netFD).Read(0xc009a02100, {0xc0034db000?, 0xc00a66f3a0?, 0x40d75d?})
May 11 13:57:35 xxxhostname xxxappname: net/fd_posix.go:55 +0x29
May 11 13:57:35 xxxhostname xxxappname: net.(*conn).Read(0xc002f11e48, {0xc0034db000?, 0x7fd956a815b8?, 0x1000?})
May 11 13:57:35 xxxhostname xxxappname: net/net.go:183 +0x45
May 11 13:57:35 xxxhostname xxxappname: bufio.(*Reader).Read(0xc004ed8cc0, {0xc0034db000, 0x1000, 0x1000?})
May 11 13:57:35 xxxhostname xxxappname: bufio/bufio.go:223 +0x106
May 11 13:57:35 xxxhostname xxxappname: github.com/pires/go-proxyproto.(*Conn).Read(0xc0001229a0?, {0xc0034db000?, 0xbe14bf?, 0x7ddf8402d9f34adb?})
May 11 13:57:35 xxxhostname xxxappname: github.com/pires/go-proxyproto@v0.6.2/protocol.go:132 +0xa5
...stack trace in xxxappname...

The version I used is<EMAIL_ADDRESS>Is this problem solved now? I have upgraded to the new version of dependency, but this problem is difficult to repeat, so it is difficult to test.

This is not enough information to understand why your app crashes but I don't think it's because of go-proxyproto. For instance, in this goroutine, *Conn.Read(...) called poll.runtime_pollWait(...) and seems to be waiting for data to be received. Maybe your app is crashing elsewhere? You need to debug your stacktrace.

Closing due to inactivity.


Information about design patterns

What design patterns did you use to develop TDLib?

Common sense.

I did not doubt your choice.


Make setup.sh default to development environment?

Would it make more sense to have ./setup.sh run the local setup by default and have something like ./setup.sh production that would be run in the production scripts. It seems like humans need to type ./setup.sh local, while if the command-line flag was set instead on production it would be hardcoded, right? (At least in Travis.) What do you think? cc @kave @kurtw @rosskarchner

doesn't sound unreasonable, would help relieve issues of people forgetting to include local as a param

:+1:

That sounds good to me, though I do like knowing exactly which environment is being loaded just by looking at the command.

Especially when looking in Jenkins.

:+1: @kurtw how do you know which is being run in Jenkins now?

That sounds good to me, though I do like knowing exactly which environment is being loaded just by looking at the command.

This would still be possible, right? It'd just be the reverse of what is currently happening. Like now base is implied, and local builds on that, but instead the dev settings are implied.
./setup.sh = local deploy
./setup.sh production = production deploy (or whatever you want to call it.


Hydration warning mixes up client/server results

Describe the bug
The client correctly warns when there's a hydration mismatch between the client and server, but the warning mixes up the results, showing the client state as server state and vice versa.

Reproduction
Defining a component's state that's dependent on client-side hydration, something like:
<template>
  <div>{{ value }}</div>
</template>

<script>
  export default {
    setup() {
      return {
        value: import.meta.env.SSR ? "SSR" : "client"
      };
    },
  };
</script>

Will show the warning:
[Vue warn]: Hydration text content mismatch in <div>:
- Client: "SSR"
- Server: "client"

System Info
  System:
    OS: macOS 11.4
    CPU: (8) arm64 Apple M1
    Memory: 499.11 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.1.0 - /opt/homebrew/bin/node
    npm: 7.14.0 - /opt/homebrew/bin/npm
  Browsers:
    Chrome: 91.0.4472.77
    Firefox: 89.0
    Safari: 14.1.1
  npmPackages:
    @vitejs/plugin-vue: ^1.2.3 => 1.2.3
    vite: ^2.3.6 => 2.3.6

Used package manager: npm

Still happening in Vite 2.9.0-beta.0, but it looks like a bug in Vue perhaps?
https://github.com/vuejs/core/blob/0342fae8ad0e71866e9b9725a1f9c471db775c76/packages/runtime-core/src/hydration.ts#L365-L372
Or something with HMR.

Closing as it's an upstream issue. Perhaps it's also fixed as the code has changed
https://github.com/vuejs/core/blob/25f7a16a6eccbfa8d857977dcf1f23fb36b830b5/packages/runtime-core/src/hydration.ts#L134-L141

FYI It is not changed yet.
https://github.com/vuejs/core/blob/25f7a16a6eccbfa8d857977dcf1f23fb36b830b5/packages/runtime-core/src/hydration.ts#L400-L406
But it will be fixed by https://github.com/vuejs/core/pull/5953/files#diff-d13ae6fff054484d04947f8e9f28742e10fcbfb45d6c72846732d3d42a020cdeL119-R137.


logicalType support

Hi! Thank you for the library, it's terribly useful (finally we can stop using JSON ;-))
I was wondering if logicalType property is supported - https://avro.apache.org/docs/1.8.0/spec.html#Logical+Types
From my quick experiments it looks like they don't work, or I'm simply doing something wrong:
(require '[abracad.avro :as avro])

(def schema
  (avro/parse-schema
   {:type :record
    :name "Thing"
    :fields [{:name "name", :type :string}
             {:name "timestamp" :logicalType "date" :type :int}]}))

(def ex
  { :name "Foo" :timestamp<PHONE_NUMBER> })

(->> (avro/binary-encoded schema ex)
     (avro/decode schema))

;; => {:name "Foo", :timestamp<PHONE_NUMBER>}

if it's not supported, I'm happy to add support but I'd need a bit of help as to where should I start 👍
Thanks!

It is not currently supported -- logicalType post-dates the original implementation and just hasn't been added.  So a PR would be great!  I'd suggest trying to extend the existing "Avro readers" system for custom decoding of records to use the value of logicalType for custom decoding of non-record types as well, although the extra annotations described for the "decimal" type do complicate matters.

@llasram Awesome, thanks for the pointer. No promises about the time, but I will definitely set aside some time to work on this.

@lukaszkorecki Hello! Have you get along with "date" types already? I'm currently facing the need to serialize a Date value, but I'm not figuring out how to do that.

@gleisonsilva Hi! Unfortunately, I haven't - so far we've been delegating that to the application logic. We have a set of helper functions in our tiny Abracad wrapper which preprocesses/postprocesses timestamp fields when serializing/deserializing.
Now - our Avro usage is increasing (we've recently open-sourced our RabbitMQ framework https://github.com/nomnom-insights/nomnom.bunnicula which supports custom serializers/deserializers for publishers and consumers) so we will have to eventually tackle the timestamp serialization issue :-)


feat(android): support sdk 19 version & intent:// url syntax

When we use 3rd party payment system through iframe tag in android, their payment website try to open intent://open/payment ~  url pattern but it doesn't work because of unhandled method shouldOverrideUrlLoading. So, i override this method.
Support Android SDK 19 by passing Uri url (remove WebResourceRequest class usage) & use older constructor via createWebResourceResponse method

Amazing! We can go back to supporting kitkat users


ogre_helpers: Fix STL import and detect binary files masquerading as ASCII ones

The RViz STL importer can only read binary files.
ASCII STL files are supposed to be designated by the first five chars of the file being "solid"
Lots of binary STL files out there don't care for your standards and start with "solid" anyway. I think the SolidWorks STL exporter does this.
This warns people if their STL files are malformed, and reports errors if they're not binary files. If it's determined that they're not valid binary files, where valid means "won't crash rviz" then it returns false and reports the problem.
Note that this takes more care to consider broken STL files than Assimp does. Assimp will reject binary files which start with "solid". If we use the same test, many ROS urdf models will stop working.
This also replaces the fragile c-style buffer heap allocation with a std::vector which won't leak.
This patch is not API compatible.
This patch is most likely not ABI compatible.
https://en.wikipedia.org/wiki/STL_(file_format)#ASCII_STL

Thanks for the patch and the detailed description. We'll test it soon.

@wjwwood, can we write a simple test that tries to load a few STL files:

Invalid binary STL file with size < 84 bytes.
Invalid binary STL file with size >= 84 bytes.
Valid ascii STL file.

@jbohren Thanks for taking a second swing at this, it all makes more sense now, we'll get it merged asap.
@caguero Yes, we can, I'll have to take a look at what/how we should approach a test like that.

@caguero I re-enabled the tests in rviz in this pull request: #875
Maybe when we both have some time this week we can put together a test.

Sounds good.

@jbohren I'm going to close this in favor of #878. Please have a look at it when you get a chance.
It is also against indigo-devel, but I've also marked it with the needs_back_port label, so I'll back port it to Hydro next time I do a Hydro release.