Moved PCB outputs/exports to Google Drive

Description
Moved exported/output files for Rev1 and RevA PCB design out to Google Drive, updated links in repository.
Closes #1205
General checklist:

[x] I have performed a self-review, including - looked through the Files changed tab, browsed repository in my branch
[x] I have made corresponding changes to the documentation - to reflect changes in code, electrical or mechanical design
[x] All new documentation or graphics follow the documentation style guide
[x] All new content is linked, easily discoverable, does not require too many clicks
[x] I have reviewed any other relevant parts of our contributor wiki to ensure that this PR conforms to the standards
[x] I have given the PR a descriptive name (prefixed with WIP if it is not yet ready for review)
[x] I have tagged relevant reviewers

By definition they ARE in the repo, in its history, in the previous commits. If someone is interested in previous state of design, they rewind the clock. The current state of the repo reflects the current design. Current state should not have either design content or documentation reflective of obsolete states. Just as in software we do not keep outdated code nor document how things used to work. And by "do not keep" I mean we do keep it, but not in the current version.
This is also why we make "releases". For someone that is using v0.3 they are free to download the snapshot release we made when we closed that version, and they get the totality of what that included. If on top of that they are attempting to make make a hybrid thing with a mix and match of hardware and software from various states in the design process, that is at their own risk, as our copious disclaimers state. But it's explicitly not part of the contract or promise for a rolling design under version control to try to document all permutations like this. In fact, I think it adds more confusion.
As an illustration we have this same situation with the mechanical/manufacturing design. New things have replaced the old. Some of the old elements remain, unadapted. Some of the old elements have been totally gutted without adequate replacement when deemed unutilizable. If someone wants to build one now, they are free to improvise from the same set of assumptions we have, and they can dip into the v0.3 release for inspiration, which they can download from the snapshot, but we are not keeping a copy of everything v0.3 in master until the totality of v0.4 arrives. Especially since it is not evolving anymore.

As for branching - others are also free to branch off of old commits or older states of the repo. Though as I understand it, Altium was not very conducive to this type of version control anyways, so for someone trying to do that, it would make little difference if they forked from an earlier commit, or downloaded the "release" or downloaded from GDrive?
I have no problem with renaming or moving the directories around on GDrive if their current state is not optimal. Also, I see how some of the content of the old Readme might still be useful, but in so far as it is applicable to the new PCB, so I would suggest taking it and massaging it in that direction, though this is I think a little bit out of my scope.

[ ]  Reviewed new documentation structure
[ ]  Reviewed all changed READMEs and their links
[ ]  Checked links to Google Drive
[ ]  Checked photos show up correctly

Things to check:

[ ] Engineering folder does not appear to be accessible from the public-facing side of the Google Drive.


iOS15 broadcast IP <IP_ADDRESS> not allowed

Hi,
Could you provide change in this library?
<IP_ADDRESS> broadcast address is ignored by iOS15
probably DatagramBroadcaster.cs
method  BroadcastAsync
line with _broadcastTarget = ...

Thanks for the bug report!
Sorry I didn't test this library on iOS, because I don't own any Apple device.
Since SmartConfig protocol is all about the length of wireless packet, the broadcast address is not really important. Even if it's just a P2P data sending will do the trick.
I'll fix this problem ASAP.

you can calculate broadcast IPAddress based on IP and mask provided
    public static IPAddress GetBroadcastAddress(IPAddress address, IPAddress mask)
    {
        uint ipAddress = BitConverter.ToUInt32(address.GetAddressBytes(), 0);
        uint ipMaskV4 = BitConverter.ToUInt32(mask.GetAddressBytes(), 0);
        uint broadCastIpAddress = ipAddress | ~ipMaskV4;

        return new IPAddress(BitConverter.GetBytes(broadCastIpAddress));
    }


Update Excel.Range.AutoFilter.md

