Improve error information - HTML error message

Follow up on #2764
#1998
Error messages are issued with html instead of MESSAGE.

Additionally the messages are enriched with two new functions.
Go to source
Navigates to the source code position where zcx_abapgit_exception=>raise or zcx_abapgit_exception=>raise_t100 is called
Callstack
Shows a popup with the full callstack and the possibility to navigate to
the source of each line with double click
I open this as a draft because there are still some rough edges and more testing is needed. Especially the UI/UX can be improved for sure. Feedback welcome.

suggest moving gc_section_text + gc_section_token from the exception class to a new message utility class, would like to keep the exception class small

ZCL_ABAPGIT_MESSAGE_HELPER, try moving the DEFINITION DEFERRED manually above the exception in the generated report and check if that works

ZCL_ABAPGIT_MESSAGE_HELPER, try moving the DEFINITION DEFERRED manually above the exception in the generated report and check if that works

Doesn't work

I think ZCL_ABAPGIT_MESSAGE_HELPER can be fixed by doing some changes in abapmerge, but we can open this as a separate follow up task

really cool feature ! :) 👍
Some issues/suggestions

the m hotkey does not seem to work - both to hide and to re-show the message

UI/UX suggestions (IMHO, can be a separate PR)

Imho clicking the message panel is superfluous. Better to display details on hover and also in a more compact way (see below)
this will also remove JS which does not work in java anyway so would be more reliable
by the way, why message number 5 digits - it is just 3 or I'm missing something ? 😕
maybe source link should have a title with the last class/method - can be a quick check without need to drilldown + can be used for error screenshots (see below)

So some experiments:

      There are no tags for this repository

❌

        FIRE_ERROR">Message (001)
        Source
        Callstack

div.message-panel {
  z-index: 99;
  box-shadow: 2px 2px 4px 0px hsla(0, 0%, 0%, .1);
  padding: 12px;
  margin-left: -48%;
  position: fixed;
  bottom: 12px;
  width: 94%;
  left: 50%;

  border: 1px solid;
  border-radius: 5px;
  border-color: hsl(0, 42%, 64%);
  background-color: hsla(0, 42%, 90%, 1);
}

.message-panel-commands {
  display: none;
  margin-right: 0.5em;
}

.message-panel-commands a {
  padding: 0em 0.5em;
  border-left: 1px solid;
  border-left-color: #ccc;
}

.message-panel-commands a:first-child {
  padding-left: 0;
  border-left: none;
}

div.message-panel:hover .message-panel-commands {
  display: block
}

P.S. just by the way - no need to align tags in code, the html does the the indentation automatically. In fact if it is emplicit - it does not
ro_html->add( |
 ... |
           && |
| )

result

@sbcgua thanks a lot for your valuable comments. Unfortunately I don't have much time currently. I try respond till the weekend.

@christianguenter2 no prob. Actually another option is to merge the PR and fix the rest later ( I can help with this ) - at end this feature is not about design at all :)

@sbcgua I think if we can merge this and fix some of the stuff later it will be good, this PR is quite large. We can open an issue describing the future improvements/changes

@sbcgua I think if we can merge this and fix some of the stuff later it will be good, this PR is quite large. We can open an issue describing the future improvements/changes

Yeap, totally. Let's do it


fix: reflecting color changes instantly

Pull request for issue #10
Removed transition classes from ColorCard and ColorBlock components.
I also removed it for the background and text on cards (it felt not consistent and out of place, let me know if that's okay).
Tested on Firefox 97

Yeah, I agree. I pushed the commit that fixes it.


Show Notebook option when the extension isn't installed

Notebook option is hidden for users who don't have the extension installed.

If extension isn't installed: show link to install it
If it is installed keep the current behavior.

This has been validated https://github.com/dotnet/machinelearning-modelbuilder/issues/2160


Example of consuming third party gRPC

Below I have an example in Go lang. I met the elixir a short time (4 days). I wanted to understand how I would consume a third-party gRPC with your repo. Like the Dgraph in the example.
Thank you.
Cheers
package main

import (
  "context"
  "flag"
  "fmt"
  "io/ioutil"
  "log"
  "os"

  "github.com/dgraph-io/dgraph/client"
  "github.com/gogo/protobuf/proto"
  "google.golang.org/grpc"
)

var (
  dgraph = flag.String("d", "<IP_ADDRESS>:9080", "Dgraph server address")
)

func main() {
  flag.Parse()
  conn, err := grpc.Dial(*dgraph, grpc.WithInsecure())
  if err != nil {
    log.Fatal(err)
  }
  defer conn.Close()

  // The Dgraph client needs a directory in which to write its blank node maps.
  clientDir, err := ioutil.TempDir("", "client_")
  if err != nil {
    log.Fatal(err)
  }
  defer os.RemoveAll(clientDir)

  dgraphClient := client.NewDgraphClient([]*grpc.ClientConn{conn}, client.DefaultOptions, clientDir)
  defer dgraphClient.Close()

  req := client.Req{}
  req.SetQuery(`{
  bladerunner(func: eq(name@en, "Blade Runner")) {
    _uid_
    name@en
    initial_release_date
    netflix_id
  }
}`)

  resp, err := dgraphClient.Run(context.Background(), &req)
  if err != nil {
    log.Fatalf("Error in getting response from server, %s", err)
  }
  fmt.Printf("Response %+v\n", proto.MarshalTextString(resp))
}

Can the examples help you? https://github.com/tony612/grpc-elixir/tree/master/examples


How to perform where AND or OR condition grouping?

How to make where condition like this
WHERE (table.field1 != :bindParam1) AND
(((table.field2 IN :bindParam2) AND table.field3 = :bindParam3) OR table.field4 = :bindParam4)

I was tried this example, but it didn't work correctly
  $query->andWhere([
            ['and', 'table.field1' => [ :bindParam1], 'table.field2' => :bindParam2],
            ['or', ['table.field3' => :bindParam3]]
        ]);

However, here is the answer for you:
$query = new Query();
$query->from('test');
$query->andWhere(['!=', 'field1', 'param1']);
$query->andWhere(['or', ['and', ['in', 'field2', [1,2,3]], ['eq', 'field3', 'param3']], ['eq', 'field4', '4favlue']]);

And a good article to read about the QueryBuiilder: http://www.yiiframework.com/doc-2.0/guide-db-query-builder.html#operator-format


Add Note at End of Nexus Setup to Not Login Until After the Rest of the Guide Has Been Run

Is Your Feature Request Related To A Problem? Please describe.
The following is displayed in prompt after Step 2: Nexus Setup has been run:
    ##############################################################

    Nexus Repository Setup Completed
    Please login to the following URL to complete admin account setup:

    Server Url: 'http://localhost:8081' (this will change once you add a certificate)
    Chocolatey Repo: "http://localhost:8081/repository/ChocolateyInternal/"
    NuGet ApiKey: ApiKey value
    Nexus 'admin' user password: Password value

    ##############################################################

If the user logs into Nexus at this point the admin.password file for Nexus is deleted. This file is used for further invoking of the Nexus API in the SSL Setup step, as well as the default password being posted to the README after Step 5: Jenkins Setup is run.
Describe The Solution. Why is it needed?
A warning should de displayed to instruct users not to login to Nexus until after the README has been generated in Step 5: Jenkins Setup of the guide.
Additional Context.
NA
Related Issues
NA

Is this a duplicate of #161?


ipcRenderer is undefined

getting an error ipcRenderer is undefined on main.js

You can't use ipcRenderer in the main process. Only in the renderer process.

@Manjucloudmpower Hi, have u been able to fix when fire says success but didn't receive anything? Thank u!

Hello, I couldn't recieve push notification when I triggered it from the firebase console but it did work when sent from backend.

Hello, I am not able to generate a token using electron-push-reciver
Please help me out


CLI documentation

Topics to talk about:

[x] Document usage. Needs to be updated because now most commands are under aragon dao and aragon apm (or just dao and apm)
[x] Document how to import keys from aragon devchain and local chain URL into MetaMask/others.

Closed by https://github.com/aragon/hack/pull/32


Replace Aqueduct docs page with the README

The README file for Aqueduct is so much more helpful than the page on Aqueduct in the docs site (although it still takes shortcuts and assumes readers will know all of the required packages). The README file should be used on the docs site, rather than expecting readers who are going through the site to jump out of the site's context and start looking at a GitHub repo README file.
Issue Category

Organization/Navigation suggestion

Details
As a general rule of thumb, the docs in the GitHub repo—which are not easily found, and which a user is not likely to pursue after being put off by the hard-to-follow docs site—shouldn't be superior to the docs on the documentation site. 😁

Oh, and at the very least they should be consistent. 😝 Particularly in regards to the use of conventions around things like literal strings, static properties, etc. in the use of the Fluid APIs in the custom DataObject class. Again, the README page gets it right.


smt_fallback is not triggered in subcomp

(reported by @aseemr)
The following code fails with an exact: p_True does not solve goal
let ghost_gather (#uses:inames) (v1 v2:G.erased int) (r:ghost_ref int)
  : SteelAtomic unit uses unobservable
      (ghost_pts_to r half_perm v1 `star`
       ghost_pts_to r half_perm v2)
      (fun _ -> ghost_pts_to r full_perm v1)
      (fun _ -> True)
      (fun _ _ _ -> v1 == v2)
  = ghost_gather#_ #_ #_ #_ #v1 #v2 r

The reason is that we do not currently support smt rewriting in subcomp because the extra prop argument required leads to failures when typechecking the effect definition.
The temporary workaround is to add a trailing ;() to do the rewriting in a bind.
The actual solution is to

Add smt_rewriting in subcomps, by replacing can_be_split_forall by can_be_split_forall_dep
Add better error handling in the tactic, to avoid triggering smt_fallback and errors when smt_fallback is not enabled (i.e. when True is passed inside the call to canon)

Fixed by #2334


Color of past versions alert bar is same as "Version" and "Browse Data" buttons

💡 Description

The alert should stand out from the interface different from the buttons. Consider another color.

I'm unsure why the alert being the same color as buttons is an issue here. We can certainly consider other colors, but understanding where the need driving this feedback is coming from is helpful in creating a potential solution.


Fix: Fix lint

Fixes yarn lint issues.
yarn run lint
yarn run v1.12.3
$ semistandard
semistandard: Semicolons For All! (https://github.com/Flet/semistandard)
semistandard: Run `semistandard --fix` to automatically fix some problems.
  /github/GoogleCloudPlatform/cloud-functions-emulator/test/unit/service/rest-service.test.js:127:17: A space is required after '{'.
  /github/GoogleCloudPlatform/cloud-functions-emulator/test/unit/service/rest-service.test.js:127:30: A space is required before '}'.
  /github/GoogleCloudPlatform/cloud-functions-emulator/test/unit/service/rest-service.test.js:135:17: A space is required after '{'.
  /github/GoogleCloudPlatform/cloud-functions-emulator/test/unit/service/rest-service.test.js:135:30: A space is required before '}'.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Tested locally.


Added th-TH translation

the config values must still contain the underscores for spaces

Closing this for #73


playground: align button on left

#691

Mh... the alignment is a little weird. So either we move it like this:

So that the buttons start at least on the same level as the code / after the gutter.
Ideally it should be here, but not sure how this would interact with the resizable sidebar:

It is possible to integrate with resizable divider, but this format makes it easier to calculate the height of the editor panel.


Add application path (root of jar) to classpath

Native image tool expects to find some stuff in /META-INF.
Fixes #5

Lack of CLA and an easy fix otherwise means I’m going to close this out and do it myself.  Thanks for the contribution that I’ll simply duplicate @dsyer!


[feature] (activation stats): ability to track the statistics of each layer in the model when training

Tracking activation statistics during training
This PR features a new monitoring utility, plugged in VISSL via the Tensorboard hook, which allows to capture the output of the "leaf modules" (not all modules) and compute mean and spread statistics on the output of each layer, and track them in tensorboard.

[ ] @QuentinDuval to re-run performance tests after review comments and refactoring on SwAV
[ ] @QuentinDuval to try to add some quick performance tests in the unit tests

Output example:

Description
The configuration has been updated with the following option (by default disabled):
  MONITORING:
    # At which frequency do we monitor statistics on the activations:
    # - 0 means that we do not monitor statistics
    # - N > 0 means we monitor every N iterations
    MONITOR_ACTIVATION_STATISTICS: 0

Turn on the option with the following hydra override: config.MONITORING.MONITOR_ACTIVATION_STATISTICS=50 to gather the statistics on all activations every 50 iterations.
NOTE: This option requires the tensorboard hook to be enabled to take effect.
Performance impacts: The collect of statistics makes use of the following optimisation: for feature maps, we only compute the statistics on the central feature, which requires less compute and memory than on the full feature map and still exercises all the weights of the BN or Conv2D layer. With this optimisation, the impact in terms of memory is negligible and the impact in terms of runtime is about 1.4% on SimCLR, when the frequency of collection is every 50 iterations.
Further improvements

Support for other backend than just Tensorboard: ideally, we should be able to dump raw data / images
Profile what takes time when computing statistics and optimise it further if possible
Adding an "alerting" feature which varies the speed of tracking based on detected divergence

Hi @QuentinDuval , all the points you raised are great. I'd propose that we meet over VC to discuss these.
certainly interested in the fixes, feel free to make PR :)

this is super awesome work @QuentinDuval :)

quick clarification: leaf modules -> doesn't mean just head is tracked right? from the code, it seems like trunk+head both are tracked but figures in test plan are for the heads so just wanted to double check :)
we should insert the copyright headers everywhere -> blocker for landing this PR

Hi @prigoyal :)
By leaf module, I meant modules that are not encapsulating other modules. For instance, nn.Sequential(nn.Linear(...), nn.ReLU(...)): the leaf modules are nn.Linear() and nn.ReLU() and we ignore nn.Sequential. This also means we will ignore things like Bottleneck (which only contains modules) but might also ignore some interesting modules now that I think about it (*).
Indeed, otherwise, all modules are being monitored if they are in training mode: we ignore modules that are not trained, like frozen modules when doing a linear evaluation, for there is not much to monitor in that case.
(*) I think we can improve that in later PR: ignore modules who do not have parameters on their own but only parameters in their children, or simply hardcode what we want to ignore.

