Unable to cast object of type 'HierarchyId'

Summary of the issue
I use https://github.com/efcore/EFCore.SqlServer.HierarchyId library that support HierarchyId type.
But I cannot cast value to HierarchyId type when read entity.
Can you support this library?
Setup
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
 optionsBuilder.UseSqlServer(
    connectionString,
    x => x.UseHierarchyId());
}

Environment
.NET (Core) SDK version: 6.0.7
Microsoft.EntityFrameworkCore version: 6.0.7
EFCoreSecondLevelCacheInterceptor version: 3.6.2
Database: SQL Server
Cache provider: in-memory

Output:
Exception message:

An exception occurred while iterating over the results of a query for context type 'ApplicationDbContext'.
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.SqlServer.Types, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=89845dcd8080cc91'. The system cannot find the file specified.
File name: 'Microsoft.SqlServer.Types, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=89845dcd8080cc91'

Also experiencing this.
System.Private.CoreLib: Exception while executing function: GraphQL. System.Private.CoreLib: Unable to cast object of type 'Microsoft.SqlServer.Types.SqlHierarchyId' to type 'Microsoft.Data.SqlClient.Server.IBinarySerialize'.

Is this just a matter of adding it as a binary type like https://github.com/VahidN/EFCoreSecondLevelCacheInterceptor/blob/master/src/EFCoreSecondLevelCacheInterceptor/EFDataReaderLoader.cs#L269 ?
I'm assuming there's no way to currently extend EFDataReaderLoader?

Copied Microsoft.SqlServer.Types from Issue4SpatialType project got passed the first Microsoft.SqlServer.Types error (suspect it will die later due to HierarchyId referencing a different version)

Added the following

private bool isBinary(int ordinal)
    {
        var typeName = _tableRows.GetFieldTypeName(ordinal);

        return string.Equals(typeName, "Microsoft.SqlServer.Types.SqlGeography", StringComparison.Ordinal)
               || string.Equals(typeName, "Microsoft.SqlServer.Types.SqlGeometry", StringComparison.Ordinal)
               || string.Equals(typeName, "Microsoft.SqlServer.Types.SqlHierarchyId", StringComparison.Ordinal)
              ;
    }

Which then leads to:
Unable to cast object of type 'EFCoreSecondLevelCacheInterceptor.EFTableRowsDataReader' to type 'Microsoft.Data.SqlClient.SqlDataReader'
Which seems like much more of an underlying issue that wouldn't be easy to solve, maybe i went down the wrong path.

Is this closed as fixed? I don't see anything in the git history that suggests it was.

It's the same as https://github.com/VahidN/EFCoreSecondLevelCacheInterceptor/issues/4. It can be done.


Set a default _FillValue of NaN for float types

This PR attempts to solve #1163 by systematically including a default _FillValue of NaN whenever the user do not explicitly specify a FillValue. The idea is that third party software should work properly in these situations and if they don't then it is a bug on their side.

I can't see any problems with this.

The only problem I see is that in the current implementation this fix puts a _FillValue attribute even if there are no NaN in the variable. Usually, cdo would not do that. I guess there are little risks but I think it's important that this be said. Alternative implementations would be way too cumbersome so I think the approach used in this PR is the lesser of two evils.

The only problem I see is that in the current implementation this fix puts a _FillValue attribute even if there are no NaN in the variable.

Yes, I'm not very enthusiastic about that either...

I know but the alternative would be to scan the data before deciding but that would kind of break the whole dask integration.

Just to summarize:

Currently, where an array contains missing values, .to_netcdf() records NaNs in the netcdf file but does not record that these NaNs mean missing values. Then third party softwares read these values as NaNs, not missing values. I don't think we can blame them for that. So this seems to me like an xarray problem.
The ideal option would be to add a _FillValue = NaN to float variables ONLY when there are floats in the array. This would conform to netCDF standards and should ensure seamless interaction with third parties.
Currently, it would seem that option 2 would require to monitor ArrayWriter and then modify the _FillValue when a NaNs is encountered. It seems cumbersome and likely to interact poorly with dask. This leaves the option proposed in this PR: use a _FillValue of NaN by default...

Yes, agreed, LGTM.
I'll let @shoyer have the final word though

I agree that we just want to set _FillValue=NaN unilaterally for float arrays. This will make for slightly less tidy netCDF files, but we really don't want to be checking arrays for NaNs when we write them to disk, which would be untenable with dask.

So I've tried with conventions.py and it works. However, allowing a NaN _FillValue for complex floats raises an exception in h5py:  h5py/h5py#805. This means that until this is fixed in h5py we should restrict this default behaviour to real float types.

OK, I'm fine with only doing this for real types. Complex types aren't really even valid in standard netCDF files (h5py uses a custom data type), so I'm not worried about compatibility with other tools.

@shoyer Let me know if you need any more changes.

Thanks!

@laliberte we missed giving your credit for this fix in "What's new". Any interest in putting together another quick PR adding "By Frederic Laliberte"?

Is there a way to override this default behavior and write a netCDF file without including _FillValue in the metadata? For example, if one were adhering to a requested output format that does not include this?

Is there a way to override this default behavior and write a netCDF file without including _FillValue in the metadata? For example, if one were adhering to a requested output format that does not include this?

This is a good question. I don't think so currently.
In principle we could use a entry in the encoding dict to signal this, i.e., {'_FillValue': None}.

@thenaomig - are you only concerned about coordinate variables (I think your gitter post mentioned this)? We may also consider special casing these as well given the CF standard on this issue.

At the moment, I am only concerned with coordinate variables. I suppose it would be less likely to come up otherwise, but someone might want to leave it off for any variable.

It is not desirable for us to have _FillValue = NaN for dimensions and coordinate variables.
In trying to use xarray, _FillValue was carefully kept from these variables and dimensions during the creation of the un-resampled file and then were found to appear during the to_netcdf operation.  This happens in spite of mask_and_scale=False is being used with xr.open_dataset
I would hope that downstream code would have trouble with coordinates that don't make logical sense (time or place being NaN, for instance).  We would prefer NOT to instantiate coordinate variable data with any fill value.  Keeping NaNs out of coordinate variables, dimensions and minima and maxima is part of our QA/QC process to avoid downstream issues.


Haskell syntax highlighting mishandles ' in names