The description didn't said criteria2 can't appear without criteria1. It is, however, used without criteria1 if you filter by date.
I added this to the description, albeit maybe a bit too verbose(cos I didn't find it easy to understand, when I first met it) and added an example at the end.

Docs Build status updates of commit 1389c3c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

api/Excel.Range.AutoFilter.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


fix lint warning

fix lint warning - exported func NewStreamVisitor returns unexported type *command.streamVisitor, which can be annoying to use

Codecov Report

Merging #242 (b14f7a3) into main (4749392) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #242   +/-   ##
=======================================
  Coverage   80.12%   80.12%
=======================================
  Files          44       44
  Lines        4835     4835
=======================================
  Hits         3874     3874
  Misses        740      740
  Partials      221      221

Continue to review full report at Codecov.

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


[image_picker] Fixes crash when an image in the gallery is tapped mor…

…e than once
Description
Fixes crash when an image in the gallery is tapped more than once
Related Issues
https://github.com/flutter/flutter/issues/55063
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[ ] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[ ] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (flutter analyze) does not report any problems on my PR.
[x] I read and followed the Flutter Style Guide.
[x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
[x] I updated CHANGELOG.md to add a description of the change.
[x] I signed the CLA.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
[x] No, this is not a breaking change.

https://github.com/flutter/plugins/pull/2625 seems similar. We are waiting for test to land that PR. If you can help @iheron to add test that'd be great! Or if you can add tests in your PR that'd be good too.

@cyanglaz I added one test to simulate multiple times crash. #2625 is the similar crash, I can help hime to add the test.

@zhongwuzw This is great! Thanks. The other PR is pretty similar to this one. I'm going to land this, and the other PR might need to rebase.


Cannot map dates

I created entities with both java.util.Date and java.time.LocalDateTime (I actually also tried java.sql.Date and java.sql.Timestamp). Dates don't work. They don't insert. And, if I create a table with date data and run a query, the dates don't come out.
Task List

[x] Make an object with a LocalDateTime as one of the fields
[x] Stacktrace (if present) provided
[x] Example that reproduces the problem uploaded to Github
[x] Full description of the issue provided (see below)

Steps to Reproduce

Make an object with a LocalDateTime as a field
Save or query

Expected Behaviour
It should map a TIMESTAMP/DATETIME to LocalDateTime and a DATE to a Date
Actual Behaviour
Cannot decode value
java.lang.IllegalArgumentException: Cannot decode value of type java.util.Date
|               	at io.r2dbc.h2.codecs.DefaultCodecs.decode(DefaultCodecs.java:60)
|               	at io.r2dbc.h2.H2Row.get(H2Row.java:73)
|               	at io.micronaut.data.r2dbc.mapper.ColumnNameR2dbcResultReader.readTimestamp(ColumnNameR2dbcResultReader.java:63)
|               	at io.micronaut.data.r2dbc.mapper.ColumnNameR2dbcResultReader.readTimestamp(ColumnNameR2dbcResultReader.java:34)
|               	at io.micronaut.data.runtime.mapper.ResultReader.readDynamic(ResultReader.java:117)
|               	at io.micronaut.data.runtime.mapper.sql.SqlResultEntityTypeMapper.readEntity(SqlResultEntityTypeMapper.java:314)
|               	at io.micronaut.data.runtime.mapper.sql.SqlResultEntityTypeMapper.map(SqlResultEntityTypeMapper.java:159)
|               	at io.micronaut.data.r2dbc.operations.DefaultR2dbcRepositoryOperations$DefaultR2dbcReactiveRepositoryOperations.lambda$findOne$5(DefaultR2dbcRepositoryOperations.java:570)
|               	at io.r2dbc.h2.H2Result.lambda$map$0(H2Result.java:67)

Environment Information

Operating System: MacOS
Micronaut Version: 2.2.3
JDK Version: corretto-11

Example Application

https://github.com/charlie-harvey/micronaut-r2dbc-bad-dates

I went through every single entity in tck, not one has a date. Lots of string, Long, Integer, UUID. No dates.
https://github.com/micronaut-projects/micronaut-data/tree/master/data-tck/src/main/java/io/micronaut/data/tck/entities

I went through every single entity in tck, not one has a date. Lots of string, Long, Integer, UUID. No dates.
https://github.com/micronaut-projects/micronaut-data/tree/master/data-tck/src/main/java/io/micronaut/data/tck/entities

I cloned the r2dbc repo and added two entities and changed 1 test. Uses H2 because it is easiest. But I encountered the problem using MySQL. So it isn't just the H2 driver.

I cloned the r2dbc repo and added two entities and changed 1 test. Uses H2 because it is easiest. But I encountered the problem using MySQL. So it isn't just the H2 driver.

I believe that R2DBC supports the modern date types like LocalDateTime etc.

I believe that R2DBC supports the modern date types like LocalDateTime etc.

It does. https://github.com/mirromutth/r2dbc-mysql#data-type-mapping
As of right now I cannot tell if this driver is not working, or Micronaut. Since I get the same error with H2 and MySQL, and I get it with Date and LocalDateTime, that leads me to believe it is in Micronaut.

It does. https://github.com/mirromutth/r2dbc-mysql#data-type-mapping
As of right now I cannot tell if this driver is not working, or Micronaut. Since I get the same error with H2 and MySQL, and I get it with Date and LocalDateTime, that leads me to believe it is in Micronaut.

I saw there was some date work that went into the 1.0.0 release. I updated to get the 1.0.0 of micronaut-r2dbc and micronaut (and -data) 2.2.3. And it worked! Hooray! Date problems gone.

I saw there was some date work that went into the 1.0.0 release. I updated to get the 1.0.0 of micronaut-r2dbc and micronaut (and -data) 2.2.3. And it worked! Hooray! Date problems gone.

I was wrong. It is still broken. Dates are being inserted but retrieving them still throws the error.
09:54:56.849 [reactor-tcp-nio-4] DEBUG io.micronaut.data.query - Executing Query: SELECT book_.`id`,book_.`date_created`,book_.`title`,book_.`pages`,book_.`author_id` FROM `book` book_
09:54:56.862 [reactor-tcp-nio-4] ERROR i.m.h.n.stream.HttpStreamsHandler - Error occurred writing stream response: Cannot decode value of type class java.util.Date for 7 with collation 63
java.lang.IllegalArgumentException: Cannot decode value of type class java.util.Date for 7 with collation 63
	at dev.miku.r2dbc.mysql.codec.DefaultCodecs.decodeNormal(DefaultCodecs.java:212)
	at dev.miku.r2dbc.mysql.codec.DefaultCodecs.decode(DefaultCodecs.java:105)
	at dev.miku.r2dbc.mysql.MySqlRow.get(MySqlRow.java:67)
	at io.micronaut.data.r2dbc.mapper.ColumnNameR2dbcResultReader.readTimestamp(ColumnNameR2dbcResultReader.java:63)
	at io.micronaut.data.r2dbc.mapper.ColumnNameR2dbcResultReader.readTimestamp(ColumnNameR2dbcResultReader.java:34)
	at io.micronaut.data.runtime.mapper.ResultReader.readDynamic(ResultReader.java:117)
	at io.micronaut.data.runtime.mapper.sql.SqlResultEntityTypeMapper.readEntity(SqlResultEntityTypeMapper.java:443)
	at io.micronaut.data.runtime.mapper.sql.SqlResultEntityTypeMapper.map(SqlResultEntityTypeMapper.java:159)

I was wrong. It is still broken. Dates are being inserted but retrieving them still throws the error.
09:54:56.849 [reactor-tcp-nio-4] DEBUG io.micronaut.data.query - Executing Query: SELECT book_.`id`,book_.`date_created`,book_.`title`,book_.`pages`,book_.`author_id` FROM `book` book_
09:54:56.862 [reactor-tcp-nio-4] ERROR i.m.h.n.stream.HttpStreamsHandler - Error occurred writing stream response: Cannot decode value of type class java.util.Date for 7 with collation 63
java.lang.IllegalArgumentException: Cannot decode value of type class java.util.Date for 7 with collation 63
	at dev.miku.r2dbc.mysql.codec.DefaultCodecs.decodeNormal(DefaultCodecs.java:212)
	at dev.miku.r2dbc.mysql.codec.DefaultCodecs.decode(DefaultCodecs.java:105)
	at dev.miku.r2dbc.mysql.MySqlRow.get(MySqlRow.java:67)
	at io.micronaut.data.r2dbc.mapper.ColumnNameR2dbcResultReader.readTimestamp(ColumnNameR2dbcResultReader.java:63)
	at io.micronaut.data.r2dbc.mapper.ColumnNameR2dbcResultReader.readTimestamp(ColumnNameR2dbcResultReader.java:34)
	at io.micronaut.data.runtime.mapper.ResultReader.readDynamic(ResultReader.java:117)
	at io.micronaut.data.runtime.mapper.sql.SqlResultEntityTypeMapper.readEntity(SqlResultEntityTypeMapper.java:443)
	at io.micronaut.data.runtime.mapper.sql.SqlResultEntityTypeMapper.map(SqlResultEntityTypeMapper.java:159)

🎉  Thanks so much for getting to this so quickly.

🎉  Thanks so much for getting to this so quickly.


Never ending "Initializing project in the cloud..." message on "amplify init"

Never ending "Initializing project in the cloud..." message on "amplify init"
Amplify CLI Version
4.21.20
To Reproduce
I was running "amplify init", and then I had a power shortage, and the internet connexion was cut.
When trying agin, I got a never ending message "Initializing project in the cloud..."
This is not the first project I initialized.
I already initialized several ones with the same profile before. And it was all right.

Also I tried with another brand new projet, tried with other brand new profiles, and still can't make it work.
Expected behavior
The "amplify init" command should return and give a success notification.
Screenshots

Desktop (please complete the following information):

OS: Windows
Node Version. v10.16.1

Additional context
Add any other context about the problem here.

After more than half an hour, the cli finally stopped with following error  :

It seems the CLI can't create the roles AuthRole and UnAuthRole.
However my user has the administrator access:

same here

I tried a previous Amplify CLI version (4.21.2).
And no more problem.
So you must have added a bug on latest version.
Hope that helps.
Alexandre

There was some API Issues with IAM that are now resolved as noted in the service health dashboard.
https://status.aws.amazon.com/
Should you have any issues related to this again please comment below.


[BUG] UI - The Node scheduling options should be always active/available

Describe the bug
The option for enable and disable the node scheduling on selecting node should be always available.
To Reproduce
Steps to reproduce the behavior:

Go to the node page.
Select a node and click 'Edit node'.
Select 'Eviction requested' True
Select the same node and click 'Edit node'.
The disable option is not available.

Expected behavior
The enable and disable node should be available always.


RailsDevs French Version

Pull request checklist

[x] My code contains tests covering the code I modified
[x] I linted and tested the project with bin/check
[x] I added significant changes and product updates to the changelog

Done 👌
(I made "ago" appear, but I replaced it by "auparavant" in French)
Le sam. 15 oct. 2022 à 16:15, Joe Masilotti @.***> a
écrit :

@.**** requested changes on this pull request.
Thanks for this! I requested two changes and then we should be good to
merge.
In config/application.rb
https://github.com/joemasilotti/railsdevs.com/pull/687#discussion_r996311941
:

@@ -41,7 +41,7 @@ class Application < Rails::Application
config.i18n.load_path += Dir[Rails.root.join("config", "locales", "**", "*.{rb,yml}")]

 # Permitted locales available for the application

config.i18n.available_locales = [:en, :es, :"zh-TW", :"pt-BR"]

fr: needs to be :fr here.
In app/components/time_component.html.erb
https://github.com/joemasilotti/railsdevs.com/pull/687#discussion_r996311993
:

@@ -1,3 +1,3 @@
<%= time_tag time do %>

<%= time_ago_in_words time %> ago

"ago" still needs to appear in the UI.
—
Reply to this email directly, view it on GitHub
https://github.com/joemasilotti/railsdevs.com/pull/687#pullrequestreview-1143192374,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJC7OEAJM6QWBG5TEFBBFWTWDK377ANCNFSM6AAAAAARCSVOWY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Thanks so much for this!


added projectLoader functionality. Renders ProjectLoader and once use…

Styled Project Loader Component
Added functionality to open folder from ProjectLoader
Conditionally renders depending on store value.

*Need to refactor code to create a component called OpenFolder so we dont reuse the same code in different places.

Closed Pull request. Pushed to master instead of staging


could not find sorts

kjkompile.sh
Preprocessing semantics:
[Error] Compiler: Could not find sorts: [SwitchLabel]
Source(/home/harshita/java-semantics/src/./prep/../common/list-syntax.k)
Location(36,38,36,95)
Execution semantics:
[Error] Critical: Could not find file: builtins/model-checker.k
Lookup directories:[./exec,
/home/harshita/new/k/lib/java/../../include/builtin]
Source(/home/harshita/java-semantics/src/./exec/ltl-support.k)
Location(1,1,1,34)
still producing error

@20harshita which K version are you using? @laurayuwen could you let him know which version is working for java semantics?

The latest K is not working with Java Semantics, sorry.
Could you try this branch: https://github.com/kframework/k/tree/pldi16 ?

Could you try this? https://github.com/kframework/k/tree/javaCompatible

I M trying..will rply u the result.
On 19 Jan 2016 04:27, "laurayuwen"<EMAIL_ADDRESS>wrote:

Could you try this? https://github.com/kframework/k/tree/javaCompatible
—
Reply to this email directly or view it on GitHub.

in this screenshot i downloaded TAR.GZ file.
On Tue, Jan 19, 2016 at 1:20 AM, Daejun Park<EMAIL_ADDRESS>wrote:

@20harshita https://github.com/20harshita which K version are you
using? @laurayuwen https://github.com/laurayuwen could you let him know
which version is working for java semantics?
—
Reply to this email directly or view it on GitHub
https://github.com/kframework/k/issues/2079#issuecomment-172633579.

after runing command kjkompile.sh..will processing semantics take more time
to process??
due to this my system get hanged..shall i have to run it on server??
On Tue, Jan 19, 2016 at 6:49 PM, HARSHITA GOSWAMI<EMAIL_ADDRESS>
wrote:

I M trying..will rply u the result.
On 19 Jan 2016 04:27, "laurayuwen"<EMAIL_ADDRESS>wrote:

Could you try this? https://github.com/kframework/k/tree/javaCompatible
—
Reply to this email directly or view it on GitHub.

Yes, it can take half an hour or more. If your system get hanged, I am
afraid so.
On 19 January 2016 at 08:41, 20harshita<EMAIL_ADDRESS>wrote:

after runing command kjkompile.sh..will processing semantics take more time
to process??
due to this my system get hanged..shall i have to run it on server??
On Tue, Jan 19, 2016 at 6:49 PM, HARSHITA GOSWAMI <
<EMAIL_ADDRESS>
wrote:

I M trying..will rply u the result.
On 19 Jan 2016 04:27, "laurayuwen"<EMAIL_ADDRESS>wrote:

Could you try this?
https://github.com/kframework/k/tree/javaCompatible
—
Reply to this email directly or view it on GitHub.

—
Reply to this email directly or view it on GitHub
https://github.com/kframework/k/issues/2079#issuecomment-172872892.

Can you provide me how to get input from user in K in imp language?


Conversion from real type to Modelica.SIunits.Voltage

Reported by Utkarsh_MARATHE on 22 Dec 2016 09:56 UTC
I want to use value of result of my PID controller model which is real to be fed as value to Voltage source. Is there any easy way to convert real value to voltage.
By this I mean I want to get value and send same volts as power source value

Migrated-From: https://trac.modelica.org/Modelica/ticket/2138

Comment by dietmarw on 22 Dec 2016 14:27 UTC
Questions regarding modelling should be asked at http://stackoverflow.com/tags/modelica
Just short, have a look at Modelica.Electrical.Analog.Sources.SignalVoltage which does exactly what you want.


Auto focus & zoom in - iOS issue

open the URL in the webview (OK)
close the app
reopen the app from background (THE PROBLEM HERE) - the webview will automatically open the keyboard, the first input get focus and zoom in is made

      <WebView                     useWebKit={true}                     style={{flex: 1, backgroundColor: '#fff'}}                     source={{uri: 'https://www.mydavy.ie'}}                     startInLoadingState={true}                     renderLoading={this.renderLoading}                 />

@mydesweb You can track the transition to the background mode and lock (or unmount) WebView

@legion-zver I agree with you, I can do this as a workaround for the moment but I think that is a issue with the webview that should be fixed in feature

@mydesweb does this happen on Android too? Or just iOS?

@tallpants on Android is working just fine, the first field input get focus but no zoom in and the keyboard is shown only if I click on the field

Thanks @mydesweb ; any ideas on how this might be fixed?

I notice that at the bottom of login page source codes, there is a line:
$("#username").focus();
This may be the reason webview auto focus & zoom.

Steps to reproduce:

touch a index.html file, and append codes below:

<!DOCTYPE html>
<html>
<head>
  <title></title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=10">
  <script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js">
  </script>
</head>
<body>
  <input type="text" id="username" value="Text field.">
  <script>
	$(document).ready(function() {
		$("#username").focus();  // target line
	});
  </script>
</body>
</html>

start a file server, by using python -m SimpleHTTPServer 30001 or other ways u prefer.

open iOS Safari

check http://<your-ip>:30001/
enter background
reopen Safari

comment the target line and repeat step 3.

@mydesweb If you set useWebkit = {false} The problem remains?

@legion-zver I noticed that only if I explicitly set useWebKit={false} (which is weird) auto focus & zoom will not happen, but on click on any input it is the same behavior. I had a chance to test the same scenario on a native implementation (actually I rewrite the app on react native) and it is working well, but I can't say how they did the implementation because I am not an iOS dev

2 solutions:
https://stackoverflow.com/a/6394497/4022333
https://stackoverflow.com/a/13706151/4022333

@Titozzz are you sure that there is a no flag/option for the web view to disable scaling? and why if if I explicitly set useWebKit={false} works different ?

This is a problem and what if the page is a Google form? The form behaves properly in Android Webview but in iOS it simply zooms in as soon as a form field is in focus. Also, from what I see useWebkit isn't a prop anymore. And none of the stackoverflow solutions would work in this case.

Any update to this? Having an issue where my login form is zooming in when tapping an input field and after hitting Done to dismiss the keyboard the form shifts to the right and it gets clipped.

I am using content editable html in webview and getting issue like this. When I tap on any line of paragraph, the webview zooms and set itself to fit the page. And I dont want this behaviour. Any suggestions ? How I can fix it ?
I tried setting the meta tag, yet its not fixed.
I don't want it to auto zoom but I want user can do it manually.
Any other workaround/helps ?

https://stackoverflow.com/a/64685265/6740333
Worked for me. Probably try setting the empty onMessage handler


Initial PR for #73

@etsauer this initial PR to resolve #73 . Let me know if I heading the right way with this PR then I can continue the enhancement.

hey @aizuddin85 this looks neat! Can you add some instructions in the readme on how to use the flags so I can test the options?

@etsauer update README.md for example to run. Agree that by default it should run everything with ability to skip certain tests.

@aizuddin85 can you make that change to the .ini file to run everything by default please?

@etsauer did several changes and update pytest.ini to run all as default.

Closing this one. Create new PR #81

@aizuddin85 hey, I merged #81. In the future, you don't need to close PRs. You can just push new commits to the same branch to address comments. That way we maintain the conversations we had around the change.

@etsauer thanks for accepting the PR. Reason behind I closed this PR due to too many merge conflicts that I wrongly introduced when I fetched from upstream. Still learning the best way to fix multiple merge conflicts. :-)


Feat event user guide

Fix #209 and fix #227
Changes proposed in this pull request:

Codecov Report

Merging #231 (e02ebc9) into main (e2d3229) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff            @@
##               main     #231   +/-   ##
=========================================
  Coverage     64.82%   64.82%
  Complexity      541      541
=========================================
  Files           164      164
  Lines          4804     4804
  Branches        614      614
=========================================
  Hits           3114     3114
  Misses         1537     1537
  Partials        153      153

Flag
Coverage Δ

*Carryforward flag

api_ut
54.10% <ø> (ø)

Carriedforward from 2297de0

server
68.86% <ø> (ø)

Carriedforward from 2297de0

ui
94.53% <ø> (ø)

*This pull request uses carry forward flags. Click here to find out more.


fix param section + other fixes

I've noticed that a few of the PRs merged already broke the formatting of the parameters section of unmanaged APIs so this PR fixes that. I'll merge the other pending PRs with the same issue and submit a new commit.
Also simplifies a few links and changes Parameters section to be H2 on the articles being updated. I'll submit a new PR to make the same change more globally across the unmanaged API ref.
/cc @nschonni

Thanks for fixing my fixes 😄


Added validation to the code that extracts the name from the rider ID

Added validation to the code that extracts the name from the rider ID and safely handled all cases that relied on it.
Also warn the user if a manually entered ID does not match the expected format.

Good point. Done.


Problem compiling in .NET Core 3.1 project

I've a .NET Core 3.1 project and it has compiling problem when I build my project after referencing this package.

@linuschinsay currently it is published to support net5.0 and above. I shall add support for lower versions and let you know.

@linuschinsay Can you please check with the latest version 1.0.2? Hope it helps.

I am closing this, as the new version work well with netcoreapp3.1


Raidboss: update emerald ex trigger file

I played and cleared a couple of times last night and update the triggers for several spots. Some of the names need to be re-translated as I'm not so sure what they are in other languages.

I have about 2 hours worth of pulls for Emerald Extreme, and I don't have a single 55C9 or 55CA coming from Bitblade, only 55CD. Any ideas?

I have about 2 hours worth of pulls for Emerald Extreme, and I don't have a single 55C9 or 55CA coming from Bitblade, only 55CD. Any ideas?

I saw it on my own logs and my friend's logs as well, here's one of them:
[17:43:45.513] 15:4000CA2C:Bitblade:55CA:Secundus Terminus Est:102D797F:Thor Ragnorak:710003:912B0000:1B:55CA8000:0:0:0:0:0:0:0:0:0:0:0:0:142143:180294:10000:10000:0:1000:100.1144:82.78015:-5.960464E-08:-3.111871:148000:148000:10000:10000:0:1000:100.1301:82.80712:0:-4.792213E-05:0000C353
[17:43:45.513] 15:4000CA2E:Bitblade:55CA:Secundus Terminus Est:10658E8A:Skarlett Astraea:710003:75850000:1B:55CA8000:0:0:0:0:0:0:0:0:0:0:0:0:127053:127053:10000:10000:0:1000:116.3142:100.9107:-0.000306401:1.406023:148000:148000:10000:10000:0:1000:116.4296:100.9355:-2.384186E-07:-4.792213E-05:0000C355
[17:43:45.513] 15:4000CA2F:Bitblade:55CA:Secundus Terminus Est:101DBC1C:Eve Burnadam:710003:35CC0000:1B:55CA8000:0:0:0:0:0:0:0:0:0:0:0:0:125484:125484:6800:10000:0:1000:82.07825:99.27002:-0.001125273:1.532135:148000:148000:10000:10000:0:1000:82.09755:99.30121:0:-4.792213E-05:0000C356

[17:43:45.513] 15:4000CA2C:Bitblade:55CA:Secundus Terminus Est:102D797F:Thor Ragnorak:710003:912B0000:1B:55CA8000:0:0:0:0:0:0:0:0:0:0:0:0:142143:180294:10000:10000:0:1000:100.1144:82.78015:-5.960464E-08:-3.111871:148000:148000:10000:10000:0:1000:100.1301:82.80712:0:-4.792213E-05:0000C353

Oh, I see. So, these are 15:, which corresponds to ability; you have startsUsing in the trigger file, which all I see for Bitblade starts is:
[20:37:44.651] 14:55CD:Bitblade starts using Tertius Terminus Est on Bitblade.

[17:43:45.513] 15:4000CA2C:Bitblade:55CA:Secundus Terminus Est:102D797F:Thor Ragnorak:710003:912B0000:1B:55CA8000:0:0:0:0:0:0:0:0:0:0:0:0:142143:180294:10000:10000:0:1000:100.1144:82.78015:-5.960464E-08:-3.111871:148000:148000:10000:10000:0:1000:100.1301:82.80712:0:-4.792213E-05:0000C353

Oh, I see. So, these are 15:, which corresponds to ability; you have startsUsing in the trigger file, which all I see for Bitblade starts is:
[20:37:44.651] 14:55CD:Bitblade starts using Tertius Terminus Est on Bitblade.

Right... I should use a different one, will update now.  :P


Simplistic GUI (Angular Frontend + Django Backend) added

Status
READY
Description
Developed a simplistic GUI

The Display is closely linked to the CLI output bringing GUI closer to CLI
Django Backend now has high functionality and can be extended for further use very easily
GUI can be extended to cover any new module by changing config.py located in the backend

Related Issue
#341
Todos

[x] Tests - Tests have been completed on local machine. Tests on clean virtual machine yet to be started.
[ ] Documentation - Documentation will be updated soon

Deploy Notes

Angular CLI: 13.0.1
Node: 16.13.0
Package Manager: npm 8.1.3
Django: 3.2.9

Impacted Areas in Application
New Frontend created using angular.
Project folder is - simplistic-gui
new Backend created using Django
Django folder is DjangoServer

This needs a few improvements. Will open new pull request when it works perfectly

ok


Geocode a dataframe using the Web API geocoder

Adds an APIGeocoder class for geocoding dataframes. Also adds transform.py module in preparation for restructuring around the ETL steps (probably in v3.0.0)

I do plan to implement rate limiting in the API with the new funding but it's not going to happen in the short term.

Ok, that makes sense, I didn't realize the concern was inadvertent DOSing or that we were throttling elsewhere. Thanks for the link, @stdavis. I'll implement something like that.
Also, the CI pipeline is failing with arcgis==2.0.* (reported here). I'm going to revert to 1.9.* for now.

Ok @stdavis and @steveoh , let me know if you think this rate limiting is sufficient (it's basically the same as the geocoder toolbox Scott linked to).

Belay that; I really should be capturing the other info (score, match addr, etc). More to come...

So I take that all back. It looks like it executes in sequence and it should be all good. My test was
import pandas as pd
from time import sleep

df = pd.DataFrame(range(5))

def check(row):
    sleep(5)
    print(f'row {row} finished')

df[0].apply(check)

Yeah, I've heard df.apply described as a fancy wrapper for iterating over rows (often in the context of how it's a lot slower than a purely vectorized operation).
Forgot about the draft feature for a minute there. Changes are in, reverting to open.

Ok, error handling has been beefed up. How's this look?

Converting to draft to investigate iterating over rows instead of append for progress tracking

Ok, let's get this out the door.

Now iterates over rows instead of apply
Uses iteration to track and report progress
Checks API key for validity based off of API Client's check


Update FENCE/FENCE.I decoding

This PR updates the instruction decoder so that it does not treat FENCE / FENCE.I with non-zero supplementary arguments as illegal. This behavior conforms to the spec in version "20190608-Base-Ratified" which VeeR is compatible with.
With that PR I also updated the instructions on how to re-generate instruction decoder equations.
Solves https://github.com/chipsalliance/Cores-VeeR-EL2/issues/128

LGTM


Tone.js not playing audio on iOS

I tried StackOverflow, but couldn’t get any responses. So I thought I’d try here.
I have a meteor application that uses Tone.js, and I use the GrainPlayer object specifically. It works perfectly fine on different browsers across different OS and devices… except for iOS. I personally don’t have an iOS device, but clients are showing me that iOS isn’t playing the audio. It’s also not restricted to safari; other browsers on their device also won’t play the audio.
I know it’s a Tone.js-specific issue here, because I also use Howler.js for a few of the sounds that don’t require the Tone GrainPlayer class, and those work. It’s also not an AudioContext issue in general, because I have the following code:
Tone.setContext(Howler.ctx);
Which ensures the AudioContext for Tone is routed through the AudioContext for Howler.
Is there a way to get it to play? I need to keep using GrainPlayer because of its unique properties and functions, so switching out will not work for me as a solution unfortunately.  But it seems to not break code or anything, just seems like it ‘ignores’ the sound playing, and moves on.
The sounds in question are created as such:
standardChord[0] = new Tone.GrainPlayer(’/A.flac’).connect(Howler.masterGain);
And then when they need to be played:
standardChord[0].start();
Which like I said works fine on other devices.
More information:
It's a Meteor application, bundled and deployed as a Node.js
The sounds do not start automatically; they start after a button press, and while it does use meteor's setInterval to play them, the Howler.js sounds do too, so that shouldn't be the issue either.
Willing to add code and/or additional details, if needed, not sure exactly what info might be useful (still new to Tone.js!)

People will be able to help you debug this (I could and I will if you want to) but if you do professional client work, you need access to an iOS device because you will have these kinds of errors over and over again.

I absolutely agree with @dirkk0. However there is one little detail which caught my attention in the few lines of code that you shared. It looks like you're trying to play a FLAC file. I doubt that this can be decoded on mobile Safari. I would be happy to hear that it works, though. You might want to try a different file format.

People will be able to help you debug this (I could and I will if you want to) but if you do professional client work, you need access to an iOS device because you will have these kinds of errors over and over again.

Yeah, when I do more than just small-scale professional stuff I'm definitely gonna upgrade my tech reach haha. I do appreciate that insight.
For now I just have a client I'm in touch with who has a fairly recent iPad, and I just have him check things for me.

I absolutely agree with @dirkk0. However there is one little detail which caught my attention in the few lines of code that you shared. It looks like you're trying to play a FLAC file. I doubt that this can be decoded on mobile Safari. I would be happy to hear that it works, though. You might want to try a different file format.

Ahh! That might be the solution! Let me check

Update:
Seems the mp3 issue wasn't the case, so I'm still stumped.
is GrainPlayer simply incompatible with iOS?

Check my problem here https://github.com/Tonejs/Tone.js/issues/1056 I've found a solution

Check my problem here #1056 I've found a solution
Might I ask, why does this work? Why can't I get the users to do something related to unmuting instead of a using a hack?
And why is it not a problem on other websites/apps?

I've really no cleaer answers for you, I just did Empirical Testing.
https://github.com/swevans/unmute/blob/master/README.md here he described why he did what he did ^^

Hey sorry it took so long to get back. Still having an issue

I absolutely agree with @dirkk0. However there is one little detail which caught my attention in the few lines of code that you shared. It looks like you're trying to play a FLAC file. I doubt that this can be decoded on mobile Safari. I would be happy to hear that it works, though. You might want to try a different file format.

You are correct, no Mac or iPad or any apple supports .flac, so I converted it to .mp3
Still not working. Howler.js (also using audiocontext) works but not Tone.js
Problem is, I need the tempo change without pitch change, and only Tone does that.
There is the possibility of switching to regular HTML5 audio, which can do tempo change without pitch change, but the issue I found with that was that the files would lag before playing on their first playthrough.
Perhaps I only do it for iOS and hope that it isn't an issue there?

As an alternative to GrainPlayer you can use Tone.PitchShift in combination with the playbackRate property of a Tone.Player to do a tempo shift/timestretch. It won't sound nearly as perfect as the tempo shift from GrainPlayer but it works in a crunch and I'm pretty sure it's a more resource-lightweight approach. You'd need to convert the desired speed percentage change to pitch semitones and then use PitchShift to compensate and undo the pitch change from playbackRate. So for example if you wanted to increase the speed to 120% of the base speed, you would set player.playbackRate = 1.2, which increases the pitch by about  3.15641 semitones, and then connect it to a PitchShift node with pitchShift.pitch = -3.15641. The basic formula for playbackRate to semitone difference is
const playbackRateToSemitones = (playbackRate) => Math.log(playbackRate/1)/0.05776227
You'll probably want to round round the result to defeat JS floating point math quirks, and you'd need to change this result to the opposite sign to arrive at the value you'll want to set pitchShift.pitch.
FWIW, the grainPlayer example page doesn't work on my Android phone.

If you are willing to create a minimal CodePen that showcases the problem on iOS, then I would look at it with an iOS device and see if I can help in solving this.
The idea would be to be minimal, so no React etc, just vanilla JS.

@marcelblum
Odd, because my application using GrainPlayer works on my android device.
Also I believe I tried the PitchShift method, and it unfortunately didn't work so well, it was kind of distorted.
I may have to resort to it though.
Is there any reason why it lags the first playthrough of each sound when using HTML5? If I can get that to work then that'd bypass all of this issue. Unfortunately, I'm not a sound engineer

Yeah PitchShift introduces distortion for sure (depending on how far you need to shift) but it's low latency and like I said works in a pinch if you need an alternative. You can play with PitchShift.windowSize to try and get it sounding better. Another alternative (non-Tone) is https://github.com/cutterbl/SoundTouchJS
HTML5 audio is not intended for low latency use. It doesn't decode the entire file to memory like web audio does so it's not suitable for low latency realtime processing. But if you don't need super low latency it could work fine for your situation. Might help to experiment with the preload property and to use an uncompressed wav instead of mp3 if the only problem is initial delay on first play.

Interesting.
Forgive me for my lack of understanding, but why would an uncompressed WAV file be better than mp3 for initial delay?
(I used .flac previously and it still had the problem)

I don't know for sure if using uncompressed wav will alleviate your issue, but it's worth experimenting with, see this for more info. Also uncompressed wav does not incur the added latency of decompressing that mp3 or flac would, though again you'd have to test this theory to determine where the delay is coming from and what threshold of latency is acceptable for your situation. In theory a preloaded uncompressed wav should start faster than any compressed file that hasn't already been decoded to RAM - but it's also possible the difference may be negligible on modern hardware, you need to do some testing to determine the source of the delay.

I've stumbled on the same issue, and tried to use the unmute library (mentioned in https://github.com/Tonejs/Tone.js/issues/1056), but that unfortunately did not work. Even by following the instructions on https://github.com/swevans/unmute#usage and giving tonejs audioContext instead to the unmute call ( using Transport.context.rawContext as any)._nativeContext as AudioContext, which may very well be incorrect ).
I've also tried with .wav and .mp3, but the issue remained.
What worked for me instead is creating an  tag and playing it before any other sound. That seems to allow the web audio api to be used. This trick is mentioned here: https://www.npmjs.com/package/unmute-ios-audio (I initially found that link from https://github.com/chrisguttandin/standardized-audio-context/issues/991)
Also, the tonejs examples don't seem to work on iOS (I've tried the player example on firefox/chrome/safari), so would it be possible to consider this a bug?