this is super awesome work @QuentinDuval :)

quick clarification: leaf modules -> doesn't mean just head is tracked right? from the code, it seems like trunk+head both are tracked but figures in test plan are for the heads so just wanted to double check :)
we should insert the copyright headers everywhere -> blocker for landing this PR

I added the copyrights in d85434b 👍  Good catch !


Ignore ErrRejectDuplicate errors

This PR utilizes the new errors introduced in https://github.com/Roasbeef/btcwallet/pull/10 to properly not treat ErrRejectDuplicate as errors we need to take action on, as it means the transaction we are trying to publish already exists.
This PR adds inspection of different errors returned from the wallet backend, and adds concrete error types to PublishTransaction.
Needs https://github.com/lightninglabs/neutrino/pull/41.

There's also a spot in contractcourt that needs to be modified (PublishTx).

Since no error will be returned in case the transaction is already known (in mempool or mined), I think it is safe to NOT check for errors everywhere PublishTransaction is used?

Yep, definitely, not sure how that one slipped through! Fixed, and did another sweep to make sure I hadn't missed more :)

Should resolve #529


Requested OpenCL version: 1.2, Found OpenCL version 0.0

Hi, wondering if anyone can provide some guidance.  I'm on Ubuntu 14.04.  I've pulled down clBLAS from git and am attempting cMake.
root@donfpga2:/home/don/clBLAS/src/build# cmake ..
-- You have confirmed OpenCL 1.2 is supported in your system
-- CORR_TEST_WITH_ACML set to OFF. Try link with libblas.so
-- Target platform: 64-bit
-- Using default OpenCL Compiler
-- OPENCL_INCLUDE_DIRS: /usr/include
-- FindOpenCL searching for 64-bit libraries
CMake Error at FindOpenCL.cmake:143 (message):
Requested OpenCL version: 1.2, Found OpenCL version: 0.0
Call Stack (most recent call first):
CMakeLists.txt:278 (find_package)
I have installed the Intel OpenCL driver/runtime and SDK so I'm not sure why this is failing.  Any tips on how I should be setting up OpenCL for this to work or how I might debug further?  Thanks!

src/FindOpenCL.cmake CMake script is used to find OpenCL. It looks for the cl.h header and greps it for CL_VERSION_1_1, CL_VERSION_1_2, CL_VERSION_2_0.  This point him to OpenCL version supportred by header. On my system I have the following code in cl.h for example:
 195 #define CL_VERSION_1_0                              1
 196 #define CL_VERSION_1_1                              1
 197 #define CL_VERSION_1_2                              1
 198 #define CL_VERSION_2_0                              1

You can try to set set( OpenCL_VERSION "0.0" ) line to set( OpenCL_VERSION "1.2" ) if you are sure. Or better check what particular cl.h header is found and what CL_VERSION_X_X are defined in it.

Thanks for the response.  I do have cl.h header on my system.  How does it know where to look for cl.h, is it guided by some environment variable?  I wonder if I just need to configure or fix some environment variable and then it will work.
By the way, what OpenCL package/distribution do you test against?
Thanks!
don@donfpga2:~$ cat /opt/intel/opencl-1.2-<IP_ADDRESS>/SDK/include/CL/cl.h|grep CL_VERSION
#define CL_VERSION_1_0                              1
#define CL_VERSION_1_1                              1
#define CL_VERSION_1_2                              1

You can check OPENCL_INCLUDE_DIRS variable in your CMakeCache.txt. If it is not /opt/intel/opencl-1.2-<IP_ADDRESS>/SDK/include you can try pointing clBLAS to it by using OPENCL_ROOT CMake variable like this:
cmake ../src/ -DOPENCL_ROOT=/opt/intel/opencl-1.2-<IP_ADDRESS>/SDK

And yes, it also check environment variables OPENCL_ROOT, AMDAPPSDKROOT and CUDA_PATH.
Newer versions of FindOpenCL.cmake script found in CMake distribution look at INTELOCLSDKROOT variable too but it doesn't matter really since every vendor supports ICD in their implementation. Headers are almost the same in all SDK's and there is no difference what libOpenCL.so to link with. I personally use headers from opencl-headers package which are in /usr/unclude/CL.

Thanks!  Settings the OPENCL_ROOT environment variable (and cleaning up the files in the build directory from my previous failed attempts) allowed the build to complete.


[Feat] Improve Mobile responsive.

The website works fine on mobile view but is not perfect. we can make it mobile responsive.

could you please assign it to me, i will make mobile view more responsive

Hi @1Shubham7 I have developed many web project & made them responsive. I have good knowledge of HTML, CSS I can also use bootstrap, tailwind & other third party components to make the page responsive & beautiful. Kindly assign me this issue I am willing to work on this project & help you out. #gssoc'24

I am Agamjot singh. Under GSSOC'24, I would like to work on this issue. Pls assign me this!!

I would like to work on this issue, please assign this issue to me under GSSoC'24.


How to save current route status when browser refresh?

Hello, I use HistroyLocation running some routes, when link to /path-a, the router is work, like a real page. But now, I refresh current page, this /path-a status is lost, can not save current route status.
How can i do for this problem? Please help me, thanks.

i am not sure what you mean by  status is lost . Can you link me to what route status  is .

If i link to /path-a, now I use browser refresh, the page is 404.

Oh, i find HistoryLocation detail api docs, i need config my server.
Just like:
app.get('*', function (req, res) {
  res.render('index');
});


docs: Removed mention of tweets

1. Description

A simple one word change - instead of using tweets in the README, it's been updated to posts.
1.1. Checklist

[x] The title of my PR starts with a Conventional Commit prefix (fix:, feat:, docs: etc).
[x] I have read the Contributor Guide and followed the process outlined for submitting PRs.
[x] I have updated/added tests for ALL new/updated/fixed functionality.
[x] I have updated/added relevant documentation in docs and added dartdoc comments with ///.
[x] I have updated/added relevant examples in examples.

1.2. Breaking Change

[ ] Yes, this is a breaking change.
[x] No, this is not a breaking change.

1.3. Related Issues

Issue #57

Hi @MarkOSullivan94 , thanks for your contribution! :)

bors merge

Codecov Report

Merging #58 (f5fb40c) into main (954ac4a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #58   +/-   ##
=======================================
  Coverage   48.12%   48.12%
=======================================
  Files          36       36
  Lines         453      453
