Default Colors in Panel Configuration are not the same as the default colors in Filament

Package
filament/filament
Package Version
v3.0.0-beta4
Laravel Version
v10.15.0
Livewire Version
v3.0.0
PHP Version
PHP 8.1
Problem description
The default colors, or at the very least for one of them (gray), are not the same colors as Filament's default colors and not the same as TailwindCSS defaults. I noticed this when I changed the color gray to the default in the panel and when I changed the defaults in a custom theme to the TailwindCSS defaults. The defaults from the Panel match TailwindCSS defaults, but Filament does not match either of them.
Before Applying the "Default" Gray in the Panel:

After Applying the "Default" Gray:

Expected behavior
I expect the default colors for Filament to be based on the same colors that Filament uses. As well as the defaults to be based  on TailwindCSS defaults, which I think was the intention because I believe this is a bug.
Steps to reproduce
Step 1: Download the reproduction repository.
Step 2: Go to the AdminPanelProvider and see below.
public function panel(Panel $panel): Panel
{
        return $panel
            ->default()
            ->id('admin')
            ->path('admin')
            ->login()
            ->colors([
                'primary' => Color::Amber,
                'gray' => Color::Gray,
            ])
}

Step 3: Remove and reapply the gray default and notice the huge change in color of the background and topbar.
Reproduction repository
https://github.com/andrewdwallo/company
Relevant log output
No response

I honestly kind of like the default gray in the configuration tho 😂

Filament's default gray is now Zinc as it fits better with the rest of our design system. I don't think this is a bug? https://beta.filamentphp.com/docs/3.x/support/colors#customizing-the-default-colors

Not a bug indeed.

I honestly kind of like the default gray in the configuration tho 😂

That's why we made it so easy to change the colors. 😊

Alright thats fine, thanks!

I see now why I got confused with what the actual default colors are for Filament. In this section of the docs, https://beta.filamentphp.com/docs/3.x/support/colors#customizing-the-default-colors everything is correct. I was reading from this section https://beta.filamentphp.com/docs/3.x/panels/themes#changing-the-colors and completely misunderstood what it was saying. Silly mistake, thanks again.


Support authorization code grant w/ PKCE

Some authentication services return a "code" as part of the OAuth flow and that eventually needs to be converted into a full token. It'd be great to be able to use afterResponse to perform an API request to convert the temporary code into the token?

I'm glad you brought this up however I want to give this a bit more thought than what you're currently proposing. This lib was originally written before the implicit grant became "legacy" (see here for context) so really what this lib should do is now fully support the authorization code grant more formally vs utilizing a hook.
I'll try to get something out by end of week.

@ricokahler thank you for your quick & very interesting reply! I would be happy to help. Looking at the details, it really looks like the flow just needs to have an optional "getToken" function after the initial flow to convert code => token, and an optional "refreshToken" if available. Can I help?

@ricokahler any changes in this matter? Does the library support authorization code flow?

@filipkowal no this lib was built primarily for the implicit grant but i understand that that's no longer recommended.
i'm a bit busy with a few other projects so if you would like to implement this, i am accepting PRs!


cross platform

looking for something just like this but can run on all platforms.
Windows is currently not supported fully, but there are golang libs that provide unix commands that work on windows, so the samples can be made cross platform.
I can dig some out.
But this projects seems dead and not really supported anymore ?

Its not dead, but its not super active either.  The actual framework should work fine, but the examples were never ported.

#41 addresses the question about Windows examples, so there isn't any new feedback here.  Closing.  (If you want to contribute examples for Windows, I would be happy to review a PR.)


Changing environment/scene during training

Hi
I've spent some time finding a way to change the environment/scene during the training I didn't find anything easy.
I've found addDynamicObstacle (but not its counterpart ), also found addStaticObsacle but it seems that it is not used anywhere.
Do you have some tips on How I can achieve that? (I want to randomly appear in an environment/scene during training)
I've questions on continuing learning with rpg_baselines. is it possible?
because I've used model.save() and model.load() but the agent does not seem to gain something from the previous training it's like it starts over.
If it's possible with rpg_baselines, could please tell me how to do continuing learning properly?
(if I can't change environment/scene during training, I would like to train, stop, switch environment/scene, load, and retrain in a fresh new environment)
Best r

Hi
It is very difficult to change the environment during the training since Unity itself does not support it.

Thanks for the reply.
What about continuing learning / curriculum learning in rpg_baselines ?
Can I save a model with model.save()
Then load it for training in another environment and be sure to not start from scratch ?
Br.

yes. this is for sure possible.
For this, I suggest reading the documents about stable baselines3
https://stable-baselines3.readthedocs.io/en/master/index.html


Change regex to better handle messages with multiple groups of parentheses.

With the symbolic name now displaying for pylint, I stumbled across some lint messages that contain multiple groups of ()'s.
Example actual output from pylint directly:
foo.py:34:4: W0702 (bare-except) No exception type(s) specified
message in vim as seen before the fix:
[pylint] W0702: specified (bare-except) No exception type(s) [Warning]
message in vim after the patch is applied:
[pylint] W0702: No exception type(s) specified (bare-except) [Warning]
(note, I have let g:ale_echo_msg_format = '[%linter%] %s [%severity%]'  in my .vimrc)
This patch and test account for extra parentheses.

Cheers! :beers:


Better way for parsing trait-marked constants in struct fields

The current way I get around the many constants that can be passed into certain fields like Nlmsghdr.nl_type is separating each set of constants into its own finite enum and marking the enum as compatible with this field by implementing the NlType trait for that enum. This is a good first step but a use case that came up in this pull request made it clear that currently the best way to differentiate between different enums when parsing a stream where for example nl_type could be one of multiple enums is to use a u16 as the type there and then manually try parsing as both enum types. This is not an ideal way to do this and I'm interested in figuring out a better way to do this.

I've been considering this and it may make the most sense to implement methods in the marker trait. Do you have any thoughts on this @gluxon?

I've been considering this and it may make the most sense to implement methods in the marker trait.

Were you thinking of adding a deserialization method, or something else?

What I'm considering is some sort of approach that takes advantage of the fact that every enum that implements a given marker trait will have variants such that when each variant is converted to an integer, it will have a unique value across all variants in the set of variants for enums implementing the marker trait. This is guaranteed because each integer value must be unique in fields that are not bitwise flags which will never have marker traits. How to implement this is a bit trickier as doing it automatically sounds a bit more complicated but it may be possible to do manually with some TryInto-type code implemented for each marker trait. Does that sound reasonable?

So I was thinking of something like this, but it doesn't work since type ids are defined at runtime.
#[derive(neli)]
enum GenlResponse {
  #[type(3,4)] Nlmsg(Nlmsg),
  #[type(16)] CtrlCmd(CtrlCmd),
}

How to implement this is a bit trickier as doing it automatically sounds a bit more complicated but it may be possible to do manually with some TryInto-type code implemented for each marker trait.

Yeah, I'm leaning towards this as well. Maybe a generic NlPayload type that has a vector of attributes. Other payloads then implement a TryFrom for this type.

Hi Brandon, I've been thinking on this for a bit and I'm pretty sure I have a solution. It's going to take some reworking of the macros but I'd like to do this now rather than down the road.
Proposed solution
I'd like to remove the macro impl_var_trait and rework impl_var and impl_trait as follows.
impl_var would accept the same parameters but also implement TryFrom and TryInto as well as From and Into.
impl_trait would now accept the names of all of the traits that the marker trait is implemented for and the name of the wrapper enum. This would allow me to generate two additional pieces of information in the macro. One additional data structure to generate would be an enum that has a variant wrapping every type that implements the trait. Additionally, I could add an implementation of the marker trait for the enum wrapping all of the other enums that implement the marker trait. For example, if Nla and AnotherConst both implemented MarkerTrait, the invocation of impl_trait would be as follows:
impl_trait!(MarkerTrait, WrapperName, u16, Nla, AnotherConst);

This would generate MarkerTrait implementations for Nla, AnotherConst, and WrapperName which would be defined as follows:
pub enum WrapperName {
    Nla(Nla),
    AnotherConst(AnotherConst),
    UnrecognizedVariant(u16),
}

In addition, Nl would be implemented for WrapperName which would return the number as a single datatype but would allow differentiation between all of the subtypes being wrapped.
Benefits
Dealing with returning one of a few types in neli is impossible it seems even with trait objects because of how the Nl trait is constrained. This leaves us with the option of returning only one type from dserialize() which seems to be best addressed using enums with new type variants. In addition, this would allow WrapperName to be used as a type parameter to deserialize any data type recognized by neli for a given marker trait. This should ease some of the type parameter problems you addressed earlier when we were discussing the example you contributed.
How does this sound?

How does this sound?

Pretty good so far.
From my understanding, the proposed reworkings of impl_var and impl_trait address the type aspect of a Netlink message. Does it extend somehow to the payload? How would I tell neli to parse a response as a Nlmsg payload versus a Genlmsg payload?

Hi Brandon, I'm not sure I understand. Can you clarify a little bit? Nlmsghdr already does take a type parameter to specify the type of payloads. Nlmsghdr also takes a type parameter that you could provide to parse Nlmsghdr.nl_type as an Nlmsg, a GenlId, or even with this feature, you could parse as any type that is marked as NlType. Does that clear things up?

Hi Brandon, I'm not sure I understand. Can you clarify a little bit?

Sure. From my perspective, there's 2 (heavily related) improvements that the ctrl-list.rs example would benefit from. Mainly in the following section:
https://github.com/jbaublitz/neli/blob/899a5c5c11c9749accad4ccd53f4dda3a25f1de3/examples/ctrl-list.rs#L32-L42

The first (which I think this issue is more heavily focused on) is that the first type argument to socket.iter is currently Nlmsg. Ideally it should be some combination of Nlmsg and GenlId since both message types can be returned from the kernel.

The second is that it doesn't properly print the error that the kernel returned. The example is capable of detecting an error, but doesn't know any information beyond that. This is because the 2nd argument to socket.iter is Genlmsghdr<CtrlCmd, CtrlAttr>, but sometimes the response payload can be Nlmsgerr. At the moment there's no possible (or easy way I've found) that takes the response and reinterprets it as Nlmsgerr.

I was hoping we could address the 2nd point in a more general way, but the reality is that this issue probably only comes up with error responses. Meaning we could just have the socket iterator spit out a result instead.

Hi Brandon, finally getting back around to this! I'm going to try to resolve some of these older issues for the v0.5.0 release now that I have a little more time to attend to neli again.
I think you'll be very interested in #50 as this directly ties into some of what you mentioned here. Feel free to give feedback there if you have any thoughts.
I do think when parsing based on a marker trait my proposed solution makes the most sense for a limited scope item to resolve. I think #50 is a much larger project that is equally or more important but will need a different approach. This can be handled by reworking types a bit while issue 50 seems like it will require some ability to try parsing and then reparsing as something else if it fails, all supported by the ability to rewind the buffer.
How does it sound if I go ahead with the macro changes for now and leave #31 and #50 to cover your other concerns?