Any progress on this? Cheers

Hi There... we have done some testing on this and eventually resorted to the following because we couldn't auto start the audio on iOS devices ... even when Tone and Context are resumed after user interactions, as detailed in various other responses. Observations and workarounds (...on iOS 15.6.1):

A user interaction followed by any sound played on a native html audio tag activates sound, but starting Tone and resuming context does not.
if a tab is left for any length of time with inactivity, the sound is disabled and has to be re-enabled again via the same user interaction sequence as mentioned in step 1.
We tried various scenarios, but couldn't find an automated and elegant solution unfortunately. What we did was to detect an iOS device and make a note of it on the client-side. When a user interacts, we play a short sound on a native audio player and then start Tone activities and that seems to work.
Unfortunately, this does not cater for the scenario where a tab becomes 'silent' after periods of inactivity. We therefore provide some info re: how to activate and re-activate iOS audio using a manual click of a native audio player.

If you want to try this out on an iOS device, point to dappledark.com/composer and you should observe the mechanism explained above, together with the audio activation messaging sequence. If anyone has a more automated and elegant solution for iOS please let us know, but I hope this is useful. This audio issue is only isolated to iOS devices... Safari, Android and all other modern browsers work fine.

Using also unmute.js I rely on

document.querySelector('#startaudio')?.addEventListener('click', async () => {
  // Create an audio context instance if WebAudio is supported
  let context = (window.AudioContext || window.webkitAudioContext) ?
    new (window.AudioContext || window.webkitAudioContext)() : null;

  // Decide on some parameters
  let allowBackgroundPlayback = false; // default false, recommended false
  let forceIOSBehavior = false; // default false, recommended false
  // Pass it to unmute if the context exists... ie WebAudio is supported
  if (context)
  {
    // If you need to be able to disable unmute at a later time, you can use the returned handle's dispose() method
    // if you don't need to do that (most folks won't) then you can simply ignore the return value
    let unmuteHandle = unmute(context, allowBackgroundPlayback, forceIOSBehavior);

  }

  await Tone.start()
})