=======================================
  Hits          218      218
  Misses        235      235

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

@all-contributors please add @MarkOSullivan94 for doc, ideas, question


Update README.md

Backslash is important.. Without this an error is occured

Hmm I do not get an error when not using backslash is there a problem with your namespaces?

You got an error if you want use this aliases in your code..
For example:
'middleware' => ['permission:xxx']
isn't it?

Yes, nevermind I read it wrong xD It's a shame to see so many open pull requests.


Sockets left open eventually exhausting available file handles

Every so often the gateway stops responding to HTTP requests. The logs show:

Traceback (most recent call last):
File "/opt/eddn/env-2.7/lib/python2.7/site-packages/gevent-1.0.2-py2.7-linux-x86_64.egg/gevent/baseserver.py", line 140, in _do_read
File "/opt/eddn/env-2.7/lib/python2.7/site-packages/gevent-1.0.2-py2.7-linux-x86_64.egg/gevent/server.py", line 93, in do_read
File "/opt/eddn/env-2.7/lib/python2.7/site-packages/gevent-1.0.2-py2.7-linux-x86_64.egg/gevent/socket.py", line 309, in accept
client_socket, address = sock.accept()
error: [Errno 24] Too many open files
WSGIServer at 0x7f07cd469190 fileno=12 address=<IP_ADDRESS>:8080 failed with error

It looks like the Bottle/gevent web server isn't closing connections, as there are hundreds left open at the moment.
This is the cause of the last several EDDN outages.

Strange, does bottle need gevent in that case ?

Don´t know enough of Bottle/gevent to be of real help.
Googled and found out that that the latest version of gevent is relative new.
gevent-1.0.2.tar.gz (md5) 	Source 		2015-05-23 	1MB
Is that version currently used in EDDN?


Ability to specify skip tests

https://github.com/rancher/rancher/issues/23905

why is build failing

@cjellick had to get rid of a comment. Re-pushed the changes

@cjellick it's green now

@leodotcloud There is mix use of CIS vs Cis, can you standardize?

@dramich If I use all uppercase letters, I ran into a problem with the generator.

Filed this issue for the problem when using uppercase for the word CIS. https://github.com/rancher/rancher/issues/24345

LGTM


Feature: Add support for Pyre for Python linting

With Facebook recently releasing Pyre, it would be good to have Pyre support for type checking within Syntastic.

I looked at Pyre, and I'm not optimistic about being able to write a working syntastic checker for it.
First, it's isn't clear to me how this is supposed to be used.  Monkeying the example in the demo, a small Python file with a type error produces an error message, but subsequently editing the file and moving the error around doesn't change the message from pyre (restarting the pyre server does though).  The fact that editor integration is completely undocumented doesn't help.
Assuming this is addressed somehow, next roadblock is that pyre wants to be run from the project's root.  Guessing project's root in Vim would be awkward at best.
Then there's the careless use of stderr.  The other linter from Facebook, flow, used to have the same problem, and getting it fixed took more than an year (even though the fix was trivial).  To this day the flow checker is still a trainwreck for many reasons, and it's one of the few checkers I regret adding to syntastic.  I have very few reasons to believe pyre would fare any better. shrug

I appreciate the detailed response @lcd047, all of your points are valid and I appreciate you taking the time to explain (especially given your previous experiences). Who knows, somebody else may make a PR adding support for pyre into Syntastic but after your explanation, I understand where the lack of optimism is coming from.


Added more testing for cheatsheet

Added tests for both command and parser:

Edit (left out the removeIrrelevantContents() testing)
ViewSpecific...

Tests left to implement: (will be done by @ckb055)

Delete
Filter
View

Looks good!


use alessio's simulations of realistic neural waveforms to improve the synthetic recordings

generate synthetic data with different probe geometries
important:
provide meaningful descriptions of how it was generated
ultimately: simulate all kinds of realistic effects

Note: This should be done in python rather than matlab.


[Snyk] Upgrade humanize-duration from 3.25.0 to 3.25.1

Snyk has created this PR to upgrade humanize-duration from 3.25.0 to 3.25.1.

As this is a private repository, Snyk-bot does not have access. Therefore, this PR has been created automatically, but appears to have been created by a real user.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 1 version ahead of your current version.
The recommended version was released 2 months ago, on 2021-01-07.

Release notes

Package name: humanize-duration

3.25.1 - 2021-01-073.25.1

3.25.0 - 2020-12-083.25.0

    from humanize-duration GitHub release notes

Commit messages

Package name: humanize-duration

5d36484 3.25.1
81d740f Update changelog and bower.json for 3.25.1 release
6d2ad73 Update devDependencies to latest versions
c07f343 Save some bytes for Slovenian days by using a ternary
113c3b7 Fix missing case for Slovenian weeks
b86dd43 Fix readme typo
05da77d Remove unnecessary eslint-disable
29c1892 Minor: rename "extend" to "assign", as it is more common
c39df57 Shorten Croation code for seconds
c9e6bac Update devDependencies to latest versions

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Backup file coordinator_backup.json is not updated when the addon is restarted

Description of problem:
Backup file coordinator_backup.json is not updated when the addon is restarted or stoped.
Only UI restart button update the backup file.
Running platform (details from Suypervisor > System)
Add-on: 1.21.0-1
Core: core-2021.7.4
Supervisor: supervisor-2021.06.8
Operating System: Raspbian GNU/Linux 10 (buster)

I can look to fix this if you can point me to how the UI is triggering the backup update.

In UI go to the Settings->Tools->Restart Zigbee2MQTT

@ciotlosm did I misunderstand the question?

Nope, but was curious of the code behind the restart backup, not the button. I will have to dig more in the code to see what I could add to the s6 container to perform the backup at restart

+1.
Same behavior in 1.21.1 HA add-on.

@ciotlosm any news?

@Koenkk can you help us with fix?

Keep alive

Keep alive

Keep alive

Can you provide the herdsman debug log of this?
See https://www.zigbee2mqtt.io/guide/usage/debug.html on how to enable the herdsman debug logging. Note that this is only logged to STDOUT and not to log files.

Can you provide the herdsman debug log of this?
See https://www.zigbee2mqtt.io/guide/usage/debug.html on how to enable the herdsman debug logging. Note that this is only logged to STDOUT and not to log files.

Yes, I add zigbee_herdsman_debug: true and grab log file with command docker logs CONTAINER_ID > log.txt 2>&1
After that restart addon twice, the last one log file in attachment
log.txt

Just wanted to let you know that I found a possible solution, will update you probably later this week.

This should be partially fixed now (https://github.com/zigbee2mqtt/hassio-zigbee2mqtt/commit/5fb69e744271487ed0bc333b8148d015b37ad643). However if the backup takes longer than 10 seconds docker will kill the container resulting in no backup.
Can you check if this fixed the issue for you @Enzokot ? (use the edge addon)

@Koenkk Seems this fix work correctly with edge addon

Great! Then this can be closed now 😄

Thanks!


Delete Jenkinsfile

Would you miss it?

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@8045590). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #2080   +/-   ##
=========================================
  Coverage          ?   67.71%
=========================================
  Files             ?      158
  Lines             ?    14405
  Branches          ?        0
=========================================
  Hits              ?     9754
  Misses            ?     3720
  Partials          ?      931

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 8045590...4249d0a. Read the comment docs.


Update toc.yml

fix wrong links

Drew, Jim
This PR proposes a fix to the TOC, as it is pointing to a topic in the archive, but another identical looking topic still exists.
Is this as expected? Are there more?
Original
https://learn.microsoft.com/en-us/previous-versions/windows/desktop/legacy/ms648034(v=vs.85)
Proposed correction:
https://learn.microsoft.com/en-us/windows/win32/api/libloaderapi/nc-libloaderapi-enumresnameprocw
The links in the archived version e.g. EnumResourceNamesEx jumps to topics back outside the archive.

@GrantMeStrength The archive page was grabbed by the "catch-all" archive pass which grabbed all topics from MSDN that hadn't already been migrated and put them in this archive. So, this is different that the pages we archived deliberately. I suspect this one was grabbed because the page was split into A and W versions.  There probably are more instances where this occurred. Let me know if you want me to investigate/fix this.
The links from the archive page jump back outside the archive because they are msdn links that are redirected to the live pages.
I've approved this change and will go ahead and complete the PR.


Update SecurityPolicyResourceHelper.psm1

Fix typos.

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


All cases missing from UI

OSX client 2.2.3, Raspbian server 0.12.0
Cases are still accessible from the notification "X has opened a dispute with Y"

Fixed by upgrading server to 0.12.2


Update User Guide with new style format and details regarding user co…

…mmands for v1.3

Codecov Report

Merging #138 (e815d1b) into master (197e1b9) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #138   +/-   ##
=========================================
  Coverage     70.67%   70.67%
  Complexity      608      608
=========================================
  Files           102      102
  Lines          2060     2060
  Branches        237      237
=========================================
  Hits           1456     1456
  Misses          520      520
  Partials         84       84

Impacted Files
Coverage Δ

...eedu/address/logic/commands/UpdateTaskCommand.java
84.31% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Search and List icons missing in 0.6.2

I upgraded my jupyter-book installation last night to 0.6.2 and love the new features. One issue I'm having is that the search icon and list icon (used in the 'on this page' table of contents) appears to be missing. I noticed that the data8 repo has some .svg files in the assets folder that seem to be for these icons, but downloading those and copying to my local assets folder does not fix the issue after a full rebuild of the site. (you can see the behavior in action at www.macs358.org).
I thought at first it may be an issue from the upgrade process from 0.5 to 0.6.2, but creating a brand new jupyter-book results in the same behavior.  Any thoughts on how to fix the issue? It looks like www.jupyterbook.org and www.inferentialthinking.com both have the correct icons being displayed, so there must be a workaround somehow.
Thanks!
Taylor Gibson
North Carolina School of Science and Mathematics

Played around a bit more and figured out that upgrading to the latest version 0.6.3dev0 fixes this issue.

good catch! thanks for noting that - the problem was that we briefly played around with using fontawesome icons rather than embedding SVG, but have since switched back...so maybe it's time to make another minor release :-)


Fixing some phpdoc blocks

code style fixes:

adding and fixing phpdoc blocks
adding and removing empty lines for better readability

