[FR] entc execute extension only

I'm writing a few extensions that contribute external templates for my project, and have to frequently run entc to review the output template. That's quite slow since I have lots of tables.
Since the only thing changes between executions is the code generated from my extensions, I think it would be much faster if entc can skip generate all the entities code and only execute the extensions.
Do we have any way to do it with current public API yet? If not, please consider this feature request, as that would make the DX nicer.

Hey @letientai299 👋
If I understand correctly, it sounds more like a development problem rather than a feature for Ent. For this case, I suggest you write unit tests on example schemas/types same as we do in entgql, entproto, or even in entc/gen itself (this is a more low-level example).
Closing, but please feel free to join our Discord community in case you need more help with this 😎


[Mobile] How to theme code block?

My issue is about [Mobile]
Thanks for maintaining the library. I couldn’t change the background color.  It looks ugly with my theme.

If you check out our demo app, background color works fine

I don't see any background color property in QuillEditor my problem is only with code block the screenshot you shared I don't see any code block. What I am missing?

The QuillEditor has an attribute customStyles, where you can pass your own DefaultStyle, e.g.:
QuillEditor(
  /* ... */
  customStyles: DefaultStyles(
    code: DefaultTextBlockStyle(
      DefaultTextStyle.of(context).copyWith(
        color: Colors.blue,
      ),
      Tuple2<double, double>(6, 0),
      const Tuple2(0, 0),
      BoxDecoration(
        color:  Theme.of(context).brightness == Brightness.light
            ? Colors.blueGrey.shade50
            : Colors.blueGrey.shade900,
        borderRadius: BorderRadius.circular(2),
      ),
    ),
  ),
  /* ... */
);


Improve SA1129 code fix for enum types

Currently the SA1129 code fix replaces new TaskState() with default(TaskState). An improved code fix for enum types would be the following:

If a single member Member in the enum declaration T has the value 0, replace new T() with T.Member
Otherwise, replace new T() with default(T) (i.e. fall back to the current behavior)

For this and #1973, does it makes sense to just keep expanding the existing code fix with additional branches? Or should this be split into separate diagnostics/fixes?

Either way you will have to create additional branches, as splitting into separate diagnostics/fixes will require exceptions to be added to the current implementation.
I would therefore prefer to go with extending the existing code fix, as adding exceptions for more specific diagnostics / fixes have not been problem free (For examples I'm thinking of SA1003 and SA1020-SA1024, but there are more).

Grabbing this.

@sharwell To clarify, do you mean "enum declaration T has only one member", or "enum declaration T has one member with value 0, among many members"?

I meant the latter. :smile:


[RELEASE] Pin test-infra to release-0.17 branch.

Pin test-infra to release-0.17 branch.

/lgtm

/approve


docs: minor readme improvements

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Can carbon support nested tables?

Detailed description
Can carbon support something like this?

Need a nested table but the problem is some columns in other tables might have longer text than the other tables in other rows so in the end the columns dont align properly.
Thanks!

This is definitely not out of the box.
It may be possible to create using css & table configuration but I believe it would require a lot of maintenance. Our tables can have templates, so you can create a template that has a table and assign it to the the cell template. In regards to alignment, that would require you to override css properties.


Renderer: Drag while over feature

Make it so that a user can drag while over a feature.
Add: selector.handlers.feature.stopDown = false to base.js L91
To test:

Plot a large polygon via cmapi
Click inside of the polygon and try to drag
Expected Results: The map should pan with the mouse.

This is done in #591 (enhancement/591/locator-update)

Passed on local branch.
STR:
Opened map in cmapi and chose plot feature channel with the payload below. Selected the "Polygon" and unselected the "Polygon" while firebug was open.....No Errors.
Payload -
{
"overlayId":"lay1",
"featureId":"example.geojson.1",
"format":"geojson",
"feature":{
"type":"FeatureCollection",
"features":[
{
"type":"Feature",
"geometry":{
"type":"Polygon",
"coordinates":[[
[
10.0,
0.0
],
[
11.0,
0.0
],
[
11.0,
10.0
],
[
10.0,
10.0
],
[
10.0,
0.0
]
]]
},
"properties":{
"p1": "test prop 1"
}
},
{
"type":"Feature",
"geometry":{
"type":"LineString",
"coordinates":[
[
80.0,
3.0
],
[
81.0,
3.0
],
[
81.0,
5.0
],
[
82.0,
2.0
]
]
},
"properties":{
        },
        "name":"crossingLine",
        "id":"id_2",
        "description":"this is a line you don’t want to cross"
    }
]

},
"name":"Sample GeoJSON Feature Collection",
"zoom":"true",
"readOnly":"false"
}

Passed on develop.


RDKDEV-202: Additional DTV APIs (for R2 branch)

This change has already been merged into master, so a pull request for this same change is being created on R2 branch so it can be included in RDK sooner.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.15 out of 16 committers have signed the CLA.:white_check_mark: MFransen69:white_check_mark: pwielders:white_check_mark: vinod-jacob:white_check_mark: madanagopaltcomcast:white_check_mark: npoltorapavlo:white_check_mark: HaseenaSainul:white_check_mark: sebaszm:white_check_mark: przemyslaw-gorszkowski-red:white_check_mark: mikolaj-staworzynski-red:white_check_mark: shaik8491:white_check_mark: steveford-obs:white_check_mark: anand-ky:white_check_mark: jucas97:white_check_mark: karuna2git:white_check_mark: PaviP98:x: marcin-mielczarczyk-redYou have signed the CLA already but the status is still pending? Let us recheck it.

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 14 files pending identification.

Protex Server Path: /home/blackduck/github/ThunderInterfaces/154/rdkcentral/ThunderInterfaces

Commit: 9d0bf63971c02a7e9f217bc50ec69a9283d96f08

Report detail: gist

Closing because pull request created on the wrong branch


README fix: Use ros2 launch with ros2 docker

Overview
Author: yours truly
Changes
ROS distro: any
List of changes: Read the changelog my friend ;)
Visuals from testing
Add screenshots/gifs/videos from RVIZ or other visualizers demonstrating the effect of the changes when applicable.

Thanks for the PR!

Fyi this is also the issue with the humble branch and probably all others


Gen 2 VM availability Regions

This Week MS announced Generation 2 VM’s are available for public preview, I would like to know

Which is available in all the regions for preview
How the pricing differ from Gen 1 VM's

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

ID: 9145de07-94e5-05bc-d00b-e05723db9163
Version Independent ID: c5d9a3c6-6fc2-837a-8291-2f4b82550d85
Content: Generation 2 VMs (preview) on Azure
Content Source: articles/virtual-machines/windows/generation-2.md
Service: virtual-machines-windows
GitHub Login: @laurenhughes
Microsoft Alias: lahugh

@Velmurugan-n Thanks for the question! We are checking on this and will respond to you soon.

@Velmurugan-n

How is the pricing different from Gen 1 VM’s?
There is no difference in pricing between Gen1 & Gen2.
What all regions is the Gen2 VM’s in public preview?
All Regions


Password placeholder visible when web browser saves user credentials

I just changed region template to card of login screen, but I noticed an issue when web browser stores user credentails. On page load, password placeholder is visible even when it is already fulfilled.

But if you perform a click anywhere in screen, body or whatever, it just shows ok (Moves automatically as title):

Auto focus issue?

I read that this could be due to that some web browser don't trigger change event for auto-filed inputs.
Workaround, onload:
setTimeout(function() {
    $('input').each(function() {
        var elem = $(this);
        if (elem.val()){
            var lbl = elem.next().next();
            if(!lbl.hasClass("active") && lbl.is("label")){
                lbl.addClass("active");
            }
        }
    })
}, 0);


GH-26818: [C++][Python] Preserve order when writing dataset multi-threaded

Rationale for this change
The order of rows in a dataset might be important for users and should be preserved when writing to a filesystem. With multi-threaded write, the order is currently not guaranteed,
What changes are included in this PR?
Preserving the dataset order of rows requires the SourceNode to use ImplicitOrdering (this gives exec batches an index), and the ConsumingSinkNode to sequence exec batches (preserve order of batches by their index).
User-facing changes:

Add option preserve_order to FileSystemDatasetWriteOptions

Dev-facing changes:

Add option ordering to SourceNodeOptions
Add option implicit_ordering to ScanNodeOptions

Default behaviour is current behaviour.
Are these changes tested?
Unit tests have been added,
Are there any user-facing changes?
Users can set FileSystemDatasetWriteOptions.preserve_order = true (C++) / arrow.dataset.write_dataset(..., preserve_order=True) (Python).

GitHub Issue: #26818

This pull request seems to functionally overlap with this one. Some changes are almost exactly the same. Ordering of data is kept in threaded execution with use of batch index. Can you check whether it fixes your use case also?

Since you are fixing dataset write ordering I think this check never fires. It should be moved to InsertBatch.
Also probaly AccumulationQueue, SequencingQueue  and SerialSequencingQueue should be exported for acero nodes developers.

@gitmodimo I think that refactoring should be done in a separate PR keeping this PR focused on fixing the issue.


Add a command to split the editor horizontally

It is convenient to work on multiple files with a split, especially when browsing the function usage in one file and the function definition in another, I'm proposing to add the horizontal (side by side) split.

I'd done some work on that previously, but it turned out that I (and others I was aware of) tended to use a terminal or mux that would already split the terminal window. So there was less need to split the window within the editor.
One of the tricky bits in doing split screen is working out a clean way for the user to interact with the split windows.
Here's some questions to consider:

how does the user initially split the window?
how do they split it the other way (vertical or horizontal)?
how does the user change the sizes of the windows?
what does the user do to close a split?
how do they move focus, to another window pane - can it be done with the keyboard?
can there be two  or more views into the same file (I hope so), but how is that shown/updated?
should the window layout be saved and restored?
should the find and command input be global for all the panes (so there is only one of them) or should each window pane have it's own find and command input?

There's more, that's just to give some flavor for the concerns. The hard part is the user experience.

Oh, all that is not to turn you away or say that "it's too hard" or something.
I'm trying to say it has some tricky challenges and I'd like to talk through those issues and hopefully find an elegant solution - please do help with that.


Large Data Types functionality

Many of the LDT functions are not yet implemented. Currently these are:
LList::filter($module, $function, array $args, array &$elements, $min=null, $max=null)
LMap::filter($module, $function, array $args, array &$elements)
LSet::filter($module, $function, array $args, array &$elements)
LStack::pop(&$element)
LStack::scan(&$elements)
LStack::filter($module, $function, array $args, array &$elements)

Especially LStack::pop and LStack::scan is something we really miss.
Are there any plans to get these implemented?