to be able to get going on iOS, tested on Safari and Firefox.

I had the exact same problem, Tone.js doesn't play any sound on the newer iPhones and iPads when the device is muted. My solution was to play a silent mp3 on user interaction, using a native HTML audio element to activate the sound. I do this before playing the sound that I actually want to hear.

    <audio>
    	<source src="/silent.mp3" type="audio/mp3"></source>
    </audio>

You can get the audio element to start playing on user interaction. So select the audio element, and call it's play() method right before starting the audio you actually want to hear.
   audioElement.play();
I tested on the following devices on LambdaTest (highly recommended if you don't own an iOS device):
iPhone 8 13.4
iPhone 12 17.2
iPhone 13 Mini 17.2
iPhone 14 17.2
iPhone 15 17.2


When should we use models?

Hi
I'm just starting with django-recurrence and I don't understand what are the models for and I couldn't find any documentation about it.
When should I use the RecurrenceField directly, which seems to store a rule "instance" as a TextField and when should I use the models themselves?
Can you point me in some direction?
Thanks in advance
Eduardo

Hi
I was asking the same question myself. Updating the documentation is definitely needed, but could you please give us some direction here in the issue itself.
All best


Unique index not throwing duplicate key error

few places where this is used:
if(result.documents[0]['$err']...) { return callback(MongoError.create(result.documents[0]));
e.g. Server.prototype.command, executeSingleOperation ..
Possible fix:
/lib/connection/commands.js
Response.prototype.parse
...
// tell callers of the response body parsing that an error has occurred due to a unique index error (as one possible scenario) - if there is an error let the document be an error for the top level checking to work..
if (this.documents[i].writeErrors){
this.documents[i] = this.documents[i].writeErrors[0];
}

Write errors can be 1:n so they are not returned as a MongoError. I do plan to change it to be returning a MongoBulkError going forward that will provide the results needed. See
https://jira.mongodb.org/browse/NODE-526


Error: "Chrome subprocess killed by signal SIGTERM" in NodeJS while NickJs is executing

Hello guys!
You've been doing a great job with NickJS library!
But working with NickJs on NodeJs I had the following server error: "Chrome subprocess killed by signal SIGTERM". In fact, Chrome is killed by SIGTERM kernel process while NickJs tabs are evaluating.
It seems the problem occurs when code open/close tabs for long time, in particular when pages have a lot of content and scripts.
Test script is written to reflect the problem on the real project, where pages also run simultaneously in different tabs for long time. During the work CPU and Memory consumption in Task Manager looks fine, so killing the Chrome process is very unexpected.
My environment: NodeJS v8.8.1, NickJs + Desktop Chrome  63.0.3239.108 (Official Build) (64-bit).
Additional packages: Bluebird - for advanced Promise usage.
OS: Windows 8 (But the same error occurs on Ubuntu 16.04)
Here is my test file 'pureNickTest.js':
const Promise = require('bluebird');
const nick = new NickJs();
const testUrl = "http://edition.cnn.com/2017/12/15/politics/next-alabama-states/index.html";

const runTab = async (url) => {
    const tab = await nick.newTab();
    await tab.open(url);
    await tab.untilVisible("body");
    await tab.inject(`${__dirname}/libs/jquery-3.2.1.min.js`);
    await tab.wait(3000);
    await tab.scrollToBottom();

    const results = await tab.evaluate((arg, callback)=>{
        const blocks = $("body").find('div');
        callback(null, blocks.length);
    });

    await tab.close();
};

const runTestTabs = () => {
    const fakeArray = new Array(100);

    return Promise.each(fakeArray, () => {
        return runTab(testUrl);
    });
}

(async ()=> {
    await runTestTabs();
    console.log("Test complete!");
    nick.exit();
})();

Equivalent code for puppeteer works fine and doesn't crush with this error.
I would appreciate any help on this issue!

Fixed by e339559408e201eca0d18a672092149725caa3dc

@paps Thx for fixing this. Updated but am now getting Error: timeout: load event did not fire after 10002ms
I'll have to dig into it. Perhaps I'm using old nick API. My code was for .3.0

See my answer to your issue #34 :)


Fix #20: augmentation remove boxes

This makes sure that only the boxes still in the view are preserved and the rest is properly augmented.

really nice, thank you


Cartoon Network - AttributeError: 'NoneType' object has no attribute 'groups'

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.08.04. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x ] I've verified and I assure that I'm running youtube-dl 2018.08.04

Before submitting an issue make sure you have:

[x ] At least skimmed through the README, most notably the FAQ and BUGS sections
[ x] Searched the bugtracker for similar issues including closed ones
[x ] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[x ] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.cartoonnetwork.com/video/teen-titans/divide-and-conquer-episode.html']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.08.04
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17134
[debug] exe versions: none
[debug] Proxy map: {}
[CartoonNetwork] divide-and-conquer: Downloading webpage
Traceback (most recent call last):
  File "__main__.py", line 19, in <module>
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpckoq891b\build\youtube_dl\__init__.py", line 472, in main
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpckoq891b\build\youtube_dl\__init__.py", line 462, in _real_main
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpckoq891b\build\youtube_dl\YoutubeDL.py", line 2001, in download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpckoq891b\build\youtube_dl\YoutubeDL.py", line 792, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpckoq891b\build\youtube_dl\extractor\common.py", line 502, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpckoq891b\build\youtube_dl\extractor\cartoonnetwork.py", line 28, in _real_extract
AttributeError: 'NoneType' object has no attribute 'groups'

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.cartoonnetwork.com/video/teen-titans/divide-and-conquer-episode.html

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

Description of your issue, suggested solution and other information
Videos from Cartoon Network do not work. It says AttributeError: 'NoneType' object has no attribute 'groups'.

Running into this as well. May take a stab at creating a fix but I'll have to familiarize myself with how youtube-dl works.

I have the same problem too but I found a fix and created a Pull request on the issue but most of it isn't my code and was from a different pull request that wasn't accepted.

I tried using your pull request fix, but a different problem arose. It said "ERROR: Missing Authentication token".   Is there a fix to that? Thanks.

Oh, that error message, it's not because of me. It's means that your trying to view something that needs you to login with your tv provider to view here is how to login: https://github.com/rg3/youtube-dl#adobe-pass-options. If you don't have a tv provider you can view/download free episode that are full unlocked or clips.

Thanks for all the help. The Adobe pass has not been working for me either.

It works! Hopefully, youtube-dl accepts the pull request.

Sorry to bring this up again, but it seems as though youtube-dl only records up to the 10-minute mark (where the first advertisement shows up). Is there a way to get past the ad? Is this the result of the code or should I be doing something different? Thanks.

Sadly, I don't think @TheDaChicken's patch has fixed it.
After installing pycrypto and ffmpeg, with ytdl latest (as of this comment) git master:
$ youtube-dl https://www.cartoonnetwork.com/video/unlocked/when-it-rains-episode.html  -v --hls-prefer-native
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.cartoonnetwork.com/video/unlocked/when-it-rains-episode.html', '-v', '--hls-prefer-native']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.09.01
[debug] Python version 3.5.2 (CPython) - Linux-4.10.0-38-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: ffmpeg 3.4.1-1, ffprobe 3.4.1-1
[debug] Proxy map: {}
[CartoonNetwork] when-it-rains: Downloading webpage
Traceback (most recent call last):
  File "/home/james/.local/bin/youtube-dl", line 9, in <module>
    load_entry_point('youtube-dl==2018.9.1', 'console_scripts', 'youtube-dl')()
  File "/home/james/.local/lib/python3.5/site-packages/youtube_dl/__init__.py", line 472, in main
    _real_main(argv)
  File "/home/james/.local/lib/python3.5/site-packages/youtube_dl/__init__.py", line 462, in _real_main
    retcode = ydl.download(all_urls)
  File "/home/james/.local/lib/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 2001, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/home/james/.local/lib/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 792, in extract_info
    ie_result = ie.extract(url)
  File "/home/james/.local/lib/python3.5/site-packages/youtube_dl/extractor/common.py", line 502, in extract
    ie_result = self._real_extract(url)
  File "/home/james/.local/lib/python3.5/site-packages/youtube_dl/extractor/cartoonnetwork.py", line 28, in _real_extract
    id_type, video_id = re.search(r"_cnglobal\.cvp(Video|Title)Id\s*=\s*'([^']+)';", webpage).groups()
AttributeError: 'NoneType' object has no attribute 'groups'

It seems that your still using the old version of the code. I don't have "id_type, video_id = re.search(r"_cnglobal.cvp(Video|Title)Id\s*=\s*'([^']+)';", webpage).groups()" in my code.

It seems my code thinks you need to login to a TV Provider. This could be easily fixed. By changing "auth_required" to nothing, as I know of. I will fix this.

Make sure your using the latest version of my code, since I didn't run into this problem.

The above logs were generated by telling pip to pull STRAIGHT from git+https://github.com/TheDaChicken/youtube-dl, so it's definitely fresh from the tap. :(

By changing "auth_required" to nothing, as I know of. I will fix this.

Awesome. Standing by for the push!

Ok! Try it again now, I think I fixed it since youtube-dl isn't telling me that is trying to signing into cartoonnetwork.

Sadly, doesn't seem to have fixed:
$ youtube-dl https://www.cartoonnetwork.com/video/unlocked/when-it-rains-episode.html -v --hls-prefer-native)
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.cartoonnetwork.com/video/unlocked/when-it-rains-episode.html', '-v', '--hls-prefer-native']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.08.04
[debug] Python version 3.5.2 (CPython) - Linux-4.10.0-38-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: ffmpeg 3.4.1-1, ffprobe 3.4.1-1
[debug] Proxy map: {}
[CartoonNetwork] when-it-rains: Downloading webpage
[CartoonNetwork] 0e9df1345ed47078df3cf75bec73f74562a4fdb8: Downloading JSON metadata
ERROR: This video is only available for users of participating TV providers. Use --ap-mso to specify Adobe Pass Multiple-system operator Identifier and --ap-username and --ap-password or --netrc to provide account credentials.
Traceback (most recent call last):
  File "/home/james/.local/lib/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 792, in extract_info
    ie_result = ie.extract(url)
  File "/home/james/.local/lib/python3.5/site-packages/youtube_dl/extractor/common.py", line 502, in extract
    ie_result = self._real_extract(url)
  File "/home/james/.local/lib/python3.5/site-packages/youtube_dl/extractor/cartoonnetwork.py", line 46, in _real_extract
    'auth_required': auth_required,
  File "/home/james/.local/lib/python3.5/site-packages/youtube_dl/extractor/turner.py", line 212, in _extract_ngtv_info
    m3u8_url, media_id, ap_data or {}, tokenizer_query)
  File "/home/james/.local/lib/python3.5/site-packages/youtube_dl/extractor/turner.py", line 40, in _add_akamai_spe_token
    query['accessToken'] = self._extract_mvpd_auth(ap_data['url'], content_id, ap_data['site_name'], ap_data['site_name'])
  File "/home/james/.local/lib/python3.5/site-packages/youtube_dl/extractor/adobepass.py", line 1409, in _extract_mvpd_auth
    raise_mvpd_required()
  File "/home/james/.local/lib/python3.5/site-packages/youtube_dl/extractor/adobepass.py", line 1374, in raise_mvpd_required
    'and --ap-username and --ap-password or --netrc to provide account credentials.', expected=True)
youtube_dl.utils.ExtractorError: This video is only available for users of participating TV providers. Use --ap-mso to specify Adobe Pass Multiple-system operator Identifier and --ap-username and --ap-password or --netrc to provide account credentials.

And I immediately double-checked to ensure that latest commit is in:
$ grep -C3 "auth_required = 'false'" ~/.local/lib/python3.5/site-packages/youtube_dl/extractor/cartoonnetwork.py
        title = self._html_search_regex(r'[^>]+.episodeTitle = "(.+?)"', webpage, 'title')
        auth = self._html_search_regex(r'[^>]+.authType = "(.+?)"', webpage, 'authType')
        if "unauth" in auth:
            auth_required = 'false'
        if "auth" in auth:
            auth_required = 'true'
        videoType = self._html_search_regex(r'[^>]+.videoType = "(.+?)"', webpage, 'videoType')

Trying to trigger that code you added, but --ap-mso=unauth didn't work

Ok! I will try again, The annoying thing is that youtube-dl stored my TV Provider were even if I don't use it. It uses it. So, I guess, I am going to have to play around with the code and try again.

Ok! Now try it again. Sorry, about that. lol

0.o apparently that latest patch didn't fix it, either
[CartoonNetwork] when-it-rains: Downloading webpage
[CartoonNetwork] 0e9df1345ed47078df3cf75bec73f74562a4fdb8: Downloading JSON metadata
ERROR: This video is only available for users of participating TV providers. Use --ap-mso to specify Adobe Pass Multiple-system operator Identifier and --ap-username and --ap-password or --netrc to provide account credentials.
Traceback (most recent call last):
  File "/home/james/.local/lib/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 792, in extract_info
    ie_result = ie.extract(url)
  File "/home/james/.local/lib/python3.5/site-packages/youtube_dl/extractor/common.py", line 502, in extract
    ie_result = self._real_extract(url)
  File "/home/james/.local/lib/python3.5/site-packages/youtube_dl/extractor/cartoonnetwork.py", line 46, in _real_extract
    'auth_required': auth_required,
  File "/home/james/.local/lib/python3.5/site-packages/youtube_dl/extractor/turner.py", line 212, in _extract_ngtv_info
    m3u8_url, media_id, ap_data or {}, tokenizer_query)
  File "/home/james/.local/lib/python3.5/site-packages/youtube_dl/extractor/turner.py", line 40, in _add_akamai_spe_token
    query['accessToken'] = self._extract_mvpd_auth(ap_data['url'], content_id, ap_data['site_name'], ap_data['site_name'])
  File "/home/james/.local/lib/python3.5/site-packages/youtube_dl/extractor/adobepass.py", line 1409, in _extract_mvpd_auth
    raise_mvpd_required()
  File "/home/james/.local/lib/python3.5/site-packages/youtube_dl/extractor/adobepass.py", line 1374, in raise_mvpd_required
    'and --ap-username and --ap-password or --netrc to provide account credentials.', expected=True)