Take a look at the linked commit above. I think that should resolve this.

Take a look at the linked commit above. I think that should resolve this.

Hey, sorry for the late response. I won't have time for an in-depth code review but if it implements what you proposed above I'm definitely excited for it. 🙂

I think you'll be very interested in #50 as this directly ties into some of what you mentioned here. Feel free to give feedback there if you have any thoughts.

Will do. The poster there is asking the question I was.

This should be fixed via e868974ad4885ea8e4f04038a6ebb9de589ffcf1. Closing.


Checkstyle plugin with google style

Add checkstyle plugin but do not check on compilation yet.
Checkstyle can be run with 'mvn checkstyle:check'
https://issues.apache.org/jira/projects/CRAIL/issues/CRAIL-19
Signed-off-by: Jonas Pfefferle<EMAIL_ADDRESS>

Lets merge this. Also I think, having something like this would be useful for DaRPC and DiSNI as well?

Why not add the checkstyle plugin to the top level pom?

Let me try again last time I checked it did not work as expected.

Moved plugin to parent pom. Note that I do not yet enforce style check on compilation but you can manually run checkstyle with 'mvn checkstyle:check'. I propose whenever someone changes a file to make two commits one that fixes the style and one for the issue. Otherwise solving all the errors would probably take a few hours...

Also if someone is not happy with the suggestions of the style checker please make a pull request to change the google style derived xml file.

Looks good. Can we just rename google_check.xml to checkstyle.xml?

sure

Renamed file.


on_hover_text does not work on disabled items

Describe the bug
I expected that on_hover_text should still work for disabled items (ui.set_enabled(false)) so that one can for example explain why it is disabled. However it does not seem to work.
To Reproduce
Steps to reproduce the behavior:

https://emilk.github.io/egui/index.html
Click the Interactive toggle
Hover over anything in the window
Observe that hover texts do not show up

Expected behavior
Hover texts do show up
let mut some_bool = false;
ui.wrap(|ui| {
    ui.set_enabled(false);
    ui.selectable_value(&mut some_bool, true, "Some label")
        .on_hover_text("Some hover text");
});

Is this by design or is it a bug?
If it is by design, it would be nice with a mode that disables things while still allowing hover texts to be shown.

I think it is a bug. I think it makes sense to allow tooltips for disabled items too.

I've looked at this a bit closer, and have changed my mind. I think on_hover_* should only show something on a proper hover, and that we should have a second on_disabled_hover_* for the disabled behavior.
Motivation: visit the widget gallery and uncheck the "interactive" checkbox. It would be quite weird if a bunch of tooltips appeared when hovering e.g. the hyperlinks. So I think in most cases tooltips shouldn't show when disabled, and when they do it is probably to explain to the user why the e.g. a button isn't clickable.
ui.button("Submit")
    .on_hover_text("Submit form")
    .on_disabled_hover_text("You must complete the form first");

I think that's a very good solution! It fits exactly with the use case I had in mind too.


Remove full cabal build from nightly

[x] Remove full cabal build from nightly (626d98cd0eac35407f3f9e6d8b3cd23d9c68df3e)

Comments
Thread.
Issue Number
n/a

bors r+


Empty string convert to null automatically during db write

Hi,
I use arangojs to write some json data in DB like the following:
{
  "@id": "http://www.n-fuse.de/app.min.css",
  "@type": "http://www.n-fuse.de/classes/Object",
  "created": '2015-06-24T10:52:49.327Z',
  "size": 7714,
  "contentLanguage": "",
  "cacheControl": "",
  "contentDisposition": "",
  "contentEncoding": "7bit",
  "contentType": "text/css",
  "crc32c": "",
  "etag": "",
  "md5Hash": "",
  "name": "app.min.css",
  "prefix": "",
  "_key": "appmincss"
}

The Aql looks like this:
INSERT @node INTO @@collection LET nodes = NEW RETURN nodes

bindVars:
{ '@collection': 'docroot',
     node:
      { '@id': 'http://www.n-fuse.de/app.min.css',
        '@type': 'http://www.n-fuse.de/classes/Object',
        created: '2015-06-24T10:52:49.327Z',
        creator: 'http://www.n-fuse.de/users/thomas.hoppe',
        size: 7714,
        contentLanguage: '',
        modified: '2015-06-24T10:52:49.327Z',
        cacheControl: '',
        contentDisposition: '',
        contentEncoding: '7bit',
        contentType: 'text/css',
        crc32c: '',
        etag: '',
        md5Hash: '',
        name: 'app.min.css',
        prefix: '',
        _key: 'appmincss' } }

However, after wrote into db, I found all properties with empty string is null instead. What's the reason?
I tried to use AQL explicitly with ArangoDB, it works. Therefore I guess it's an arangojs issue.

This seems to be a problem with the HTTP API of ArangoDB itself, not the JS driver.
Performing the query with curl yields the same result:
$ curl --data @- -X POST http://localhost:8529/_api/cursor | json_pp
{"query": "INSERT @node INTO @@collection LET nodes = NEW RETURN nodes", "bindVars": {"@collection":"docroot","node":{"@id":"http://www.n-fuse.de/app.min.css","@type":"http://www.n-fuse.de/classes/Object","created":"2015-06-24T10:52:49.327Z","creator":"http://www.n-fuse.de/users/thomas.hoppe","size":7714,"contentLanguage":"","modified":"2015-06-24T10:52:49.327Z","cacheControl":"","contentDisposition":"","contentEncoding":"7bit","contentType":"text/css","crc32c":"","etag":"","md5Hash":"","name":"app.min.css","prefix":"","_key":"appmincss"}}}
^D
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1204  100   658  100   546   251k   208k --:--:-- --:--:-- --:--:--  321k
{
   "code" : 201,
   "hasMore" : false,
   "error" : false,
   "extra" : {
      "warnings" : [],
      "stats" : {
         "writesIgnored" : 0,
         "scannedFull" : 0,
         "writesExecuted" : 1,
         "filtered" : 0,
         "scannedIndex" : 0
      }
   },
   "result" : [
      {
         "creator" : "http://www.n-fuse.de/users/thomas.hoppe",
         "size" : 7714,
         "@id" : "http://www.n-fuse.de/app.min.css",
         "cacheControl" : null,
         "crc32c" : null,
         "md5Hash" : null,
         "created" : "2015-06-24T10:52:49.327Z",
         "contentEncoding" : "7bit",
         "_rev" : "4079436166",
         "contentLanguage" : null,
         "name" : "app.min.css",
         "contentType" : "text/css",
         "prefix" : null,
         "_key" : "appmincss",
         "modified" : "2015-06-24T10:52:49.327Z",
         "_id" : "docroot/appmincss",
         "etag" : null,
         "@type" : "http://www.n-fuse.de/classes/Object",
         "contentDisposition" : null
      }
   ]
}

Really, but I use the aql in the AQL editor of ArangoDB web UI, it works

Maybe different endpoints of HTTP API are called while using AQL editor?

No, the AQL editor doesn't use bindVars AFAIK. So the problem is likely with the bindVars handling.

Could you file a ticket with https://arangodb/arangodb and reference this one (as arangodb/arangojs#46)?

You are right. That's the point...
Sure, I'll do that

Just for the records: the AQL editor uses the same endpoint, it just doesn't use bindVars. So the query would work without bindVars (e.g. if you inlined the data by using aqb instead of an AQL string). But it should work just fine -- the HTTP API is definitely behaving incorrectly here.

Note: arangodb/arangodb#1383 got fixed.

Super! Thanks your fix


changes to work with clisops split method and filenamer

@ellesmith88 I think daops is not using the clisops master. Should I update?

@cehbrecht Oh yes, you're right. Yes please :)

@ellesmith88 there are some more "prints" in daops:
https://github.com/roocs/daops/blob/89f3b8cffb0e84020e56c6af9450601300aae8c1/daops/utils/normalise.py#L7
Should they be converted to use logging?

@cehbrecht Yes I suppose they should be

@cehbrecht Yes I suppose they should be
Ok. I make an update and merge then ...


allow ice-lite without candidates

i'm not sure if 5245 really allows ice-lite with no candidates and using trickle.
Previously, my interpretation was 'no'. On what basis does hangouts combine trickle and lite @juberti @pthatcherg?

CC @taylor-b

I don't know why an ICE lite endpoint would need to trickle candidates. But I don't see any problem with allowing it.

OK, LGTM.


upstream-community-operators t8c (8.1.0)

Signed-off-by: esara<EMAIL_ADDRESS>

/merge possible

/hold

@esara i see that you are contributor of many versions in this operator. I think you can put yourself to the list of reviewers and then later your PR can be auto merged.


aml compute target core nums

Hi, I created a aml compute target with size STANDARD_D14_V2, one node. But when I log in, I find it is 8 core nums and 16 processors, not 16 core nums. Is that normal ?
Thanks
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ec8b4be5-1978-ad95-4c40-30e8b52e8cb7
Version Independent ID: eb8b1d57-70c6-7cf0-2ebd-a43dede30bb9
Content: What are compute targets - Azure Machine Learning
Content Source: articles/machine-learning/concept-compute-target.md
Service: machine-learning
Sub-service: core
GitHub Login: @sdgilley
Microsoft Alias: sgilley

@leqiao-1 I have tested by creating a STANDARD_D14_V2 compute instance from Azure ML portal and after logging to the instance the no. of CPUs shows as expected.
azureuser@instance1234:~$ lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                16
On-line CPU(s) list:   0-15
Thread(s) per core:    1
Core(s) per socket:    8
Socket(s):             2
NUMA node(s):          2

Thanks. I checked again and found the number of physical cpu is 2.


Outputs with same address and type should be grouped together.

Happen when specifying change_addr=return_addr while calling make_unsigned_transaction().
Ex.
[
  [
    1,
    "bLK6HuxfWZDsC2831WLo3xFzYw3BRZ9RaL",
    10000
  ],
  [
    1,
    "bLK6HuxfWZDsC2831WLo3xFzYw3BRZ9RaL",
    572200
  ]
]

@eukreign will this be covered by the new wallet work?

I would say this is WontFix because it's perfectly reasonable to split some UTXO into several new UTXOS even if they go into the same address. The funding command does something like this intentionally.


Can't install flexbe_app on ubuntu 20.04 ROS version Noetic

I have used flexbe since the beginning of Jan 2024. I decided to reinstall flexbe yesterday and I found this problem.

I use ubuntu 20.04 LTS ROS version : Noetic
I assume that it because of ubuntu update because other packages is working fine.
Please help

I try to run this seperately it can't find flexbe_app because it isn't complied yet