Hello @halkyon ,
can you review this branch as well? It contains lots of small changes to increase the qualify of the code.
Cheers,
Peter

Thanks @spekulatius


CPU/GPU usage influencing training speed

Hi,
I am trying to train on coco. I used dockerfile to build the image.
FROM nvcr.io/nvidia/pytorch:18.12.1-py3
# FROM pytorch/pytorch:nightly-devel-cuda10.0-cudnn7
RUN pip install tensorboardX yacs tqdm pillow
RUN conda install -y opencv cython
RUN git clone https://github.com/cocodataset/cocoapi.git && cd cocoapi/PythonAPI && python setup.py build_ext install
RUN git clone https://github.com/pytorch/vision.git \
    && cd vision \
    && python setup.py install
COPY . /SSD
WORKDIR /SSD
RUN python /SSD/ext/build.py build_ext develop
CMD [ "bash" ]

But I experienced severe CPU usage (almost100%) meanwhile low GPU usage on several machine (20C40T cpu and v100 gpu / 4C8T cpu and rtx 2080 gpu), and the training is extremely slow ().
I tried to use conda install of pytorch and the same thing happens.
Meanwhile, other pytorch 1.0 repo (maskrcnn-benchmark) was fine using provided docker file.
Is there anyone experiencing the same problem as I do?

Sorry I am not familiar with docker. Have you solved this problem?


[docs] Fix TOC layout for large screen

Issue
On a large screen, if the content is short, the TOC is pushed up behind the header.

[x] I have followed (at least) the PR section of the contributing guide.

will merge once CIs are green.


move steamos-polkit-helpers to libexec and fix policy file

I now porting my setup of SteamOs Ui to ChimeraOS fork, and of the QA warning I get when creating the ebuild for gentoo, is having a folder inside /usr/bin.
I don't know if other distro also have that kinda of QA testing but since libexec it use for extra bin files why don't use that folder instead.
This PR move the folder and fixes the polkit file as well.

Ok I notice that steam have hardcoded the files to that location is odd design decision but ok


Giving labels for X axis.

Hi,
I am using the pptx library for chart generation. While it has an excellent support for generating value labels for Y axis , the same is missing for x axis. Is there a way to give some one line label for the x axis as well. I am using the following code to get Y axis labels.
value_axis = chart.value_axis
value_axis.maximum_scale = 50.0
value_axis.minor_tick_mark = XL_TICK_MARK.OUTSIDE
value_axis.has_minor_gridlines = True
tick_labels = value_axis.tick_labels
tick_labels.number_format = '0"%"'
tick_labels.font.bold = True
tick_labels.font.size = Pt(14)

Can you show an example of what that would look like when you create it "by hand" using PowerPoint? Is that something PowerPoint supports?

Powerpoint supports them in the form of Axis Titles. As shown above I have added two axis titles on the x-axis as "Categorical Values" and on the y axis as "Percentage". How can I achieve this in python-pptx?

There's an active pull request here on this, not sure if that's a help to you:
https://github.com/scanny/python-pptx/pull/198
It's not merged in yet, but hopefully will proceed to that in the next while. Encouraging the pull request with a +1 is always a help :)

Axis titles have been added in the v0.6.3 release.


DO NOT MERGE! Fast Forward stable to 4b9d38b8101b025ae3f591bd681165544299853b.

This PR will be merged automatically once checks are successful.

This change is

Jenkins job mixer/postsubmit passed

Jenkins job mixer/e2e-suite passed


Llama2 on windows - how is this possible? Possible security issue?

What is the issue?
Hello, I'm using Llama2 in Ollama on windows (preview). There are no major problems, but yesterday I tried to start Llama2 with command "ollama run llama2:70b --verbose". Before I could start writing any prompt I got respose as on attached screenshot about my processor (7950x)  (I did not write "CPU") . With data about utilisation and up time (I'm not sure but I think data was correct)?
I did not know that llama2 on ollama could interact with pc that is currently running ollama. I stoped response and tried again to get info on pc that ollama is running on but I could not get this kind of response again, only general resposne about different types of CPUs or some halucinations (that I'm running Intel CPU, different RAM quantity, different GPU...).
Is it possible that llama2 on ollama can get data about hardware of computer it's running on? Is this known fact and only my ignorance is here to blame? Are there security issues if somebody does not know that this is possible? Is this bug at all or a feature that I'm not aware? How can it be reproduced?
Thanks in advance, and sorry if I'm asking stupid question.

What did you expect to see?
Nothing.
Steps to reproduce
I tried to reproduce this response again multiple times but I could not get this kind of result.
Are there any recent changes that introduced the issue?
No.
OS
Windows
Architecture
amd64
Platform
No response
Ollama version
0.1.29
GPU
Nvidia
GPU info
3090TI
CPU
AMD
Other software
No response

From the screenshot, this looks like a copy-and-paste from some other tool into the terminal where Ollama was running.  The prefix >>> indicates this is an input prompt where Ollama is taking input from the user.  Responses will not have that prefix.  My guess is you selected this text from another application or terminal, and middle clicked in the terminal with Ollama running.  I was unable to reproduce.   It sounds like you were unable to reproduce either.  If you do find a repro scenario, let us know.

Thanks.
I'm still confused. I don't know how could I copied and pasted this data without knowing. But still, thanks. To me, it's important to know that ollama/llama2 does not have access to data about underlying hardware/operating system/file system.


Can you add a sample that consumes Parquet

Can you add a sample that consumes Parquet, not just CSV.
Thanks

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

ID: 300a38f4-7797-ee5e-5250-2e5e4b9ea343
Version Independent ID: f4dfcf0b-d912-2238-3e5b-eab550700633
Content: Calculate blob count and size using Azure Storage inventory
Content Source: articles/storage/blobs/calculate-blob-count-size.md
Service: storage
Sub-service: blobs
GitHub Login: @normesta
Microsoft Alias: normesta

Thank you for your detailed feedback.  We are looking into the issue, and we will respond when we have more information.

Thank you for your feedback @mikeblakeuk  . This has been assigned to the content owner @normesta  and will be updated as appropriate.

And also show how to convert the ['Creation-Time'] long to a datetime

Thank you for your dedication to our documentation.
We sincerely apologize for the delayed response. After a careful review, we are closing this issue. If you feel that the problem persists, please respond to this issue with additional information.
Please continue to provide feedback about the documentation. We appreciate your contributions to our community.
#please-close


Remove double space

I will turn the rule off as I prefer the code aligned here instead of removing the double space:

However, I would prefer the rule finding these cases:

Ps: They were not reported.

For after paren, there is a configuration option, https://rules.abaplint.org/double_space/
Before "=", yea, its not implemented yet

before "=" will probably be done in https://github.com/abaplint/abaplint/issues/929


Model what an "Environment" looks like

Environment:

a collection of applications and configurations for executing services together across a cluster of machines.

Currently my thinking is that an environment is nothing more than a name of something really. Other tools like CloudFormation or a Terraform plan might contain the actual definition of what's "in" an environment. All #DeployDB should really care about right now is a "name" as far as I can tell

Related to #17

I assume as a part of this ticket, we need to define Model and unit tests to verify yaml to instance conversion. If true, same thing can be said about #3 (promotion) and #9 (pipline), right?

@maheshkelkar :+1:  yes indeed!

The fix is merged


Including 'starts with' and 'ends with' simple operators in Documenta…

…tion
Camel version 3 supports "startsWith", "starts with", "endsWith", and "ends with" simple operators.
This PR includes "starts with" and "ends with" operators in the documentation and it refers to the following comment:
https://github.com/apache/camel/pull/3727#issuecomment-611971468
[ ] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] If you're unsure, you can format the pull request title like [CAMEL-XXX] Fixes bug in camel-file component, where you replace CAMEL-XXX with the appropriate JIRA issue.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Run mvn clean install -Psourcecheck in your module with source check enabled to make sure basic checks pass and there are no checkstyle violations. A more thorough check will be performed on your pull request automatically.
Below are the contribution guidelines:
https://github.com/apache/camel/blob/master/CONTRIBUTING.md

Thanks


VLAZ: Watch nsktglobal.com

VLAZ requests the watch of the watch_keyword nsktglobal\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

nsktglobal\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by cigien in Charcoal HQ


ARTEMIS-2292 - Fix queue level auto-delete for topic subscription queue

Could this issue be addressed a bit more simply by just marking the queues backing JMS topic subscriptions as "auto-created" so the existing logic will delete them when necessary?

@jbertram topic subscriptions are not really auto-created, the client performs a create...
auto-create has other side effects, right? like deleting it when no consumers and no messages? that would easily break the TCK.

Correct @clebertsuconic , also that would mean a change in behaviour for existing users, anything we do we dont want change of behaviour unless someone explicitly sets right? or we do a major version bump, which we want to avoid.

Fair enough.


Support providing a log level to empire

This would let us add more debug logging via logger.Debug(ctx, ...) and only enable these during dev or debugging.

Someone related, I'd love to do a revamp of logging. There's some places where we use the go logger (e.g. cmd/empire) and some places where we use pkg/logger. It'd also probably be good to remove the dependency on pkg/logger and bring it in as remind101/empire/logger.


Definition not found: jsx-first-prop-new-line

Any idea why I would get the following error:

Definition for rule 'jsx-first-prop-new-line' was not found?

Installed:
    "eslint": "^2.10.2",
    "eslint-config-airbnb": "^9.0.1",
    "eslint-plugin-babel": "^3.1.0",
    "eslint-plugin-import": "^1.8.0",
    "eslint-plugin-jsx-a11y": "^1.2.0",
    "eslint-plugin-react": "^4.3.0",

What does npm ls say? I suspect it will tell you you need v5.1.1 of eslint-plugin-react

I was having the same issue, ran:
npm install<EMAIL_ADDRESS>and the error went away.

@Gattermeier please reopen if that doesn't fix your problem.

same issue here, already updated to<EMAIL_ADDRESS>

@alayii what does npm ls say? Are you running a local or global eslint?

running local eslint. It's ok for now, I think is atom problem? I upgraded eslint and eslint-react-plugin, but I'm not close atom, then I reopen it, the warning is gone.
thanks for reply.

Ah, gotcha. Thanks for clarifying.


Updated to Null-Safety

I went ahead and brute forced it. I have it working in a separate project and the example is working fine as well. I went through and just replaced every file you had in your repository with its equivalent from mine. Hopefully, that works. Let me know if it doesn't and I can attempt a different approach.