youtube_dl.utils.ExtractorError: This video is only available for users of participating TV providers. Use --ap-mso to specify Adobe Pass Multiple-system operator Identifier and --ap-username and --ap-password or --netrc to provide account credentials.

But it's working on your end, without TV provider login?

Ya, it's working on my end without TV Provider login. Weird. I am going to try another way and see if that works.

Now try uninstall youtube-dl and then try installing from the fork again.

python3 -m pip uninstall youtube-dl
git pull to dfd8f364728c47ed514e32deb739a264bc5f2966
python3 -m pip install .

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.cartoonnetwork.com/video/unlocked/when-it-rains-episode.html', '-v', '--hls-prefer-native']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.08.04
[debug] Python version 3.5.2 (CPython) - Linux-4.10.0-38-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: ffmpeg 3.4.1-1, ffprobe 3.4.1-1
[debug] Proxy map: {}
[CartoonNetwork] when-it-rains: Downloading webpage
[CartoonNetwork] 0e9df1345ed47078df3cf75bec73f74562a4fdb8: Downloading JSON metadata
ERROR: This video is only available for users of participating TV providers. Use --ap-mso to specify Adobe Pass Multiple-system operator Identifier and --ap-username and --ap-password or --netrc to provide account credentials.
Traceback (most recent call last):
  File "/home/james/.local/lib/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 792, in extract_info
    ie_result = ie.extract(url)
  File "/home/james/.local/lib/python3.5/site-packages/youtube_dl/extractor/common.py", line 502, in extract
    ie_result = self._real_extract(url)
  File "/home/james/.local/lib/python3.5/site-packages/youtube_dl/extractor/cartoonnetwork.py", line 43, in _real_extract
    'auth_required': 'true',
  File "/home/james/.local/lib/python3.5/site-packages/youtube_dl/extractor/turner.py", line 212, in _extract_ngtv_info
    m3u8_url, media_id, ap_data or {}, tokenizer_query)
  File "/home/james/.local/lib/python3.5/site-packages/youtube_dl/extractor/turner.py", line 40, in _add_akamai_spe_token
    query['accessToken'] = self._extract_mvpd_auth(ap_data['url'], content_id, ap_data['site_name'], ap_data['site_name'])
  File "/home/james/.local/lib/python3.5/site-packages/youtube_dl/extractor/adobepass.py", line 1409, in _extract_mvpd_auth
    raise_mvpd_required()
  File "/home/james/.local/lib/python3.5/site-packages/youtube_dl/extractor/adobepass.py", line 1374, in raise_mvpd_required
    'and --ap-username and --ap-password or --netrc to provide account credentials.', expected=True)