I assume that the problem come from this line of code of file nwjs_install
curl -s -o $TEMPFILE https://dl.nwjs.io/$VERSION/nwjs-$VERSION-$OS-$ARCH.tar.gz
When I access website https://dl.nwjs.io and click version " 0.42.3". I got 504 Gateway Time-out error.  Can we replace this file nwjs.tar.gz manually ? or what do I need to add to use flexBe_app.

susu na

@PanithanRit did you manage to fix this issue? I have the same problem with a Linux arm install.

It's been a while since I tested the noetic version and have never tested an install on Arm.  Did you find a workaround?  Our semester is coming to close, and I'll be working with FlexBE actively this summer (mostly in ROS 2).


minor fix to handle genration of types for array of objects

minor fix to handle genration of types for array of objects https://github.com/wwayne/mooseql/issues/4

Thanks， merging


Add 'arguments' as a reserved word

I noticed some jshint warnings/errors about 'arguments' being a reserved word, so I'm adding it here so that the generator can take care of it for us.

🤖 AutoRest automatic publish job 🤖
> will publish once PR gets merged

@RikkiGibson Correct. I regenerated, but apparently the testserver doesn't have any schemas with 'arguments' as a parameter name.

🤖 AutoRest automatic feature coverage report 🤖
feature set version 2.4.2
❌ General: 0%
no tests were run for this category
✔ Azure: 100%

🤖 AutoRest automatic feature coverage report 🤖
feature set version 2.4.2
❌ General: 0%
no tests were run for this category
✔ Azure: 100%


Replace All Instances of Regex::new() with regex!

Closing as Regex::new is now used instead of regex!
I believe that it is now faster, or it was as of a 1.x release.


[NFC][Sema] Changing API to facilitate recording pontential holes recursively

Just noted while looking up another issue that there are quite few points where we use the same visit pattern to record holes recursively, but since we changed recordPotentialHole some time ago to do that already, we could remove those visit patterns. One thing to improve clarity at call site I try to make recordPotentialHole back to take a TypeVarType and created a new recordAnyTypeVarAsPotentialHole(maybe we can think about a better name) that takes a type a visit recording for all type variable within the type.
So let me know if this makes sense :)

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Cool
@swift-ci test

Build failed
Swift Test Linux Platform
Git Sha - c069e86f83fd1dbd964e58a919bc569cd2e9c8b5

@swift-ci please test Linux platform


Support Dropout operator in ONNX 1.7

Description
With the latest ONNX v1.7, the newest opsets (12,13) requires Dropout to pass the ratio in as an input, rather than an attribute. In order to support exporting most of the CV models to ONNX, this operator needs to work.
References

https://github.com/onnx/onnx/blob/master/docs/Operators.md#Dropout

This has been completed with PR #19017


Styling Recipes Views

In this PR I applied the styles to recipes views using Bootstrap like the rest of the project.

It looks awesome, well done. Please go ahead and merge it.


Gradle8 support

Picked patches from https://github.com/kezong/fat-aar-android/pull/411.
Also add some small changes for backward compatibility with gradle 7 and for build task work

How to use this repository? Any instructions on how to use it instead of the main repo?
@bugDim88


Add support for LSM303AGR

The two chips are similar enough that it should be possible to support both within the same driver.
Initial testing suggests the accelerometer portion of the driver needs little or no modification. The magnetometer appears to be different.

added as of da77b76


Req. #04 - Start writing OS support for Zynq PS

Description: Start work on OS support for PS area
Artifact: We will report the status of our efforts to run an OS on the Zynq’s ARM cores (Processing Subsystem / PS) in the body of this issue, which will be linked in the end-of-sprint release.
Story Points: 13

Cannot complete as the board has not yet arrived

Cannot be completed: an FPGA arrived, but it was not the one we requested.


Multiple mics support has to be implemented

I know this is an awfully generic title but I don't know how to ohrase it better. It seems that the app is not enabling the threshold. I've launched the .exe version on my win10 laptop, set the threshold at 100, but even screaming in my mic does not triggers the sound.

The command window displays that. The [   ] at the bottom looks like a mic volume indicator, but it never fills. Nothing moves. Do I do it wrong ?
kudos to you reading that. I wish I had the level of commitment needed to make such an app, much less maintaining it.

You do it right. I think it has to do with multiple mics recognized by the computer. Scimia just picks the default one
In fact one thing to do would be giving the option to select another one

just because it doesn't  cost anything: try to set 5 as treshold

I tried with 1 and nothing
I also tried with 1000 in case it's à weird inverted scale

Would it be possible to turn off sound totally (in and out) for say 1 minute if a high sound is detected, then increase to 15 min and then 30 min at the third time. My son is yelling when gaming, waking the rest of the family.

Hi! It's actually a good Idea.
here someone said how to control the volume

mic selection support added!
in the new version with graphical interface


support for multiple github ids

Maybe its here and im missing something.
In android settings I can have multipke github accounts. But the apps obly shows me one. It doesnt seem that there is a way to switch between accounts.

We'll center debate in #510


Temporary rename of URL to match what is in the P5 codebase.

Temporary fix to URL because I can't currently repoint the AKA.MS link that we have in the P5 codebase (I think there is an outage). Now that people are picking up P5 they are hitting this issue.

Internal previews

📄 File
🔗 Preview link

docs/troubleshooting/allowunsecuredtransport.md
Allow unsecure transport in .NET Aspire

docs/whats-new/preview-5.md
.NET Aspire preview 5

Instead of actually renaming this file, let's just create a ghost redirect. Then we can leave the name we want, and use the Learn platform as the redirect mechanism instead. Create an entry in the .openpublishing.redirection.json file (something like the following):
    {
      "source_path_from_root": "/docs/troubleshooting/allowunsecuretransport.md",
      "redirect_url": "/dotnet/aspire//troubleshooting/allow-unsecure-transport."
    }


Add support for Vite 3

Please describe the feature
Add support for Vite 3

Working on it right now!


ebreak instruction broken

The ebreak instruction is broken when executing in debug mode or when dcsr.ebreakm is set. The prevents the pulp riscv dbg module from working correctly as it extensively uses this instruction.
The root cause is the ID stage gets flushed as the controller transitions into DBG_TAKEN_ID but should probably remain valid and flush as part of the DBG_TAKEN_ID handling. Transitions into DBG_TAKEN_IF may have similar issues.
I have a trial fix but more thought is required before I produce a PR.

Ah yes I had noticed that too, should be easy enough.

I just tested master Ibex and indeed debugging doesn't work anymore.


[Bug] package-lock.yml changes sha1-hash value after running dbt deps post package installation

Is this a new bug in dbt-core?

[X] I believe this is a new bug in dbt-core
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
When adding a new package to dbt using:
dbt deps --add-package <package-name>@<version>

the package-lock.yml gets updated with a new sha1. However, if one runs:
dbt deps

afterwards, the sha1 gets a new value.
Expected Behavior
When running:
dbt deps

afterwards, the sha1-hash should remain unchanged. The sha1-hash produced from running:
dbt deps --add-package <package-name>@<version>

should be consistent and sufficient.
Steps To Reproduce
Step 1: Set up dbt-core
python -m venv .venv && source .venv/bin/activate
pip install --upgrade pip && pip install dbt-core==1.8.8
dbt init dbt_project; cd dbt_project  # ignoring "No adapters available" error

Step 2: Install dbt package
dbt deps --add-package<EMAIL_ADDRESS>cat package-lock.yml
# packages:
#   - package: dbt-labs/dbt_utils
#     version: 1.3.0
# sha1_hash: 9c30241ae29a43cdbf99a3398f49bf74568f2d54

Step 3: Run dbt deps
dbt deps
cat package-lock.yml
# packages:
#   - package: dbt-labs/dbt_utils
#     version: 1.3.0
# sha1_hash: 226ae69cdfbc9367e2aa2c472b01f99dbce11de0

Notice the new sha1_hash.
Relevant log output
No response
Environment
- OS: Ubuntu 22.04
- Python: 3.11.1
- dbt: 1.8.8

Which database adapter are you using with dbt?
No response
Additional Context
No response

Thanks for reporting this @simadma 👍
I was able to reproduce this issue following the instructions you provided.
When I looked at the value of package_strs here, it shows where the different hash is coming from:
9c30241ae29a43cdbf99a3398f49bf74568f2d54:
['{"install_prerelease": false, "package": "dbt-labs/dbt_utils", "unrendered": {}, "version": "1.3.0"}']

226ae69cdfbc9367e2aa2c472b01f99dbce11de0:
['{"install_prerelease": false, "package": "dbt-labs/dbt_utils", "unrendered": {"package": "dbt-labs/dbt_utils", "version": "1.3.0"}, "version": "1.3.0"}']

I didn't investigate further of why unrendered is an empty dictionary in the former and has content in the latter.
Could you share more about the effect the changing hash is having for your workflows?

Sure! Thank you for looking into this @dbeatty10.
Our team uses ephemeral workspaces that run the following commands at startup to ensure all dependencies are in sync with the lock files in our repositories:
poetry install
cd dbt && dbt deps

However, we noticed that the package-lock.yml file automatically changes at each startup, which seems like an unexpected behavior for a typical lock file. We considered adding it to .gitignore because of this.
The issue arises because we were only executing:
dbt deps --add-package <package-name>@<version>

before committing the new package.yml and package-lock.yml. Now we realize that if we also run dbt deps after package installation before committing the changes, the SHA1 hash will remain consistent on startup.
However, I feel that running the extra dbt deps command post-installation may not have been the intended solution to ensure a constant hash.

Thanks for that additional information @simadma.
I'm glad you found a workaround by adding dbt deps after any commands that include --add-package.
This is probably right on the edge of what we'd consider a bug or not.

On one hand, running dbt deps is required no matter what, and it does install all the correct packages in this scenario.
On the other hand, the package-lock.yml file will be updated in a setup like yours and will show a file difference until it is committed (which is understandably not expected).

Agreed that the original intent in https://github.com/dbt-labs/dbt-core/pull/8408 appears to me that the SHA1 hash would remain consistent regardless if another dbt deps was issued or not, so I will leave this categorized as a bug.
This looks likely to be a low-priority for us due to several available workarounds and because generating a new lock file is still "safe" -- dbt will operate without failure and install the correct packages.
Some workarouds
Here's a few separate workarounds:

