Fix VM DNS in tests

Fixes  https://github.com/istio/istio/issues/42449
Fixes https://github.com/istio/istio/issues/42452
Note because of #42452 this test has been broken of GCP forever. It only recently broke on GCP due to #42449
Please provide a description of this PR:

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-telemetry_istio
0b3b35d438b884c2db6b3838c35076e39c3cb637
link
true
/test integ-telemetry

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test integ-telemetry

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-telemetry_istio
0b3b35d438b884c2db6b3838c35076e39c3cb637
link
true
/test integ-telemetry

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-telemetry_istio
1e3245164d70e1ada49049c6fff68b24fee1d349
link
true
/test integ-telemetry

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-telemetry_istio
1e3245164d70e1ada49049c6fff68b24fee1d349
link
true
/test integ-telemetry

integ-telemetry-istiodremote_istio
1e3245164d70e1ada49049c6fff68b24fee1d349
link
true
/test integ-telemetry-istiodremote

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-telemetry_istio
1e3245164d70e1ada49049c6fff68b24fee1d349
link
true
/test integ-telemetry

integ-telemetry-istiodremote_istio
1e3245164d70e1ada49049c6fff68b24fee1d349
link
true
/test integ-telemetry-istiodremote

integ-telemetry-mc_istio
1e3245164d70e1ada49049c6fff68b24fee1d349
link
true
/test integ-telemetry-mc

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

In response to a cherrypick label: #42450 failed to apply on top of branch "release-1.14":
Applying: Fix VM DNS in tests
Using index info to reconstruct a base tree...
A	pkg/test/framework/components/echo/kube/templates/vm_deployment.yaml
Falling back to patching base and 3-way merge...
CONFLICT (modify/delete): pkg/test/framework/components/echo/kube/templates/vm_deployment.yaml deleted in HEAD and modified in Fix VM DNS in tests. Version Fix VM DNS in tests of pkg/test/framework/components/echo/kube/templates/vm_deployment.yaml left in tree.
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 Fix VM DNS in tests
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to a cherrypick label: new issue created for failed cherrypick: #42644

In response to a cherrypick label: new pull request created: #42645

In response to a cherrypick label: new pull request created: #42646


fix(clerk-js): Remove object-fit:contain from Avatar

Type of change

[x] 🐛 Bug fix
[ ] 🌟 New feature
[ ] 🔨 Breaking change
[ ] 📖 Refactoring / dependency upgrade / documentation
[ ] other:

Packages affected

[x] @clerk/clerk-js
[ ] @clerk/clerk-react
[ ] @clerk/nextjs
[ ] @clerk/remix
[ ] @clerk/types
[ ] @clerk/themes
[ ] @clerk/clerk-expo
[ ] @clerk/backend-core
[ ] @clerk/clerk-sdk-node
[ ] @clerk/edge
[ ] build/tooling/chore

Description

[x] npm test runs as expected.
[x] npm run build runs as expected.

objectFit: 'contain' causes this behaviour and overrides the objectFit:'cover' set on the container.

This must have been accidentally commited recently. We have a objectFit: 'cover' set on the container which has no impact any more.

@SokratisVidros Updated the description as well


Misc fixes

+ refactoring, tests, & documentation

Coverage increased (+0.004%) to 92.417% when pulling 90fe978caf71e8577143b0654cc8e31c9e53ed68 on gabrielburnworth:staging into c3dc1d727923ed0633ab427179dda3d04e7cea26 on FarmBot:staging.


No labels on big switches

Hi!
thanks for the work on the plug-in!! I have the same issue with the labels not showing in iOS 16 HomeKit. Another plug-in found a solution to fix it.
They wrote the following in the release notes in the update that fixed it:
„Added Configured Name characteristic to the Switch, Stateless Programmable Switch, and Lightbulb services. This appears to be necessary for HomeKit on iOS 16 to show anything other than the accessory name without manually changing all of the names within the Home app.“
maybe you can look into it again and also try to fix it! Thank you!!
the plug-in is the following https://github.com/thoukydides/homebridge-homeconnect
best
Steff

@steffmatj I fixed the labels in 1.5.0 by using the ConfiguredName characteristic as suggested.


Add Japanese translation

Hi, I found this Array Explorer soooo helpful and added Japanese translation.
I would appreciate if you could review it.  Thanks!

Thank you!


Migrating disconnected registry script and README

@redhat-cop/cant-contain-this

@sabre1041 how's this?

@etsauer LGTM


Create nodes.conf file?

// ,
Our deployment team is getting a lot of these:
30287:M 04 Dec 07:11:37.785 # Can't open /etc/redis.d/nodes-eth3.conf in order to acquire a lock: Permission denied
30332:M 04 Dec 07:11:56.693 # Can't open /etc/redis-conf/nodes-eth3.conf in order to acquire a lock: Permission denied

We then have to create a nodes-eth3.conf file manually.
Does puppet-redis handle the creation and permission of the file specified by cluster_config, or do we have to create that separately?

I'd be interested to know this too.
What does the //, stand for?

// , @kwisatz, have you tested this on a clean system, yet, that does not contain the nodes.conf file already? It might be interesting to see if someone other than me can reproduce the problem.

Closing due to inactivity.


allow collection elements to be relocated

Instead of just doing #to_subtype, this stores the index of the tag name so it can be relocated.
The alternative is to figure out when to throw an exception when the only locator is @element.

merged 4e3b54578133acf16c29640df21b0df9d4bd8611


Installation DAC 5102 Chip

Hi,
I waste a lot of time in the last days but it will not work.
The Sound is working as follow:

By Startup
with VLC
If I installing Volumio with Generetic DAC or Hifiberry DAC

What also work is to do the Softwarecontrol from ALSA by the Webpage and of the Desktop.
Before I buy this DAC I read this information of the wiki:
External Non USB Audio DAC ES9023
https://github.com/MiczFlor/RPi-Jukebox-RFID/wiki/External-Non-USB-Audio-DAC-ES9023
I add the Software like the link below.
And I found this that is my wiring
https://github.com/MiczFlor/RPi-Jukebox-RFID/issues/15#issuecomment-389517956
I do already a request in the german Forum for Raspberry but I got not enough help. :)
https://forum-raspberrypi.de/forum/thread/42168-phoniebox-dac-installieren-und-anschlie%C3%9Fen/?postID=370014#post370014
Helperskript
pi@juke:~ $ sudo /home/pi/RPi-Jukebox-RFID/scripts/helperscripts/Analytics_AfterInstallScript.sh

*** PHONIEBOX INFO
*** version: 1.1.9-rc7
*** edition: classic
*** Audio_iFace_Name: Master
*** Audio_Folders_Path: /home/pi/RPi-Jukebox-RFID/shared/audiofolders
*** Audio_Volume_Change_Step: 3
*** Max_Volume_Limit: 100
*** Idle_Time_Before_Shutdown: 0
*** Second_Swipe: RESTART
*** Playlists_Folders_Path: /home/pi/RPi-Jukebox-RFID/playlists
*** ShowCover: ON

*** CONF FILES DEFAULT
*** /etc/samba/smb.conf
-rw-r--r-- 1 root root 9,5K Feb 18 13:41 /etc/samba/smb.conf
path=/home/pi/RPi-Jukebox-RFID/shared
path=/home/pi/RPi-Jukebox-RFID/shared/audiofolders
*** /etc/lighttpd/lighttpd.conf
-rw-r--r-- 1 root root 1,1K Feb 18 13:41 /etc/lighttpd/lighttpd.conf
*** /etc/lighttpd/conf-available/15-fastcgi-php.conf
-rw-r--r-- 1 root root 398 Feb 18 13:41 /etc/lighttpd/conf-available/15-fastcgi-php.conf
*** /etc/php/7.0/fpm/php.ini
-rw-r--r-- 1 root root 70K Feb 18 13:41 /etc/php/7.0/fpm/php.ini
*** /etc/sudoers
-r--r----- 1 root root 784 Feb 18 13:41 /etc/sudoers
*** /etc/systemd/system/phoniebox*
-rw-r--r-- 1 root root 296 Feb 18 13:41 /etc/systemd/system/phoniebox-rfid-reader.service
-rw-r--r-- 1 root root 340 Feb 18 13:41 /etc/systemd/system/phoniebox-startup-sound.service
-rw-r--r-- 1 root root 289 Feb 18 13:41 /etc/systemd/system/phoniebox-gpio-buttons.service
-rw-r--r-- 1 root root 291 Feb 18 13:41 /etc/systemd/system/phoniebox-idle-watchdog.service
*** /etc/mpd.conf
-rw-r----- 1 mpd audio 15K Feb 19 17:01 /etc/mpd.conf
music_directory         "/home/pi/RPi-Jukebox-RFID/shared/audiofolders"
music_directory are changed.
symbolic links outside of the configured music_directory.
symbolic links inside of the configured music_directory.
mixer_control   "Master"                # optional
mixer_control   "Master"                # optional
    mixer_control   "Master"        # optional

*** /etc/dhcpcd.conf
-rw-rw-r-- 1 root netdev 1,7K Sep 10 10:31 /etc/dhcpcd.conf
#static ip_address=<IP_ADDRESS>/24
#static ip_address=<IP_ADDRESS>/24
#static routers=<IP_ADDRESS>
#static routers=<IP_ADDRESS>
option domain_name_servers, domain_name, domain_search, host_name
#static domain_name_servers=<IP_ADDRESS> <IP_ADDRESS> fd51:42f8:caae:d92e::1
#static domain_name_servers=<IP_ADDRESS>
*** /etc/wpa_supplicant/wpa_supplicant.conf
-rw-r--r-- 1 root root 83 Feb 18 13:28 /etc/wpa_supplicant/wpa_supplicant.conf
country=DE

*** +Spotify Edition
*** /etc/locale.gen
-rw-r--r-- 1 root root 8,9K Feb 18 13:28 /etc/locale.gen
*** /etc/locale.gen
-rw-r--r-- 1 root root 8,9K Feb 18 13:28 /etc/locale.gen
*** /etc/mopidy/mopidy.conf
ls: Zugriff auf '/etc/mopidy/mopidy.conf' nicht möglich: Datei oder Verzeichnis nicht gefunden
cat: /etc/mopidy/mopidy.conf: Datei oder Verzeichnis nicht gefunden
*** ~/.config/mopidy/mopidy.conf
ls: Zugriff auf '/root/.config/mopidy/mopidy.conf' nicht möglich: Datei oder Verzeichnis nicht gefunden
cat: /root/.config/mopidy/mopidy.conf: Datei oder Verzeichnis nicht gefunden
`
My thinking that anything will be wrong in the mpd.conf.
This look like this:
`
###############################################################################
Audio Output