Hello again, Daniel. We are currently re-evaluating all the LDT functionality and making consolidations.
The recommended data structure to use is Llist, which should support lstack usages. So, the API will be made simpler, more stable, and over time faster.  When those changes are in place I will modify the LDT library.  Till then I suggest you use LList and stay tuned. :+1:

Hello Ronen,
Thanks for your reply. Fortunately we are still in a data modelling stage so we have a lot of room to move around. I was basically hoping to use LStack as a sort of queue structure to push updates to our data warehouse. This means there is going to be a lot of the same stuff in the LDT and that objects will live in Aerospike for a short period of time.
LList and LSet won't work for this purpose as they both only take unique objects. LMap seems to be OK with this, however this requires unique keys to be generated. I'd rather not do this as this takes some time.
Do you know of any other structures for data queuing?

Well, at the same time this LDT consolidation will take place the native complex types list and map are going to be enhanced with extra functionality, and those are much faster than LDTs.
What's the use case like? how big is the data you're pushing onto the stack, and how many objects would it have (more or less)?
We can also have this discussion by email or skype.

The problem I have with native types is that the whole records needs to be re-written, which in my eyes is asking for consistency issues.
Case is that we are running a high impact ad-auction and we would like to collect data for later processing. These are details such as site id, geo id, browser id, view port resolution. Also I'd like to collect which campaigns took part in the auction, or didn't and for what reason they didn't (targeting, budget constraints etc.).
In terms of individual object size I'm currently looking at 2 options. One where I'll combine all this data into 1 object, another where this will be split into multiple smaller objects. Obviously in the second option there will be some overlap. In terms bytes, object size will largely vary depending on how many campaigns we have running. Stack/List size will be in the region of thousands to tens of thousands.

You would use the check-and-set pattern to avoid overwriting, if your business logic was sensitive to it. Basically, you get the record's generation using get() or exists() and set the put() with OPT_POLICY_GEN as POLICY_GEN_EQ of the current generation. In the case of a status ERR_RECORD_GENERATION you re-read and merge with the new generation (or execute some other logic that fits your case). This is a pattern current users have implemented, but we're aware that it's not ideal. Therefore, we are working on adding push/pop operations to list and set/get operations to map, avoiding the need for a full put(). This added functionality is coming soon.
LDTs will not be immediately deprecated, its just that there will be consolidation and large types outside of that will be left as-is. Some concepts of LDT will be moved into the native complex types over time. This is one of the current priorities.
You can have multiple records represent campaign data, with secondary indexes used to allow for queries as a means of gathering what you're looking for. One benefit of doing it this way is being able to attach a ttl to those records, so they clean themselves up, something you can't do with LDTs objects.

Just as a note, this discussion and others about LDTs are on our forum https://discuss.aerospike.com

Hello Ronen,
Thanks for the info. I'm not really a fan of the suggested method. Especially the if "if it fails, just try again part". I'll keep an eye on the push/pop developments. Until then I am most probably going to use a dedicated queuing library (ZMQ) for this part of the system.


Compiler warning in 8.1.0053 on macOS

Sometime by 8.1.0053 the following compiler warning appears on macOS 10.13.5:
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -DMACOS_X -DMACOS_X_DARWIN  -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/os_unix.o os_unix.c
os_unix.c:4202:34: warning: format specifies type 'long' but the argument has type 'varnumber_T' (aka 'long long') [-Wformat]
        sprintf((char *)envbuf, "%ld",  get_vim_var_nr(VV_VERSION));
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                 %lld
/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^~~~~~~~~~~
1 warning generated.

I don't have time to bisect right now, but this is very recent.

I'm getting this too, it was introduced in patch 8.1.0049
Since this is just the version number, we can accept the compiler's suggestion. Here's a patch:
diff --git a/src/os_unix.c b/src/os_unix.c
index 71886538e..6b262fd6e 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -4199,7 +4199,7 @@ set_child_environment(
 #  ifdef FEAT_TERMINAL
     if (is_terminal)
     {
-	sprintf((char *)envbuf, "%ld",  get_vim_var_nr(VV_VERSION));
+	sprintf((char *)envbuf, "%lld",  get_vim_var_nr(VV_VERSION));
 	setenv("VIM_TERMINAL", (char *)envbuf, 1);
     }
 #  endif
@@ -4227,7 +4227,7 @@ set_child_environment(
     if (is_terminal)
     {
 	vim_snprintf(envbuf_Version, sizeof(envbuf_Version),
-			       "VIM_TERMINAL=%ld", get_vim_var_nr(VV_VERSION));
+			       "VIM_TERMINAL=%lld", get_vim_var_nr(VV_VERSION));
 	putenv(envbuf_Version);
     }
 #  endif

I'm getting this too, it was introduced in patch 8.1.0049
Since this is just the version number, we can accept the compiler's
suggestion. Here's a patch:

The type may differ between systems.  It's easier to add a type cast to
long.
--
Latest survey shows that 3 out of 4 people make up 75% of the
world's population.
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///


I can't calculate my grade, evertime I tried calculating my grade it gives me message of "An issue occurred while calculating your final grade."

ADD ISSUE DESCRIPTION HERE
Version: 1.85.2
Commit: 8b3775030ed1a69b13e4f4c628c612102e30a681
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
Embedder: codespaces

/question
This is issue tracker for VS Code editor itself, please direct any questions/problems/feedback related to the course you are taking to approve channels for that course.

We closed this issue because it is a question about using VS Code rather than an issue or feature request. Please search for help on StackOverflow, where the community has already answered thousands of similar questions. You may find their guide on asking a new question helpful if your question has not already been asked. See also our issue reporting guidelines.
Happy Coding!


The documentation needs work for begginers

After reading through the intro material and other pages on the webiste, I have no idea how to develop with karma. The most I can figure out from karma's website is how to start the karma server. After that, what do I do? How do i run tests in a way where I can step through code in the browser running the test?
Also, there is 0 documentation on how to interpret karma's output. It isn't self explanatory. Is everything that's outputting a failed test? How bout some screen shots that explain some of these things.

@fhemberger did you watch introduction screencast?
PR for improving current documentation are welcome!
Thanks.

@maksimr I think you got the wrong guy. ;)

Sorry I'm so ornery right now. I'm frustrated with like 5 things, one of which is karma. So A.  Videos are incredibly difficult to browse through and find what you need. You can't search a video. Thing is, I'm not a total newb, so I don't want to watch 15 minutes of newb mode so I can find the single piece of information I need. Also, I shouldn't have to. The documentation itself (which I cant seem to find - intros, installation instructions, and FAQs don't count as "documentation") should have all the information you need to use a thing.
After browsing through the video the best I can (the youtube scroll frames help) I found that the only place they use a browser, they don't mention how to debug through code run via karma.
And, while I'd be happy to improve your docs (or in the case, create them), I can't do that if I don't have the information to do so - which is why i need the docs in the first place. Chicken and egg problem here.

@fresheneesz karma is running all the test in real browsers that is why debugging test / code under tests doesn't differ from debugging any client-side code. I presume that this is one of the reasons it wasn't included. The inner-workings of Karma are mentioned here: http://karma-runner.github.io/0.12/intro/how-it-works.html and this short passage of text has a link to a 60+ pages paper with all the design / implementation details.
Now, in practical terms in means that debugging things is as easy as adding debugger; statement in your code (remember to have dev tools opened!) or just setting a breakpoint in your browser, as for any other client-side code.
Lastly: you will get far further if you are nicer project maintainers (not only this one, but any os project) and instead os sharing your frustration just share  pull requests. Just a friendly advice....

I literally never use debugger; hooks unless forced to by something being broken (eg. breakpoints not hitting). When I run karma tests, a browser window opens, then closes. I have no ability to set break points. This is why I'm out of my element.
So if debugging using karma requires users to add debugger; hooks into their code somewhere, I'd say that its a good idea to mention that in your docs / introductory help pages. Node.js has the option --debug-brk to break on the first line to give you time to connect and set breakpoints before the script continues running. Perhaps it would be a  good idea for karma to offer a similar option.

@fresheneesz usually when tracking down problems you would run karma in the watch mode instead of the single-run mode so browser window doesn't close after each run. In this case you can set breakpoints.

That would be great info to include in that "intro" page. In fact, describing the various ways karma is intended to be used would be very helpful, since (as a testing system) karma would be pretty integral to the development process of a project. So mentioning how to do some test-drive-development with it is pretty crucial for people trying to learn how to use it.
To give you more context, I'm not actually trying to set up karma in my own project. I'm trying to figure out how to contribute to someone else's project that uses karma. Just want to figure it out so I can work on the project and get on with my life.

They also dont tell us about a different package karma-cli. I lost my 10 minutes figuring out why it says " 'karma' is not recognized as an internal or external command." Then I was rescued by stack-overflow via google.

Is this still current? is there no further written documentation other than how to set up karma?
I'm considering starting to write some docs and submitting a PR after I learn karma.


Help Mirage Or Dizzaster Please

Bro i have problem I fixed everything but when I go into HDM or Shooter or Derby it says Couldn't Find Map please reply urgently

You probably don't have the maps that get detected for these arenas


.Net: Fixed broken references and incorrectly formatted links

Motivation and Context

Why is this change required? The links in some of the dotnet notebooks are broken and this PR fixes those. Additionally, fixed a markdown link to Wikipedia.
What problem does it solve? Broken links and one incorrectly formatted Wikipedia reference.
What scenario does it contribute to? N/A.
If it fixes an open issue, please link to the issue here. N/A.

Description
While going through the dotnet notebooks, I noticed that there were some broken links to code and documentation. This PR fixes those and cleans up a link to a Wikipedia page in one of the notebooks.
Contribution Checklist
Shouldn't be applicable to this PR as it only changes markdown in Polyglot notebooks.

[ ] The code builds clean without any errors or warnings
[ ] The PR follows the SK Contribution Guidelines and the pre-submission formatting script raises no violations
[ ] All unit tests pass, and I have added new tests where possible
[ ] I didn't break anyone :smile:

@microsoft-github-policy-service agree company="Microsoft"


MODE-2563 Ports the ModeShape AS kit to Wildfly 10.

The current kit is also backwards-compatible to Wildfly 9, to it will still work with this version as well.

Looks good.


feat(data/pnat): positive natural numbers

This is just extracting the definition from hash_map (which is not the best place for it) and adding a few basic definitions. One question: is it safe to have cyclic coercions as in this case ℕ -> ℕ+, ℕ+ -> ℕ? Does typeclass inference notice and avoid the cycle?

One question: is it safe to have cyclic coercions as in this case ℕ -> ℕ+, ℕ+ -> ℕ? Does typeclass inference notice and avoid the cycle?

Cyclic dependencies may produce performance problems for problems that do not have a solution.
In principle, this kind of problem may loop if there is cyclic dependency, but we use a threshold on the search depth to prevent it. For example, suppose we are trying to find a coercion from nat to foo. Then type class resolution will keep trying the coercions ℕ -> ℕ+, ℕ+ -> ℕ until the threshold is reached.
We may add better cycle detection after we implement:
https://github.com/leanprover/lean/issues/1402


Reword keyerror message. Optionally pass keyerrors forward as field values

Currently if there is a broken key in the study data a keyerror is thrown.
This does two things:

Formats the error explanation for clarity
Adds a study.pass_keyerrors = True option to mimic the way that the R api package behaves in forwarding the raw key value as the field value without throwing an error

Errors appear unrelated? A auth issue?

Thanks for notifying me, I have added this in v0.1.7 (I couldn't integrate your pull request, as there were some rebasing/merging issues).


fixed redundant parentheses

Fixed issues like this.

Can someone please merge (or fix that one stray bracket themself).
Its an easy fix but i'd still prefer not having to manual change it all the time.

Fixed in https://github.com/google/ink-stroke-modeler/commit/d4eea943169de05a31cc095a39162d8d9b695a0f


Implement focus follows mouse without autoraise / optional autoraise

I'd like to specify a delay in ms before ffm raises the window. This would make getting to floating windows easier so that you don't necessarily need to hold down fn (or whatever modifier you have set). Is this possible?

I want to give another attempt at implementing focus-follows-mouse WITHOUT autoraise before any changes is going to happen here.
I had a semi-working ffm without autoraise in the past, but it had a couple of issues that I didn't know how to solve back then. I have some new ideas for how to deal with this now.

That would be even better :)

Thank you for your work on this, @koekeishiya! :+)
While I agree that ffm w/o autoraise would be a great addition as well, I would like to voice my support for a setting for ffm delay as well. If I understand this correctly, even if autoraise were delayed or not automatic, then mousing over a window would focus it but not bring it to the front? In that case, the Menu Bar for that application will be the one that is displayed.
A frequent issue I face is that I have an app on the bottom-right of the screen and want to get to the Menu Bar items for that application. So I move the mouse diagonally to the top-left as I normally would but by that time, other applications between the bottom-right application and the Menu Bar have been focused, meaning I have to either trace a path around the border of the computer to get to the Menu Bar without mousing over any windows or Cmd + Tab switch to the desired application to show the proper Menu Bar items. The 2nd option is not bad but it would be great to not have to do this frequently through the implementation of ffm delay.
Is there an existing solution to this issue I face or would that be something that would only be handled by some sort of ffm delay?