Follow any commands that include --add-package with a regular dbt deps (no flags) to update the package-lock.yml file (like you chose to do).
Manually edit + commit packages into packages.yml rather than use the --add-package syntax.
Add package-lock.yml to your .gitignore file and remove it from source control in your git repo
At startup in your scenario, ignore the file differences for the package-lock.yml file after running `dbt deps

Implementation ideas to resolve this issue

Add the expected output of package-lock.yml to the functional test here
Either:

Figure out how to get the unrendered portion of PackageSpec populated in this scenario (ideal)
Remove the unrendered portion prior to committing the hash (less ideal because there will be a one-time change of hashes for everyone).


Fix fishhook import

Motivation
We were getting a 'file not found' error, when we tried to integrate React Native through CocoaPods.
Screenshot
Removing the first part of the import has fixed the import statement. Let Xcode found the correct location/file.
Test Plan

Clone the following repository.
Run npm install
Try to compile the iOS project.
You're getting a file not found error.
Modify the import statement in the RCTReconnectingWebSocket.m file.
Try to compile the iOS project.
If everything goes well, you're getting a Build Successful message.

Or you can watch the video below.
Video
Release Notes
[IOS][BUGFIX] - Make sure you can use React Native through CocoaPods

@facebook-github-bot duplicate https://github.com/facebook/react-native/pull/16271

This should probably be solved using this approach: https://github.com/facebook/react-native/issues/13198#issuecomment-371749528

closing as a duplicate of #16271


execptions from dead celluloid actors aren't caught

I'm not sure what causes this, but my landrush server frequently gets into a state where one of the 'actors' that the celluloid library croaks, the exception isn't caught by landrush, and the server no longer responds to queries. A quick vagrant landrush restart gets everything working again, so it's not a dealbreaker. The backtrace from ~/.vagrant.d/data/landrush/log/Landrush-Server.log looks like:
E, [2015-04-23T15:35:30.554367 #1449] ERROR -- : <47376> Exception thrown while processing google.com Resolv::DNS::Resource::IN::A!

E, [2015-04-23T15:35:30.555054 #1449] ERROR -- : /Users/eric/.vagrant.d/gems/gems/landrush-0.18.0/lib/landrush/server.rb:60:in `block (2 levels) i
n run'
E, [2015-04-23T15:35:30.555126 #1449] ERROR -- : /Users/eric/.vagrant.d/gems/gems/rubydns-0.9.4/lib/rubydns/server.rb:217:in `[]'
E, [2015-04-23T15:35:30.555195 #1449] ERROR -- : /Users/eric/.vagrant.d/gems/gems/rubydns-0.9.4/lib/rubydns/server.rb:217:in `call'
E, [2015-04-23T15:35:30.555278 #1449] ERROR -- : /Users/eric/.vagrant.d/gems/gems/rubydns-0.9.4/lib/rubydns/server.rb:327:in `block (2 levels) in process'
E, [2015-04-23T15:35:30.555383 #1449] ERROR -- : /Users/eric/.vagrant.d/gems/gems/rubydns-0.9.4/lib/rubydns/server.rb:325:in `catch'
E, [2015-04-23T15:35:30.555501 #1449] ERROR -- : /Users/eric/.vagrant.d/gems/gems/rubydns-0.9.4/lib/rubydns/server.rb:325:in `block in process'
E, [2015-04-23T15:35:30.555586 #1449] ERROR -- : /Users/eric/.vagrant.d/gems/gems/rubydns-0.9.4/lib/rubydns/server.rb:322:in `each'
E, [2015-04-23T15:35:30.555656 #1449] ERROR -- : /Users/eric/.vagrant.d/gems/gems/rubydns-0.9.4/lib/rubydns/server.rb:322:in `process'
E, [2015-04-23T15:35:30.555801 #1449] ERROR -- : /Users/eric/.vagrant.d/gems/gems/rubydns-0.9.4/lib/rubydns/transaction.rb:192:in `process'
E, [2015-04-23T15:35:30.555887 #1449] ERROR -- : /Users/eric/.vagrant.d/gems/gems/rubydns-0.9.4/lib/rubydns/server.rb:106:in `block in process_que
ry'
E, [2015-04-23T15:35:30.555957 #1449] ERROR -- : /Users/eric/.vagrant.d/gems/gems/rubydns-0.9.4/lib/rubydns/server.rb:98:in `each'
E, [2015-04-23T15:35:30.556025 #1449] ERROR -- : /Users/eric/.vagrant.d/gems/gems/rubydns-0.9.4/lib/rubydns/server.rb:98:in `process_query'
E, [2015-04-23T15:35:30.556094 #1449] ERROR -- : /Users/eric/.vagrant.d/gems/gems/rubydns-0.9.4/lib/rubydns/handler.rb:55:in `process_query'
E, [2015-04-23T15:35:30.556162 #1449] ERROR -- : /Users/eric/.vagrant.d/gems/gems/rubydns-0.9.4/lib/rubydns/handler.rb:87:in `respond'
E, [2015-04-23T15:35:30.556249 #1449] ERROR -- : /opt/vagrant/embedded/gems/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public_send'
E, [2015-04-23T15:35:30.556321 #1449] ERROR -- : /opt/vagrant/embedded/gems/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch'
E, [2015-04-23T15:35:30.556391 #1449] ERROR -- : /opt/vagrant/embedded/gems/gems/celluloid-0.16.0/lib/celluloid/calls.rb:122:in `dispatch'
E, [2015-04-23T15:35:30.556459 #1449] ERROR -- : /opt/vagrant/embedded/gems/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke'
E, [2015-04-23T15:35:30.556528 #1449] ERROR -- : /opt/vagrant/embedded/gems/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'
E, [2015-04-23T15:35:30.556597 #1449] ERROR -- : /opt/vagrant/embedded/gems/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task'
E, [2015-04-23T15:35:30.556665 #1449] ERROR -- : /opt/vagrant/embedded/gems/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initializ
e'

I'll debug further but wanted to drop this issue here in case anyone else has seen this problem.

I'm getting the same thing, except running a restart doesn't fix the issue. I have to keep uninstalling and then reinstalling Landrush.

We are seeing this error on Landrush all the time where our dns on the guest machines totally dies.

The upcoming version of Landrush (w/ Windows support) won't be using celluoid anymore. I think once the release is out, we can close this issue.

That's awesome to hear. Are there going to be any major API changes coming? I use Landrush programmatically, so will need to migrate if there is. Windows support sounds amazing, have a few users that have been waiting for that!

Version 1.0.0 is released now which abandons Celluoid in order to be able to use Landrush on Windows as well. Hence this issue is really obsolete.

Are there going to be any major API changes coming? I use Landrush programmatically, so will need to migrate if there are.

Hmm, there are a few changes in Landrush:Server, so you might need to adjust. For example you need to explicitly the working directory now. This is a bit flaky imo, since_Server_ is currently a bunch of static methods. I am planning to make this a proper instance which one needs to instantiate - see issue #178. I think that would also suite your programmatic use case better. Apart from that there is now a start and run method. Depending on what you do, you might need to call one or the other. If you want Landrush to start in the background as separate process, call start. I think this is unchanged. If you have any issues upgrading let us know.

🎉 glad to see this obsoleted 🎉


TypeError: 'type' object is not subscriptable

Hello!
Im compiled sample and use this file at ida 7.7, here is the error:

how to solve it?
thank you

Ok...IDA 8.3 can run the script good.
Sorry for disturb, thanks


Changed lines calculation is incorrect

It doesn't stop at definition boundaries at the moment. Sums up the sizes of hunks even if they exceed the boundaries of a function/class definition.

It doesn't correctly count deleted lines.

Right now, hunk boundary calculation only uses added lines. So we are correctly dealing with deleted lines, given that we only report on classes and functions in which there have been additions or modifications.


fatal: Authentication failed for...

This step: git push azure master.
Does not accept password from this step: az webapp deployment user set --user-name  --password .
Or the local git password.

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

ID: ac1cd213-5a9f-ae10-73b5-96061bfbd9d9
Version Independent ID: cec78ca0-f4c0-970e-dde0-44db72d3819f
Content: Create a Python web app in Azure
Content Source: articles/app-service/app-service-web-get-started-python.md
Service: app-service-web
GitHub Login: @cephalin
Microsoft Alias: cephalin;cfowler

@ratchetwrench Thank you for your feedback! We will investigate and get back to you with our findings.

Had to go to Azure —> App Service —> Deployment User and save credentials. Then it worked.

At this step  "git push azure master" it prompted me for credentials , after providing deployment user credentials it throws an error  "fatal: Authentication failed for 'https://<website_name>azurewebsites.net/'"
I have changed the deployment user from portal but hitting same error

while deploying to a web app, i had to go to Deployment Center, Deployment Credentials. And then use either the App Credentials or create User Credentials. After this, delete the cached credentials on the local machine (windows: Control Panel\User Accounts\Credential Manager). run "git push webapp master:master" again, enter either of the Deployment Credentials. This worked for me.

The Application Scope's username is generated in this format: <app-name>\$<user-name>. But, as it turns out, you must use the second half starting from $ i.e. $<user-name> as your local git's username.


outputCardNumbers output scope variable is always undefined

I have angular v1.2.26 and angular-multiseled 5.5.4.
My problem is simple the component bind correctly the driver cards number in multiselect, I change something or anything and click ok in my form, always the $scope.outputCardNumbers variable is undefined. I don't know why?
This is code:
Javascript form controller:
define(['modules/master/module'], function (module) {
"use strict";
module.registerController('DriverFormCtrl', ['$scope', '$modalInstance', '$log', 'driver', function ($scope, $modalInstance, $log, driver) {
    $scope.driver = driver;

    $scope.inputCardNumbers = driver.cardNumber;

    $scope.okModal = function(){
        if ($scope.driverForm != undefined && $scope.driverForm.$invalid)
            return;

        // refresh driver cardNumbers
        angular.forEach( $scope.outputCardNumbers, function( value, key ) {
            $scope.driver.cardNumber = [];
            $scope.driver.cardNumber.push('A');
        });

        $modalInstance.close($scope.driver);
    }
    $scope.cancelModal = function(){
        $modalInstance.dismiss('cancel');
    }
}])

});
HTML code:
...

Card number

...

Hi,
Well my first question is, are you sure you're using this directive? The latest release is version 4.0.0, not 5.5.4.

Hi,
Yes I'm sure that I'm using your directive;), maybe the version was wrong, now I'm using other lower version: 3.0.0, so I must to reconfigure all the javascript access, etc and also the directive configuration with it:
        <div isteven-multi-select
             input-model="inputCardNumbers"
             output-model="outputCardNumbers"
             button-label="number"
             item-label="number"
             tick-property="active"
             selection-mode="single"
             helper-elements="noall nonone reset nofilter">
        </div>

Now I show the number description of the driver card with the atribute button-label and also I can recover the result (single mode) with this.outputCardNumbers and not with $scope.outputCardNumbers and I don't know why, the $scope.outputCardNumbers is undefined again
Regards.

OK, can you replicate your codes in JsFiddler or Plunker? Surely I can see bigger picture there.

It's so complicated for me because I use requirejs, but I'll try to decompose this part of the problem ...
The problem I think it's that, your component is used for me inside a floating form define like a directive, so this directive has it's one scope, so maybe your component create the outdata in other scope, I don't know.
The strange it's that why your component get correctly the input-data but not the out-data and always is undefined.
Regards.

If it's really a scope problem (and indeed quite many people had this problem), you may want to try adding a dot (basically use a child object), such as:
output-model="output.data"

Then you can loop it like..
angular.forEach( $scope.output.data, function( val, key ) {
....

Sorry for this later response but with the version 3.0.0 outputModel is always undefined ...

@masalinas ,
Can you open the directive's JS code and check if it's version 4.0.0 or 3.0.0? The latest should be v4.0.0.
If you're not sure, download the latest from Github's releases page; https://github.com/isteven/angular-multi-select/releases
If it still doesn't work then unfortunately I'll need you to replicate the problem in Plunker or JsFiddler.


npm install failing

Do you want to request a feature or report a bug?
Bug
What is the current behavior?
sudo npm install -g preact-cli fails with the following output:
/usr/local/bin/preact -> /usr/local/lib/node_modules/preact-cli/lib/index.js

><EMAIL_ADDRESS>postinstall /usr/local/lib/node_modules/preact-cli/node_modules/uglifyjs-webpack-plugin
> node lib/post_install.js

><EMAIL_ADDRESS>postinstall /usr/local/lib/node_modules/preact-cli/node_modules/preact
> node -e "console.log('\u001b[35m\u001b[1mLove Preact? You can now donate to our open collective:\u001b[22m\u001b[39m\n > \u001b[34mhttps://opencollective.com/preact/donate\u001b[0m')"

Love Preact? You can now donate to our open collective:
 > https://opencollective.com/preact/donate

><EMAIL_ADDRESS>postinstall /usr/local/lib/node_modules/preact-cli/node_modules/simplehttp2server
> node lib/install.js

/usr/local/lib/node_modules/preact-cli/node_modules/each-async/node_modules/onetime/index.js:15
				throw new Error(fnName + ' can only be called once.');
				^

Error: callback() can only be called once.
    at onetime (/usr/local/lib/node_modules/preact-cli/node_modules/each-async/node_modules/onetime/index.js:15:11)
    at /usr/local/lib/node_modules/preact-cli/node_modules/download/index.js:156:5
    at ConcatStream.<anonymous> (/usr/local/lib/node_modules/preact-cli/node_modules/concat-stream/index.js:36:43)
    at emitNone (events.js:110:20)
    at ConcatStream.emit (events.js:207:7)
    at finishMaybe (/usr/local/lib/node_modules/preact-cli/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_writable.js:607:14)
    at endWritable (/usr/local/lib/node_modules/preact-cli/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_writable.js:615:3)
    at ConcatStream.Writable.end (/usr/local/lib/node_modules/preact-cli/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_writable.js:571:41)
    at DuplexWrapper.onend (/usr/local/lib/node_modules/preact-cli/node_modules/duplexer2/node_modules/readable-stream/lib/_stream_readable.js:570:10)
    at Object.onceWrapper (events.js:314:30)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/preact-cli/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>postinstall: `node lib/install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/rakesh/.npm/_logs/2017-10-17T13_43_02_875Z-debug.log

If the current behavior is a bug, please provide the steps to reproduce.
sudo npm install -g preact-cli

What is the expected behavior?
npm install should install preact-cli
If this is a feature request, what is motivation or use case for changing the behavior?
NA
Please mention other relevant information.

node version: v8.2.1
npm version: 5.5.1
Operating system: Ubuntu

I also tried npm cache clear --force to ensure that this wasn't some npm caching issue, but that didn't help any.

@rakeshpai I had the same problem. Try with older node version, eg 6.6.0 works

I'm having this problem too but on node 8.5.0, npm 5.5.1 and macOs 10.12.6.
Using yarn instead of npm worked for me.

Please try the suggestion here: https://github.com/developit/preact-cli/issues/424#issuecomment-341988315

@lukeed chowning those directories didn't fix it for me, unfortunately. Still unable to install preact-cli. :( This does smell like an npm-related issue, though.

I've installed node using n (so I'm doing option 1 from https://docs.npmjs.com/getting-started/fixing-npm-permissions), and am also seeing this issue.

Faced same issue on Mac os Sierra.
Changed node version to 6.6.0 and then it worked.
$ npm install -g n
$ n 6.6.0


Send custom message with email alerts.

Added an option to send custom email message. This can be used to provide more context to the receivers of these emails, eg by giving them actionable instructions are by linking them to a help center page.
Also, removed unused parameter.
Test plan

Couldn't get my local changes to run (it would always run the pip-installed airflow instead) tested my changes by copypasting into ipython instead.

email_message could use a more clear name like failure_email_preamble or something like that, and the field should be documented in BaseOperator's docstring, specifying that it will be added before the body of the classic email and that it support html syntax.

Totally useful hook BTW!

How do you guys use airflow internally? Is all of your alerting email based?
I like the concept of generalising alerts to be less email specific and more just "notifications". That way users could plug in different modules to alert them of job failure/success and trigger external systems/monitoring tools. One such case would be SNS alerting to push job success messages to topic rather than specifically use email.

We use PagerDuty to bubble up alerts. PagerDuty can receive an email and broadcasts alerts using intricate rules around who's on call, their preferred method of contact (SMS, email addresses, Slack, PagerDuty phone app...), groups, schedules, ...
We also have StatsD setup on some of the job events (see airflow/jobs.py) and something called Datadog that integrates with StatsD and can alert us if the scheduler stops looping, or if no jobs are started or succeed for over a half hour. StatsD / Datadog is also how we monitor the health of the Airflow machines (memory, cpu, disk space, ...).

Old, closing for now


Ampersands doesn't get encoded

When processing a perfectly valid SVG image with encoded ampersands (&) they get replaced with raw ones which makes the image unrenderable.
We had to circumvent this using a regex to replace them https://github.com/imagemin/imagemin-svgo/blob/master/index.js#L37. Would be nice if svgo kept images valid when optimizing.

Actually, they were already encoded, but I've slightly improved it.


CI test is failing due to error: dpkg status database is locked by another process

CI test is failing due to error: dpkg status database is locked by another process. Both Mark and I have run into this issue:
https://ci.vmware.run/vmware/docker-volume-vsphere/1063
https://ci.vmware.run/vmware/docker-volume-vsphere/1065
@msterin @shuklanirdesh82 @kerneltime

Hit this issue durin CI run: https://ci.vmware.run/vmware/docker-volume-vsphere/1095
===================================
Snippet from error log:
=> Deploying<EMAIL_ADDRESS>: deb Wed Feb 8 23:11:59 UTC 2017
dpkg: error: dpkg status database is locked by another process
make[1]: *** [deploy-vm] Error 2
make: *** [deploy-vm] Error 2
=> Build + Test not successful Wed Feb 8 23:12:00 UTC 2017

Failed CI run: https://ci.vmware.run/vmware/docker-volume-vsphere/1098
=====
=> Deploying<EMAIL_ADDRESS>: deb Thu Feb 9 00:30:49 UTC 2017
dpkg: error: dpkg status database is locked by another process
make[1]: *** [deploy-vm] Error 2
make: *** [deploy-vm] Error 2

CI run: https://ci.vmware.run/vmware/docker-volume-vsphere/1099
==========
=> Deploying<EMAIL_ADDRESS>: deb Thu Feb 9 00:46:08 UTC 2017
dpkg: error: dpkg status database is locked by another process
make[1]: *** [deploy-vm] Error 2
make: *** [deploy-vm] Error 2
=> Build + Test not successful

Looking at it, just a quick note (<IP_ADDRESS> & <IP_ADDRESS> only are having the issue).

@shaominchen @ashahi1 : I've fixed both VMs and made sure by running multiple times. Please reopen if observes again.


VSCode Doesn't Automatically Use System Proxy

VSCode Version: 1.1.1
OS Version: Windows 7

Steps to Reproduce:

Install VSCode behind a firewall configured via a pac file
Try to install a C# extension
Fail
Uninstall and use something else

The system admin has disabled the settings in IE via Group Policy so I can't work out what the pac is and as such can't work out the proxy to put in the config.
VSCode should just use the system proxy settings by default and ask for a username/password if necessary.
There should still be manual options for proxies in the config, however, it would also be useful for someone to have the option to specify a pac file too if for some reason the auto detection doesn't work.

AFAIK, pac file will only proxy requests whose domain is on the list and I suspect our marketplace is not listed, in this case our requests are not going through your proxy. Can you help make sure
If those two urls are accessible and we do not detect system proxy, then it's a valid request.

I am just chiming in on this to suggest that if PAC files are supported, it would be useful to support WPAD files as well for automatic proxy detection.  I don't know if this is so much a bug as a feature suggestion (but that is up to you guys).

I have the same issue as the @opticyclic. All these urls are accessible in MSIE, but don't work for VSCode. Because VSCode does not use system default network settings (via the WinInet.dll so something), it just connect the Internet directly. This is the issue.

Finally someone that knows how the sausage gets made. Thanks for the info @stanleyxu2005.

I have the same issue since few days and only in Code - Insiders.
All 3 URL's are accessible in Chrome browser.
"extensionsGallery": {
    "serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery",
    "cacheUrl": "https://vscode.blob.core.windows.net/gallery/index",
    "itemUrl": "https://marketplace.visualstudio.com/items"
}

<IP_ADDRESS> forwards to https://markedplace.visualstudio.com while <IP_ADDRESS>:443 cause a timeout. I informed our network team, and they told that neither our proxy nor our firewall blocks any network request to <IP_ADDRESS>:443
When I try <IP_ADDRESS>:443 on my iPhone it tells me that Certificate Error - The identity of https://<IP_ADDRESS>/ can't be verified and only on pressing the continue button in Safari I get forwarded to https://marketplace.visualstudio.com

Got the same problem here in our company network with version 1.9.1
Is the IP address hardcoded in VSC or the domain? I did not have troubles browsing to the domain directly, but extensions cannot be loaded because of "connect ECONNREFUSED <IP_ADDRESS>:443"

Same issue as posted earlier using version 1.9.1... "ECONNREFUSED <IP_ADDRESS>:443". If I test the URL's posted previously I get the following:
https://marketplace.visualstudio.com/_apis/public/gallery - Results in a 404 error
https://vscode.blob.core.windows.net/gallery/index - appears to work fine
https://marketplace.visualstudio.com/items - Results in a 404 error.

To verify this is not something related to my work network, I attempted to connect to the same URLs through my cell phone. The same results appeared.

For your information: Using the key ""http.proxy":"http://username@ip:port" in user settings does work for me without entering a password (got authenticated before by Windows).
So all works as expected for me now, thanks

I am still facing this issue. The URL <IP_ADDRESS>:443 doesn't resolve

Same issue on OSX

Actually, Code now uses the system proxy settings. Which doesn't mean that proxy issues are fixed for every one. More in #22214


[TWallet] This update ensures that the Twallet provider emits a networkChange

This update ensures that the Twallet provider emits networkChange event even if the chainId remains the same, such as when switching between the Ethereum mainnet and the Aptos mainnet.

@lcs86-dev need to resolve conflicts before we can merge it

@lcs86-dev need to resolve conflicts before we can merge it

I've just resolved the conflicts. Thanks.

@lcs86-dev build is failing due to pnpm-lock file is not updated - could you rebase with main and make sure to run pnpm install?

@lcs86-dev build is failing due to pnpm-lock file is not updated - could you rebase with main and make sure to run pnpm install?

I will go ahead and close this PR and then create a new one. thank you.


[WIP] Add support for Pandoc's generic raw attributes

See #225 and https://pandoc.org/MANUAL.html#generic-raw-attribute.
Pandoc added support for Inline and Block raw attributes with version 2.0.

LaTeX still isn't included perfectly. It might have something to do with the injectionsSelector property of the LaTeX grammars file.
With this branch of language-markdown:

With language-latex highlighting:

@Aerijo Your gist detailing injections is super helpful, and I see you've also worked on the language-latex package. Do you happen to quickly see the issue?
This is the relevant portion of the grammars file
  {
    begin: '^\\s{0,3}([`~]{3,})\\s*\\{\\s*=(latex|beamer)\\s*\\}\\s*?$'
    beginCaptures:
      1: name: 'punctuation.md'
    end: '^\\s{0,3}(\\1)$'
    endCaptures:
      1: name: 'punctuation.md'
    name: 'fenced.rawattribute.md'
    contentName: 'source.embedded.latex'
    patterns: [{ include: 'text.tex.latex' }]
  }

The scopes for the incorrectly-colored \begin{tabular} are:
Scopes at Cursor

text.md
fenced.rawattribute.md
source.embedded.latex
meta.function.environment.general.latex

and the scopes for the correctly-colored begin{center} are:
Scopes at Cursor

text.md
fenced.rawattribute.md
source.embedded.latex
meta.function.environment.general.latex
support.function.be.latex

When the file's scope is set to text.tex.latex, the scopes for \begin{tabular} are:
text.tex.latex
meta.function.environment.general.latex
meta.function.environment.tabular.latex
support.function.be.latex

I don't understand how the scopes are so different for the same text.

Could you also add tests for this?
They might conflict with special attributes from one of the other flavors.
Will have a better look at it when I'm back home from my holiday.

@kylebarron Thought this through a bit. How widely used is this syntax?
Fenced code blocks already have the widely used syntax
``` js
and special attributes from Markdown Extra
``` js {.code-block #javascript}
if I remember correctly, don't use them myself.
Moving the language (detection) inside the curly brackets makes it quite a bit more complicated. Since the list of supported languages is dynamic (see https://github.com/burodepeper/language-markdown/blob/master/lib/GrammarCompiler.js#L82-L112 and https://github.com/burodepeper/language-markdown/blob/master/grammars/fixtures/fenced-code.cson), and is part of the grammar that is compiled, this change might be a tad more complicated than it seems.

...the dreaded $base.
language-latex uses that pattern to refer back to it's top level, which is fine in a normal file, but it technically always means the base grammar of the file. Which in this case is language-markdown (hence the reversion to markdown scoping). The issue is well known with the C family of grammars, because they all share similar syntax and so use $base frequently.
I don't know if a solution is possible. The issue is less noticeable with my language-latex2e grammar, because I made a point of avoiding $base, but it seems some snuck in when I decided to copy and paste the table logic from language-latex.
On a different note, the patterns: [{ include: "text.tex.latex" }] is largely redundant, as it will automatically inject itself anywhere the source.embedded.latex scope is. Hypothetically, if the package were to remove it's injectionSelector key, then it would need patterns: .... But that probably won't happen. Having said that, it probably doesn't hurt to keep it.

@burodepeper

Moving the language (detection) inside the curly brackets makes it quite a bit more complicated. Since the list of supported languages is dynamic

Taking capture groups and putting them in scope names is actually supported. I believe I've even seen a "to lower case" transformation (but can't confirm that). So you could capture the name in the braces, and use contentName: "source.embedded.$1".
This relies on the other language declaring itself with an injectionSelector, but could be good as a generic fallback. It seems to currently either include: "source" or scope as source.embedded, neither of which seem to do anything.
More on that here (I think; it's been a while since I've read it).
As for the note about spell checking with scopes: I need to follow up on that. I raised an issue, but nothing else has happened. I guess that's a while off, and you can ignore this comment for the time being.

Taking capture groups and putting them in scope names is actually supported. I believe I've even seen a "to lower case" transformation (but can't confirm that). So you could capture the name in the braces, and use contentName: "source.embedded.$1".

I've seen that as well. Found it in language-todo. Only works if all grammars use the same source.embedded.*** which they don't, and it also depends on the user knowing the scope of whatever language they use. js vs javascript for instance. It would work for a lot of circumstances, but not for all.

More on that here (I think; it's been a while since I've read it).

@Aerijo Did you write that guide? Never seen it before. I've just been hacking stuff together over the years.

@burodepeper I wrote it at some point as a personal reference, but decided to make it a full guide. I've left some things unfinished, but I'm happy with it on the whole (and have referred back to it a couple of times).

@Aerijo 👍 I'll give it a read when I have some more time.

My main motivations for this change are that I often have sections of LaTeX, especially tables, within a Markdown document that I then use Pandoc to convert to PDF. The current highlighting of embedded latex is especially bad. Here's an example (copy-pastable text at the bottom):

Note that the HTML injection incorrectly colors all text after the table because it thinks a tag has been opened. With pandoc embedded_latex.md -o embedded_latex.pdf, that becomes:

Pandoc allows raw TeX either openly within the document or within raw attribute blocks, i.e.
```{=latex}
table here
```

There is no functional difference in Pandoc; it's just that for the syntax highlighting, the raw attribute blocks should be easier to color. Ideally, there would also be injections for common LaTeX environments like \begin{table}, \begin{equation}, etc.
@burodepeper

Moving the language (detection) inside the curly brackets makes it quite a bit more complicated.

I'm not moving the language detection inside the curly brackets. Instead I'm doing earlier detection for three specific rules. That's why #pandoc-raw-attribute-blocks has to be before #fenced-code-blocks. Unless the block starts with one of
```{=latex}
```{=html}
```{=openxml}

the block won't match any rule in #pandoc-raw-attribute-blocks and will continue on to #fenced-code-blocks for further classification.
You could argue that there's a cleaner way to add the code, but I don't see yet how this specific addition makes the language detection more complicated.
@Aerijo

...the dreaded $base.

Can you enlighten me on why language-latex needs to use $base? You write:

$base: similar to $self, but with some differences when embedded in another grammar. Not important right now, but just remember that $base is not the same as $self when your grammar is embedded in another. $self points to the grammar $self appears in (points to itself), whereas $base points to the base language of the file, which could be anything. If you don't know what I mean by embedded, don't use $base.

What's the benefit of $base then? It seems this is an example of why the grammar should use $self instead of `$base...
embedded_latex.md:
---
title: Embedded LaTeX
header-includes:
    - \usepackage{booktabs}
---

\begin{table}[htbp]\centering
\def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}
\begin{tabular}{l*{5}{c}}
\toprule
&\multicolumn{1}{c}{(1)}&\multicolumn{1}{c}{(2)}&\multicolumn{1}{c}{(3)}&\multicolumn{1}{c}{(4)}&\multicolumn{1}{c}{(5)}\\
&\multicolumn{1}{c}{Dep. Var. }&\multicolumn{1}{c}{Dep. Var. }&\multicolumn{1}{c}{Dep. Var. }&\multicolumn{1}{c}{Dep. Var. }&\multicolumn{1}{c}{Dep. Var. }\\
Variable & 0.00\sym{**} & 0.00\sym{**} & 0.00 & 0.00 & 0.00\sym{**} \\
        & (0) & (0) & (0) & (0) & (0) \\
\addlinespace
Variable & 0.00\sym{***}& 0.00\sym{***}& 0.00\sym{***}& 0.00\sym{***}& 0.00\sym{***}\\
        & (0) & (0) & (0) & (0) & (0) \\
\addlinespace
Constant & 0.00\sym{***}& 0.00\sym{***}& 0.00\sym{***}& 0.00\sym{***}& 0.00\sym{***}\\
        & (0) & (0) & (0) & (0) & (0) \\
\midrule
N       & 0 & 0 & 0 & 0 & 0 \\
\bottomrule
\multicolumn{6}{l}{\footnotesize Standard errors in parentheses}\\
\multicolumn{6}{l}{\footnotesize \sym{*} \(p<0.05\), \sym{**} \(p<0.01\), \sym{***} \(p<0.001\)}\\
\end{tabular}
\end{table}

text is miscolored from now on

@kylebarron
Have you seen #190?
Additionally, if I use your testcase and fenced the latex with ```latex it doesn't work correctly either. The culprit seems to be the language-html that gets injected too early. That's something that needs to be fixed in any case.
I get the idea that you want to add it for just these three 'selectors'. Is that as far as it will go? Or will extra options have to be added in the future?

I hadn't looked at #190 in a while. I'll take a look at it again.
Note that there is a difference between  ```{=latex} and ```latex. The former tells Pandoc to evaluate the LaTeX code, whereas the latter means display the code verbatim in the final output.

Additionally, if I use your testcase and fenced the latex with  ```latex it doesn't work correctly either.

Here's what I (and probably you) see:

At the beginning at least, LaTeX is correctly colored. That's why \begin{table} is colored well. Now I realize that the use of $base in the language-latex package is the reason why Markdown highlighting appears within the block. Every time they do recursion, it includes Markdown highlighting and not LaTeX highlighting.
Here's what I see when I change all the occurences of $base to $self in language-latex:

That's the correct syntax highlighting.

@kylebarron

Note that there is a difference between {=latex} and latex. The former tells Pandoc to evaluate the LaTeX code, whereas the latter means display the code verbatim in the final output.

Right, my bad...
If you could add some tests to the PR, I think I'm okay with adding it when all other issues have been ruled out. Would be nice to also add the attributes for inline code spans, if you haven't already.

@Aerijo
Your language-latex2e works well embedded for general markup or math:

But you still use $base inside tabular environments, so it doesn't look great for tables:

Any chance your edits will make it back into language-latex?

Everything should be fixed when my PR to language-latex gets merged.


Emit {nulable: true} when trying to emit null in openapi3

fix #2217
This isn't fully accurate as it is saying in openapi3 that it can be anything and null but this solve a crash, we could consider adding a warning

:x: There is undocummented changes. Run chronus add to add a changeset or click here.
The following packages have changes but are not documented.

:x:@typespec/openapi3

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


CLI: Crashes when running

Description of the bug
The CLI crashes when trying to run it.
Tested 0.1.0-alpha.7, 0.1.0-alpha.8 and 0.1.0-alpha.10. Error first occurs in alpha.8, and is still present in alpha.10
Steps To Reproduce

Run npx @digdir/designsystemet@next in terminal (or any version after 0.1.0-alpha.8)
CLI crashes

Additional Information
Error message:
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '.../node_modules/@digdir/designsystemet/dist/build/src/tokens/utils/permutateThemes' imported from<EMAIL_ADDRESS>    at new NodeError (node:internal/errors:405:5)
    at finalizeResolution (node:internal/modules/esm/resolve:324:11)
    at moduleResolve (node:internal/modules/esm/resolve:943:10)
    at defaultResolve (node:internal/modules/esm/resolve:1129:11)
    at nextResolve (node:internal/modules/esm/loader:163:28)
    at ESMLoader.resolve (node:internal/modules/esm/loader:835:30)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:77:40)
    at link (node:internal/modules/esm/module_job:76:36) {
      code: 'ERR_MODULE_NOT_FOUND'
}

Ah!
Thanks for reporting this. I'll have a look what might be causing this 🤔

I have published a new version (0.1.0-alpha.11) with a fix.
Updated both tags to use this version (latest & next)


Using a filename besides index.php will not properly return the right URL after uploading

Steps:
Use this php file as upload.php instead of index.php
Upload file
Get uploaded url returned as https://image.example.tld/upload.phpaN4-nR5o.png
For me it's as simple as just removing the $_SERVER['REQUEST_URI'] from SITE_URL(), but then the generated configs for sharex and hupl are incorrect again.
Which can be solved in my case by adding the above to those again though.

Oh yeah, that's making one or two very obviously dumb assumptions about the webserver config there
I'll need to have a think about that

Oh yeah, that's making one or two very obviously dumb assumptions about the webserver config there I'll need to have a think about that

Additionally, $_SERVER['HTTPS'] will return false if a reverse proxy is used to a http endpoint.
In my case http is forwarded to https either way, but I assume other people might not always have that.

it's exactly not automagic, but you can set fastcgi_param HTTPS 'on'; to get https behaviour behind a reverse proxy

@csprr any chance you can try https://github.com/Rouji/single_php_filehost/tree/url-fix in your setup?

@csprr any chance you can try https://github.com/Rouji/single_php_filehost/tree/url-fix in your setup?

Works perfect now:

FORCE_HTTPS works
Different filename works
Uploads return the proper file name

Thank you for fixing it.

Neat, thanks!


Use absolute paths for includes

Also, I've added a separate Project.toml for the tests. This the common way to specify test dependencies since Julia 1.3. For example, Makie has it too https://github.com/JuliaPlots/Makie.jl/blob/master/test/Project.toml

That worked! Thank you so much @rikhuijzer. It's so strange to use absolute paths in include, though. I don't think I've ever seen that before?

I don't think I've ever seen that before?

The code isn't particularly pretty by the way, I just had a few minutes to spare to fix it so I encourage you to find a prettier solution :+1: Good luck with the rest of advent of code!

I don't think I've ever seen that before?

Ah maybe it was your f -> isfile("src/$f") that broke things. So the include can figure out the paths, but your isfile couldn't! That must be it


Event page broken

@Rajdip019

Please mark done on the Issues tab which is done in this PR. @Kingshuk3006


Improve installing of jupyterlab extensions

There's many really neat jupyterlab extensions that allow notebooks to do awesome stuff, but setting them up in renku is not very user-friendly at the moment.
Most of the extension have some documentation as in https://ipyleaflet.readthedocs.io/en/latest/installation.html#jupyterlab-extension that instruct you to run a command like jupyter labextension install @jupyter-widgets/jupyterlab-manager jupyter-leaflet
There are several issues with this:

Running these kinds of commands fails with a Webpack error on renkulab, with no way for the user to know what to do instead
Even if the command worked, it would have to be re-executed every time the image is started/rebuilt
We don't have any docs on how to properly install extensions on renkulab

There's also an experimental Widget manager in jupyterlab that a user can enable in the settings dropdown, which works for installing extensions, but also has the problem of not persisting the changes through image builds.
The way to properly install an extension on renkulab is to add the jupyter labextension install command in the Dockerfile
Ideally, we'd:

Add docs on how to install extensions, detailing that they should be added to the Dockerfile
Show some sort of warning (popup or in the terminal?) if a user runs a jupyter labextension install command with a link to those docs
Show some warning in the Widget Manager ui that also points to the docs (Or not show the option for the widget manager in the menu)
(Optionally) figure out why the jupyter labextension install command fails and fix it? But since we don't want users to install this way anyways, maybe that's not something we want.

I'm not 100% sure this issue is still relevant - afaik most extensions with the new version of JupyterLab can just be installed via pip. In which case it's as simple as adding them to the requirements.txt file.

afaik this isn't an issue anymore for most extensions.


[NavigationMenu] Handle children on vertical orientation

We'll need to use the Collapsible component to achieve this.

What about NavigationMenuSub?
Could they also help? Or are they for a different use case?

Did you have any particular idea on how to implement this? Mine was to add a huge v-if, but doesn't sound too serious 🤭

Yeah I'd do something like that, the NavigationMenuContent already has a v-if on horizontal orientation.


no description?

hi, this looks like a very cool project. but there is no project description?
" No description or website provided. "

cheers.

Thanks for spotting, fixed :)

excellent! we just linked to your project from our website now: http://www.capstone-engine.org/showcase.html
keep it up!


Unit tests: Replace testdata with programmatically generated DBs

Description
Instead of having heavy testdata folders for unit tests, we can programmatically generate badger DBs with only the required data. This gives us better control on what we test and makes it easier to write new tests.

Done for the chain package in https://github.com/awfm9/flow-dps/pull/68.
Still needs to be done (differently) for the feeder, by providing either a mock prometheus WAL or an in-memory one.

Feeder tests have been removed in #82 so there is no test data anywhere anymore. Closing this issue.


Wordings

Save of modifying wordings.toml, how do I change the (default) word "Anlagen" to something like "Encl."

you could modify the file accordingly, maybe add a category similar to the debug one,
you could add your own wordings file and include that one, BUT apparently it has to be included in the local package directory, or
you could pass the dictionary (datatype) directly to wordings

Right now only the third option works without changing the package. You could for instance write:
#import "@local/din-5008-letter:0.1.0"

#let wordings = din-5008-letter.load-wordings("de-formal")
#wordings.insert("attachments", "Encl.")

#show: din-5008-letter.letter.with(wordings: wordings, attachments: ("thing 1", "thing 2"))

#lorem(100)

I think that option 2 would be the nicest one, and should at some point be implemented. You can however already take inspiration of the code, which basically just loads a dictionary from some 'languages', and use this directly in your document.

I chose option one, and since I have no clue how a Pull Request works, here my new wordings.toml
[de-formal]
salutation = "Sehr geehrte Damen und Herren"
closing = "Mit freundlichen Grüßen"
attachments = "Anlagen"

[de-informal]
salutation = "Hallo"
closing = "Liebe Grüße"
attachments = "Anlagen"

[debug]
salutation = "<salutation>"
closing = "<closing>"
attachments = "<attachments>"

[us]
salutation = "Dear Sir/Madam"
closing = "With Kind Regards"
attachments = "Encl."

How do I adapt this to put something like
"Dear Mr Schmitz"
in my letter, ie a specific, non-generic saluation?
I am not able to adapt option 3 above.
Any advice?

You can also do something like:
#let wordings = (
  salutation: [Dear Mr Schmitz],
  closing: "With Kind Regards",
  attachments: "Encl."
)

hence creating the dictionary directly. If you provide labels, you can even have salutation: [Dear @recipient].
I would advise to write a function which returns your default wordings and settings to get a personalized, clean and easy writing experience.

Ludwig,
vielen Dank :-)-O

Ludwig,
I am a Gynecologist and Obstetrician 17 days from retirement, dabbling a
little in Perl and have no clue as to how to write this function.
Can someone reading this assist, please?

Thanks,
that works well


castopod: 1.6.4 -> 1.10.5

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for castopod is: An open-source hosting platform made for podcasters who want to engage and interact with their audience
meta.homepage for castopod is: https://castopod.org
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.10.5 with grep in /nix/store/0d1pjbiwinjbrv30wzmbirmxyls4zmzf-castopod-1.10.5
found 1.10.5 in filename of file in /nix/store/0d1pjbiwinjbrv30wzmbirmxyls4zmzf-castopod-1.10.5

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
castopod

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/0d1pjbiwinjbrv30wzmbirmxyls4zmzf-castopod-1.10.5 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A castopod https://github.com/r-ryantm/nixpkgs/archive/af464c556acdf909820c9f062819e00d1345816e.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/af464c556acdf909820c9f062819e00d1345816e#castopod

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/0d1pjbiwinjbrv30wzmbirmxyls4zmzf-castopod-1.10.5
ls -la /nix/store/0d1pjbiwinjbrv30wzmbirmxyls4zmzf-castopod-1.10.5/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

castopod

Maintainer pings
cc @AleXoundOS @misuzu for testing.

Hello, this PR breaks S3 setups as stated here : https://code.castopod.org/adaures/castopod/-/releases/v1.9.0. May be we should add a warning in the release notes (their are some less important migration steps one might want to do). This is done in https://github.com/NixOS/nixpkgs/pull/292835 (that is waiting for a review for a bunch of time now ^^)


@/charterafrica sourceAFRICA Integration

Description
In order to build the consultation tool, we need ability to pull documents from sourceAFRICA with their comments (notes in sourceAFRICA speak).
The task is to do a quick investigation to figure out what is the best way to go about this:

sourceAFRICA offers ability to embed a full document. Does the embedded document include comments?
If not, does sourceAFRICA offers API to pull comments for a given document?
What is the best way of pulling multiple documents? Pulling everything in project, group, etc.

At the end of the day, we'd need to build this page.
Some helpful links

API documentation: https://dc.sourceafrica.net/help/api
outbreak.AFRICA repo: outbreak.AFRICA contains sourceAFRICA integration we developed back in 2020. It could serve as a starting point.

cc @koechkevin , @kelvinkipruto

The implementation details doc is here


Cannot install plugin 2.4.1

Hi,
I am getting this exception
[2015-03-30T15:14:45+01:00] FATAL: RuntimeError: ruby_block[Install plugin: elasticsearch/elasticsearch-cloud-aws/2.4.1] (elasticsearch::aws line 35) had an error: RuntimeError: [!] Failed to install plugin
Error executing action create on resource 'ruby_block[Install plugin: elasticsearch/elasticsearch-cloud-aws/2.4.1]'
RuntimeError
[!] Failed to install plugin
Cookbook Trace:
/opt/chef-repo/site-cookbooks/elasticsearch/libraries/install_plugin.rb:43:in `block (2 levels) in install_plugin'
Resource Declaration:
In /opt/chef-repo/site-cookbooks/elasticsearch/libraries/install_plugin.rb
35:     ruby_block "Install plugin: #{name}" do
36:       block do
37:         version = params['version'] ? "/#{params['version']}" : nil
38:         url     = params['url']     ? " -url #{params['url']}" : nil
39:
40:         command = "/usr/local/bin/plugin -install #{name}#{version}#{url}"
41:         Chef::Log.debug command
42:
43:         raise "[!] Failed to install plugin" unless system command
44:
45:         # Ensure proper permissions
46:         raise "[!] Failed to set permission" unless system "chown -R #{node.elasticsearch[:user]}:#{node.elasticsearch[:user]} #{node.elasticsearch[:dir]}/elasticsearch-#{node.elasticsearch[:version]}/plugins/"
47:       end
48:
49:       notifies :restart, 'service[elasticsearch]' unless node.elasticsearch[:skip_restart]
50:
51:       not_if do
52:         Dir.entries("#{node.elasticsearch[:dir]}/elasticsearch-#{node.elasticsearch[:version]}/plugins/").any? do |plugin|
53:           next if plugin =~ /^./
54:           name.include? plugin
55:         end rescue false
56:       end
57:
58:     end
59:
60:   end
61:
Compiled Resource:
Declared in /opt/chef-repo/site-cookbooks/elasticsearch/libraries/install_plugin.rb:35:in `install_plugin'
ruby_block("Install plugin: elasticsearch/elasticsearch-cloud-aws/2.4.1") do
action "create"
retries 0
retry_delay 2
block_name "Install plugin: elasticsearch/elasticsearch-cloud-aws/2.4.1"
cookbook_name :elasticsearch
recipe_name "aws"
block #Proc:0x00000005845be8@/opt/chef-repo/site-cookbooks/elasticsearch/libraries/install_plugin.rb:36
not_if { #code block }
end
This happens also if I deceide to install the previous version 1.14.0: any hints ?
Do I need to specify aws_key and secret_key in aws.rb ?

Sorry. I have no idea and I'm not sure it's an issue with the plugin itself but more with the way you wrote the cookbook???
May be @karmi or @electrical could have an idea?
Closing for now but feel free to reopen if you guys think it's an issue with the plugin itself.

@corsarof It's not clear what the reason for the expection is from the backtrace, but please open an issue at https://github.com/elastic/cookbook-elasticsearch

Moved to elastic/cookbook-elasticsearch#308


Add mask_soft config option to allow non-binary masks

Closes #4606
When using mmdetection as a library for MaskRCNN there is almost nothing preventing the ground truth masks from being fractional labels instead of hard binary labels. The only issue seemed to be in BitmapMasks.crop_and_resize where after a resize the interpolated values were always rounded to 0 or 1.
To prevent this I simply added a keyword argument rounded=True, which if set to False will prevent this rounding step. I also added a small bit of logic to mask_target such that it looks for the configuration option mask_soft (defaulted to False), and it sets rounded = not mask_soft.
In the case for mask Polygons I do expose the rounded parameter for API consistency, but I raise a ValueError if it is false because soft masks don't make much sense for Polygon targets.
Thus I was able to simply add roi_head.train_cfg['mask_soft'] = True to my MaskRCNN training configuration and the mask loss seems to be computed correctly against these soft targets.
Again, I'm using mmdetection as a library to define models (i.e. I'm not using my own training loop and data loading scripts), so I don't think this feature would be exposed to mmdet script users without further changes, but this should be the core fundamental change necessary to add soft mask targets to MaskHeads.

Thanks for this nice feature. Could you also fix the linting errors?

Kindly ping @Erotemic

The PR looks good to me now. We will benchmark it in May and will merge it for v2.13.0

I have benchmarked mask_rcnn_r50_fpn with soft_mask_target=True on COCO.
The bbox eval results are
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.382
 Average Precision  (AP) @[ IoU=0.50      | area=   all | maxDets=1000 ] = 0.590
 Average Precision  (AP) @[ IoU=0.75      | area=   all | maxDets=1000 ] = 0.416
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= small | maxDets=1000 ] = 0.223
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=1000 ] = 0.417
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= large | maxDets=1000 ] = 0.495
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.522
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=300 ] = 0.522
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=1000 ] = 0.522
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= small | maxDets=1000 ] = 0.326
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=1000 ] = 0.566
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= large | maxDets=1000 ] = 0.660

And the segm eval results are
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.345
 Average Precision  (AP) @[ IoU=0.50      | area=   all | maxDets=1000 ] = 0.556
 Average Precision  (AP) @[ IoU=0.75      | area=   all | maxDets=1000 ] = 0.368
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= small | maxDets=1000 ] = 0.185
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=1000 ] = 0.377
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= large | maxDets=1000 ] = 0.469
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.474
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=300 ] = 0.474
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=1000 ] = 0.474
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= small | maxDets=1000 ] = 0.276
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=1000 ] = 0.516
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= large | maxDets=1000 ] = 0.623