(Original issue 365 created by chrisdone on 2008-09-21T15:25:01+00:00)
For variable names containing “'”, it is highlighted as if the “'” is the start of a character literal, which is not the case.
Code which exhibits the behaviour:
{{{
zot = any (==type') ["foo","bar","mu"] where
type' = "foo"
}}}
This bug causes the rest of the code from the first “type'” onwards to be highlighted in one colour; the colour of character literals.
Demo: http://pygments.org/demo/1039/
A real-world example is line 87 here: http://github.com/chrisdone/lojban-haskell-utilities/tree/master/Language/Lojban/Jbovlaste.hs
The cause is non-obvious to me. The following do not exhibit the above behaviour and work correctly:
{{{
foo = (1==foo') where
foo' = 5
}}}
and
{{{
let foo = [1..5]
foo' = tail fool
in foo'
}}}

(Original issue was assigned to gbrandl)
(Original issue 365 last updated on 2010-12-07T08:07:04.914613+00:00)
(Issue automaticaly closed due to status in Bitbucket: resolved)

(Original comment by thatch on 2008-09-21T16:23:04+00:00)
Looks like this was fixed in [b2f26f55404e].

(Original comment by chrisdone on 2008-09-21T15:31:10+00:00)
I have discovered the following does not exhibit the above undesired behaviour:
{{{
zot = any (==biz') ["foo","bar","mu"] where
type' = "foo"
}}
This leads me to believe the use of a keyword inside a variable name with “'” causes it.

(Original comment by None on 2010-12-07T08:07:04.905726+00:00)
I think this isse was not fixed. I still encounter similar behaviour using this file:
https://github.com/jaspervdj/digestive-functors/blob/master/Text/Digestive/Forms.hs
At the moment, this is still broken using the version at http://pygments.org/demo/


Serialize/Deserialize GuildSettings for persistency

Rationale
We should have persistent-based settings (for example for the default Parrot language for that guild).
These settings need to be persisted and read at the start.
Description
Serialize and deserialize the current GuildSettings struct. Attributes that should be persisted should be settings, others should be guild cache.
This should be done in a more generic way so that any new setting added does not change the persistency code and we don't need to maintain JSON files and know their structures (likely use serde).
Reference

https://crates.io/crates/serde_json
https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=4cfb0ce22e910da4e432cb5a2e6f0aab

@afonsojramos @aquelemiguel adding a triage label. If we all approve the issue, we consider it and remove the triage label. I would want to take this one.

It's easy to imagine when the deserialization will happen, but when would the serialization happen?

That's a great point that I did not think through. I have no idea right now, I will think about it and get back to this.

This was exactly my problem when I was developing #69.
Maybe the merge_json function could be re-added for this to work.
pub fn merge_json(a: &mut Value, b: &Value) {
    match (a, b) {
        (&mut Value::Object(ref mut a), &Value::Object(ref b)) => {
            for (k, v) in b {
                merge_json(a.entry(k.clone()).or_insert(Value::Null), v);
            }
        }
        (a, b) => {
            *a = b.clone();
        }
    }
}

The function helps in merging JSONs, not so much the problem at hand which is WHEN to in fact save/serialize the settings.
It could end up being done in the same way as before when a setting changes. But I will look better into it. We can also just use eventual consistency as these settings are not that critical.

It does because you can use it every time you update the settings, that was my point, which you can observe that it is what is happening in #69.

Again, it is not related. I know how to merge JSONs, and eventually, I would use that function. The problem/issue remains of WHEN to merge and save it (should it be done every time a setting is updated, like we have done in #69 ? Maybe yes, maybe not, all I am saying is that this is the issue at hand).
I meant, routinely saving the settings, periodic handler fashion. This would not guarantee that the latest settings would be saved if parrot crashed, but might work.
Again, I am just spit-balling, I haven't thought much of it yet and I have no time right now.

Hey @joao-conde any updates on this one? :eyes:

Haven't implemented anything, but I think the serialization should be:

done for the struct entirely (read and write whole settings)
done when we change some setting (altering prefix for example)

It is fine. I will do it.
I think there is no alternative to saving whenever a setting changes. I will abstract this into its module and function(s) but the person updating the setting must remember to update the serialized version.
As for serialization/deserialization, it should be pretty simple using serde.
The only problem right now is I think we don't have settings worth serializing. So I will work with the autopause one for now, but this should be removed and sent to the cache in the future.


Make ensure_containers_started opt-out.

Previous opt-in behavior caused problems when we change the naming of our
images. We stopped waiting for containers to fully start, and had a mess of
intermittent problems because of it. The new behavior ensures that if we change
the naming of an opted-out image, we'll see failures immediately and can
correct them.

looks good % rename

Addressed feedback and merged.


Remove incorrect merge with the diffview config.

This fixes the following issue https://github.com/TimUntersberger/neogit/issues/440. @ten3roberts

Now diffview will always work with whatever configuration the user has already configured it with.


Pickup and delivery

Describe the solution you'd like
That we add support for (simultaneous) pickup and delivery VRPs.
Describe alternatives you have considered
None.
Additional context
It might be possible to add a new Parcel class, which has origin, destination, and amount fields. Currently we only support origin = 0, but that could be relaxed.

Came up in #5.

I have a concatenation scheme for this, using the DynamicBitset that I introduced earlier. It should not be too hard to build this in on top of that.

There's a bunch of (large) instances available here: https://github.com/cssartori/pdptw-instances.

For the next release cycle (so, 0.8.0 or so), I would like to try to get some form of mixed backhaul into PyVRP. Right now we only support deliveries from the depots to the clients, and I would like to also add return shipments from the clients to the depots.
João Santos et al. (2023) provide an overview of many VRPs with pickup and delivery, including various forms of backhaul.

For the next release cycle (so, 0.8.0 or so), I would like to try to get some form of mixed backhaul into PyVRP. Right now we only support deliveries from the depots to the clients, and I would like to also add return shipments from the clients to the depots.
João Santos et al. (2023) provide an overview of many VRPs with pickup and delivery, including various forms of backhaul.

I'm splitting this off to a separate issue, so we can track it for v0.8.0.

Mentioned in #486. Is there a lot of demand for this, or is it mostly of interest academically?

One-to-one pickup and delivery also gets us clustered VRP (see #470 for some details)

Thanks for the great work!
Would love the see this feature implemented.
OR-Tools has an implementation here but unfortunately it can't solve the problem once we have >10 locations and time-window constraints.


Change AxisSettings livezone default

Objective
While using joysticks for player aiming, I noticed that there was as 0.05 value snap on the axis. After searching through Bevy's code, I saw it was the default livezone being at 0.95. This causes any value higher to snap to 1.0. I think 1.0 and -1.0 would be a better default, as it gives all values to the joystick arc.
This default livezone stumped me for a bit as I thought either something was broken or I was doing something wrong.
Solution
Change the livezone defaults to  livezone_upperbound: 1.0 and livezone_lowerbound: -1.0.

Migration Guide
If the default 0.05 was relied on, the default or gamepad AxisSettings on the resource GamepadSettings will have to be changed.

I think rather than changing the individual test cases, we should make the tests use the old settings so that the "live zone rounding" actually gets tested.


Dynamic Coloring Cover setting picks very dull colors

Is your feature request related to a problem? Please describe.
The Cover setting for Dynamic Coloring doesn't pick very vibrant colors, sometimes picking very dull or dark colors that can blend in with dark backgrounds. Plus, it's generally frustrating when an album that is mostly red, for example, has bars that are just colored black/brown/gray.
Describe the solution you'd like
At least some sort of option to customize what colors Cover mode would pick for dynamic coloring.
Additional context
Some examples below:

This can be improved by changing line 22 in MeasureStyling.inc from Color=Background1 to Color=Foreground1
Or any of these:

Background1
Foreground1
Background2
Foreground2
Light1
Light2
Light3
Light4
Dark1
Dark2
Dark3
Dark4
Average
Luminance


:zap: update: add size badges

@pagalprogrammer LGTM 👍 . I'm merging it. Keep an eye for more issues.


[C#] Refactor samples to have handler implementation in same location as its registration.

Discussion: https://github.com/microsoft/teams-ai/pull/790#discussion_r1387091675


fix(guides): change incorrect 'beginner friendly' link

Oops, this was a bad copy/paste.

Good point.  Done 👍


Re-trying behaviour

Hello, thank you for your excellent open source work!
I noticed in the video that the robot keeps re-tryinng as it climbs. I would be grateful if you could tell me how you achieved this behaviour?
I'm now trying to train the Go2 robot using your repository. If the robot fails to climb the first time, it just stands in front of the obstacle and does not try again.

Hi,
As for the retrying behavior as it climbs, it emerges automatically, we did not add any specific tunning to this task. The key point is to let the robot see if following the velocity command produces a higher return than simply staying and keeping alive.
For a more detailed explanation of the danger-avoiding action, you may refer to (this paper)[https://sites.google.com/leggedrobotics.com/risk-aware-locomotion]

Thank you!


Unable to locate com.hashnot.u.async.executor.Executor2 class

The services portion of the Etsy SDK is making use of the com.hashnot.u.async.executor.Executor2 that is not included ad part of the maven dependencies.
Where can I locate this class?

Hi,
check here: https://github.com/rafalkrupinski/micro
I don't develop or support this projects and service package is over-engineered. In case of difficulties when using it, I'd suggest using the interfaces and rescu directly.
Also note Etsy changes it's API evenry now and then without notice, so some functions or DTO mappings may be out of sync.
Good luck.

Sorry, I don't have that projects working directory on my laptop.
The API is the JAX-RS code, just create a proxy object with rescu and you're ready to go.
All you'd get from the .service package is handling the results pagination and lot's of overhead from threading and RxJava.

I just removed the .service package and added an example call in src/main/test.
Have fun!

Thank you so much for the example! I was not aware of the rescu proxy, so much simpler then what I was trying to do with the core JAX-RS API.
Had to make one minor update to the example to work, but it worked like a champ. Submitted a pull request to fix and expanded on your example.
Can't tell you how much I appreciate your help.

Glad to hear it. Thanks for improving the examples!


Reformat checkmark on search table for verified workflows/tools

Right now, verified workflows/tools have a weird floating checkmark by them.
!Screen Shot 2019-01-30 at 1.14.53 PM.png|thumbnail!
This checkmark does not adequately indicate to the user that it is verified. This should be its own labeled column. The other issue is that the order of the columns on the table should be discussed. Where should this new column go, and how should the spacing of the columns look?
┆Issue is synchronized with this Jira Story
┆Issue Type: Story
┆Fix Versions: Dockstore 2.X
┆Issue Number: DOCK-212
┆Attachments: Screen Shot 2019-01-30 at 1.14.53 PM.png | Screen Shot 2019-08-23 at 2.19.37 PM.png | Screen Shot 2019-08-23 at 2.28.11 PM.png | Screen Shot 2019-08-23 at 2.28.42 PM.png | Screen Shot 2019-08-23 at 2.30.17 PM.png

➤ Andy Chen commented:
I have created a new column for the Verified element and had played around with the spacing, sizing, and position of the column. I have attached a few screenshots below of how the new column would look. Let me know which screenshot is most desirable or if the spacing, sizing, and position should be completely different.
!Screen Shot 2019-08-23 at 2.19.37 PM.png|width=641,height=669!
!Screen Shot 2019-08-23 at 2.28.11 PM.png|width=637,height=674!
!Screen Shot 2019-08-23 at 2.28.42 PM.png|width=638,height=679!
!Screen Shot 2019-08-23 at 2.30.17 PM.png|width=639,height=668!

➤ Charles Overbeck commented:
Also, this is existing, but it makes me realize the Stars column value should be right-justified; it will start to go ragged if any workflow has more than 9 stars (or maybe is right-justified, and it’s not apparent).
It seems like there is too much space between Stars and Verified.

➤ Charles Overbeck commented:
I like the last one the best, although in doing it you seem have lost the padding between the first and second columns.

➤ Charles Overbeck commented:
And also 🙂 , the first screenshot seems to have a bug in that there are two arrows on the column headers, one for Stars, and one for Verified (or Name?).


Removing field from form object, then setting as child of another form, adds field back

Essential form:
$child = Form::create(...);
$child->remove('removed_field');

$parent = Form::create(...);
$parent->add('child', 'form', [ 'class' => $child ]);

form($parent); // yields a form containing removed_field

Looks like ChildFormType::createChildren() line 27 in the rebuildForm() call is adding the fields back based on the original form specification.  The docs do seem to be "class" oriented, but as objects are accepted, I'm expecting the object state to remain.

Yes, you are right. I'll look into it, and let you know when it's fixed. Thanks for reporting.

I fixed it. Do a composer update. If it's ok, please close this issue.

Confirmed, thanks!


[BUG] Selected focus condition gets reset when re-rendered.

Describe the bug
When selecting a set of conditions for the focus tree previewer it get reset when the the tree re-renders.
To Reproduce
Steps to reproduce the behavior:

Open up a focus tree vanilla or modded
Make sure you can use focus tree conditions (ie. not disabled useConditionInFocus)
Select a condition set
Edit the three
Selection is reset

Expected behavior
The selection to be kept even if the tree is re-rendered.
Screenshots

Desktop (please complete the following information):

OS: Win11
VSCode version: 1.69.2
Extension version: v0.5.2

Console Logs
N/A

Fixed in https://github.com/herbix/hoi4modutilities/commit/485d83281f8597fdaddc9518549bde9e780c2c99.


issue w/ GCS resources in python-docs-samples-tests

Temporary issue affecting resources (e.g. GCS objects) stored in python-docs-samples-tests.
When the issue is resolved, affected tests can be unskipped.

Reverted skipped tests in https://github.com/GoogleCloudPlatform/golang-samples/pull/2372, closing this.


Message bar component rxjs fix

Update the implementation of locationStatusStream to timeout after 3000ms of no messages. This also adds tests around this using rxjs TestScheduler and its marble diagrams 😱. See this for more info: https://github.com/ReactiveX/rxjs/blob/master/doc/marble-testing.md

@rgowan This is the PR that should also fix the android TimeoutError that we were getting on Android. Need to double check though.


Hide by keywords issue

I am not sure if this is a bug or feature request.
I have added a group I follow to the hide by keywords and I still see all posts in this group.
I do not want to leave the group but I do not need to see 100 posts a day.
So either its a bug, or a feature to hide groups.
Cheers

I'll test. If there are not enough posts to scroll and generate new ones, nothing will be hidden until you scroll.

Thanks!  I would also love to offer some suggestions on the Job section too.
A simple one may be to sort by newest.  Their job section is a complete disaster,


Licensing from big-iq does not work in 1.6

issue with DO 1.6 (f5-declarative-onboarding-1.6.0-1.noarch.rpm) and licensing from BIG-IQ? BIG-IQ is on version 6.1
Declaration works with DO version 1.3
from /var/log/restnoded/restnoded.log
Wed, 21 Aug 2019 13:27:17 GMT - fine: [f5-declarative-onboarding: systemHandler.js] Getting license provider
Wed, 21 Aug 2019 13:27:18 GMT - finest: [f5-declarative-onboarding: systemHandler.js] using api type REG_KEY
Wed, 21 Aug 2019 13:27:18 GMT - fine: [f5-declarative-onboarding: systemHandler.js] Getting license from provider.
Wed, 21 Aug 2019 13:27:18 GMT - fine: [f5-declarative-onboarding: systemHandler.js] Getting BIG-IP license pool UUID.
Wed, 21 Aug 2019 13:27:18 GMT - fine: [f5-declarative-onboarding: systemHandler.js] Got pool UUID: 3242ec83-5012-44a3-8f82-7e63af58766b
Wed, 21 Aug 2019 13:27:18 GMT - fine: [f5-declarative-onboarding: systemHandler.js] Getting reg keys in pool
Wed, 21 Aug 2019 13:27:18 GMT - fine: [f5-declarative-onboarding: systemHandler.js]  is not active
Wed, 21 Aug 2019 13:27:18 GMT - info: [f5-declarative-onboarding: systemHandler.js] {}
Wed, 21 Aug 2019 13:27:18 GMT - finest: [f5-declarative-onboarding: systemHandler.js] tryUntil: got error {}
Wed, 21 Aug 2019 13:27:18 GMT - finest: [f5-declarative-onboarding: systemHandler.js] typeof err object
Wed, 21 Aug 2019 13:27:18 GMT - finer: [f5-declarative-onboarding: systemHandler.js] tryUntil error: Cannot read property 'registrationKey' of undefined tries left: 30
Wed, 21 Aug 2019 13:27:18 GMT - finest: [f5-declarative-onboarding: systemHandler.js] tryUntil: retryOrReject: numRemaining: 30 , code: {} , message: Cannot read property 'registrationKey' of undefined

This will be fixed in 1.7.0

Version 1.7 was released for a fix for this. Closing this issue. If you are still experiencing a problem with the latest version, please reopen the issue or create a new one.


possible state of a given variable

Describe your problem here.
given the function: function opponentNoteHit(id, direction, noteType, isSustainNote)
what are the possible outputs for id, direction, noteType, and isSustainNote?
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
nope

id is the strumtime, the time at which the note is over the strumline in milliseconds
direction is whichever lane the note is placed in, left = 0, down = 1, up = 2, right = 3
noteType is the type of the note which can be defined in the custom_notetypes folder or by using a preset from the chart editor's note tab.
isSustainNote is a bool that suggests if the note that is being hit is a long note trail
These same principles apply to function goodNoteHit(id, direction, noteType, isSustainNote), it's just on the player's side as opposed to the opponent's side

id = when the note will be exactly lined up with the strumline (number)
direction = number from 0-3 (0 being left and 3 is right)
noteType = what type of note (string) (example: a note called "Bullet" will return the value "Bullet")
isSustainNote = is it a long note? (true or false)


Automated Package Upgrade

:tada: This PR is included in version 27.1.10 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


✨ Don't require any params when asking for help

What are you trying to do?
Right now if I want to call --help on a module or function that has some required parameters I need to add those parameters before getting the help output. This is especially painful when using a constructor.
I expect this to work closer to daggerverse.dev where I can inspect everything a module or function can do without needing to think about the inputs.
Why is this important to you?
I think its a much cleaner DX if we decouple --help from execution
How are you currently working around this?
No response

That's actually a regression, reported in DEV-3785, and actively being worked on.


Modules 09 & 10

This is really all one unit, which I've arbitrarily broken up into two modules.   Instructors who teach this material over two class sessions should split it at whatever point works.
Module 10.3 (REST) is largely independent of the rest of the material and could be put at any place in the 09-10 sequence.
This PR is for the slides only; the activity, the module page, etc., will follow in a separate PR.

Should be ready to merge to main.

Slides have old names (for instructors)
Links to module 10 file is broken.
You will need to merge main again since we have published the project plan (and will probably merge IP2 by the time this is ready for a merge)

Taken care of things listed in my last comment.

Slide 20 of 10.3 - text overlaps the code in pdf (was this supposed to be an animation?)
I still think, we need a slide that connects Module 10.1 to Module 3 - Structural scale in Design Principles
Rest lgtm

Are we still working on tutorial for REST/ Sockets?

I fixed the end of M10.3 .  Should be better now.   I am no longer working on REST/Socket tutorial.  The REST tutorial turned into 10.3.   The students seem to have learned about sockets from the materials that were posted along with IP1.

Didn't add the slide in 10.1 connecting w/ Module 3.   Too tired to do it
now, maybe tomorrow.
On Wed, Feb 1, 2023 at 6:26 PM Adeel A. Bhutta @.***>
wrote:

Slide 20 of 10.3 - text overlaps the code in pdf (was this supposed to be
an animation?)
I still think, we need a slide that connects Module 10.1 to Module 3 -
Structural scale in Design Principles
Rest lgtm
—
Reply to this email directly, view it on GitHub
https://github.com/neu-se/CS4530-Spring-2023/pull/24#issuecomment-1412899566,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAR3CMCEXNHZFQPNYNGHUH3WVLWK5ANCNFSM6AAAAAAUM33BSY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Added sentence in 10.1 speakers notes relating to M03.   Merging now.


I have a request.

Nice to meet you.
I am developing a console system using PHP.
Well, I want to include your cowsayphp to it.
I will appear in the sight of the author.
Please reply.
chell rui

Hello @chell-uoxou you can use cowsayphp as you want. It's free to use, commercially or whatever, MIT licensed.
Is your program going to be an open source app?

Thank you! ! Forever mine is an open source.

Your project is very nice!

You're welcome. I'll keep looking to update this little project.


Compatiblity issue with Masonry and iOS 9

Since I've started to build my app with Xcode 7.01 the app fails to run on iOS 9.
The following use of Masonry
    UIView* contentView = UIView.new;
    [self.vScrollView addSubview:contentView];
    [contentView makeConstraints:^(MASConstraintMaker *make) {
        make.edges.equalTo(self.vScrollView);
        make.width.equalTo(self.centralView.width);
    }];

lets my application crash:
2015-10-10 01:46:10.381 MyApp[7575:686159] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'attempting to add unsupported attribute: (null)'
*** First throw call stack:
(
    0   CoreFoundation                      0x04514a94 __exceptionPreprocess + 180
    1   libobjc.A.dylib                     0x03fd5e02 objc_exception_throw + 50
    2   CoreFoundation                      0x0451492a +[NSException raise:format:arguments:] + 138
    3   Foundation                          0x016743e6 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 118
    4   MyApp                               0x0014395a -[MASViewConstraint setSecondViewAttribute:] + 746
    5   MyApp                               0x00144abe __40-[MASViewConstraint equalToWithRelation]_block_invoke + 2110
    6   MyApp                               0x0013c78d __24-[MASConstraint equalTo]_block_invoke + 125
    7   MyApp                               0x00106acb __41-[CatalogViewController viewDidLoad]_block_invoke158 + 411
    8   MyApp                               0x0014c527 -[UIView(MASAdditions) mas_makeConstraints:] + 167
    9   MyApp                               0x0012adf5 -[UIView(MASShorthandAdditions) makeConstraints:] + 85
    10  MyApp                               0x0010603a -[CatalogViewController viewDidLoad] + 906
    11  UIKit                               0x0241cd74 -[UIViewController _sendViewDidLoadWithAppearanceProxyObjectTaggingEnabled] + 44
    12  UIKit                               0x024218c2 -[UIViewController loadViewIfRequired] + 1556
    13  UIKit                               0x02421cf1 -[UIViewController view] + 35
    14  MyApp                               0x0012f4e5 -[ECSlidingViewController viewDidLoad] + 245
    15  UIKit                               0x0241cd74 -[UIViewController _sendViewDidLoadWithAppearanceProxyObjectTaggingEnabled] + 44
    16  UIKit                               0x024218c2 -[UIViewController loadViewIfRequired] + 1556
    17  UIKit                               0x02421cf1 -[UIViewController view] + 35
    18  UIKit                               0x022d4ccc -[UIWindow addRootViewControllerViewIfPossible] + 69
    19  UIKit                               0x022d53fd -[UIWindow _setHidden:forced:] + 324
    20  UIKit                               0x022d579d -[UIWindow _orderFrontWithoutMakingKey] + 49
    21  UIKit                               0x022e8b64 -[UIWindow makeKeyAndVisible] + 81
    22  UIKit                               0x02256b70 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 4190
    23  UIKit                               0x0225dec6 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1976
    24  UIKit                               0x02281905 __84-[UIApplication _handleApplicationActivationWithScene:transitionContext:completion:]_block_invoke3171 + 68
    25  UIKit                               0x0225abae -[UIApplication workspaceDidEndTransaction:] + 163
    26  FrontBoardServices                  0x06370ccc __37-[FBSWorkspace clientEndTransaction:]_block_invoke_2 + 71
    27  FrontBoardServices                  0x063707a3 __40-[FBSWorkspace _performDelegateCallOut:]_block_invoke + 54
    28  FrontBoardServices                  0x0638e1cb -[FBSSerialQueue _performNext] + 184
    29  FrontBoardServices                  0x0638e602 -[FBSSerialQueue _performNextFromRunLoopSource] + 52
    30  FrontBoardServices                  0x0638d8fe FBSSerialQueueRunLoopSourceHandler + 33
    31  CoreFoundation                      0x0442ee7f __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15
    32  CoreFoundation                      0x04424b0b __CFRunLoopDoSources0 + 523
    33  CoreFoundation                      0x04423f28 __CFRunLoopRun + 1032
    34  CoreFoundation                      0x04423866 CFRunLoopRunSpecific + 470
    35  CoreFoundation                      0x0442367b CFRunLoopRunInMode + 123
    36  UIKit                               0x0225a497 -[UIApplication _run] + 540
    37  UIKit                               0x0225fcc1 UIApplicationMain + 160
    38  MyApp                               0x000cc7da main + 138
    39  libdyld.dylib                       0x05f1aa21 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException

What can I do to (temporarly or better permanently) solve the issue?
As far as I have understood, there is a compatiblity issue with Masonry and iOS 9.
Is this correct? If yes, what is your timeline to be compatible to iOS 9?

@TheNightbear does this compile against iOS 8? it's hard to say with just the code snippet you've provided, do you have a few more lines you can share?
Specifically would be good to see the entire [CatalogViewController viewDidLoad] method.

@robertjpayne it does, but unfortunately it's crashing on iOS 8 & 9 at line
make.width.equalTo(aView.width);

or
make.height.equalTo(aView.height);

It allways ends up with an invalid secondViewAttribute of value nil.
If I set the "pure value" it works (does not crash):
           make.width.equalTo(@(aView.frame.size.width));

This is not a valid workaround, because it will not work dynamically if the size of the source view changes (which happens in my case).
As temporarly workaround I use
for "width"
make.left.equalTo(aView.left);
make.right.equalTo(aView.right);

and for "height"
make.top.equalTo(aView.bottom);
make.bottom.equalTo(aView.bottom);

So the question is, where is the difference between the MASViewAttribute returned from view.height and view.width versus the one returned from view.top / view.bottom / view.left / view.right?
Because the first two will trigger the assertion in the "setSecondViewAttribute" method.

@TheNightbear again would be really useful to see the whole code method rather than snippets pulled out.
The reason there are no second attributes for the width and height attributes is that they are self constraints so to speak and are added directly to the view without a toItem or toAttribute.
If you do a NSLog(@"%@", aView.width) what do you get? Just trying to eliminate what may be causing it but this is definitely something specific to your project if it's crashing in iOS 8 because we'd have many many many more reports otherwise!

@robertjpayne while I was creating some log outputs I observed a difference in behavior if I call make.width.equalTo(aView.width):

The UIView created via the Interface Builder is crashing if I call the .width attribute in NSLog(@"%@", aView.width) -->  EXC_BAD_ACCESS (code=1, address=0x43a00000)

A UIView (or similar class like UIScrollView) created and attached to a parent view in the viewDidLoad method returns null and triggers the 'NSInternalInconsistencyException', reason: 'attempting to add unsupported attribute: (null)' in setSecondViewAttribute method.

Btw. I found an example in https://github.com/SnapKit/Masonry/blob/master/Examples/Masonry iOS Examples/MASExampleScrollView.m at line 49. It's using
make.width.equalTo(self.scrollView); instead of
make.width.equalTo(self.scrollView.width); .
The same is valid for the height attribute:
make.height.equalTo(leftScrollHint); instead of
make.height.equalTo(leftScrollHint.height); .
I tried both approaches in my code and it works!
But is it the right way?

Here's the whole code of the method:
- (void)viewDidLoad
{
    [super viewDidLoad];
    [self.slidingViewController setAnchorRightRevealAmount:270.0f];

    //prepare status bar
    _hideStatusBar = NO;
    [self setNeedsStatusBarAppearanceUpdate];

    _enlargedRow = -1;

    _vScrollView = UIScrollView.new;
    [self.centralView addSubview:_vScrollView];
     [_vScrollView makeConstraints:^(MASConstraintMaker *make) {
          make.edges.equalTo(self.centralView);
     }];
    [_vScrollView setDelegate:self];

    UIView* contentView = UIView.new;
    [_vScrollView addSubview:contentView];

    NSLog(@"%@", _vScrollView);
    NSLog(@"%@", _vScrollView.width);

    NSLog(@"%@", contentView);
    NSLog(@"%@", contentView.width);

    NSLog(@"%@", _centralView);
    //NSLog(@"%@", _centralView.width); // --> triggers EXC_BAD_ACCESS exception

     [contentView makeConstraints:^(MASConstraintMaker *make) {
         make.edges.equalTo(_vScrollView);
         //make.width.equalTo(_centralView.width); // --> triggers EXC_BAD_ACCESS exception
         make.width.equalTo(_centralView); // --> works!
       }];

    [self loadCatalog];

    UIView *lastView;
    CGFloat height = 85;
    for (int i = 1; i <= [_catalogRows count]; i++) {
        UIView *view = UIView.new;
        view.tag = i*1000; //row id
        [contentView addSubview:view];

       [view makeConstraints:^(MASConstraintMaker *make) {
           make.top.equalTo(lastView ? lastView.bottom : @0);
            make.left.equalTo(contentView.left);

            NSLog(@"%@", contentView);
            NSLog(@"%@", contentView.width); // --> output "(null)"
            //make.width.equalTo(contentView.width); // --> triggers crash in "setSecondViewAttribute"
            make.width.equalTo(contentView); // --> works!

            make.height.equalTo(@(height));
        }];

        //add Subview + content
        [self createHorizontalScrollView:view rowData:_catalogRows[i-1]];
        lastView = view;
    }

    [contentView makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.equalTo(lastView.bottom);
    }];

    _adView = [[MPAdView alloc] initWithAdUnitId:@"********************************"
                                            size:MOPUB_BANNER_SIZE];
    _adView.delegate = self;
    _adView.frame = CGRectMake((_adContainer.bounds.size.width - MOPUB_BANNER_SIZE.width) / 2,
                                   _adContainer.bounds.size.height - MOPUB_BANNER_SIZE.height,
                                   MOPUB_BANNER_SIZE.width, MOPUB_BANNER_SIZE.height);
    [_adContainer addSubview:_adView];
    [_adView loadAd];

    //Show help
    [self showHelp];
}

@TheNightbear do you have any other 3rd party libs integrated with your project? What if you try NSLog(@"%@", otherView.mas_width). An EXEC_BAD_ACCESS on a NSLog like that normally indicates you're attempting to NSLog a non-objectc object. In this case if .width is from a 3rd party library and a CGFloat it would probably be zero and thus the "null" attribute but crashing log statement.

@TheNightbear or if you can just in Xcode when autocomplete pops-up for .width what type is it? It really seems in this case it's not a MASViewAttribute which it should be.

@robertjpayne yes, I have other 3rd party libs in my project. But none of them is (officially) dealing with UIViews.
Here are the results of using mas_width instead of width:

On the UIView with the EXC_BAD_ACCESS exception the result is this:

On other UIViews mas_width returns a valid object of type MASViewAttribute while .width returns null.

In any case the autocomplete pop-up shows a MASViewAttribute for .width:

@TheNightbear and just to make sure you have MAS_SHORTHAND turned on via preprocessor macros?
It's really strange if the mas_XXXX shortcuts work so should the non prefixed if MAS_SHORTHAND is defined.

@robertjpayne yes it's turned on by this two lines in my .pch file:
#define MAS_SHORTHAND
#import "Masonry.h"

@TheNightbear tough to say without having the full project source, Ultimately up to you if you want to share that robertpayne [at] me [dot] com.
Otherwise, I'd recommend using the full version extensions mas_*.

@robertjpayne @TheNightbear I think it would be worth doing a text search across all your libraries and code to see if there isn't another category that also extends UIView with width, 'height', left etc.
I dont think autocomplete is not a guarantee of what the category property will be at runtime. Because categories can override each other depending on the order they are imported

@cloudkite sounds reasonable to me to check the libraries.
The last run of pod update might have added this sideeffect to the project.
I will let you know, if I find something.
@robertjpayne unfortunatly I'm not allowed to share the full project code. But thank you for your offer to help me with a deeper inspection!

Hi!
I'm posting here since the bug seems to be the same.
I'm a new Masonry user since another lib I started using needs your lib.
I started copying the examples from the other lib using Masonry and I got several compile-time issues.
After some research on the errors, I noticed the compile-time issues go away when by adding the mas_ prefix.
It seems the #define MAS_SHORTHAND (included in my .pch file) somehow is not working.
I'm sure my .pch file is used at compile-time since have defined other macros.

@cloudkite @robertjpayne I was able to identifiy the responsible library: [mopub-ios-sdk] (https://github.com/mopub/mopub-ios-sdk)
The library is compatible up to version 3.13.0.
With the latest update to version 4.0.0 (Changelog) they added:
@property (nonatomic) CGFloat height;
@property (nonatomic) CGFloat width;

in
UIView+MPAdditions.h
UIView+MPAdditions.m
Any idea how to solve this issue (without using mas_ prefix)?

Last category loaded wins, so you could in theory import Masonry after mopub.
You might want to check ur compile flags I think the linker flag 'all_load' might possibly interfere with load order.
Even if this works you could end up breaking mopub functionality.
Best solution would be for Mopub to prefix their categories, libraries shouldn't use unprefixed categories unless the dev opts-in. Plus these are internal methods so there's no reason to have them unprefixed
On Sat, Oct 17, 2015 at 9:17 AM, TheNightbear<EMAIL_ADDRESS>wrote:

@cloudkite @robertjpayne I was able to identifiy the responsible library: [mopub-ios-sdk] (https://github.com/mopub/mopub-ios-sdk)
The library is compatible up to version 3.13.0.
With the latest update to version 4.0.0 (Changelog) they added:
@property (nonatomic) CGFloat height;
@property (nonatomic) CGFloat width;

in
UIView+MPAdditions.h
UIView+MPAdditions.m
Any idea how to solve this issue (without using mas_ prefix)?
Reply to this email directly or view it on GitHub:
https://github.com/SnapKit/Masonry/issues/256#issuecomment-148823125

To add a little context to this issue I am having similar yet different issues MAS_SHORTHAND. I am importing the framework using Carthage. In order for XCode to be happy with the framework import I had to add it to the embedded binaries. After this I was able to import <Masonry/Masonry.h> without an issue and use the mas_* syntax.
I really prefer the shorthand syntax so I tried adding the MAS_SHORTHAND definition. No dice. After tinkering for a while I was able to get the compiler to be happy after adding a build flag of MAS_SHORTHAND. This would crash at runtime, however, with an unrecognized selector error.
Currently I have not been able to get the shorthand version to work with the compiler and not crash at runtime. For context I am not using a pch file.

@TheNightbear unfortunately there is nothing we can really do to help you resolve this, the other library should not be such a poor sport and have unprefixed categories.
@EricJones89 likewise nothing we can do to help you if you're using Carthage, the MAS_SHORTHAND define must be present as the code is compiled, and Carthage compiles the frameworks before they are integrated into the project so your MAS_SHORTHAND macro does nothing, or in some cases may make the header seem valid but the underlying binary code will always be invalid.
Please just use mas_, it may be a bit uglier but trust me it'll save you headache in the long run. Swift is headed in this direction too as we can't even use a macro to try and shorthand categories.
Sorry there isn't better solutions to this, it's really the limitations of Objective-C/Xcode.

I think you should put the Masonry code in viewDidAppear: method. That's solve my problem.

I just want to add to this:
I was getting this error when calling
make.edges.equalTo(self)
Once i changed it to make.edges.equalTo(self.view) it began working. Simple oversight.


NuGet package does not link native libs

Rather than have to copy the libwk*.* native libs into the output folder, you can set up the NuGet package to include them automatically. They just need to be linked like so in the NuSpec:
<file src="..\..\v0.12.4\64 bit\libwkhtmltox.dll" target="runtimes\win7-x64\native" />
<file src="..\..\v0.12.4\64 bit\libwkhtmltox.so" target="runtimes\linux-x64\native" />
<file src="..\..\v0.12.4\64 bit\libwkhtmltox.dylib" target="runtimes\osx-x64\native" />

same goes for x86...
I'm happy to create a pull request if you'd like.
Thanks!

Hi @ajryan ,
If you could make a pull request it would be great.

Will do. Do you want it to stay in VS2015 / project.json format? Or is it OK to push up to VS2017 / new csproj as well?

Please update it to VS2017. Thanks.

PR #18 - thanks!

Hi @rdvojmoc
Do you have any update on this ?
Kind regards
Rob

@rdvojmoc If you need any assistance i'd love to help out with the pullrequest or anything else on dinktopdf


Use New Logging Service in the Components

Summary

Currently various components use differnt loggers.
After the Logging Service (#1031) is implemented, this should be unified so that the components connect to the service and use it for logging.
Value

We have centralized logs.
It is easier to understand interaction between different components by inspecting the combined logs.

Specification

[ ] The logging service should include a client that can connect to the service or fallback to some other non-centralized logging mechanism if the service is not running.
Loggers in the following components should be replaced with our centralized logger implementation:

[x] runtime
[ ] language-server
[x] runner
project-manager will most likely be handled separately

[ ] The runner should pass the logging service connection to runtime.
[ ] The launcher should pass the necessary information to connect to the logging service managed by it when launching the runner or language-server.

Acceptance Criteria & Test Cases

The specification above is completed.
[ ] The logs of various components have been manually inspected.
[ ] If possible, passing logging connection information to components by the launcher could be tested automatically at least to some extent.

This is partially implemented within #1169 which adds logging support to the runner and runtime, but it should be tested if existing runtime logs are in fact reported correctly.
The language-server still needs to be integrated with the logging.


Fix: Build Issues

attempting to fix actions build issues

@TheAngryByrd I noticed a build issue with my last commit - I think this is the right fix - but will leave that for you to decide.

I think this will work for now but we should align the version number in the global.json and build.yml https://github.com/demystifyfp/FsToolkit.ErrorHandling/blob/443dd1016ca7fd98cc52ca99c08932c6a4d10896/.github/workflows/build.yml#L25 or else this will happen again when Microsoft released a new build


LRS4xxx - scan_cfg_list_entry=65, skip=2, scan and pointcloud available?

It should be checked whether the LRS-4xxx can also deliver a low shot rate by setting the following parameters:
<param name="scan_cfg_list_entry" type="int" value="65"/>
<param name="skip" type="int" value="2" /> <!-- Default: 0 (i.e. publish each scan), otherwise only each n.th scan is published -->

Release v2.6.6: NAV310 + LRS4xxx update, issues #58, #59, #60, #61
#58 (NAV310): min/max angle removed from config
#59 (NAV310+LRS4xxx): laserscan and pointcloud identical
#60 (LRS4xxx): validated parameter scan_cfg_list_entry and skip
#61 (LRS4xxx): default value echo filter changed to "2" (last echo)


Post-install message from webdrivers:

Saw this message running install-badge-dev-env:
154.4 Post-install message from webdrivers:
154.4 Webdrivers gem update options
154.4 *****************************
154.4
154.4 Selenium itself now manages drivers by default: https://www.selenium.dev/documentation/selenium_manager
154.4 * If you are using Ruby 3+ — please update to Selenium 4.11+ and stop requiring this gem
154.4 * If you are using Ruby 2.6+ and Selenium 4.0+ — this version will work for now
154.4 * If you use Ruby < 2.6 or Selenium 3, a 6.0 version of this gem with additional support is planned
154.4
154.4 Restrict your gemfile to "webdrivers", "= 5.3.0" to stop seeing this message
1

We can probably safely upgrade all of our selenium and webdrivers gems to the latest version. Feel free to open a PR and I'll approve it if the tests run green.


HARP-5847: Remove SharedArrayBuffer reference.

Geojson and custom features are meeting the SharedArrayBuffer check, which is undefined everywhere but in Chrome. This class is actually not used, so removing.

What if we actually will be using shared buffers? Maybe it worth to do additional check for typeof SharedArrayBuffer !== 'undefined' or so.


Address tech debt

Alaska Airlines Pull Request
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Resolves: # (issue, if applicable)
Summary:
Please summarize the scope of the changes you have submitted, what the intent of the work is and anything that describes the before/after state of the project.

Point to use auro-library scripts rather than local scripts
Refactor custom component registration config
Add ability to add tag name as attribute when component is custom registered
Use new eslint configuration
Update dependencies

Type of change:
Please delete options that are not relevant.

[x] New capability
[x] Revision of an existing capability
[ ] Infrastructure change (automation, etc.)
[ ] Other (please elaborate)

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team

Summary by Sourcery
Refactor component registration to utilize auro-library scripts, introduce a new feature for custom component tag attributes, update ESLint configuration, and refresh documentation to align with these changes.
New Features:

Introduce the ability to add a tag name as an attribute when a component is custom registered.

Enhancements:

Refactor the custom component registration to use auro-library scripts instead of local scripts.
Adopt a new ESLint configuration for improved code quality and consistency.

Build:

Update project dependencies to their latest versions.

Documentation:

Remove outdated documentation regarding CSS custom property fallbacks.
Update documentation to reflect changes in demo file naming conventions and component registration methods.

:tada: This PR is included in version 2.2.0-beta.2 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Saving file to local filesystem results in NoPermissions error

When I generate an image in a Python session on a remote connection, I typically want to save these images locally. However, I am now getting a NoPermissions error when I do so:
Error exporting image: NoPermissions (FileSystemError): Unable to write file 'vscode-remote://ssh-remote+7b22686f73744e616d65223a224e5959415753227d/Users/cfonnesbeck/Downloads/no_clusters.png' (NoPermissions (FileSystemError): Error: EACCES: permission denied, mkdir '/Users')

This is being saved in a subdirectory of my personal account, so there should be no permissions error. I have tried other subdirs, but with similar effect.

VSCode Version: 1.54.3
Local OS Version: macOS 11.3
Remote OS Version: Ubuntu
Remote Extension/Connection Type: SSH

Steps to Reproduce:

Generate image in Python
Open image in plots tab
Select save icon
Select local filesystem from file browser
Save to local folder (e.g. Downloads or Desktop)

Dupe of #5269


cordova.plugins.printer not work

Hello everybody. I am new to phonegap and plugin.
i try to use katzer plugin printer. and start from install plugin
then i put this code to my index
document.addEventListener('deviceready', function () {
// cordova.plugins.printer is now available
alert("ready");
cordova.plugins.printer.isAvailable(
function (isAvailable) {
alert(isAvailable ? 'Service is available' : 'Service NOT available');
}
);
}, false);
it alert ready but it don't alert  isAvailable.
i can not find out why it do not alert. any one can tell me why ?
I think follow all step from
https://github.com/katzer/cordova-plugin-printer

@veasna234 So far I cannot see the mistake. Guess you fixed it in the meantime. Sometimes the platform gets broken and its wise to re-add the whole platform from zero.


stm32f1: Fix gpio interrupt configuration

    tests/drivers: gpio_basic_api: Upudate nucleo_f103rb configuration

    For some reason, provided pin configuration for nucleo_f103rb
    is not able to detect gpio callback issues.
    Move to other pin combination which detect pin callback issues.

    drivers/gpio: stm32f1: AFIO init should happen before GPIO inits

    GPIO initialization was moved to PRE_KERNEL_1 with commit
    590162a5cc06c72b70dee93f410b878bc0935f1f.
    This had the consequence of having AFIO init done after GPIO init
    as a consequence, this sequence ends up with AFIO clock disabled,
    and hence negative impact on AFIO expected services.

Fixes #38870

@chrta ^^


Practitioner and Patient name search does not include HumanName.text

HAPI Patient and Practitioner search is not inline with FHIR specification.
Given the test resource with name:
    {
      "use": "usual",
      "text": "Madame Pyrtula BOSSI",
      "family": "BOSSI",
      "given": [
        "Pyrtula"
      ]
    }

Search request
http://hapi.fhir.org/baseDstu3/Practitioner?name=Madame
does not return any data even if there is matching HumanName.text in following resource: http://hapi.fhir.org/baseDstu3/Practitioner/1865543
FHIR spec suggest following thing:
name (string) A  server defined search that may match any of the string fields in the HumanName, including family, given, prefix, suffix, suffix, and/or text

Apparently HAPI based servers ignore text attribute in name search which might be relevant in some cases.

Same here.

Same here.


Having mlflow.set_tracking_uri and mlflow.set_experiment causes error

mlflow.set_tracking_uri("http://localhost:5000/")
mlflow.set_experiment("exp-name")

If these are the other way around, you get a strange error
ges/mlflow/utils/rest_utils.py", line 210, in call_endpoint
    response = verify_rest_response(response, endpoint)
  File "/home/coder/.cache/pypoetry/virtualenvs/picassoseg-0dMKFdZz-py3.9/lib/python3.9/site-packages/mlflow/utils/rest_utils.py", line 142, in verify_rest_response
    raise RestException(json.loads(response.text))
mlflow.exceptions.RestException: BAD_REQUEST: unable to parse experiment id '308770067652592657': strconv.ParseInt: parsing "308770067652592657": value out of range

I would expect this error to be handled more gracefully. There's a good chance people in the future could be using Fasttrack before mlflow (like me!) So this kind of thing will matter

Can't reproduce


首次进入 有短暂的时间没有style样式

页面刷新时或首次进入后，有短暂的时间没有样式，请问下如何解决

这个后面应该会出一个解决方案#6659
参考ant-design的extract-ssr

@aibayanyu20 https://github.com/ant-design/static-style-extract 可以把这个 pr 到主库里

@aibayanyu20 ant-design/static-style-extract 可以把这个 pr 到主库里

OK

+1

We are still waiting for a release from ant-design-vue right?

We are still waiting for a release from ant-design-vue right?

Yes coming soon !

+1

I have reviewed the configuration in the document and the issue still remains unresolved. Can you please update the document to provide instructions on how to configure and resolve this problem?

look at this https://github.com/vueComponent/ant-design-vue-nuxt/issues/15

I have reviewed the configuration in the document and the issue still remains unresolved. Can you please update the document to provide instructions on how to configure and resolve this problem?

look at this #15

I have reviewed the configuration in the document and the issue still remains unresolved. Can you please update the document to provide instructions on how to configure and resolve this problem?

Thank you for the starter repo, while I was configuring the ConfigProvider within genAntdStyle, it's showing 'Invalid name ConfigProvider'
https://www.antdv.com/docs/vue/ssr-extract-ssr

look at this #15

I have reviewed the configuration in the document and the issue still remains unresolved. Can you please update the document to provide instructions on how to configure and resolve this problem?

Thank you for the starter repo, while I was configuring the ConfigProvider within genAntdStyle, it's showing 'Invalid name ConfigProvider' antdv.com/docs/vue/ssr-extract-ssr

Can you provide a reproduction?

look at this #15

I have reviewed the configuration in the document and the issue still remains unresolved. Can you please update the document to provide instructions on how to configure and resolve this problem?

Thank you for the starter repo, while I was configuring the ConfigProvider within genAntdStyle, it's showing 'Invalid name ConfigProvider' antdv.com/docs/vue/ssr-extract-ssr

Can you provide a reproduction?

Attempting to add the config provider according to the docs,
https://stackblitz.com/edit/github-52q5xr?file=scripts%2FgenAntdStyle.ts

@thisisandreww try this https://stackblitz.com/edit/github-52q5xr-ve5njf?file=scripts%2FgenAntdStyle.ts

@thisisandreww try this https://stackblitz.com/edit/github-52q5xr-ve5njf?file=scripts%2FgenAntdStyle.ts

That works! However, when I tried adding algorithm: theme.darkAlgorithm as the props, it seems to generate the exact same antd.css file as the one without dark algorithm.

@thisisandreww try this https://stackblitz.com/edit/github-52q5xr-ve5njf?file=scripts%2FgenAntdStyle.ts

It doesn't work for me, it throw an error:
/User/xxx/xxx/node_modules/.pnpm/@ant-design+icons-vue@7.0.0_vue@3.3.4/node_modules/@ant-design/icons-vue/lib/utils.js:120
  return getRoot(ele) instanceof ShadowRoot;
                                 ^
ReferenceError: ShadowRoot is not defined

it looks like icon's problem, 'ShadowRoot' doesn't exist on node environment.

@thisisandreww try this stackblitz.com/edit/github-52q5xr-ve5njf?file=scripts%2FgenAntdStyle.ts

It doesn't work for me, it throw an error:
/User/xxx/xxx/node_modules/.pnpm/@ant-design+icons-vue@7.0.0_vue@3.3.4/node_modules/@ant-design/icons-vue/lib/utils.js:120
  return getRoot(ele) instanceof ShadowRoot;
                                 ^
ReferenceError: ShadowRoot is not defined

it looks like icon's problem, 'ShadowRoot' doesn't exist on node environment.

Try downgrading @ant-design/icons-vue to 6.1.0

@thisisandreww try this stackblitz.com/edit/github-52q5xr-ve5njf?file=scripts%2FgenAntdStyle.ts

It doesn't work for me, it throw an error:
/User/xxx/xxx/node_modules/.pnpm/@ant-design+icons-vue@7.0.0_vue@3.3.4/node_modules/@ant-design/icons-vue/lib/utils.js:120
  return getRoot(ele) instanceof ShadowRoot;
                                 ^
ReferenceError: ShadowRoot is not defined

it looks like icon's problem, 'ShadowRoot' doesn't exist on node environment.

Try downgrading @ant-design/icons-vue to 6.1.0

Succeed :) Thanks!

hI, I can still reproduce the issue, here is an example, just refresh the page. Am I doing something wrong @aibayanyu20  ? Thanks beforehand :)
https://stackblitz.com/edit/github-52q5xr-wk4qod?file=layouts%2Fdefault.vue,scripts%2FgenAntdStyle.ts


Cheapeast price used craft for fallback

The "cheapest price" column in the items table now uses the craft price as a fallback if no other prices are available. Particularly useful on the ammo page to compare the cost of craft-only ammo to others.

.deploy


Fixes Links in "Constraint names in relational databases" section

The current links does not open the correct section and instead open the footer of the page.
Changes
Links are corrected to open the correct section.

Thank so much @nurul3101 !!


Glific v1.0 blog post and PR posted on linked in

due: 2021-03-10

This is done. should i close it?


Add Carousel Lock Interface

Is your feature request related to a problem? Please describe.
No its not a problem.
Describe the solution you'd like
I would like to add Carousel Lock Interface.

Additional context
Please assign this under gssoc21

@ridsuteri @991rajat Please assign.

@Shivangi-ch ?

@Shivangi-ch you want to work on this ?


Application error An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command heroku logs --tail

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

It was running fine few weeks ago.

See #9.
The quick answer is I got no money to pay Heroku and they have limits (550 hours a month) and that's why it's always down every the end of the month. It's highly recommended to host it by yourself remembering there's already a docker file.


feat: convert from setup.py to pyproject.toml

Goals of this change are to replace the setup.py configuration with the modern pyproject.toml configuration while ensuring that everything still works as expected.
A few fixes where required to support correct structure and imports when using this as a library.

a __init__.py in the repo root was removed. this prevents a local development environment from behaving differently from an installed environment.
various imports needed to be sourced from the tetra3 package root

testing methodology:
# env setup
python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev,docs,cedar-detect]"

# check that a build works
python -m build

# check that example runs (copied over cedar-detect-server binary first)
cd examples && python test_tetra3.py && cd ..

# check that docs build (there are some minor warnings to be addressed later)
cd docs && make html && cd ..

Notes:
for the moment this will work locally with other databases (besides default_database.npz) but not yet in an installed environment.
cedar-detect is not addressed yet.

i don't have write access to merge. please feel free to merge when you are ready, thanks

In the venv I did:
pip install -e ".[dev,docs,cedar-detect]"
when I run examples/test_tetra.py, I get:
Traceback (most recent call last):
File "/home/pi/projects/cedar-solve/examples/test_tetra3.py", line 16, in
import tetra3
File "/home/pi/projects/cedar-solve/tetra3/tetra3.py", line 115, in
from tetra3.breadth_first_combinations import breadth_first_combinations
ModuleNotFoundError: No module named 'tetra3.breadth_first_combinations'; 'tetra3' is not a package
Also: do you have a gmail chat or other way to IM? My gmail chat is<EMAIL_ADDRESS>Thanks!


[W6.4d][W14-B2]Wong Peng Fai Shannon

@shanwpf
Some comments added. Please ack & close the PR after reading comments.


Patching should clear out previous root element content

Given the following html:

should disappear

And the following js code
var patch = snabbdom.init([
    snabbdom_style,
    snabbdom_class,
    snabbdom_props,
    snabbdom_attributes,
    snabbdom_eventlisteners
]);

var vnode = h('div', [" but it", " doesn't"]);
var container = document.getElementById('app');

patch(container, vnode);

patch will generate the following html:

should disappear but it doesn't

One can work around this by setting an empty id for instance:
var vnode = h('div#', [" but it", " doesn't"]);

Here is a jsbin http://jsbin.com/sovesitade/1/edit?html,output

Also the id is wrong

It's not possible to reproduce in the test suite. The output of patch is correct but the DOM is not.

Here is another bug with similar behavior. With the same html as above, patching the div with the following vnode:
var vnode = h('div', {attrs: {id: "app"}}, [" but it", " doesn't"]);

Won't work.
But the same call with div# seem to give the good result.

This seems to be a regression between 0.5.0 and 0.5.3, if that helps narrow down the cause.

Thank you for reporting this @amirouche. Also thanks to @WorldMaker for the additional information.
This is probably related to some recent changes to how patch with an element as it's first argument is done.

Could @staltz help perhaps, since the regression appears to come from that change?

I'll look into it, but probably after the TypeScript migration.

Done and released in v0.6.4

Thank you!


users with no images should have some default image

Or maybe not, it just looks weird to me.

It should .. this was taken from a screenshot a couple weeks ago

@dborkan have any idea what's going on here? It's happening on my UI as well.


Release 0.10.0

/test-all

/test-whole-conformance

Codecov Report

Merging #1302 into release-0.10 will decrease coverage by 9.69%.
The diff coverage is n/a.

@@               Coverage Diff                @@
##           release-0.10    #1302      +/-   ##
================================================
- Coverage         54.45%   44.75%   -9.70%
================================================
  Files               119       75      -44
  Lines             11241     5599    -5642
================================================
- Hits               6121     2506    -3615
+ Misses             4528     2812    -1716
+ Partials            592      281     -311

Flag
Coverage Δ

#integration-tests
44.75% <ø> (ø)

#unit-tests
?

Flags with carried forward coverage won't be shown. Click here to find out more.

 I am not addressing review comments from @jianjuns and @tnqn (I will not run the tests again after that).


WYSIWYG editor for blogposts in fifty percent

A better editor for the blogposts.

Tested Trix : https://github.com/maclover7/trix  ( does not work with the pics, and does not provide the feature for surrounding text )
Tested cke editor: https://github.com/galetahub/ckeditor ( )
Ideas:

make a draft mode
when writing a blog have a markdown translator

done! thx <<3


Changed TimerCall description to use seconds instead of minutes

This solution can be problematic for backwards compatibility... We can add instead a second argument, like precision level: if missing or 1, the first number means minutes, if 2, seconds (and in the future, if ever needed, 3 for milliseconds). We have to worry first to not break other people builds

This solution can be problematic for backwards compatibility... We can add instead a second argument, like precision level: if missing or 1, the first number means minutes, if 2, seconds (and in the future, if ever needed, 3 for milliseconds). We have to worry first to not break other people builds

is not a big problem, i think, if other shards need to use minutes instead of seconds, only change 1 to 60, the other way we need another variable and checks.
Right now the developers only need to change 1 number

Yes but not every developer carefully reads all the changelog, and the worst thing to experience is having few more subtle bugs after updating sphere without having errors.

I'm agree with nolok. I just think of someone have an XP system with this function. The admin change the .exe boot his server and notice the difference 1 week later after someone have 100x more xp than suppose. The rollback will be horrible. Second argument, or something similar, is a good idea.

Now with the change of @Jhobean should be done.


Add Hanley Castle High School and Sixth Form

@cowmanroo I am sorry, I really don't feel that you make the correct request. Please consider the following:

This seems to be an official website of the school: https://www.hanleycastle.worcs.sch.uk/
Is it correct?
If yes, this is the official school email domain: hanleycastlehs.org.uk
If you wish to add hanleycastlehs.org.uk to the repository as the official email domain, you need to have a single file in the request on GitHub, with the name of lib/domains/uk/org/hanleycastlehs.txt
Your request has two files, and the first one, lib/domains/edu/hanleycastlehs.txt is incorrect, and I already had a chance to tell you about it in a comment to the request #6495.

Could you please remove the file lib/domains/edu/hanleycastlehs.txt from this request? If you don't know how to do it, please reply this message, and I will do it on your behalf. I cannot do it without your confirmation because our rule is to understand clearly what a contributor wishes to do, not to guess about potential contributor's intentions. Thank you for the understanding!

@cowmanroo Pull request merged. Thank you!


[EFR32] Miscellaneous platform cleanup items

Init OTA Update objects only if OTA support is enabled in build
Clean up #include paths
Add "extern C"
Include bootloader header based on compile flag

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


AMPI net-linux-x86_64-smp segfaults at migration

Original issue: https://charm.cs.illinois.edu/redmine/issues/824

See Jenkins nightly builds numbered: 569 - 549 (and beyond)
http://poise:8080/job/Nightly-Build/label=linux,platform=net-linux-x86_64-smp/

Original date: 2015-09-01 20:58:20

http://charm.cs.illinois.edu/autobuild/cur/ seems to suggest that this can work but further investigation (maybe of options) is necessary

Original date: 2015-09-02 20:52:04

The failures for the net-linux-x86_64 smp build are all from 3 tests:

tests/ampi/megampi failed for different combinations of +p and +vp options with "Charmrun> error on request socket to node 'localhost'--".
I could not reproduce these failures, though they are pretty consistent since build #549.

tests/charm++/chkpt failed during application startup
Failures resulted from the initial bugfix for registering command line options not being thread-safe, but this has since been fixed.

examples/ampi/Cjacobi3D failed during migration using PUP

I could not reproduce these failures, which have occurred in builds 579 and 580.

Original author: Nikhil Jain
Original date: 2015-09-04 01:35:14

This is indeed caused by non-uniformity in isomalloc regions. In non SMP mode, if stack randomization is off, all processes are likely to find the same common region. This isn't true for SMP. With multiple threads present, a few mallocs here and there can disrupt the regions found by different processes. +isomalloc_sync is a solution, but we need to do something about it using FS for synchronizing.

Original date: 2015-10-13 17:49:27

This failure is to be expected when running on SMP without synchronizing isomalloc memory regions first, as Nikhil described. Michael added +isomalloc_sync to the the AMPI tests on net-smp for Jenkins.

Original date: 2015-10-27 20:31:08

Wasn't code merged in the repo. Changing to make filtering clearer.

Original date: 2016-04-19 17:05:26

Could isomalloc on SMP builds maybe spit out a warning that users should really use +isomalloc_sync or expect very likely crashes?

Original date: 2016-04-19 18:50:37

Warning added here:  ~~https://charm.cs.illinois.edu/gerrit/#/c/1150/~~ https://github.com/UIUC-PPL/charm/commit/1b71206ec658e1581f9ee5bcfb816c6249f81a2b


Changes to support Spring Boot 1.5.1

This PR contains changes to support Spring Boot 1.5.1 - the OAuth2RestTemplate doesn't appear to be autoconfigured anymore and has to be explicitly defined by the application. Further a different OAuth2RestTemplate is used internally by the OAuth2 related Spring Security filters to convert the auth_code to the token, this can be customized using a UserInfoRestTemplateCustomizer, I have now used this to add the OpenIDTokenProvider in the chain

@sreetummidi - will be great if you can review.

I've applied the changes and tried with Spring Boot 1.5.3, PCF 1.10, CF SSO 1.3.1. It fixed the issue with Spring Boot 1.5.x. Thanks!

Thanks for providing this pull request. We've since updated our applications to 1.5.5 that included other updates to the application.


OpenTelemetry Collector is disabled

In my app engine logs, I am consistently seeing:
{ "_BOOT_ID": "10093827d09e4a8aa3348732145fb1b7", "MESSAGE": "Oct 30 02:32:50 OpenTelemetry Collector is disabled", "_COMM": "bash", "_SYSTEMD_CGROUP": "/system.slice/flex-opentelemetry-collector.service", "_SYSTEMD_UNIT": "flex-opentelemetry-collector.service", "_UID": "0", "_STREAM_ID": "4d64bd04e6024d029c227bb0ab50201e", "_HOSTNAME": "aef-default-20201023t040523-szr2", "_SYSTEMD_INVOCATION_ID": "54b69d0fc5fb4945a9025b45ba344c05", "_SYSTEMD_SLICE": "system.slice", "SYSLOG_FACILITY": "3", "_GID": "0", "SYSLOG_IDENTIFIER": "bash", "PRIORITY": "6", "_TRANSPORT": "stdout", "_CAP_EFFECTIVE": "3fffffffff", "_PID": "1405225", "_MACHINE_ID": "5b2d6759ad59fef83741f10909893c3e" }
{
insertId: "ojqbqx7a5ppwktn2n"
jsonPayload: {18}
resource: {2}
timestamp: "2020-10-30T02:32:50.416989Z"
labels: {4}
logName: "projects/[REDACTED]/logs/appengine.googleapis.com%2Fopentelemetry_collector"
receiveTimestamp: "2020-10-30T02:32:51.956998535Z"
}
Default
2020-10-30 12:32:50.418 DDUT
{ "_HOSTNAME": "aef-default-20201023t040523-szr2", "_SYSTEMD_UNIT": "flex-opentelemetry-collector.service", "PRIORITY": "5", "_SYSTEMD_CGROUP": "/system.slice/flex-opentelemetry-collector.service", "SYSLOG_IDENTIFIER": "vm_runtime_init", "_GID": "0", "_TRANSPORT": "syslog", "MESSAGE": "Oct 30 02:32:50 OpenTelemetry Collector is disabled", "SYSLOG_FACILITY": "1", "_SYSTEMD_SLICE": "system.slice", "_BOOT_ID": "10093827d09e4a8aa3348732145fb1b7", "_MACHINE_ID": "5b2d6759ad59fef83741f10909893c3e", "_CAP_EFFECTIVE": "3fffffffff", "_COMM": "logger", "_UID": "0", "_SYSTEMD_INVOCATION_ID": "54b69d0fc5fb4945a9025b45ba344c05", "_SOURCE_REALTIME_TIMESTAMP": "1604025170418393", "_PID": "1405236" }
Default
2020-10-30 12:32:50.418 DDUT
{ "_SYSTEMD_SLICE": "system.slice", "_SYSTEMD_INVOCATION_ID": "54b69d0fc5fb4945a9025b45ba344c05", "_BOOT_ID": "10093827d09e4a8aa3348732145fb1b7", "SYSLOG_FACILITY": "3", "_PID": "1405225", "_CAP_EFFECTIVE": "3fffffffff", "PRIORITY": "6", "_TRANSPORT": "stdout", "MESSAGE": "<13>Oct 30 02:32:50 vm_runtime_init: Oct 30 02:32:50 OpenTelemetry Collector is disabled", "SYSLOG_IDENTIFIER": "bash", "_GID": "0", "_UID": "0", "_HOSTNAME": "aef-default-20201023t040523-szr2", "_SYSTEMD_CGROUP": "/system.slice/flex-opentelemetry-collector.service", "_COMM": "bash", "_MACHINE_ID": "5b2d6759ad59fef83741f10909893c3e", "_SYSTEMD_UNIT": "flex-opentelemetry-collector.service", "_STREAM_ID": "4d64bd04e6024d029c227bb0ab50201e" }
Default
2020-10-30 12:32:50.430 DDUT
{ "_SYSTEMD_UNIT": "flex-opentelemetry-collector.service", "SYSLOG_FACILITY": "3", "_HOSTNAME": "aef-default-20201023t040523-szr2", "_EXE": "/bin/bash", "SYSLOG_IDENTIFIER": "bash", "_MACHINE_ID": "5b2d6759ad59fef83741f10909893c3e", "_CAP_EFFECTIVE": "3fffffffff", "_CMDLINE": "/bin/bash /var/lib/flex/vm_runtime/vm_opentelemetry_collector.sh stop", "PRIORITY": "6", "_PID": "1405238", "_COMM": "bash", "_SYSTEMD_CGROUP": "/system.slice/flex-opentelemetry-collector.service", "_UID": "0", "_STREAM_ID": "db1e5ee0211f4aa492f3d62713ff89a9", "_TRANSPORT": "stdout", "MESSAGE": "Oct 30 02:32:50 OpenTelemetry Collector is disabled", "_SYSTEMD_INVOCATION_ID": "54b69d0fc5fb4945a9025b45ba344c05", "_GID": "0", "_BOOT_ID": "10093827d09e4a8aa3348732145fb1b7", "_SYSTEMD_SLICE": "system.slice" }
Default
2020-10-30 12:32:50.430 DDUT
{ "_GID": "0", "_CAP_EFFECTIVE": "3fffffffff", "_COMM": "bash", "_SYSTEMD_INVOCATION_ID": "54b69d0fc5fb4945a9025b45ba344c05", "_MACHINE_ID": "5b2d6759ad59fef83741f10909893c3e", "_STREAM_ID": "db1e5ee0211f4aa492f3d62713ff89a9", "_SYSTEMD_SLICE": "system.slice", "_UID": "0", "SYSLOG_IDENTIFIER": "bash", "_TRANSPORT": "stdout", "_BOOT_ID": "10093827d09e4a8aa3348732145fb1b7", "MESSAGE": "<13>Oct 30 02:32:50 vm_runtime_init: Oct 30 02:32:50 OpenTelemetry Collector is disabled", "PRIORITY": "6", "_CMDLINE": "/bin/bash /var/lib/flex/vm_runtime/vm_opentelemetry_collector.sh stop", "_HOSTNAME": "aef-default-20201023t040523-szr2", "_PID": "1405238", "_SYSTEMD_CGROUP": "/system.slice/flex-opentelemetry-collector.service", "_EXE": "/bin/bash", "SYSLOG_FACILITY": "3", "_SYSTEMD_UNIT": "flex-opentelemetry-collector.service" }
Default
2020-10-30 12:32:50.430 DDUT
{ "_BOOT_ID": "10093827d09e4a8aa3348732145fb1b7", "SYSLOG_FACILITY": "1", "_SYSTEMD_CGROUP": "/system.slice/flex-opentelemetry-collector.service", "_CAP_EFFECTIVE": "3fffffffff", "_UID": "0", "MESSAGE": "Oct 30 02:32:50 OpenTelemetry Collector is disabled", "PRIORITY": "5", "_SYSTEMD_UNIT": "flex-opentelemetry-collector.service", "_HOSTNAME": "aef-default-20201023t040523-szr2", "_SYSTEMD_SLICE": "system.slice", "_SOURCE_REALTIME_TIMESTAMP": "1604025170430790", "_GID": "0", "_SYSTEMD_INVOCATION_ID": "54b69d0fc5fb4945a9025b45ba344c05", "_TRANSPORT": "syslog", "_COMM": "logger", "SYSLOG_IDENTIFIER": "vm_runtime_init", "_MACHINE_ID": "5b2d6759ad59fef83741f10909893c3e", "_PID": "1405249" }
Info
2020-10-30 12:32:50.525 DDUT

These log entries repeat for all my flex services, roughly once a second.
I have opened feedback on this with in GCP Console (and mentioning the incurred log cost), but maybe it is more relevant to here as a configuration issue with sidecars?
If this is something I do indeed have control over (as in I can enable it or something) (though I don't see how and haven't found any information on it), please point me in the right direction.
This began roughly on the 12th of October. After a new version was released.
Cheers!

We have been seeing the same thing since Oct 9

It has been logging pretty consistent at ~9KiB/s (~0.74GiB/day) only dipping down during version deploy

This log line will go away in an upcoming release, but in the meantime if the logs are bothersome (or you don't want to incur the additional log storage) you can setup a Log exclusion filter to omit them as you see fit.


Better error message in with ... as ...

Probably we can catch the error message and give you a better message along the lines of: "Numba is currently unable to compile your code."
Originally posted by @esc in https://github.com/numba/numba/issues/6142#issuecomment-679160903
We can catch the NotDefinedError can report a better message that says the compiler failed to analyze the bytecode.

Can I get this?

@abhinavjonnada82 feel free to start working on it and submit a PR!

This was implemented in https://github.com/numba/numba/pull/6185. Closing.
@abhinavjonnada82 thanks for asking, as evident in #6185, this ticket should be closed, apologies for any confusion. If you'd like to contribute to Numba there's a good first issue label which contains other issues which might be good to try? Thanks.


Services: Pass running services across watch iterations

Implements the basic logic for passing running services across watch mode iterations:

The top-level execute method now returns a map of the services that are still running at the end of the execution.

We pass that service map to the next iteration, and pass the previous version of each service into its new version.

As soon as a service knows its fingerprint, we check if it matches the previous version's fingerprint. If it does match, we "adopt" it instead of starting a new process. If it does not match, we shut it down, and then continue as normal (effectively restarting it).

Still a few cases to handle here, which are in TODOs, but will do in followup PRs.
Part of https://github.com/google/wireit/issues/33

Rebased (sorry if was already reviewing)


do not insert month/day data when the creation date is approximate and contains only year or year + month

Description of the bug
When a user enters a creation date for a deposit and marks the date as "Approximate", H2 is adding an "01" if the month or the month+day was not entered on the form.
Example:
https://sdr.stanford.edu/works/4939 (H2 entry)
https://argo.stanford.edu/view/nw987sj3048 (as deposited)
The date range for this item has been entered as an approximate year to another approximate year. But when writing to Cocina, an "01-01" for month and day was added to each date in the range.
Expected behavior
Users are given the option to enter a creation date for their deposits in the following forms:

year
year, month
year, month, day

They can also:

enter a date range, where the start and end dates each follow the same format as for a single date
check a box labeled "Approximate" for any or all dates entered

If the date entered does not include a month or day, no month or day should be added. If the creation date is "2020" it should not be transformed into "2020-01-01". Similarly, "ca. 2020" should not be transformed into "ca. 2020-01-01"
Additional information
An earlier PR fixed this issue for non-approximate dates but may not have fixed the approximate date case: https://github.com/sul-dlss/happy-heron/pull/2085
I've tested all of these creation date possibilities and how they get represented in Cocina after deposit:
For one creation date (i.e. not a range):

year only: correct Cocina
year-month: correct Cocina
approx year: 01-01 is added
approx year-month: 01 is added

For date ranges:

year-to-year range: correct Cocina
year-month to year-month range: correct Cocina
approx year-to-year range: 01-01 is added to the approx date
approx year-month-to-year-month range: 01 is added to the approx date

So I think it's really only the approx dates that have this issue now.

Thanks for the detailed sleuthing and link to the previous work Andrew (I thought this sounded familiar).  I think the fix is pretty simple (see #2140), but would be good to validate in stage once approved.

@andrewjbtw my fix was merged and I deployed it to -stage and -qa if you want to validate

@peetucket I checked on stage and it all looks good to me. Thanks!


add QSFP cable status to fpgainfo phy

fpgainfo phy reads QSFP cable  status and prints connected or not connected
QSFP0                            : Not Connected
QSFP1                            : Not Connected

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

34 of 43 (79.07%)  changed or added relevant lines in 3 files are covered.
165 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.2%) to 65.305%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

libraries/libboard/board_common/board_common.c
26
35
74.29%

Files with Coverage Reduction
New Missed Lines
%

libraries/libboard/board_common/board_common.c
36
68.65%

libraries/libboard/board_c6100/board_c6100.c
48
66.3%

libraries/libboard/board_n6000/board_n6000.c
81
44.36%

Totals

Change from base Build<PHONE_NUMBER>:
-0.2%

Covered Lines:
13123

Relevant Lines:
20095

💛  - Coveralls


Is there a way to animate SVG fill color with Moti?

Hey Fernando, thanks again for the great library.
Is there a way to combine motifySvg with a React Native Heroicon to animate the SVG fill color?
The following snippet using motifySVG will console.log() the appropriate fill color, but there's no animation of it changing.
(This snippet is the <Child /> within a parent <MotiPressable>.)
import { LinkIcon } from "react-native-heroicons/solid"
import { useMotiPressable } from "moti/interactions"
import { motifySvg } from "moti/svg"
import { forwardRef } from "react"

export default function AnimatedLinkIcon(){
  const AnimatedIcon = motifySvg(forwardRef(LinkIcon))()

  return (
    <MotiIcon
      state={useMotiPressable(({ hovered, pressed }) => {
        "worklet"

        const getFillColor = () => {
          if (disabled && fillColor?.disabled) return fillColor?.disabled
          if (pressed && fillColor?.pressed) return fillColor?.pressed
          if (hovered && fillColor?.hovered) return fillColor?.hovered
          return fillColor?.enabled
        }
        const out = {
          fill: getFillColor();
        }
        console.log(out)
        return out
      })}
      transition={{
        type: "timing",
        duration: 150,
      }}
    />
  )
}

hey, so i think you’d have to copy the source of the icon you want and make its relevant components animated…

also, never call motifySvg inside the component like your example. that’s terrible for performance

OK, thanks! I'll see what I can get working by motifying the relevant pieces of the component.


ios - Device loses connection when FlatList is passed more than 20 images

I'm building an app where I'm fetching images from a storage bucket in Firebase storage.
When I use FastImage in a FlatList for an array of images less than 20 it works fine. However if I try to render more images (I could have up to roughly 100 images in an array), the connection to my device is lost and I have to restart the project in xCode.
/**
 * @param {Array.<String>} images
 */
<FlatList
    data={props.images.slice(0, 30)}
    keyExtractor={item => item}
    columnWrapperStyle={{
        marginVertical: 2,
    }}
    removeClippedSubviews={false}
    numColumns={3}
    getItemLayout={( data, index ) => (
        {length: 100, offset: 100 * index, index}
    )}
    renderItem={({ item, index }) => (
        <Asset
            item={item}
            index={index}
            imageOnPress={props.imageOnPress}
            isImageSelected={props.isImageSelected ? props.isImageSelected(item) : null}
        />
    )}
/>

class Asset extends PureComponent {
     shouldComponentUpdate(nextProps) {
           return this.props.isImageSelected === nextProps.isImageSelected ? false : true;
       }

    render() {
        const priority = setPriorityLevel(this.props.index);

        return (
            <TouchableHighlight
                onPress={() => this.props.imageOnPress(this.props.item)}
                style={styles.imageThumbnail}
            >
                <View style={styles.imageWrapper}>
                    <FastImage
                           style={{
                                flex: 1,
                                marginRight: 2,
                                backgroundColor: colors.gray[1],
                           }}
                           source={{ uri, priority }}
                       />

                    {this.props.isImageSelected && (
                        <Icon
                            name="check"
                            color={colors.greenLime}
                            size={32}
                            style={styles.icon}
                        />
                    )}
                </View>
            </TouchableHighlight>
        )
    }
}

function setPriorityLevel(index) {
    switch(true) {
        case (index >= 0 && index <= 10):
            return FastImage.priority.high;
        case (index >= 11 && index <= 20):
            return FastImage.priority.normal;
        case (index > 20):
            return FastImage.priority.low;
        default:
            return FastImage.priority.low;
    }
};

"react-native": "0.44.0"
"react-native-fast-image": "^0.1.2"

xCode and my console don't throw any errors however I see this image

That's not good. Have you tried running this with Image to rule out the possibility that it's not related to this library?

I have the same problem. Have you find a solution?

Closing as duplicate: https://github.com/DylanVann/react-native-fast-image/issues/195
I'll have to test the connection while working on that issue.


Add UI to opt out of or in to analytics

Description

People might understandably not want to be analysed. Provide a UI to allow them to opt-out out (and opt-in to) analytics.
Currently the proposal is to put a checkbox in /privacy but there are designs in #791 by @panchovm to create a UI to manage preferences (which is also needed in the content safety project).
Additional context
RFC: https://github.com/WordPress/openverse/blob/3fa9f03937d2af356535f158f7f80b20a6bd79d2/rfcs/analytics/20221006-implementation_plan_frontend.md

Thanks for bringing this up. I added the design: needed label to link it with future design ideas I will share.

A working demonstration of this was added in the #821 at the /preferences page but that is for internal use. A user-facing version of this needs to be developed.


PR for issue #4763 "1/0 hangs R"

thanks kostja that's better but I need to do more research on this issue


Use Semantic Versioning for release numbers

Love the work you're doing on the new ORM! I've been following the work on 0.2 closely. It's extremely helpful.
I was just reading the project update blog post where you mention that the new 0.2 release will include breaking changes. (http://www.ember-cli-mirage.com/blog/2016/01/03/0-2-update-only-inject-schema/)
package.json files rely on dependency version numbers that follow Semantic Versioning. That means that someone who declares a dependency on ember-cli-mirage ^0.1.0 won't be expecting 0.2.0 to break anything.
According to semver, a release with breaking changes should increment the major version number. That would make the upcoming ember-cli-mirage release v1.0.0.
So I suggest that the next release on ember-cli-mirage be marked as 1.0.0, and that following releases also follow semver.
Thoughts?

According to https://github.com/mojombo/semver/blob/master/semver.md, any release in 0.y.z may introduce breaking changes, and the public API should not be considered stable. That being said, my personal preference is to allow breaking changes in 0.y.z to 0.y+1.z (0.1.0 to 0.2.0), but not from 0.y.z to 0.y.z+1. (0.1.1 to 0.1.2)

@csantero Doi -- yes, of course you're right. Forgot about the exception of pre-1.0 releases. (I agree with the point re: 0.y+1.z vs. 0.y.z+1 and breaking changes, though that doesn't seem to be an issue with this project.)

Yes, I agree with what you're both saying here. Btw I know this is frustrating, but it felt like the project was going through too many changes for me to release a 1.0.
0.2 introducing breaking changes from 0.1, but I'm happy with where the API is now. After we close all the issues in the 0.2 milestone and release 0.2 proper, I'll want everyone to use it for a bit, and if things seem stable I will release a 1.0 soon after, so we can get proper semver into the release process.

:+1:


415 response from POST/PUT

Very good tutorial, but I had issues with the POST-, and PUT-methods resulting in 415-errors (unsupported media type), which was caused by an missing "Content-Type: application/json"- header, so after adding this in Postman, everything worked like a charm.
It might be a good idea to point this out in the tutorial.
Other than that - top notch tutorial!

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

ID: 583ae3e7-5915-f22b-e54c-6c100cf2a7da
Version Independent ID: 95f2549e-29f9-e31a-b4d0-432b971643ff
Content: Tutorial: Create a web API with ASP.NET Core MVC
Content Source: aspnetcore/tutorials/first-web-api.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

I just found out that you are indeed pointing this out in the tutorial, so there are no issue with this, only bad reading from my side.


Question: Export custom namespace metrics

Hi,
I would like to export metrics under the custom namespaces in CloudWatch. I have a question:
1: For e.g. the metric "M" is under the the namespace "X" with the schema "metrics with no dimensions" and this namespace does not belong to AWS namespaces. How can the example config file look in this case?
It will be really great if someone can help me with the example.
Thanks
Regards,
Shraddha Bhise

How do you get the other dimensions to appear?
For example, I have an environment dimension, and would like to scrape for all environments - so I don't specify that in the dimensions list (because it requires a value), but now I don't see the environment dimension appear in the metrics exposed to Prometheus.


fix(item): input-wrapper now inherits overflow

Related to #17670 and pull request #18502
Pull request checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been reviewed and added / updated if needed (for bug fixes / features)
[x] Build (npm run build) was run locally and any changes were pushed
[x] Lint (npm run lint) has passed locally and any fixes were made for failures

Pull request type
Please check the type of change your PR introduces:

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Currently, a relatively positioned div within an ion-item element cannot overflow any absolutely positioned content it contains.
What is the new behavior?
If the overflow property on the .input-wrapper is set to inherit, it is now possible to overflow as expected.
I realise that this is an addition to a previous pull request (#18502) but I could see no reason to not include the .input-wrapper in the inheritance.
Does this introduce a breaking change?

[ ] Yes
[x] No

Merged. Thank you!

Most welcome. Thanks Liam


sort definitions in the 2019 version

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

Contribution checklist:

[x] I commit to follow the Breaking Change Policy of “no breaking changes
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[ ] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
Adding a new service

[x] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from API Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable version with Breaking Change Validation errors
[ ] Updating API(s) in preview over 1 year

Please follow the link to find more details on PR review process.

/azp run automation - sdk

/azp run automation - sdk

Can one of the admins verify this patch?

/azp run automation - sdk

This is the followup to sorting and ordering of API's and definitions.  https://github.com/Azure/azure-rest-api-specs/pull/10273
Python API's also shouldn't be breaking change. We just added query parameters. Refer: #10209