youtube_dl.utils.ExtractorError: This video is only available for users of participating TV providers. Use --ap-mso to specify Adobe Pass Multiple-system operator Identifier and --ap-username and --ap-password or --netrc to provide account credentials.

I swear I'm not just trying to be difficult I don't know why it's not working

Ok! Try it now..

Running c17af258168bc75dc283265c675f286256ff7a0c:
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--hls-prefer-native', 'https://www.cartoonnetwork.com/video/unlocked/when-it-rains-episode.html', '--write-pages']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.08.04
[debug] Python version 3.5.2 (CPython) - Linux-4.10.0-38-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: ffmpeg 3.4.1-1, ffprobe 3.4.1-1
[debug] Proxy map: {}
[CartoonNetwork] when-it-rains: Downloading webpage
[CartoonNetwork] Saving request to when-it-rains_https_-_www.cartoonnetwork.com_video_unlocked_when-it-rains-episode.html.dump
[CartoonNetwork] 0e9df1345ed47078df3cf75bec73f74562a4fdb8: Downloading JSON metadata
[CartoonNetwork] Saving request to 0e9df1345ed47078df3cf75bec73f74562a4fdb8_http_-_medium.ngtv.io_media_0e9df1345ed47078df3cf75bec73f74562a4fdb8_tv.dump
ERROR: This video is only available for users of participating TV providers. Use --ap-mso to specify Adobe Pass Multiple-system operator Identifier and --ap-username and --ap-password or --netrc to provide account credentials.
Traceback (most recent call last):
  File "/home/james/.local/lib/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 792, in extract_info
    ie_result = ie.extract(url)
  File "/home/james/.local/lib/python3.5/site-packages/youtube_dl/extractor/common.py", line 502, in extract
    ie_result = self._real_extract(url)
  File "/home/james/.local/lib/python3.5/site-packages/youtube_dl/extractor/cartoonnetwork.py", line 46, in _real_extract
    'auth_required': auth_required,
  File "/home/james/.local/lib/python3.5/site-packages/youtube_dl/extractor/turner.py", line 212, in _extract_ngtv_info
    m3u8_url, media_id, ap_data or {}, tokenizer_query)
  File "/home/james/.local/lib/python3.5/site-packages/youtube_dl/extractor/turner.py", line 40, in _add_akamai_spe_token
    query['accessToken'] = self._extract_mvpd_auth(ap_data['url'], content_id, ap_data['site_name'], ap_data['site_name'])
  File "/home/james/.local/lib/python3.5/site-packages/youtube_dl/extractor/adobepass.py", line 1409, in _extract_mvpd_auth
    raise_mvpd_required()
  File "/home/james/.local/lib/python3.5/site-packages/youtube_dl/extractor/adobepass.py", line 1374, in raise_mvpd_required
    'and --ap-username and --ap-password or --netrc to provide account credentials.', expected=True)
youtube_dl.utils.ExtractorError: This video is only available for users of participating TV providers. Use --ap-mso to specify Adobe Pass Multiple-system operator Identifier and --ap-username and --ap-password or --netrc to provide account credentials.

0e9df1345ed47078df3cf75bec73f74562a4fdb8_http_-_medium.ngtv.io_media_0e9df1345ed47078df3cf75bec73f74562a4fdb8_tv.dump
when-it-rains_https_-_www.cartoonnetwork.com_video_unlocked_when-it-rains-episode.html.dump

@TheDaChicken you're awesome btw. Full deets in the other thread but tl;dr is you did it (at least now it Works On My Machine™, too!)

Thanks!


SchemaUpdateMode=recreate&DependencyPublishingOption=default failed with code 422. Reason: Could not install the extension [..] on tenant default due to the following error: Error code: 85132273

Can't publish app after changing the key of a table.
Message:
SchemaUpdateMode=recreate&DependencyPublishingOption=default failed with code 422. Reason: Could not install the extension [..] on tenant default due to the following error: Error code: 85132273
"platform": "<IP_ADDRESS>",
"application": "<IP_ADDRESS>",
"runtime": "3.2"

Let's get the issue to a team who will fix and backport it, as this repository is only for issues related to the AL compiler in latest developer preview environment for Dynamics 365 Business Central. We suggest that you open a support case or file a bug in Collaborate, to ensure that all Business Central users benefit from your catch as soon as possible.
To open a support case, you can:

Open a support request to CSS through the PartnerSource portal
Contact your Service Account Manager (SAM) in your local subsidiary to understand what is included in your contract as of support incident and PAH (Partner Advisory Hours). Your SAM might also direct you "step by step" how to open a support request or how to get credentials, if this is the first time for you or your company

If you file the bug in Collaborate, remember to include steps to reproduce the issue, and the Business Central build number and country version you're using.

This is an AL Compiler issue. We work in AL and we can't publish this from VS Code.

Ok, i've figured out a solution for this, although i'm not exactly sure as to why this is needed to resolve this issue.
Whenever you get error code 85132273, it means you got the real error right before that and you tried to publish it again.
Access the database using SQL Server Management Studio and execute the following query:
DELETE
FROM [<your_database_name>].[dbo].[NAV App Installed App]
Where Name = [<your_app_name>]
You should be able to publish it again.

Real error is:
The following C/AL functions are limited during write transactions because one or more tables will be locked. Form.RunModal is not allowed in write transactions. Codeunit.Run is allowed in write transactions only if the return value is not used. For example, 'OK := Codeunit.Run()' is not allowed. Report.RunModal is allowed in write transactions only if 'RequestForm = FALSE'. For example, 'Report.RunModal(...,FALSE)' is allowed. XmlPort.RunModal is allowed in write transactions only if 'RequestForm = FALSE'. For example, 'XmlPort.RunModal(...,FALSE)' is allowed. Use the COMMIT function to save the changes before this call, or structure the code differently.
This is possibly caused by some datachanges while publishing. I some cases it worked to switch off some Flows (Power Automate).

The error "The following C/AL functions are limited during write transactions because one or more tables will be locked." occurs when you make a change in fields of tables.
Using "schemaUpdateMode": "Recreate" is a solution. App wil publish again. But data is lost.

Ok, i've figured out a solution for this, although i'm not exactly sure as to why this is needed to resolve this issue.
Whenever you get error code 85132273, it means you got the real error right before that and you tried to publish it again.
Access the database using SQL Server Management Studio and execute the following query:
DELETE FROM [<your_database_name>].[dbo].[NAV App Installed App] Where Name = [<your_app_name>]
You should be able to publish it again.

It works. thanks.


Introduce nativescript-angular@next builds

Add a build that gets pushed to npm to make it easier for people to upgrade after every change that lands in master.

Done with commit #354


Handle python dep for clang-tidy on OSX

Due to run-clang-tidy.py changing in the latest llvm release per https://reviews.llvm.org/D31326, the yaml dependency was added, which is not part of python proper. This causes pip install issues when attempting to install python-yaml on OSX.
Next Actions

[x] Add workaround in clang-tidy.sh
[x] Add docs

cc @springmeyer

@springmeyer mind doing a quick gutcheck when you have a chance?

@GretaCB I have some reservations about this. My perspective is that we should not make decisions about which python version is needed in this script, but rather only a) check to ensure yaml is available (what clang-tidy needs) and b) if not available then link to the docs.

@GretaCB per voice, on my system I've stuck with the system python (version 2) and installed pip and pyyaml. So I'd love for this PR to keep my setup working AND support the setup of using python3 from homebrew. So, I've pushed up https://github.com/mapbox/node-cpp-skel/tree/tidy-python-alt. Can you see if that works for you? Its not pretty but should allow both of our setups to work, maybe?

Hmmm, I seem to be hitting a new error:
Traceback (most recent call last):
  File "/Users/carol/dev/node-cpp-skel/mason_packages/.link/share/run-clang-tidy.py", line 42, in <module>
    import Queue
ModuleNotFoundError: No module named 'Queue'