@matthewdias Ah, I had turned that off, but thank you for pointing me to that handy shortcut combo! Those apps seem neat as well, but I will stick with your proposed keyboard shortcut solution for now.
I would still love to see ffm w/o autoraise or ffm + delay (or both?) implemented eventually!

You can currently use chunkc set ffm_bypass_modifier <..> to set one (or multiple) modifiers that can be held down to temporarily disable ffm.

Imho ffm with autoraise is impossible to use.
What I always love and used ffm for in other desktop environments was precisely the fact that I could change focus without altering the window z-positioning.
Perhaps I am missing some use case here, but until @koekeishiya or somebody finds a way to have ffm w/o autorise I am forced to disable this.

I'm very excited about the chunkc core::load ffm.so plugin.
If I use it with focus follows mouse on iTerm2 then I'm able to have focus follows mouse for my text edit or(sublime in a different window) my terminal, and the panes inside my terminal.
The problem I'm having is when moving across the slight gap from iTerm2 to sublime sometimes a window underneath will get triggered and move up in the z axis into focus. This will happen randomly, about once every 20 or so times I move across.
If I understand this is the "autoraise" aspect of the ffm plugin.
From looking at the code it looks like if I increase the mouse_motion_interval variable then ShouldProcessEvent will be false when I try to jump the gap in from iTerm2 to sublime.
Am I understanding this?
https://github.com/koekeishiya/chunkwm/blob/6078c63a50c6fd3d5101b82223ed6caccfa61e77/src/plugins/ffm/plugin.cpp#L215
https://github.com/koekeishiya/chunkwm/blob/6078c63a50c6fd3d5101b82223ed6caccfa61e77/src/plugins/ffm/plugin.cpp#L100-L107
Example of chrome jumping into focus when I try to jump the gap

Åsmund, you would be legendary if you provided some solution to FFM without raise.  Anything, make it off by default and mark it as in development.  I don't care about the menu.  I use the menu 4 times a day, I copy text from one window to another 10 times an hour.  To access the menu, I can tile to top and don't mind clicking the window.