ClassApplier module alter contents of style tag

As I see a combination of Highlighter module and ClassApplier module alters content of style tag, but this tag definitely must not be touched. Here is the test case:

    <title></title>

The first div

The second div

The third div

    <button onclick="highlight()">Highlight</button>
    <button onclick="removeHighlights()">Remove highlights</button>
    <button onclick="showStyle()">Show style</button>

How to reproduce:

Click on "Show style" button right after the page is loaded. You'll get .highlight {background-color: lime;}.

Select contents of the last div (ex. third), click on "Highlight" button and then click on "Show style". You'll get .highlight {background-color: lime;} and it's correct behavior too. Also the contents will be highlighted with lime color.

Select something including contents of the first and second div (ex. first div The second), click on "Highlight". The contents will not be highlighted although a wrapper span tag will be created. Moreover, if you click on "Show style" FF alerts nothing while IE alerts .highlight {background-color: lime;} which means that the contents of style tag are affected too.

Click on "Remove highlights" button. After that you can start from the first point.

I'm using Rangy 1.3.0-beta.1 and test the behavior in FF36 and IE11.

UPD: The ClassApplier also alters contents of script tags in the same conditions.

Also ClassApplier adds span wrapper to contents of textarea but, as I believe, it should not do so.

Good point. I'll fix this. Thanks for the clear test case.