MPD supports various audio output types, as well as playing through multiple
audio outputs at the same time, through multiple audio_output settings
blocks. Setting this block is optional, though the server will only attempt
autodetection for one sound card.

An example of an ALSA output:

audio_output {
type        "alsa"
name        "My ALSA Device"
mixer_control    "Master"    # optional
}
audio_output {
enabled         "yes"
type            "alsa"
name            "HiFiBerry DAC"
device          "sndrpihifiberry"
auto_resample   "no"
auto_channels   "no"
auto_format     "no"
dop             "no"
}
#audio_output {
type        "alsa"
name        "My ALSA Device"
device        "hw:0,0"    # optional
mixer_type      "hardware"      # optional
mixer_device    "default"    # optional
mixer_control    "Master"        # optional
mixer_index    "0"        # optional
#}

An example of an OSS output:

#audio_output {
type        "oss"
name        "My OSS Device"
device        "/dev/dsp"    # optional
mixer_type      "hardware"      # optional
mixer_device    "/dev/mixer"    # optional
mixer_control    "Master"        # optional
#}

An example of a shout output (for streaming to Icecast):

#audio_output {
type        "shout"
encoding    "ogg"            # optional
name        "My Shout Stream"
host        "localhost"
port        "8000"
mount        "/mpd.ogg"
password    "hackme"
quality        "5.0"
bitrate        "128"
format        "44100:16:1"
protocol    "icecast2"        # optional
user        "source"        # optional
description    "My Stream Description"    # optional
url             "http://example.com"    # optional
genre        "jazz"            # optional
public        "no"            # optional
timeout        "2"            # optional
mixer_type      "software"              # optional
#}

An example of a recorder output:

#audio_output {
type            "recorder"
name            "My recorder"
encoder         "vorbis"                # optional, vorbis or lame
path            "/var/lib/mpd/recorder/mpd.ogg"
quality         "5.0"                   # do not define if bitrate is defined
bitrate         "128"                   # do not define if quality is defined
format          "44100:16:1"
#}

An example of a httpd output (built-in HTTP streaming server):

#audio_output {
type        "httpd"
name        "My HTTP Stream"
encoder        "vorbis"        # optional, vorbis or lame
port        "8000"
bind_to_address "<IP_ADDRESS>"               # optional, IPv4 or IPv6
quality        "5.0"            # do not define if bitrate is defined
bitrate        "128"            # do not define if quality is defined
format        "44100:16:1"
max_clients     "0"                     # optional 0=no limit
#}

An example of a pulseaudio output (streaming to a remote pulseaudio server)
Please see README.Debian if you want mpd to play through the pulseaudio
daemon started as part of your graphical desktop session!

#audio_output {
type        "pulse"
name        "My Pulse Output"
server        "remote_server"        # optional
sink        "remote_server_sink"    # optional
#}

An example of a winmm output (Windows multimedia API).

#audio_output {
type        "winmm"
name        "My WinMM output"
device        "Digital Audio (S/PDIF) (High Definition Audio Device)" # optional
or
device        "0"        # optional
mixer_type    "hardware"    # optional
#}

An example of an openal output.

#audio_output {
type        "openal"
name        "My OpenAL output"
device        "Digital Audio (S/PDIF) (High Definition Audio Device)" # optional
#}

Example "pipe" output:

#audio_output {
type        "pipe"
name        "my pipe"
command        "aplay -f cd 2>/dev/null"
Or if you're want to use AudioCompress
command        "AudioCompress -m | aplay -f cd 2>/dev/null"
Or to send raw PCM stream through PCM:
command        "nc example.org 8765"
format        "44100:16:2"
#}

An example of a null output (for no audio output):

#audio_output {
type        "null"
name        "My Null Output"
mixer_type      "none"                  # optional
#}

If MPD has been compiled with libsamplerate support, this setting specifies
the sample rate converter to use.  Possible values can be found in the
mpd.conf man page or the libsamplerate documentation. By default, this is
setting is disabled.

#samplerate_converter        "Fastest Sinc Interpolator"