I agree with all your comments. I'll make the changes and commit again.

Merged and release as 2.0.0. Thanks!

Thanks!  This is my first time being a contributor!


Ulauncher 6 (API v3) migration

This PR is to demonstrate the capabilities of Ulauncher 6 and how to migrate extensions. I picked ulauncher-fzf as I remember it had implementation details that would make it a good example for this.
It's not actually a PR meant for upstream yet, since v6 isn't out yet, and the API version is still "2" (will be bumped to "3" before release).
See https://github.com/Ulauncher/Ulauncher/issues/1062

Going to redo this with the https://github.com/friday/ulauncher-fzf/tree/apiv2 branch instead


iOS 11 crash/white screen when in background

We are using the webview for a while already, and never had any problems. Now with the iOS11 update, we see crashes of the application, resulting in a white screen.
To us it is unclear what is wrong, we already tried several things (ie, not updating the view while in background).
We do have quite active application, with a lot of (BLE) processing going on, but as mentioned, with iOS10 and older there were never any problems.
Does someone recognise this, and have any idea what is going one?
The XCode log shows the following:
017-10-02 17:31:45.878324+0200 ***[2419:356538] [ProcessSuspension]  0x1c447a040 - ProcessAssertion() Unable to acquire assertion for process with PID 0 2017-10-02 17:31:46.434234+0200 ***[2419:355854] Failed to load webpage with error: Could not connect to the server. 2017-10-02 17:31:56.067458+0200 ***[2419:355854] CDVWKWebViewEngine shouldReloadWebView:: 2017-10-02 17:31:56.067561+0200 ***[2419:355854] CDVWKWebViewEngine shouldReloadWebView title: 2017-10-02 17:31:56.067594+0200 ***[2419:355854] CDVWKWebViewEngine shouldReloadWebView location: (null) 2017-10-02 17:31:56.067629+0200 ***[2419:355854] CDVWKWebViewEngine shouldReloadWebView reload: 0 2017-10-02 17:31:56.479659+0200 ***[2419:357121] TIC Read Status [2:0x0]: 1:57 2017-10-02 17:31:56.479740+0200 ***[2419:357121] TIC Read Status [2:0x0]: 1:57

Also wondering the same as we moved from Telerik WKWebView to this one. Wondering if it requires Ionic also, or can it be used independently?

Well, for us it turned out to be a performance issue. Apparently iOS has added more/increased restrictions to the webview. We have a quite CPU intensive app, also when in the background (BLE handling), and this caused the issue. We moved the handling to a webworker, which seems to have "fixed" the issue for us.


System.Collections.Generic.KeyNotFound Exception

With the latest version of MariaDB the backup function is causing an exception, even in your test app.
The exception is located at: mysql.data.mysqlclient.mysqlfield.setfieldencoding()

exception

Hi, the character set of "utf8mb3" is not supported in MySQL, therefore the dot net connector MySQL.DATA.DLL does not include the collection for "utf8mb3". You may try to change your database character set of "utf8mb3" to "utf8mb4".
 Manually editing the db and setting to utf8mb4 fixed the issue. The problem with the latest version of MariaDB will persist in the future as it uses by default utf8mb3 dor utf8 and until now i'm unable to change the default.
Thank you very much!

Hi @mariusvaida , I have released another version of MySqlBackup.NET for MySqlConnector (MIT), so you can try use this version to run a test and see if MySqlConnector has any issue with utf8mb3.
Here is the nuget for MySqlConnector:
PM> Install-Package MySqlBackup.NET.MySqlConnector
https://www.nuget.org/packages/MySqlBackup.NET.MysqlConnector/
You're recommended to test this on a new blank project, this is because MySqlConnector uses the same namespace as MySql.Data.DLL, and thig might crashes your project.


document bid.meta fields