The previous solution I had for ffm without autoraise was fairly primitive, but mostly worked. It revolved around intercepting keyevents and rerouting them to the process which had last been seen below the cursor. it was sometimes a bit janky to have the correct window of said application receive the input, and not the former main window - but I had a workaround that seemed to work fine.
The main issue with this method was that we would also prevent ALL hotkeys from registering. IIRC cmd+tab, cmd+` and other mission control shortcuts would no longer trigger properly, because we rerouted them from mission control and to our new target. There is a "target process for this event" in the eventrecord we process, but that never specifically targets mission control, so we can not filter these that way. You could of cource add an event whitelist that says never forward events that look like this, and you could allow system shortcuts to work properly.
Again, this method only reroutes key-events (mostly what we care about), but the application does not gain focused state, and so the menubar will remain inactive - the window wil be drawn as if it was inactive, etc. The solution I had used the CGEventTap API to intercept keyevents and CGEventPostToPSN to reroute them, in case anyone else is interested in trying this.
As a sidenote there is functionality supported in macOS for activating an application (note: application only) WITHOUT actually having the application be raised. You can test this if you have application A focused, and while you click to focus application B, hold ctrl + alt.
What happens when you do this, is that somewhere in the pipeline (most likely in AppKit). There is a lot of stuff happening through multiple systems, but eventually inside the SkyLight framework a function called SetFrontProcessInternal is called. This function basically checks to see if the application is already active - give the new window focus. If the application was not already active, it posts an event of type kCGSEventResume (0x14). Function signature: PostCGSEventToProcess(CPSProcessRec *, CGSEventType, ushort, ushort, uint, int, CPSProcessSerNum);
The only difference between a regular process activation that also raises the application to the front, and the process activation that occur when holding ctrl + alt and focusing the application, is a field called "userGenerated". By default this is 0, but is reported as 1 when ctrl + alt is held.
The real solution for ffm without autoraise on macOS would imo have to leverage this part of the pipeline. Maybe someone more knowledgable than me would be able to take this a step further and actually implement a POC.

I have managed to create a working proof of concept of focus follows mosue without autoraise, however so far it only works when moving between different applications, and not different windows of the same application.

@lesgrieve Updated with a proof of concept on the master branch. As mentioned earlier it only works between different applications, and not between multiple windows of the same application. I'm still in the process of reverse engineering this, so consider it experimental.
To enable autofocus behaviour instead of autoraise, add the following to .chunkwmrc before the command that loads the ffm plugin: chunkc set ffm_disable_autoraise 1

Real autofocus has been implemented on master.

Should be working fine, but I have not yet done extensive testing, so for all intents and purposes consider it experimental.

After having played around with it for an hour, I can say this much:

This is definitely amazing, and
chunkwm needs some way to remove focus from the moved-from window if focus moves to a window of the same application—the traffic lights get a little confused here.

chunkwm needs some way to remove focus from the moved-from window if focus moves to a window of the same application—the traffic lights get a little confused here.

 I was playing around with HEAD and when my mouse moved to a new window, it still got raised. I am running macOS Mojave 10.14.4. Here is my config in case you see something I missed:
#!/bin/bash

chunkc core::plugin_dir /usr/local/opt/chunkwm/share/chunkwm/plugins

chunkc core::hotload 0

chunkc set ffm_bypass_modifier           fn
chunkc set ffm_standby_on_float          1
chunkc set ffm_disable_autoraise         1

chunkc core::load ffm.so

Same issue for me - with latest HEAD each time since the experimental commit.

@reidlevesque @jonathanwilner
That config looks right. I have not tested this with SIP enabled, incase any of you have that - so might be worth a try, although I don't remember seeing anything that would make me think that was required. Make sure that the ffm plugin on  your system was actually updated and that the correct version is running. Otherwise I'm not sure. This was reversed through statically reading through the disassembled code for the WindowServer, as well as observations I made on my system with regards to how the WindowServer responded to various events and actions.
All I know is that it works perfectly on my 10.14.4 system, and it appears to also have worked for @dominiklohmann. I can't think of any particular settings that I may have changed that would affect this.

All I know is that it works perfectly on my 10.14.4 system, and it appears to also have worked for @dominiklohmann. I can't think of any particular settings that I may have changed that would affect this.

Can confirm the new ffm works for me with these settings on 10.4.4. Don't really think standby on float makes any sense without autoraise.
chunkc set window_float_topmost  0
chunkc set ffm_bypass_modifier fn
chunkc set ffm_standby_on_float 0
chunkc set ffm_disable_autoraise 1

chunkc core::load ffm.so

I did some more investigation and it looks like it works between certain applications but others raise their windows.
In my limited testing I've found that these applications get focus but don't raise (i.e. behave as expected):

iTerm2
App Store
Spotify
Safari
Calendar
Messages
Reminders
Microsoft Word
Microsoft PowerPoint
Microsoft Excel
Postman

These applications get focus but DO raise (i.e. DON'T behave as expected):

Firefox
Slack
Visual Studio Code
IntelliJ IDEA

Looking at the logs there is nothing obvious that differentiates those apps.
I'm not sure why only those applications raise.

I reproduced this with VS Code and Slack. In the case of VS Code I expected this to be a general issue with Electron, but it is in fact not—other Electron applications (e.g. Discord) behave as expected here.

I really dislike macOS sometimes.. I could probably find a way around this, but that would rely on chunkwm-sa. I have to say I don't feel like investing more time into this for the time being.

I think Slack recently updated to Version 3.4.2 (Direct Download) now focus follows mouse without autoraise is working for me everywhere. These are the relevant lines in my ~/.chunkwmrc file:
#!/bin/bash
# ...
chunkc set ffm_bypass_modifier fn
chunkc set ffm_standby_on_float 0
chunkc set ffm_disable_autoraise 1

chunkc core::load ffm.so


Missing API docs for JSONListBinding

OpenUI5 version:
latest/all
URL (minimal example if possible):
https://sapui5.hana.ondemand.com/#docs/api/symbols/sap.ui.model.json.html
Steps to reproduce the problem:
The API documentation doesn't contain a page for JSONListBinding (and neither most other sap.ui.model.json Elements).
What is the expected result?
I would expect to see them in the API docs, since they seem to be public classes.
Any other information? (attach screenshot if possible)

I could image it is because all the missing classes lack a @lends annotation.

Hi @Hirse ,
Thanks for the ticket.
Internal incident<PHONE_NUMBER> has been opened for this issue.

Hi,
the user should not use any specific binding implementations but should only use the functions defined in the Binding/Model API interfaces
Only some specific model implementations like the ODataModel/ODataListbinding may expose its own additional functions which are public and which are not defined in the root ListBinding implementation.
That is why these are public.
But as a general rule, applications should rely on the basic model/binding interfaces.
Regards

@ironmanager Do you mean to say they are hidden from the doc on purpose because they should not be used?
I understand that the normal user doesn't have to touch any specific Binding implementation, but as I have the option to do so and could for example extend the JSONBinding to add custom code, it would be great if the show up in the API docs.
To clarify the role these play, a warning could be added.


fix future callback hell

return a future when collecting profiling results
set this future only when all subcontexts have finished
close job execution context after profiling results were collected

retest this please


Ported BLE_SPAM from flipper, Refactorings and QoL changes

Added bt-dev-id device-name and random-charge parameters to main script
Merged notifications folder to main script
Small fixes

@ECTO-1A any comments about this PR?

whoa ! it's seem to be the only place that work on BLE SPAM android and windows ! thx for that

@7h30th3r0n3 you said that --random-mac option doesn't work for you
which bluetooth device does you have?
try to change mac via this guide
also I still need help from apple users to make custom crash work

my fork have exclusive feature now - cod based icons on windows (very useful feature!)

I tested custom-crash and it works!

Hey barsikus007, I tested it again, the script start, but nothing is poping around from any device

Hey barsikus007, I tested it again, the script start, but nothing is poping around from any device

check packets in nrf connect app

@ECTO-1A


Variables not working inside Markdown Mailable template files

Laravel Version: 5.4.16
PHP Version: 7.0.15
Database Driver & Version: MySQL 5.7.17

Description:
Variables aren't working when using them inside the Markdown Mailable templates files. You get a 'undefined variable' message.
Steps To Reproduce:
When following the guide on https://laravel.com/docs/5.4/mail#markdown-mailables to create a Markdown email you can customise the template files by using the code below:
php artisan vendor:publish --tag=laravel-mail

When adding a variable into the Mailable, the variable isn't available on the template files to e.g. be used inside the header or footer of the message.
E.g. Mailable
class ReviewInvite extends Mailable
{
    use Queueable, SerializesModels;

    public $visit;

    /**
     * Create a new message instance.
     *
     * @return void
     */
    public function __construct(Visit $visit)
    {
        $this->visit = $visit;
    }

    /**
     * Build the message.
     *
     * @return $this
     */
    public function build()
    {
        return $this->markdown('emails.review-invite');
    }
}

We can use the $visit variable inside the emails.review-invite file, but when using the $visit variable inside any of the /resources/views/vendor/mail/html files, you get a "Undefined variable: visit" message.

Yes all variables are only available in the mailable view, this is by design since mail templates uses components, a blade component doesn't have the same scope as its main slot.
Check: https://laravel.com/docs/5.4/blade#components-and-slots

Thanks @themsaid!
Is there a way to overwrite e.g. the header and footer blade components through the mailable view?
I'm asking since I would like to add an image logo to the header and include a company name through $visit->company->title to the footer.
Or would this currently only be possible by using an html mail template instead of the Markdown template?

Check Passing Additional Data To Components https://laravel.com/docs/5.4/blade#components-and-slots, you can use that to pass data to the main layout.
Closing since it's not a bug report but please feel free to ping me if you need further help.

For anyone who faced this problem.
@Qbixx Pass data with with($name,$value), and It just has to be an array
For example:
in class Welcome extends Mailable

    public $customer;

    public function __construct(User $user)
    {
        //
        $this->customer = $user->toArray();
    }

    /**
     * Build the message.
     *
     * @return $this
     */
    public function build()
    {

        return $this->markdown('emails.welcome')
                    ->with('customer', $this->customer);
    }

PLEASE note: if you have a variable that you made it a global via view composer, in your CSP, then it gonna override your array.
Dear @themsaid it seems like blade components don't have a REAL different scope than normal views after all?! I mean it got effected with view composer, anyways, thanks!

Yes, i did it... First the Mailable Class
`class ContactNew extends Mailable {
use Queueable, SerializesModels;
/**
 * Create a new message instance.
 *
 * @return void
 */
public function __construct() {

}

/**
 * Build the message.
 *
 * @return $this
 */
public function build(Request $request) {
	$email = $request->email;

	return $this->from($request->email)
		->markdown('auth.mail.contactNew')
		->with('email', $request->email);
}

}Then... the Blade file@component('mail::message')
Introduction
{{$email}}
The body of your message.
@component('mail::button', ['url' => ''])
Button Text
@endcomponent
Thanks,
{{ config('app.name') }}
@endcomponent
`

Hi
Does anyone know if you can get blade variables working in the vendor/mail/html/layout.blade.php file ? This is the html file that the markdown appears to be generated  in.
I wanted to put a " ---- Please reply above this line ---" into the output but it has to be straight after the body tag before any of the components are created and only for emails that are coming from our support ticket system (otherwise I could just code the words directly in the file).
I wanted to use markdown because its easy to create tables and buttons etc but the above code for using ->with() doesn't seem to work in the actual layout.blade.php file - I wonder if this is what @themsaid was referring to

Hi everyone!
I'm trying to add a variable to the /vendor/mail/html/message.blade.php template kind of like how @qbixx was describing. I'm sending markdown emails through Laravel's Notifications, but I always get undefined variable when I try and pass it to the main message.blade.php template. Does anyone have any suggestions? Here is my message.blade.php:
@component('mail::layout')
    {{-- Header --}}
    @slot('header')
        @component('mail::header', ['url' => config('app.url')])
          Test
          {{ $my_testing_var }}
        @endcomponent
    @endslot

    {{-- Body --}}
    {{ $slot }}

    {{-- Subcopy --}}
    @isset($subcopy)
        @slot('subcopy')
            @component('mail::subcopy')
                {{ $subcopy }}
            @endcomponent
        @endslot
    @endisset

    {{-- Footer --}}
    @slot('footer')
        @component('mail::footer')
            © {{ date('Y') }} {{ config('app.name') }}. All rights reserved.
        @endcomponent
    @endslot
@endcomponent

and here is my toMail() function in my notification:
public function toMail($notifiable)
    {
      return (new MailMessage)
        ->subject( 'testing' )
        ->markdown('mail.test', [
          'test_user' => 'test',
        ])->with( 'my_testing_var', [ 'my_testing_var' => 'testing' ] );
    }

As you can see I'm using with() on the MailMessage, but this still results in an undefined variable upon the notification call.
Anyone have any ideas?
Thanks!

The key is to use public for the data you're passing in.
<?php

namespace App\Mail;

use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;

class InsuranceBought extends Mailable
{
    use Queueable, SerializesModels;
    public $data;

    /**
     * Create a new message instance.
     *
     * @return void
     */
    public function __construct($data)
    {
        $this->data = $data;
    }

    /**
     * Build the message.
     *
     * @return $this
     */
    public function build()
    {
        return<EMAIL_ADDRESS>            ->subject('Insurance bought for tripname trip!')
            ->markdown('trips.email.students')
            ->with(['data', $this->data]);
    }
}

And then for sending:
$data = array('test' => 'bla');
Mail::to($student)->send(new InsuranceBought($data));

I had the exact same requirement that @qbxx had. I needed to dynamically pass the company name and logo to the header and some other customizations in the footer in the mail in Laravel 5.4. Based on what @themsaid pointed out, it seems you can't pass data from the "subview" to the "parent view".  What I did was to expand the scope of the subview to include all markdown components that need dynamic data and that solved the problem.

For anybody looking at providing variables to the templates header and footer here is the solution.
Step 1: Publish the view files using Laravel's publish tool
php artisan vendor:publish --tag=laravel-mail
Step 2: Make a variable available to your Mailable view by making it public (no need to use with method).
<?php

namespace App\Mail;

use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;

class InsuranceBought extends Mailable
{
    use Queueable, SerializesModels;
    public $header_url, $header_title;

    /**
     * Create a new message instance.
     *
     * @return void
     */
    public function __construct()
    {
        $this->header_url = 'https://example.com';
        $this->header_title = 'My title';
    }

    /**
     * Build the message.
     *
     * @return $this
     */
    public function build()
    {
        return<EMAIL_ADDRESS>            ->subject('Insurance bought for tripname trip!')
            ->markdown('trips.email.students');
    }
}

Step 3: Update the vendor/mail/html/message.blade.php and vendor/mail/markdown/message.blade.php files to be the following:
@component('mail::layout')

    {{-- Header --}}
    @slot('header')
        @component('mail::header', ['url' => isset($header_url) ? $header_url : config('app.url')])
         {{ isset($header_title) ? $header_title : config('app.name') }}
        @endcomponent
    @endslot

    {{-- Body --}}
    {{ $slot }}

    {{-- Subcopy --}}
    @if (isset($subcopy))
        @slot('subcopy')
            @component('mail::subcopy')
                {{ $subcopy }}
            @endcomponent
        @endslot
    @endif

    {{-- Footer --}}
    @slot('footer')
        @component('mail::footer')
            © {{ date('Y') }} {{ config('app.name') }}. All rights reserved.
        @endcomponent
    @endslot
@endcomponent

Last step is to give the blade component access to the variable as explained by @themsaid
The following is your mailable view file:
@component('mail::message', ['header_url' => $header_url, 'header_title' => $header_title])

Hey {{ $user->first_name }},

Here is the message you are sending.

@component('mail::button', ['url' => $url])
Create Account
@endcomponent

Thanks,

{{ $account->name }}
@endcomponent

Thank You @warren32

Ok, typical as most Laravel community issues people just throw around ideas without following the stack and investigating them selfs - and perhaps learning along the way...
return (new MailMessage)
    ->subject('You have new applications')
    /////move me
    ->markdown('emails.employers.new-applications', [
        'firstName' => $notifiable->firstName,
        'lastName' => notifiable->lastName,
    ]);

You may pass view data as second param to markdown() function.

Ok, typical as most Laravel community issues people just throw around ideas without following the stack and investigating them selfs - and perhaps learning along the way... Also if your giving example dont just paste code from your own use-case / application. Make it generic and readable for the community. This is Open Source Software.
@themsaid Your answer is actually incorrect. Sorry. May you please update it as it's the highest comment on this thread that Google picks up.
Solution
return (new MailMessage)
    ->subject('Hello world')
    ->markdown('emails.hello-world', [
        'firstName' => $notifiable->firstName,
        'lastName' => $notifiable->lastName,
    ]);

You may pass view data as second param to markdown() function.
Thanks.

fixed my error

@warren32 i will add to your solution that you can name your variables to use them later in any part of your html code :
// vendor/mail/html/message.blade.php
    @slot('anyNameYouWantForYourVariable')         {{ $header_title }}     @endslot
and then, you can use it in your layout :
// vendor/mail/html/layout.blade.php
{{ $anyNameYouWantForYourVariable }}

Controller
$email = new welcomemail($user);
Mail::to(Auth::user()->email)->send($email);

mail controller
namespace App\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;

class welcomemail extends Mailable
{
    use Queueable, SerializesModels;

    public $stu;
    /**
     * Create a new message instance.
     *
     * @return void
     */
    public function __construct($stu)
    {
        $this->stu = $stu;
    }

    /**
     * Build the message.
     *
     * @return $this
     */
    public function build()
    {
        return $this->markdown('emails.welcome')->with($this->stu);
    }
}

view
@component('mail::message')
# Introduction

The body of your message {{$stu}}.

@component('mail::button', ['url' => ''])
Button Text
@endcomponent

Thanks,

{{ config('app.name') }}
@endcomponent

this works 100% correct

Laravel Version: 5.4.16
PHP Version: 7.0.15
Database Driver & Version: MySQL 5.7.17

Description:
Variables aren't working when using them inside the Markdown Mailable templates files. You get a 'undefined variable' message.
Steps To Reproduce:
When following the guide on https://laravel.com/docs/5.4/mail#markdown-mailables to create a Markdown email you can customise the template files by using the code below:
php artisan vendor:publish --tag=laravel-mail

When adding a variable into the Mailable, the variable isn't available on the template files to e.g. be used inside the header or footer of the message.
E.g. Mailable
class ReviewInvite extends Mailable
{
    use Queueable, SerializesModels;

    public $visit;

    /**
     * Create a new message instance.
     *
     * @return void
     */
    public function __construct(Visit $visit)
    {
        $this->visit = $visit;
    }

    /**
     * Build the message.
     *
     * @return $this
     */
    public function build()
    {
        return $this->markdown('emails.review-invite');
    }
}

We can use the $visit variable inside the emails.review-invite file, but when using the $visit variable inside any of the /resources/views/vendor/mail/html files, you get a "Undefined variable: visit" message.

https://stackoverflow.com/questions/19412055/sending-email-with-laravel-but-doesnt-recognize-variable

You need to pass it in a few places.

First null coalesce the variables that you may want to use in resources/views/vendor/mail/html/message.blade.php
Next pass your variables in the markdown template you're using. resources/views/emails/test.blade.php
Finally, use the variables in your header template. (The null coalescing will protect or provide defaults, for instance default header text)
Make sure you pass the variables via public property on the mailer class or in the data array explicitly

resources/views/vendor/mail/html/message.blade.php
@component('mail::layout')
{{-- Header --}}
@slot('header')
@component('mail::header', [
'url' => config('app.url'),
'headerTitle' => $headerTitle ?? 'Default Title',
'headerSubtitle' => $headerSubtitle ?? 'Default Subtitle',
])
{{ config('app.name') }}
@endcomponent
@endslot

{{-- Body --}}
{{ $slot }}

{{-- Subcopy --}}
@isset($subcopy)
@slot('subcopy')
@component('mail::subcopy')
{{ $subcopy }}
@endcomponent
@endslot
@endisset

{{-- Footer --}}
@slot('footer')
@component('mail::footer')
© {{ date('Y') }} {{ config('app.name') }}. @lang('All rights reserved.')
@endcomponent
@endslot
@endcomponent

resources/views/emails/test.blade.php
@component('mail::message', ['headerTitle' => $headerTitle, 'headerSubtitle' => $headerSubtitle])
# Please Review This

Thanks,

{{ config('app.name') }}
@endcomponent

resources/views/vendor/mail/html/header.blade.php

                            @if (trim($slot) === 'Laravel')

                            @endif

{{ $headerTitle }}

{{ $headerSubtitle }}

Hello,
I'm using laravel 9 and I can't pass variable to the mailable markdown templates.
I tried several solutions presented here with no success:
Here is my  class:
class Emailer extends Mailable
{
    use Queueable, SerializesModels;

    public $data;
    public $pedigree;

    /**
     * Create a new message instance.
     *
     * @return void
     */
    public function __construct(array $email)
    {
        $this->data = $email;
    }

    /**
     * Build the message.
     *
     * @return $this
     */
    public function build()
    {
        $this->pedigree= ['name' => "test"] ;

        return $this->from($this->data['from'])
            ->subject($this->data['subject'])
            ->markdown('mail::message', ['slot'=> $this->data['email_content']])
            ->with('pedigree', $this->pedigree);
    }
}

Than my template :
@component('mail::layout')
    {{-- Header --}}
    @slot('header')
        @component('mail::header', ['url' => config('app.url')])
            {{ config('app.name') }}
        @endcomponent
    @endslot

    {{-- Body --}}
    {{ $slot }}

    @isset($pedigree)
        @component('mail::table')
            {{$pedigree}}
        @endcomponent
    @endisset

    {{-- Footer --}}
    @slot('footer')
        @component('mail::footer')
            © {{ date('Y') }} {{ config('app.name') }}. @lang('All rights reserved.')
        @endcomponent
    @endslot
@endcomponent

And my variable $pedigree is always undefined...
Any idea ?
Thanks, Denis

ted

@dgillier have found any solution?

@dgillier @KhadijaIshaq Did either of you find a solution for this?

Why is this closed? I still can't get it to work in Laravel 10...


Add proper JupyterLab theming support

Uses lab CSS variables to theme the treefinder. This includes injecting styles into icons.
Other things in this PR:

Some updates of JS dependencies
Config settings on the server side to:

Disallow users adding resources from the client side.
Configure validators for any resources added by the clients.

Fix is_hidden content manager method, including recent changes to jupyter_server.
Expand on testing suite for content manager.
Refactor JS code to not dispose + recreate browsers when not needed.

done in https://github.com/jpmorganchase/jupyter-fs/pull/174


dartanalyzer is so slow

I tried to search for similar issues before posting, but with 5000+ open issues, I don't even know how you guys are managing it :O
Nov 2016: https://github.com/dart-lang/sdk/issues/25109
I'm trying to use dartanalyzer from the vim ALE plugin for auto-linting on file modification. But as reported in their github, I need to wait almost 10 secs when opening the default example file (111 lines), using a Dell XPS 13 9360..
A modern linter should lint such a file in milliseconds. Are there any actions being taken in order to improve the perfs of dartanalyzer ? When can I hope to see a 100x improvement of it ?
Thank you in advance for the support
Cordially

Are there any actions being taken in order to improve the perfs of dartanalyzer?

Yes. We are in the process of moving analysis onto a new front end code base that was specifically designed with performance in mind.

When can I hope to see a 100x improvement of it?

I don't have a time frame for when this work will be complete, but we're probably looking at a small number of months rather than, say, a small number of days.

I'm trying to use dartanalyzer from the vim ALE plugin for auto-linting on file modification.

The analysis server is already about 10 times faster than the command-line analyzer, partially because it was designed for exactly this purpose (and I expect the performance of server to also be improved by the new front end).
I would strongly encourage the ALE developers to switch over to using the analysis server for their purposes. (They can find a specification of the protocol here https://htmlpreview.github.io/?https://github.com/dart-lang/sdk/blob/master/pkg/analysis_server/doc/api.html.)

FWIW, another member of the Dart team ( @natebosch ) is working on an (unofficial) plugin for vim doing exactly that - https://github.com/natebosch/vim-lsc. Maybe you can collaborate.

https://github.com/natebosch/dart_language_server wraps the analysis server following the Language Server Protocol
I think I have seen some talk of ale getting support for LSP but I don't know if that has gotten anywhere. As Matan mentioned  https://github.com/natebosch/vim-lsc works with this server and there is https://github.com/prabirshrestha/vim-lsp but I don't have any experience with it.

Going with langserv is good. Will look into it, thank you for the day and
detailed replies :)
On Tue, Oct 17, 2017, 2:08 AM Nate Bosch<EMAIL_ADDRESS>wrote:

https://github.com/natebosch/dart_language_server wraps the analysis
server following the Language Server Protocol
I think I have seen some talk of ale getting support for LSP but I don't
know if that has gotten anywhere. As Matan mentioned
https://github.com/natebosch/vim-lsc works with this server and there is
https://github.com/prabirshrestha/vim-lsp but I don't have any experience
with it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dart-lang/sdk/issues/31108#issuecomment-336955073,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAP7d9FD4TOZlQ8ZQD6fSW8IVQYt2HBLks5ss419gaJpZM4P6ILJ
.


Clarify what the tag includes

Hi. Can you please give more information here on what URLs the AzureKubernetesService tag includes? It's kind of a black-box here.

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

ID: ab53ab25-92d7-ffc9-be5c-16ea5aff52ea
Version Independent ID: 82d1240f-f358-7731-d308-4003cefc28c8
Content: Use Azure Firewall to protect Azure Kubernetes Service (AKS) Deployments
Content Source: articles/firewall/protect-azure-kubernetes-service.md
Service: firewall
GitHub Login: @vhorne
Microsoft Alias: victorh

@Vegas588 Thanks for the feedback !  I have assigned this issue to content author to investigate and update the document as appropriate.

The following link was added to the article:
https://docs.microsoft.com/en-us/azure/aks/limit-egress-traffic
#please-close

Thanks. Looks much better!


Experiment: Test Pravega with TLS 1.3

!!! Experimental!!!
TBD.
Change log description
(2-3 concise points about the changes in this PR. When committing this PR, the committer is expected to copy the content of this section to the merge description box)
Purpose of the change
(e.g., Fixes #666, Closes #1234)
What the code does
(Detailed description of the code changes)
How to verify it
(Optional: steps to verify that the changes are effective)

Codecov Report

Merging #299 (2d9f270) into master (c3b9268) will increase coverage by 9.66%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #299      +/-   ##
==========================================
+ Coverage   66.37%   76.03%   +9.66%
==========================================
  Files          43       44       +1
  Lines       10717    11314     +597
==========================================
+ Hits         7113     8603    +1490
+ Misses       3604     2711     -893

Impacted Files
Coverage Δ

wire_protocol/src/tests.rs
99.40% <0.00%> (ø)

src/segment/writer.rs
84.00% <0.00%> (+0.47%)
:arrow_up:

wire_protocol/src/client_connection.rs
94.62% <0.00%> (+1.03%)
:arrow_up:

wire_protocol/src/mock_connection.rs
75.57% <0.00%> (+1.70%)
:arrow_up:

wire_protocol/src/connection_factory.rs
77.33% <0.00%> (+3.13%)
:arrow_up:

wire_protocol/src/error.rs
30.76% <0.00%> (+12.82%)
:arrow_up:

wire_protocol/src/wire_commands.rs
89.90% <0.00%> (+48.54%)
:arrow_up:

wire_protocol/src/commands.rs
89.74% <0.00%> (+52.74%)
:arrow_up:

Closing this since it is already verified.


Small improvements to the moto geometry

The rear wheel should be wider.
Ideally, the two motor blocks should be done with one primitive and a symmetry.
Some detail should be added to the fork for the wheel close-up.

obsolete (completed)


Set version to 3.x for http4s v >= 0.23

The site has been re-organized a couple times, apologies, and this PR needed changes anyway. Feel free to re-open.


--universal should be default and --no-universal should be optional

ung new is generating project without --universal, it's strange while there is a u in the command name.
Is it feasible to define the default behavior of ung new to do --universal (and add --no-universal option for non-universal projects)?

hey @rxjs-space,
I also thought about this topic before. But I decided to leave it like it is because of 2 reasons.
First, I still hope we can get it merged someday into the angular-cli and it would be much easier if it is just a flag.
Second, I worked like half a year to get this flag done and it is a lot of work to make it the default behavior.
But we can have a discussion about the negative things of the --universal flag and how we can solve this. Maybe it should be better documented that you have to create the project with the --universal flag or something.


NonMatchingChecksumError when checksum is None

I ran into the following error when adding a new dataset:
expected_checksums = {'https://adversarialglue.github.io/dataset/dev.zip': {'checksum': None, 'num_bytes': 40662}}
recorded_checksums = {'https://adversarialglue.github.io/dataset/dev.zip': {'checksum': 'efb4cbd3aa4a87bfaffc310ae951981cc0a36c6c71c6425dd74e5b55f2f325c9', 'num_bytes': 40662}}
verification_name = 'dataset source files'

    def verify_checksums(expected_checksums: Optional[dict], recorded_checksums: dict, verification_name=None):
        if expected_checksums is None:
            logger.info("Unable to verify checksums.")
            return
        if len(set(expected_checksums) - set(recorded_checksums)) > 0:
            raise ExpectedMoreDownloadedFiles(str(set(expected_checksums) - set(recorded_checksums)))
        if len(set(recorded_checksums) - set(expected_checksums)) > 0:
            raise UnexpectedDownloadedFile(str(set(recorded_checksums) - set(expected_checksums)))
        bad_urls = [url for url in expected_checksums if expected_checksums[url] != recorded_checksums[url]]
        for_verification_name = " for " + verification_name if verification_name is not None else ""
        if len(bad_urls) > 0:
            error_msg = "Checksums didn't match" + for_verification_name + ":\n"
>           raise NonMatchingChecksumError(error_msg + str(bad_urls))
E           datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files:
E           ['https://adversarialglue.github.io/dataset/dev.zip']

src/datasets/utils/info_utils.py:40: NonMatchingChecksumError

Expected results
The dataset downloads correctly, and there is no error.
Actual results
Datasets library is looking for a checksum of None, and it gets a non-None checksum, and throws an error. This is clearly a bug.

Hi @jxmorris12, thanks for reporting.
The objective of verify_checksums is to check that both checksums are equal. Therefore if one is None and the other is non-None, they are not equal, and the function accordingly raises a NonMatchingChecksumError. That behavior is expected.
The question is: how did you generate the expected checksum? Normally, it should not be None. To properly generate it (it is contained in the dataset_infos.json file), you should have runned: https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md
datasets-cli test <your-dataset-folder> --save_infos --all_configs

On the other hand, you should take into account that the generation of this file is NOT mandatory for personal/community datasets (we only require it for "canonical" datasets, i.e., datasets added to our library GitHub repository: https://github.com/huggingface/datasets/tree/master/datasets). Therefore, other option would be just to delete the dataset_infos.json file. If that file is not present, the function verify_checksums is not executed.
Finally, you can circumvent the verify_checksums function by passing ignore_verifications=True to load_dataset:
load_dataset(..., ignore_verifications=True)

Thanks @albertvillanova!
That's fine. I did run that command when I was adding a new dataset. Maybe because the command crashed in the middle, the checksum wasn't stored properly. I don't know where the bug is happening. But either (i) verify_checksums should properly handle this edge case, where the passed checksum is None or (ii) the datasets-cli test shouldn't generate a corrupted dataset_infos.json file.
Just a more high-level thing, I was trying to follow the instructions for adding a dataset in the CONTRIBUTING.md, so if running that command isn't even necessary, that should probably be mentioned in the document, right? But that's somewhat of a moot point, since something isn't working quite right internally if I was able to get into this corrupted state in the first place, just by following those instructions.

Hi @jxmorris12,
Definitely, your dataset_infos.json was corrupted (and wrongly contains expected None checksum).
While we further investigate how this can happen and fix it, feel free to delete your dataset_infos.json file and recreate it with:
datasets-cli test <your-dataset-folder> --save_infos --all_configs

At a higher level, also note that we are preparing the release of datasets version 2.0, and some docs are being updated...
In order to add a dataset, I think the most updated instructions are in our official documentation pages: https://huggingface.co/docs/datasets/share

Thanks for the info. Maybe you can update the contributing.md if it's not up-to-date.

Hi @jxmorris12, we have discovered the bug why None checksums wrongly appeared when generating the dataset_infos.json file:

#3892

The fix will be accessible once this PR merged. And we are planning to do our 2.0 release today.
We are also working on updating all our docs for our release today.

Thanks @albertvillanova - congrats on the release!


Add fusionauth_lambda datasource

Resolves #53

Are there any plans to consider adding this?
@MCBrandenburg is there anything else I need to do to get this merged?

@MVJosh Please look into comments and linter warnings

@MVJosh thank you for this, it will be in version v0.1.41 which is building as I type this.


Argb support fix

Fixes #8
In the case of BGR, ARGB, BGRA and ABGR represented with floating points we were handling the struct pixel layout twice -- once with libng by calling png_set_brg and png_set_swap_alpha  and by converting the data layout to RGBA in _prepare_buffer -- these two operations sort of cancelled each other out. The fix implemented here is not to do the conversions.
cc: @johnnychen94

I tried to figure out the resolver error but I'm failing.
Any ideas @johnnychen94?

Thanks for the lighting fix!
A new ColorVectorSpace release with compat fix is needed, see also https://github.com/JuliaGraphics/ColorVectorSpace.jl/pull/122 and https://github.com/JuliaImages/ImageCore.jl/pull/124
It succeeded in nightly because of a Pkg issue, possibly related to https://github.com/JuliaLang/Pkg.jl/issues/1720
This is only a test stage issue, and if it's tested locally with a customed version of ColorVectorSpace, I think it's okay to not wait for a new version of ColorVectorSpace

temporary repair?
[compat]
ImageCore = "0.8.11"

BTW, PNGFiles.jl uses a primitive Array as the buffer, so I doubt  that we really need to use colorview or depend on ImageCore.jl.
Of course, it is intuitive that PNGFiles.jl depends on ImageCore.jl. However, we faced the dependency issue, so I think the low-level processing looks reasonable.

I removed the Images dep during test by absorbing absmaxfinite in #10 and rebased this


Workload identity

What is the correct way to setup client config to get it working with workload identity from GCP?
I am using a patched dependency with the main branch since crates are updated manually. Using default auth does not work like it does in local.
ClientConfig::default().with_auth().await.unwrap()

results in thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: HttpError(reqwest::Error { kind: Decode, source: Error("expected value", line: 1, column: 1) })', /root/project/src/router.rs:22:51

I reverted patch to this rev: 5eb08b64c442a172a7745112bdec37d3b41fcdcd . It's working now. Something afterwards broke it.

Cloud you please tell me the following so I can investigate.

What credentials you are using? You may mask sensitive information with XXX or something similar.
("type": "external_account" is currently unsupported)

Does it work with 7e47243374bdae3bea736431345678e31ddebc4f?

using workload identity with k8s SA with IAM permission
type: service_account
7e47243374bdae3bea736431345678e31ddebc4f is working

I'm using feature = storage

I have confirmed that it works with GKE using workload identity Autopilot. We have confirmed that it works with the latest version we published to crates.io yesterday.
We need more detailed information as there is no error here.

Are you using GKE Standard instead of GKE Autopilot?
How is the hyper logging around errors?

if you are using tracing etc, you can use the environment variable RUST_LOG to output the hyper trace log.

I believe this was a mistake on my part. I was not using the correct revision for google_cloud_token. I'm using the newly published crates and can confirm that it's working.


Feature/i2c nonblocking

Implemented a non-blocking variant of I2c. Blocking variant is not changed, but a feature switch is now needed in cargo.toml.
Non-blocking variant can be used blocking (with block! macro) non-blocking and in RTIC context.
Added a watchdog to guard against bus hanging
Added a possibility to change the slave address for the slave.
Made a lot of assumptions, not sure if they all fit in the philosophy of the stm32g0 hal.
Tests can be found at https://github.com/smeenka/rust-examples/tree/master/nucleo-G070.

While using the nonblocking variant on one of my own projects, I discovered that a very tight handling of the framesizes on the slave, does induce a problem: a very strict and tight statemachine is needed in this case, with a very strict order of commands, and that's not what one does want, because too difficult.
That's the reason that the framechecking is now a little bit more loose on the slave's end. See comments in the trait and see the tests in https://github.com/smeenka/rust-examples/tree/master/nucleo-G070.


fix(ui): folds not working in lazy

remove nofile, otherwise ts folds do not work in lazy.

Should fix: https://github.com/mistweaverco/kulala.nvim/discussions/268

That shouldn’t be the solution. We should talk with @folke about his reason to exclude this buftypes. I don’t use LazyVim but have some more plugins with scratch buffers using buftype nofile where treesitter runs fine and I see no reason to skip folding.

Yes, folding works for me too, I don't use Lazy either, so maybe folke can elaborate on why'd he chose to disable that on nofile :thinking:

Can we solve it with a user configuration on setup?
Folke is on vacation till the end of the month 😞

@rogeriofrsouza you already confirmed that everything runs fine for you with this commit, didn’t you? So we can keep it as is (I haven’t tested for side effects). If Folke will change his repo we can do a revert (if @gorillamoe want to do it). So in the meantime everything should be good.

Yes, I will revert this ofc, if behaviour in lazy changes.
Until then it should stay as is if nobody complains about side-effects. I haven't noticed side-effects for now, but let's see.

Yes @Grueslayer it is running fine. But I don't want to break someone else configuration out there...

Don't worry, if it breaks stuff, we'll revert it and make it opt-in.

@gorillamoe It is fixed in LazyVim, may you revert this (and maybe #286, too)?


Allow greater range of butteraugli distances in cjxl

The encoder is hard coded to allow a minimum distance of 0.01.
It's reasonable for cjxl match the encoder's capability.

We are considering to allow this in cjxl_ng, but not for cjxl right now.


Redirect with special chat not working

Hi,
If we make a redirect with the Danish language characters æøå then the redirect doesn't work. Is there anything special we can do to make this work or is this a bug?
We would like to redirect
/storskærm
I know we can do /storskaerm but in out case we already did the physical marketing material.

Hi @kmai-universe
I was able to reproduce your issue and wrote a fix for it in https://github.com/patrickdemooij9/SeoToolkit.Umbraco/commit/c46fb42e23eeffe630542ac5deb8749c3fb2e67e.
I'll see if I can push a new version this weekend or early next week so that you are able to use it straight away.

Fixed in 3.5.1 (https://github.com/patrickdemooij9/SeoToolkit.Umbraco/releases/tag/3.5.1)


Docs->Architecture->pbmm->architecture.md : adjusted endpoint vpc 2nd AZ subnet name

2nd AZ Subnet name was also "a" instead of "b"

Thanks for putting an update. It looks like the formatting of the Route table got lost? Could have something to do with the draw.io host name 'drawio.corp.amazon.com'.

Hi,
Didn't notice it in the local version. Let me try to fix.

@rjjaegeraws  I think it looks good now.


Added name to Readme

Related issue

What changes does this PR do?
Screenshots (If any)
Questions

@E-fais  I haved removed space than also my name is not showing in the readme.


Opencv and Masking

Hi Guys,
So, I saw a lot of posts and examples about using OpenCV and PyKinect2 library. I have some questions and I hope someone will help me solve them.

So I got a binary mask and I want to binary_and it with the tracking frame. Any ideas on how to do it?
I saw the examples bu the frame that I got from it was the regular color frame not the tracking drawn one.
@yxp1003 - Any suggestions?

Sorry, I don't quite understand what you mean. Do you mean that you only want bone tracking images and not color frames? Maybe u can convert the frame toString and then processing.

The RGB image is from the Pykinect2 example. I was hoping to  use OpenCV on it, like you did. By saving it as a .png file and using opencv to read it.  But it is not smooth. Did you mange to find a work around for this problem?

RGB图像来自Pykinect2示例。我希望像你一样使用OpenCV。将其保存为.png文件并使用opencv进行读取。但它并不顺利。你有没有找到解决这个问题的方法？

I have tried save .png and loaded it, but it is not a good a idea, becuz the frame looked not  fluency.
def pygame_to_cvimage(self, surface_to_draw):
image_string=pygame.image.tostring(surface_to_draw, 'RGB')
image_np = np.fromstring(image_string, np.uint8).reshape(405, 720, 3)
img = cv2.cvtColor(image_np, cv2.COLOR_BGR2RGB)
return img
this fucntion can vonvert the frame to a String type, and OpenCV can use it


Make reports smaller

I took a report from the service, and found it to be 6M uncompressed (500K compressed).  This was slightly bigger than I was expecting - although lets assume this is made of 15*3=45 different reports, which still puts compressed probe -> app reports at about 10K.
I was interested in seeing which topology was using the most space - assuming it to be endpoints.  It was not:
-rw-r--r--@  1 twilkie  staff   6.0M 23 Mar 12:46 k8s_report.json
-rw-r--r--   1 twilkie  staff   1.2M 23 Mar 12:50 container.json
-rw-r--r--   1 twilkie  staff    31K 23 Mar 12:51 container_image.json
-rw-r--r--   1 twilkie  staff   1.7M 23 Mar 12:50 endpoints.json
-rw-r--r--   1 twilkie  staff    19K 23 Mar 12:52 host.json
-rw-r--r--   1 twilkie  staff    55K 23 Mar 12:52 pod.json
-rw-r--r--   1 twilkie  staff   2.6M 23 Mar 12:50 process.json
-rw-r--r--   1 twilkie  staff    39K 23 Mar 12:52 service.json

So, perhaps an easy win would be to not report on every process; for instance, we only show ones which are doing IO, so we could easily filter out processes in the probe who's PIDs don't appear in the endpoint topology.  How this would affect things like the details panel is a different problem.
I also suspect the reason the process topology is so big is because we have metrics on it (and we don't have metrics on endpoints).  Perhaps their representation could be improved?

For instance, I suspect the way we encode times in json might be a little verbose, although (a) compression should be very effective on that and (b) we use msgpack.

Related: https://github.com/weaveworks/scope/issues/985

This is getting urgent. After seeing the pressure put on gzip on #1454 #1457 I measured the reports on the service and the are all around ~10MB. Note that this is mspack and not json.
<app> DEBU: 2016/05/10 07:07:19.868129 Decoded report with uncompressed size: 11039439 bytes
<app> DEBU: 2016/05/10 07:07:20.514462 Decoded report with uncompressed size: 1356204 bytes
<app> DEBU: 2016/05/10 07:07:21.075427 Decoded report with uncompressed size: 8903471 bytes
<app> DEBU: 2016/05/10 07:07:22.460466 Decoded report with uncompressed size: 11021565 bytes
<app> DEBU: 2016/05/10 07:07:23.263057 Decoded report with uncompressed size: 8815125 bytes
<app> DEBU: 2016/05/10 07:07:23.487196 Decoded report with uncompressed size: 1362641 bytes
<app> DEBU: 2016/05/10 07:07:25.942304 Decoded report with uncompressed size: 10991935 bytes
<app> DEBU: 2016/05/10 07:07:26.518838 Decoded report with uncompressed size: 1355327 bytes
<app> DEBU: 2016/05/10 07:07:27.537417 Decoded report with uncompressed size: 8838048 bytes
<app> DEBU: 2016/05/10 07:07:30.083979 Decoded report with uncompressed size: 8840959 bytes
<app> DEBU: 2016/05/10 07:07:30.084173 Decoded report with uncompressed size: 1362380 bytes
<app> DEBU: 2016/05/10 07:07:31.110165 Decoded report with uncompressed size: 10992570 bytes
<app> DEBU: 2016/05/10 07:07:31.937460 Decoded report with uncompressed size: 10995374 bytes
<app> DEBU: 2016/05/10 07:07:32.497260 Decoded report with uncompressed size: 1366081 bytes
<app> DEBU: 2016/05/10 07:07:34.032572 Decoded report with uncompressed size: 8860366 bytes
<app> DEBU: 2016/05/10 07:07:34.658462 Decoded report with uncompressed size: 11069890 bytes
<app> DEBU: 2016/05/10 07:07:36.411694 Decoded report with uncompressed size: 1360041 bytes
<app> DEBU: 2016/05/10 07:07:36.411867 Decoded report with uncompressed size: 8875983 bytes
<app> DEBU: 2016/05/10 07:07:40.419795 Decoded report with uncompressed size: 8827937 bytes
<app> DEBU: 2016/05/10 07:07:40.420016 Decoded report with uncompressed size: 1358527 bytes
<app> DEBU: 2016/05/10 07:07:40.420170 Decoded report with uncompressed size: 10994623 bytes
<app> DEBU: 2016/05/10 07:07:42.605203 Decoded report with uncompressed size: 1374407 bytes
<app> DEBU: 2016/05/10 07:07:42.605459 Decoded report with uncompressed size: 8863273 bytes
<app> DEBU: 2016/05/10 07:07:42.606038 Decoded report with uncompressed size: 10993672 bytes
<app> DEBU: 2016/05/10 07:07:43.982567 Decoded report with uncompressed size: 11074538 bytes
<app> DEBU: 2016/05/10 07:07:44.130010 Decoded report with uncompressed size: 8887728 bytes
<app> DEBU: 2016/05/10 07:07:44.539015 Decoded report with uncompressed size: 1364226 bytes
<app> DEBU: 2016/05/10 07:07:47.459972 Decoded report with uncompressed size: 10991909 bytes
<app> DEBU: 2016/05/10 07:07:47.563402 Decoded report with uncompressed size: 8866257 bytes
<app> DEBU: 2016/05/10 07:07:47.592480 Decoded report with uncompressed size: 1362825 bytes
<app> DEBU: 2016/05/10 07:07:51.607983 Decoded report with uncompressed size: 10991917 bytes
<app> DEBU: 2016/05/10 07:07:51.608229 Decoded report with uncompressed size: 8862542 bytes
<app> DEBU: 2016/05/10 07:07:51.608356 Decoded report with uncompressed size: 1370380 bytes
<app> DEBU: 2016/05/10 07:07:53.149122 Decoded report with uncompressed size: 11076156 bytes
<app> DEBU: 2016/05/10 07:07:53.289902 Decoded report with uncompressed size: 8904769 bytes
<app> DEBU: 2016/05/10 07:07:53.868596 Decoded report with uncompressed size: 1373424 bytes
<app> DEBU: 2016/05/10 07:07:56.264958 Decoded report with uncompressed size: 10994070 bytes
<app> DEBU: 2016/05/10 07:07:56.546419 Decoded report with uncompressed size: 1368808 bytes
<app> DEBU: 2016/05/10 07:07:57.447718 Decoded report with uncompressed size: 8863152 bytes
<app> DEBU: 2016/05/10 07:08:00.677720 Decoded report with uncompressed size: 8862768 bytes
<app> DEBU: 2016/05/10 07:08:01.772031 Decoded report with uncompressed size: 1371314 bytes
<app> DEBU: 2016/05/10 07:08:01.772277 Decoded report with uncompressed size: 11040852 bytes
<app> DEBU: 2016/05/10 07:08:02.708167 Decoded report with uncompressed size: 10948433 bytes
<app> DEBU: 2016/05/10 07:08:02.708344 Decoded report with uncompressed size: 1376683 bytes
<app> DEBU: 2016/05/10 07:08:05.054480 Decoded report with uncompressed size: 11074448 bytes
<app> DEBU: 2016/05/10 07:08:06.058167 Decoded report with uncompressed size: 8879050 bytes
<app> DEBU: 2016/05/10 07:08:06.058380 Decoded report with uncompressed size: 1362445 bytes
<app> DEBU: 2016/05/10 07:08:07.000014 Decoded report with uncompressed size: 8984940 bytes
<app> DEBU: 2016/05/10 07:08:10.112212 Decoded report with uncompressed size: 8738654 bytes
<app> DEBU: 2016/05/10 07:08:11.323737 Decoded report with uncompressed size: 10992574 bytes
<app> DEBU: 2016/05/10 07:08:11.324003 Decoded report with uncompressed size: 1368511 bytes
<app> DEBU: 2016/05/10 07:08:12.347687 Decoded report with uncompressed size: 8872709 bytes
<app> DEBU: 2016/05/10 07:08:12.347873 Decoded report with uncompressed size: 1375379 bytes

Looking at a report, most of it is taken up by timestamps! iirc @tomwilkie mentioned this before.
e.g.
        "latest": {
          "conntracked": {
            "timestamp": "2016-07-18T20:54:46.155006786Z",
            "value": "true"
          },
          "addr": {
            "timestamp": "2016-07-18T20:54:46.155000127Z",
            "value": "<IP_ADDRESS>"
          },
          "port": {
            "timestamp": "2016-07-18T20:54:46.155000127Z",
            "value": "36536"
          }
        },

which would shrink to
        "latest": {
          "conntracked": "true",
          "addr": "<IP_ADDRESS>",
          "port": "36536"
        },

without timestamps.
Surely we don't need timestamps on nearly every individual json object - one time stamp per report should be fine, with the possible exception of some metrics (though these seem to carry separate "first" and "last" timestamps anyway).
Related: some timestamps are recorded with second precision, some with nanosecond precision.

Looks like the source of all these timestamps is a) LatestMap, and b) Metric.
For LatestMap  I wonder whether we couldn't associated the timestamp with the map rather than the entries.
Metric is a timeseries, so the individual timestamps there are rather important. However, for many metrics the value is constant, in which case the samples could be replaced with just a single value. Combined with the existing first/last fields this is a lossless compression.

For LatestMap I wonder whether we could associate the timestamp with the map rather than the individual entries.

That would make merging non-commutative when there are any entries where the value can change over time. Maintaining commutativity in such cases is of course the main reason of having any timestamps at all in the first place.
Now, in reality the majority of values are constant - they cannot change over time. So perhaps we should have an additional data structure, ConstMap where we stuff all such entries. The likes of container env entries and container labels, and endpoint addr/port.

The reality is we can't really change this data structure anymore, so to
move the timestamps to the map level would require us to add a new data
structure (const map...).
On Tue, Jul 19, 2016 at 7:41 AM, Matthias Radestock <
<EMAIL_ADDRESS>wrote:

For LatestMap I wonder whether we could associate the timestamp with the
map rather than the individual entries.
That would make merging non-commutative when there are any entries where
the value can change over time. Maintaining commutativity in such cases is
of course the main reason of having any timestamps at all in the first
place.
Now, in reality the majority of values are constant - they cannot
change over time. So perhaps we should have an additional data structure,
ConstMap where we stuff all such entries. The likes of container env
entries and container labels, and endpoint addr/port.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/weaveworks/scope/issues/1201#issuecomment-233545367,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAbGhb76fzi8DYKnkLLqgUDwcnHtrVQkks5qXHGhgaJpZM4H3CYh
.

The reality is we can't really change this data structure anymore, so to move the timestamps to the map level would require us to add a new data structure (const map...).

Yep, that's what I suggested :)

Indeed, I was agreeing.
On Tue, Jul 19, 2016 at 11:50 AM, Matthias Radestock <
<EMAIL_ADDRESS>wrote:

The reality is we can't really change this data structure anymore, so to
move the timestamps to the map level would require us to add a new data
structure (const map...).
Yep, that's what I suggested :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/weaveworks/scope/issues/1201#issuecomment-233596968,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAbGhW3QOAF-A6dmuQ-BDglZtdkOFLJsks5qXKvjgaJpZM4H3CYh
.

Another thing we could to is to make sure that empty fields are not serialized/deserialized. Here's an example of a serialized endpoint node:
{
  "id": ";<IP_ADDRESS>;47053",
  "topology": "endpoint",
  "counters": {},
  "sets": {},
  "adjacency": [
    ";<IP_ADDRESS>;10250"
  ],
  "edges": {
    ";<IP_ADDRESS>;10250": {}
  },
  "controls": {},
  "latest": {
    "addr": {
      "timestamp": "2016-07-25T17:20:06.092157908Z",
      "value": "<IP_ADDRESS>"
    },
    "copy_of": {
      "timestamp": "2016-07-25T17:20:06.092157908Z",
      "value": ";<IP_ADDRESS>;47053"
    },
    "port": {
      "timestamp": "2016-07-25T17:20:06.092157908Z",
      "value": "47053"
    },
    "conntracked": {
      "timestamp": "2016-07-25T17:20:06.089607683Z",
      "value": "true"
    }
  },
  "parents": {},
  "children": null
}

counters, sets, counters and controls are not used and yet occupy space in the report.

Also, the "addr" and "port" fields of the LatestMap in the Endpoint topology are redundant since they are also present in the node keys. We should be able to remove them completely.

Another thing we could to is to make sure that empty fields are not serialized/deserialized.

Not immediately possible without using pointers instead of structs for each field :S See http://stackoverflow.com/questions/18088294/how-to-not-marshal-an-empty-struct-into-json-with-go
The codec library we are using has the same problem, see https://godoc.org/github.com/ugorji/go/codec#Encoder.Encode
The empty values (for omitempty option) are false, 0, any nil pointer or interface value, and any array, slice, map, or string of length zero.

I've created a feature request upstream: https://github.com/ugorji/go/issues/163

Related: some timestamps are recorded with second precision, some with nanosecond precision.

@rade I've just realized that those are probably the Docker stat metrics which I believe only have second-precision (the serializer omits the zeros for the nanoseconds).


Query customer address

As eCommerce employee,
I need to sort the list of customers by address
So that I can search a specific customers by address
Details and Assumptions

Employee can select and filter what address fields of information they want to request
An empty field will return an empty field

Acceptance Criteria
When an employee requests for a list of customers with specified addresses,
the database will return a table with all the customers and corresponding information of each customer.

Would the story point be on the capability to "sort" the customers? Or to "find" customers?
If it is to find, would it look more like "As an eCommerce employee, I want to search (or filter) for specific customers by address, so that I can [do something with the customers info, e.g. send targeted info to customers in a specific area]"
Probably not the best "so that" example.
This is the description of "I need" on Atlassian: Here we’re describing their intent — not the features they use. What is it they’re actually trying to achieve? This statement should be implementation free — if you’re describing any part of the UI and not what the user goal is you're missing the point.
This comment also applies to other stories in this sprint.


Upgraded 9.4 to Debian Jessie base image.

Related to #59.
I have been testing the image for about a day now and now problem so far.

I'd feel much better about this change if we continued to use the upstream-provided repository for it, especially since they have a jessie-pgdg dist (http://apt.postgresql.org/pub/repos/apt/dists/jessie-pgdg/).

(not that I doubt the Debian maintainer -- upstream's repo will just be more well-supported by upstream, and more likely to get very timely updates)

OK sure, I did not know that, thanks. I might change and test this in a few weeks.

So far, all seems good. I will keep you up-to-date.


A9LH Prep: Replace with automatic process

https://3ds.guide/installing-arm9loaderhax
This is a long shot, but a lot of the prep work could be replaced with a Modmii-like program. The first part of this section is just downloading files and extracting specific files from them and putting them in specific places.
If you really wanted to, you could even include the torrenting part in this, but that creates two problems:

Hit and run on torrents
Inciting and enabling downloading of files that aren't hosted regularly on the web for good reason

There are plenty of programs that would download and manipulate the files, many of them built-in at the OS level. If a cross platform solution was desired, Python or some other language could be used.
And for those who don't want to run a program, the guide could split into an A and B section at the start of this page, like it does with "Section IV - Restoring the System" parts 1 and 2.

This probably create noob-like user that want everything done automatically....
IT's my point of view...

or people can just learn to read and follow basic instructions. people mess up because they dont pay attention. all automating it will do is make people pay even less attention.

or people can just learn to read and follow basic instructions. people mess up because they dont pay attention. all automating it will do is make people pay even less attention.

If this was the guiding philosophy, the guide would never have been written. As far as I can tell, it's absolutely supposed to make noobs able to hack their 3DSs.

If this was the guiding philosophy, the guide would never have been written.  Why the change of heart?


Set auto-approval for PV-generated packages

This enables auto-approval of the secondary packages created when you Publish a workload cluster package.
With this change, publishing the workload cluster package will be the only step needed to trigger the complete automated cluster creation, registration, and bootstrapping.

/approve


GitOps Falco Rules - wrong featured image path

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind user-interface

/kind content

/kind translation

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area blog

/area documentation

/area videos

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: vjjmiras
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content/OWNERS [vjjmiras]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 055dd12125c15ef6990eafe427223ee647b9df52

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Issif, vjjmiras
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content/OWNERS [Issif,vjjmiras]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


[BUG] Friends menu is no longer themed after a canary update

Describe the bug
Friends menu is no longer themed after a canary update. No other themes are enabled.
To Reproduce
Steps to reproduce the behavior:

Open discord
View friends menu

Screenshots

Setup

OS: Arch Linux
Client Mod: Powercord
Release Channel: Canary
Enabled Themes: Zelk
Discord Language: English

What's your exact Canary version (e.g. Canary 93139 (11cd0f2))

Fine on my side. Does this happen with an unmodified version of Zelk too?

Issue fixed as of latest commit, thank you


Deleted provider info

Closing this PR, as the template is supporting TFv0.12 or more, hence the block to download the Terraform provider is needed.


Possible Incompatibilities (1.19.3)

This mod crashes on my minecraft 1.19.3

Download the curseforge file if the modrinth one doesn't work

Yea for some reason the modrinth version doesn't work. I will try to fix in the future

I have uploaded a 1.19.4 version which also works with .3


[FEATURE] Add Our Team/ Contributor Page

Description
I would like to add a team's page to the website.
Add the developers and contributors section to the page with a list of all contributors and developers in it.
This would improve user engagement and experience.
Plz, assign me this task under gssoc'23.
Screenshots
No response
🥦 Browser
Google Chrome
Checklist ✅

[X] I checked and didn't find similar issue
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue (blank for no)

Hi @abhi03ruchi , the current scenario is we have 118 contributors and if this keeps on increasing it makes no sense to put the names/pictures of all the contributors. As it is an Opensource project, everyone that raises an issue, an idea, contributes, and even spots the bugs - all are a part of a team. So I will have to close this issue as this one is not feasible at all.


adjust app.kubernetes.io/instance labels

This label should be unique per instance. In most of our charts it's being set as {{ .Release.Name }} which is not adequate to its purpose.

This was based on a misinterpretation, and in fact "instance" should be set to {{ .Release.Name }}. Closing.