Adding GO terms related to skeletal biology

Many investigators, including myself, have used your website when performing an RNAseq study to understand the role of different differentially expressed genes.  The terms associated with skeletal biology are significantly lacking on your website and I was wondering whether you could simply adopt some of the phenotyping tree terms available on the MGI website (http://www.informatics.jax.org/vocab/mp_ontology/MP:0004624) to quickly increase the number of GO terms.

Hello @pmaye, thanks for using our resource!
Can I ask how you are using our resource to analyze your differentially expressed genes? Are you using the panther enrichment tool, or are you looking at gene annotations on a gene-by-gene basis? Is this in mouse?
It sounds like you are expecting to see more skeletal annotations for your genes of interest. Sorry you are not finding the results you are expecting. Do you have some specific examples?
It may be worth bearing in mind GO is primarily a resource for understanding the normal wild-type function of genes, with an emphasis on cellular biology. Annotations to MP describe effects of mutations. Parts of GO parallel MP (particularly development terms) and are coordinated - but in general we would not adopt MP terms in wholesale as it is intended for a different purposes. However, there may be gaps the MP can help fill and if you have specific suggestions we can look at them.
We do in fact work closely with the developers of MP and the annotators, and annotations to phenotype ontologies are sometimes transferred to analogous GO annotations via the IMP evidence code.
You may also be interested in resources for analyzing RNAseq data that leverage complementary ontology annotations to GO

TopAnat https://bgee.org/?page=top_anat# can be used to see if your gene list is enriched for particular tissues
ToppGene https://toppgene.cchmc.org/ can use a variety of other ontology systems including I think MP

However, if you are interested in the function of the gene then GO is the main resource, and we would like to make it as complete as possible in the area of skeletal biology, if you can provide assistance with some specific terms or annotations you would like to see that would help us a lot, thanks!


Syntax could be less verbose

Make the syntax a tad less verbose by possibly using these suggestions.

Syntax in 1.0.0 is less verbose


[Bug] Get-DBAAvailabilityGroup IsPrimary returns false

[x] Running latest release of dbatools
[x] Verified errors are not related to permissions
[x] Is this bug with Copy-DbaDatabase? You can replicate it using Backup-DbaDatabase ... | Restore-DbaDatabase ...

Environmental data

### PowerShell version:

Name                           Value
----                           -----
PSVersion                      5.1.17134.590
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.17134.590
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

### dbatools Module version:

Name    : dbatools
Path    : C:\Program Files\WindowsPowerShell\Modules\dbatools\0.9.815\dbatools.psd1
Version : 0.9.815

SQL Server:

/* Microsoft SQL Server 2014 (SP2-CU9) (KB4055557) - 12.0.5563.0 (X64)   Dec  7 2017 01:00:06   Copyright (c) Microsoft Corporation  Developer Edition (64-bit) on Windows NT 6.3 <X64> (Build 9600: ) (Hypervisor) */

Errors Received

No errors recieved

Steps to Reproduce
<#
    Get-DBAAvailabilityGroup -IsPrimary -SQLInstance "SERVERNAME,1234"
#>

Expected Behavior

Actual Behavior

I have found the issue in the code. Line 102
Add-Member -Force -InputObject $ag -MemberType NoteProperty -Name IsPrimary -Value ($ag.PrimaryReplicaServerName -eq $server.Name)

The assertion $ag.PrimaryReplicaServerName -eq $server.Name fails when the $SQLInstance parameter contains a port number, as the $server.Name property does not contain the port number. The end result is that $ag.PrimaryReplicaServerName and $server.Name never match.


Add SRI

Trello card
Github issue
Based on a previous attempt to add SRI - see PR here
What this does
This PR enables govuk_template to use SRI for the css and js assets it is serving to other projects.
Background
What is SRI
SRI will add an integrity attribute on your script tags:
<script src="https://example.com/example.css"
integrity="sha384oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/uxy9rx7HNQlGYl1kPzQho1wx4JwY8w"
crossorigin="anonymous"></script>

The example above is generated automatically by sprockets-rails in your project if you do this:
<%= stylesheet_script_tag 'example', integrity: true %>
The way the digest value for the integrity attribute is calculated is by applying SHA256 on the contents of the file. In that way, the browser can double check that the right file is being received and hasn’t been tampered with (which would mean the contents would have changed and the resulting digest would be incorrect).
The problem with using SRI in govuk_template
The css files provided by govuk_template (for example: to the static project) are still css.erb files. In which case the contents of those files will change when they are processed in static (specifically there’s multiple <%= asset_path(...)%>s in there).
So here’s the problem illustrated:

The govuk_template gem compiles a file called govuk_template.css.erb which contains multiple asset_path lines, e.g.
background-image: url(<%= asset_path 'images/govuk-crest.png' %>);

static receives this file and replaces all the asset_path lines with it’s own path:
background-image: url(**http://static.dev.gov.uk/static**/images/govuk-crest-2x.png);
Notice that this url will vary depending on the app that uses the gem. As a result, the contents of the resulting govuk_template.css will vary depending on which app is using the gem so the digest will also vary.
This means you can’t generate the digest inside the gem, and the calculation will have to be left to the apps to do individually.

You can't use sprockets-rails in govuk_template directly because the assets it serves are also compiled into django, play, liquid, mustache and other crazy formats.
So you can’t do this:
<%= stylesheet_link_tag ‘govuk-template-print’, integrity: true%>
and then leave it up to sprockets-rails to calculate the digest for you, because this will not work for django and all the other formats. They don’t know what stylesheet_tag is.
Instead, this is what govuk_template does so it can be compiled into multiple languages:
 <link href="<%= asset_path "govuk-template-print.css" %>" media="print" rel="stylesheet" />

You can't calculate the integrity digest by hand in the gem, because of point 2 -> the content of the file will change depending on which application is using it.

Proposed solution
We use stylesheet_link_tag and set integrity: true, but we leave it up to the apps using the gem to actually generate the integrity digest. For the other languages (django, jijna, liquid, mustache) we define a stylesheet_include_tag method in their respective processors that will translate that tag into something they can understand:
<link href="<%= asset_path "govuk-template-print.css" %>" media="print" rel="stylesheet" />

sprockets-rails was removed from rails >= 4, so it won't make sense to add a dependency to sprockets-rails if your version of rails is still 3.1.
I've added details about how SRI can be used with govuk_template gem in the docs

Do we need to back this out?

@fofr maybe we should back this out and re-release, but I'd say we don't need to yank old versions as it's not broken or a security risk or anything like that.  Before we do anything though we need to investigate the impact more; it might be we're comfortable with the % of users it would affect and want to remerge the SRI stuff on government frontend.

Bug affects users of Firefox versions less than 52, which is about 0.7% of all users in the last month, about 315k users. There's also a proportion of users stuck on version 45 because they can't upgrade.


Variational Quantum Eigensolver sample notebooks

Add VQE notebooks with samples for IonQ and Quantinuum

Merging in changes from https://github.com/microsoft/Quantum/pull/675 as well


Fix name of utility function parameter

Oh this one too
https://github.com/MGHComputationalPathology/highdicom/blob/50467bb6b75a001e43d6963bab5d16c8ac6f0a01/src/highdicom/seg/content.py#L514-L519

Feel free to resolve this if it's unrelated, but I'm getting failing tests for test_utils.test_compute_plane_position_full. Do the expected outputs just need to be updated?

I am getting this, too. Currently fixing the tests.
We need to get the continuous integration tests working again..


Installing meteor-cucumber breaks Jasmine tests

When I install meteor-cucumber, it breaks my Jasmine tests. I've set JASMINE_BROWSER="PhantomJS meteor" to run my Jasmine tests in PhantomJS. I also set PHANTOM_PATH for webdriver in the event that was the problem.
When I try to run my tests now using meteor --test or simply meteor, I never get results back.

I tried installing only webdriver without cucumber and everything seems to work normally. Oddly, the tests complete and I get output the first time I run them after installing Cucumber but not on subsequent attempts.
Here's the output without webdriver and cucumber:

stream error Network error: ws://localhost:3000/websocket: connect ECONNREFUSED
=> Meteor 1.0.5 is available. Update this project with 'meteor update'.
I20150326-11:52:45.276(-4)? jasmine-server-unit: 0 tests passed
I20150326-11:52:45.567(-4)? jasmine-server-unit: 0 tests passed
PASSED jasmine-server-integration : The first user => The first user has the manage-users role
PASSED jasmine-server-integration : The first user => The first user has the schedule-any role
PASSED jasmine-server-integration : The first user => The first user has the edit-any role
PASSED jasmine-server-integration : New users after the first => New users after the first do not have the manage-users role
PASSED jasmine-server-integration : New users after the first => New users after the first do not have the schedule-any role
PASSED jasmine-server-integration : New users after the first => New users after the first do not have the edit-any role
I20150326-11:52:47.111(-4)? jasmine-server-integration: 6 tests passed (88ms)
FAILED jasmine-client-integration : Users with manage-user role => Users with manage-user role should be able to change user roles
undefined
I20150326-11:52:53.630(-4)? jasmine-client-integration: 0 tests passed
W20150326-11:52:53.630(-4)? (STDERR) jasmine-client-integration: 1 tests failed
W20150326-11:52:53.630(-4)? (STDERR) Users with manage-user role should be able to change user roles
W20150326-11:52:53.631(-4)? (STDERR) Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
W20150326-11:52:53.631(-4)? (STDERR) undefined
I20150326-11:52:54.116(-4)? Waiting
FAILED jasmine-client-integration : Users with manage-user role => Users with manage-user role should be able to change user roles
Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
at http://localhost:56248/packages/sanjo_jasmine.js?2278340fa64c071f6d8497a1fe77e4a412864fef:2297:23

Here's the output with webdriver but without cucumber:

stream error Network error: ws://localhost:3000/websocket: connect ECONNREFUSED
=> Meteor 1.0.5 is available. Update this project with 'meteor update'.
I20150326-12:06:56.689(-4)? jasmine-client-integration: 0 tests passed
I20150326-12:06:56.691(-4)? jasmine-server-integration: 6 tests passed (146ms)
W20150326-12:06:56.691(-4)? (STDERR) jasmine-client-integration: 1 tests failed
W20150326-12:06:56.691(-4)? (STDERR) Users with manage-user role should be able to change user roles
W20150326-12:06:56.691(-4)? (STDERR) Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
W20150326-12:06:56.692(-4)? (STDERR) undefined
I20150326-12:06:57.513(-4)? Waiting
PASSED jasmine-server-integration : The first user => The first user has the manage-users role
PASSED jasmine-server-integration : The first user => The first user has the schedule-any role
PASSED jasmine-server-integration : The first user => The first user has the edit-any role
PASSED jasmine-server-integration : New users after the first => New users after the first do not have the manage-users role
PASSED jasmine-server-integration : New users after the first => New users after the first do not have the schedule-any role
PASSED jasmine-server-integration : New users after the first => New users after the first do not have the edit-any role
I20150326-12:07:01.116(-4)? jasmine-server-integration: 6 tests passed (127ms)
FAILED jasmine-client-integration : Users with manage-user role => Users with manage-user role should be able to change user roles
Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
at http://localhost:57883/packages/sanjo_jasmine.js?2278340fa64c071f6d8497a1fe77e4a412864fef:2297:23
I20150326-12:07:10.033(-4)? jasmine-client-integration: 0 tests passed
W20150326-12:07:10.034(-4)? (STDERR) jasmine-client-integration: 1 tests failed
W20150326-12:07:10.034(-4)? (STDERR) Users with manage-user role should be able to change user roles
W20150326-12:07:10.034(-4)? (STDERR) Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
W20150326-12:07:10.034(-4)? (STDERR) Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
W20150326-12:07:10.034(-4)? (STDERR)     at http://localhost:57883/packages/sanjo_jasmine.js?2278340fa64c071f6d8497a1fe77e4a412864fef:2297:23

Here's the output with both webdriver and cucumber on the first run after installing cucumber:

stream error Network error: ws://localhost:3000/websocket: connect ECONNREFUSED
=> Meteor 1.0.5 is available. Update this project with 'meteor update'.
I20150326-12:07:54.300(-4)? jasmine-client-integration: 0 tests passed
I20150326-12:07:54.302(-4)? jasmine-server-integration: 6 tests passed (127ms)
W20150326-12:07:54.302(-4)? (STDERR) jasmine-client-integration: 1 tests failed
W20150326-12:07:54.302(-4)? (STDERR) Users with manage-user role should be able to change user roles
W20150326-12:07:54.302(-4)? (STDERR) Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
W20150326-12:07:54.302(-4)? (STDERR) Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
W20150326-12:07:54.302(-4)? (STDERR)     at http://localhost:57883/packages/sanjo_jasmine.js?2278340fa64c071f6d8497a1fe77e4a412864fef:2297:23

and finally the output of subsequent runs:

stream error Network error: ws://localhost:3000/websocket: connect ECONNREFUSED
=> Meteor 1.0.5 is available. Update this project with 'meteor update'.
I20150326-12:09:03.493(-4)? Waiting

Just noticed that I had completely goofed setting the JASMINE_BROWSER variable. I've now set it to the much more sensible "PhantomJS" (rather than "PhantomJS meteor"), and I'm trying the cucumber install again.

I'm getting the same result even with the good JASMINE_BROWSER value.


AKS Welcome page ALWAYS opens

Describe the bug
The AKS Extension (unlike any other extension I've used) keeps showing the welcome page every time I open VS Code, or open a new folder, regardless of the fact that there's no new news, and everything in there has been marked "Done".
After the first dozen times a day it's actually quite annoying. See also:

https://github.com/microsoft/vscode/issues/212926
https://github.com/microsoft/vscode/issues/112494
https://github.com/alefragnani/vscode-bookmarks/issues/175

Mention the platform you are using
VSCode, Windows
To Reproduce
Steps to reproduce the behavior:

Install AKS Extension in VSCode
Open VS Code ("Welcome" shows)

Mark everything done ...
Open VS Code ("Welcome" still shows)
Click to mark everything done ... again
Disable "Welcome" globally

Open VS Code ("Welcome" still shows)

Expected behavior

Welcome pages should only show if I have "Show welcome page on startup"
Extension-specific welcome pages should only show if there's new information that's not marked done
Extension should register it's "Welcome" page in the command palette so I can open it later myself

Desktop (please complete the following information):

OS: Windows
Browser: Firefox

Thank you so much for reporting this, really appreciate it! We've added a fix for this, and once tested and merged it will be part of next release. Thanks. Thank you so much for repro @ReinierCC for testing as well.

💡A quick loop back, post release: the fix for this is released under version 1.4.10 thank you so much for this. ❤ 🙏


Define rule: A defaultCondition link between ScheduledInstances may not link a ScheduledInstance to itself.

CHK0081: DefaultConditionId not equal to itself

This is redundant with DDF0021, which deals with next, previous, and defaultCondition links.

Closing this PBI as I agree that it is a duplication of #115

Draft rule DDF99974 has been deleted from the rule editor.


gnupg: fix bugs in EdDSA/YubiKey support

Description of changes
Non-invasive usability fixes for using GnuPG with Ed25519 on OpenPGP smartcards, eg YubiKeys.
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

Aren't stuff in here fixed by simply updating to 2.3.9/2.4.0? I had issues i temporarily resolved by pinning 2.3.6, but they are supposedly fixed https://dev.gnupg.org/T6179

Aren't stuff in here fixed by simply updating to 2.3.9/2.4.0? I had issues i temporarily resolved by pinning 2.3.6, but they are supposedly fixed dev.gnupg.org/T6179

Since OP doesn't respond, and this link suggests it is fixed in 2.4.0, I suggest we close this.

note it was updates yesterday through https://github.com/NixOS/nixpkgs/pull/207071

FWIW, I'm still running all the proposed patches (or rebased versions thereof), I just don't currently have the time or spoons available to upstream them or make sure they're all still necessary for my daily use.


Provisioning database on separate node?

Bounced around documentation for a bit, couldn't find what I was looking for:
I've set up Flynn with a few different nodes in an initial cluster, just to play around with. It wasn't immediately clear if I could define what node I wanted to, say, dedicate to a web node, or dedicate to a Postgres node.
Is Flynn set up for this? Is it on the roadmap? Am I in the wrong place?

Yes, tags can be used to do this. It looks like there is no docs section for this, but there are details in the release announcement: https://flynn.io/blog/2015-12-28-this-week-in-flynn

Flynn is unmaintained and our infrastructure will shut down on June 1, 2021. See the README for details.


Load images fix

Changed background-image: url('../images/bg-coming-soon.jpeg'); to background-image: url('../src/images/bg-coming-soon.jpeg'); so the new path points to the image.

Thanks all for the fixes, but now we use hosting netlify and issue solved.


Use 3001 instead of 1001 when destroying a Javascript websocket

Calling connect_to_host on a websocket twice in a row on HTML5 builds produces the follow HTML exception which crashes the engine.

This happens because 1001 is a reserved code for the websocket close command.
I can see how this documentation would be confusing:
https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/close
3001 does not crash.
3.x version https://github.com/godotengine/godot/pull/59256

The docs say:

The value must be an integer: either 1000, or else a custom code of your choosing in the range 3000-4999. If you specify a code value, you should also specify a reason value.

So should we give a more explicit reason than ''?

Copy that. I put 'destroyed' as the reason.

I like how they decided that JS clients would not be allowed to use that standard-complain code to notify "going away" :man_shrugging: .
Anyway, thanks for spotting this! Good work :+1: :trophy:

Cherry-picked for 3.5.


CRI: add cpu-shares isolator

Partially fixes https://github.com/coreos/rkt/issues/3242

/cc @lucab @squeed @jonboulle

LGTM. :+1:


tmuxinator + per project .tmuxinator file + bundler binstubs = doesn't work with 2 projects at the same time

How to reproduce?

Create project1 with Gemfile:

mkdir project1 && cd project1 && echo "gem 'tmuxinator', git: 'https://github.com/aziz/tmuxinator.git', branch: '0.7.0-wip'" > Gemfile && bundle install --binstubs
echo -e 'name: project1\nproject_root: <%= Dir.pwd %>\nwindows:\n  - devshell: echo BUNDLER_GEMFILE is $BUNDLE_GEMFILE' > .tmuxinator
cd ..

Create project2 with Gemfile:

mkdir project2 && cd project2 && echo "gem 'tmuxinator', git: 'https://github.com/aziz/tmuxinator.git', branch: '0.7.0-wip'" > Gemfile && bundle install --binstubs
echo -e 'name: project2\nproject_root: <%= Dir.pwd %>\nwindows:\n  - devshell: echo BUNDLER_GEMFILE is $BUNDLE_GEMFILE' > .tmuxinator
cd ..

With this setup run in two shells tmuxinator wihin project1 and project2 with command:
./bin/tmuxinator

In my setup I get this output in both tmux sessions:
BUNDLER_GEMFILE is /private/tmp/issue/project1/Gemfile

What is expected output?
project1 dir
BUNDLER_GEMFILE is /private/tmp/issue/project1/Gemfile

project2 dir
BUNDLER_GEMFILE is /private/tmp/issue/project2/Gemfile

OR:
No BUNDLER_* variables at all.
Now with this behaviour I can't launch tmuxinator (as bundler binstub) within 2 projects.

#273 should the last comment and the original issue should've been solved by #208 hopefully.


SBOM and dependency track webpage

I think you already did this but I can't find.

I had it on my local machine, now its on GCP at http://<IP_ADDRESS>:8080/, check discord for the credentials


Design Meeting Notes, 5/19/2017

Inference/Generic function composition requests
Issues linked to at the bottom.

Why are we revisiting this?

Ben from RxJS filed an issue about general inference difficulties.
Will also be important for function pipeline in the future if it lands in ES.

Currently we use inferences from values to flow into function parameters
But we don't use the type that the result will flow into for inferences.

Example
type Mapper<T, U> = (x: T) => U;

function wrap<T, U>(cb: Mapper<T, U>): Mapper<T, U> {
    return cb;
}

function wrapStringToNumber(cb: Mapper<string, number>): Mapper<string, number> {
    return cb;
}

// works (not wrapped in a call)
let f1: Mapper<string, number> = s => s.length;

// works (types are concrete)
let f2: Mapper<string, number> = wrapStringToNumber(s => s.length);

// doesn't work because there are no parameters with known types
let f3: Mapper<string, number> = wrap(s => s.length);

What you'd like in the last example is that wrap(...) draws inferences from its contextual type.
But there are some problems with just using the contextual type.
// This works
let a1 = ["a", "b"].map(s => s.length);

// This doesn't - requesting the contextual type of `map`'s argument "fixes"
// its type parameters which don't have any inferences. This means that `s` gets the right type,
// but `a2` gets the type `Array<{}>`!
let a2 = ["a", "b"].map(wrap(s => s.length));

So basic idea for solution.

Draw inferences from arguments that are not contextually sensitive (e.g. values that are not untyped lambdas that we could give types to).
During the second round of inference...

if we run into a a contextually sensitive argument...
which needs a type parameter which has no inferences...
then reach out of the call and make inferences from the contextual type to the call's return type

Harder stuff involves inference between generic type parameters.
Not clear what to do here, but we can tackle it one step at a time.

Default imports for CommonJS modules
Want to align with Babel's emit - very difficult when people transition to using TypeScript and have to change their imports.
Biggest problem is that no way to tell which is "more correct" when you have a .d.ts that has top-level exports - is that a CJS or is it an ES module authored on top of CJS?
Entire thing needs a proposal.

Issues for Composition (instantiate generic signatures using contextual type instead of any)
Open:

https://github.com/Microsoft/TypeScript/issues/9366

Duplicates:

https://github.com/Microsoft/TypeScript/issues/417
https://github.com/Microsoft/TypeScript/issues/9107
https://github.com/Microsoft/TypeScript/issues/9949
https://github.com/Microsoft/TypeScript/issues/10247
https://github.com/Microsoft/TypeScript/issues/11311
https://github.com/Microsoft/TypeScript/issues/11343
https://github.com/Microsoft/TypeScript/issues/13570
https://github.com/Microsoft/TypeScript/issues/13632
https://github.com/Microsoft/TypeScript/issues/15016

Inference from return type position

https://github.com/Microsoft/TypeScript/issues/11152
https://github.com/Microsoft/TypeScript/issues/3423

Higher order inference with generic functions

https://github.com/Microsoft/TypeScript/issues/15680
https://github.com/Microsoft/TypeScript/issues/10247

Comparing generic signatures
Open:

https://github.com/Microsoft/TypeScript/issues/5616
https://github.com/Microsoft/TypeScript/issues/138

Duplicates:

https://github.com/Microsoft/TypeScript/issues/3038
https://github.com/Microsoft/TypeScript/issues/3410
https://github.com/Microsoft/TypeScript/issues/3720
https://github.com/Microsoft/TypeScript/issues/5251
https://github.com/Microsoft/TypeScript/issues/8397
https://github.com/Microsoft/TypeScript/issues/8459
https://github.com/Microsoft/TypeScript/issues/11537
https://github.com/Microsoft/TypeScript/issues/11877
https://github.com/Microsoft/TypeScript/issues/13631
https://github.com/Microsoft/TypeScript/issues/15458

been waiting for so long:

https://github.com/Microsoft/TypeScript/issues/10247#issuecomment-266844059
https://github.com/Microsoft/TypeScript/issues/13039#issuecomment-268129526


Message times seem to be in Moscow timezone

Hello,
I'm using the 1.0.13 version of the app on a Google Pixel running Android 7.1.2. The inbound timestamps seem to be in UTC+3 (Moscow time). My device is set to U.S. Pacific time and the Play Store version of the Zulip app behaves correctly.

Thanks for reporting that.
I have observed a similar issue when I traveled to the US.
We have not hard-coded the time so that is a bit weird.
On the other hand, I am in the same UTC +3 time zone so that might be one reason why I don't encounter this often. 😄
@vishwesh3 do you want to have a look at this?

Yup! will look into this 👍
@zulipbot claim

@vishwesh3 any update on this?

Can't reproduce it. Tried by changing timezones in my physical device, messages timestamp is changing according.

Interesting. I have seen that one myself though.
@kunall17 @Sam1301 have you encountered this bug yourselves soon?

The timestamp is changing with timezone, though a reload of app is required for this.

That means it is a relatively low priority.
@vishwesh3 if you want to take on it, passing the settings as a key in one of the Providers, it will cause an app reload. But again, there are probably things that are more important at the moment.

This issue appears to be fixed in version 1.0.16 of the Android app, running on a Google Pixel with Android 7.1.2.


add support for power management ic axp202

Summary
add support for power management ic axp202.
can config LDO or DC-DC output voltage of axp202.
Impact
no
Testing
tested on esp32 platform and our platform.

@davie08 please rebase and squash your change into one patch.


Jitter when clamping to ground

Noticed while reviewing #3903.  Here's a sandcastle example which creates a circular flight with altitude of 0 and then clamps to terrain.  There is really jerky camera or entity motion as it animates.
var viewer = new Cesium.Viewer('cesiumContainer', {
    terrainProviderViewModels : [], //Disable terrain changing
    infoBox : false //Disable InfoBox widget
});

//Enable lighting based on sun/moon positions
viewer.scene.globe.enableLighting = true;

//Use STK World Terrain
viewer.terrainProvider = new Cesium.CesiumTerrainProvider({
    url : 'https://assets.agi.com/stk-terrain/world',
    requestWaterMask : true,
    requestVertexNormals : true
});

//Enable depth testing so things behind the terrain disappear.
viewer.scene.globe.depthTestAgainstTerrain = true;

//Set the random number seed for consistent results.
Cesium.Math.setRandomNumberSeed(3);

//Set bounds of our simulation time
var start = Cesium.JulianDate.fromDate(new Date(2015, 2, 25, 16));
var stop = Cesium.JulianDate.addSeconds(start, 360, new Cesium.JulianDate());

//Make sure viewer is at the desired time.
viewer.clock.startTime = start.clone();
viewer.clock.stopTime = stop.clone();
viewer.clock.currentTime = start.clone();
viewer.clock.clockRange = Cesium.ClockRange.LOOP_STOP; //Loop at the end
viewer.clock.multiplier = 1;

//Set timeline to simulation bounds
viewer.timeline.zoomTo(start, stop);

//Generate a random circular pattern with varying heights.
function computeCirclularFlight(lon, lat, radius) {
    var property = new Cesium.SampledPositionProperty();
    for (var i = 0; i <= 360; i += 45) {
        var radians = Cesium.Math.toRadians(i);
        var time = Cesium.JulianDate.addSeconds(start, i, new Cesium.JulianDate());
        var position = Cesium.Cartesian3.fromDegrees(lon + (radius * 1.5 * Math.cos(radians)), lat + (radius * Math.sin(radians)), 0);
        property.addSample(time, position);

        //Also create a point for each sample we generate.
        viewer.entities.add({
            position : position,
            point : {
                pixelSize : 8,
                color : Cesium.Color.TRANSPARENT,
                outlineColor : Cesium.Color.YELLOW,
                outlineWidth : 3
            }
        });
    }
    return property;
}

//Compute the entity position property.
var position = computeCirclularFlight(-112.110693, 36.0994841, 0.03);

//Actually create the entity
var entity = viewer.entities.add({

    //Set the entity availability to the same interval as the simulation time.
    availability : new Cesium.TimeIntervalCollection([new Cesium.TimeInterval({
        start : start,
        stop : stop
    })]),

    //Use our computed positions
    position : position,

    //Automatically compute orientation based on position movement.
    orientation : new Cesium.VelocityOrientationProperty(position),

    //Load the Cesium plane model to represent the entity
    model : {
        uri : '../../SampleData/models/CesiumAir/Cesium_Air.gltf',
        minimumPixelSize : 64,
        heightReference: Cesium.HeightReference.CLAMP_TO_GROUND
    }
});

viewer.trackedEntity = entity;

Looks like this happens on the first terrain height request of a new tile.  To see it more clearly:

Zoom out a bit so lower LOD tiles are loaded
Make the animation speed something like 0.5x
Use the Cesium inspector to turn on Terrain -> Show tile coordinates

viewer.extend(Cesium.viewerCesiumInspectorMixin);

It seems there can be a lot of jitter even if we don't have any terrain loaded.
Sandcastle example

There's also jitter if RELATIVE_TO_GROUND is used:
Sandcastle example

Looks like this happens on the first terrain height request of a new tile. To see it more clearly:

Zoom out a bit so lower LOD tiles are loaded
Make the animation speed something like 0.5x
Use the Cesium inspector to turn on Terrain -> Show tile coordinates

viewer.extend(Cesium.viewerCesiumInspectorMixin);

The amount of jitter seems to be reduced if "Suspend LOD update" is checked. However, there's still some larger jitter at the end of this clip:

It looks like it's the camera that jitters rather than the model, as the motion appears smooth when the camera isn't tracking the entity.


chore(deps): update non major dependencies

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/nestjs/nest/blob/master/CONTRIBUTING.md
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?
This PR update non-major dependencies.

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[x] Other... Please describe: non-major dependency update

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

Thanks for your contribution @dammy001! However, we use dependabot & renovate bots and they keep automatically upgrading deps.


Improve the file share story

There are many reasons for wanting to have your source code on a file share instead of on a local drive. I'm for instance using Windows inside of Parallels while hosting the source code on my Mac so I get tight integration with the OS X terminal for Git command line and all that jazz.
Having the source code Visual Studio is loading on a file share are problematic for quite a few reasons, some of which are way out of scope for the Roslyn Project System, but I thought I'd mention them anyway:

I need to run Visual Studio with elevated permissions (as the Administrator) to have it configure IIS and such. Since I have a habit of double-clicking on .sln files in Windows Explorer, I needed to get Visual Studio 2015 to do this by default, by:
Configuring devenv.exe to always run as an administrator. This made Visual Studio launch with a devenv.exe solution when, which forced me to:
Also configure VSLauncher.exe to always run as an administrator. Light-years from intuitive, but it works.
Since Visual Studio needs to be run with elevated permissions, the drives that are automatically mapped up by Parallels for my user, need to be manually mapped up by a login script with net use since even thought I do /persistent:yes, they are gone on every login.
To have Visual Studio "trust" the network share, I've had to disable the "Warn user when the project location is not trusted" checkbox in Visual Studio, use caspol to grant permissions to the network share as well as grant permissions to the local intranet code group. I think I had to do caspol for different versions of .NET as well, but I don't remember the exact details. Again, light-years from intuitive, but it seems to work.
When Visual Studio has loaded a solution on a network share, it is much less attentive to file changes that have happened outside of Visual Studio, such as a git checkout command executed in OS X.

As I wrote, some of these problems can't be attributed to the project system and are thus out of scope for this repository, but I just wanted to mention the whole story so you (as Microsoft) can understand just how much friction is involved here.
The probably worst thing is that I have to search for how to do each and every of the above steps each time I install Windows and/or Visual Studio, because it seems to be a variation on all of the above for each version of both Visual Studio and Windows. The steps are in any case so complicated to perform that I don't have enough cognitive capacity to remember between each time I reinstall, which I thankfully don't do very often (which of course affects my memory as well).
This relates to #169 in some ways, but I think the network share story requires its own user story, so here we are.
If you can improve on this in any way, you would add years to my expected lifespan for sure. If you can't, then at least now I have the required steps written down, so I can hopefully come back to this issue in the future to remind myself just how I did all of this. Thanks!

I'm not sure this is the right issue to piggy-back, but here it goes... Let me know if this deserves a separate issue, or if it should be moved to the CLI repo or something.
Just like @asbjornu, I have code shared between macOS and Windows, using Parallels. When dealing with project.json, file shares and Visual Studio, the dependency resolution falls over.
If you change project.json and kick off a NuGet restore (this will mostly happen automatically), it'll claim that it failed to restore some (or all) packages. This clearly isn't true, as you can easily do a dotnet restore on the command line, and it resolves everything perfectly fine.
If you change project.json again and let it restore the packages, it'll successfully restore the packages from the previous edit, but fail for the latest changes you made. It's as if the Visual Studio restore is picking up the project.lock.json file form the previous restore.
I've had to move all projects dealing with project.json (quite a few) to the local disk on the VM in order for the VS tooling to work properly.

Another annoying thing related to this is that the "Open Command Prompt" context menu provided by the Productivity Power Tools extension (also provided by Microsoft) fails to open a command prompt on the folder of the selected solution folder, due to the following error message:
'\\Mac\Home\Dev\Project'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported.  Defaulting to Windows directory.

To add insult to injury, the opened command prompt does not have the share mapped, so I have to type net use Y: \\Mac\Home and then cd /d Y:\Dev\Project just to be able to use the prompt for anything useful, making the whole feature useless. Again, not related to the project system, but one of many annoyances of having the source code reside on a network share.
Another issue not mentioned above is that IIS needs to use the full UNC path in its web applications in order to get access to the web.config file, since the file share isn't NTFS (and thus it's impossible to grant IUSR or anything else explicit access to the path). This causes all sorts of compatibility problems within the web applications themselves, as they are most likely not written to support UNC paths at all.
Fun!

And now I encountered another problem related to working with file shares and .NET: When running a command line application in an unelevated cmd.exe with a file share (mapped drive) as its working directory, the application blows up with the following exception:
System.Configuration.ConfigurationErrorsException: Error creating the Web Proxy specified in the 'system.net/defaultProxy' configuration section. ---> System.Net.Sockets.SocketException: An invalid argument was supplied
   at System.Net.SafeCloseSocketAndEvent.CreateWSASocketWithEvent(AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType, Boolean autoReset, Boolean signaled)
   at System.Net.NetworkAddressChangePolled..ctor()
   at System.Net.AutoWebProxyScriptEngine.AutoDetector.Initialize()
   at System.Net.AutoWebProxyScriptEngine.AutoDetector.get_CurrentAutoDetector()
   at System.Net.AutoWebProxyScriptEngine..ctor(WebProxy proxy, Boolean useRegistry)
   at System.Net.WebProxy.UnsafeUpdateFromRegistry()
   at System.Net.WebProxy..ctor(Boolean enableAutoproxy)
   at System.Net.Configuration.DefaultProxySectionInternal..ctor(DefaultProxySection section)
   at System.Net.Configuration.DefaultProxySectionInternal.GetSection()
   --- End of inner exception stack trace ---
   at System.Net.Configuration.DefaultProxySectionInternal.GetSection()
   at System.Net.WebRequest.get_InternalDefaultWebProxy()
   at System.Net.HttpWebRequest..ctor(Uri uri, ServicePoint servicePoint)
   at System.Net.HttpWebRequest..ctor(Uri uri, Boolean returnResponseOnFailureStatusCode, String connectionGroupName, Action`1 resendRequestContent)
   at System.Net.Http.HttpClientHandler.CreateAndPrepareWebRequest(HttpRequestMessage request)
   at System.Net.Http.HttpClientHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Pomona.Common.RequestDispatcher.<SendHttpRequestAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Pomona.Common.RequestDispatcher.<SendRequestInnerAsync>d__7.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Pomona.Common.RequestDispatcher.<SendRequestAsync>d__12.MoveNext()

An HTTP request is being made by the command line application, which seemingly requires loading of proxy settings, which for some reason are out of reach from an application run with unelevated privileges from a file share working directory.
If I do cd /d C:\Windows before exeucting the command line application, it works. It also works if I open up a cmd.exe with administrative privileges. But the combination of unelevated cmd.exe and a file share as a working directory, makes the application fail.
Yikes!

@asbjornu Can you file this over on http://github.com/dotnet/corefx?

@davkean: Sure! Thanks for stopping by. 😃  Should I report the whole issue, parts of it, a separate issue per part, or what?

Just the last issue that you reported. I'm trying to figure out the best to way to track the other issues - it's really a cross-VS issue that covers lots of individual teams. I'll need to break up them up into bugs internally.

@davkean: Thanks, done.


Windows Machine File Copy task: "Invalid URI" error when port specified with machine name

Machine name according to docs supports a port suffix however that seems to not be the case.
Fine : dbserver.fabrikam.com
Breaks : dbserver_int.fabrikam.com:5988
Error:
Cannot convert value  to type "System.Uri". Error: "Invalid URI: The hostname could not be parsed."

Closing this now, please comment below if there are further issues.

@fweick -- thank you for your question.  Please consider these resources:

Azure DevOps Services
Azure DevOps Support Bot
Azure DevOps on Stack Overflow

2 years passed since initial report and i'm getting same error :/

Hi @treefishuk If you're still having this issue, you should reach out to the dev community. Ask there and create a bug, if necessary. To make sure it gets in front of the right people, please submit your bug here.


Upload ubuntu binaries

Chromium requires a powerful cpu and a huge amount of ram for its compilation
and some users doesn't have it,  for it i suggest upload ubuntu "at least xenial" binaries,  thanks

I'll start doing this for the next version of ungoogled-chromium, which will be based on a stable version of Chromium 51.

the binary is  compatible with ubuntu, but i needed modify the control file of control.tar.gz
with this "control"    this binary works fine
https://gist.github.com/triceratops1/080b57b91333db34108db738997c06a4

if you want compatibility with ubuntu, please replaces libjpeg62-turbo with libjpeg62
i proved it, modifying your  debs

@triceratops1: I appreciate your effort, but I will not accept this. In the event that other libraries are renamed or the ABI starts to differ across distributions for the same library, your change will no longer apply. It is better to build directly on Ubuntu.

Done with 51.0.2704.106-1.1


Fix transparent status bar background

table view cells will no longer show up under the status bar when
scrolling

Can you provide screenshots of the effect and the fix please? Thank you.

You'll see that without the fix the table views' content extend past the top of the navigation bar.
Album View Controller without fix:

Grid View Controller without fix:

Album View Controller with fix:

Grid View Controller with fix:

Ok i see the problem and the fix. You know how this works with the Popover mode?

As far as I can tell the popover was working as intended before this fix and it isn't affected by this fix.

You mixed things in this pull request with the last commit.

Sorry about that, mixed up my branches, I reverted all unintentional commits if you still want to merge this.

Yes, thank you!


Organise this code as a "standard package"

Hello, it seems you have people trying to use your code, however it would be much better if yo uorganise it as a standard package (with Project.toml, tests, etc..) so you would not have to warry about adding directories to the path ;-)
You can have a look here for a tutorial on how to implement your project as a Julia Package and register it.

On my to do list

This has been resolved in that one can now do:
 pkg> add https://github.com/gideonsimpson/JuBasicMD

I am not quite ready to add it to the general package registry.


[viewer] Importing viewer module on macos immediately kills maplotlib windows

On MacOS, importing the viewer module from dm_control immediately kills the matplotlib plot figures even when it should be ideally blocked with plt.show(). To reproduce the issue run the code below as a script:
import matplotlib
import matplotlib.pyplot as plt

from dm_control import viewer

if __name__ == '__main__':
    print(f"Matplotlib backed {matplotlib.get_backend()} ")
    plt.plot()
    plt.show(block=True)

NOTE : To reproduce the bug from the above script make sure that backend used by matplotlib (printed on the terminal) is MacOSX. When using other non default backends on MacOS the issue goes away.
Looking into it I found that the issue comes from https://github.com/deepmind/dm_control/blob/3c67a42d021b97808fcc075c0c468d78f0c2233f/dm_control/_render/glfw_renderer.py#L28 Seems like having glfw.init() run globally is the cause.

Haven't had a chance to actually look into this yet, but regarding glfw.init(), that's the only way to run it. There isn't a "run it locally" option. If it is in fact glfw.init() that's causing the problem then it's likely an incompatibility between glfw and the particular matplotlib backend.

Yes, it is definitely a problem particularly with the MacOSX backend which happens to be the default. When I switch to, for example Qt backend  (to permanently do it add the following to your (bash)rc export MPLBACKEND=QtAgg) the issue goes away

Are you getting any error message or does it just silently close?

No errors/warnings are raised. It just silently closes


STOR-1168: Bump common libraries

Bump github.com/openshift/api@master github.com/openshift/build-machinery-go@master github.com/openshift/client-go@master github.com/openshift/library-go@master <EMAIL_ADDRESS>cc @openshift/storage

/label qe-approved
discusses with QE, CI is enough.

/retest

/retest

sigh, now it's blocked by https://github.com/openshift/gcp-filestore-csi-driver-operator/pull/37

/retest

/lgtm


Make connection test completely

As title, I think we can consider using the PHPUnit test to make database connection test completed.
@halfer. Once this issue is accepted, I can work on this and please add #orbtoberfest on this issue because of the hacktoberfest circleci :).

Hi @peter279k. Thanks for raising an issue, an apologies for the delay - I don't sign into GH very often.
I think PHPUnit may be overkill here. The point of the connect.php script is just to show that database connections work, and the point of the whole repo is to give folks a helping hand with MySQL/PHP in CircleCI. It isn't really test automation in the normal sense i.e. with a finished application.

Hi @halfer, thanks for your reply.
I think it's fine to use this current testing approach on CircleCI.
Closed this issue due to your explanation :).


Implemented personal messaging feature

Fixed issue #5. #83

Great work @cp-Coder! Merging your PR.


GRANITE-45911 - Pipelined Mongo dump for indexing job (WIP - Do Not Merge)

This need an OAK ticket.


Paper : Distilling Knowledge from Noisy Teachers

Link - https://arxiv.org/pdf/1610.09650.pdf
Simulates effect of using multiple teachers by adding gaussian noise to teacher logits.

Hey, Great paper!


Bug Report: Request detection with image key fails

Describe the bug
I request a detection with the image key, and the function fails.
To Reproduce
Run the following:
data = mly.get_detections_with_image_id(image_id=1933525276802129)

Expected behavior
This should return a list of detections for the image key specified
Screenshots
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_47044/4018995761.py in <module>
----> 1 data = mly.get_detections_with_image_id(image_id=1933525276802129)

C:\Python38\lib\site-packages\mapillary\utils\auth.py in wrapper(*args, **kwargs)
     58
     59             # Return function called with arguments
---> 60             return f(*args, **kwargs)
     61
     62         # Return wrapper

C:\Python38\lib\site-packages\mapillary\interface.py in get_detections_with_image_id(image_id, fields)
    226     """
    227
--> 228     return detection.get_image_detections_controller(
    229         image_id=image_id,
    230         fields=fields,

C:\Python38\lib\site-packages\mapillary\controller\detection.py in get_image_detections_controller(image_id, fields)
     52     # Return results from the Adapter
     53     return GeoJSON(
---> 54         geojson=EntityAdapter().fetch_detections(
     55             identity=image_id,
     56             id_type=True,

C:\Python38\lib\site-packages\mapillary\models\api\entities.py in fetch_detections(self, identity, id_type, fields)
    170
    171             # Store the URL as ...
--> 172             url = Entities.get_detection_with_image_id(
    173                 # .. extracted by setting image_id as id ...
    174                 image_id=str(identity),

C:\Python38\lib\site-packages\mapillary\config\api\entities.py in get_detection_with_image_id(image_id, fields)
    196         """
    197
--> 198         fields = Entities.__field_validity(
    199             given_fields=fields,
    200             actual_fields=Entities.get_detection_with_image_id_fields(),

C:\Python38\lib\site-packages\mapillary\config\api\entities.py in __field_validity(given_fields, actual_fields, endpoint)
    342
    343         # Converting the given_fields into lowercase
--> 344         given_fields = [field.lower() for field in given_fields]
    345
    346         # Enforce the existence of 'geometry' in the given_fields

TypeError: 'NoneType' object is not iterable

Additional context
If I add fields="captured_at", it gets a 200 but then tries to parse the text and finds "c". If I add fields=["captured_at"] if gets a 200 , but then says the dictionary changed size and fails.

Thanks for the issue! There is probably a problem with a default value somewhere, or the dict not being read correctly as the data type and thus resulting in a NoneType. I'll look at this sometime this week.

@Rubix982 did you get a chance to investigate this one?

I assumed that None is the same as [] - I'm not sure why. Replacing the default arguments with [] instead of None works. I am not sure why this broke just now and not previously in August's release.
Also, a minor issue with format.py where a loop was deleting the same array it was traversing.


Adrian/travis to gha

Added condition to upstream to Standards only when branch is pushed to master
Renamed coverage file based on current commit to upload non-unique coverage reports per run

Codecov Report

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

:exclamation: Current head 03f5151 differs from pull request most recent head 36e2877. Consider uploading reports for the commit 36e2877 to get more accurate results

@@            Coverage Diff            @@
##             master       #5   +/-   ##
=========================================
  Coverage          ?   60.00%
=========================================
  Files             ?        1
  Lines             ?        5
  Branches          ?        0
=========================================
  Hits              ?        3
  Misses            ?        2
  Partials          ?        0


Fix Undefined Method cache on rails <IP_ADDRESS> / <IP_ADDRESS>

This should fix #1532

The related change on Rails 4.1 (https://github.com/rails/rails/commit/be543e8e18246d5c2faa336eb3c0a03b797f3517) and 4.2 (https://github.com/rails/rails/commit/0c5c32aa7cea5ee1ea60bd1f87dfa5c7e7146a54).
This change does indeed seem to make my spec suite run again.

:+1: Although perhaps we want to be calling original_path_set.find_all_anywhere instead

I think the 1.8.7 failures are down to the rails 3-2 branch having broken 1.8.7 support. Not sure about the nokogiri install failures

As far as I can see, find_all_anywhere isn't a method on PathSet - only on Resolver

Hi @fcheung can you also provide a spec for this? Let me know if you need some help with that.

Also affecting my application's test suite after upgraded to Rails <IP_ADDRESS>. Let me know if you need any help.

@samphippen I couldn't find any specs that cover the existing code, but the cucumber features seem to. I wrote
  Scenario: View specs can explicitly render files
    Given a file named "spec/views/widgets/widget.html.erb_spec.rb" with:
      """ruby
      require "rails_helper"

      RSpec.describe "rendering the widget template" do
        it "displays the widget" do
          assign(:widget, Widget.create!(:name => "slicer"))

          render :file => File.expand_path "widgets/widget.html.erb"

          expect(rendered).to match /slicer/
        end
      end
      """
    And a file named "app/views/widgets/widget.html.erb" with:
      """

<%= @widget.name %>

      """
    When I run `rspec spec/views`
    Then the examples should all pass

But I can't get the existing testsuite to run, even before I make my changes:
export RAILS_VERSION=4.1-stable
bundle install --standalone --binstubs
./script/run_build

explodes with
/Users/fred/rspec-rails/bundle/ruby/2.3.0/bundler/gems/rails-7921ff8c21d1/activesupport/lib/active_support/test_case.rb:1:in <top (required)>': undefined method gem' for main:Object (NoMethodError)
from /Users/fred/rspec-rails/bundle/ruby/2.3.0/bundler/gems/rails-7921ff8c21d1/activesupport/lib/active_support/dependencies.rb:247:in require' 	from /Users/fred/rspec-rails/bundle/ruby/2.3.0/bundler/gems/rails-7921ff8c21d1/activesupport/lib/active_support/dependencies.rb:247:in block in require'
from /Users/fred/rspec-rails/bundle/ruby/2.3.0/bundler/gems/rails-7921ff8c21d1/activesupport/lib/active_support/dependencies.rb:232:in load_dependency' 	from /Users/fred/rspec-rails/bundle/ruby/2.3.0/bundler/gems/rails-7921ff8c21d1/activesupport/lib/active_support/dependencies.rb:247:in require'
from /Users/fred/rspec-rails/bundle/ruby/2.3.0/bundler/gems/rails-7921ff8c21d1/actionpack/lib/action_controller/test_case.rb:428:in `module:ActionController'

(ruby 2.3.0 on OS X)

Could it be a Ruby manager issue (rvm/rbenv/chruby)? It looks like the rubygems library is not loaded.

Found this: https://github.com/rspec/rspec-rails/blob/9eee11a84c6740bd7551c3ad5d8057512d91ea92/script/functions.sh#L14-L18

I think the 1.8.7 failures are down to the rails 3-2 branch having broken 1.8.7 support.

Yeah, it's now fixed in 3-2-stable branch though not yet released.
https://github.com/rails/rails/pull/23250

example feature is nonsense but I have at least got existing features running

@samphippen is the feature I added any good? Fails appropriately when I revert the change to view_rendering.rb

@fcheung it's helpful! I'm not going to be able to give this my full attention until this afternoon, but @pixeltrix and I are going to push out a fix.

Closing in favour of #1535


url_launcher cannot open the app on iOS through alipays://

Steps to reproduce
1.LSApplicationQueriesSchemes

alipays

2.Compile using xcode16
Expected results
Open Alipay normally
Actual results
There is no response or error message
Code sample
if(await canLaunchUrlString('alipays://platformapi/startapp?appId=20000067&url=https://qr.alipay.com/bax001378ilyo1ekwhns0026')){
await launchUrlString('alipays://platformapi/startapp?appId=20000067&url=https://qr.alipay.com/bax001378ilyo1ekwhns0026');
}else{
EasyLoading.showError('fail');
}
Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.13.9, on macOS 15.0 24A335 darwin-arm64, locale zh-Hans-CN)
    • Flutter version 3.13.9 on channel stable at /Users/crush/sdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d211f42860 (12 months ago), 2023-10-25 13:42:25 -0700
    • Engine revision 0545f8705d
    • Dart version 3.1.5
    • DevTools version 2.25.0
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[!] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at /Users/crush/Library/Android/sdk
    • Platform android-34, build-tools 33.0.2
    • ANDROID_HOME = /Users/crush/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 16A242d
    • CocoaPods version 1.15.2

[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

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

[✓] IntelliJ IDEA Ultimate Edition (version 2022.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 77.1.1
    • Dart plugin version 223.8888

[✓] Connected device (2 available)
    • 14 Pro Max (mobile) • 00008120-001075413470201E • ios          • iOS 18.0 22A3354
    • macOS (desktop)        • macos                     • darwin-arm64 • macOS 15.0 24A335 darwin-arm64

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

Hi there @Clushdada ,
Looking at your issue, I tried opening your provided URL on my browser,
"https://render.alipay.com/p/yuyan/180020040001212700/?cid=wap_dc"
the link open's just fine on my browser(chrome)
try using the code below instead
 if (await canLaunchUrl(Uri.parse(                       "https://render.alipay.com/p/yuyan/180020040001212700/?cid=wap_dc"))) {                     launchUrl(                       Uri.parse(                           "https://render.alipay.com/p/yuyan/180020040001212700/?cid=wap_dc"),                     );                   }
also, make sure that your button or gesture recognizer is working too,
you can debug to see if your gesture recognizer works with normal print statments too...
You can try this and let me know.

Hi there @Clushdada ,
Looking at your issue, I tried opening your provided URL on my browser, "https://render.alipay.com/p/yuyan/180020040001212700/?cid=wap_dc"
the link open's just fine on my browser(chrome)
try using the code below instead
if (await canLaunchUrl(Uri.parse( "https://render.alipay.com/p/yuyan/180020040001212700/?cid=wap_dc"))) { launchUrl( Uri.parse( "https://render.alipay.com/p/yuyan/180020040001212700/?cid=wap_dc"), ); }
also, make sure that your button or gesture recognizer is working too, you can debug to see if your gesture recognizer works with normal print statments too...
You can try this and let me know.

What I mean is that the app cannot be opened through alipay://. Normally, the app should be opened through Scheme, but now it cannot be opened without any errors or prompts

This situation occurred after I upgraded to XCode

@onhyeon618

This situation occurred after I upgraded to XCode

What current xcode version are you using ?
also, what macOs version are you on ?

This situation occurred after I upgraded to XCode

What current xcode version are you using ? also, what macOs version are you on ?

macOS 15.0
xcode16

@onhyeon618

Hello, why am I tagged here?

I have restored it after upgrading url_ launcher _ios

I have restored it after upgrading url_ launcher _ios

that's cool, happy coding


setting Z offset doesn't properly work

the positions of the leds is correct, but when you set z offset using "sad.xxxx", then they all have constant z position. It needs to be z_new_pos = (z_input-z_old) + z_pos.

Fixed in latest commit. Thanks for reporting the issue here!


SUGGESTION: resolve urls

Library Affected:
workbox-webpack-plugin
Browser & Platform:
nodeJS 12
webpack v4.33.0
workbox-webpack-plugin v4.3.1
"all browsers"
Issue or Feature Request Description:
I use nodeJs and expressJS and webpack is configured with an output directory that builds scripts in public/build/. public is the expressJS static directory.
In order for the scope of the service worker to work at the root of my ExpressJS project, I need to generate sw.js into public and I have therefore configured workbox-webpack-plugin in webpack.config.js as follows:
{
  ...
  swDest: '../sw.js',
  ...
}

In the precache manifest that is automatically generated, the URL is concatenated, not resolved:
self.__precacheManifest = (self.__precacheManifest || []).concat([
  {
    "revision": "ee12cafec03eeff3b96a754e343c26d2",
    "url": "https://localhost:3000/build/../sw.js"
  },
  ...
]);

I would have expected a resolved URL as in:
self.__precacheManifest = (self.__precacheManifest || []).concat([
  {
    "revision": "ee12cafec03eeff3b96a754e343c26d2",
    "url": "https://localhost:3000/sw.js"
  },
  ...
]);

Please try the workbox-webpack-plugin@next alpha release.
There is: a) no more external manifest and b) more control over manipulating manifest entries if you need it.


Multi-threaded mode?

import torch, gc
from transformers import AutoTokenizer, OPTForCausalLM

tokenizer = AutoTokenizer.from_pretrained("galactica-30b")
tokenizer.pad_token_id = 1
tokenizer.padding_side = 'left'
tokenizer.model_max_length = 2020

model = OPTForCausalLM.from_pretrained("galactica-30b")

input_text = """# Scientific article.
title: Purpose of Humanity's continued existence alive.

# Introduction
"""
input_ids = tokenizer(input_text, return_tensors="pt", padding='max_length').input_ids

outputs = model.generate(input_ids,
                         max_new_tokens=1000,
                         do_sample=True,
                         temperature=0.7,
                         top_k=25,
                         top_p=0.9,
                         no_repeat_ngram_size=10,
                         early_stopping=True)

print(tokenizer.decode(outputs[0]).lstrip('<pad>'))

gc.collect()
torch.empty_cache()

When I run this, I can see it loads the model into ram; it seems only to be using one thread. The output is: a wall of various 'decoder.layers.xx.bias' and "You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference."

Ok, I was able to get it to work properly with the 6.7b model I don't think I need the torch.empty_cache()

What I got out of it:


Add local TI models

Niayifar and Porte-Agel local TI has been added, along with an option for using no local ti. Still need to add the gaussian local TI model.

reassigned to PJ to do the Gaussian TI model

Just looking through issues that I can help resolve. It looks like there is a gaussian TI model. Is there more to resolve with this issue?


Clearly Mention RUs distribution/cost across containers in case of AutoScale setting

[In section "set-throughput-on-a-database' , its should be mentioned that how RUs distributed across containers in case of Autoscale
User should be given a example something like below

]

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

ID: 0f2b93a5-28b8-db4a-ab64-6342d3aafc63
Version Independent ID: 245586f2-63e1-1e78-a5dd-21e8fa2cc5d3
Content: Provision throughput on Azure Cosmos containers and databases
Content Source: articles/cosmos-db/set-throughput.md
Service: cosmos-db
GitHub Login: @markjbrown
Microsoft Alias: mjbrown

Thank you for reaching out. At this time we are reviewing the ask and will provide an update as appropriate

@airwings17 This Document  provides a good example with a formula. kindly check and let us know if you still looking for anything which needs to be updated.

@airwings17 Please check my above comments and let us know if you have any additional questions

#please-close


Home page shows broken image icons

Hello,
I activated your theme and the images from the tags are showing as the broken icon. In the tag area the images show just fine. The dimensions of my images are similar to the original casper theme images which loaded fine before I deleted them.
Please advise and thank you.

Hey @andrewdefries,
Could you provide a live URL to your site?

Hey @andrewdefries,
Could you provide a live URL to your site?

Hello,
Thanks for your reply and re-direction to the forum. I appreciate your
response. Got everything working after reading your suggestions.
The URL is here:
http://<IP_ADDRESS>/
On Thu, Jan 7, 2021 at 8:42 PM Sodbileg Gansukh<EMAIL_ADDRESS>wrote:

Hey @andrewdefries https://github.com/andrewdefries,
Could you provide a live URL to your site?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/TryGhost/Edge/issues/8#issuecomment-756493626, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AA67S7WWM7ZKRMHT6AQMVGTSYZPJBANCNFSM4VX6KXZQ
.

Hello,
Thanks for your reply and re-direction to the forum. I appreciate your
response. Got everything working after reading your suggestions.
The URL is here:
http://<IP_ADDRESS>/
On Thu, Jan 7, 2021 at 8:42 PM Sodbileg Gansukh<EMAIL_ADDRESS>wrote:

Hey @andrewdefries https://github.com/andrewdefries,
Could you provide a live URL to your site?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/TryGhost/Edge/issues/8#issuecomment-756493626, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AA67S7WWM7ZKRMHT6AQMVGTSYZPJBANCNFSM4VX6KXZQ
.

Thanks for getting back with your solution.

Thanks for getting back with your solution.


Prepare rancher-gatekeeper chart for 2.7.0

rancher-gatekeeperchart needs to be updated for 2.7 by

File a PR removing the doNotRelease flag form the package.yaml; in this PR, you will also want to make any changes that need to be made to update the chart to the version you intend to release in 2.7. For example, for a charts like rancher-aks-operator / rancher-gke-operator / rancher-eks-operator, you will need to create a new branch in upstream for Rancher 2.7, cut the first release for that chart, and introduce those changes in to the package.yaml as well before removing the doNotRelease flag

To make your chart available for 2.7, almost every chart will also have to modify the Rancher Version annotations that scope it to 2.6, i.e. https://github.com/rancher/charts/blob/2e058e93ee01f2980e4750148842dd7f04262b38/charts/fleet-agent/100.0.5%2Bup0.3.11/Chart.yaml#L8

Once the PR is merged, ensure that the brand new chart is smoke tested by QA/dev

Validated the OPA gatekeeper functionality on rancher v2.7-head.

Gatekeeper works as expected, hence closing the issue.


ProcessImports. When to use it?

Hello,
I have the following:
Bundle.Css()
  .Add("~/assets/main.less")
  .WithMinifier<MsCompressor>()
<EMAIL_ADDRESS>"~/assets/main.min.css");

Main has 2 imports and they are rendered fine.
So what does ProcessImports does? When do I needed it?
Thank You,
Miguel

I believe that since you are using Dotless, it is processing the imports for you. If you weren't using Dotless, you would need to tell it to do this.


Unable to use repo with Red Hat Satellite: Katello::Errors::Pulp3Error: Treeinfo file should have INI format

Hi, in our environment our servers install packages from our internal Red Hat Satellite server.
Normally we have no issue mimicking the configuration of the repository as represented in a repo-definition in Satellite (version 6.13.1).
With the routinator repo however for RedHat 9, we run into the problem that Satellite will not synchronize the repository. The error we get is:
Katello::Errors::Pulp3Error: Treeinfo file should have INI format

After looking into it a little, it turns out that yum repository's may contain a file named '.treeinfo', and expects a 404 response if a repository does not contain one. When I send a GET request to https://packages.nlnetlabs.nl/linux/centos/9/main/x86_64/.treeinfo for example I receive a 200 OK response of:

<meta http-equiv="Refresh" content="0; url='https://nlnetlabs.nl/packages'" />
<title>packages.nlnetlabs.nl - NLnet Labs software package repository</title>

Redirecting...

The pulp error is I think from trying to parse that response as an INI file.
Would it be possible to respond with a 404 to any /.treeinfo or /treeinfo GET requests to avoid this issue?
Kind regards,
George Salisbury

Hi!
We’re looking into whether we can make this work with S3.


Fixing deprecation warnings regarding bare variables and apt

This fixes a few deprecation warnings regarding bare variables like:
[DEPRECATION WARNING]: Using bare variables is deprecated.
Update your playbooks so that the environment value uses the full
variable syntax ('{{keyfiles.stdout_lines}}'). This feature will be
removed in a future release. Deprecation warnings can be disabled
by setting deprecation_warnings=False in ansible.cfg.

On debian based systems python-apt will be installed using the apt module instead of the command module to fix a warning regarding apt.

Thanks again @TeutoNet :+1:


Add a useField hook to be used in custom components

As of now, when adding custom components to the form, there is no easy way to customize them based on the form state. We have the renderField prop but that leads to verbose code to keep the layout for different field types intact.
Part of this is adding a context to allow RHF's useFormContext to be used (see #37). This doesn't include the individual field states though (defined in https://github.com/SeasonedSoftware/remix-forms/blob/main/packages/remix-forms/src/createForm.tsx#L47-L62).
A relatively simple solution would be to add something like a FieldContextProvider around each field, where the props of the Field type are passed through. This way, custom components (input, but also label etc) could easily implement things like error and required indicators, like such:
const MyInput = (props) => {
  const { errors } = useField();
  return <input {...props} className={errors ? 'border-red-600' : 'border-gray-200'} />;
}

const MyLabel = ({ children, ...props }) => {
  const { required } = useField();
  return <label {...props}>{children}{required ? ' *' : ''}</label>;
}

Basically this will allow the customization that the render props have currently, but take it a step further and make it easier to have customizations applied by default.

Now that I'm in the flow, I wouldn't mind going for a PR to implement this one as well, if that's ok?

Go for it, @bvangraafeiland 💪🏼
My only suggestion is that we call the provider FieldProvider instead of FieldContextProvider, to be consistent with FormProvider. What do you think?

Sure thing!

Actually ended up not exposing the context provider at all, so there was no need for an intermediate component. The context provider is applied directly on the field component now.

1.4.0 released it 🎉
Thank you, @bvangraafeiland, for the great contribution!


Add BricBrac

Pull Request Description
Add BricBrac
Acceptance Criteria
To be accepted into the Swift source compatibility test suite, a project must:

[x] be an Xcode or swift package manager project
[x] support building on either Linux or macOS
[x] target Linux, macOS, or iOS/tvOS/watchOS device
[x] be contained in a publicly accessible git repository
[ ] maintain a project branch that builds against Swift 4.0 and passes any unit tests (we build against 5.3)
[x] have maintainers who will commit to resolve issues in a timely manner
[x] be compatible with the latest GM/Beta versions of Xcode and swiftpm
[x] add value not already included in the suite
[x] be licensed with one of the following permissive licenses:

BSD
MIT
Apache License, version 2.0
Eclipse Public License
Mozilla Public License (MPL) 1.1
MPL 2.0
CDDL

[x] pass ./project_precommit_check script run

Ensure project meets all listed requirements before submitting a pull request.
marc@bix swift-source-compat-suite % ./project_precommit_check BricBrac --earliest-compatible-swift-version 5.3
** CHECK **
--- Validating BricBrac Swift version 5.3 compatibility ---
--- Project configured to be compatible with Swift 5.3 ---
--- Checking BricBrac platform compatibility with Darwin ---
--- Platform compatibility check succeeded ---
--- Locating swiftc executable ---
$ xcrun -f swiftc
--- Checking installed Swift version ---
$ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
--- Version check failed ---
Expected version:
Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1<IP_ADDRESS>)
Target: x86_64-apple-darwin20.3.0

Current version:
Apple Swift version 5.4 (swiftlang-1<IP_ADDRESS> clang-1<IP_ADDRESS>)
Target: x86_64-apple-darwin20.4.0

warning: Unexpected swiftc version. Expected swiftc for Swift 5.3 can be found in Xcode 12.4 (contains Swift 5.3.2).
warning: Continuing to build with unexpected swiftc version.

--- Executing build actions ---
$ /opt/src/github/swift-source-compat-suite/runner.py --swift-branch swift-5.3-branch --swiftc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --projects /opt/src/github/swift-source-compat-suite/projects.json --include-repos 'path == "BricBrac"' --include-versions 'version == "5.3"' --include-actions 'action.startswith("Build")'
PASS: BricBrac, 5.3, 92447f, Swift Package
========================================
Action Summary:
     Passed: 1
     Failed: 0
    XFailed: 0
    UPassed: 0
      Total: 1
========================================
Repository Summary:
      Total: 1
========================================
Result: PASS
========================================
--- BricBrac checked successfully against Swift 5.3 ---

@swift-ci test

@swift-ci test

@swift-ci test

@swift-ci test


[PPP-4391] Remove c3p0 dependency; was never really used except as a …

…(#9534)
connection pool for hibernate, and tomcat handles that.

 Note:

Frogbot also supports Contextual Analysis, Secret Detection, IaC and SAST Vulnerabilities Scanning. This features are included as part of the JFrog Advanced Security package, which isn't enabled on your system.

🐸 JFrog Frogbot


The word 'or' is missing

Hello,
the word 'or' is missing from here: "If your organization is using a free version of Microsoft Teams, you can easily upgrade to the Teams Essentials version by purchasing a plan for your users directly in Teams from Find the right Microsoft Teams for your needs."
It should read: "If your organization is using a free version of Microsoft Teams, you can easily upgrade to the Teams Essentials version by purchasing a plan for your users directly in Teams or from Find the right Microsoft Teams for your needs."
Kind regards,
Anne H., QC

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

ID: bd6aab8c-b426-9fdd-9dc9-075c6a9770fa
Version Independent ID: bd6aab8c-b426-9fdd-9dc9-075c6a9770fa
Content: Microsoft Teams Essentials QuickStart guide for small businesses - Microsoft Teams
Content Source: Teams/get-started-with-teams-essentials.md
Service: msteams
GitHub Login: @MicrosoftHeidi
Microsoft Alias: heidip

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!


Implement Automated Testing for Terraform Modules

what

provision a codefresh-terraform user with https://github.com/cloudposse/terraform-aws-iam-system-user

why

Codefresh is external to AWS, so we cannot use instance profiles
We need the credentials so that codefresh can run the CI/CD

we'll create a module terraform-aws-iam-codefresh-user to provision a user with the required permissions, will output the key Id and secret key.
similar to https://github.com/cloudposse/terraform-aws-iam-chamber-user

Done, and superseded. Testing moved to GitHub actions with test-harness


Fast data causes performance issues and apparent lock-up

Sending data faster than a certain rate (and maybe when combined with more than a certain number of received lines) causes v0.2.0 to slow down to a crawl.
On my computer, this code started causing the behavior around loop 250 and get's really bad around loop 350.  It appears to be a cumulative effect on display refresh rate and CPU usage.  The app appears to lock up, but it's actually very busy- you can power off or hold the reset button down on the BASIC Stamp board and eventually the app will return to life.
'{$STAMP BS2}
'{$PBASIC 2.5}

Idx VAR WORD

Delay CON 10

Idx = 0

DO
  Idx = Idx + 1
  DEBUG "Loop ", DEC Idx, CR
  HIGH 0
  DEBUG "On",CR
  PAUSE Delay
  LOW 0
  DEBUG "Off",CR
  PAUSE Delay
LOOP

Here's a video demonstrating this problem.  https://drive.google.com/a/parallax.com/file/d/0B0tev9Y3WaL4SEFmSlRYNEg2Njg/view?usp=sharing

Here's another video that demonstrates Debug Throughput at 38.4 kBaud.

We just landed another change that reduces the performance penalty when running a very-fast debug output loop (<10ms).
The change rate-limits the expensive HTML update portion of console output. Currently, if data events arrive at a very high speed, the console will attempt to display each update as it comes in. With this change, we will throttle events if they occur too quickly, but ensure that a refresh will still occur within the throttle window (64ms).
This was specifically designed to avoid losing events during the throttle, if two debug statements appear within a few milliseconds of each other it will still show the second after the throttle window even if no other debug messages occur. The throttle window was set to 64ms in order to work best on low-powered chromebook devices, but can be set a bit lower if a faster update rate is needed. CPU usage also dropped considerably on laptops/desktops.


Issue with Banners and Grids

I was trying to create an App with a TabBarView, and a fixed banner at the bottom.
The TabBarViews are made of a StaggeredGridView.countBuilder widget, with a banner inside it.
Whenever both ads are loaded and displayed, it happens that if ii try to scroll left (from the first page) or right (last page), on the AppBar it seems it appears a new layer that is whide as the "dragging indicator", but light grey.
I thought it was a StaggeredGridView bug, but it appears also with GridView.builder, os it is either a Flutter bug or something with google_mobile_ads.
Here's two gists with a sample, based on the example included on google_mobile_ads

StaggeredGridView.countBuilder: https://gist.github.com/EngFoggy/1282a52a5856e5855606d9265d980a66
GridView.builder: https://gist.github.com/EngFoggy/e66a2e5b163285621c89b25e40d1a0c0

Plugin Version
google_mobile_ads: 0.13.3
Steps to Reproduce

Create the widget tree:
-- Scaffold
--- Column
---- Expanded
----- TabBarView (at least 2 pages)
------ StaggeredGridView.builder/GridView.builder
------- some widgets (optional)
------- AdWidget
------- some widgets (optional)
----- AdWidget

wait until both ads are loaded and displayed

scroll to the right in the last page or to the left in the first one

Expected results:
Whenever you are at the left or right-most page and keep scrolling, you just see the semi opaque element indicating you're dragging on the body of the TabBarView page
Actual results:
The "draggy" indicator is correctly shown, but the AppBar is partially covered by something light grey.
If the AdWidget inside the grid is completely visibile, the AppBar is just partially covered (the width of the "cover" is the same as the one of the drag indicator).

If the AdWidget is only partially visible, the AppBar gets completely covered in light grey.

My flutter doctor -v
[√] Flutter (Channel master, 2.5.0-7.0.pre.133, on Microsoft Windows [Versione 10.0.19041.1165], locale it-IT)
    • Flutter version 2.5.0-7.0.pre.133 at c:\Dev\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 97f8ed5ddb (5 days ago), 2021-08-18 05:12:02 -0400
    • Engine revision dc5813ac2a
    • Dart version 2.15.0 (build 2.15.0-25.0.dev)

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Users\there\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

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

[X] Visual Studio - develop for Windows
    X Visual Studio not installed; this is necessary for Windows development.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[√] Android Studio (version 4.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code (version 1.59.1)
    • VS Code at C:\Users\there\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.25.0

[√] Connected device (4 available)
    • sdk gphone x86 arm (mobile) • emulator-5554 • android-x86    • Android 10 (API 29) (emulator)
    • Windows (desktop)           • windows       • windows-x64    • Microsoft Windows [Versione 10.0.19041.1165]
    • Chrome (web)                • chrome        • web-javascript • Google Chrome 92.0.4515.159
    • Edge (web)                  • edge          • web-javascript • Microsoft Edge 92.0.902.73

! Doctor found issues in 1 category.

Hi @EngFoggy
Both of your examples still use flutter_staggered_grid_view so could you try to isolate and make sure it isn't causing the issue here? I would suspect that the layout plugin is more likely to cause this than just loading ads but if you can provide an example that doesn't use any other third-party plugins this would make sense.
Thank you

Hi @markusaksli-nc , gist tagged GridView actually contained both versions: TestContent() to test with flutter_staggered_grid_view, and TestContentBis() to test with GridView, sorry if it lead to confusion.
I modified the gist https://gist.github.com/EngFoggy/e66a2e5b163285621c89b25e40d1a0c0 removing all references to flutter_staggered_grid_view, and leaving only the GridView.
Thanks for the support!

Thanks, this does seem strange. Since removing the ad from the grid clears the issue I'm going to assume it is causing the issue. I was able to reproduce the behavior with google_mobile_ads: ^0.13.3

flutter doctor -v
[√] Flutter (Channel master, 2.5.0-7.0.pre.228, on Microsoft Windows [Version 10.0.19043.1165], locale en-GB)
    • Flutter version 2.5.0-7.0.pre.228 at C:\Development\flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ac05e7e3fe (8 hours ago), 2021-08-25 00:41:06 -0400
    • Engine revision a9efb963de
    • Dart version 2.15.0 (build 2.15.0-43.0.dev)

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

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

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

[√] IntelliJ IDEA Ultimate Edition (version 2021.2)
    • IntelliJ at C:\Users\marku\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\212.5080.55
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart

[√] Connected device (4 available)
    • SM G950F (mobile)       • ce12171c51cc001c03 • android-arm64  • Android 9 (API 28)
    • sdk gphone x86 (mobile) • emulator-5554      • android-x86    • Android 11 (API 30) (emulator)
    • Chrome (web)            • chrome             • web-javascript • Google Chrome 92.0.4515.131
    • Edge (web)              • edge               • web-javascript • Microsoft Edge 92.0.902.78

• No issues found!

We’re closing this issue due to inactivity. If you’re still impacted, please create a new issue via the Developer Forum.


HTMLAnchorElement loses rel attribute after casting to string

Hi there!
Thank you for such a wonderful package!
Here is the problem:
let window = parseHTML(`
<!DOCTYPE html>

  Google

`)

let linkNode = window.document.querySelector(`a`)

linkNode.target = `_blank`

linkNode.rel = `noreferrer noopener` // losses `rel` attribute after casting to string

console.log(window.document.toString())
//
//    Google
//

linkNode.setAttribute(`rel`, `noreferrer noopener`) // works as expected

console.log(window.document.toString())
//
//    Google
//

HTMLAnchorElement[rel] is not the read-only attribute according to the documentation, so I think it should behave the same as setAttribute('rel', // ...)

Yup, nothing in here indeed: https://github.com/WebReflection/linkedom/blob/main/esm/html/anchor-element.js ... mind a PR?

Hey @WebReflection ! Thank you for the answer!
I will take a look today a bit later 🙏

I should probably have a script that vomits out per each class accessors so that it's easy to have a list and compare/fix all nodes with special treatment ... until then though ... this is a copy & paste of target or type, it should be an easy PR

I should probably have a script that vomits out per each class accessors so that it's easy to have a list and compare/fix all nodes with special treatment ... until then though ... this is a copy & paste of target or type, it should be an easy PR

Sure! I've been busy with other projects, but I've just created a PR 🙂


Make the Superprompt bar light up when it is "in focus", darken when it is not

@seanoliver an easy one to ease you back in

Oh nice idea! I'll check it out shortly!

@swyxio Hmm it looks like the build-keys.json and AuthKey_QRJN4Y5JG6.p8 added in https://github.com/smol-ai/menubar/commit/0d1b1bdea20e6256200ca8ad514b8a5be1ff1b0a are required for me to build the app locally now.
Do you know of a way to spoof this for development reasons and/or maybe you can securely share them w/ me offline?

ive removed the need :)

somewhat addressed  in #83


⚠ Bofrost.be has degraded performance

In 5dfb5de, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1273 ms

Resolved: Bofrost.be performance has improved in d465139.


Op 278 - Add sylius 1.13 support

Apply changes from community pull request
Fixed a .gitignore file
Added builds for nods 18.x
Restore google chrome driver in behat tests

@marekrzytki @SzymonKostrubiec thank you for not mentioning me in the Release note, like I already mentioned: you are not engaging comunity by replacing the original PR creator.


FAILURE: Build Failed with an Exception

Happens even if I have installed Gradle, OpenJDK, and even if I created a configuration file manually.

It fails to run also, even if I have Gradle installed:
./ghidraRun
Cannot lauch from a repo because Ghidra has not been compiled with Eclipse or Gradle

Delete your ghidra.repos.config file and run gradle -I gradle/support/fetchDependencies.gradle init.
If you exactly follow the build steps in the README.md file, you should have no problems.

Ok, I had to jump through a fair amount of hoops, but I eventually installed Ghidra just fine.

I'm curious what the hoops were.  Were you in an offline environment?

No, I was online.
I do need help identifying where known values are in a file.
I.e., I am trying to use Ghidra to find said known value.
In my case $21,766 or just 21766.
This value is stored in a PS3 save file.
The PS3 save file is PowerPC instruction based.
This is MIPS32 architecture.
But, I digress, so I'll get back on track.
Installing on Windows is different to Linux.
I had to download Gradle, and install it, I then downloaded Adoptium OpenJDK 20 and installed that.
I then set Gradle as an Environment variable as per Ghidras Installation instructions.
I then simply used gradle --init which downloaded and built Ghidras dependencies.
Lastly, for Linux, and this is what I meant when I said I had to jump through a fair few amount of hoops, I git cloned the repository, I cd into its directory (by the way, I just downloaded the latest release on Windows, then opened the directory in a terminal), I then had to manually download the repo of Gradle, Maven and OpenJDK 20 and 17 (for this to properly work with 20 for some reason) then used the command you mentioned.
I simply used gradle buildGhidra but it partially worked.
So I used gradle -prepDev
Yup, we are away now, finally after 3 hours of headache.
Easy, perfect, I used the same command you replied to my initial issue with, and package built, program ready to go, and does the program run though?...... kind of.
It exited telling me to run it in the foreground.....
Ok, here we go, more headache, more enraging irritations of programming.....
So, I opened the Ghidra directory (inside the initially cloned ghidra directory), then cd into RuntimScripts, Linux, then I had to edit the god damn script so its launch parameter was set to run in foreground for it to work, then I had to re-build Ghidra using gradle buildGhidra once I returned to ghidra directory, this failed.
I then used gradle wrapper.......................
It built the updated program for Ghidra to launch in the foreground............
Ok, the end right? No more pulling my hair out? No more pain?
Yeah, this is when your sent command 1 final time and then everything worked.
Ghidra ran for the first time on my system perfectly.

Please excuse the bad grammer.
I am real tired.