We currently have some fields listed under bid.meta (see https://github.com/prebid/Prebid.js/issues/3115) - we should document these in the appropriate API section on the website.
Note some are more aspiration currently (not all bidders set this information)

Would that be http://prebid.org/dev-docs/bidder-adaptor.html ?

https://github.com/prebid/prebid.github.io/pull/1911


Fix tensorrt backend igpu build

shape_tensor.cc and shape_tensor.h need to be included only for TRT v10 and above.

Approved pending successful pipeline. Good work Sai!


fix: limit github reporter payload size

GitHub checks API has a limit on the size of the payload it receives.
This change ensures that all requests are within this limit.
See issue https://github.com/siddharthkp/bundlesize2/issues/7 for more details.

@siddharthkp what did you think about this change? It'd be great to get something like this into the codebase, so that we can stop using a forked version.

Oh yeah, this is a good idea 👍
Will cut a new release today

Great! Thanks 🙏

published 0.0.26


Wallet connect problem

I cannot connect my wallet to tesnet

You need to switch your network to bsc testnet in your wallet.


Does the recent feature for typing_extensions.NotRequired support the functional syntax?

Thanks for adding this feature! Is the parsing supposed to work with the functional syntax or does it only support the class-based syntax rn?
E.g. I just tried the following on v0.5.14 and neither of the two examples below seem to work and it shows up as required in the help text... Is there something wrong with my syntax? I'm on python3.9 so I'm importing these via typing_extensions instead of Typing as suggested here.
from typing_extensions import TypedDict, NotRequired
from typing import Callable, Literal, Optional, Type, Dict, Union

NerfMLPHiddenLayers_1 = TypedDict(
    "NerfMLPHiddenLayers1",
    {
        "hidden_layers.0": NotRequired[int],
        "hidden_layers.1": NotRequired[int],
        "hidden_layers.2": NotRequired[int],
        "hidden_layers.3": NotRequired[int],
        "hidden_layers.4": NotRequired[int],
        "hidden_layers.5": NotRequired[int],
        "hidden_layers.6": NotRequired[int],
        "hidden_layers.7": NotRequired[int],
    },
)

NerfMLPHiddenLayers_2 = TypedDict(
    "NerfMLPHiddenLayers2",
    {
        "hidden_layers.0": int,
        "hidden_layers.1": int,
        "hidden_layers.2": int,
        "hidden_layers.3": int,
        "hidden_layers.4": int,
        "hidden_layers.5": int,
        "hidden_layers.6": int,
        "hidden_layers.7": int,
    },
    total=False
)

Hi @saeejithnair, thanks for flagging this!
This looks like it's probably a bug, but I haven't been able to reproduce it. I just pushed a test that also checks this behavior in the CI. Do you mind sharing a runnable example, or perhaps more information about your Python environment? (like the typing_extensions version)

Actually, I think I figured it out — there was an edge case when a TypedDict field had a default specified, which is probably the case in your NeRF config. I just did a release that should have the issue fixed. (if it's not would appreciate you letting me know!)


Remove deprecated use of Bitwise

Since 1.14.0, it's not needed to use Bitwise. This results in warning in users above that version, and that is an old version by now.

duplicate of https://github.com/zyro/elixir-uuid/pull/68


macos can't use Ctrl-h to delete character on somewhere in the insert mode

General information

Terminal program: iterm2 3.5.0beta9, mac(m1) default terminal
Operating system: macOS Ventura 13.1
ZSH framework: none
ZSH version: 5.8.1 (x86_64-apple-darwin22.0)
ZVM version: stable 0.9.0

Basic examination

[x] I have read through the README page
[x] I have the latest version of zsh-vi-mode
[x] I have tested with another terminal program

Problem description
can't use Ctrl-h to delete character on anywhere in the insert mode after normal mode into insert mode
Reproduction steps

type or paste command, such as setopt
escape from insert mode to normal mode, move the cursor to anywhere, eg: set | opt
and then press a or A to insert mode, use Ctrl-h to delete character, only can delete character after set

Expected behavior

type or paste command, such as setopt
escape from insert mode to normal mode, move the cursor to anywhere, eg: set | opt
and then press a or A to insert mode
use Ctrl-h delete character on anywhere

.zshrc config
zvm_before_init() {
local ncur=$(zvm_cursor_style $ZVM_NORMAL_MODE_CURSOR)
ZVM_INSERT_MODE_CURSOR=$ncur'\e\e]12;#929292\a'
ZVM_NORMAL_MODE_CURSOR=$ncur'\e\e]12;#008800\a'
}
zvm_config() {
ZVM_LINE_INIT_MODE=$ZVM_MODE_INSERT
ZVM_VI_ESCAPE_BINDKEY=jk
ZVM_VI_HIGHLIGHT_BACKGROUND=#519e97
}
source /opt/homebrew/opt/zsh-vi-mode/share/zsh-vi-mode/zsh-vi-mode.plugin.zsh

sorry, i misunderstand the feature of shortcut 'ctrl-h'

This exact same issue also exists in Linux. I'm using Debian 12.


Support for tap on GearVR (in Carmel)

Accept the GearVR controller and use it as 0DOF

Closing due to inactivity.


Fix missing models when client hierarchy and naming issue for enum with projected name

fix: https://github.com/Azure/typespec-azure/issues/119
fix: https://github.com/Azure/autorest.python/issues/2352

You can try these changes at https://cadlplayground.z22.web.core.windows.net/typespec-azure/prs/120/
Check the website changes at https://tspwebsitepr.z22.web.core.windows.net/typespec-azure/prs/120/

@iscai-msft could you help to approve and merge?


Added Pong Game as a project.

Pre-Submission Checklist

[x] Your pull request targets the staging branch of freeCodeCamp.
[ ] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[ ] All new and existing tests pass the command npm test. Use git commit --amend to amend any fixes.

Type of Change

[ ] Small bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[ ] Tested changes locally.
[ ] Addressed currently open issue (replace XXXXX with an issue no in next line)

Description

I have added pong game as a project. I didn't add translation as of yet. Thanks @QuincyLarson for giving me chance to contribute. 😄

Hi @satyamchaudharydev,
Thank you for your submission. Really great work here! Building a pong game is an awesome idea for a project, and I had fun playing your game on Codepen. Your AI really is unbeatable!
I would just like to suggest a few small changes to your code.
First, could you change the id for your challenge? Here's a unique one that works on my computer:
"id": "5a471f7cb1533218be62dc68",
Next, let's change the title just a bit:
"title": "Build a Pong Game",
Also, let's change a couple of your user stories and add one more about the game score:
"User Story: I can control a paddle.",         "User Story: The computer can control the other paddle.",         "User Story: The computer's paddle is unbeatable. It should never miss the ball.",         "User Story: The game keeps track of the player and computer's score.",
Finally, I think we'll need a new challengeSeed. Unfortunately, I don't know how to generate one. @BerkeleyTrue and @raisedadead, do you know how to generate a new one?

Hi @scissorsneedfoodtoo thanks for taking the time to QA this.
And nice catch about the challenge id. We should probably add a test if not already for checking conflicting challenge id.
To generate a new one in a shell (assuming MongoDB is running separately):

Run mongo command
Run ObjectId() command

Output:
$ mongo
MongoDB shell version v3.6.1
connecting to: mongodb://<IP_ADDRESS>:27017
MongoDB server version: 3.4.10
...
$ ObjectId()
ObjectId("5a474d78df58bafeb3535d34")

The result is a new id, for example "5a474d78df58bafeb3535d34" above.

@satyamchaudharydev
Thanks a lot for taking the the time to contribute and preparing this PR.
However, we are going to have to close this as this made over GitHub interface and hence not tested locally, by running the Dev server (npm run develop).
We understand that you are doing this for the first time to this code-base, sincerely appreciate the effort.
Please follow our Guidelines for Contributing to make a fresh request and reach us in Contributors Chat room for any assistance needed, we are happy to help you through this.
Apart from the code changes done for the new challenge, we need a new id which can be generated like in my earlier comment.
We should update our guide to make this more clear in future.
Thanks and happy contributing!

Hi @raisedadead, thank you for your thorough comments!
Yes, maybe some checks for conflicting challenge ids when a pull request is submitted would help prevent future issues. I only caught it when running npm test locally.
When testing this challenge I found that the challengeSeed array was the same as an earlier challenge. Is there a way to generate a unique challengeSeed array, too?
@satyamchaudharydev, let us know if you need help editing and testing your challenge!

@satyamchaudharydev Have you had a chance to look at this feedback? You are 90% of the way there, and we're eager to merge this.
I can make these changes for you, but I'd rather you get credit for your contribution. Please let me know if there's anything I can do to help.


Edge problem

The example page doesn't open with Edge browser :-)

Which browser exactly? It works fine on canary

Microsoft Edge 38.14393.0.0


Added benchmark and test for dispatcher

Based on the PR branch: https://github.com/aspnet/Routing/pull/520
cc @rynowak @JamesNK @sebastienros

Commi: 2fed6710a9b48093565328515fd83fd345366737


RoughnessFactor not being generated during export

When setting up a material with a Roughness texture connected to a MixRGB node (multiplying by a color value), the resulting export has no RoughnessFactor defined.
To Reproduce
Steps to reproduce the behavior:

Open the included .blend
Look at the Shader Editor (confirm the material setup is sound)
Export the scene as a .glTF
Open the resulting .glTF and observe the lack of RoughnessFactor. The ocean part of the sphere should appear slightly glossy, as opposed to the matte finish it would have without the MixRGB node. Instead, it remains matte.

Expected behavior
According to the Blender manual, the MixRGB node set to Multiply should generate a RoughnessFactor.
Screenshots

.blend file/ .gltf
Attached below.
Version

OS: Windows 11
Blender Version: Release 3.1.2
Exporter Version: 1.8.19

RoughnessFactor_Earth.zip

Roughness is a scalar, so the exporter is expecting scalar multiplication: a Math node (Add > Converter > Math) set to Multiply. Use this instead (note the value is 0.35).

Also even if you were doing a color, the exporter expects a MixRGB node set to Multiply with a Fac of 1 (although it doesn't actually check that). The factor should go in the other socket.

About your setup: Fac is a lerp factor between Color1 and Color1 * Color2. In general this is not a product unless Fac=1, but in your case since Color2=0, it's lerp(Color1, 0, Fac) = (1-Fac)*Color1, so it is actually equivalent to multiplying by 0.35.

So, no issue here. Tagging as documentation, this may need an update, or additionnal explaination about factors (scalar/color)


Sidepanel-tab

I like this. Just curious, however, why the panel opens with the second tab highlighted but shows the text of the first tab? Is there an easy way to have the first tab highlighted so that it reflects the text when first opening the panel?
Thanks!

All I had to do was look a bit harder at the JS. Doh!
startTab: 'tab-1'


Can't install Supabase CLI following the instructions

I'm following along with the instructions in the Readme, and the Supabase CLI installation isn't working. This is the output I'm getting:
$ npm install supabase --save-dev

><EMAIL_ADDRESS>preinstall /workspaces/nextjs-stripe-supabase/node_modules/supabase
> node scripts/preinstall.js

internal/process/esm_loader.js:74
    internalBinding('errors').triggerUncaughtException(
                              ^

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string.  Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>preinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/codespace/.npm/_logs/2022-11-26T17_46_46_573Z-debug.log

Can you try running npx supabase --version and see if your machine prompts to install that way?

Also, could you share with us the contents of package.json that you have initialised?

Can you try running npx supabase --version and see if your machine prompts to install that way?

No luck, unfortunately.
$ npx supabase --version
internal/process/esm_loader.js:74
    internalBinding('errors').triggerUncaughtException(
                              ^

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received an instance of Object
    at new NodeError (internal/errors.js:322:7)
    at validateString (internal/validators.js:124:11)
    at Object.basename (path.js:1281:5)
    at parsePackageJson (file:///home/codespace/.npm/_npx/9064/lib/node_modules/supabase/scripts/preinstall.js:62:22)
    at async main (file:///home/codespace/.npm/_npx/9064/lib/node_modules/supabase/scripts/preinstall.js:88:16)
    at async file:///home/codespace/.npm/_npx/9064/lib/node_modules/supabase/scripts/preinstall.js:115:1 {
  code: 'ERR_INVALID_ARG_TYPE'
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>preinstall: `node scripts/preinstall.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>preinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/codespace/.npm/_logs/2022-11-30T23_24_35_276Z-debug.log
Install for [ 'supabase@latest' ] failed with code 1

Also, could you share with us the contents of package.json that you have initialised?

Attached
package.json.txt
package-lock.json.txt
yarn.lock.txt

@JPVRS you might have a corrupted supabase module in your local npm. Could you check the contents of the following files:
cat /workspaces/nextjs-stripe-supabase/node_modules/supabase/package.json
cat /home/codespace/.npm/_npx/9064/lib/node_modules/supabase/package.json

Both of them should contain the line "bin": "bin/supabase",
Last resort is to delete your node_modules directory and try agian.
Let me know if it works.

I "resolved" this by setting up the environment on my local machine instead of using Github Codespaces (which is unfortunate because other than this issue, Codespaces was working great for me).


Add support for Amazon Elastisearch Service

I wanted to propose extending Jest to support AWS Signature V4 signing which would allow for seamless integration with [Amazon Elasticsearch Service] (https://aws.amazon.com/elasticsearch-service/)
Proposal is to take in an additional transportOptions Map while setting up the HttpClientConfig
{
"type": "aws" (extend to others as needed)
"region": "us-east-1",
"service" : "es",
secret_key, (optional)
access_key (optional)
}

config = new HttpClientConfig.Builder("https://foo.es.us-east-1.amazonaws.com:80").transportOptions(<Map>).build();`

We can have a JestHttpClientFactory which defaults to the JestHttpClient and other implementations like AmazonESJestHttpClient based on transportOptions.get("type")

This has been discussed before in #248 and @thesmith has created aws-signing-request-interceptor for this purpose.


1.8.1

should resolve #5  and #14

Created the appropriate branch. Please squash to one commit.

should be fixed


segfault in ls due to multibyte character

When trying to list files in a directory with multibyte characters (one example is specifically ő, ls segfaults. This happens because in crunch_qb, len is declared unsigned, but then set to wcrtomb's return value, which is -1 when the character cannot be represented as a multibyte sequence (according to the current locale) (taken from the wcrtomb manpage). The reason that wcrtomb is returning -1 here, despite the character being representable as a multibyte sequence according to my locale is the if (CFG_TOYBOX_I18N) setlocale(LC_CTYPE, "C.UTF-8"); in main.c. If len is declared as a signed int instead of unsigned, avoiding the segfault, binary output occurs where the character is. This still happened when I commented the setlocale line just to see what would happen, and of course didn't when I uncommented it but replaced C.UTF-8 with my locale.

I send a patch to mailinglist to fix seqfault when wcrtomb returns -1
With my locale and i18n support on I could not confirm and your char ő prints fine. But if i turn i18n off
I get seqfault.
link to thread
http://lists.landley.net/pipermail/toybox-landley.net/2019-October/011026.html


Blogger mode

Blogger adds <br/> instead of \n to posted codes automatically. It needs this fix to work:
/** Blogger mode flag. */
bloggerMode : false,

var br = /<br\s*\/?>/gi;
if (config.bloggerMode == true){
    str = str.replace(br, '\n');
}

It's taken from alexgorbatchev.com/SyntaxHighlighter.

I'll close this issue as a duplicate of #832. Hopefully the same solutions apply.


Add friend link

See https://github.com/syhily/yufan.me/commit/fc21173895d00c65ff8f470624febf06c97dea5f


replaceState needs third argument

Version
3.0.1
Reproduction link
https://github.com/raxxarr/router-demo.git
Steps to reproduce

in latest Safari(OS X or iOS)
add base element: <base href="/app/">
set router mode: history

open page 1 via url: localhost:8080/app/p1
navigate to /app/p2 by clicking button
click history back button on browser

What is expected?
jump back to /app/p1
What is actually happening?
jump to /app/

This issue is caused by using replaceState without giving a third argument when trying to fix a Firefox scroll issue (https://github.com/vuejs/vue-router/blob/dev/src/util/scroll.js#L9)； This works fine on most browsers except for Safari.
According to whatwg spec，if the 3rd argument is not given，browser should set current url into history，but Safari set the base url.
Here is Webkit source code: https://trac.webkit.org/browser/webkit/branches/safari-6<IP_ADDRESS>-branch/Source/WebCore/page/History.cpp#L157
Here is Blink source code: https://chromium.googlesource.com/chromium/blink/ /master/Source/core/frame/History.cpp#153
As is seen, what Safari do is not what we expect when we omit the 3rd argument.
Although this is not really a vue-router bug, we can add a third argument(current path) to avoid something weird happen.
ps: this bug is confirmed by Webkit https://bugs.webkit.org/show_bug.cgi?id=182678

@LinusBorg I've add a demo repository to reproduce this issue.

Thanks for reporting this. I created a PR, need to check tests and on IE to add a conditional call or not


[sca] Make Ibex sleep for OTBN operations in sw/device/sca.

Description
See https://github.com/lowRISC/opentitan/pull/17317#discussion_r1113695564

One idea, we can make the sleep delay configurable via a "simple interface" command to be issued one time before starting the captures. That way we can tweak the delay as needed based on what we see on the traces.

@moidx would this incur a hardware change?
Just gauging whether this is something we need to consider for PROD.

No hardware change required. This is just a test optimization.


Fix docs BusyTimeout

Remove the comment which was indicating to return something because the
function does actually return nothing.

Thanks!


Autofill doesn't work correct in web for Safari

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

Open sample by link https://rexios80.github.io/flutter_autofill_test/stable/#/
Try to autofill password or email.

Expected results
Autofill dialog
Actual results
Blink of autofill dialog
Code sample
Sample of code you can find by link
Screenshots or Video

Screenshots / Video demonstration
https://github.com/flutter/flutter/assets/17007214/e5571f2e-9d0f-4571-80a6-a93104e01f89

Logs
No response
Flutter Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 3.11.0-15.0.pre.44, on macOS 13.4 22F66 darwin-arm64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc2)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] VS Code (version 1.78.2)
[✓] Connected device (3 available)
[✓] Network resources

This seems to be similar to https://github.com/flutter/flutter/issues/71275.
Are you clicking repeatedly on the field? Can you share a minimal sample code so that I can verify this?

You can click one time or clicking repeatedly. It doesn't matter
Minimal sample code
import 'package:flutter/material.dart';

void main() async {
  final emailController = TextEditingController();
  final passwordController = TextEditingController();

  runApp(
    MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text('Autofill Test')),
        body: ListView(
          padding: const EdgeInsets.all(16),
          children: [
            AutofillGroup(
              child: Column(
                children: [
                  TextField(
                    controller: emailController,
                    autofillHints: const [AutofillHints.email],
                    decoration: const InputDecoration(labelText: 'Email'),
                  ),
                  const SizedBox(height: 16),
                  TextField(
                    controller: passwordController,
                    autofillHints: const [AutofillHints.password],
                    decoration: const InputDecoration(labelText: 'Password'),
                    obscureText: true,
                  ),
                ],
              ),
            ),
            const SizedBox(height: 16),
            ElevatedButton(
              onPressed: () {
                emailController.clear();
                passwordController.clear();
              },
              child: const Text('Clear'),
            ),
          ],
        ),
      ),
    ),
  );
}

Thanks, I can see the suggestion popup has blinking effect when focusing on it.
Also, it doesn't appear on stable channel 3.10.2 but appears on the latest master channel.

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.10.2, on macOS 13.0.1 22A400 darwin-x64, locale en-VN)
    • Flutter version 3.10.2 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 9cd3d0d9ff (22 hours ago), 2023-05-23 20:57:28 -0700
    • Engine revision 90fa3ae28f
    • Dart version 3.0.2
    • DevTools version 2.23.1

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 32.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.78.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.64.0

[✓] Connected device (3 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos            • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)     • chrome           • web-javascript • Google Chrome 113.0.5672.126

[✓] Network resources
    • All expected network resources are available.

• No issues found!

[!] Flutter (Channel master, 3.11.0-16.0.pre.78, on macOS 13.0.1 22A400 darwin-x64, locale en-VN)
    • Flutter version 3.11.0-16.0.pre.78 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 60a87d0798 (4 minutes ago), 2023-06-01 21:27:17 -0700
    • Engine revision 3a453f2ccb
    • Dart version 3.1.0 (build 3.1.0-160.0.dev)
    • DevTools version 2.24.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 32.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.78.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.64.0

[✓] Connected device (3 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos            • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)     • chrome           • web-javascript • Google Chrome 114.0.5735.90

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

We have some DOM structure changes in master that aren't in stable to fix some autofill issues in Chrome.  However, I was able to reproduce this and I can see the issue occurring on both stable and master so they're not related.  @huycozy is there a specific way you were triggering the popup so that it was working on stable? Behavior seems to be identical in my testing.
This could be related to how we're handling focus on Safari.  I've noticed that the issue only occurs when clicking into the field, but tabbing into the field displays the popup normally without blinking.

@htoor3 I just checked this issue on the latest stable 3.10.4. Even though there is no popup, there is also no blinking effect as on master channel.

stable
master

I'm using Safari version 16.1 (186<IP_ADDRESS>.12). Hope this info is useful.

Thank you for the info @huycozy! @Oleh-Sv, could you provide your Safari version where you're seeing the blinking occurring on stable? Im seeing it occur on 16.5.
I think Safari recently made some shadowDOM changes to support autofill, which might explain why the popup isn't showing at all (blinking) in @huycozy's example.  I think we just need to verify that this bug is independent of the changes from https://github.com/flutter/engine/pull/40968 which are in master, but not in stable

@htoor3 Version 16.5 (186<IP_ADDRESS>.4)

A fix has been pushed to master - please let me know if you run into additional issues!


CI currently broken

A compile error sneaked into master, effectively stopping all PRs for passing continuous integration testing.
Example: #1093 fails CircleCI, due to CastImageFilterTest.

@hjmjohnson this does not have much to do with CI infrastructure. It is a compile error which needs fixing. @blowekamp The errors seem to be coming from files you updated recently. Can you see what is the problem?

OK. I am not seeing these errors on my builds.  What options need to be turned on?

I don't know what is important, but as it happens with CircleCI, its config file should be a good starting point.

It looks like the compiler recently changed from GCC 6.3.0 to 8.30.

@blowekamp Were you going to look into this any more?

Addressed by @blowekamp  in #1101 and #1099


Home page

i want to Fix the issue where the login page appears on both the Home and Login pages. Ensure the Home page displays a background image, a welcome description, and a footer with contact information. The Login page should remain separate. Add appropriate links in the header to navigate between the Home and Login pages

@kundana29 another contributor is working on that please check issue section first before raising any issues.


Windows app crashing on keyboard or mouse inputs

Steps to Reproduce

Run flutter create --patforms=windows bug.

Run the application as it is. In my case, I have used bitsdojo_window for frame less window. Not sure if it was because of this(mostly nope). Then when I left/right click on mouse or any ctrl, Fn, Alt, Shift keys will be throwing this error.
Expected results:
Show work fine.
Actual results:
Closes the app with the error mentioned below.

Logs

flutter run (no verbose)
Launching lib\main.dart on Windows in debug mode...
lib\main.dart:1
Connecting to VM Service at ws://<IP_ADDRESS>:51149/nHDy7Wu63E0=/ws
[ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: 'package:flutter/src/services/hardware_keyboard.dart': Failed assertion: line 787 pos 16: 'false': Should never encounter KeyData when transitMode is rawKeyData.
#0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:46:39)
#1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)
#2      KeyEventManager.handleKeyData
package:flutter/…/services/hardware_keyboard.dart:787
#3      PlatformDispatcher._dispatchKeyData.<anonymous closure> (dart:ui/platform_dispatcher.dart:375:61)
#4      _invoke2.<anonymous closure> (dart:ui/hooks.dart:205:15)
#5      _rootRun (dart:async/zone.dart:1428:13)
#6      _CustomZone.run (dart:async/zone.dart:1328:19)
#7      _CustomZone.runGuarded (dart:async/zone.dart:1236:7)
#8      _invoke2 (dart:ui/hooks.dart:204:10)
#9      PlatformDispatcher._dispatchKeyData (dart:ui/platform_dispatcher.dart:373:5)
#10     _dispatchKeyData (dart:ui/hooks.dart:104:31)
Unable to parse JSON message:
The document is empty.

════════ Exception caught by services library ══════════════════════════════════
The following _CastError was thrown during a platform message callback:
Null check operator used on a null value

When the exception was thrown, this was the stack
#0      KeyEventManager._convertRawEventAndStore
package:flutter/…/services/hardware_keyboard.dart:884
#1      RawKeyboard.handleRawKeyEvent
package:flutter/…/services/raw_keyboard.dart:677
#2      KeyEventManager.handleRawKeyMessage
package:flutter/…/services/hardware_keyboard.dart:818
#3      BasicMessageChannel.setMessageHandler.<anonymous closure>
package:flutter/…/services/platform_channel.dart:73
#4      BasicMessageChannel.setMessageHandler.<anonymous closure>
package:flutter/…/services/platform_channel.dart:72
Launching lib\main.dart on Windows in debug mode...
lib\main.dart:1
Connecting to VM Service at ws://<IP_ADDRESS>:51149/nHDy7Wu63E0=/ws
#5      _DefaultBinaryMessenger.setMessageHandler.<anonymous closure>
package:flutter/…/services/binding.dart:379
#6      _DefaultBinaryMessenger.setMessageHandler.<anonymous closure>
package:flutter/…/services/binding.dart:376
#7      _invoke2.<anonymous closure> (dart:ui/hooks.dart:205:15)
#11     _invoke2 (dart:ui/hooks.dart:204:10)
#12     _ChannelCallbackRecord.invoke (dart:ui/channel_buffers.dart:42:5)
#13     _Channel.push (dart:ui/channel_buffers.dart:132:31)
#14     ChannelBuffers.push (dart:ui/channel_buffers.dart:329:17)
#15     PlatformDispatcher._dispatchPlatformMessage (dart:ui/platform_dispatcher.dart:544:22)
#16     _dispatchPlatformMessage (dart:ui/hooks.dart:92:31)
(elided 3 frames from dart:async)
════════════════════════════════════════════════════════════════════════════════
Lost connection to device.

PS C:\Users\yaswa> flutter doctor -v
[✓] Flutter (Channel stable, 2.5.0, on Microsoft Windows [Version 10.0.22454.1000], locale en-IN)
    • Flutter version 2.5.0 at C:\src\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4cc385b4b8 (6 days ago), 2021-09-07 23:01:49 -0700
    • Engine revision f0826da7ef
    • Dart version 2.14.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at C:\Users\yaswa\AppData\Local\Android\sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: C:\Users\yaswa\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\203.7678000\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.2)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.11.31624.102
    • Windows 10 SDK version 10.0.20348.0

[✓] Android Studio (version 2020.3)
    • Android Studio at C:\Users\yaswa\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\203.7678000
    • Flutter plugin version 60.0.2
    • Dart plugin version 203.8292
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.60.0)
    • VS Code at C:\Users\yaswa\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.26.0

[✓] Connected device (4 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86    • Android 11 (API 30) (emulator)
    • Windows (desktop)                  • windows       • windows-x64    • Microsoft Windows [Version 10.0.22454.1000]
    • Chrome (web)                       • chrome        • web-javascript • Google Chrome 93.0.4577.63
    • Edge (web)                         • edge          • web-javascript • Microsoft Edge 93.0.961.47

• No issues found!

Note: I will update the verbose run once I get back on it.
Device details:

Few more logs
Reloaded 1 of 932 libraries in 297ms.
Unable to parse JSON message:
The document is empty.

════════ Exception caught by services library ══════════════════════════════════
The following assertion was thrown during a platform message callback:
A KeyUpEvent is dispatched, but the state shows that the physical key is not pressed. If this occurs in real application, please report this bug to Flutter. If this occurs in unit tests, please ensure that simulated events follow Flutter's event model as documented in `HardwareKeyboard`. This was the event: KeyUpEvent#44bb2(physicalKey: PhysicalKeyboardKey#700e2(usbHidUsage: "0x000700e2", debugName: "Alt Left"), logicalKey: LogicalKeyboardKey#00104(keyId: "0x200000104", keyLabel: "Alt Left", debugName: "Alt Left"), character: null, timeStamp: 14:25:21.749924)
'package:flutter/src/services/hardware_keyboard.dart':
Failed assertion: line 441 pos 16: '_pressedKeys.containsKey(event.physicalKey)'

2

Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
  https://github.com/flutter/flutter/issues/new?template=2_bug.md

When the exception was thrown, this was the stack
#2      HardwareKeyboard._assertEventIsRegular.<anonymous closure>
package:flutter/…/services/hardware_keyboard.dart:441
#3      HardwareKeyboard._assertEventIsRegular
package:flutter/…/services/hardware_keyboard.dart:452
#4      HardwareKeyboard.handleKeyEvent
package:flutter/…/services/hardware_keyboard.dart:543
#5      KeyEventManager.handleRawKeyMessage
package:flutter/…/services/hardware_keyboard.dart:821
#6      BasicMessageChannel.setMessageHandler.<anonymous closure>
package:flutter/…/services/platform_channel.dart:73
#7      BasicMessageChannel.setMessageHandler.<anonymous closure>
package:flutter/…/services/platform_channel.dart:72
#8      _DefaultBinaryMessenger.setMessageHandler.<anonymous closure>
package:flutter/…/services/binding.dart:379
#9      _DefaultBinaryMessenger.setMessageHandler.<anonymous closure>
package:flutter/…/services/binding.dart:376
#10     _invoke2.<anonymous closure> (dart:ui/hooks.dart:205:15)
#14     _invoke2 (dart:ui/hooks.dart:204:10)
#15     _ChannelCallbackRecord.invoke (dart:ui/channel_buffers.dart:42:5)
#16     _Channel.push (dart:ui/channel_buffers.dart:132:31)
#17     ChannelBuffers.push (dart:ui/channel_buffers.dart:329:17)
#18     PlatformDispatcher._dispatchPlatformMessage (dart:ui/platform_dispatcher.dart:544:22)
#19     _dispatchPlatformMessage (dart:ui/hooks.dart:92:31)
(elided 5 frames from class _AssertionError and dart:async)
════════════════════════════════════════════════════════════════════════════════
Lost connection to device.
Exited (sigterm)

@yahu1031
There's a similar open issue describing your case, https://github.com/flutter/flutter/issues/89982
Please follow-up there for updates.
Closing this as a duplicate.

@yahu1031 Are you still encountering this issue on the latest master?

@dkwingsmt sometimes yes.

I mean, it would be best if you can describe a reproduction step and verify it on latest master, since there have been some fixes since when you first wrote this issue and we've been playing around for a bit as well.

@dkwingsmt Sorry to make you wait. I couldn't face it now on the latest changes. Please don't lock this convo. If I get any issues I will write a comment.


Ods 4482

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Peter Tar seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


chore(examples): add postcss as tailwindcss dependency (#1497)

Problem
tailwind cannot run without postcss for the tailwindcss example
Error log
$ yarn build:css
yarn run v1.22.17
$ tailwindcss -o ./app/tailwind.css
node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module 'postcss'
Require stack:
- ~/remix/examples/tailwindcss/node_modules/tailwindcss/lib/lib/generateRules.js
- ~/remix/examples/tailwindcss/node_modules/tailwindcss/lib/lib/expandTailwindAtRules.js
- ~/remix/examples/tailwindcss/node_modules/tailwindcss/lib/processTailwindFeatures.js
- ~/remix/examples/tailwindcss/node_modules/tailwindcss/lib/cli.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (~/remix/examples/tailwindcss/node_modules/tailwindcss/lib/lib/generateRules.js:6:39)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '~/remix/examples/tailwindcss/node_modules/tailwindcss/lib/lib/generateRules.js',
    '~/remix/examples/tailwindcss/node_modules/tailwindcss/lib/lib/expandTailwindAtRules.js',
    '~/remix/examples/tailwindcss/node_modules/tailwindcss/lib/processTailwindFeatures.js',
    '~/remix/examples/tailwindcss/node_modules/tailwindcss/lib/cli.js'
  ]
}
error Command failed with exit code 1.

Success log
$ yarn build:css
yarn run v1.22.17
$ tailwindcss -o ./app/tailwind.css

Done in 278ms.
Done in 0.99s.

Related issue
#1497

are you using yarn? tailwind has postcss as a peer dependency and yarn doesn't automatically install those like npm does https://github.com/tailwindlabs/tailwindcss/issues/6916#issuecomment-1006068211

yes, I use yarn. however, thinking of Remix as a standard project, I expect that to be easy to install with major package managers including yarn.

If you're using the Tailwind CLI (which we are in this example), you don't need to install postcss

If you're using the Tailwind CLI (which we are in this example), you don't need to install postcss

If you are using yarn you do because the tailwind cli improperly marks PostCSS as a peer dependency. See Logan's comment / link above.


[TACHYON-570] Adding documentation and tests to what was CommonUtils.

https://tachyon.atlassian.net/browse/TACHYON-570
Common utility functions are split up into several utils files.
So are their tests.

Thanks for improving our unit-tests! A few comments left

addressed your comments, @apc999

Two more minor comments here left. Thanks for the update!

+1 LGTM

@yuzhu Looks good overall, just two minor comments.

+1 LGTM


release: 3.0.2

Closes https://github.com/hexojs/warehouse/issues/72

https://github.com/hexojs/warehouse/releases/tag/3.0.2
https://www.npmjs.com/package/warehouse/v/3.0.2


Taskbar icon missing on first launch of Squirrel.Windows Electron app

After the install/update of Electron app (setup build using Squirrel.Windows), initial launch shows blank icon on the taskbar. Closing and relaunching the app shows the icon properly.
Electron version: 0.32.0
Squirrel version: 1.0.2
On restart of the process, icon on the Taskbar (not Tray icon) is shown properly.
I already have the following lines of code at the start of main process
var aumid = 'com.squirrel.xxxx.xxxx';
app.setAppUserModelId(aumid);

/cc @paulcbetts

So, my psychic debugger is saying that this won't happen on a clean machine, because this actually isn't the initial launch, you're running it from two places:

From your build location (i.e. a temp dir)
From the installed directory

The good news is, this is fixed in the very latest versions of both Squirrel and Electron - have the latest of both and you should be :gem:

@paulcbetts I'm seeing somethign similar on first install. Packaged using electron 0.36.2 and built with grunt-electron-installer 1.2.0. Screenshots attached are from the build box but same happens on fresh machines.
Notice the icon in explorer

Everthing is perfect when the application launches after installation.

On first launch with every update, App first launch with older version and create latest version executable hive under "%AppData%". On second launch we will get updated version of app.
Can you please guide me what and where I am going wrong?


Sudden disappearance of the strums, issues with parsing

Randomly, while playing, there seems to be a chance that the strum lines will basically pop off (quite literally, will disappear outta nowhere) into background only, while the song's still going. This issue applies to anything and it's needed to refresh or close the tab and re-open the web.
And with a good couple of songs it can't seem to find a .osu file, and this time on one for some reason it wouldn't work for not having a background image?
(idk if it's okay to use one for two, but if not then tell me, if it's somewhere in the guidelines sorry for not reading, I'm just assuming the basics lol... also I think I forgor labels, didn't I?)

Odd, I'll take a look into the disappearing notes
Which songs were you trying to load where it couldn't find a .osu or background image?
There's no guidelines for reporting problems btw, this is pretty casual since this is largely a solo person project xd

I can't seem to reproduce the disappearing notes. I've made a potential fix but I have no clue if it worked, try it on your end
I've also made it so maps that don't have a background image can still load. However, let me know if there's actually supposed to be a background image but it's still missing


Web support?

https://snack.expo.io/@dabakovich/mentionsapp - see web tab
Looks like there are two present issues.

The rendered  is getting an object as its value
Selecting a mention doesn't actually seem to modify the value

It looks like you're rendering elements inside of the  as children when you could wrap the <TextInput and the  overlay in a . Will try to make a PR.

https://github.com/dabakovich/react-native-controlled-mentions/pull/32


Add battery support to AQ sensor and update default values for concen…

Update Air Quality Sensor chef sample app to support Power Source cluster.
Update default values for concentration measurement to better represent real world values.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


[TS-3476] Add a log tag for application protocol

JIRA: https://issues.apache.org/jira/browse/TS-3476

Looks good to me.
My only question was why had the PluginIdentity been earlier removed as a  parent of the SpdyClientSession?    I'm sure that was an accident, so adding it back should be just fine.

Looks reasonable as a stopgap to me. Hopefully we can in the near future do better through restructuring the underlying protocol handling structure as in TS-3612. We should revisit this code after that is done.

@shinrich ah yeah I wasn't sure why it'd been dropped but I also can't see any reason adding it back would introduce any problems either