Broken on https://www.planttext.com/

It looks that this project is used on https://www.planttext.com/ but I'm not sure where to file an issue for the fact that the instance is broken (the reporting link is wrong).
When I try any conversion, I get:
Error parsing input file:
/home/ubuntu/bin/PlantCode/Log/2019-17-3-11-34-07-typescript.txt
{ message: 'Expected [ \\t] or [A-Za-z_] but "-" found.',
  expected:
   [ { type: 'class', value: '[ \\t]', description: '[ \\t]' },
     { type: 'class', value: '[A-Za-z_]', description: '[A-Za-z_]' } ],
  found: '-',
  location:
   { start: { offset: 40, line: 4, column: 5 },
     end: { offset: 41, line: 4, column: 6 } },
  name: 'SyntaxError' }

Can you provide an example of what is in your input file?

Oh actually, only some of the examples are broken.
If I take examples 3-6 under Class Diagrams at https://www.planttext.com/ and try to convert to Java, I get a similar error; examples 1-2 work.
Example 3:
@startuml

title Types - Class Diagram

skinparam componentStyle uml2

abstract class AbstractList {

}

class Test << general >> {
}

class System << (S,#FF7700) Singleton >>
class Date << (D,orchid) >>

class Foo1<Generics tag> {
  You can use
  several lines
  ..
  as you want
  and group
  ==
  things together.
  __
  You can have as many groups
  as you want
  --
  End of class
}

class User {
  .. Simple Getter ..
  + getName() : String
  + getAddress() : Address
  .. Some setter ..
  + setName() : String
  __ private data __
  -int age
  -- crypted --
  -String password
}

enum TimeUnit {
  DAYS
  HOURS
  MINUTES
}

interface List {

}

annotation SuppressWarnings

class Object << general >>
Object <|--- ArrayList

@enduml

This creates a diagram, but the generator chokes:
@startuml

MemberCompany *-- DocumentFolder
DocumentFolder *-- "*" Document
Region *-- City
City "*" <-- MemberCompany
Contact "*" <-- MemberCompany

interface Address
Address <|-- MemberCompany
Address <|-- Contact

@enduml

Error output:
Error parsing input file:
/home/ubuntu/bin/PlantCode/Log/2019-10-7-10-24-00-coffeescript.txt
{ message: 'Expected "*", "--", "---", "-down-", "-left-", "-right-", "-up-", "..", "<|", "o", [ \\t], [-] or [.] but "<" found.',
  expected:
   [ { type: 'literal', value: '*', description: '"*"' },
     { type: 'literal', value: '--', description: '"--"' },
     { type: 'literal', value: '---', description: '"---"' },
     { type: 'literal', value: '-down-', description: '"-down-"' },
     { type: 'literal', value: '-left-', description: '"-left-"' },
     { type: 'literal', value: '-right-', description: '"-right-"' },
     { type: 'literal', value: '-up-', description: '"-up-"' },
     { type: 'literal', value: '..', description: '".."' },
     { type: 'literal', value: '<|', description: '"<|"' },
     { type: 'literal', value: 'o', description: '"o"' },
     { type: 'class', value: '[ \\t]', description: '[ \\t]' },
     { type: 'class', value: '[-]', description: '[-]' },
     { type: 'class', value: '[.]', description: '[.]' } ],
  found: '<',
  location:
   { start: { offset: 103, line: 6, column: 10 },
     end: { offset: 104, line: 6, column: 11 } },
  name: 'SyntaxError' }

I looked at the grammar, and I see it's not expecting the traditional UML format of a field with a <access> <name> : <type> but rather <access> <type> <name> as in Java. Many of the examples on PlantText.com use that traditional syntax, as does the highlighting of the very popular PlantUML extension in VSCode (albeit with regexes rather than with PEG.js).
Below is an example.
@startuml

class User {
-name : String
+getName() : String
}

@enduml

That example crashes the PEG.js here because obviously it's not expecting a ":" in fields.
As for the relationships between classes, it's complex (PlantUML is super flexible, since it tries to allow you to control how things are drawn as well as how things are related). I didn't grok the whole PEG.js grammar you defined yet, but I know PlantUML can state B is a subclass of A in at least in these ways (maybe more?):

B -|> A (make the line horizontal)
A <|- B
B --|> A (make the line vertical)
A <|-- B
class B extends A

When you consider associations, there are more cases.
A grammar to try to support all these would be (overly) complicated, at least for a start, and I think you've done right to be conservative.
If a format isn't supported, it's not a bug (but a limitation of the current grammar). I did a PEG.js grammar for GIFT format and automated the tests with Mocha/Chai. It might be useful to do that here.
I did a lot of hacking with the online PEG.js editor, which isn't smart enough to include require stuff, but I think you could write something like I did here to test with the compiled parser from the grammar. The left side would be the PlantUML code, and the right side would be a display of the intermediate (parsed) information.
If I can find some time, I would like to work on your project. It's something I've wanted to do for a while, and my students are using TypeScript and PlantUML in one of my courses.

Somehow I lost track of this important issue. Thanks for bringing it back to my attention @fuhrmanator ! It does seem there are a few bugs with the current grammar. Including the optional colon character should be a straight forward fix. The relationship between classes will be more complex. I will focus on the addition of the optional colon first. I created this project as a proof of concept a few years back and since then PlantUML seems to be getting more popular. There was another issue filed at some point and I believe planttext.com is forced to run this tool server side to generate the output. Having a separate github page like yours would be a great addition. I have no association with the planttext.com tool but the author was kind enough to include me on their tool.


evcxr: upgrade cargo fetcher and cargoSha256

Infra upgrade as part of #79975; no functional change expected.

@grahamcofborg build evcxr


Segmentation fault when running on Mac

deno run --allow-env --allow-write --allow-read --allow-net --unstable --allow-plugin --reload  autopilot.ts
Compile file:///Users/samuelteixeira/Documents/deno/autopilot.ts
Download https://raw.githubusercontent.com/divy-work/autopilot-deno/master/mod.ts
Download https://raw.githubusercontent.com/divy-work/autopilot-deno/master/plugin/index.js
Download https://raw.githubusercontent.com/divy-work/autopilot-deno/master/types.ts
Download https://raw.githubusercontent.com/manyuanrong/deno-plugin-prepare/master/mod.ts
Compile https://raw.githubusercontent.com/manyuanrong/deno-plugin-prepare/master/mod.ts
Download https://raw.githubusercontent.com/manyuanrong/deno-plugin-prepare/master/deps.ts
Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Compile<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Compile<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>INFO downloading deno plugin "autopilot_deno" from "https://github.com/divy-work/autopilot-deno/releases/latest/download/libautopilot_deno.dylib"
INFO load deno plugin "autopilot_deno" from local "/Users/samuelteixeira/Documents/deno/.deno_plugins/autopilot_deno_5a886ecea39dcd1615a56a8f3ea30d0f.dylib"
Segmentation fault: 11
My mac: Mojave version 10.14.6

https://gist.github.com/samuelteixeiras/15c4e911d42e64420db4a45cfeec2adf file

@samuelteixeiras Did you use the --unstable flag?

deno run --allow-env --allow-write --allow-read --allow-net --unstable --allow-plugin --reload autopilot.ts

Could you try deleting the .deno_plugins folder in your working directory and try again? Looks like a problem with previous release.

Also, I think there are too many methods called at the same time. Maybe try calling just .moveMouse in the script of the above does not work.

@samuelteixeiras This is was fixed in the new version, it was probably an issue with the new Deno ops.


MM-28042 - Web/Desktop: Relative links open in a new tab/window

Summary
Restored the regex used to detect internal links
Ticket Link
Fixes https://mattermost.atlassian.net/browse/MM-28042 and https://mattermost.atlassian.net/browse/MM-28046
Screenshots

@ali-farooq0 Linked another ticket and assigned it to you as it solves that as well.

What about https://github.com/mattermost/mattermost-webapp/pull/6147? Perhaps we can just check for if the link starts with the site URL or / instead?

I'm afraid that with the relative link it might be possible to abuse it in someway which is why i kept the regex in. Also I do check if the link starts with siteURL or the origin regex /(...admin...|pl...) so  #6147 is still works.

/update-branch

Yeah, that makes sense. I was worried that might be an issue when I was suggesting it. I don’t think that’s actually the case, but it’s good to be safe. As long as there’s no regressions here, this looks good to me.

/update-branch

@stevemudie would you be able help QA this PR? Thanks!


Add a lint for unnecessary type parameters

Per #94 and #96, in constants, instances and bounds, a type parameter that is only used once can always be replaced with _. Add a lint that catches unnecessary type parameters and suggests to replace them with a type placeholder.

Implemented for constants in 7aa30e7.

Implemented for instances in 945fe00.


Replace InvalidArgumentError with ServerError

InvalidArgumentError or invalid_argument is not a oauth2-error. It is used by oauth2-server to indicate errors like that specific internal implementation is wrong. E.g. Request is missing header. Also the HttpStatusCode of 500 clearly indicates that it is a ServerError and not something what the enduser can control.
https://datatracker.ietf.org/doc/html/rfc6749#section-<IP_ADDRESS>
https://datatracker.ietf.org/doc/html/rfc6749#section-<IP_ADDRESS>

Please also add, which parts of the code are affected and which tests need to be updated.

Its actually scattered all over the place. It is everywhere used where an InternalServerError should be thrown because the implementor made an implementation error.

We could also just patch the InvalidArgumentError to extend ServerError or change invalid_argument to server_error.


feat: Add ESM and CJS distribution support @t3rn/types, setup package to test ESM with @t3rn/types

This PR enhances the functionality of @t3rn/types by adding support for ESM (ECMAScript Modules) and CJS (CommonJS) formats, providing greater user flexibility.
Additionally, it includes the generation typings file (.d.ts) along with the package, which language servers can utilize for code completion and intelli-sense purposes. These changes improve the usability of  @t3rn/types, improving its usage.
Acceptance Checklist

[x] Bugfix (non-breaking change which fixes an issue):

[ ] Have you **written tests **to protect against future occurrences of the bug?

[x] New feature (non-breaking change which adds functionality)

[x] Have you seen it working in a development environment?
[ ] Have you written tests for happy and unhappy paths?
[x] Have you implemented this feature as per the issue acceptance criteria?

[ ] Breaking change (a feature that would cause existing functionality not to work as expected

[ ] Is the breaking change documented?
[ ] Has any previous changes been deprecated?

[ ] CI/CD

[ ] If introducing new actions, have you looked at the action code for anything spurious?
[ ] Have you written custom scripts for things that could be actions already on the marketplace?
[ ] If introducing new actions, have you pegged a static version?

[ ] Documentation Update

[x] Have you checked other documentation, such as the docs repository?
[ ] If updating script documentation, have you tested it on both environments?

[ ] Substrate

[ ] RPC methods?
[ ] Chainspec, both JSON specs & the module?
[ ] Runtime versioning?
[ ] Benchmarks?

[ ] Any dependent changes have been merged and published in downstream modules

I have removed the test package


fix(catalog-backend): fix sonarqube findings

Hey, I just made a Pull Request!
By copying the definitions of those in our codebase we had some findings from Sonarqube:

Unnecessary escape characters on \$${...}
${document.errors[0]} will be stringified to [Object object]

I also fixed a deprecation for the UrlService.
:heavy_check_mark: Checklist

[X] A changeset describing the change and affected packages. (more info)
[x] ~Added or updated documentation~
[X] Tests for new functionality and regression tests for bug fixes
[x] ~Screenshots attached (for UI changes)~
[X] All your commits have a Signed-off-by line in the message. (more info)

not stale


Use FileAccess.Read during seeding

The library seems to always use FileAccess.ReadWrite during seeding, or at least when download is completed and seeding begins.
This seems to be a regression of https://github.com/alanmcgovern/monotorrent/issues/421 that occurred when DiskWriter was introduced.

or at least when download is completed and seeding begins.

There's a missing CloseAsync call when changing from downloading -> seeding mode which leaves the files open in Read/Write mode.
If you want to work around it in the meantime, you can call StopAsync and then StartAsync. This will cause the files to be closed, and then if/when they're reopened they'll be opened using FileAccess.Read.
I'll push a fix for the downloading -> seeding transition! Thanks for reporting

Fixed by
https://github.com/alanmcgovern/monotorrent/commit/f54c4ead433ac7ef7541636bd7f884e9930201ad
https://github.com/alanmcgovern/monotorrent/commit/c603f9fd8095fb99f41101e424706e3d4cb487bc


Can you use a version of canvas greater than alpha2?

Hi,
I have been working with chartjs-node for a few days now and locally it is working great but I have a problem when deploying to Heroku. It seems for Heroku I cannot deploy the alpha2 version of canvas.
I am a bit stuck what I can do to have this working with the latest version of canvas...when I try the latest version of canvas, I get the error Cannot read property 'length' of null which I think comes from line 128  length: buffer.length . Any help to get around this would be greatly appreciated as I am completely stuck :(.
Thanks in advance!

I ended up downgrading to canvas 1.6.13 and that is working just fine with Heroku. Not idea to be using an older version but its the only way I have been able to get this working.


POC, event processors using go-plugin

Hi,
I needed a way to dynamically add tags to Prometheus metrics and here is a POC using hashicorp go-plugin to build event processor plugins. In my case I would like to add metadata from our inventory to the metrics, but there could be many other use cases.
gNMIc loads plugins from './plugins/' and the name of the binary is also the plugin name, it then communicates with the plugin over RPC. Each plugin needs to implement the EventProcessor interface, due to the RPC the logging setup is a bit different in the plugin.
How to test the POC: Compile the examples/plugin/main.go to ./plugins/event-add-device_function and add 'event-add-device_function' as a processor for an output.
This is my first Golang project and I'm not a developer, but maybe we can get this up to shape and give gNMIc support for plugins together.
A couple of outstanding questions:

Is there any better way to initialize the plugin_manager, now it uses init() and import in all.go.
Add support for configuration of the plugin_manager, like debug log true/false and configurable plugin directory.
Is there a way to send the logger object over RPC?

This is great, thanks for giving it a go.

Is there any better way to initialize the plugin_manager, now it uses init() and import in all.go.

That's the way

Add support for configuration of the plugin_manager, like debug log true/false and configurable plugin directory.

This will be required yes, I can look into it.

Is there a way to send the logger object over RPC?

I'm not sure that's possible, but what can be sent is the logger level (info, debug, etc...) and let the plugin decide where/how to log

@fredsod can you allow edits on this PR for maintainers so I can fix the conflicts ? Thanks

@fredsod can you allow edits on this PR for maintainers so I can fix the conflicts ? Thanks

Edits are allowed, you should be able to add commits to this PR

It looks like you resolved the conflicts, thanks.

It looks like you resolved the conflicts, thanks.

Have you had time to look into how to add support for configuration to the plugin_.manager?

@fredsod: Yes, check #341
I modified a few parts of the plugin manager to make it embeddable in the root app.
I also moved the plugin initialization to be part of the event-plugin init, that way the same plugin can be used under different processors of the same type. Each processor will get a separate running plugin.
The cleanup of the running plugins was not always happening, fixed that too.
Have a look at it and let me know what you think.


Are there plans for doing multiplexing in the other way?

I have a device that sends CANbus frames over TCP to a single client.
The client connects to the server and receives the CANbus frames through the TCP stream. However, the device only accepts one connection at a time, but I need multiple clients to connect to the server.
During my research I came across this project, but it doesn't quite cover what I need for my use case. Hence my question, are there any plans to implement such a usecase? Are people how have the same usecase?

When you say "the device only accepts one connection at a time", I assume "device" means "server". That would be the exact use case of this project. It doesn't support the CAN bus protocol, however. I'd gladly accept a contribution.


Memory leaks

As part of my recent efforts to bring an old app of mine up-to-date and use the latest Firebird features,I ended up setting up a MSVC 2022 environment with wxWidgets 2.2.
Part of my earlier work was to include some of memory leak detection features available in MSVC.
When I first compiled and ran the FlameRobin code I noticed a good number of memory leaks reported when the app was shut down.
As I had a couple of hours time to instrument my test setup, I think I found at least some of the places where memory is allocated, but apparently not freed on exit.
Note: to avoid issues with line numbers, I will omit them in the hope that the rest of the information will provide enough context.
Since I simply don't know enough about the FR code, I will simply report the locations here  and hope somebody more familiar with the code can find a suitable place to release the memory allocated with new at:

metadata - database.cpp
void Database::loadTimezones()
{
      tzItm = new TimezoneInfo;       //  - leak
}
---------------------------------
config - localSettingd.cpp

LocalSettings::LocalSettings()
{
    locale = new wxLocale();        //---  leak
}

LocalSettings::~LocalSettings()
{
    locale = new wxLocale();        //--- leak
}

If anyone can fix the "shouting" text, please do so
TIA

This issue can be resolved by adding a line to delete the allocation on exit from each of the functions in src\config\LocalSettings.cpp
LocalSettings::LocalSettings()
{
wxLocale* locale;
locale = new wxLocale();        //---   leak
if (config().getUseLocalConfig())
locale->Init(wxLANGUAGE_DEFAULT);
else
locale->Init(wxLANGUAGE_ENGLISH);
delete locale;  // <-- fix
}
LocalSettings::~LocalSettings()
{
wxLocale* locale;
locale = new wxLocale();        //---   leak
if (config().getUseLocalConfig())
locale->Init(wxLANGUAGE_DEFAULT);
else
locale->Init(wxLANGUAGE_ENGLISH);
delete locale;  // fix
}
void LocalSettings::setDataBaseLenguage()
{
wxLocale* locale;
locale = new wxLocale(); //---   leak
locale->Init(wxLANGUAGE_ENGLISH);
delete locale;  // fix
}

Hello @tester0077
Can you describe your project changes to detect memory leaks?
In pascal I use regularly, but was reading for C++ and found to be a little pain to do it, don't know if this are the same steps you did.
Or at least fork and commit your project so I can take a look (don't need to push merge request, just let me know here)
Thanks!


[AutoPR resourcegraph/resource-manager] [Hub Generated] Review request for Microsoft.ResourceGraph to add version 2019-04-01

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/5432

(message created by the CI based on PR content)

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/3744


LL-6369 - Add info panel for platform apps

Add a "drawer" for platform apps when you're clicking on an info button at the top of the app.
Screenshots

iOS 📸

Android 📸

Type
Feature
Context
LL-6362
Parts of the app affected / Test plan
Any platform app.
For test purposes, the icon and url are not mandatory.

Looks good in Android and iOS

Annnnddd now we've got conflicts 😞 (another reason to improve the current review / merge "paradigm" and merge PRs as soon as reasonably possible @gre)

Annnnddd now we've got conflicts 😞 (another reason to improve the current review / merge "paradigm" and merge PRs as soon as reasonably possible @gre)

We'll always have conflicts, no matter the git flow you follow 😝
It's fixed now ! 👍

Annnnddd now we've got conflicts 😞 (another reason to improve the current review / merge "paradigm" and merge PRs as soon as reasonably possible @gre)

We'll always have conflicts, no matter the git flow you follow 😝
It's fixed now ! 👍

Indeed, but what I mean is (regardless of the git flow) the longer we wait to merge a PR, the higher the chances to have conflicts


Module build failed: Error: [mobx] 'default' is no longer part of the public MobX api.

Module build failed: Error: [mobx] 'default' is no longer part of the public MobX api. Please consult the changelog to find out where this functionality went (While processing preset: "/Users/Fan/workspace/micro-react-scaffold/node_modules/_mobx<EMAIL_ADDRESS>

With mobx v4, there is no longer a default export for mobx. You will need to use:
import * as mobx from 'mobx';

instead of
import mobx from 'mobx';

Closing as this is not actually an issue with the babel preset.


ActiveRelationTrait: strictly checking attributes, update related PHPDoc's

Adds  and integrate inner method isModelAttribute() to strict checking attributes to stop undocumented using any public/magic properties(via getter) as AR attributes.
Extends related PHPDoc's,

Q
A

Is bugfix?
✔

New feature?
❌

Breaks BC?
✔/❌

Fixed issues

Blocking undocumented using is BC or not? semi...

Overall it looks like a good idea but I wonder if this undocumented way of using it is used a lot...

@rob006, @yiisoft/reviewers are you aware of any such usage?

What is actually fixed by this change?

https://github.com/yiisoft/yii2/issues/19231

I don't see how this PR could fix anything in terms of #19231. If this changes anything, it would rather create more issues like #19231.
Also, form my experience on StackOverflow, it is not that rare situation where people creates relations like https://github.com/yiisoft/yii2/issues/19231. And while they have limitations, they could be useful in many cases.

@rob006 this PR block using any model's properties as attributes, because AR declare attributes as table columns in documentation. This PR not block relations this as #19231, but user must do it correctly. We must separate attribute/column magic properties and other public/magic(via getter) properties. You can't use joinWith with "virtual" attribute (as @samdark called this property) in any case, my PR does not change anything in this case.

@rob006

I don't see how this PR could fix anything in terms of #19231

I'm not declare PR as fix #19231

@samdark Please, stop give answers instead me.

You still did not explained what is fixed by this change. From my understanding, people are using this kind of relations, and last release has regression that broke this use case. So instead of fixing regression you're legitimizing BC break, by adding explicit and redundant (?) check?

@rob006

Adds and integrate inner method isModelAttribute() to strict checking attributes to stop undocumented using any public/magic properties(via getter) as AR attributes.

PR is explained. I'm add tool/method for strict checking model attributes in ActiveRelationTrait and integrate in his methods, but maybe this not integration fully - I'm don't checked all yii\db classes (it's so long to check alone).

@rob006

people are using this kind of relations

Where declared "you can use any public/magic property as attribute"?

@samdark @rob006 where declared that you can use any model property as attribute? and than what's role of *Attribute methods?

Docs aren't specifications. If something isn't documented it does not necessarily mean it should not work. It may mean that docs aren't correct.
Even if the current behavior is not entirely correct as in this case, we should take existing usage into account and, based on issues created, we can see there are at least some usages like that.

By issue number I've meant context and https://github.com/yiisoft/yii2/issues/19231#issuecomment-1039972819 this comment.

In reality, I agree with @WinterSilence, such use is incorrect because it is applicable only with an artificially defined attribute and we will remove such use on the project. But keeping compatibility for others would be nice.

Yes, let's keep it instead of removing that possibility. We are not a government.

@bizley yes, "we" are monarchy.
@samdark @bizley if you want keep it, then add something like this inside methods:
if (YII_DEBUG) {
    Yii::info('{method}: Using invalid attribute, please replace in your code {fix}', ['method' => __METHOD__, 'fix' => '...']);
}

Closing since this behavior is already used in multiple projects and it's not a great idea to break BC in this case.


[GitHub Automation] Communication Owners

Summary
The focus of these changes is to add rules for the Communication sub-areas to apply unique labels to better integrate with the team's tooling.

/check-enforcer override


[QUESTION] doom-themes-set-faces

Hello, my doom-dracula theme is very dark in terminal emacs, so i tried to tweak some foreground colours in faces, but  i can't figure out how to use doom-themes-set-faces in my init file.

My apologies for the late response.doom-themes-set-faces is supposed to let you modify your theme using the same syntax that the themes in this package use, _however, it is currently broken and I haven't had time to look into it.
As an alternative, your best bet is to use Emacs' set-face-* functions after you've loaded a theme. This package also exposes some functions that could help, like doom-color, doom-lighten, and doom-darken, e.g.
(require 'doom-themes)
(load-theme 'doom-one t)
(set-face-background 'default (doom-color 'red))
(set-face-foreground 'error (doom-lighten 'red 0.25))
(set-face-attribute 'success nil :foreground (doom-darken 'green 0.5))

Hope that helps!

Thank you @hlissner, though I'm not using terminal emacs anymore 😃 .

@mattsawyer77 Sorry for the late response; I only noticed your reply just now. variables is not a face that exists. You might've wanted font-lock-variable-name-face instead. Some major modes have defined their own (or extra) faces for variables, e.g. like js2-mode's js2-external-variable face. You'd have to look those up. Perhaps M-x describe-face can help you look up faces. Otherwise it's possible to open a mode's library (e.g. M-x find-library RET js2-mode) and search for defface declarations.
@lambdadelta34 Happy to help! In that case I'll consider this issue resolved.

thanks @hlissner!

Is doom-themes-set-faces still considered broken?
(doom-themes-set-faces 'doom-one
  (font-lock-comment-face :foreground magenta))

Yields
Debugger entered--Lisp error: (void-function font-lock-comment-face)
  (font-lock-comment-face :foreground magenta)
  (doom-themes-set-faces 'doom-one (font-lock-comment-face :foreground magenta))
  eval-region(8217 8302)  ; Reading at buffer position 8302
  me/eval-region-and-kill-mark(8217 8302)
  funcall-interactively(me/eval-region-and-kill-mark 8217 8302)
  call-interactively(me/eval-region-and-kill-mark nil nil)
  command-execute(me/eval-region-and-kill-mark)


Error loading quotes for already embedded blocks and command open quote maker does not prompt a pop up windows

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

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

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

OS: [e.g. iOS]
Obsidian version [e.g. 0.14.5]

Additional context
Add any other context about the problem here.

@tecnoborder Hello. Did you read documentation? Did you follow it step by step? Can you describe your problem more clarified?

thanks for the reply. Yes, I read the documentation and the plugin was working correctly until a few days ago. I have to say that in the past weeks when I opened obsidian sometimes I got the message that there was an issue.
I tried to install the plugin on a new vault and it works correctly, while in my vault it does not. I also reinstalled the plugin but the issue persists.

Yes, I read the documentation. The plugin worked well until a few days ago. Now I receive the message fail to load local quotes plugin when I open obsidian

I have to say that I tried and created a new empty vault and in that one, it works with no problems.

You said that "Open Quote Maker" command doesn't work properly too. I should notice that it must be called only in Editor mode because of Obsidian rules. But it throws informal error messages when something went wrong. Did you see any?
About your problem, I have suspicions on your quote listings. Can you send me result of the "Open Statistics" command and your code block's content. If there is any personal information you can blur it by any way.

Thanks for the prompt reply. I tried to disable all the plugins and themes but the local quotes plugin but it does not work. Yes, I tried to add a quote in editing mode but no window appears. I also clicked on the open statistics but nothing happens

Ok, it gets more interesting. Can you try to open any prompt with opened console (you can open it with Ctrl+Shift+I on Windows)

I get this message when I tried to add (in editing mode) a one time quote using the command

This one related to another plugin (you can see its part name in "plugin:obsidian-file...me-heading-sync")

I get this message when I tried to add (in editing mode) a one time quote using the command

Did you add #quote tag to notes with your quote listing?

Yes! Now the quote blocks work but I did not get the pop up messages to add new quotes

and I get the notification that the plugin failed to load

Yes! Now the quote blocks work but I did not get the pop up messages to add new quotes

You mean that there was no #quotes tag previously?

the frontmatter was something like this:

tags: quote

quotes

In the settings of the app I had edited quotes to quote. Now I updated the frontmatter of the file to ensure consistency so:

tags: quotes

Now you can write your quote listing following the documentation rules. It must work.

I always get the error message when opening obsidian and it loads the plugin. Still, the pop up windows when prompting one of the commands (e.g. add a new quote), does not appear.
So, as of now: the plugin works only for the quotes I have already added in my quotebook

Can you show me console output when you are trying to use "Open Quote Maker"?

You see a double message as I tried in two different notes and got the same error

I tried to reproduce it again, but I just can't reach the same error. Can you share your quote listing .md file? Or you can make empty vault, reach the error and share me this vault. This kind of error is very individual and unique, so I need as much information as possible, and sharing empty vault with the error is the right way.

I found the cuprit!

!

I had two quotebooks one with an icon and the other one without it. If I delete one of the two everything works like a charm. I get the pop-up messages and also the plugin loads correctly.

For the plugin, I am now wondering if it generates an error as it does not recognize the icon and so there are to files with the same name

Thank you so much for the support! I will remove the duplicate. Still, this issue might be interesting for you

I'm glad that all is fine now. But I wish to leave this issue opened because I want to play around it. I think that now reproducing will be more successful. So I'll try to fix it anyway.

I spoke too early, I copied my vault left only that two notes + the home page and tried removing one of the two and it was working. Now that I deleted both files in my main valut the problem persists. I will try to create a shareable version of my vault and come back to you

I repeated the test: copied my vault and deleted all files (but the hidden ones) and the plugin worked. I added the home and the two quotebooks and it still works. Before it didn't.
So I copied all my files into that new vault that I had emptied before. I had around 9K notes. In the beginning, the pop-up windows appeared but when the indexing started it stopped working.
As the problem cannot be due to a specific file, before I tried deleting all the files gradually until I was left with only the quotebooks, I guessed the problem might be related to the indexing process of obsidian.
So in the copy of the vault with all the plugins, I added the two quotebooks files (and it was still working), and I created 15K markdown files (to simulate my real vault). The plugin still loads correctly.
At this point, I do not have a clue what could be the cause. I assume one of my files but when I deleted all of them and had only the quotebooks, the issue was still there and then when I deleted one of the two quotebooks It worked. When I did this in my vault (removing one of the quotebooks) the issue still persisted. Then, I repeated the experiment, and even with two quotebooks in a copied vault but and 15k markdown files it works.
There is a dynamic behaviour related to my vault that I am not able to undestand

In two hours I will publish hotfix that may fix your problem (1.8.2). When it's published, update plugin and restart Obsidian.

I updated and it solved all the issues!!

Thank you so much!

@tecnoborder For your interest - the reason of all these issues was invalid YAML (frontmatter) in one of your notes. Now when it's happen during scan process, the plugin just send warning to console. These warnings can be disabled in the settings.


enable theme persistence  site/app wide

add a way to remember theme choices #40

I believe this has been fixed

yes, so it will be automatically closed when the major ui update branch, which you closed without giving a reason gets merged into master


Sorting (Leaderboard) Feature Required

A funttionality of sorting users based on Total question solved, or compared to easy/medium,hard questions solved.
Just to implement a leaderboard functionality

Good idea. I'll take add the feature in my free time (not sure when 😅). Also really welcome to contribution! 🥰


Converting GT labels into Disparity Space

Thank you for your contributions and for your amazing work.
Your paper mentions that you perform prediction in disparity space in order to handle representation, scale and shift ambiguities on multiple datasets, however I could not figure out how you convert ground truths depths into disparity maps before applying your loss functions.
I know the depth disparity relation as the following form:
depth = (baseline * focal length) / disparity
thus for calculating disparity:
disparity = (baseline * focal length) / depth
but how do I decide on baseline and focal length parameters? (For instance DIML-Indoor ground truths are provided as 16bit png depths, how to convert it to disparity space before feeding it to the loss?)
Moreover the paper mentions "We shift and scale the ground-truth disparity to the range [0, 1] for all datasets.". Is this based on across all datasets statistics or according to a fixed range?
Thank you for your guidance and precious time.

I've been thinking about the same, so I wont create new issue. I've been reading a lot of issues over this repository and DPT, as Im planning on training DPT, and paper. As I understand training happens in disparity space, and as it was mentioned in one of the issues disparity is proportional to inverse depth.

So, for example I have depth dataset from game engine which provides depth encoded in range [0, 255]. To convert it to inverse depth I would have to simply 1.0 / D , which makes it proportional to disparity and in [0, 1] range. After it this dataset will be good to go for training?
If we have disparity dataset, we do the same conversion to scale dataset to range [0, 1]?
If we have SfM dataset we do same step with motivation from 1?

I've been thinking about the same, so I wont create new issue. I've been reading a lot of issues over this repository and DPT, as Im planning on training DPT, and paper. As I understand training happens in disparity space, and as it was mentioned in one of the issues disparity is proportional to inverse depth.

So, for example I have depth dataset from game engine which provides depth encoded in range [0, 255]. To convert it to inverse depth I would have to simply 1.0 / D , which makes it proportional to disparity and in [0, 1] range. After it this dataset will be good to go for training?
If we have disparity dataset, we do the same conversion to scale dataset to range [0, 1]?
If we have SfM dataset we do same step with motivation from 1?

Hi,
Did you find a workaround about how to "shift and scale the ground-truth disparity to the range [0, 1] for all datasets".
I want to reproduce DPT(MidaS 3.0) too and do not know how to proprocess the datasets.

Same problem

我一直在考虑同样的问题，所以我不会创建新的问题。我已经阅读了很多关于这个存储库和 DPT 的问题，因为我正在计划培训 DPT 和论文。据我了解，训练发生在视差空间中，正如其中一个问题中提到的，视差与深度成反比。

因此，例如，我有来自游戏引擎的深度数据集，它提供了 range 编码的深度[0, 255]。要将其转换为逆深度，我必须简单地进行转换1.0 / D，这使得它与视差和范围成正比[0, 1]。之后这个数据集适合用于训练吗？
如果我们有视差数据集，我们会进行相同的转换以将数据集缩放到范围[0, 1]？
如果我们有 SfM 数据集，我们会出于以下动机执行相同的步骤1？

您好， 您是否找到了有关如何“将所有数据集的地面实况差异转移和缩放到 [0, 1] 范围”的解决方法。 我也想重现 DPT(MidaS 3.0)，但不知道如何处理数据集。

hi, do you know how to train metric depth dataset(DIML) and relative depth dataset(RedWeb) together? I have the same question.

@puyiwen  Hi, maybe I can answer this question.  I do train my model by using both metric depth and relative depth dataset. The way is simple. For metric depth, I just inverse it by 1/depth then scale to [0,1]. For  disparity data I just scale to [0,1] without inverse. Accually, I don't really care the focal length and baseline, because I always scale it to [0,1]. So the only thing i need to know is should I inverse the data before scaling? If the label provied by depth format, I need to inverse it. If the label provided by disparity, I just scale it.

@CJCHEN1230 Thank you for your reply. I convert all the metric depth to relative depth with depth-anything big pretrained model, and I scale all relative depth to [0-1] to train. Will the effect be much different between what I do and what you do?

@CJCHEN1230 Thank you for your reply. I convert all the metric depth to relative depth with depth-anything big pretrained model, and I scale all relative depth to [0-1] to train. Will the effect be much different between what I do and what you do?

hello I do the same thing ， but when I use the original [0，255] grayscale img as label, it works . when I scale to [0,1]， it can not predict reletive depth.

@Feobi1999  I also make some labels from depth anything, I just scale it from 0 to 1. So I think we do the same thing.

@Feobi1999
Which loss function do you use? The Trimmed MAE or the SSI MSE? Based on my experience, one of the reasons may be your regularization settings. Maybe you can set the regularization term to zero to check if it works, then tune it to find a better setting.


[OpenAI] Add batchImageGeneration test

Packages impacted by this PR
Issues associated with this PR
Describe the problem that is addressed by this PR
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
Are there test cases added in this PR? (If not, why?)
Provide a list of related PRs (if any)
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists

[ ] Added impacted package name to the issue description
[ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[ ] Added a changelog (if necessary)

API change check
API changes are not detected in this pull request.

The test suite has been revamped, but hopefully it wont be very complicated to rebase your changes on top of it.

Should we close this?

The issue has been merged in this PR #26930


Limit the automation run in Travis

This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines

[ ] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

Command Guidelines

[ ] Each command and parameter has a meaningful description.
[ ] Each new command has a test.

(see Authoring Command Modules)

View a preview at https://prompt.ws/r/Azure/azure-cli/5005
This is an experimental preview for @microsoft.com users.
(It may take a minute or two for your instance to be ready)
Email feedback to 'azfeedback' with subject 'Prompt Feedback'.

I'm going to merge it now as tests are running.


Cannot apply style props to client components

Here is the repro:
https://github.com/eight04/node-test/tree/elderjs-style-prop
Svelte allows you to pass css custom property to components via --prop=value syntax:
https://svelte.dev/docs#template-syntax-component-directives---style-props
However it doesn't work with client components:

<Test --color="red" text="test1"/>

<Test --color="red" hydrate-client={{text: "test2"}} />

<Test hydrate-client={{"--color": "red", text: "test3"}} />

Result in:

I guess it's just syntax sugar that will be compiled into styled dummy div at compile time. Elderjs replaces the entire client component with something else when compiling hence the directive doesn't work. Passing it as a real component prop does not work either since it's not a real prop but template syntax.

@eight04 You nailed one of the drawbacks with partial hydration and this is related to #237.
Basically each component is an island so we can't fully support all of Svelte's functionality out of the box... but you can get what you are trying to achieve by wrapping sub components in a hydrated component.
Open to a PR for this if you'd like to add and document this.
The concern here is expanding scope of trying to match Svelte's offerings and adding more complexity to the preprocessing stage when our business case doesn't need this functionality. (we just hydrate a sub component)
Basically it is a decision against complexity and maintenance burden. Would be a nice to have though.

I think it is possible to make Elderjs support style props.
Since elderjs adds a component wrapper

  ... prerendered component ...

It can apply style props to this wrapper:

  ... prerendered component ...

This won't work when hydrate-options={{"loading": "none"}} because there is no wrapper. In this case, we can just produce a valid svelte component:

<Test --color="red" hydrate-client={{text: "test2"}} hydrate-options={{"loading": "none"}}/>

<Test --color="red" {...{text: "test2"}} />


Added OWNERS file for raft

This pull request proposes a layout for the OWNERS file we need to add to each non archived subproject under the etcd-io github organisation as part of the creation of sig-etcd.
Refer to OWNERS documentation: https://www.kubernetes.dev/docs/guide/owners
Note: Once the sig comes online fully and we shift to managing org membership through the kubernetes org bot then we need to consider a follow-up pull request to prune out the old MAINTAINERS file approach.

lgtm


Remove html & py files

Okay to remove the html & py files? I think they're redundant

Fine with me.  Are they auto-generated somehow?  I've only gotten html renderings of notebooks when I export it manually from one of the various jupyter UIs.


can you share links to  other code projects to simulate tabular categorical data

you wrote in paper
Our proposed architecture and method outperforms existing models.
can you share links to such other code projects pls simulate tabular categorical data

great thanks
but what to do if data in not given
but only given conditional probabilities for joint values observations ?


Add how to try latest development pipenv

I don't think we want to encourage that :)

The latest develop branch just fix the bug on windows 10.


wip: experiment with emitFile for server reference

wip: experiment with emitFile for server reference
chore: revert some
chore: revert more
wip: wait for idle

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#349  👈
#344 : 1 other dependent PR (#347 )
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @hi-ogawa and the rest of your teammates on  Graphite


MethodError

I am getting this error when I run the testng.xml file.
"java.lang.NoSuchMethodError: org.apache.poi.util.POILogger.log(I[Ljava/lang/Object;)V"

Unlikely a TestNG error.

But I tried to run same on two laptops but same results

TestNG doesn't use POI so the problem is most likely in your code.


fix: skip pending payment check on void

skips payment check if voidwallet is active

why?

if voidwallet is active or enabled, payments should not be checked


Edits in "Size of the dev and test sets"

I've made these updates manually because there was a conflict


pkg/flare: add missing APM variables to envvars

What does this PR do?
This PR adds all APM environmental variables currently being used by the agent to the flare.
Motivation
The lack of certain APM envvars lead to inconsistent documentation between internal docs and code. Adding these in can improve debugging with the amount of information contained by a flare.
Additional Notes

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

I'd drop all the _ADDITIONAL_ENDPOINTS ones as they might contain secrets.

Just wanted to confirm; some of the _ADDITIONAL_ENDPOINTS vars were included in the envvars file before this PR. I assume these should be kept? Thanks :)

Just wanted to confirm; some of the _ADDITIONAL_ENDPOINTS vars were included in the envvars file before this PR. I assume these should be kept? Thanks :)

Let's be safe and remove all of them! You can see in the code documentation that those fields are supposed to contain API keys.

Looks good, thanks! Can you just mention in the PR description why the skip-qa label was applied + why there is no QA section?

Yes, SG! 👍🏼


chore: update repo by service bot

update repo by Service Bot

CHANGELOG
FILE NAME - CHANGED BY - COMMIT MESSAGE
.semaphore/project.yml - plugin_semaphore - chore: update repo semaphore project

No longer using service bot to manage Semaphore because the repo is public. Closing.


[SPARK-13390][SQL][branch-1.6]Fix the issue that Iterator.map().toSeq is not Serializable

What changes were proposed in this pull request?
scala.collection.Iterator's methods (e.g., map, filter) will return an AbstractIterator which is not Serializable. E.g.,
scala> val iter = Array(1, 2, 3).iterator.map(_ + 1)
iter: Iterator[Int] = non-empty iterator

scala> println(iter.isInstanceOf[Serializable])
false

If we call something like Iterator.map(...).toSeq, it will create a Stream that contains a non-serializable AbstractIterator field and make the Stream be non-serializable.
This PR uses toArray instead of toSeq to fix such issue in def createDataFrame(data: java.util.List[_], beanClass: Class[_]): DataFrame.
How was the this patch tested?
Jenkins tests.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/51810/
Test FAILed.

retest this please

Test build #51816 has started for PR 11334 at commit 40e6b2f.

Test build #51816 has finished for PR 11334 at commit 40e6b2f.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/51816/
Test FAILed.

retest this please

Test build #51824 has started for PR 11334 at commit 40e6b2f.

Test build #51824 has finished for PR 11334 at commit 40e6b2f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/51824/
Test PASSed.

LGTM

Merged to 1.6


Trident-operator image not listed in the prereq.

Describe the bug
Trident requirement page lists all the images one needs to download for air-grapped environments.
This list can also be found when running the 21.01 command tridentctl images.
However, it does not list the trident-operator image ...
Environment
NetApp Kubernetes v4.0 LabOnDemand with Trident 21.04
Expected behavior
Listing the operator image in both prereq & cli, while specifying it may only be required when not choosing the tridentctl installation method

The link being discussed is here.


refactor(hovercard): update component

Description

Linked Issues
Additional context

I'm turning this off, it's old.


Add callbacks for ompt progress and add test that shows it works

The ompt callback "dispatch" does not seem to be active.
The ompt work callback does seem to be active
[x] TODO: remove dispatch callback until it can be tested
[x] TODO: validate that the work callback is doing exactly what is expected
[x] TODO: Add loose assertions about total runtime of the test_progress run
[x] TODO: Add assertions that the progress signal goes up twice
[x] TODO: Add assertions that the progress signal is monotone within each OMPT detected region
[x] TODO: Clean up history

Hey LGTM. I had one little comment about one of the tests but it's just a comment.


Uninstalling the Plugin

When I manually delete the file to remove the plugin I am getting error (). To fix it, I think I need to delete the relevant line from the manifest.json file. But I don't know which plugin belongs to.
Error ----> Assets\Editor\RPCEditor.cs(5,7): error CS0246: The type or namespace name 'Discord' could not be found (are you missing a using directive or an assembly reference?)

I solved the problem. The real source of the problem was due to incomplete deletion of files.


docs(concepts) Modules page actualization

Remove webpack 1 note
html -> HTML
remove unnecessary parenthesis

What about the project about having actual releases per documentation? We should do it this winter.


rake all does not install dependencies

Upon running rake all I got the following error:
Could not find proper version of rake (10.5.0) in any of the sources
Run `bundle install` to install missing gems.

Ideally everything should be automated.

Sounds good! Call it rake spec setup so it's obvious. The task for running specs can be renamed to rake spec run. This can be done by setting up rake to detect command line arguments: http://stackoverflow.com/questions/825748/how-do-i-pass-command-line-arguments-to-a-rake-task

The default when running just rake spec should run both rake spec setup and rake spec run.

Would rake spec run run the specs for all Rubies. How will one run specs for only one Ruby version? Currently rake run_all run specs for all Rubies and rake spec run specs for only one Ruby version.

Oh. Missed that. How about:

rake spec runs the specs for only the current Ruby version (same behaviour as is right now).
rake spec run all running specs for all the Ruby versions.
rake spec run -v 2.2 will run specs for Ruby 2.2. You can of course put any version of Ruby there.
rake spec setup does the test setup for all Ruby versions.

We'll just trust the user for running rake spec setup before running tests for all versions.

@v0dro Which answer are you referring to in the link: http://stackoverflow.com/questions/825748/how-do-i-pass-command-line-arguments-to-a-rake-task
The standard way of passing arguments to rake is something like rake task[arg1, arg2].

Although using the trick mentioned in this answer this is possible.

Yeah I like the approach in the answer you posted more.

This issue is fixed.


npm dependencies version conflict (fstream)?

not sure if this is a good place to report the issue...
when running npm install in this project there's this warning:
npm WARN unmet dependency /Downloads/chokidar-master/node_modules/fsevents/node_modules/fstream-ignore requires<EMAIL_ADDRESS>but will load
npm WARN unmet dependency /Downloads/chokidar-master/node_modules/fsevents/node_modules/fstream,
npm WARN unmet dependency which is version 1.0.8
and when running npm shrinkwrap --dev there's this error:
npm WARN unmet dependency /Downloads/chokidar-master/node_modules/fsevents/node_modules/fstream-ignore requires<EMAIL_ADDRESS>but will load
npm WARN unmet dependency /Downloads/chokidar-master/node_modules/fsevents/node_modules/fstream,
npm WARN unmet dependency which is version 1.0.8
npm ERR! Darwin 13.4.0
npm ERR! argv "node" "/usr/local/bin/npm" "shrinkwrap" "--dev"
npm ERR! node v0.12.7
npm ERR! npm  v2.14.8
npm ERR! Problems were encountered
npm ERR! Please correct and try again.
npm ERR! invalid<EMAIL_ADDRESS>/Downloads/chokidar-master/node_modules/fsevents/node_modules/fstream
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     https://github.com/npm/npm/issues
npm ERR! Please include the following file with any support request:
npm ERR!     /Downloads/chokidar-master/npm-debug.log
FYI i need to run shrinkwrap on a parent project and it all fails downstream....

I am having same issue.

Track the issue at https://github.com/strongloop/fsevents/issues/100
In the meantime you can npm i<EMAIL_ADDRESS>prior to running shrinkwrap.

@es128 that solution only works for Mac... any ideas for Linux?

You shouldn't have the fsevents dependency to begin with if you're on linux

I'm shrinkwrapping on Mac (local machine) and running CI builds on linux

So why doesn't it work?

Well, I can't install fsevents without adding it to package.json (shrinkwrap complains about extraneous dependencies). And I don't want to add it to package.json because of the Linux builds.
I was able to work around this by going into node_modules/chokidar/node_modules/fsevents/node_modules/fstream-ignore and running npm install fstream. Shrinkwrap worked correctly after that.

Resolved with fsevents 1.0.4

thanks for the update!


Complete rewrite of Getting started page with Service Principal, 2… …. Rename API Reference to API Documentatation, 3. Fix Trial Expired error message

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have signed the Adobe Open Source CLA.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Doc version of it is reviewed by Content (Jenna Jayroe) and Archy https://docs.google.com/document/d/1Rkra2Sm8pCTQ8elNZVIYwpzRQfwBbvQ4cpoPhKC1Tko/edit


python38Packages.pytelegrambotapi: 4.0.0 -> 4.1.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python38Packages.pytelegrambotapi is: "A simple, but extensible Python implementation for the Telegram Bot API"
meta.homepage for python38Packages.pytelegrambotapi is: "https://github.com/eternnoir/pyTelegramBotAPI"
meta.changelog for python38Packages.pytelegrambotapi is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 4.1.0 with grep in /nix/store/v23rmxhpbggcy9gndzr16z4qmpnq5zfa-python3.8-pyTelegramBotAPI-4.1.0

found 4.1.0 in filename of file in /nix/store/v23rmxhpbggcy9gndzr16z4qmpnq5zfa-python3.8-pyTelegramBotAPI-4.1.0

directory tree listing: https://gist.github.com/d0f3c775f4790cfaf404b11ed4f7fcb7

du listing: https://gist.github.com/b61db4803f916a65f146ad89e516251d

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

8 total rebuild path(s)

2 package rebuild(s)

2 x86_64-linux rebuild(s)
2 i686-linux rebuild(s)
2 x86_64-darwin rebuild(s)
2 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
python38Packages.pytelegrambotapi
python39Packages.pytelegrambotapi

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/v23rmxhpbggcy9gndzr16z4qmpnq5zfa-python3.8-pyTelegramBotAPI-4.1.0 \
  --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 python38Packages.pytelegrambotapi https://github.com/r-ryantm/nixpkgs/archive/8bf6ca43cbaef0de2bfa031f9c8f6dc2bff8001f.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/v23rmxhpbggcy9gndzr16z4qmpnq5zfa-python3.8-pyTelegramBotAPI-4.1.0
ls -la /nix/store/v23rmxhpbggcy9gndzr16z4qmpnq5zfa-python3.8-pyTelegramBotAPI-4.1.0/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 run on x86_64-linux 1

2 packages built:

python38Packages.pytelegrambotapi
python39Packages.pytelegrambotapi

Maintainer pings
cc @dasJ for testing.

Result of nixpkgs-review pr 139533 at 8bf6ca43 run on aarch64-linux 1

2 packages built successfully:

python38Packages.pytelegrambotapi
python39Packages.pytelegrambotapi

2 suggestions:

warning: unclear-gpl
gpl2 is a deprecated license, please check if project uses gpl2Plus or gpl2Only and change meta.license accordingly.
Near pkgs/development/python-modules/pyTelegramBotAPI/default.nix:17:5:
   |
17 |     license = licenses.gpl2;
   |     ^

warning: no-python-tests
Test runner could not discover any test cases: ‘Ran 0 tests in 0.000s’
Near pkgs/development/python-modules/pyTelegramBotAPI/default.nix:16:0:
   |
16 |     description = "A simple, but extensible Python implementation for the Telegram Bot API";
   | ^


MUU-657: common/shared functionalities for muuntaja/merge

simple common.js in merge folder to share functions between apps
common.js should be available to both muuntja and merge
commmon naming schema for now, naming tbd

Identical functions moved to common.js.
Global variables moved to common.
Init functions formats data on page init.
Most of the functionality remains the same.
Jsdocs added for easier documentation.

When tested both clients seemed to work fine.
While the code could use some refactoring currently this does already fulfil the scope of MUU-657.


Fixing home icon alignment-added padding on top and margin on bottom

Description
It is a simple bug causing alignment issues fixed by custom code targeting the element.
Fixes #325 raised in keploy main repository.
https://github.com/keploy/keploy/issues/325Fixes # (issue)
Type of change
Please delete options that are not relevant.

[X] Bug fix (non-breaking change which fixes an issue).

How Has This Been Tested?
Local Test
Additional Context (Please include any Screenshots/gifs if relevant)

...
Checklist:

[X] My code follows the style guidelines of this project.
[X] I have performed a self-review of my own code.

@SanskritiHarmukh Kindly review

@nehagup @SanskritiHarmukh
Thank you.


Add Streams

Stream is a replacement for Iterator, merging iteration into a single method and fixing some of the minor issues we've discovered with iterators after using them for the past couple of years.

Stream::continue() returns a promise that is fulfilled with the emitted value or null if the stream has completed. The promise may also fail with the same exception used to fail the stream.

Steams cannot emit promises. Yielding promises is behaviorally strange (iteration order now depends on resolution order) and also generally unnecessary.

Streams cannot emit null as it is used to signal the end of the stream.

Stream::continue() may be called an unlimited number of times. The promises returned are resolved as values are emitted. If the stream ends with fewer values, excess promises are resolved with null.

StreamSource is analogous to Iterator's Emitter. It is used to emit values and complete or fail the stream. Like Emitter, it is not meant to be part of a public API.

AsyncGenerator is analogous to Iterator's Producer. AsyncGenerator implements a full async-generator, including send() and throw() methods like \Generator. The promise returned from the $emit callable is resolved with null if continue() is used, otherwise it is resolved with the sent value or failed with the thrown exception. yield is used as await like any other coroutine. A callable $emit is provided as the single argument to function provided to the AsyncGenerator constructor for emitting values. Using send/throw is not required of course, and can be used like any other Stream as \Generator can be used like an \Iterator.

The promise returned from StreamSource::emit() and the emit callable provided to AsyncGenerator resolves once the value is consumed from the stream or fails with DisposedException if the stream is destroyed.

When a Stream is destroyed, the stream source is notified that the stream is no longer being consumed through a DisposedException failing the promise returned from StreamSource::emit() (or the emit callable provided to AsyncGenerator).

Only a single Stream object may be associated with a source. Since iteration should only be occurring in one place, this just makes sense and makes disposal simple.

All back-pressure is removed if a stream is destroyed (disposed).

This is now ready for another review. I look forward to using AsyncGenerator. I believe we can create some powerful generator parsers and async iterators.

I think I'd like to see failing only intermediate values instead of the whole stream. I don't have an API suggestion for that, yet, but just want to write it down here so we don't forget about it.

I think I'd like to see failing only intermediate values instead of the whole stream. I don't have an API suggestion for that, yet, but just want to write it down here so we don't forget about it.

I think it makes more sense to keep it simple. If a user wants to represent failed values, they can emit exceptions.
AsyncGenerator::throw() could also be considered a way to emit a failed value, but that of course is built on top of the basic stream implementation.

This work eventually lead to the pipeline library for v3.


Fixed #26289 -- Enabled shell tab completion on systems using libedit.

https://code.djangoproject.com/ticket/26289

Ticket: https://code.djangoproject.com/ticket/26289

The implementation has been shamelessly stolen from Python itself: https://github.com/python/cpython/blob/3.4/Lib/site.py#L402-L406

Why doesn't Python's implementation suffice? Is this only needed on Python 2?

@timgraham I tested it with Python 3.4, and it should suffice, but somehow it doesn't. This was added to CPython in 3.4, so all earlier versions don't have it.

I guess I'm not too happy to add untested, duplicated code without understanding the problem a bit better. I don't use Mac OS myself so not sure if I can help much.

It is tested: I tested it (any other person with OSX could give it a try to
confirm), and the code is the same as in CPython. Last, it's not
duplicated, as it's needed in Python < 3.4.
On Tue, Mar 1, 2016 at 4:09 PM, Tim Graham<EMAIL_ADDRESS>wrote:

I guess I'm not too happy to add untested, duplicated code without
understanding the problem a bit better. I don't use Mac OS myself so not
sure if I can help much.
—
Reply to this email directly or view it on GitHub
https://github.com/django/django/pull/6214#issuecomment-190760766.

--
/Saúl
bettercallsaghul.com

By "tested", I mean unit tests. Django master supports Python 2.7 and Python 3.4+, and I don't think we should be adding new features for Python 2.7 at this point.

I dug a bit deeper. code.interact does not inherit the module globals, but it does take a local dict, which Django already prepares. Because globals are not inherited, the new interactive interpreter does not have tab completion in any Python version.
Here is a simple test you can try which demonstrates the problem also on Linux: create a file with the following content:
import code
code.interact()

or just run:
python3 -c "import code; code.interact()"

And run it with Python 3 >= 3.4. The normal interactive interpreter does have tab completion, this one won't. That's why Django has to do it manually.

FWIW this is what I have in my own personal .pythonrc file on OSX:
    # above tries to import readline and rlcompleter and if successful:
    if 'libedit' in readline.__doc__:     # different bind libedit
        readline.parse_and_bind("bind ^I rl_complete")
    else:
        readline.parse_and_bind("tab: complete")

The change looks fine to me, but I'm struggling to test it properly because I try very very hard never to use the system python for development. I know I've been bitten by loss of tab complete before (http://stackoverflow.com/a/7116997/10583) so it'd be nice to include this in django proper.

If I remember correctly, I wrote the code in Lib/site.py so it looks good to me. I tested it on OS X and it works fine.
I'm not sure I understand the comment about code.interact(). It normally doesn't have anything to do with code completion (it's rcompleter's duty).  rcompleter.Completer() uses __main__.__dict__ by default as its namespace (which it includes globals, builtins etc.). And they are added to imported_objects implicitly by the exec() call in line 89.

I'm not sure I understand the comment about code.interact(). It normally doesn't have anything to do with code completion (it's rcompleter's duty). rcompleter.Completer() uses main.dict by default as its namespace (which it includes globals, builtins etc.). And they are added to imported_objects implicitly by the exec() call in line 89.

Django sets the completer for a local namespace, so __main__.__dict__ is not used by rlcompleter: https://github.com/django/django/blob/master/django/core/management/commands/shell.py#L60-L62 and https://github.com/django/django/blob/master/django/core/management/commands/shell.py#L71

merged in 6c33e7333336487a30dbd170c93b2f6e50133de7, thanks!


Fixing rename statements for mysql/postgres adapter

I'm closing this one due to improved pull req: https://github.com/datamapper/dm-migrations/pull/38


Had globals.js link to env.js and pull the IP and Port from there properly.

To test this, check if this will preserve the features in the main branch (because some of the changes might not have been committed) and also check if you can still log in properly.
It should work fine, as long as your env.js is set up properly in schedj-frontend.

Looks good 👍


Release 1.1.0

I'm just gonna sneak in this minor version release before we break everything with d3 v4


CONGRATS....

LOOKING FORWARD FOR MORE SOON , ALREADY A GREAT JOB

Thanks for the feedback!


expose raw hash APIs

I have a use case where i want to cache an object which is keyed by a pretty large object that is deserialized. calculating the hash for this key is already done as part of deserializing and parsing,and it would be a substantial performance gain to not have to rehash it.  i saw that there are in fact functions that are currently pub(crate) such as get_with_hash or insert_with_hash. would it be possible to expose them in the public API?
if you dont want those functions completely public for API stability reasons, it would still be nice to expose them behind a feature flag, for those of us who have some specialized use cases :)

Hi. Thank you for using Moka.
It would not be necessary to expose these APIs. You can write your oun hasher, which simply pass-through the pre-calculated hash value. And then you can give the hasher to the cache. Here is an example:
use std::{
    hash::{BuildHasherDefault, Hash, Hasher},
    sync::Arc,
};

//
// Define a struct for the key, which holds the key and its hash value.
//

#[derive(Clone, PartialEq, Eq)]
pub struct MyKey {
    _key: Arc<Box<[u8]>>,
    hash_value: u64,
}

impl MyKey {
    pub fn new(key: Box<[u8]>, hash_value: u64) -> Self {
        Self {
            _key: Arc::new(key),
            hash_value,
        }
    }
}

// Implement Hash. We will only use the pre-calculated hash value.
impl Hash for MyKey {
    fn hash<H: Hasher>(&self, state: &mut H) {
        self.hash_value.hash(state);
    }
}

//
// Create a Hasher, which just uses a single u64 value as the final hash.
//

#[derive(Default)]
struct PassthroughHasher(u64);

impl Hasher for PassthroughHasher {
    fn write_u64(&mut self, i: u64) {
        self.0 = i;
    }

    fn write(&mut self, _bytes: &[u8]) {
        unimplemented!()
    }

    fn finish(&self) -> u64 {
        self.0
    }
}

// Define a BuildHasher using our Hasher. We will give this to our cache.
type PassthroughBuildHasher = BuildHasherDefault<PassthroughHasher>;

fn main() {
    let cache = moka::sync::Cache::builder()
        .max_capacity(100)
        // Give our build hasher to this cache.
        .build_with_hasher(PassthroughBuildHasher::default());

    let key1 = MyKey::new(b"key1".to_vec().into_boxed_slice(), 0);
    let key2 = MyKey::new(b"key2".to_vec().into_boxed_slice(), 1);

    cache.insert(key1.clone(), "value1");
    cache.insert(key2.clone(), "value2");

    assert_eq!(cache.get(&key1), Some("value1"));
    assert_eq!(cache.get(&key2), Some("value2"));
}

Will this trick work for you?

it would, but i would think it is perhaps more ergonomic to provide something similar to the raw_entry API from hashbrown https://docs.rs/hashbrown/latest/hashbrown/raw/struct.RawTable.html#method.insert, etc, especially if these functions are already implemented.
its a bit a question of API, i guess.

Unfortunately, exposing sync::Cache's get_with_hash and insert_with_hash does not solve your problem.
Like many other hash tables, Moka cache's internal hash table re-calculates hash values of existing keys when it resizes (reallocates) the storage area for growth. This operation is called rehashing. So even though, you use the pre-calculated hash when inserting and retrieving an entry, the cache will still re-calculate hashes from the keys when the cache grows. If you use a different hash function for pre-calculating the hash to the hash function that the cache is given at the build time, it will break; get_with_hash will no longer be able to locate the key after growing.
On the other hand, the example code above with PassthroughHasher ensures that the hash is never re-calculated from the key, at insertion, retrieval and rehashing times.

ah, i missed that. thanks a lot :)


API is down

the api url is not loading

For everyone having this problem, I was able to fix the issue locally.
Depending on your OS, find your hosts file (linux and mac, available at /etc/hosts
Edit the file (Note you might need sudo/root permissions to edit the file and save).
Try any of the following (add only one of the lines at a time, not all. These are all the ip's service lies on)
<IP_ADDRESS> api.quotable.io
<IP_ADDRESS> api.quotable.io
<IP_ADDRESS> api.quotable.io
<IP_ADDRESS> api.quotable.io
Confirm by going to your browser and heading to
https://api.quotable.io/random
Enjoy for the time being! While devs get their stuff back up fixed


error code: 651 message: seqno not in db

Hello
I use Docker with this command "docker run -d -p8081:8081 tonkeeper/opentonapi"
when i request to my server, i get error but when i request to tonapi.io, it's work fine !
http://<IP_ADDRESS>:8081/v2/blockchain/blocks/(0,8000000000000000,35604934)/transactions

on public liteservers some blocks can be unavailable. you shoud user your own archive node if you want to request old blocks.


fixed-grc-ui-high-vulnerabilities

Signed-off-by: Chunxi Luo<EMAIL_ADDRESS>

/lgtm

/retest


Increment version number to 4.x.x for hasExtension -> usesExtension

We renamed hasExtension to usesExtension here: https://github.com/CesiumGS/gltf-pipeline/commit/154858625ad110059b64a8efdb0cb2717cf791bf
I think this should've prompted us to increment the version number to 4.x.x, right?

hasExtension/usesExtension actually isn't part of the public API and didn't warrant a version bump. The problem is we use non-public API functions in some of our internal repos.
The public API is here: https://github.com/CesiumGS/gltf-pipeline/blob/main/index.js

Got it, thanks. Closing this.


wasm-to-oci (wasm file in registry) support

git repo

https://github.com/engineerd/wasm-to-oci

push ro registry

docker  login
wasm-to-oci push optimized.wasm add-header:v0.1

url support

apiVersion: extensions.istio.io/v1alpha1
kind: WasmPlugin
.
.
.
 url: oci://xx.com/wasm/add-header:v0.1
...

thx


Checkpointing primitives for Lite

🚀 Feature
Add Lite.save_checkpoint and Lite.load_checkpoint convenience methods.
Motivation
It is cumbersome to manually construct a checkpoint dict with all metadata and states.
Pitch
Saving checkpoints:
ckpt = self.create_checkpoint(model1, model2, ..., optimizer1, optimizer2, ..., key1=value1, key2=value2)
self.save(ckpt, "path/to/ckpt.pt")

Creates a dict and fetches the state dicts of all objects passed in (instance check)
Depending on strategy, consolidates optimizer state etc.
User-defined metadata can be passed in
Adds version information
The checkpoint creation and saving is separated to give the user control to modify contents if they need to

Loading checkpoints:
ckpt = self.load("path/to/ckpt.pt")
self.apply_checkpoint(ckpt, model1, model2, ..., optimizer1, optimizer2)

# if you need to access your metadata:
val1 = ckpt["key1"]

User loads the file
User has model and optimizers instantiated
Applies the checkpoint to the objects. The state dict contents get applied to the objects (model, optimizers, etc.)
The checkpoint loading from file and application to models is separated to give the user control to modify contents before they get loaded

Open questions

I'm not sure whether the arguments should be keyword only.

Alternatives
The current way. Constructing the dicts manually and saving/loading using the self.save/self.load helpers.

If you enjoy Lightning, check out our other projects! ⚡

Metrics: Machine learning metrics for distributed, scalable PyTorch applications.

Lite: enables pure PyTorch users to scale their existing code on any kind of device while retaining full control over their own loops and optimization logic.

Flash: The fastest way to get a Lightning baseline! A collection of tasks for fast prototyping, baselining, fine-tuning, and solving problems with deep learning.

Bolts: Pretrained SOTA Deep Learning models, callbacks, and more for research and production with PyTorch Lightning and PyTorch.

Lightning Transformers: Flexible interface for high-performance research using SOTA Transformers leveraging PyTorch Lightning, Transformers, and Hydra.

You might find this library useful for such primitives, especially to support distributed checkpointing: https://github.com/pytorch/torchsnapshot
@yifuwang

Hey @ananthsub @yifuwang Would you be interested in making a contribution to Lite ?

@ananthsub Thanks, yes we already saw it and the interface is really nice. It could be useful here too to be called under the hood.
In Lite, we also have the CheckpointIO (attached to the strategies) which takes care of the saving and loading, but state dict collection on the objects happens separately. Since torchsnapshot does both, it would have to be integrated differently there.

Please, let's keep the torchsnapshot integration focused to #14503. It's in our roadmap, just waiting for Lite changes to be over.


fix: Import body as surface where it applies

When importing a file, whether a body is a surface or not is ignored. This PR fixes this.
Let's wait for @jonahrb feedback before merging this PR to see if there is a better solution involving the server side.
Closes #834

Closing PR in favor of @jonahrb's implementation - information will now be feedback by the service


Fix docs building

Building the docs fails due to dask-sphinx-theme pinning sphinx-book-theme==0.2. See https://github.com/dask/dask-sphinx-theme/issues/68.
By applying the workaround of pinning sphinx-contrib packages as suggested in the thread, and as done by the main Dask docs, the documentation should build.
I could build it locally with python 3.11, it seemed ok.

Let's see what builds ;)


Should light nodes download all available evidence?

Context
Evidence was moved from the the data square back to the Tendermint block in https://github.com/celestiaorg/celestia-core/pull/897 and https://github.com/celestiaorg/celestia-app/pull/1079. This has implications on the responsibilities of light nodes because now evidence isn't being DAS. It seems necessary for light nodes to download all evidence. Tagging @Wondertan @evan-forbes for awareness

@rootulp, this has to happen eventually in the form of FPs that LNs have to actively listen. They aren't fully trust minimized until we have that. Currently, LNs may follow a wrong fork caused by equivocation.


What's the meaning of isReferrable in getAutoInstance() ?

what is the meaning of isReferrable ?
Does it mean, Can be regarded as a fresh install?

@pcompassion isReferrable indicates whether or not the current session should be considered referrable. This is to avoid invalid install count while you do testing and debugging with your app.
Please let us know if you still have issues with it

My english isn't that good I guess,
A current session should be considered referrable: Does it mean any of the following two?
We can consider this session as a session that is referred (link-clicked).
We can consider this session can refer (give a link) a user to something

@pcompassion isReferrable means the We can consider this session as a session that is referred (link-clicked).


Disable GHCJS8

https://github.com/NixOS/nixpkgs/pull/22369
@peti Hello ! :)
Any ideas as to when the aforementioned patch will hit nixpkgs-unstable?

Several months ago?

@peti, Ah, well it seems that haddock-api is still trying to be built when ghcjsHEAD is used. Maybe this is a different, unrelated issue. https://hydra.dmj.io/build/11801/nixlog/1
➜  miso git:(disable-ghcjs8-build) nix-channel --list
nixpkgs https://nixos.org/channels/nixpkgs-unstable
➜  miso git:(disable-ghcjs8-build) nix-channel --update
downloading Nix expressions from ‘https://d3g5gsiof5omrk.cloudfront.net/nixpkgs/nixpkgs-17.09pre111456.d4ef5ac0e9/nixexprs.tar.xz’...
downloading ‘https://d3g5gsiof5omrk.cloudfront.net/nixpkgs/nixpkgs-17.09pre111456.d4ef5ac0e9/nixexprs.tar.xz’... [8364/8835 KiB, 8326.2 KiB/s]
unpacking channels...
➜  miso git:(disable-ghcjs8-build) nix-shell -p 'haskell.packages.ghcjsHEAD.ghcWithPackages (p: with p; [ aeson ])'

these derivations will be built:
  /nix/store/npjb0l65c0v817p4j04dsypf9z1nn4r2-haddock-api-2.18.1.drv
  /nix/store/q2w14i7db0frza3yv6hivhqfj6lvif3v-haddock-2.18.1.drv
  /nix/store/p4bl5b4kl0hgggsgrali8c2xsbz6wssw-ghcjs-0.2.020170323.drv
  /nix/store/qf64wh9p60gvqsm1lw3x3cjr89rd7v3v-Cabal-<IP_ADDRESS>.drv
  /nix/store/wh8dc4y850s67l48z5imw7fjdsy9cxby-hscolour-1.24.1.drv
  /nix/store/91qidm09w5jh1bq3wahy392biqlbjsp5-Cabal-<IP_ADDRESS>.drv
  /nix/store/004s7zypqz6vhd83k8g5qpbncp7xlxql-vector-<IP_ADDRESS>.drv
  /nix/store/6cd4qslkjniginc81lc3315vph6x36fw-integer-logarithms-1.0.1.drv
  /nix/store/rbinj1a2ks8mqb19jg6apycyjc8a9i1x-old-locale-<IP_ADDRESS>.drv
  /nix/store/7z3zyn80zrvwh187g8xcs6wh2139pdkf-time-locale-compat-<IP_ADDRESS>.drv
  /nix/store/b97vfpy036lz8b2dm3h1ardfcbsdjxs4-text-<IP_ADDRESS>.drv
  /nix/store/f7jjhdvssf17rlq4m8zzzcxji8ba3q8c-hashable-<IP_ADDRESS>.drv
  /nix/store/nlzdd9vl64dy2nnf8shsnl05nqxn8n20-random-1.1.drv
  /nix/store/9m5yp2bf2l0bik2sf26b0iqnm9m191yf-uuid-types-1.0.3.drv
  /nix/store/f9vgkvhq6zff8x5ihj924d7ab6jnvfcl-dlist-<IP_ADDRESS>.drv
  /nix/store/lxcfzz498nz1mwmnr35ls0l98qzpzywk-unordered-containers-<IP_ADDRESS>.drv
  /nix/store/pqzjlnb0xqaif9506i9fp0rdfp1zrsgd-scientific-<IP_ADDRESS>.drv
  /nix/store/zx98ggpa5adpaz1bskr1a9d7mc170426-transformers-compat-<IP_ADDRESS>.drv
  /nix/store/q3r5yld6fkirhrpfjq5gbgc23n3wf5cq-tagged-0.8.5.drv
  /nix/store/v9mxwai5v4v4kfbv6a22949lw42a00yg-base-compat-0.9.3.drv
  /nix/store/vybq563cl6dl71wv6b3lyd973pblgl2v-attoparsec-<IP_ADDRESS>.drv
  /nix/store/w1y5d3087x23bzcjcqn5mjx5nd6x7za5-aeson-<IP_ADDRESS>.drv
  /nix/store/6rhb1fa4qbk72lrpdcdw7rssyzmrnqgd-ghcjs-0.2.020170323-with-packages.drv
building path(s) ‘/nix/store/byzaxkdwacc2sbgihp0gynx2zbcirr5l-haddock-api-2.18.1’
setupCompilerEnvironmentPhase
Build with /nix/store/iy783h33w3grxlay4azx0snny9y351ck-ghc-8.0.2.
unpacking sources
unpacking source archive /nix/store/mz6gvy41vb2xlmiwyf5zscddbldjb15f-haddock-api-2.18.1.tar.gz
source root is haddock-api-2.18.1
setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file haddock-api-2.18.1/test/Spec.hs
patching sources
compileBuildDriverPhase
setupCompileFlags: -package-db=/private/var/folders/x4/92d7c1vd7wl88gdw6668rnr80000gp/T/nix-build-haddock-api-2.18.1.drv-0/package.conf.d -j8 -threaded
[1 of 1] Compiling Main             ( Setup.lhs, /private/var/folders/x4/92d7c1vd7wl88gdw6668rnr80000gp/T/nix-build-haddock-api-2.18.1.drv-0/Main.o )
Linking Setup ...
configuring
configureFlags: --verbose --prefix=/nix/store/byzaxkdwacc2sbgihp0gynx2zbcirr5l-haddock-api-2.18.1 --libdir=$prefix/lib/$compiler --libsubdir=$pkgid --with-gcc=clang --package-db=/private/var/folders/x4/92d7c1vd7wl88gdw6668rnr80000gp/T/nix-build-haddock-api-2.18.1.drv-0/package.conf.d --ghc-option=-optl=-Wl,-headerpad_max_install_names --ghc-option=-j8 --disable-split-objs --disable-library-profiling --disable-profiling --enable-shared --disable-coverage --enable-library-vanilla --enable-executable-dynamic --enable-tests --extra-include-dirs=/nix/store/b6ll5iicpyags3j9akx25bynm2hqr9sj-libc++-4.0.1/include --extra-lib-dirs=/nix/store/b6ll5iicpyags3j9akx25bynm2hqr9sj-libc++-4.0.1/lib
Setup: haddock-api.cabal: This package requires at least Cabal version 2.0
builder for ‘/nix/store/npjb0l65c0v817p4j04dsypf9z1nn4r2-haddock-api-2.18.1.drv’ failed with exit code 1
cannot build derivation ‘/nix/store/p4bl5b4kl0hgggsgrali8c2xsbz6wssw-ghcjs-0.2.020170323.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/6rhb1fa4qbk72lrpdcdw7rssyzmrnqgd-ghcjs-0.2.020170323-with-packages.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/6rhb1fa4qbk72lrpdcdw7rssyzmrnqgd-ghcjs-0.2.020170323-with-packages.drv’ failed
/Users/david/.nix-profile/bin/nix-shell: failed to build all dependencies

It looks like in nixpkgs HEAD haddock-api refers to 2.17.4 again so hopefully unstable will soon be fixed.

@cocreature, ah thanks.

Forking our own nixpkgs, and maintaining ghcjs until our patches are merged upstream.


Outbound spam notifications

This is about: "(Optional) Expand the Notifications section to configure additional users who should receive copies and notifications of suspicious outbound email messages"
--> This article is incorrect when advising to enable Outbound spam notifications by creating a new outbound spam policy since only the deafult outbound spam policy will generate these notifications. This was already escalated but not resolved by our Product group.

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

ID: c3c27660-0f0b-3002-7183-854e4fb8716b
Version Independent ID: 3f436862-e6b3-2a9d-70b5-f7eee02eec2e
Content: Configure outbound spam filtering - Office 365
Content Source: microsoft-365/security/office-365-security/configure-the-outbound-spam-policy.md
Service: o365-seccomp
GitHub Login: @chrisda
Microsoft Alias: chrisda

@JeroenDronkers, could you clarify?
The two available options are:

Send a copy of suspicious outbound email messages to specific people.
Notify specific people if a sender is blocked due to sending outbound spam.

Are you saying that one or both of these settings are only honored in the default outbound spam policy and ignored in any other custom policies? And where does the alert policy 'User restricted from sending email' fit in to this?

Hello Chris,
The option “Send a copy of suspicious outbound email messages to specific people” only works for the default outbound spam policy.
Any customer outbound spam policy will not generate spam notifications although the “notifications” option is there.
I have raised a bug for this earlier but this is apparently not going to be fixed and causes confusion with customers.
These notifications are samples of the outbound spam emails which we need in support to be able to resolve the issue. The Alternative “Alerts” do not provide samples and are therefore useless.
The escalation: https://o365exchange.visualstudio.com/DefaultCollection/IP Engineering/_workitems/edit/1377606
The corresponding support case: Rave 18429987
The article is incorrect under: https://docs.microsoft.com/en-us/microsoft-365/security/office-365-security/configure-the-outbound-spam-policy?view=o365-worldwide#use-the-security--compliance-center-to-create-outbound-spam-policies
Number 4: Expand the Notifications section to configure additional users who should receive copies and notifications of suspicious outbound email messages:
That will simply not do what it says.
Hope that clarifies.
Kind regards
--
Jeroen Dronkers
Support Escal Eng
Eq-Uk Gtsc Bizapps Server
Customer Services and Support
Office: +44<PHONE_NUMBER>
jedronke<EMAIL_ADDRESS>[abc]

Team Manager | Frances Early (francese<EMAIL_ADDRESS>+44 (20) 34251539
Did you know? You can submit your feedback for this Support ticket from the Navigation menu in the Microsoft 365 admin center via ‘Support’ (headset icon)/‘View service requests’/‘Ticket #’ (see subject of this email).
From: Chris Davis<EMAIL_ADDRESS>Sent: 12 May 2020 19:28
To: MicrosoftDocs/microsoft-365-docs<EMAIL_ADDRESS>Cc: Jeroen Dronkers<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/microsoft-365-docs] Outbound spam notifications (#1875)
@JeroenDronkershttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FJeroenDronkers&data=02|01|jedronke%40microsoft.com|580335060bbd4641cf0f08d7f6a22d01|72f988bf86f141af91ab2d7cd011db47|1|0|637249048714661734&sdata=cmqzZ3IxVf8JlN92nK%2FmpcStJJPNzw84IQ%2FQxStvRFk%3D&reserved=0, could you clarify?
The two available options are:

Send a copy of suspicious outbound email messages to specific people.
Notify specific people if a sender is blocked due to sending outbound spam.

Are you saying that one or both of these settings are only honored in the default outbound spam policy and ignored in any other custom policies? And where does the alert policy 'User restricted from sending email' fit in to this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fmicrosoft-365-docs%2Fissues%2F1875%23issuecomment-627514954&data=02|01|jedronke%40microsoft.com|580335060bbd4641cf0f08d7f6a22d01|72f988bf86f141af91ab2d7cd011db47|1|0|637249048714671727&sdata=Ced1Tc%2FvCWUqHWuS1pdV7xETmGBqWSdKOrzWW1pgMlA%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKVZUKAHU2SIXDIZ34ZTD7LRRGIKLANCNFSM4M5X3C2A&data=02|01|jedronke%40microsoft.com|580335060bbd4641cf0f08d7f6a22d01|72f988bf86f141af91ab2d7cd011db47|1|0|637249048714671727&sdata=OUSKQ0vQAmOsaVhKnE8utadNuRCxOOz3mbousiA26f4%3D&reserved=0.

Hello Chris,
Sorry for the typo in previous email:
Any customer outbound spam policy will not generate spam notifications although the “notifications” option is there.
This needs to be: Any custom outbound spam policy will not generate spam notifications although the “notifications” option is there.
Kind regards
--
Jeroen Dronkers
Support Escal Eng
Eq-Uk Gtsc Bizapps Server
Customer Services and Support
Office: +44<PHONE_NUMBER>
jedronke<EMAIL_ADDRESS>[abc]

Team Manager | Frances Early (francese<EMAIL_ADDRESS>+44 (20) 34251539
Did you know? You can submit your feedback for this Support ticket from the Navigation menu in the Microsoft 365 admin center via ‘Support’ (headset icon)/‘View service requests’/‘Ticket #’ (see subject of this email).
From: Jeroen Dronkers
Sent: 12 May 2020 20:57
To: MicrosoftDocs/microsoft-365-docs<EMAIL_ADDRESS>MicrosoftDocs/microsoft-365-docs<EMAIL_ADDRESS>Cc: Mention<EMAIL_ADDRESS>Subject: RE: [MicrosoftDocs/microsoft-365-docs] Outbound spam notifications (#1875)
Hello Chris,
The option “Send a copy of suspicious outbound email messages to specific people” only works for the default outbound spam policy.
Any customer outbound spam policy will not generate spam notifications although the “notifications” option is there.
I have raised a bug for this earlier but this is apparently not going to be fixed and causes confusion with customers.
These notifications are samples of the outbound spam emails which we need in support to be able to resolve the issue. The Alternative “Alerts” do not provide samples and are therefore useless.
The escalation: https://o365exchange.visualstudio.com/DefaultCollection/IP Engineering/_workitems/edit/1377606
The corresponding support case: Rave 18429987
The article is incorrect under: https://docs.microsoft.com/en-us/microsoft-365/security/office-365-security/configure-the-outbound-spam-policy?view=o365-worldwide#use-the-security--compliance-center-to-create-outbound-spam-policies
Number 4: Expand the Notifications section to configure additional users who should receive copies and notifications of suspicious outbound email messages:
That will simply not do what it says.
Hope that clarifies.
Kind regards
--
Jeroen Dronkers
Support Escal Eng
Eq-Uk Gtsc Bizapps Server
Customer Services and Support
Office: +44<PHONE_NUMBER>
jedronke<EMAIL_ADDRESS>[abc]

Team Manager | Frances Early (francese<EMAIL_ADDRESS>+44 (20) 34251539
Did you know? You can submit your feedback for this Support ticket from the Navigation menu in the Microsoft 365 admin center via ‘Support’ (headset icon)/‘View service requests’/‘Ticket #’ (see subject of this email).
From: Chris Davis <notifications<EMAIL_ADDRESS>Sent: 12 May 2020 19:28
To: MicrosoftDocs/microsoft-365-docs <microsoft-365-docs<EMAIL_ADDRESS>Cc: Jeroen Dronkers <jedronke<EMAIL_ADDRESS>Mention <mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/microsoft-365-docs] Outbound spam notifications (#1875)
@JeroenDronkershttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FJeroenDronkers&data=02|01|jedronke%40microsoft.com|580335060bbd4641cf0f08d7f6a22d01|72f988bf86f141af91ab2d7cd011db47|1|0|637249048714661734&sdata=cmqzZ3IxVf8JlN92nK%2FmpcStJJPNzw84IQ%2FQxStvRFk%3D&reserved=0, could you clarify?
The two available options are:

Send a copy of suspicious outbound email messages to specific people.
Notify specific people if a sender is blocked due to sending outbound spam.

Are you saying that one or both of these settings are only honored in the default outbound spam policy and ignored in any other custom policies? And where does the alert policy 'User restricted from sending email' fit in to this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fmicrosoft-365-docs%2Fissues%2F1875%23issuecomment-627514954&data=02|01|jedronke%40microsoft.com|580335060bbd4641cf0f08d7f6a22d01|72f988bf86f141af91ab2d7cd011db47|1|0|637249048714671727&sdata=Ced1Tc%2FvCWUqHWuS1pdV7xETmGBqWSdKOrzWW1pgMlA%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKVZUKAHU2SIXDIZ34ZTD7LRRGIKLANCNFSM4M5X3C2A&data=02|01|jedronke%40microsoft.com|580335060bbd4641cf0f08d7f6a22d01|72f988bf86f141af91ab2d7cd011db47|1|0|637249048714671727&sdata=OUSKQ0vQAmOsaVhKnE8utadNuRCxOOz3mbousiA26f4%3D&reserved=0.

@JeroenDronkers, I added notes calling out that notification settings only work in the default policy.
Thank for the feedback.
Closing


klipper: unstable-2024-04-15 -> unstable-2024-04-20

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for klipper is: The Klipper 3D printer firmware
meta.homepage for klipper is: https://github.com/KevinOConnor/klipper
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found unstable-2024-04-20 in filename of file in /nix/store/yam4x26cxf7mpbsh3sn1r9w3wsaskv5c-klipper-unstable-2024-04-20

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

5 total rebuild path(s)

5 package rebuild(s)

First fifty rebuilds by attrpath

klipper
klipper-firmware
klipper-flash
klipper-genconf

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/yam4x26cxf7mpbsh3sn1r9w3wsaskv5c-klipper-unstable-2024-04-20 \
  --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 klipper https://github.com/r-ryantm/nixpkgs/archive/ad3a5a9b0ae6ba168fcf67b3d1075faa831f2415.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/ad3a5a9b0ae6ba168fcf67b3d1075faa831f2415#klipper

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/yam4x26cxf7mpbsh3sn1r9w3wsaskv5c-klipper-unstable-2024-04-20
ls -la /nix/store/yam4x26cxf7mpbsh3sn1r9w3wsaskv5c-klipper-unstable-2024-04-20/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

2 packages failed to build:

klipper-firmware
klipper-flash

2 packages built:

klipper
klipper-genconf

Maintainer pings
cc @lovesegfault @zhaofengli @cab404 for testing.

Phh... ZHF is soon, gotta update fw packaging