###############################################################################
`
Or other Test
`
audio_output {
type        "alsa"
name        "My ALSA Device"
mixer_control    "Master"    # optional
}
audio_output {
enabled         "yes"
type            "alsa"
name            "HiFiBerry DAC"
device          "sndrpihifiberry"
mixer_type      "software"
auto_resample   "no"
auto_channels   "no"
auto_format     "no"
dop             "no"
}
`
Can somebody help me?
If you need something please let me know.

Try top disable Thema gpio buttons

Hi tested it but I cannot here anything.

@martinclausen2
I see you wiki data about DACs. but it do not work for me. I do not know what is wrong.
Please look up in this thread. I tested a lot of different things but I do not find what I am do wrong.
https://forum-raspberrypi.de/forum/thread/42168-phoniebox-dac-installieren-und-anschließen/?postID=371532#post371532
Please help me.

Hi,
I think I do off the gpio buttons service by using the off button on webpage. This will not stop the service. So my mistake.
If If I disable the service like it will add as a service in the installscript the dac works well.
My problem was that I also do a tested before with a LED in my button skript and this was not deactive from my side because I do not use the LED.
So now it works well and thanks for all your help.


Can you add support for amqps ?

Will be very helpfull to be able to provide ssl options in RabbitMQOptions like :
.AddRabbitMQ(options =>
{
       options.Ssl.Enabled = true;
        options.Ssl.ServerName = serverName;
        options.Ssl.CertPath = @"certificate.p12";
        options.Ssl.CertPassphrase = "passphrase";
});

or better by providing the certificate collection.
options.Ssl.Certs = new X509CertificateCollection
{
     new X509Certificate2(privateKeyBytes, (string)null)
};

Adding few points on the old issue: The first two properties (Ssl.Enabled and Ssl.ServerName) will get set automatically once customer uses connection string starting with amqps:// (code reference).
Regarding providing a way to supply certificate collection, I doubt if that would be possible. As per my knowledge, the RabbitMQOption get deserialized from host.json when the function is running in context of an Azure Function App. We would like all Options and binding fields to be JSON-parseable. This prevents having a non-POCO C# classes (like X509Certificate2 class instance) as an option. Would like to know if I am making an error and the limitation does not exist.

What would be great is to specify a certificate thumbprint and password to an configured app service certificate. Also a keyvault reference could do the job.


Values of the compensated temperature, pressure and humidity

Hello.
My issue relates to the values of the compensated sensor data. What are the limits of temperature, pressure and humidity after compensation? Why is the temperature maximum of 8500 and minimum of -4000 instead of 85 and -40 respectively, for instance?

@leonf08 ,
It seems that the relevant comments are missing. Since it is in integer, it is scaled by 100.

So, before output on lcd, do I have to devide the measured readings by 100?

@leonf08 ,
Yes, you will need to divide it by 100. Also, if you want the floating point precision, convert it to float and then divide it by 100 like the example below.
uint16_t humidity_int = 4550;
float humidity = (float)humidity_int / 100.0f;

Thank you for your assistance.


travis: only send success emails when state changes

I think everyone is on the channel anyway so it's not necressary to
receive emails every time the build succeeds. With this change emails
are sent:

always on build failure.
when the build is fixed again.

I would personally set email: false, but I think it was discussed
before somewhere related to ZNC and wasn't liked.
I am PRing this to 1.6.x, because pull requests also come there and it's
merged into master sooner or later.
As travis lint passes,
[CI SKIP]

Changing IRC notifications, at least the success to change would also reduce spam at freenode by forks that enable travis.

:+1:

These values are the default... http://docs.travis-ci.com/user/notifications/

It's sometimes possible that defaults make more sense than what the user specifies by themselves.

Sorry, I don't understand you.
This PR doesn't change anything, as far as I can see.
And you even agree that defaults make sense.

This PR doesn't change anything, as far as I can see.

https://github.com/znc/znc/pull/1075/files

Oh, I see what you mean, I originally intended to also change IRC notifications.


ci: Use Ubuntu 22.04 runner for run-examples, run-examples-on-wasm jobs

Objective

The run-examples-on-wasm job fails on Ubuntu 22.04, when it was previously working on Ubuntu 20.04. Playwright 1.22.1 (the version currently pinned by us) fails trying to install system dependencies that were renamed between Ubuntu 20.04 and 22.04.
The run-examples job previously failed on Ubuntu 22.04 with errors consistent with those listed in this upstream mesa bug.
Fixes #6832

Solution

Upgrade playwright to the latest v1.28.1 release. Ubuntu 22.04 support was added in v1.23.0. The test now passes on 22.04, and the output screenshots are unchanged from previous job outputs.
Use ubuntu-latest for the run-examples job. No other modifications necessary. The PPA we pull mesa from rebuilt the package for 22.04 with the upstream fix.

I don't think the affected job will run on this PR- please see the included link to where I ran this in my fork, if you want to see the logs.

Could you also try updating ubuntu for job run-examples? Your fix is good but it should have hit the same issue as that job, unless GitHub also fixed something else on their runner.

@mockersf Done! Updated PR title and description to match.

Bors r+


Configuration no longer works

I'm trying to enable lineWrapping in the javascript panel and the methods described in help and elsewhere online don't work anymore.  jsbin.settings.editor.lineWrapping=true; yields an error.  Are those settings stil available? Thanks

That's super old. Sign in. Use your account settings.
On Sun, 20 Nov 2016, 00:13 stashaway<EMAIL_ADDRESS>wrote:

I'm trying to enable lineWrapping in the javascript panel and the methods
described in help and elsewhere online don't work anymore.
jsbin.settings.editor.lineWrapping=true; yields an error. Are those
settings stil available? Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jsbin/jsbin/issues/2937, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAA1hL2po13g3gMZPNg3VNAHcDxiqK-Uks5q_5CkgaJpZM4K3aKe
.

If file breaks the rules or infringes copyrights, please report it now. We review every reported file.

Not sure what that previous comment was, nonsense perhaps.


Config file reloading

There are a few possible ways I could do this:

Find a way to force Nickel to call loadView again (but this will be fragile).
Keep a reference to each menu and the added items so it can be removed and added again (threading makes this slightly more complicated, and what if a menu gets destroyed and the pointer becomes invalid...).
Restart Nickel (this has too much potential to break things, and it's overkill).
Rework the menu item injection so items can be modified just before the menu shows rather than when the view is initialized (this is probably the best option).


np.diagonal implementation

[x] Tests added / passed
[x] Passes flake8 dask

I couldn't make assert sorted(da.diagonal(v).dask) == sorted(da.diagonal(v).dask) work. The calls seems to be deterministic but it cannot sort the graph because tuple and str are not comparable. Shall I just remove it?
I would like to see da.diagonal implemented mainly because of da.trace, which will become easy to implement once this is done.

Checking in on this @horta .  Is there any other information you need in order to move forward?  It would be great to see this go in.

No need for more information. I will get it going tomorrow!

*working on that

This looks pretty good to me. There are a few comments above, but nothing too difficult I hope.

This is coming along nicely, @horta. Will give it another look after you have some time to address the remaining comments. Probably one or two tidy up things in the next (last) iteration I think.

Thanks for the updates @horta. Added a couple comments above. Otherwise LGTM. @shoyer @mrocklin, any other thoughts?

Thanks, @jakirkham .

@jakirkham if you're comfortable with this PR then I encourage you to merge (I'm trying to get more people to become comfortable with pressing the green button).

Thanks @horta, merging!

@mrocklin, as I'd requested feedback from others right before the 3-day weekend, figured I'd wait to see if I heard back this week to give people some time before clicking the merge button.

Alrighty.  Sorry to apply pressure :)
On Tue, Feb 19, 2019 at 8:13 AM jakirkham<EMAIL_ADDRESS>wrote:

@mrocklin https://github.com/mrocklin, as I'd requested feedback from
others right before the 3-day weekend, figured I'd wait to see if I heard
back this week to give people some time before clicking the merge button.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/pull/4431#issuecomment-465198361, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AASszNDby0bR_ch-UzMUishO1rMTjXI6ks5vPCLEgaJpZM4aV0PY
.

No worries. Thanks for the encouragement.

Just out of curiosity, @horta, were you planning on implementing da.trace as well? Asking since you had mentioned it in the OP. :)

@jakirkham sure, I aim to implement that by sunday


FileNotFoundError: [Errno 2] No such file or directory: 'data/blender/lego/transforms_train.json'

Running ns-train vanilla-nerf fails with this error:
FileNotFoundError: [Errno 2] No such file or directory: 'data/blender/lego/transforms_train.json'

I opted to not use W&B option (3) Don't visualize my results.

Nevermind was not set up properly

Hi, I ran into the same error. would you mind explaining what was wrong with the setup?


Inconsistency with "find a variable search"

related to: https://github.com/VEuPathDB/web-monorepo/issues/758
there is inconsistency with the “find a variable” searches in the variable tree vs in multifilter variables.
Here i am looking at PRISM Resistance on the qa.restricted site, and searching for “675" in both places. It isn’t found in the variable tree, but it is found on the multifilter variable “Plasmodium genotype”.

If I search for “*675" in the variable tree, then it does find “Plasmodium genotype” as well as other variables

The search bar in the variable tree will match against variable display name, definition, and values. It looks like we need to include descendant variables when we're displaying a "multi-variable" in the tree.


[IMP] eslint: bump to escmascript 2019

Chosen as MAX_ES_VERSION by Odoo since 14.0 [^1]
NOTE: IMO it's not worth adding version-specific templates for this (to keep 2017 version for 13.0), as the list of supported browsers hasn't changed.. it's only that we're all a bit older now

What do you think @Tardo?

Is this applying to all versions? If so, I think it should be limited to 14.0+

Hum...
Well, on one side, @Yajo, you're right when you say "After all, the fact some Odoo version was released some years ago doesn't mean its uses still use the browsers that got released back then.".
In another side, the risk is to make red a some branches (13.0 (and then 10 / 11 / 12, and https://github.com/OCA/oca-addons-repo-template/pull/117 will be merged)).
if this test fails on the 10.0 web or point-of-sale branch, there is little chance that maintainers will be motivated to correct it.
So maybe better to add a "if v >= 14" test indeed, as @pedrobaeza proposed.
@ivantodorovich : what do you think ?

AFAIK increasing ecmaVersion will allow using new JS syntax, but it won't prevent using anything "old", so normally no change should be done in old branches.
As a dev, it'd be a shame having to code in old js syntax, even for 13.0.. when the only limitation is eslint, as all browsers supported by Odoo can handle more recent js versions 😅

As a dev, it'd be a shame having to code in old js syntax, even for 13.0.. when the only limitation is eslint

Are you sure about this assert? I remember the Odoo JS framework limited in the past to use certain features of modern JS.

Odoo Framework might not know how to handle new features, but that doesn't mean you can't use them.
For instance, it's not this case, but when js introduced classes or promises.. old Odoo code won't know how to handle them, so you can't pass them around as arguments to its framework. But you can still use them in your code.
On a general note, new js versions are always backwards compatible.. it would otherwise crash 99% of the internet if it weren't 😅 the only limit here is the browser's support

Enabling it for all versions may be misleading. I agree that it should be for >=13.0. For example, eslint should not allow the use of promises in older versions. It is tempting to mix promises and jquery deferred, but it would result in errors. The good thing for the current change is that this is already happening with 2017.
So, if we don't expect eslint to prevent using unsupported syntax for a particular odoo version I see no reason to limit the change only to Odoo >=13.0.
On the other hand, Odoo <=11.0 uses phantomJS, using something greater than es7 without having it well bounded is dangerous (https://webkit.org/status/).
That said, I don't see any problem in using the latest version of ecmaScript that can be used from Odoo version >=13.0.

El mié, 16 de mar de 2022 a las 15:01:17 PM, Alexandre Díaz
@.***> escribió:

On the other hand, Odoo <=11.0 uses phantomJS, using something
greater than es7 without having it well bounded is dangerous
(https://webkit.org/status/).

Also, to run tests, you can't predict which chromium version is
installed alongside newer Odoo installations. Another point to keep in
mind.

Yes, that's a good point

Since the template applies to versions >= 13 only, the will only run flake8+pylint for versions < 13 (not eslint etc) I understand the consensus is that this is same enough. So merging. Let me know if I misunderstood some arguments.


i lost all my dupes

i Lost All My Dupes i Dont Know Why, i Had It Yesterday , but its gone now , please help

You or someone deleted your data folder.


opt out webp support

Describe the solution you'd like
The webp feature detection is not necessary on our page. It would be great to opt out of that functionality

It’s only in version 10. Version 11 has removed that functionality.
So to opt out, just update to version 11.
Cheers!

👍
maybe the 2015 bundle should be removed from the dist folder to avoid having two versions available at the same time

Oh jeez.
Didn’t notice it was still in the dist folder.
I didn’t cleaned it up and it was still there from version 10.
I’ve deleted it now.
Thank you for pointing out.


Method 'replaceFirst' cannot be called on 'String?' because it is potentially null. Try calling using ?. instead.

../../../../development/flutter/packages/flutter_localizations/lib/src/material_localizations.dart:413:7: Error: Method 'replaceFirst' cannot be called on 'String?' because it is potentially null.
Try calling using ?. instead.
    ).replaceFirst(r'$selectedRowCount', formatDecimal(selectedRowCount));
      ^^^^^^^^^^^^
../../../../development/flutter/packages/flutter_localizations/lib/src/material_localizations.dart:550:7: Error: Method 'replaceFirst' cannot be called on 'String?' because it is potentially null.
Try calling using ?. instead.
    ).replaceFirst(r'$licenseCount', formatDecimal(licenseCount));
      ^^^^^^^^^^^^
../../../../development/flutter/packages/flutter_localizations/lib/src/material_localizations.dart:659:7: Error: Method 'replaceFirst' cannot be called on 'String?' because it is potentially null.
Try calling using ?. instead.
    ).replaceFirst(r'$remainingCount', formatDecimal(remainingCount));
      ^^^^^^^^^^^^

FAILURE: Build failed with an exception.

[✓] Flutter (Channel master, 1.25.0-9.0.pre.42, on Linux, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 3.6)
[✓] VS Code (version 1.45.1)
[✓] Connected device (3 available)

• No issues found!

Can you provide minimal complete reproducible code sample?

Hi @jinfagang
Please provide the reproducible steps.

Anybody found the solution I'm having this problem too

Anybody found the solution I'm having this problem too

This problem I got is runing this project: https://github.com/PotatoProject/Leaflet
it claims compatible with master branch but actually occured this issue.

This problem I got is runing this project: https://github.com/PotatoProject/Leaflet
it claims compatible with master branch but actually occured this issue.

Hi @jinfagang
Are you able to reproduce the issue on a Flutter project without any third-party plugin/package?
Please provide the complete output of flutter doctor -v.

Hi @jinfagang
Are you able to reproduce the issue on a Flutter project without any third-party plugin/package?
Please provide the complete output of flutter doctor -v.

@pedromassango @pedromassangocode  Maybe @KingOfPeru can provides some detail

@pedromassango @pedromassangocode  Maybe @KingOfPeru can provides some detail

The same issue occurs to me:
Launching lib\main.dart on SM N960N in debug mode...
Running Gradle task 'assembleDebug'...
/C:/flutter/packages/flutter_localizations/lib/src/material_localizations.dart:413:7: Error: Method 'replaceFirst' cannot be called on 'String?' because it is potentially null.
Try calling using ?. instead.
).replaceFirst(r'$selectedRowCount', formatDecimal(selectedRowCount));
^^^^^^^^^^^^
/C:/flutter/packages/flutter_localizations/lib/src/material_localizations.dart:550:7: Error: Method 'replaceFirst' cannot be called on 'String?' because it is potentially null.
Try calling using ?. instead.
).replaceFirst(r'$licenseCount', formatDecimal(licenseCount));
^^^^^^^^^^^^
/C:/flutter/packages/flutter_localizations/lib/src/material_localizations.dart:659:7: Error: Method 'replaceFirst' cannot be called on 'String?' because it is potentially null.
Try calling using ?. instead.
).replaceFirst(r'$remainingCount', formatDecimal(remainingCount));
^^^^^^^^^^^^

flutter doctor -v
[√] Flutter (Channel beta, 1.25.0-8.1.pre, on Microsoft Windows [Version 10.0.19041.685], locale ko-KR)
• Flutter version 1.25.0-8.1.pre at C:\flutter
• Framework revision 8f89f6505b (3 weeks ago), 2020-12-15 15:07:52 -0800
• Engine revision 92ae191c17
• Dart version 2.12.0 (build 2.12.0-133.2.beta)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at C:\Users\D-174\AppData\Local\Android\Sdk
• Platform android-29, build-tools 29.0.2
• Java binary at: C:\Program Files\Android\Android Studio1\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[√] Android Studio (version 4.1.0)
• Android Studio at C:\Program Files\Android\Android Studio1
• 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 1.8.0_242-release-1644-b01)
[√] Connected device (3 available)
• SM N960N (mobile) • 2958a1d5be1c7ece • android-arm64  • Android 10 (API 29)
• Chrome (web)      • chrome           • web-javascript • Google Chrome 87.0.4280.88
• Edge (web)        • edge             • web-javascript • Microsoft Edge 87.0.664.66
• No issues found!

flutter channel
Flutter channels:
master
dev

beta
stable

about my_app.yaml ( some ommited because it is too large )
=> I am using  intl : ^0.17.0-nullsafety.2 and override intl: 0.16.0

environment:
sdk: ">=2.7.0 <3.0.0"
#sdk: ">=2.12.0-0 <3.0.0"
dependencies:
flutter:
sdk: flutter
easy_localization: ^2.3.3+1
intl : ^0.17.0-nullsafety.2
dependency_overrides:
intl: 0.16.0

The same issue occurs to me:
Launching lib\main.dart on SM N960N in debug mode...
Running Gradle task 'assembleDebug'...
/C:/flutter/packages/flutter_localizations/lib/src/material_localizations.dart:413:7: Error: Method 'replaceFirst' cannot be called on 'String?' because it is potentially null.
Try calling using ?. instead.
).replaceFirst(r'$selectedRowCount', formatDecimal(selectedRowCount));
^^^^^^^^^^^^
/C:/flutter/packages/flutter_localizations/lib/src/material_localizations.dart:550:7: Error: Method 'replaceFirst' cannot be called on 'String?' because it is potentially null.
Try calling using ?. instead.
).replaceFirst(r'$licenseCount', formatDecimal(licenseCount));
^^^^^^^^^^^^
/C:/flutter/packages/flutter_localizations/lib/src/material_localizations.dart:659:7: Error: Method 'replaceFirst' cannot be called on 'String?' because it is potentially null.
Try calling using ?. instead.
).replaceFirst(r'$remainingCount', formatDecimal(remainingCount));
^^^^^^^^^^^^

flutter doctor -v
[√] Flutter (Channel beta, 1.25.0-8.1.pre, on Microsoft Windows [Version 10.0.19041.685], locale ko-KR)
• Flutter version 1.25.0-8.1.pre at C:\flutter
• Framework revision 8f89f6505b (3 weeks ago), 2020-12-15 15:07:52 -0800
• Engine revision 92ae191c17
• Dart version 2.12.0 (build 2.12.0-133.2.beta)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at C:\Users\D-174\AppData\Local\Android\Sdk
• Platform android-29, build-tools 29.0.2
• Java binary at: C:\Program Files\Android\Android Studio1\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[√] Android Studio (version 4.1.0)
• Android Studio at C:\Program Files\Android\Android Studio1
• 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 1.8.0_242-release-1644-b01)
[√] Connected device (3 available)
• SM N960N (mobile) • 2958a1d5be1c7ece • android-arm64  • Android 10 (API 29)
• Chrome (web)      • chrome           • web-javascript • Google Chrome 87.0.4280.88
• Edge (web)        • edge             • web-javascript • Microsoft Edge 87.0.664.66
• No issues found!

flutter channel
Flutter channels:
master
dev

beta
stable

about my_app.yaml ( some ommited because it is too large )
=> I am using  intl : ^0.17.0-nullsafety.2 and override intl: 0.16.0

environment:
sdk: ">=2.7.0 <3.0.0"
#sdk: ">=2.12.0-0 <3.0.0"
dependencies:
flutter:
sdk: flutter
easy_localization: ^2.3.3+1
intl : ^0.17.0-nullsafety.2
dependency_overrides:
intl: 0.16.0

Hi @kyounglee
I still cannot reproduce the issue on latest master and beta channels.
Logs
Launching lib/main.dart on sdk gphone x86 64 in debug mode...
Running Gradle task 'assembleDebug'...
✓ Built build/app/outputs/flutter-apk/app-debug.apk.
Installing build/app/outputs/flutter-apk/app.apk...
I/flutter_exampl(21978): Not late-enabling -Xcheck:jni (already on)
I/flutter_exampl(21978): Unquickening 12 vdex files!
W/flutter_exampl(21978): Unexpected CPU variant for X86 using defaults: x86_64
W/flutter_example(21978): type=1400 audit(0.0:281): avc: denied { read } for name="max_map_count" dev="proc" ino=1856226 scontext=u:r:untrusted_app_27:s0:c155,c256,c512,c768 tcontext=u:object_r:proc_max_map_count:s0 tclass=file permissive=0 app=com.example.flutter_example
W/flutter_exampl(21978): Accessing hidden method Landroid/view/accessibility/AccessibilityNodeInfo;->getSourceNodeId()J (greylist,test-api, reflection, allowed)
W/flutter_exampl(21978): Accessing hidden method Landroid/view/accessibility/AccessibilityRecord;->getSourceNodeId()J (greylist, reflection, allowed)
W/flutter_exampl(21978): Accessing hidden field Landroid/view/accessibility/AccessibilityNodeInfo;->mChildNodeIds:Landroid/util/LongArray; (greylist, reflection, allowed)
W/flutter_exampl(21978): Accessing hidden method Landroid/util/LongArray;->get(I)J (greylist, reflection, allowed)
Debug service listening on ws://<IP_ADDRESS>:54072/H9L8fnP679U=/ws
Syncing files to device sdk gphone x86 64...

pubspec.yaml
version: 1.0.0+1

environment:
  sdk: ">=2.7.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  intl : ^0.17.0-nullsafety.2

dependency_overrides:
  intl: 0.16.0

dev_dependencies:
  flutter_test:
    sdk: flutter
  flutter_driver:
    sdk: flutter
  integration_test: ^1.0.1
  test: any

flutter doctor
[✓] Flutter (Channel beta, 1.25.0-8.2.pre, on Mac OS X 10.15.7 19H2 darwin-x64, locale en)
    • Flutter version 1.25.0-8.2.pre at /Users/pedromassango/dev/SDKs/flutter_beta
    • Framework revision b0a2299859 (17 hours ago), 2021-01-05 12:34:13 -0800
    • Engine revision 92ae191c17
    • Dart version 2.12.0 (build 2.12.0-133.2.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    • CocoaPods version 1.9.3

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

[✓] Android Studio (version 4.1)
    • 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 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.3.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 52.1.5
    • Dart plugin version 203.6912

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

[✓] Connected device (2 available)
    • sdk gphone x86 64 (mobile) • emulator-5554 • android-x64    • Android 11 (API 30) (emulator)
    • Chrome (web)               • chrome        • web-javascript • Google Chrome 87.0.4280.88

• No issues found!
Process finished with exit code 0

Hi @kyounglee
I still cannot reproduce the issue on latest master and beta channels.
Logs
Launching lib/main.dart on sdk gphone x86 64 in debug mode...
Running Gradle task 'assembleDebug'...
✓ Built build/app/outputs/flutter-apk/app-debug.apk.
Installing build/app/outputs/flutter-apk/app.apk...
I/flutter_exampl(21978): Not late-enabling -Xcheck:jni (already on)
I/flutter_exampl(21978): Unquickening 12 vdex files!
W/flutter_exampl(21978): Unexpected CPU variant for X86 using defaults: x86_64
W/flutter_example(21978): type=1400 audit(0.0:281): avc: denied { read } for name="max_map_count" dev="proc" ino=1856226 scontext=u:r:untrusted_app_27:s0:c155,c256,c512,c768 tcontext=u:object_r:proc_max_map_count:s0 tclass=file permissive=0 app=com.example.flutter_example
W/flutter_exampl(21978): Accessing hidden method Landroid/view/accessibility/AccessibilityNodeInfo;->getSourceNodeId()J (greylist,test-api, reflection, allowed)
W/flutter_exampl(21978): Accessing hidden method Landroid/view/accessibility/AccessibilityRecord;->getSourceNodeId()J (greylist, reflection, allowed)
W/flutter_exampl(21978): Accessing hidden field Landroid/view/accessibility/AccessibilityNodeInfo;->mChildNodeIds:Landroid/util/LongArray; (greylist, reflection, allowed)
W/flutter_exampl(21978): Accessing hidden method Landroid/util/LongArray;->get(I)J (greylist, reflection, allowed)
Debug service listening on ws://<IP_ADDRESS>:54072/H9L8fnP679U=/ws
Syncing files to device sdk gphone x86 64...

pubspec.yaml
version: 1.0.0+1

environment:
  sdk: ">=2.7.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  intl : ^0.17.0-nullsafety.2

dependency_overrides:
  intl: 0.16.0

dev_dependencies:
  flutter_test:
    sdk: flutter
  flutter_driver:
    sdk: flutter
  integration_test: ^1.0.1
  test: any

flutter doctor
[✓] Flutter (Channel beta, 1.25.0-8.2.pre, on Mac OS X 10.15.7 19H2 darwin-x64, locale en)
    • Flutter version 1.25.0-8.2.pre at /Users/pedromassango/dev/SDKs/flutter_beta
    • Framework revision b0a2299859 (17 hours ago), 2021-01-05 12:34:13 -0800
    • Engine revision 92ae191c17
    • Dart version 2.12.0 (build 2.12.0-133.2.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    • CocoaPods version 1.9.3

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

[✓] Android Studio (version 4.1)
    • 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 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.3.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 52.1.5
    • Dart plugin version 203.6912

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

[✓] Connected device (2 available)
    • sdk gphone x86 64 (mobile) • emulator-5554 • android-x64    • Android 11 (API 30) (emulator)
    • Chrome (web)               • chrome        • web-javascript • Google Chrome 87.0.4280.88

• No issues found!
Process finished with exit code 0

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.

The same issue occurs to me:
Launching lib\main.dart on SM N960N in debug mode...
Running Gradle task 'assembleDebug'...
//flutter/packages/flutter_localizations/lib/src/material_localizations.dart:413:7: Error: Method 'replaceFirst' cannot be called on 'String?' because it is potentially null.
Try calling using ?. instead.
).replaceFirst(r'$selectedRowCount', formatDecimal(selectedRowCount));
^^^^^^^^^^^^
//flutter/packages/flutter_localizations/lib/src/material_localizations.dart:550:7: Error: Method 'replaceFirst' cannot be called on 'String?' because it is potentially null.
Try calling using ?. instead.
).replaceFirst(r'$licenseCount', formatDecimal(licenseCount));
^^^^^^^^^^^^
/~~/flutter/packages/flutter_localizations/lib/src/material_localizations.dart:659:7: Error: Method 'replaceFirst' cannot be called on 'String?' because it is potentially null.
Try calling using ?. instead.
).replaceFirst(r'$remainingCount', formatDecimal(remainingCount));
^^^^^^^^^^^^
$ flutter doctor -v
[√] Flutter (Channel beta, 1.25.0-8.1.pre, on Microsoft Windows [Version 10.0.19041.685], locale ko-KR)
• Flutter version 1.25.0-8.1.pre at C:\flutter
• Framework revision 8f89f65 (3 weeks ago), 2020-12-15 15:07:52 -0800
• Engine revision 92ae191c17
• Dart version 2.12.0 (build 2.12.0-133.2.beta)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at C:\Users~~\AppData\Local\Android\Sdk
• Platform android-29, build-tools 29.0.2
• Java binary at: ~~\Android\Android Studio1\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at ~~\Google\Chrome\Application\chrome.exe
[√] Android Studio (version 4.1.0)
• Android Studio at ~~\Android\Android Studio1
• 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 1.8.0_242-release-1644-b01)
[√] Connected device (3 available)
• SM N960N (mobile) • 2958a1d5be1c7ece • android-arm64 • Android 10 (API 29)
• Chrome (web) • chrome • web-javascript • Google Chrome 87.0.4280.88
• Edge (web) • edge • web-javascript • Microsoft Edge 87.0.664.66
• No issues found!
$ flutter channel (beta, the same issue at master )
Flutter channels:
master
dev

beta
stable
$ about my_app.yaml ( some ommited because it is too large )
=> I am using intl : ^0.17.0-nullsafety.2 and override intl: 0.16.0

environment:
sdk: ">=2.7.0 <3.0.0"
#sdk: ">=2.12.0-0 <3.0.0"
dependencies:
flutter:
sdk: flutter
easy_localization: ^2.3.3+1
intl : ^0.17.0-nullsafety.2
dependency_overrides:
intl: 0.16.0

I also face same issue with same package versions

I have the same issue since upgrading to 2.0.1.
flutter doctor -v:
[✓] Flutter (Channel stable, 2.0.1, on Linux, locale nl_BE.UTF-8)
    • Flutter version 2.0.1 at /opt/flutter
    • Framework revision c5a4b4029c (3 days ago), 2021-03-04 09:47:48 -0800
    • Engine revision 40441def69
    • Dart version 2.12.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /opt/android-sdk
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = /opt/android-sdk
    • Java binary at: /opt/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✓] Android Studio
    • Android Studio at /opt/android-studio
    • 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 1.8.0_242-release-1644-b3-6222593)

[✓] IntelliJ IDEA Community Edition (version 2020.3)
    • IntelliJ at /usr/share/jetbrains-idea-ce
    • 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

[✓] Connected device (1 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)

Error log:
Launching lib/main.dart on Android SDK built for x86 in debug mode...
lib/main.dart:1
/opt/flutter/packages/flutter_localizations/lib/src/material_localizations.dart:413:7: Error: Method 'replaceFirst' cannot be called on 'String?' because it is potentially null.
Try calling using ?. instead.
    ).replaceFirst(r'$selectedRowCount', formatDecimal(selectedRowCount));
      ^^^^^^^^^^^^
/opt/flutter/packages/flutter_localizations/lib/src/material_localizations.dart:550:7: Error: Method 'replaceFirst' cannot be called on 'String?' because it is potentially null.
Try calling using ?. instead.
    ).replaceFirst(r'$licenseCount', formatDecimal(licenseCount));
      ^^^^^^^^^^^^
/opt/flutter/packages/flutter_localizations/lib/src/material_localizations.dart:659:7: Error: Method 'replaceFirst' cannot be called on 'String?' because it is potentially null.
Try calling using ?. instead.

    ).replaceFirst(r'$remainingCount', formatDecimal(remainingCount));
      ^^^^^^^^^^^^

Same issue after upgraded to 2.0.1

Same here

Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.

I have resolve it in my case by changing branch to stable, 2.0.1

I'm on the latest stable, 2.0.1 and still have this issue

I'm on 2.0.2 still having the same issue.

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.0.3, on Microsoft Windows [Version 10.0.19042.870], locale id-ID)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[√] Chrome - develop for the web
[√] Android Studio (version 4.1.0)
[√] Connected device (3 available)
• No issues found!
`/D:/ANDROID_SDK/flutter/packages/flutter_localizations/lib/src/material_localizations.dart:413:7: Error: Method 'replaceFirst' cannot be called on 'String?' because it is potentially null.
Try calling using ?. instead.
).replaceFirst(r'$selectedRowCount', formatDecimal(selectedRowCount));
^^^^^^^^^^^^
/D:/ANDROID_SDK/flutter/packages/flutter_localizations/lib/src/material_localizations.dart:550:7: Error: Method 'replaceFirst' cannot be called on 'String?' because it is potentially null.
Try calling using ?. instead.
).replaceFirst(r'$licenseCount', formatDecimal(licenseCount));
^^^^^^^^^^^^
/D:/ANDROID_SDK/flutter/packages/flutter_localizations/lib/src/material_localizations.dart:659:7: Error: Method 'replaceFirst' cannot be called on 'String?' because it is potentially null.
Try calling using ?. instead.
).replaceFirst(r'$remainingCount', formatDecimal(remainingCount));
^^^^^^^^^^^^
FAILURE: Build failed with an exception.