Digging in to see where Queue is coming from

Oh brother, another slight Python2 vs Python3 difference:
~/dev/node-cpp-skel??] PRODUCTION ‹$python3
Python 3.6.4 (v3.6.4:d48ecebad5, Dec 18 2017, 21:07:28)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import queue
>>> import Queue
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'Queue'
>>>

~/dev/node-cpp-skel??] PRODUCTION ‹$python
Python 2.7.10 (default, Jul 15 2017, 17:16:57)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.31)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import queue
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named queue
>>> import Queue
>>>

woah, that is odd @GretaCB - this is my system:
$ python -c "import queue"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named queue

$ python -c "import Queue;print Queue.__file__"
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/Queue.pyc

Next Actions

[ ] Catch up call with @springmeyer

Per chat with @springmeyer , we've decided to try vendoring yaml in llvm by adding the following to the run-clang-tidy.py file:
sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))
import yaml

I'll take a peek at llvm to see if I can figure out how we'd do this, otherwise I'll catch up with @springmeyer in the morning

Ticketed the plan at https://github.com/mapbox/mason/issues/563, let's chat next actions there.


flat_in_log

Hi Loki,
In your sampler for flat_in_log, you take the range endpoints x and y to be already given in log units. I would guess that most users would intuitively expect these bounds to be in standard (non-log) units.
E.g if I want a flat_in_log separation distribution from .01 AU to 1000 AU, it seems more natural to supply flat_in_log(.01, 1000) instead of flat_in_log(-2, 3).
The way its currently done is also then redundant with uniform. If you agree, I'm happy to submit a PR.

Also, what's the difference between flat and uniform?

Hi Reinhold, I am on holidays at the moment, and actually also involved with certain other personal issues. As a result, unfortunately I cannot priortize stroopwafel for now, please feel free to make changes. Please also test with the changes, if the results are consistent with previous versions, for example, I have a feeling that making this change might have to change other places as well, but I am sure you will test well.
Thanks for understanding.

Sure, no problem. I'll try not to break things too much ;)
Enjoy your holidays, and good luck with everything else!


astroI18n.langCode switched after build

Hi, this is a weird one.
While on dev mode, astroI18n.langCode works as expected. But after running astro build, it is actually reversed. I tested with two and three locales available. The en locale seems to become the default, messing up translations (but not routing).
See reproduction here.

I tested the build on a local project and it works fine, can you please provide a git repo that I can clone for the reproduction ?

This is happening because you reassign astroI18n.langCode in the frontmatter.
---
const currentLocale = astroI18n.langCode; // you should use `astroI18n.langCode` directly instead of reassigning it
---

Because  astroI18n.langCode is a string, when it changes your variable currentLocale stays on the outdated langCode.

ok thanks a lot did not know that

I should update the documentation, astroI18n.langCode will only be up to date inside the I18nProvider.
Inside means, not in the frontmatter of the component that use I18nProvider (directly like in your Layout component or indirectly by using your Layout component).

I've had some really weird behaviour from astroI18n.langCode used in frontmatter of a component inside a Layout containing I18nProvider.
For example, using a filter() against it would not work as expected when building.
I've managed to find a workaround by using it in the code directly. I've updated the demo repo with the two behaviours if you want to check it out.
I need to find a way to update the lang attribute which is currently outside the I18nProvider in the layout.

I've had some really weird behaviour from astroI18n.langCode used in frontmatter of a component inside a Layout containing I18nProvider. For example, using a filter() against it would not work as expected when building.
I've managed to find a workaround by using it in the code directly. I've updated the demo repo with the two behaviours if you want to check it out.
I need to find a way to update the lang attribute which is currently outside the I18nProvider in the layout.

@narduin As explained in my previous comment, astroI18n.langCode cannot be used in the same level as <I18nProvider> no matter if <I18nProvider> is inside a layout or not.
In other words if you have <I18nProvider> or a <Layout> containing a provider in the current page, astroI18n.langCode will not behave as expected in the page's frontmatter.
This is a limitation of astro due to the order of frontmatter executions. Unfortunately there's no way that I know of to run an initialization code for the current page, the closest thing is a wrapper component (<I18nProvider>).


[Do Not Merge][Private Repo PR# 974] Tag based object filter support for OLCM

Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ ] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

/azp run automation - sdk

Can one of the admins verify this patch?

/azp run automation - sdk

@HimanshuChhabra, please let me know when the PR is ready to merge

@HimanshuChhabra, please let me know when the PR is ready to merge

I will update here once the server support is ready

/azp run automation - sdk

/azp run automation - sdk

I added 2 comments, please help to resolve them.

resolved

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk


Update version with minor non-breaking-change

Update version with minor non-breaking-change - v1.12.0

Codecov Report

Merging #127 (07611dd) into main (141a046) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #127   +/-   ##
=======================================
  Coverage   93.24%   93.24%
=======================================
  Files          22       22
  Lines         577      577
=======================================
  Hits          538      538
  Misses         39       39

Impacted Files
Coverage Δ

workos/__about__.py
100.00% <100.00%> (ø)

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Add some IP symbols; mlock stubs

These are foundational changes for stuff I'm doing with net2, mio, and tokio.

Redox moved to GitLab years ago, thus if you still want to merge it, move this pull request to there.
If you still want to contribute to Redox, talk with us in the Matrix chat.


Flash Firmware keyword does not work for MSI® PRO Z690-A DDR4 platform

Device
MSI® PRO Z690-A DDR4
RTE version
RTE Rev v1.1.0
Affected component(s) or functionality
The entire Flash Firmware keyword would probably need to be reviewed and refactored.
Brief summary
Fail Flash Firmware during external flashing of the platform MSI® PRO Z690-A DDR4
How reproducible
No response
How to reproduce
Run verified-boot.robot test
Expected behavior
Pass Flash Firmware
Actual behavior
FAIL Flash Firmware
Link to screenshots or logs
verified-boot_log.zip
Additional context
No response
Solutions you've tried
No response

@Psotas Have you actually inspected the flashrom log from attached logs?
  | Return: ['flashrom v1.2 on Linux 5.4.69 (armv7l)\nflashrom is free software, get the source code at https://flashrom.org\n\nUsing region: "bios".\nUsing clock_gettime for delay loops (clk_id: 1, resolution: 1ns).\nNo EEPROM/flash device found.\nNote: flashrom can never write if the flash chip isn\'t found automatically.',  1]
-- | --

It cannot find chipset, meaning incorrect flashrom version was used.

The Get flashrom keyword downloads following one: flashrom 28a8723 on Linux 6.4.15-200.fc38.x86_64 (x86_64)  - note the 28a8723 revision.
You may need to remove the flashrom from apt if you have installed it.

But if you want to flash in test, there will be another problem - the serial will be disabled by default, so the test will not continue anymore.

verified-boot_log.zip
I ran a retest, the platform was successfully flashed.
I'm closing the issue.
New issue verified-boot.robot test problem: https://github.com/Dasharo/open-source-firmware-validation/issues/85


Bump Istio releases 1.19 and 1.20

I wonder how much bigger our container images get each time we add a set of charts


CardTheme Type Mismatch Error with Flutter 3.28.0-pre

Breaking Changes: CardTheme and Nullable Boolean Issues with Flutter 3.28.0-pre
Description
After updating to Flutter 3.28.0-2.0.pre.38577 (master channel), VelocityX 4.2.1 fails to compile due to two breaking changes:

Type mismatch between CardThemeData and CardTheme
Nullable boolean compatibility issue with enableFeedback parameter

Error Messages
../../../.pub-cache/hosted/pub.dev/velocity_x-4.2.1/lib/src/flutter/universal.dart:805:43: Error: A value of type 'CardThemeData' can't be assigned to a variable of type 'CardTheme'.
 - 'CardThemeData' is from 'package:flutter/src/material/card_theme.dart'
 - 'CardTheme' is from 'package:flutter/src/material/card_theme.dart'
    final CardTheme cardTheme = CardTheme.of(context);

../../../.pub-cache/hosted/pub.dev/velocity_x-4.2.1/lib/src/flutter/universal.dart:861:27: Error: The argument type 'bool?' can't be assigned to the parameter type 'bool' because 'bool?' is nullable and 'bool' isn't.
          enableFeedback: enableFeedback,

Environment

Flutter Version: 3.28.0-2.0.pre.38577 (master channel)
Dart Version: 3.7.0 (build 3.7.0-267.0.dev)
VelocityX Version: 4.2.1
Operating System: Pop!_OS 22.04 LTS
Device: Android (CPH2365, API 33)

Steps to Reproduce

Create a new Flutter project
Add velocity_x: ^4.2.1 to pubspec.yaml
Run flutter pub get
Update Flutter to channel master (3.28.0-2.0.pre.38577)
Try to compile any application using VelocityX widgets

Expected Behavior
The application should compile successfully with the new Flutter version.
Actual Behavior
Compilation fails with the above type mismatch and nullable boolean errors.
Additional Context
These errors appear to be caused by breaking changes in Flutter's master channel related to:

Changes in the CardTheme implementation
Stricter null safety requirements for boolean parameters

I fixed it manually


Fixed a typo. Because I'm a Grammar Nazi.

Merely changed "id's" to the grammatically correct "IDs". Sorry for being a pedant!

Interesting. I only edited one line :-S


[PKG-2189] sktime 0.17.0

Changelog: https://www.sktime.net/en/latest/changelog.html
License: https://github.com/sktime/sktime/blob/v0.17.0/LICENSE
Requirements:

https://github.com/sktime/sktime/blob/v0.17.0/pyproject.toml
https://github.com/sktime/sktime/blob/v0.17.0/docs/source/installation.rst#step-3-building-sktime-from-source

Actions:

Skip s390x because of numba
Remove generic requirements/build and for the sktime output
Update generic requirements/host and remove generic requirements/run
Update run dependencies. Note that the upstream has outdated limitations for missing python 3.11 support but we really have it.
Skip building sktime-all-extras subpackage because many of the dependencies are not available yet.
Update home, dev & doc urls
Add description

Notes:

pycaret 3.0.2 (subpackage pycaret-core) requires sktime>=0.16.1,!=0.17.1,<0.17.2 https://github.com/pycaret/pycaret/blob/fdc3f7d22a4117577340be6d8fe2db2a889e9d82/requirements.txt#L38 so v0.17.0 fits our requirements