Fixed. Elements that may contain text that are now ignored: script, style, iframe, textarea and select.

The problem is fixed now. Thank you @timdown


From email address not shown

Hi all,
I'm facing an issue and I'm not sure if I'm missing something. Based on the Getting started example, I created a script, what should also output the sender's email address (from). However, the from output is empty and no from email address is outputted, while all the other information (subject line) is shown, so I assume that the connection and login is working. In the code you see what I already tried and what the result was. Any ideas?
I use the following code
        $cm = new ClientManager($options = []);

        $client = $cm->make([
            'host'          => '*****',
            'port'          => 993,
            'encryption'    => 'ssl',
            'validate_cert' => true,
            'username'      => '******',
            'password'      => '*****',
            'protocol'      => 'imap'
        ]);

        //Connect to the IMAP Server
        $client->connect();

        //Get all Mailboxes
        /** @var \Webklex\PHPIMAP\Support\FolderCollection $folders */
        $folders = $client->getFolders();

        //Loop through every Mailbox
        /** @var \Webklex\PHPIMAP\Folder $folder */
        foreach($folders as $folder){

            //Get all Messages of the current Mailbox $folder
            /** @var \Webklex\PHPIMAP\Support\MessageCollection $messages */
            $messages = $folder->messages()->all()->get();

            /** @var \Webklex\PHPIMAP\Message $message */
            foreach($messages as $message){
                //echo $message->getFrom().'
'; //Outputs Sender name only
                //echo $message->getFrom()->mail.'
'; // Outputs Error Undefined property: Webklex\PHPIMAP\Attribute::$mail
                //echo $message->getFrom()[0]->mail.'
'; // Outputs Error Undefined array key 0
                //echo $message->from()[0]->mail.'
'; // Outputs Error Undefined array key 0
                //echo $message->from().'
'; // Outputs Error Method Webklex\PHPIMAP\Message::from() is not supported
                //echo $message->from[0]->mail.'
'; // Outputs Error Undefined array key 0
                echo $message->getSubject().'
';
                echo "
";
            }
        }