Where:
Script 'D:\ANDROID_SDK\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 991

What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command 'D:\ANDROID_SDK\flutter\bin\flutter.bat'' finished with non-zero exit value 1

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 36s
Exception: Gradle task assembleDebug failed with exit code 1
`

I'm on Flutter (Channel stable, 2.0.4, on Mac OS X 10.15.6 19G73 darwin-x64, locale en-GB)
same issue. Help needed. Thanks

@Nerogee did you solved this issue?
I am using with flutter:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 1.26.0-2.0.pre.167, on Linux, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.6)
[✓] Connected device (2 available)
pub:
version: 1.0.0+1
environment:
sdk: ">=2.2.2 <3.0.0"
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
intl: ^0.16.1
timeago: ^2.0.26
feather_icons_flutter: ^4.7.4
cached_network_image: ^2.2.0+1
flutter_html: ^1.0.0-pre.1
The following adds the Cupertino Icons font to your application.
Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^0.1.2
carousel_slider: ^1.3.0
flutter_easyloading: ^2.0.0
fluttertoast: ^7.0.2
http: ^0.12.2
shared_preferences: ^0.5.8
shimmer: ^1.1.2
polls: ^0.2.2
line_icons:
camera: ^0.5.8+17
path_provider: ^1.6.22
video_player: ^0.10.11+2
dio: ^3.0.8
path: ^1.6.4
file_picker: ^1.4.3+2
share: any
youtube_player_flutter: ^7.0.0+7
vimeoplayer: ^0.1.8
marquee_widget: ^1.0.0
webview_flutter: ^
webview_flutter: ^0.3.24
url_launcher: ^5.4.5
xfile: ^1.1.0
permission_handler: ^5.1.0+2
flutter_automation: ^1.1.4
dev_dependencies:
flutter_test:
sdk: flutter
change_app_package_name: ^0.1.2
flutter_launcher_icons: ^0.8.0
flutter_icons:
android: "launcher_icon"
ios: true
image_path: "assets/images/icon.png"
dependency_overrides:
intl: ^0.16.1
error:
../flutter/flutter/packages/flutter_localizations/lib/src/material_localizations.dart:413:7: Error: Method 'replaceFirst' cannot be called on 'String?' because it is potentially null.
Try calling using ?. instead.
).replaceFirst(r'$selectedRowCount', formatDecimal(selectedRowCount));
^^^^^^^^^^^^
../flutter/flutter/packages/flutter_localizations/lib/src/material_localizations.dart:550:7: Error: Method 'replaceFirst' cannot be called on 'String?' because it is potentially null.
Try calling using ?. instead.
).replaceFirst(r'$licenseCount', formatDecimal(licenseCount));
^^^^^^^^^^^^
../flutter/flutter/packages/flutter_localizations/lib/src/material_localizations.dart:659:7: Error: Method 'replaceFirst' cannot be called on 'String?' because it is potentially null.
Try calling using ?. instead.
).replaceFirst(r'$remainingCount', formatDecimal(remainingCount));
^^^^^^^^^^^^
  ====================
  Please help me out.thanks

@adnandogar at last i downgrade flutter back to version 1 and update pub again. After that, all work again.

Same issue
[+20805 ms] [+20751 ms] ../../Library/Android/flutter/packages/flutter_localizations/lib/src/material_localizations.dart:413:7: Error: Method 'replaceFirst' cannot be called on 'String?' because it is potentially null.
[  +10 ms] [   +3 ms] Try calling using ?. instead.
[        ] [        ]     ).replaceFirst(r'$selectedRowCount', formatDecimal(selectedRowCount));
[        ] [        ]       ^^^^^^^^^^^^
[        ] [  +14 ms] ../../Library/Android/flutter/packages/flutter_localizations/lib/src/material_localizations.dart:550:7: Error: Method 'replaceFirst' cannot be called on 'String?' because it is potentially null.

[✓] Flutter (Channel stable, 2.0.6, on macOS 11.3.1 20E241 darwin-x64, locale en-IN)
    • Flutter version 2.0.6 at /Users/murtuzanalawala/Library/Android/flutter
    • Framework revision 1d9032c7e1 (6 days ago), 2021-04-29 17:37:58 -0700
    • Engine revision 05e680e202
    • Dart version 2.12.3

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at /Users/murtuzanalawala/Library/Android/sdk
    • Platform android-30, build-tools 30.0.1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.2, Build version 12B45b
    • CocoaPods version 1.10.0

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

[✓] Android Studio (version 4.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 11.0.8+10-b944.6916264)

@MurtuzaSrashtaSoft downgrade this dependency to lower version and try:
dependency_overrides:
intl: ^0.15.1
or try lower, it may help you.

Try using intl: 0.17.0 working for me for flutter v2.2.1


Provide Socks Proxy Ability for chef-client

Zendesk 4180
As an enterprise customer, I would like the ability to send and receive chef-client proxy traffic through a SOCKS proxy, similarly to the existing chef-client HTTP proxy abilities.

The workflow while chef-client doesn't support SOCKS.

bootstrap the node by setting up an ssh tunnel and tricking chef-client to talk to it by changing the chef_server_url in client.rb to point to an ssh tunnel on localhost
Once bootstrapped, revert the client.rb and make it point to our enterprise chef server
Install the socksify gem with 'sudo /opt/chef/embedded/bin/gem install socksify'
Run: 'sudo /opt/chef/embedded/bin/socksify_ruby   /usr/bin/chef-client'

socksify captures all tcp connections from chef-client and forwards them to our socks proxy.

Needs to get escalated through @adamedx if this is a priority and needs to get on a backlog somewhere.

This may be relevant: https://github.com/eligible/knife-bastion


Yet another log format issue

So i run apache web server, with the logformat: "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-agent}i"" combined
xxx.xxx.xxx.xxx - - [14/Jul/2020:21:31:05 -0400] "GET /log.html HTTP/1.1" 304 - "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36"
one example: goaccess /mnt/tb_hdd/logs/access_log_apache.txt --date-format='%d/%b/%Y' --time-format=%H:%M:%S  -o /mnt/hdd/http_share/log.html
outputs:
Parsed 1 lines producing the following errors:

Token 'xx.xxx.xxx.xxx' doesn't match specifier '%h'

note the ip address blocked out above seems to have the first character cut off.
what log-format do i use? I tried log-format "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-agent}i"" and a bunch of other stuff. it just doesnt seem to work! Please help! I would love to use this tool!

Can you please try:
goaccess /mnt/tb_hdd/logs/access_log_apache.txt --log-format=COMBINED -o /mnt/hdd/http_share/log.html

Let me know if that solves the issue.

Parsed 1 lines producing the following errors:

Token for '%b' specifier is NULL.

Are you using v1.4? Can you please add --no-global-config?

I am using 1.4 (i'm on arch linux) the build date is May 18th, I will test that.

Issue persists

Can you please attach a few lines straight from your access log? Given the line you posted above, in v1.4, I got the output as shown on the screenshot above.

xxx.xxx.xxx.xxx - - [14/Jul/2020:22:07:51 -0400] "GET /my_repo/aarch64/linux-raspberrypi4-5.4.y-5.4.51.r880956.g7d9a391c64cb-1-aarch64.pkg.tar.xz HTTP/1.1"<PHONE_NUMBER>0 "-" "pacman/5.2.2 (Linux aarch64) libalpm/12.0.2"
xxx.xxx.xxx.xxx - - [14/Jul/2020:22:07:53 -0400] "GET /my_repo/aarch64/linux-raspberrypi4-5.4.y-headers-5.4.51.r880956.g7d9a391c64cb-1-aarch64.pkg.tar.xz HTTP/1.1"<PHONE_NUMBER> "-" "pacman/5.2.2 (Linux aarch64) libalpm/12.0.2"

Can you please run
# tail -20 /mnt/tb_hdd/logs/access_log_apache.txt > sample.log

and post the sample.log as an attachment to this post? I just want to make sure I'm testing the right log (ideally without mods). If needed, feel free to replace those IPs with <IP_ADDRESS>. Also, feel free to test your goaccess instance against that log and see how it goes.

sample.log

oh. it seems it works?

but my actual log files fails. let me do some digging

found the issue: I have these strange entries in my log file:
::1 - - [08/Jul/2020:04:57:41 -0400] "OPTIONS * HTTP/1.0" 200 -

also:
::1 - - [09/Jul/2020:12:19:17 -0400] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.43 (Unix) PHP/7.4.8 (internal dummy connection)"

Do you have any idea what those entries could be?

It's Apache's way to wake up processes.
Seems like you got some mixed formats in there, e.g., COMBINED vs COMMON. You can try passing --num-test=0

It works find w/o those ::1 lines

wait, i was wrong. it doesnt work

your argument works. What does it do?

It works perfectly now!

Glad that worked :) Since you got some mixed log formats, then goaccess tries to parse the first few lines as COMBINED, however, it fails on the COMMON line. --num-test=0 just lets goaccess know to skip validation and attempt to parse all lines.
Closing this, feel free to reopen it if needed.

Thanks so much! Your project is so useful! I had a basic little python script doing some of the work!

Thanks for the feedback. Happy to hear you found it useful. Stay tuned for the upcoming releases :)


[otp_ctrl] Increase LFSR reseeding period

The OTP background checks do not happen frequently (only every few seconds). Hence, the LFSR does not have to be reseeded very frequently, either.
This changes the reseed counter mechanism to be usage-based.
The LFSR is only reseeded once 16 values have been drawn from it.
Signed-off-by: Michael Schaffner<EMAIL_ADDRESS>

I'm not happy about making changes to the design after certifying D2V2. D2 means "FEATURE_FROZEN", which clearly is not in this case. Could we hold off on merging this PR at least until after we have a proper, well documented strategy / flow in mind?

Sorry I should explain this change better.
The currently implemented reseeding mechanism is complete from a functional perspective, but I had some concerns that it will be drawing too much entropy from EDN without good reason.
I.e., with the current reseeding counter of 2^16, this would be constantly drawing 64 bit * 25 MHz / 2^16 =  24.4kbit/s, which seems wasteful, given that the background check timers will be set to values in the order of seconds in practice.
A switch to usage-based reseeding as implemented in this PR would address this in a dynamic way (i.e., adjust based on the current background timer configuration). But given that OTP is in D2/V2 it would probably be better to minimize the RTL diff and just increase the width of the reseeding counter from 16bit to 256bit, effectively reducing the entropy consumption to around 100bit/s with a one line change only:
https://github.com/lowRISC/opentitan/blob/ff34c73ae8209e0e060c94428c8c2aadec5357f1/hw/ip/otp_ctrl/rtl/otp_ctrl_lfsr_timer.sv#L36
This should not have an adverse effect on coverage except that it may take longer in simulation until the EDN interface is exercised. If that is a concern, one possible solution would be to just force the parameter to 16bit or less in simulation.


Change URL endpoint to "/api"

Hi, i believe this is not necessary, as the only function of the project is provide the api.
Thank you!


How should installed dependency resolution handle versions?

Currently, keg A is only considered to be a dependency of keg B if the version of A listed in B's install receipt matches A's version.
This means that, after a brew upgrade, the installed dependency resolution might not work any more.
My thinking is that it would be more correct to say B depends on A if A is the currently linked keg for its formula (and maybe if A's version is >= the version of A that B was installed with?).
I'm not entirely sure if I've thought this wrong properly, though, so I'm looking for feedback on this before I try to fix it.
This might be what's causing #1524, but I'm not sure yet.

Currently, keg A is only considered to be a dependency of keg B if the version of A listed in B's install receipt matches A's version.

What would be the downsides of ignoring versions entirely here?

I'm not sure. It feels wrong that we'd consider a B to depend on A if A is older than the version in B's install receipt, but if B is the linked version I guess that doesn't matter..
I think we probably should ignore versions, but only consider the linked version of a keg to have dependents.

I think we probably should ignore versions, but only consider the linked version of a keg to have dependents.

Yep, sounds sensible.


Browser compatibility questions

What is the browser compatibility like? How would it fall back to <IE9?

hi @babaggeii material currently has not been tested extensively in ie 7 or 8 or 9, however the majority of the elements will work (but less the animation, etc.).
cards with secondary vertical area do not work in browsers that do not support flexbox right now.
anyway, this is still work in progress and we will continually add support for old ie and you are welcome to report any compatibility issues you may come across here.


Project Feedback!

👍 Congrats on completing the third project!
I have provided a detailed Project 3 Feedback Guide here which covers the most common issues with this submitted project. Read through the feedback guide point-by-point to determine how you could improve your submission.
Let us know if you have any other thoughts or questions about this assignment. Hopefully by now you feel pretty comfortable with all the major pieces to basic Android apps (Views, Controllers, Models, Authentication, API Communication, Preferences, ActionBar, et al) and see how they all fit together.

It looks like the following features are not reflected on your GIF walkthrough:

Partially Shown: US1 - No auth page. Partial score only.
Partially Shown: US2.1 - No user name. Partial score only.

In order for us to count these towards your submission, please record another GIF that captures these features. Once you do, please push your updates and submit your assignment again through the course portal within 48 hours from the posted deadline so that we can regrade it.
/cc @codepathreview


registration encryption

As for the failing check -- does this mean we will have to create a .env file in our local in order to run this?


Enable HTTPS routing for out of the box deis install

The out of the box deis install with helm puts a self-signed cert on the deis router (deis.rocks).
However, it doesn't appear the router will route any https:// application traffic without further configuration.
Can this be enabled without doing a full wildcard certificate install?

I can see where this might look like a convenience, but I don't think we should do this.  First, let me go on record as saying that I don't think shipping with a default, self-signed cert is actually a good thing-- it seems janky.  I wouldn't want to encourage further use of it.
The inclusion of the default self-signed cert is a necessary evil that we conceded to for one very specific reason.  See #136 and #139 for more info, but I'll summarize more succinctly here.
Consider the case where you have some apps HTTPS enabled, but not others.  The corresponding Nginx config generated by the router will have some virtualhosts listening on 443 (technically, 6443, but that's a story for another time), but not all.  Now, if an incoming request attempts to use HTTPS for an app that is not HTTPS enabled, the request won't match any of the vhosts, and as a result will fall to whichever is the "default" vhost listening on 443 (6443).  Unless explicitly defined, the default is the first vhost, alphabetically speaking.  The consequence of that had previously been that with two apps having domains domain.one HTTPS enabled and domain.two not HTTPS enabled, respectively, requests to https://domain.two would not only yield a cert error, but if ignored, would also yield a response / content from the wrong app (domain.one).
To circumvent that surprising and obviously undesirable behavior, we had to add an HTTPS listener to the vhost that we were explicitly using as a catch-all / "junk drawer" for unmatched requests.  (This is what gives you a 404 if you make a request to some app / domain that just doesn't exist.)  Obviously, to do this we needed to provide that "junk drawer" with an SSL cert, just in case the user had not provided there own.  Now if you use HTTPS to make a request to a non-HTTPS enabled app and choose to ignore the cert warning, you see a 404 instead of the content of another app.
So... with the inclusion of that cert being purely a necessary evil, I do not believe we want to modify the router in any way that further encourages its use.
What I can suggest to you as a workaround is that you customize the chart by adding a platform cert.  You may even wish to use a self-signed cert if that's a risk you understand and have chosen for yourself.  We just wouldn't want to impose that choice/risk on Workflow users out-of-the-box.

Installed a platform cert - working as expected. Thanks!


change grunt server IP

set default to <IP_ADDRESS> so a developer can run the server on a dev machine while accessing the server from another client machine.

LGTM
There are some options for local development vs server that we can prepare in following iterations.


uglifycss uses CRLF

Hi,
Currently, uglifycss uses CRLF for lines ending ("\r\n"), hich does not seem to match the standards used by (every?) other node module.
This has an annoying drawback of failing to launch on some unix systemd because it tries to launch node\r instead of node if you call uglifycss directly and node node uglifycss

It's failing in Ubuntu Server.
This fixed it:
sudo sed -i 's/\r//g' /usr/local/lib/node_modules/uglifycss/uglifycss


The throttle middleware don't limit the specific api? Only limit domain and ip?

Laravel Version: 5.5.*
PHP Version: 7.1
Database Driver & Version:

Description:
I update laravel from 5.4 to 5.5.Then I find the throttle middleware don't limit the specific api.All requests from a single ip use the same maxAttempts.
I want to limit single specific api.
How can I add different restrictions for each interface?
if ($route = $request->route()) {     return sha1($route->getDomain().'|'.$request->ip()); }
Steps To Reproduce:

I can't understand what you're saying, can you please rephrase?
Check Illuminate\Routing\Middleware\resolveRequestSignature, that's how request signature is resolved.

I think @haofrank wants to limit endpoints separately from eachother. IE: you may exceed the limit on one endpoint without affecting the rate limit of another endpoint.

You can extend the ThrottleRequests middleware and override the resolveRequestSignature method as you wish :)
Closing since it's not a bug.


execution.mapUri doesn't on Windows for dart:* uris

From Alex: Breakpoints in SDK files do not work for me because execution_mapUri(1, "C:\dart\dart-1.14-fake\lib\core\print.dart", null) returns file:///C:/dart/dart-1.14-fake/lib/core/print.dart instead of dart:core/print.dart. Server bug?
Source:https://github.com/JetBrains/intellij-plugins/pull/298#issuecomment-155445301

https://codereview.chromium.org/1457643002

https://github.com/dart-lang/sdk/commit/4ed3afeb5edac86fd2afc2cb3a23d6f83533b253


domain config overrides for prod

shuffled things a bit which makes this diff uglier than ideal --- but in short all I really did is add a DOMAIN_OVERRIDES setting which is applied on top of the default config if one of its keys is a substring of the request's hostname.


missing .tools-version

Seeing a bunch fo warnings while running the specs locally. I assume I maybe just using the wrong target for erlang/elixir. I think a .tools-version file would be useful if not a call out in the readme for which version we should be targeting.
Heres an example of the warnings I'm seeing while running specs.
warning: Pow.Store.Backend.MnesiaCache.keys/1 is deprecated. Use `all/2` instead
  test/pow/store/backend/mnesia_cache_test.exs:120: Pow.Store.Backend.MnesiaCacheTest."test single node backwards compatible"/1

That's expected. It's because I'm testing deprecations that'll be removed in v1.1.0. I def should capture all those warnings though, let me see what I can do.

No prob, I just wanted to see if there is spec on which specific version of erlang / elixir I should be using when developing pow.


List most Meltano plugins on Hub, store yaml in repo

Migrated from GitLab: https://gitlab.com/meltano/hub/-/issues/38
Originally created by @tayloramurphy on 2021-05-10 15:42:04

List on Hub:

[ ] transformers
[ ] orchestrators
[ ] utilities

Store YAML:

[ ] dashboards
[ ] transforms
[ ] models
[ ] files

Anything in Discovery.yml should at least have a markdown file on the hub and not link back to meltano.com

View 11 previous comments from the original issue on GitLab


Final styling

In this feature branch, the following was done:
Final styling touches for the leaderboard.

Thank you! @PinkMoon25


TextBlock exception

Using 0.9.999-cibuild0009164-beta I'm getting this exception, it happens after a few minutes of many textBlocks being updated. I'm afraid I don't know the text that causes it.
Index was outside the bounds of the array.
Avalonia.Visuals
T get_Item(Int32)
at Avalonia.Utilities.ReadOnlySlice1.get_Item(Int32 index)    at Avalonia.Media.TextFormatting.Unicode.Codepoint.ReadAt(ReadOnlySlice1 text, Int32 index, Int32& count)
at Avalonia.Skia.TextShaperImpl.FillBuffer(Buffer buffer, ReadOnlySlice1 text)    at Avalonia.Skia.TextShaperImpl.ShapeText(ReadOnlySlice1 text, Typeface typeface, Double fontRenderingEmSize, CultureInfo culture)
at Avalonia.Media.TextFormatting.TextFormatterImpl.FetchTextRuns(ITextSource textSource, Int32 firstTextSourceIndex, TextLineBreak previousLineBreak, TextLineBreak& nextLineBreak)
at Avalonia.Media.TextFormatting.TextFormatterImpl.FormatLine(ITextSource textSource, Int32 firstTextSourceIndex, Double paragraphWidth, TextParagraphProperties paragraphProperties, TextLineBreak previousLineBreak)
at Avalonia.Media.TextFormatting.TextLayout.UpdateLayout()
at Avalonia.Media.TextFormatting.TextLayout..ctor(String text, Typeface typeface, Double fontSize, IBrush foreground, TextAlignment textAlignment, TextWrapping textWrapping, TextTrimming textTrimming, TextDecorationCollection textDecorations, Double maxWidth, Double maxHeight, Double lineHeight, Int32 maxLines, IReadOnlyList1 textStyleOverrides)    at Avalonia.Controls.TextBlock.CreateTextLayout(Size constraint, String text)    at Avalonia.Controls.TextBlock.get_TextLayout()    at Avalonia.Controls.TextBlock.MeasureOverride(Size availableSize)    at Avalonia.Layout.Layoutable.MeasureCore(Size availableSize)    at Avalonia.Layout.Layoutable.Measure(Size availableSize)    at Avalonia.Layout.LayoutManager.Measure(ILayoutable control)    at Avalonia.Layout.LayoutManager.ExecuteMeasurePass()    at Avalonia.Layout.LayoutManager.InnerLayoutPass()    at Avalonia.Layout.LayoutManager.ExecuteLayoutPass()    at Avalonia.Threading.JobRunner.RunJobs(Nullable1 priority)
at Avalonia.Win32.Win32Platform.WndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam)
at Avalonia.Win32.Interop.UnmanagedMethods.DispatchMessage(MSG& lpmsg)
at Avalonia.Win32.Win32Platform.RunLoop(CancellationToken cancellationToken)
at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken)
at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args)
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[T](T builder, String[] args, ShutdownMode shutdownMode)

Will make some tests but it is hard to tell why it can't read the string. The indexer of the underlying Memory is throwing.

It has happened since 0.9.999-cibuild0008839-beta as that has been run 24/7 by many people for the last week. Not much has changed, I am using compiled bindings.

Could you give me an example how you bind the text and how the text could look like

I guess it is the text in the table bottom left, I've just noticed one line wraps which it did not before, maybe because of theme changes.
the code for the table -
<ListBox MinHeight="165" MaxHeight="320" Grid.Row="1"
                        Items="{CompiledBinding allSpots}" VirtualizationMode="Simple"
                        Name="lb"  HorizontalAlignment="Stretch" BorderBrush="LightGray" >
                <ListBox.Styles>
                  <Style Selector="ListBoxItem">
                    <Setter Property="Padding" Value="0,0,0,0" />
                  </Style>
                  </ListBox.Styles>
                  <ListBox.ItemsPanel>
                      <ItemsPanelTemplate>
                          <VirtualizingStackPanel />
                      </ItemsPanelTemplate>
                  </ListBox.ItemsPanel>
                  <ListBox.ItemTemplate>
                      <DataTemplate>
                          <StackPanel Orientation="Horizontal">
                              <TextBlock Width="150" Text="{CompiledBinding time}"/>
                              <TextBlock Width="50" Text="{CompiledBinding frequency}"/>
                              <TextBlock Width="30" Text="{CompiledBinding snr}"/>
                              <TextBlock Width="30" Text="{CompiledBinding dt}"/>
                              <TextBlock Width="50" Text="{CompiledBinding mode}"/>
                              <TextBlock Width="60" Text="{CompiledBinding distance, StringFormat=\{0:0\}}" />

                              <Button Width="150" Classes="LinkButton"
                                      Command="{Binding $parent[ListBox].DataContext.SpotSelectedCommand}"
                                      CommandParameter="{Binding}"
                                      Margin="0" Padding="0" >
                                  <TextBlock Text="{Binding msg}"
                                              Margin="0" Padding="0"
                                              Foreground="{CompiledBinding color, Converter={x:Static r:Converters.SpotToColor}}"/>
                              </Button>
                          </StackPanel>
                      </DataTemplate>
                  </ListBox.ItemTemplate>
              </ListBox>

That line wrapping is a bug and should be fixed by #4260
Will finish that shortly.

I've tweaked the layout and set NoWrap and have left it running, have to wait for someone to transmit what ever makes it fail.

I will change the default to NoWrap again. It seems that should be the default.

No exception after 100,000 decoded messages, do you believe the exception is related to the wrap bug?

Y it could be

0.9.999-cibuild0009225-beta can be tested now. It reverts to default to NoWrap so you don't need to specify it explictitly

No exceptions using 0.9.999-cibuild0009225-beta on a long test

I can repro it, sadly I cannot make repro from ground up (just in my app, which I cannot publish). Code fails in class
Avalonia.Media.TextFormatting.Unicode.Codepoint.ReadAt.
            if (index > text.End)
            {
                return ReplacementCodepoint;
            }

However index is relative to text.Start. In my case text.End=161 and text.Length=61 and index=61.
The next line then causes exception:
var code = text[index];.

Y good catch. This should still not happen. Will fix that line asap. Does it crash with the preview and with the build mentioned above?

Please try out build 9322

Build 9328 has this corrected

Build 9341 should fix your findings

I am unable to verify this because i have dependencies on non-ci builds. I'll check it again on preview 2

#4260

My issue is fixed so I'll close, hopefully it works for @ShadowDancer


rwa tactic behaviour doesn't match documentation

Description
The documentation of rwa says "rwa calls rw, then closes any remaining goals using assumption.", but in fact rwa is a macro of rw $rws:rwRuleSeq $[$loc:location]?; assumption, and it only calls assumption once, on the first goal.
Either the documentation should be corrected, or the tactic definition should be modified to use all_goals assumption - I don't know what's the intended behavior.
Impact
Add :+1: to issues you consider important. If others are impacted by this issue, please ask them to add :+1: to it.

Good question. I would assume the goal (heh) is to solve all side goals, i.e. all newly created goals, with assumption? Which I think we discussed elsewhere could actually benefit from it's own composable syntax. But I digress.
How important is this rwa tactic even? Does it pull it's weight in terms of things people need to know about, things that need to be documented etc?

Looked at some uses in mathlib and core. There are certainly many! One idiom is rwa [foo] at h, presumably with the assumption (heh) that assumption will use h to close the goal. I’m not very fond of this fast-and-loose tactic (the assumption will happily use other hypotheses, and then the proof goes through when maybe it shouldn't have). But given that it’s heavily used, we can just update the docstring to match reality and move on.


Configuring OAuth/OpenID Connect via SOAP API does not save the grantTypes

The SOAPAction "registerOAuthApplicationData" against the OAuthAdminService does not save the grantTypes.
Steps to Reproduce:
# Download
wget https://github.com/wso2/product-is/releases/download/v5.3.0-rc3/wso2is-5.3.0-rc3.zip
# Unzip
unzip wso2is-5.3.0-rc3.zip
cd wso2is-5.3.0
# Start
bin/wso2server.sh
# Switch Console---
# Register the OAuthApplication
curl -k -X POST -H "Content-Type: text/xml" -H "Authorization: Basic YWRtaW46YWRtaW4=" -H "SOAPAction: registerOAuthApplicationData" --data "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsd=\"http://org.apache.axis2/xsd\" xmlns:xsd1=\"http://dto.oauth.identity.carbon.wso2.org/xsd\"><soapenv:Header/><soapenv:Body><xsd:registerOAuthApplicationData><xsd:application><xsd1:OAuthVersion>Oauth-2.0</xsd1:OAuthVersion><xsd1:applicationName>TestApp</xsd1:applicationName><xsd1:callbackUrl>http://localhost:8080/essTournamentSystem/auth</xsd1:callbackUrl><xsd1:grantTypes>refresh_token urn:ietf:params:oauth:grant-type:saml2-bearer implicit password iwa:ntlm client_credentials authorization_code </xsd1:grantTypes></xsd:application></xsd:registerOAuthApplicationData></soapenv:Body></soapenv:Envelope>" https://localhost:9443/services/OAuthAdminService
# Get the OAuthApplication
curl -k -X POST -H "Content-Type: text/xml" -H "Authorization: Basic YWRtaW46YWRtaW4=" -H "SOAPAction: getOAuthApplicationDataByAppName" --data "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsd=\"http://org.apache.axis2/xsd\"><soapenv:Header/><soapenv:Body><xsd:getOAuthApplicationDataByAppName><xsd:appName>TestApp</xsd:appName></xsd:getOAuthApplicationDataByAppName></soapenv:Body></soapenv:Envelope>" https://localhost:9443/services/OAuthAdminService > getOAuthApplicationDataByAppNameResponse.xml
# View the Rsponse:
vi getOAuthApplicationDataByAppNameResponse.xml

See Documentation: https://docs.wso2.com/display/IS530/Service+Provider+Configurations+used+with+APIs#ServiceProviderConfigurationsusedwithAPIs-ConfiguringOAuth/OpenIDConnect

I can confirm i have the same issue. Also, after registering the oauth application data, editing the oauth/openid configuration from the identity server management portal doesn't display the usual options.

The provided screen-cast is not accessible. I could check the functionality using a 5.3.0 GA pack and it worked fine. If you are creating the OAuth service provider via SOAP services, in order to have it properly populated in UI, there are few steps to follow as described at [1]. Just calling the 'registerOAuthApplicationData' method in OAuthAdminService does not populate all the details required by the UI.
[1] - http://blog.lasindu.com/2014/12/wso2-identity-server-provision-service.html

@Pushpalanka Thank you for your answer. I haven't described fully the flow that i am following, but it should be correct. In either case, the grant types are not saved anywhere.
I have been following the following flow:
1)Create Service Provider via the ApplicationManagementService createApplication method.
2)Create the OAuth application via the OauthAdminService
3)Update the Service Provider configuration via the updateApplication method of the ApplicationManagementService with the newly created Oauth application
This results in what i described in my previous comment. By using the SOAP service i can get all the relevant information correctly(except grant types which do not persist) but trying to access the OAuth2/OpenIDConnect configuration via the UI results in what appears on the screenshot.

I've tested the aforementioned scenario on wso2is 5.8.0 pack and I was able to view the grant types via the UI. Please refer [1] to check if you have missed any steps.
[1]<EMAIL_ADDRESS>


libStorage 0.3.3

This patch updates the libStorage dependency to 0.3.3.

Current coverage is 8.44% (diff: 100%)

Merging #633 into release/0.6.1 will not change coverage

@@           release/0.6.1      #633   diff @@
==============================================
  Files                 16        16
  Lines               2096      2096
  Methods                0         0
  Messages               0         0
  Branches               0         0
==============================================
  Hits                 177       177
  Misses              1915      1915
  Partials               4         4

Powered by Codecov. Last update 1926878...89c59e2


Create Tracking API

https://developer.kenticocloud.com/v1/reference#tracking-api-beta

Done as a separate package.


added date to issues filter

Could you add some screenshots of how this looks in action?

Closing this since there's been no response


Not playing when extension activated

Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
Stack Trace
lib.js:214 (getWasmBinaryVersion)
Line 214: req.open('GET', twitchBlobUrl, false);
Twitch-HLS-Ad-Block
0.6.0
Screenshot:
https://imgur.com/a/KMsRwPK

Same Issue here

Same here on Firefox :(

I think the fix for this issue involves delaying everything until the player itself actually loads and before it starts loading the stream. I've noticed that when I enable it after the player loads it works.

Is this extension abandoned ? No answer for a month and still not working...

I made a fork that gets it kinda sorta working, page might need a refresh but ads should no longer play for the moment.
https://github.com/MillhioreF/Twitch-HLS-AdBlock

I made a fork that gets it kinda sorta working, page might need a refresh but ads should no longer play for the moment.
https://github.com/MillhioreF/Twitch-HLS-AdBlock

How do I package it to a xpi? Never done it before. I use firefox and would love to try your version.

You're on your own there, I've never packaged an xpi myself. Google should have some tutorials for doing so.


0.7.4 consumes much more GPU memory than 0.5.0

For the same script to finetune a gpt2-xl model with 8bit and bf16, version 0.5.0 uses around 10GB of GPU mem, but version 0.7.4 gets OOM on a 4090, indicating that the memory consumption is larger than 24GB. Sorry that I cannot post my code here because of copyright issues, but I think this issue can be replicated easily.

Hi @zhourunlong
Thanks for the issue!
By default in the previous versions gradient_checkpointing was set to True whereas on the earlier versions you need to manually set it to True; can you make sure to add gradient_checkpointing=True on your training script?

Hi @zhourunlong Thanks for the issue! By default in the previous versions gradient_checkpointing was set to True whereas on the earlier versions you need to manually set it to True; can you make sure to add gradient_checkpointing=True on your training script?

Thanks for your reply! I manually set gradient_checkpointing=True in version 0.7.4 then the memory issue is back to 10GB. This resolves my issue.
I used TrainingArguments class in transformers. By default this class sets gradient_checkpointing=False. In version 0.5.0 the SFTTrainer doesn't use this argument in __init__. So this is in fact a bug fix :)


Fallback to C++17

googletest v13 and lower has bug at using std::u8string on RedHeat8 with C++20
(refer https://github.com/google/googletest/pull/3703)
so fallback to C++17.

local test passed, hipblaslt-test and tensile tests.


ConnectId not always unique

As mentioned in comment in #181, the generated ConnectId can possibly be the same for two connections that happen to connect about the same time. The potential duplication of ConnectId makes it difficult to reliably manage connections. The issue arises from the use of DateTime.UtcNow.Ticks, which can produce the the same value (I believe if called within the same 100 ns window).
I believe the following modification to using DateTime.UtcNow.Ticks would be a simple fix:
https://stackoverflow.com/questions/5608980/how-to-ensure-a-timestamp-is-always-unique/14369695
(the HiResDateTime solution provided by the answer by Ian)
//Some c# code if needed
_connectId = DateTime.UtcNow.Ticks;

@Mukikaizoku hi! This is not real connectId. This is connect time used for internal logic (and it works for this perfectly). I will just rename this variable. To got real connect id for your specific purposes you can just call EndPoint.GetHashCode().

A hashcode is not really unique either though. Not even an IPv4 endpoint is an int itself (4 bytes IP + 2 bytes port -> collisions possible) it's even more so with IPv6. Of course this is mostly an academical issue as the collisions are relatively unlikely.
But wouldn't it be actually enough to just have an connection id counter that you increment by one for  each new connect? Would work without any wrapping for 2^31 connections after all :)

for that one

@RevenantX Thanks for the quick response! If it's a time stamp needed for internal logic, then certainly a name change would be good as to not mislead. Otherwise I agree with @Alloc86 with an additional thought that EndPoint.GetHashCode() could have issues with NAT possibly?

that EndPoint.GetHashCode() could have issues with NAT possibly?

No. Why?) peers behind NAT after connection to "server" will get different ports, so peers behind NAT and any other peers in same situtation) IPEndPoint.GetHashCode() includes port.

A hashcode is not really unique either though. Not even an IPv4 endpoint is an int itself (4 bytes IP + 2 bytes port -> collisions possible) it's even more so with IPv6. Of course this is mostly an academical issue as the collisions are relatively unlikely.
But wouldn't it be actually enough to just have an connection id counter that you increment by one for each new connect? Would work without any wrapping for 2^31 connections after all :)

Why you need some id (as int or long value)? There already many helpful methods in NetManager (and foreach in 0.8.x)
for(NetPeer peer in netServer)
{
    if(peer.ConnectionState == ConnectionState.Connected)
        //do something with peer
}

A hashcode is not really unique either though. Not even an IPv4 endpoint is an int itself (4 bytes IP + 2 bytes port -> collisions possible) it's even more so with IPv6. Of course this is mostly an academical issue as the collisions are relatively unlikely.
But wouldn't it be actually enough to just have an connection id counter that you increment by one for each new connect? Would work without any wrapping for 2^31 connections after all :)

Why you need some id (as int or long value)? There already many helpful methods in NetManager (and foreach in 0.8.x)
for(NetPeer peer in netServer)
{
    if(peer.ConnectionState == ConnectionState.Connected)
        //do something with peer
}

To send a message to a specific peer by having a dictionary <long, NetPeer> on the Server. Just in case if I don't want to store reference, but just an id so I can access the dictionary later on.

I am using ECS. And I don't want to use ISharedComponentData to reference a peer. Instead I am using IComponentData which supports only bittable

I am generating a simple ClientId as a long counter and put is as NetPeer.Tag on the server. I use it to tag internal data to know which client has generated them. The reason is:

Simple eval using !=. The IPEndPoint has Equals overridden, but it's a bit slower and must resolve nulls.
Do not need to store Weak reference or implement some other king of cleanup.

Summary: IPEndPoint would serve the same purpose, but is more hassle.
Note: this kind of counter id should not be shared with clients for the security reasons (cheating). If someone needs to resend some client id between client and server, then it's better to use new Guid().
@RevenantX if you do not have any other reason to keep ConnectId as current time (like security), then making it as a simple counter so other folks may use it, too.

+1 for a unique connectId. I actually assumed it was already due to this line in the documentation "Connection id for internal purposes, but can be used as key  in your dictionary of peers".
Looking through the code it appears that is used to address clients on connect, granted I don't fully understand the code, but could this not be problematic? For example if one connection is accepted and the other is rejected.
@xmedeko I've been thinking about what you're saying about security and I don't think it should really be an issue if clients know the ID of other players. That is unless you let the client identify themselves within the packet data they are sending. Maybe I'm missing something, but your authority (server) should check that the NetPeer that sent the packet has authority to do so for the object they are trying to control, before the packet is even opened.
@RevenantX Thanks for this amazing library.

I think i will make this ConnectID unique(maybe just counter). And i must rework some connection logic.

Спасибо )


V1.5.0 release without assets

I can see release 1.5.0 in https://github.com/apache/camel-k/releases but no assets related to this version. Is it normal?

It is still on vote

Where could I see votes about a release ?

On the dev or users mailing list
https://camel.apache.org/community/mailing-list/

Released!