Linter check found the following problems:
Traceback (most recent call last):
  File "/opt/conda/envs/linter/bin/conda-lint", line 11, in
    sys.exit(main())
             ^^^^^^
  File "/opt/conda/envs/linter/lib/python3.11/site-packages/anaconda_linter/run.py", line 107, in main
    result = linter.lint(
             ^^^^^^^^^^^^
  File "/opt/conda/envs/linter/lib/python3.11/site-packages/anaconda_linter/lint/__init__.py", line 620, in lint
    msgs = self.lint_file(
           ^^^^^^^^^^^^^^^
  File "/opt/conda/envs/linter/lib/python3.11/site-packages/anaconda_linter/lint/__init__.py", line 692, in lint_file
    messages = self.lint_recipe(
               ^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/linter/lib/python3.11/site-packages/anaconda_linter/lint/__init__.py", line 748, in lint_recipe
    res = self.check_instances[check].run(recipe, fix)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/linter/lib/python3.11/site-packages/anaconda_linter/lint/__init__.py", line 247, in run
    self.check_recipe(recipe)
  File "/opt/conda/envs/linter/lib/python3.11/site-packages/anaconda_linter/lint/check_build_help.py", line 555, in check_recipe
    o = int(path.split("/")[1])
        ^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: 'host'
ERROR conda.cli.main_run:execute(47): conda run conda-lint /tmp/abs_cb_pmb76ro/clone failed. (See above for error)

Linter check found the following problems:
Traceback (most recent call last):
  File "/opt/conda/envs/linter/bin/conda-lint", line 11, in
    sys.exit(main())
             ^^^^^^
  File "/opt/conda/envs/linter/lib/python3.11/site-packages/anaconda_linter/run.py", line 107, in main
    result = linter.lint(
             ^^^^^^^^^^^^
  File "/opt/conda/envs/linter/lib/python3.11/site-packages/anaconda_linter/lint/__init__.py", line 620, in lint
    msgs = self.lint_file(
           ^^^^^^^^^^^^^^^
  File "/opt/conda/envs/linter/lib/python3.11/site-packages/anaconda_linter/lint/__init__.py", line 692, in lint_file
    messages = self.lint_recipe(
               ^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/linter/lib/python3.11/site-packages/anaconda_linter/lint/__init__.py", line 748, in lint_recipe
    res = self.check_instances[check].run(recipe, fix)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/linter/lib/python3.11/site-packages/anaconda_linter/lint/__init__.py", line 247, in run
    self.check_recipe(recipe)
  File "/opt/conda/envs/linter/lib/python3.11/site-packages/anaconda_linter/lint/check_build_help.py", line 555, in check_recipe
    o = int(path.split("/")[1])
        ^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: 'host'
ERROR conda.cli.main_run:execute(47): conda run conda-lint /tmp/abs_95ghdlj2uf/clone failed. (See above for error)

Linter check found the following problems:
Traceback (most recent call last):
  File "/opt/conda/envs/linter/bin/conda-lint", line 11, in
    sys.exit(main())
             ^^^^^^
  File "/opt/conda/envs/linter/lib/python3.11/site-packages/anaconda_linter/run.py", line 107, in main
    result = linter.lint(
             ^^^^^^^^^^^^
  File "/opt/conda/envs/linter/lib/python3.11/site-packages/anaconda_linter/lint/__init__.py", line 620, in lint
    msgs = self.lint_file(
           ^^^^^^^^^^^^^^^
  File "/opt/conda/envs/linter/lib/python3.11/site-packages/anaconda_linter/lint/__init__.py", line 692, in lint_file
    messages = self.lint_recipe(
               ^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/linter/lib/python3.11/site-packages/anaconda_linter/lint/__init__.py", line 748, in lint_recipe
    res = self.check_instances[check].run(recipe, fix)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/linter/lib/python3.11/site-packages/anaconda_linter/lint/__init__.py", line 247, in run
    self.check_recipe(recipe)
  File "/opt/conda/envs/linter/lib/python3.11/site-packages/anaconda_linter/lint/check_build_help.py", line 555, in check_recipe
    o = int(path.split("/")[1])
        ^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: 'host'
ERROR conda.cli.main_run:execute(47): conda run conda-lint /tmp/abs_a5o5s345g_/clone failed. (See above for error)

https://github.com/sktime/sktime/blob/v0.17.0/pyproject.toml

You are right. Packages were included to the conda-forge recipe:

scikit-posthocs -> in v0.7.0 and then dropped
pystan -> in v1.12.1 and then dropped

I'll remove them

Linter check found the following problems:
Traceback (most recent call last):
  File "/opt/conda/envs/linter/bin/conda-lint", line 11, in
    sys.exit(main())
             ^^^^^^
  File "/opt/conda/envs/linter/lib/python3.11/site-packages/anaconda_linter/run.py", line 107, in main
    result = linter.lint(
             ^^^^^^^^^^^^
  File "/opt/conda/envs/linter/lib/python3.11/site-packages/anaconda_linter/lint/__init__.py", line 620, in lint
    msgs = self.lint_file(
           ^^^^^^^^^^^^^^^
  File "/opt/conda/envs/linter/lib/python3.11/site-packages/anaconda_linter/lint/__init__.py", line 692, in lint_file
    messages = self.lint_recipe(
               ^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/linter/lib/python3.11/site-packages/anaconda_linter/lint/__init__.py", line 748, in lint_recipe
    res = self.check_instances[check].run(recipe, fix)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/linter/lib/python3.11/site-packages/anaconda_linter/lint/__init__.py", line 247, in run
    self.check_recipe(recipe)
  File "/opt/conda/envs/linter/lib/python3.11/site-packages/anaconda_linter/lint/check_build_help.py", line 555, in check_recipe
    o = int(path.split("/")[1])
        ^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: 'host'
ERROR conda.cli.main_run:execute(47): conda run conda-lint /tmp/abs_ebxs7ixgcp/clone failed. (See above for error)

Linter check found the following problems:
Traceback (most recent call last):
  File "/opt/conda/envs/linter/bin/conda-lint", line 11, in
    sys.exit(main())
             ^^^^^^
  File "/opt/conda/envs/linter/lib/python3.11/site-packages/anaconda_linter/run.py", line 107, in main
    result = linter.lint(
             ^^^^^^^^^^^^
  File "/opt/conda/envs/linter/lib/python3.11/site-packages/anaconda_linter/lint/__init__.py", line 620, in lint
    msgs = self.lint_file(
           ^^^^^^^^^^^^^^^
  File "/opt/conda/envs/linter/lib/python3.11/site-packages/anaconda_linter/lint/__init__.py", line 692, in lint_file
    messages = self.lint_recipe(
               ^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/linter/lib/python3.11/site-packages/anaconda_linter/lint/__init__.py", line 748, in lint_recipe
    res = self.check_instances[check].run(recipe, fix)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/linter/lib/python3.11/site-packages/anaconda_linter/lint/__init__.py", line 247, in run
    self.check_recipe(recipe)
  File "/opt/conda/envs/linter/lib/python3.11/site-packages/anaconda_linter/lint/check_build_help.py", line 555, in check_recipe
    o = int(path.split("/")[1])
        ^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: 'host'
ERROR conda.cli.main_run:execute(47): conda run conda-lint /tmp/abs_42orwham5o/clone failed. (See above for error)


bug(compaction): unexpected l0->lbase compaction task with 1000+ input levels

Describe the bug
Our compaction picker algorithm should have bound the number of input levels of a compaction task. But we have once observed an anomaly with 1000+ input levels, which significantly exceeds the bound.

Error message/log
No response
To Reproduce
It was found in a cluster where the single-threaded meta event loop was saturated. And lots of l0 sublevel piled due to flawed compaction strategy and bad compaction configuration. Anyway, we still don't clarify why such a large input level number can ever occur.
Expected behavior
No response
How did you deploy RisingWave?

   // The logic of sorting depends on the interval we expect to select.
        // 1. contain as many levels as possible
        // 2. fewer files in the bottom sub level, containing as many smaller intervals as possible.
        scores.sort_by(|a, b| {
            b.sstable_infos
                .len()
                .cmp(&a.sstable_infos.len())
                .then_with(|| a.total_file_count.cmp(&b.total_file_count))
                .then_with(|| a.total_file_size.cmp(&b.total_file_size))
        });

The current selection strategy favors tasks that contain more sub levels. So, when the above situation occurs, it is likely to be selected. To cope with this, I'm thinking of categorizing the selected tasks into two types, "expected" and "abnormal". The task scores for the two types of tasks will be sorted separately. Also, each selection will first exhaust the "expected" task, to try to avoid the above cases.

Related: #13054


Rework the UX of Step 2 on the Add Stall form

It seems to be confusing a few users and stopping them from proceeding past that step to submit a stall.
AB#113

Closing and merging into https://github.com/keithamoss/demsausage/issues/1855


Documentation : document the mouseover magic

Fixes #1586
I didn't notice that I forgot to add documentation for the feature. Here's a first shot at it, I'm not sure if we should create new TOC items for this or not, so I tried to keep the information in existing paragraphs.
I'll do another commit for updating the README soon

Cheers!


Delay option for server refresh

I am using a custom webserver for webpack, Whenever I modify my source files, my IDE needs 2-3 seconds to build the project and put it on the server.
I would like to have an option {delay: 3000 } in tiny-lr so that my browser can refresh after a given amount of time.

Hi @csakis
Is it something that can be done with the watcher ? I don't know if you use gulp or something else, but you might add a setTimeout(reload, 3000) or something similar ?

I use webpack and there is a plugin called webpack-livereload-plugin that uses tiny-lr. If I watch my source files being changed and initiate a browser refresh, then the browser will be refreshed too soon. It would be nice to delay the websocket message by an arbitrary number of milliseconds, so my webserver has enough time to refresh the files on the server, then the browser could refresh.

I think this is the responsibility of webpack-livereload-plugin or more generally the build system that uses tiny-lr, what triggers the change request or event. I'm not very willing to add a option to delay message to tiny-lr itself.


Fix for FastBoot beta

Seems you cannot rely on EMBER_CLI_FASTBOOT being set correctly in treeForVendor. That hook was called just once (with EMBER_CLI_FASTBOOT being undefined), while included got called twice (for browser and FastBoot builds, with EMBER_CLI_FASTBOOT correctly set).
That caused this exception for me:
Error: ENOENT: no such file or directory, open '/Users/simonihmig/Projects/tlw/tmp/source_map_concat-input_base_path-d7N9FNMf.tmp/vendor/fastboot-showdown.js'

Moving that file to vendor regardless of build target (browser/FastBoot) should not matter, as it is still only imported for FastBoot builds...

Which version of fastboot beta?

I had the issue with beta.18, downgraded to beta.16 to see if it might be related to the newer beta, but that did not fix it...
I don't think this really affects the browser build. As long as you do not app.import the vendor file, this should not have any effect, does not get merged into the vendor.js, and does not get copied to the dist folder or anything like that. The file is just in some temporary broccoli tree in /tmp, just as any file in /vendor. At least that's my understanding of it.
However I just tested this again with a fresh clean app, and was not able to reproduce. 🤔
Will investigate this a bit, let's put this on hold for now...

Somehow I was able to have a successful build now even with my existing app, without the changes here. I have no idea why that is, maybe some weird installation of node_modules before or what else...
Closing this for now, sorry for wasting your time!

@simonihmig if you run into it again feel free to reopen to see if we can reproduce.  Thanks for following up :)