Hi @luke52 ,
thanks for your report.
Report moved to: https://github.com/Webklex/php-imap/issues/382


Can't load theme, no such file or directory, doom

I am probably doing something wrong, and error is on my part, so sorry for that in advance.
When I copy all files from repo to my theme sourced directory and try load-theme it gives
me the next error message:

Cannot open load file: No such file or directory, doom

So does it mean I need few more packages to install that aren't mentioned in description or just dash?

You have to do something as follows:
(add-to-list 'load-path "~/.emacs.d/themes/emacs-doom-theme/")
(add-to-list 'custom-theme-load-path "~/.emacs.d/themes/emacs-doom-theme")


Turn page button

Normally there is a button at the end of each page that allows you to scroll to the next page. However, this is a bit buggy in the glossary. I assume that these buttons are not supposed to appear there?
e.g.: https://docs.software-challenge.de/glossary/player#der-fortgeschrittene-spieler

The Links show all pages, which contain the term. But you are right, that the links are broken. I will look into it.

Fixed in f906c5075ec26263f90fabfa2a8ad556619c86da


Tilde key

Is there a way to map to the tilde / backtick key? I didn't see one in vk.rs. By default, mine is mapped to Escape.

Huh, good question. According to this list maybe VK_OEM_3?
http://www.kbdedit.com/manual/low_level_vk_list.html
I don't have a QWERTY keyboard on hand to test unfortunately

That did the trick, thanks!

Nice! I'll add that list to the README


Tried to open the tutorial from the ReadMe file and am getting 404 error

I'm new to creating visuals and came across your GitHub info. When I go to read me for tutorial it does not exist (404).
Any help is appreciated.

Thank u
we'll fix it
Please use https://docs.microsoft.com/en-us/power-bi/developer/custom-visual-develop-tutorial


Some form of manual control over table format

Just want to first say thanks! This plugin is an absolute game changer in site-publishing (I use Quartz and it works like a charm)!
One suggestion (or nice-to-have) is that currently there is no control over how the table columns are formatted (more specifically, column width). I see an open ticket regarding minimizing spacing #1 . I want to add that it would be nice to have some form of manual control over the column width. Say I have a table with a list column, a name text column, an image column and a URL text column. I may want the name text column and list column to fit as much as possible and images to fit to a specific width. I wouldn't mind the URL columns to be wrapped so they can have a short width. Currently it seems like it's allocating too much space for URL because of its length, and the images fit differently.
I am not an expert of obsidian plugins or dataview, but maybe this can be achieved through CSS classes/ids or some hardcoded config alongside with the query itself.
Thanks again for the great plugin!

Hello @Accelsnow. You're welcome.
Great to know that it works with Quartz as well. I didn't test it, but it makes sense as this is just generating Markdown :)
I don't have control over the generated Markdown code. This plugin only acts as a bridge to the Dataview plugin. The Dataview plugin is the one performing the transformation from query to results, then from results to Markdown.
I'll close this issue for now, because I won't be able to help without investing a lot of time into duplicating/changing the behavior of Dataview. Sorry to disappoint!