Adding vectorial functionalities and examples

Firstly, from what I've seen so far, this package is quite impressive! It's nice to see that optics packages for Julia are being developed.
I think it would be useful and not too hard, as you remarked in the README, to implement the angular spectrum method for vectorial fields, as it is used quite often for structured light applications and nonparaxial optics. If you're interested, I can create a PR that allows users to do this. We can also discuss simple examples that illustrate the method.

Maybe I've got some time tomorrow to test.
I think right now there is a bit of a mess, for example the code works for AngularSpectrum(array_3D, z_1Dvector, lambda, L) which means that the output will be a 3D array where the 3D dimension is just the different distances.
But I don't understand the full details myself right now.
I think it would be fine to assume, that if it's a 3D array, there third dimension is going to represent a batch dimension (such as different polarizations or wavelengths).
Not sure how hard it would be to get the code also generically running for 4D arrays.
Maybe it's good to assume that everything is 4D as array? And then we just allocate everything as 4D arrays and the special cases of 2D inputs or 3D inputs we just write small dispatch wrappers which extract the dimensions?
See here, there is some mess haha
https://github.com/JuliaPhysics/WaveOpticsPropagation.jl/blob/main/src/angular_spectrum.jl#L23

Thought about it more, maybe a convention like (x, y, z, polarizations, wavelength, batch).
And then all methods could be based on this 6 dimensional scheme?
Otherwise it' s confusing and requires a lot special handling if the input is 3D and whether this means x,y, polarizations or x,y,z.

How does chromatix do it?
I've seen they also use a 5D array
https://chromatix.readthedocs.io/en/latest/higher_rank/#creating-fields-with-more-than-one-batch-dimension

As far as I remember, almost like your suggestion. Just the other way round because of python. Batch is, of course, configure multidimensional, which means any number of trailing dimensions are allowed. However, they put polarization (the 3 field components) as innermost dimensions which is for efficiency reasons I guess (e.g. calculating intensity from field in a sub-area). I actually somewhat prefer your suggestion as scalar code would then run out-of-the box.

See this.
Dimension arrangement is critical. And since we perform mostly FFTs over (x,y), I believe we should have those dimension as tightest. z as next dimension just seems natural.

Sorry I haven't done much yet.
But for my own work I probably redesign everything to be a 6D array.
Then the polarization dimension would be reserved for the different vectorial components.
In the long-term, I'm trying to get some financial support to work more on this package. But this won't happen before next year. Until then it'll be definitely changing a lot.

No problem, I haven't had time to really look into this either. In the future I'm hopeful that I can introduce some optics packages for Julia. It amazes me that there's no official packages for things like FDTD or the beam propagation method yet.

For FTDT there is https://discourse.julialang.org/t/pre-ann-differentiable-fdtd-for-inverse-design-in-photonics-acoustics-and-rf/105405
Beam propagation is what I'm aiming for, yes :)


Frontend: Add Angular with JWT, Liquibase and Flyway buttons

related to https://github.com/jhipster/jhipster-lite/issues/995

@Franceq34 : can you fix the code smells plz?

 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.1 out of 2 committers have signed the CLA.:white_check_mark: Franceq34:x: Quentin FranceQuentin France seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Adding implementation details to models

Hello,
I am curious if there is a way to add implementation code like you can do with EMF. At the moment I would like to do something like this for example:
interface Points {
	double getPoints();
}

class SimplePoints implements Points {
	double points;

	double getPoints() {
		return points;
	}

	void setPoints(double points) {
		this.points = points;
	}
}

class SummedPoints implements Points {
	int a,b,c;
	boolean x;

	double getPoints() {
		return (double) (a + b + c + (x ? 1 : 0));
	}

	void setAPoints(int points) {
		this.a = points;
	}

	[...]
}

This already adds some more logic to the model compared to just set and get values but these are still data I need to store, validate and work with. With tools like a Task (can I add further Task implementations myself?) I might achieve calculations like return (double) (a + b + c + (x ? 1 : 0));. But I doubt that I could yet define a derived attribute points in class Points and then define the task implementation in the subclasses SimplePoints and SummedPoints.
In general I am missing some validation mechanism that makes sure a datamodel contains valid data from a logical point of view. Enums could help to define a fixed set of possible values and there might also be a possibility to add annotations to tell that numbers mustn't be negative or similar. Anyway the best solution would be an option to implement validation classes that gets attached to the model and automatically called when a value is going to be changed.

Hi,
Indeed we had also the need to add behaviors and computation code directly inside the model. However coming from the EMF world we also remember the main problems of it:

difficult to update the model when the code is injected into the generated code
difficult to edit the Java code when it has to be described in the UML/Ecore files (basically no IDE support).
To try something else and to work around the complexity of Async callback we introduced the notion of a task as a primitive attribute for our models. Task can be directly described in the model when they are simple like:

class Test {
   const todo : Task = exp(3+4)
}

But a task can be potentially way more complex and require some Java code.
When it is the case we don't write the code in the GCM file but instead in our Java Code.
to do so we put nothing after the = symbol in the GCM file, meaning that we keep the definition open. Then in the java code you have the ability to do Test.toto = newTask().then{...java code here...}. Finally, when you read the 'attribute' or 'constant' todo, the task is directly executed, there we have exactly the same behavior than a derived attribute.

A bit related to this issue:
I don't know if you already planned or not but I think that it could be could to (re) introduce the abstract class concept, i.e.\ a class mainly used to factorise attribute and that cannot be "instantiate" (a node cannot have an abstract type)
(cc @thomashartmann )


Required delay between management and ingest commands

Hi
We are writing a client that ingest data into ADX using this golang library, we created in Azure portal an ADX cluster & database and in the client we run the following queries, first to create table and ingestion setting and then ingest data and query the ingest row size.

kusto.Client.Mgmt(..., ".create table [Table Name] (col1: type1, ....)")

kusto.Client.Mgmt(..., ".add table [Table Name] ingestors ('...;...') '...'")

kusto.Client.Mgmt(..., ".create-or-alter table [Table Name] ingestion json mapping [mapping name] '['  ' { "column" : "col1", "datatype" : "type1", "Properties":{"Path":"$.col1"}} ', '...' ']'")

kusto.Client.Mgmt(..., ".alter table [Table Name] policy streamingingestion '{ "NumberOfRowStores": 1 }'")

ingest.New(kusto.Client, [Database Name], [Table Name]).Stream(ctx, data, ingest.JSON, "[mapping name]")

kusto.Client.Query(..., ", [Table Name] | count")

kusto.Client.Mgmt(..., ".drop table [Table Name] ifexists")

When I run all commands in the following sequence one by one, all return successfully (no errors) but the count query returns 0 and in ADX portal as well the new table is empty.
Only if I wait after the management queries (step 1 to 4) for 5 minutes and then do the ingest data, then new table is not empty and count query return number > 0
Why do I need this long delay between table creation and table ingestion and can it be decreased by client/server ?
Also why do the ingest method not return an error in case of no delay, where in reality no rows were inserted into the table.
Thanks
Raanan

@rnitzan, can you confirm the problem?
Are you getting an error? Is it "data does not show up" vs. "data shows up after 5 minutes"?
There is an internal batching mechanism that will be default delay the incoming data by 5 minutes.
You can read about how to control it here: https://docs.microsoft.com/en-us/azure/data-explorer/kusto/management/batchingpolicy and here: https://docs.microsoft.com/en-us/azure/data-explorer/kusto/management/batching-policy
Please let us know if this is your case.

@vladikbr

I'm not getting any error.
data never show up.

only if i

create table & ingest setting
wait 5 minutes
ingest data
data shows up and can query it

@vladikbr
I didn't defined batch policy, here the table details
"TableName": ...,
"DatabaseName": ...,
"Folder": ,
"DocString": ,
"TotalExtents": 0,
"TotalExtentSize": 0,
"TotalOriginalSize": 0,
"TotalRowCount": 0,
"HotExtents": 0,
"HotExtentSize": 0,
"HotOriginalSize": 0,
"HotRowCount": 0,
"AuthorizedPrincipals": [
...
],
"RetentionPolicy": {
"SoftDeletePeriod": "7.00:00:00",
"Recoverability": "Enabled"
},
"CachingPolicy": {
"DataHotSpan": "1.00:00:00",
"IndexHotSpan": "1.00:00:00",
"ColumnOverrides": []
},
"ShardingPolicy": {
"MaxRowCount": 750000,
"MaxExtentSizeInMb": 1024,
"MaxOriginalSizeInMb": 2048,
"UseShardEngine": false
},
"MergePolicy": {
"RowCountUpperBoundForMerge": 0,
"MaxExtentsToMerge": 100,
"LoopPeriod": "01:00:00",
"MaxRangeInHours": 8,
"AllowRebuild": true,
"AllowMerge": true
},
"StreamingIngestionPolicy": {
"IsEnabled": true,
"HintAllocatedRate": null,
"NumberOfRowStores": 1,
"SealIntervalLimit": null,
"SealThresholdBytes": null
},
"IngestionBatchingPolicy": null,
"MinExtentsCreationTime": ,
"MaxExtentsCreationTime": ,
"RowOrderPolicy": null,

@vladikbr
Another thing noticed, I simulate case of creating 5 tables and their ingestion setting (without errors) and then right away doing ingest (without the 5 minute delay)
Now I get error on table not exist on the ingest
Seem it take some time for table metadata to be available in server side.
Insert error: Op(OpIngestStream): Kind(KHTTPError): streaming ingest issue(400 Bad Request):
{
"error": {
"code": "BadRequest_EntityNotFound",
"message": "Request is invalid and cannot be executed.",
"@type": "Kusto.Data.Exceptions.EntityNotFoundException",
"@message": "Entity ID 'TableN_2' of kind 'Table' was not found.",
"@context": {
"timestamp": "2020-05-19T09:50:03.0822828Z",
"serviceAlias": "",
"machineName": "KEngine000000",
"processName": "Kusto.WinSvc.Svc",
"processId": 7532,
"threadId": 1272,
"appDomainName": "Kusto.WinSvc.Svc.exe",
"clientRequestId": "KGC.execute;...",
"activityId": "...",
"subActivityId": "...",
"activityType": "PO.OWIN.CallContext",
"parentActivityId": "...1",
"activityStack": "(Activity stack: CRID=KGC.execute...)"
},
"@permanent": true
}
}

We are investigating the issue where you did not get an error.
There is a documented up to 5 minutes delay between authoring tables and streaming ingestion policies and these settings taking effect:
https://docs.microsoft.com/en-us/azure/data-explorer/ingest-data-streaming#limitations

@vladikbr
Got a solution.
The ingest without 5 minute delay didn't fail cause of previous deleted table ingestion setting.
Need to run ".clear database cache streamingingestion schema" after table drop ,to remove deleted table ingestion setting from ADX cache, so new table (with same name) will not use those setting.


Misc improvements

See the individual commits, and feel free to pick and choose what to take and what to skip.

use argparser's exclusive flags
fix movement speed struct unpacking
auto reconnect upon BT disconnected
add a --monitor mode which just continuously dumps info about the desk's current whereabouts

And first of all, thanks for writing this :).

Merged! Good additions and fixes, thank you.


Update CHANGELOG for v6.2.3

Coverage remained the same at 99.47% when pulling fd3ed0667219529e505d09f83f02dc2aa8f48204 on update-changelog into 35fa739edbaa7d483f816a9d9455d5733803e2be on master.

Coverage remained the same at 99.47% when pulling fd3ed0667219529e505d09f83f02dc2aa8f48204 on update-changelog into 35fa739edbaa7d483f816a9d9455d5733803e2be on master.

Coverage remained the same at 99.47% when pulling fd3ed0667219529e505d09f83f02dc2aa8f48204 on update-changelog into 35fa739edbaa7d483f816a9d9455d5733803e2be on master.

Coverage remained the same at 99.47% when pulling fd3ed0667219529e505d09f83f02dc2aa8f48204 on update-changelog into 35fa739edbaa7d483f816a9d9455d5733803e2be on master.

Coverage remained the same at 99.47% when pulling fd3ed0667219529e505d09f83f02dc2aa8f48204 on update-changelog into 35fa739edbaa7d483f816a9d9455d5733803e2be on master.

Coverage remained the same at 99.47% when pulling fd3ed0667219529e505d09f83f02dc2aa8f48204 on update-changelog into 35fa739edbaa7d483f816a9d9455d5733803e2be on master.

Coverage remained the same at 99.47% when pulling fd3ed0667219529e505d09f83f02dc2aa8f48204 on update-changelog into 35fa739edbaa7d483f816a9d9455d5733803e2be on master.


Bug: Wrong Home page title

Describe the bug
The page title of the home page is completely unrelated to gamesphere. It shows as Filmlane while the website is related to games.
To Reproduce
Steps to reproduce the behavior:

Go to GameSphere
Click on Home
See error

Expected behavior
In an ideal case, the page title must include gamesphere and its icon as the data.
Screenshots

Desktop (please complete the following information):

OS: Windows
Browser: Chrome
Version [e.g. 22]

Smartphone (please complete the following information):

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

Connect Us On social media -

[X]  Star the repository
[X]  GitHub
[X]   LinkedIn
[X]   YouTube
[X]    Discord

Thank you for raising the issue in GameSpher 3.0

Thanks fir assigning @Durgesh4993

@Durgesh4993 pulled a request in #21


Solidity code syntax highlighting

Github solidity syntax: https://medium.com/@robertodev/solidity-and-github-42a3ca375618

Hey @ShubhamTatvamasi . Thanks for the contribution!


Change static Map fields in ReflectUtils to be concurrent

HashMap fields throw ConcurrentModificationException in Java 9+.
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

R: @reuvenlax to make sure we don't miss anything
LGTM, it's reproducible, for instance, in tests. I think as a general practice we should keep static caches concurrent.

Run Java PreCommit

lgtm


Recommending a new paper relevant to the "1.2 LLM as Feature Encoder" section

Hi Jianghao,
Thanks for your awesome repository and the excellent survey! I believe both of them will help many researchers gain insights into the latest LLM-related techniques and bring long-term benefits to the RS community.
I am happy to announce our paper, "MISSRec: Pre-training and Transferring Multi-modal Interest-aware Sequence Representation for Recommendation" (https://arxiv.org/abs/2308.11175), on ACM MM 2023. This paper is about integrating multi-modal information (using the pre-trained and frozen CLIP-ViT-B/32 model) into behavior sequence representation to support universal recommendation. The data and code are also available at https://github.com/gimpong/MM23-MISSRec.
If the paper falls within the scope of this repository, I would appreciate it if you considered including it in the paper list. :)
Kind regards,
Jinpeng

Hi Jinpeng,
Thanks for recognizing our work and efforts. Also big thanks for reminding me of such an awesome job on multi-modal recommendation. I have appended the paper in Section 1.6 pending list. Our new version of survey is upcoming probably next month. The paper will then be included in Section 1.2.
Please feel free to contact for any problems.
Best
Jianghao


Textile - incorrect highlighting multiple html tags in one line

Hi, syntax highlighting for multiple html tags in one line looks incorrect.
example:
summarydetails
screenshot

I try to replace HTML regex in handlePhraseModifier function:
/(:?\/)?(\w+)(?:[^>]+)?>(?:[^<]+<\/\1>)?/,
but textile tests failed, because with my regex codemirror wrapped each tag to span with cm-comment tag.
Please tell me this is the correct behavior, or not?

Firstly, I didn't write the textile mode so I'm not really sure what it's trying to do, but yeah, styling html tags as comments is apparently the expected behavior, so a patch that breaks that seems like it'd be broken.
The code appears to be trying to match an HTML expression with a single regexp, which is famously impossible, so I'm not sure how fixable this is without a new approach. I don't know enough about textile, nor do I have the time, to work on this, but if you figure something out I'd be happy with a pull request.


[full-ci]Enforce pass by default. changed api tests

related https://github.com/owncloud/ocis/issues/7682
Changed api tests. public link is password protected by default.
Note: protected linking is disabled for the webUi and e2e tests, as changes must be made to the web first

@saw-jan could you please have look litmus test? Maybe we can temporarily skip the public-share test and fix it in another PR?


Loosen pinned requirements

Do you want to update the changelog to be able to track the change?

Do you want to update the changelog to be able to track the change?

Yes, totally. Good point


Y axis missing on the graphs

Fixed by https://github.com/killbill/killbill-analytics-ui/pull/11.


[Event Request] - codeunit 333 "Req. Wksh.-Make Order" OnInitPurchOrderLineOnAfterValidateLineDiscount

Can we please get the following Event?
procedure InitPurchOrderLine(var PurchOrderLine: Record "Purchase Line"; PurchOrderHeader: Record "Purchase Header"; RequisitionLine: Record "Requisition Line")
begin
    with RequisitionLine do begin

        ...

        if PurchOrderHeader."Prices Including VAT" then
            PurchOrderLine.Validate("Direct Unit Cost", "Direct Unit Cost" * (1 + PurchOrderLine."VAT %" / 100))
        else
            PurchOrderLine.Validate("Direct Unit Cost", "Direct Unit Cost");
        OnInitPurchOrderLineOnBeforeValidateLineDiscount(PurchOrderLine, PurchOrderHeader, RequisitionLine);
        PurchOrderLine.Validate("Line Discount %", "Line Discount %");
        OnInitPurchOrderLineOnAfterValidateLineDiscount(PurchOrderLine, PurchOrderHeader, RequisitionLine);//NEW
        PurchOrderLine."Vendor Item No." := "Vendor Item No.";

       ...

    end;

    OnAfterInitPurchOrderLine(PurchOrderLine, RequisitionLine);
end;

[IntegrationEvent(false, false)]
local procedure OnInitPurchOrderLineOnAfterValidateLineDiscount(var PurchOrderLine: Record "Purchase Line"; PurchOrderHeader: Record "Purchase Header"; RequisitionLine: Record "Requisition Line")
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Azure-spring-data-cosmos doesn't support database-provisioned throughput

https://github.com/microsoft/spring-data-cosmosdb/issues/319

This has been fixed.


Image webhook doesnt have caption

Hi, thanks a lot for your hardwork on this project, i was tinkering with the webhooks and noticed that, the webhook payload doesnt have the caption of the image/video.
Would be great if you could take a look at this.

you can use ver >= https://github.com/aldinokemal/go-whatsapp-web-multidevice/releases/tag/v4.8.0


Removing dependency on astropy helpers

This PR removes the package dependency on astropy_helpers

This should all be working correctly now and closes #180 as well


Add search button to timeline

There should be a permanent search button to trigger a search for the visible items as in the map.

closed in 76425bae7a4c30a0c50c7dd432e5d6dffc230c2e


Cast boolean environment variables in README

I don't know what DCO is and how I can use it when I edited (like now) a file directly on GitHub...

Thanks for your contribution :)


[Question]:  I want to use variable value in call back function is there any way to pass a value or use a variable

What is your question?
I want to use variable value in call back function is there any way to pass a value or use a variable because it a static function and it does not allow me to use other variables

I don't think this is a question related to any of plus_plugins. Asking it over at StackOverflow would be more appropriate.


toml table to string/file?

Is your feature request related to a problem? Please describe.
I have a Problem. How can I convert a toml::table to string, so I can save it as file?
Describe the solution you'd like
a function dump() which returns the string to save it to a file or a direct function table.saveFile
Describe alternatives you've considered
Need to code a work around with for loops

This is already supported natively via overloaded ostream operators. In your case you can just write it directly to an instance of std::ofstream. See the Serializing as TOML and JSON example in the API docs.


qogir-theme: 2021-08-02 -> 2021-11-17

Motivation for this change
Update to version 2021-11-17
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 146425 run on x86_64-linux 1

1 package built:

qogir-theme


[Feature][Manager] Manager client tools support multiple tenant

Description

List resources by different tenant
List tenant info

The main idea of achive this ability is to add "tenant:{YOUR_TARGET_TEANT}" into the http request header.
The server will insert the tenant into the context and do all request under the tenant you specified.
Use case
No response
Are you willing to submit PR?

[X] Yes, I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Here can refer to https://github.com/apache/inlong/pull/8428.


Update index.mustache

Update the DMV link to the real DMV of Louisiana website and not DMV.org that is not official.

👍 Thanks!


feature: use sh for tests script shebang

Did you check the docs?

[X] I have read all the lazy.nvim docs

Is your feature request related to a problem? Please describe.
Is there any reason the tests script uses Bash instead of /bin/sh? If there are no Bashisms, then using /bin/sh instead of Bash is recommended because it is more portable.
Describe the solution you'd like
- #!/bin/env bash
+ #!/bin/sh

Describe alternatives you've considered
N/A
Additional context
No response

Does it matter?

I understand it's a trivial change, but if you want I could make a PR...

Actually, I realized this does matter. Most non-GNU systems don't come with Bash by default.


Update group element methods

This PR adds two new parameters (highest_dimension and conditional_field) to the following group methods:

group_add_group_elements
group_add_not_group_elements
group_remove_group_elements
group_remove_not_group_elements

highest_dimension allows the user to specify the highest dimension of the mesh to be used for the operation.
conditional_field allows the user to specify a condition-based subset of elements from other_group to be used for the operation. By default this parameter is None and the operation will use the entire set of elements from other_group.

@hsorby, @rchristie, could someone please check over this if you have some time. Let me know if the parameter descriptions make sense or if they could use some work.


Error 'failed to rename episode' for certain episodes in 20

Thank you for making Talecast. I was looking for something similar to castget yesterday. I searched on HN search, and found Talecast :)
When I try to download the 20VC podcast, the most recent 9 episodes download correctly. But the 10th most recent (at the time of writing) won't download.
This is the content of the .downloaded file:
1256765b-e7a2-41b3-b2f9-8bf393082cfa<PHONE_NUMBER> "20Product: How Linktree, Webflow and Airbnb Used Rituals and Product Principals to Guide Product Roadmap, Why All Product Teams Should Have a Scorecard and How to Use it & How to Run the Best "Product Jams" with JZ, CPO @ Linktree"
76ebe415-ea78-441f-8d3e-f74e367b6444<PHONE_NUMBER> "20VC: Fundraising Wisdom that is Total BS; Dilution, Meeting Associates, Taking the Highest Price, Always Be Raising | Why Second Time Founders Are More Investable & Why Not To Hire People Out of College with Dan Siroker, CEO @ Limitless"
fa63d829-3471-4e7f-b2c4-b269bf4fbfcb<PHONE_NUMBER> "20VC: Behind the Scenes at Y Combinator: The Interview Process | What the Best & Worst Do in the Program | Do the Best All Raise Pre-Demo Day & YC's Fundraising Advice to Startups | Why the Value is in Application Layer AI with Tom Blomfield"
97b27f2d-b818-48e8-8422-aac51c3c73f0<PHONE_NUMBER> "20Sales: How to Build Vertical Sales Teams, Why No Customer Success is BS and Everyone Needs it, How to Hire, Train and Retain the First Reps and Lessons Scaling to $2.1BN Revenue and 1,300 People with Larry Schurtz, CRO @ Genesys"
a4aa893d-423a-4686-9f64-9f7554ba6d54<PHONE_NUMBER> "20VC: GV's Tom Hulme on Why Investing in Foundation Models is like Investing in "Power Stations", The Conventional Wisdom in VC that is BS & Lessons from a 24x Angel Track Record, 255x on Robinhood and Making Billions on Uber"
ce55c0fb-5205-49b2-a3c3-d27b9d56f391<PHONE_NUMBER> "20VC: Benchmark's Sarah Tavel on Are Foundation Models Commoditising | Why Frontier Models Will Be Closed Source | Why the Value is in the Application Layer | The Future of AI is "Selling the Work" Not the Tools"
09cd3387-4443-4aea-80b2-ada9aa6880e8<PHONE_NUMBER> "20VC: The Memo: Keith Rabois and Ramp's Eric Glyman on Behind The Scenes at The Best Run Private Company on the Planet; The Tools, Tips, Secrets and Process That Drive Efficiency"
86f9b9b6-50e9-4116-9f2b-fe3899cfa04b<PHONE_NUMBER> "20VC: Mark Suster on The Biggest Fundraising Lessons for VCs, Why the Correction in Venture is Still to Come, Why Private Equity Will Replace IPOs and M&A as the Exit Path & The Woke Left and a Trump Administration; What Happens?"
6298c84d-d97c-411c-aefd-122100451451<PHONE_NUMBER> "20VC: Mistral's Arthur Mensch: Are Foundation Models Commoditising | How Do We Solve the Problem of Compute | Is There Value in the Application Layer | Open vs Closed: Who Wins and Mistral's Position"

The title of the next most recent episode (from the RSS file) is:
<title>20Growth: Inside Dropbox, Salesforce & Heroku's Product-Led Growth Engine; What Works & What Doesn't | Why Startups Doing Paid Under $100M ARR are not PLG | Why PLG is a Business Model, Not a Go-To-Market Motion with Adam Gross, Former CEO @ Vimeo</title>

I thought this might be due to some special character the code doesn't handle well, but there are other episodes with ampersands, pipes, semi-colons, dollar signs etc., that have downloaded just fine.

Hi, thank you so much for the detailed write-up! and I'm glad you find my program useful.
I identified the bug and ive published the fix, so if you update, it should work.
The problem was I sanitized the filename, then added the extension. So if the title was too long, sanitizing truncated it to 255 bytes, but then adding the extension caused it to go over the limit and the rename operation would fail.
hope itll work on your end, if you have any other feedback, please post it ^^

Thank you! It works!


Bump dcos-signal

High-level description
Bump dcos-signal
Corresponding DC/OS tickets (obligatory)
These DC/OS JIRA ticket(s) must be updated (ideally closed) in the moment this PR lands:

DCOS-50795

Related tickets (optional)
Other tickets related to this change:

DCOS_OSS- Foo the Bar so it stops Bazzing.

Checklist for all PRs

[ ] Added a comprehensible changelog entry to CHANGES.md or explain why this is not a user-facing change:
[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
[ ] Read the DC/OS contributing guidelines
[ ] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[ ] Change log from the last version integrated (this should be a link to commits for easy verification and review): https://github.com/dcos/dcos-signal/compare/8e23723638ce89d392758b6229671b6350a2f5d8..fcf41b8911b679657bdeaaec2575fdac7789d97f)
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

PLEASE FILL IN THE TEMPLATE ABOVE / DO NOT REMOVE ANY SECTIONS ABOVE THIS LINE
Instructions and review process
What is the review process and when will my changes land?
All PRs require 2 approvals using GitHub's pull request reviews.
Reviewers should be:

Developers who understand the code being modified.
Developers responsible for code that interacts with or depends on the code being modified.

It is best to proactively ask for 2 reviews by @mentioning the candidate reviewers in the PR comments area. The responsibility is on the developer submitting the PR to follow-up with reviewers and make sure a PR is reviewed in a timely manner. Once a PR has 2 ship-it's, no red reviews, and all tests are green it will be included in the next train.

@mesosphere-mergebot label Ready For Review
:wave: @drewvanstone @br-lewis @makkes  Can you review, please?

:wave: @drewvanstone @br-lewis @makkes  Can you review, please?


colnames lost during serialization (R)

Consider the the serialization of  xgb.DMatrix objects in R (package version 0.71.2) as in the example of the xgb.DMatrix.save function (I only added two calls to print()):
library(xgboost)
data(agaricus.train, package='xgboost')
train <- agaricus.train
dtrain <- xgb.DMatrix(train$data, label=train$label)
print(dtrain)
xgb.DMatrix.save(dtrain, 'xgb.DMatrix.data')
dtrain <- xgb.DMatrix('xgb.DMatrix.data')
print(dtrain)

As it is printed when you run this code, the xgb.DMatrix after creation has colnames, but the xgb.DMatrix after saving + loading has not, indicating that information was lost during the serialization process.
> library(xgboost)
> data(agaricus.train, package='xgboost')
> train <- agaricus.train
> dtrain <- xgb.DMatrix(train$data, label=train$label)
> print(dtrain)
xgb.DMatrix  dim: 6513 x 126  info: label  colnames: yes
> xgb.DMatrix.save(dtrain, 'xgb.DMatrix.data')
[1] TRUE
> dtrain <- xgb.DMatrix('xgb.DMatrix.data')
[12:38:30] 6513x126 matrix with 143286 entries loaded from xgb.DMatrix.data
> print(dtrain)
xgb.DMatrix  dim: 6513 x 126  info: label  colnames: no

please use https://discuss.xgboost.ai/ for general discussions


Handle starknet features from the rust test runner

Currently we directly use cairo repo test runner. We do not want to include starknet state and other starknet features into our test runner, thus we should remove them

Blocked by #1625

This seems to be not possible, because we need Dispatchers/importing from contract files

It cannot be removed, because we are using features from starknet. We should handle these somehow.
Ideas:

separate these as scarb package
throw meaningful errors when user uses these features


Error: cant use cd command

I want to use 'cd' command but it says 'Error: cannot use "cd" command in terminal.'

Yes, because when I wrote this code I could not figure out how to implement "cd".
I will look into it and possibly will add "cd" functionality into this Terminal.

Hello @arnav56745, I added the 'cd' command. Also, thanks for reminding me about this project. It's been a long time since I last worked on it.

@daniyalw Thank you


thanks forHow much graphics memory does fine-tuning approximately require for a graphics card?

I also encounter the same confusion. The GPU is A100-40G-PCIE but failed to start finetune scripts.


Correction for raw affiliation UMR ABSys, Institut Agro, Inra, Cirad, CIHEAM-IAMM, Univ Montpellier, Place Pierre Viala, 34060 Montpellier, France

Correction needed for raw affiliation UMR ABSys, Institut Agro, Inra, Cirad, CIHEAM-IAMM, Univ Montpellier, Place Pierre Viala, 34060 Montpellier, France
raw_affiliation_name: UMR ABSys, Institut Agro, Inra, Cirad, CIHEAM-IAMM, Univ Montpellier, Place Pierre Viala, 34060 Montpellier, France
new_rors: 05kpkpg04;04abkkz03;051escj72;03rnk6m14;0005r2j17;00n2c0309
previous_rors: 05kpkpg04;04abkkz03;051escj72;03rnk6m14;0005r2j17
works_examples: W3209976147
contact: 6bd7753d00729a9d7a8442e0df52ed35:3ba1c42051ff7765d1c11cc0602114528951 @ inrae.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-09. The new affiliations should be visible within the next 7 days.


cookbooks/bcpc-hadoop/libraries/hdfsdirectory.rb is not kerberised

We  currently pull in a very old webhdfs gem in https://github.com/bloomberg/chef-bach/blob/master/cookbooks/bach_repository/recipes/gems.rb#L43
After instantiating a client in https://github.com/bloomberg/chef-bach/blob/master/cookbooks/bcpc-hadoop/libraries/hdfsdirectory.rb#L97 we should optionally enable kerberos and provide a keytab as per https://github.com/kzk/webhdfs/blob/master/README.md
The directory resource is currently not capable of accepting user and keytab

'webhdfs (= 0.8.0)' requires 'addressable (>= 0)'


chore: bump lerna to 7.0.2, add @lerna/legacy-package-management

Which problem is this PR solving?
Currently, builds are failing as<EMAIL_ADDRESS>depends on<EMAIL_ADDRESS>but<EMAIL_ADDRESS>used by it does not, which causes an older version<EMAIL_ADDRESS>to be used.
The next version<EMAIL_ADDRESS>fixes this, but was published with<EMAIL_ADDRESS>which does not install the former package automatically to support lerna bootstrap, therefore<EMAIL_ADDRESS>it needs to be added as a devDependency.
Fixes #3894
Fixes #3925
Supersedes #3881
Short description of the changes
This PR bumps all lerna dependencies to 7.0.2 and adds<EMAIL_ADDRESS>as a devDependency in the top-level package.json
Type of change

[x] Bug fix
[x] Internal

How Has This Been Tested?

[x] ran npm install locally and verified that rimraf is at the correct version
[x] Verified that lerna scripts are still working

NB: It's @lerna/legacy-package-management v6.6.2 that didn't declare rimraf as it's dependency.
Thank you for figuring this out! I'm going to merge this to unblock other PRs.


Back to uberspace (refs #607)

That was a lot of hacking :laughing: IMHO the current status is:

[x] Some Bug Fixes, implemented pending tests and cleanup (#612, #594)
[x] Gem Updates, especially ActiveAdmin (from Git to the prerelease of 1.0.0) and Rails (to <IP_ADDRESS>)
[x] Make CodeClimate Reporting work and remove SimpleCov #586
[x] Removed the unused style guide and the according gems
[x] Region organizers are allowed to upload pictures, closes #612
[x] Deploy from Travis, removing the need for Codeship
[x] Make everything run on Uberspace, now staging (https://master.hacken.in) is on CodeShip, deployed by Travis with HTTPS via Let's Encrypt
[x] Remove memcached and dalli, as we don't use caching anyway
[ ] Setup Postgres Backup
[ ] Remove the Codeship Build
[ ] Make the Github Login work
[ ] Adjust The Pamphlet :tm:
[ ] Adjust the humans page

@bascht Is that right? Am I missing something? I'll look into the remaining todos during this week. Then I'll click through all the stuff on master.hacken.in, checking if everything works. Clean up the commits and merge. Then we can pull over production, too. @bitboxer asked us to give him a 24 hour notice for that.

@moonglum I'll have to sync that list with the one in #607 but yeah. Looks complete. :)

Will our recurring jobs still work? I see a "Migrate Shellycloud (Whenever) schedule.rb" task :smile:
How do we handle the staging database currently? Do we have something that pulls over the production database into staging?

Jobs: Not out of the box (therefore the to do entry)
Staging: That would be easier with cronjobs on uberspace. :)

Jobs: Added above!
Staging: Yep, that's what I was thinking :smile: Added above!


implement scaling based on runner demand

If GH apis will expose if runner is queued with a job or idle (as it is in the UI), scaling can properly implemented to satisfy demand within limits defined in the CR.

Blocking issue: https://github.com/actions/runner/issues/454

Hello! 👋
Thank you for creating this operator. It's going to help a lot!
I have a question: what's the current behavior?
Is there any scaling at all or should we set minReplicas and maxReplicas to the same value?

No scaling for the time being as the API needs to be updated as in the linked issue. If you set min==max it will create that number of runners.

Related: https://github.com/google/go-github/issues/1589

@iagomelanias Latest v0.3.0 now supports autoscaling! Please give it a spin.


Error Detection with unexpected labels: [CLS]and[SEP]

I use offlinemode, and
config_file = 'D:/deeplearning/Grounded-Segment-Anything-main/GroundingDINO/groundingdino/config/GroundingDINO_SwinT_OGC.py'  # change the path of the model config file
checkpoint_path = 'D:/deeplearning/Grounded-Segment-Anything-main/bert-base-uncased/groundingdino_swint_ogc.pth'  # change the path of the model
image_path = 'D:/deeplearning/Grounded-Segment-Anything-main/1.jpg'
text_prompt = 'chair'
output_dir = 'D:/deeplearning/Grounded-Segment-Anything-main/output'
like this, in inference_on_a_image.py. However, the output results seems random. New labels like [CLS][SEP] apprear.
出现了很多的乱码标签[CLS][SEP]经查似乎与bert有关，且每次结果都是随机的

Anyone have any ideas? Thanks

Hi,
See https://github.com/IDEA-Research/GroundingDINO/issues/321 for easy inference

yeah, I've deal with this successfully, but still wondering why did this happens? Seems like caused by an abusing of wrong pth?


make tests work on travis

Currently they fail because they depend on having access to firebase credentials that i don't want to commit to source code.

gotta do something with this stuff: https://docs.travis-ci.com/user/environment-variables/#Encrypted-Variables


Allow deployment repos to specify st2 configuration like st2.conf

st2.conf example: https://github.com/StackStorm/st2/blob/master/conf/st2.conf.sample

st2.conf is managed by Ansible.
Ideally, if we allow specifying the Ansible vars file by the user and passing that to the roles.
That will configure everything that Ansible roles can configure, starting from st2 version, st2.conf and settings, ending with the rbac, certificates, and chatops.
See: https://github.com/stackStorm/ansible-st2#variables


Potential bug in Needleman-Wunsch alignment

Hello,
I have tried to use align.NWAffine to align two random sequences:
package main

import (
    "fmt"
)

import (
    "github.com/biogo/biogo/align"
    "github.com/biogo/biogo/alphabet"
    "github.com/biogo/biogo/seq/linear"
)

// Make a new anonymous linear.Seq.
func NewAnonLinearSeq(s string) *linear.Seq {
    return &linear.Seq{Seq: alphabet.BytesToLetters([]byte(s))}
}

func main() {

    a := "GCTCACTAAAAACACAATCTACAACAGACGTTGCACTAACACTGTAATTGCCTTTAGTCC"
    b := "ACTGCGTA"

    nwsa := NewAnonLinearSeq(a)
    nwsa.Alpha = alphabet.DNAgapped
    nwsb := NewAnonLinearSeq(b)
    nwsb.Alpha = alphabet.DNAgapped

    needle := align.NWAffine{
        Matrix: align.Linear{
            {0, -1, -1, -1, -1},
            {-1, 1, -1, -1, -1},
            {-1, -1, 1, -1, -1},
            {-1, -1, -1, 1, -1},
            {-1, -1, -1, -1, 1},
        },
        GapOpen: -1,
    }

    aln, err := needle.Align(nwsa, nwsb)
    fmt.Println(aln, err)
}

When I run it I get a strange result with one of the scores being extremely low:
[[0,4)/-=-9223372036854775808 [4,7)/[0,3)=3 [7,32)/-=-26 [32,34)/[3,5)=2 [34,43)/-=-10 [43,46)/[5,8)=3 [46,60)/-=-15] <nil>

It looks like the i != j case at the end of back tracking is not correctly looking up the score. I can have a look at that in the next few days, but if you want to play with that a bit, I'll happily review a PR before then.

This fixes it. The last should have depended on which vector is residual and didn't.
diff --git a/align/nw_affine_letters.go b/align/nw_affine_letters.go
index 05c4e4a..04a3b1f 100644
--- a/align/nw_affine_letters.go
+++ b/align/nw_affine_letters.go
@@ -309,6 +309,14 @@ func (a NWAffine) alignLetters(rSeq, qSeq alphabet.Letters, alpha alphabet.Alpha
                score: score,
        })
        if i != j {
+               switch 0 {
+               case i:
+                       last = left
+               case j:
+                       last = up
+               default:
+                       panic(fmt.Sprintf("align: nw affine internal error: unexpected final segment: row: %d col: %d", i, j))
+               }
                aln = append(aln, &featPair{
                        a:     feature{start: 0, end: i},
                        b:     feature{start: 0, end: j},

I'll send a PR tomorrow.


fix(pageserver): drain upload queue before detaching ancestor

Problem
In INC-317 https://neondb.slack.com/archives/C033RQ5SPDH/p1730815677932209, we saw an interesting series of operations that would remove valid layer files existing in the layer map.

Timeline A starts compaction and generates an image layer Z but not uploading it yet.
Timeline B/C starts ancestor detaching (which should not affect timeline A)
The tenant gets restarted as part of the ancestor detaching process, without increasing the generation number.
Timeline A reloads, discovering the layer Z is a future layer, and schedules a deletion into the deletion queue. This means that the file will be deleted any time in the future.
Timeline A starts compaction and generates layer Z again, adding it to the layer map. Note that because we don't bump generation number during ancestor detach, it has the same filename + generation number as the original Z.
Timeline A deletes layer Z from s3 + disk, and now we have a dangling reference in the layer map, blocking all compaction/logical_size_calculation process.

Summary of changes

We wait until all layers to be uploaded before shutting down the tenants in FreezeFlush mode.
Ancestor detach restarts now use this mode.
Ancestor detach also waits for remote queue completion before starting the detaching process.
The patch ensures that we don't have any future image layer (or something similar) after restart, but not fixing the underlying problem around generation numbers.

Checklist before requesting a review

[x] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.
[ ] Do we need to implement analytics? if so did you add the relevant metrics to the dashboard?
[ ] If this PR requires public announcement, mark it with /release-notes label and add several sentences in this section.

Checklist before merging

[ ] Do not forget to reformat commit message to not include the above checklist

It would be nice to have a test for this I think.

@arpad-m I feel the exact scenario in the incident is hard to reproduce stably as it requires an ongoing but not finished compaction that creates an image layer to happen before detach ancestor. Therefore, I think asserting the queue is empty is a better way to do that -- unit tests will fail if the upload queue is not empty.

compaction on the same data should try to create the same files. But if it's too hard to create a regression test, let's just merge it as-is.

simplified the patch and ready for review :)

decided to add a flush-only mode to avoid flushing an extra L0 layer before shutdown

would be good if @arpad-m would like to take another look at the newly added commit...


Channel Constants are missing.

The Channel Constants seem to be missing from the Framework.
They ARE found in the choices dialog, which is a very weird place.
  public class Channels
        {
            public const string Facebook = "facebook";
            public const string Skype = "skype";
            public const string Msteams = "msteams";
            public const string Telegram = "telegram";
            public const string Kik = "kik";
            public const string Email = "email";
            public const string Slack = "slack";
            public const string Groupme = "groupme";
            public const string Sms = "sms";
            public const string Emulator = "emulator";
            public const string Directline = "directline";
            public const string Webchat = "webchat";
            public const string Console = "console";
            public const string Cortana = "cortana";
        }

addressed in #1005


invite_set_city_answer.py:23: Перенести классы в...

The puzzle 899-65ca1ce6 from #899 has to be resolved:
https://github.com/blablatdinov/quranbot-aiogram/blob/09501ab93db1439392aad3a717cfe1776e9d97ec/src/srv/prayers/invite_set_city_answer.py#L23-L23
The puzzle was created by Ilaletdinov Almaz on 09-Jun-24.
role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

All classes moved #899


offline_access yields invalid_scope with AllowOfflineAccess=true in ResourceOwnerPassword flow

I'm convinced I'm doing something stupid, so I hope someone can point it out to me.  From the documentation, I saw that refresh tokens were supported by ResourceOwnerPassword, hence choosing this flow for my instance.
Everything works fine until I try to request offline_access scope.  Before I post code, here is the request I'm issuing with the sensitive stuff removed, this was done from postman... copied as a curl request so that I can share it concisely:
curl -X POST
http:///connect/token
-H 'accept: application/json'
-H 'authorization: Basic cm9jbGllbnQ6bWFkZXVwc2VjcmV0'
-H 'cache-control: no-cache'
-H 'content-type: application/x-www-form-urlencoded'
-d 'grant_type=password&username=user&password=password&scope=api1%2Coffline_access&response_type=id_token'
Response
{"error":"invalid_scope"}
Now, the helpful stuff.
Client...
new Client
{
ClientName = "Resource owner Client",
ClientId = "roclient",
ClientSecrets = new List
{
new Secret("madeupsecret".Sha256())
},
                AllowedGrantTypes = GrantTypes.ResourceOwnerPassword,

                AllowedScopes =
                {
                    IdentityServerConstants.StandardScopes.OpenId,
                    IdentityServerConstants.StandardScopes.Profile,
                    //IdentityServerConstants.StandardScopes.OfflineAccess,
                    "api1"
                },

                AlwaysIncludeUserClaimsInIdToken = true,
                AllowOfflineAccess = true, //support refresh tokens
                AccessTokenLifetime = 86400,
                RequireConsent = false
            }

I should note, the offline access scope was tested enabled and disabled and made no difference.
Any suggestions?

check the logs.

Logs reveal nothing, but I'll post them...
Normal request for token (success)
2018-10-30 12:04:56.834 -04:00 [Information] You are using the in-memory version of the persisted grant store. This will store consent decisions, authorization codes, refresh and reference tokens in memory only. If you are using any of those features in production, you want to switch to a different store implementation.
2018-10-30 12:04:56.890 -04:00 [Debug] Using "idsrv" as default scheme for authentication
2018-10-30 12:04:56.891 -04:00 [Debug] Using "idsrv" as default scheme for sign-in
2018-10-30 12:04:56.891 -04:00 [Debug] Using "idsrv" as default scheme for sign-out
2018-10-30 12:04:56.891 -04:00 [Debug] Using "idsrv" as default scheme for challenge
2018-10-30 12:04:56.892 -04:00 [Debug] Using "idsrv" as default scheme for forbid
2018-10-30 12:04:57.677 -04:00 [Debug] CORS request made for path: "/connect/token" from origin: "chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop"
2018-10-30 12:04:57.685 -04:00 [Debug] AllowAll true, so origin: "chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop" is allowed
2018-10-30 12:04:57.685 -04:00 [Debug] CorsPolicyService allowed origin: "chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop"
2018-10-30 12:04:57.720 -04:00 [Debug] Request path "/connect/token" matched to endpoint type "Token"
2018-10-30 12:04:57.728 -04:00 [Debug] Endpoint enabled: "Token", successfully created handler: "IdentityServer4.Endpoints.TokenEndpoint"
2018-10-30 12:04:57.728 -04:00 [Information] Invoking IdentityServer endpoint: "IdentityServer4.Endpoints.TokenEndpoint" for "/connect/token"
2018-10-30 12:04:57.737 -04:00 [Debug] Start token request.
2018-10-30 12:04:57.743 -04:00 [Debug] Start client validation
2018-10-30 12:04:57.749 -04:00 [Debug] Start parsing Basic Authentication secret
2018-10-30 12:04:57.749 -04:00 [Debug] Parser found secret: "BasicAuthenticationSecretParser"
2018-10-30 12:04:57.749 -04:00 [Debug] Secret id found: "roclient"
2018-10-30 12:04:57.756 -04:00 [Debug] client configuration validation for client "roclient" succeeded.
2018-10-30 12:04:57.765 -04:00 [Debug] Secret validator success: "HashedSharedSecretValidator"
2018-10-30 12:04:57.766 -04:00 [Debug] Client validation success
2018-10-30 12:04:57.795 -04:00 [Debug] Start token request validation
2018-10-30 12:04:57.808 -04:00 [Debug] Start resource owner password token request validation
2018-10-30 12:04:58.665 -04:00 [Debug] Resource owner password token request validation success.
2018-10-30 12:04:58.739 -04:00 [Information] Token request validation success
"{
"ClientId": "roclient",
"ClientName": "Resource owner Client",
"GrantType": "password",
"Scopes": "api1",
"UserName": "APITestUser",
"Raw": {
"grant_type": "password",
"username": "APITestUser",
"password": "REDACTED",
"scope": "api1",
"response_type": "id_token token"
}
}"
2018-10-30 12:04:58.761 -04:00 [Debug] Getting claims for access token for client: "roclient"
2018-10-30 12:04:58.761 -04:00 [Debug] Getting claims for access token for subject: "APITestUser"
2018-10-30 12:04:58.992 -04:00 [Debug] Token request success.
Adding offline_access (failure) with and without comma separating scopes
2018-10-30 12:04:58.761 -04:00 [Debug] Getting claims for access token for client: "roclient"
2018-10-30 12:04:58.761 -04:00 [Debug] Getting claims for access token for subject: "APITestUser"
2018-10-30 12:04:58.992 -04:00 [Debug] Token request success.
2018-10-30 12:05:58.040 -04:00 [Debug] CORS request made for path: "/connect/token" from origin: "chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop"
2018-10-30 12:05:58.040 -04:00 [Debug] AllowAll true, so origin: "chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop" is allowed
2018-10-30 12:05:58.040 -04:00 [Debug] CorsPolicyService allowed origin: "chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop"
2018-10-30 12:05:58.041 -04:00 [Debug] Request path "/connect/token" matched to endpoint type "Token"
2018-10-30 12:05:58.041 -04:00 [Debug] Endpoint enabled: "Token", successfully created handler: "IdentityServer4.Endpoints.TokenEndpoint"
2018-10-30 12:05:58.041 -04:00 [Information] Invoking IdentityServer endpoint: "IdentityServer4.Endpoints.TokenEndpoint" for "/connect/token"
2018-10-30 12:05:58.041 -04:00 [Debug] Start token request.
2018-10-30 12:05:58.041 -04:00 [Debug] Start client validation
2018-10-30 12:05:58.041 -04:00 [Debug] Start parsing Basic Authentication secret
2018-10-30 12:05:58.041 -04:00 [Debug] Parser found secret: "BasicAuthenticationSecretParser"
2018-10-30 12:05:58.041 -04:00 [Debug] Secret id found: "roclient"
2018-10-30 12:05:58.042 -04:00 [Debug] client configuration validation for client "roclient" succeeded.
2018-10-30 12:05:58.042 -04:00 [Debug] Secret validator success: "HashedSharedSecretValidator"
2018-10-30 12:05:58.042 -04:00 [Debug] Client validation success
2018-10-30 12:05:58.042 -04:00 [Debug] Start token request validation
2018-10-30 12:05:58.043 -04:00 [Debug] Start resource owner password token request validation
2018-10-30 12:05:58.043 -04:00 [Error] offline_access is not allowed for this client: "roclient"
2018-10-30 12:05:58.048 -04:00 [Error] "{
"ClientId": "roclient",
"ClientName": "Resource owner Client",
"GrantType": "password",
"Raw": {
"grant_type": "password",
"username": "APITestUser",
"password": "REDACTED",
"scope": "api1 offline_access",
"response_type": "id_token token"
}
}"
2018-10-30 12:06:03.075 -04:00 [Debug] CORS request made for path: "/connect/token" from origin: "chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop"
2018-10-30 12:06:03.075 -04:00 [Debug] AllowAll true, so origin: "chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop" is allowed
2018-10-30 12:06:03.075 -04:00 [Debug] CorsPolicyService allowed origin: "chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop"
2018-10-30 12:06:03.076 -04:00 [Debug] Request path "/connect/token" matched to endpoint type "Token"
2018-10-30 12:06:03.076 -04:00 [Debug] Endpoint enabled: "Token", successfully created handler: "IdentityServer4.Endpoints.TokenEndpoint"
2018-10-30 12:06:03.076 -04:00 [Information] Invoking IdentityServer endpoint: "IdentityServer4.Endpoints.TokenEndpoint" for "/connect/token"
2018-10-30 12:06:03.076 -04:00 [Debug] Start token request.
2018-10-30 12:06:03.076 -04:00 [Debug] Start client validation
2018-10-30 12:06:03.076 -04:00 [Debug] Start parsing Basic Authentication secret
2018-10-30 12:06:03.076 -04:00 [Debug] Parser found secret: "BasicAuthenticationSecretParser"
2018-10-30 12:06:03.076 -04:00 [Debug] Secret id found: "roclient"
2018-10-30 12:06:03.076 -04:00 [Debug] client configuration validation for client "roclient" succeeded.
2018-10-30 12:06:03.076 -04:00 [Debug] Secret validator success: "HashedSharedSecretValidator"
2018-10-30 12:06:03.076 -04:00 [Debug] Client validation success
2018-10-30 12:06:03.076 -04:00 [Debug] Start token request validation
2018-10-30 12:06:03.076 -04:00 [Debug] Start resource owner password token request validation
2018-10-30 12:06:03.076 -04:00 [Error] offline_access is not allowed for this client: "roclient"
2018-10-30 12:06:03.076 -04:00 [Error] "{
"ClientId": "roclient",
"ClientName": "Resource owner Client",
"GrantType": "password",
"Raw": {
"grant_type": "password",
"username": "APITestUser",
"password": "REDACTED",
"scope": "api1, offline_access",
"response_type": "id_token token"
}
}"

Service Log for failures
fail: IdentityServer4.Validation.ScopeValidator[0]
offline_access is not allowed for this client: roclient
fail: IdentityServer4.Validation.TokenRequestValidator[0]
{
"ClientId": "roclient",
"ClientName": "Resource owner Client",
"GrantType": "password",
"Raw": {
"grant_type": "password",
"username": "APITestUser",
"password": "REDACTED",
"scope": "api1 offline_access",
"response_type": "id_token token"
}
}
fail: IdentityServer4.Validation.ScopeValidator[0]
offline_access is not allowed for this client: roclient
fail: IdentityServer4.Validation.TokenRequestValidator[0]
{
"ClientId": "roclient",
"ClientName": "Resource owner Client",
"GrantType": "password",
"Raw": {
"grant_type": "password",
"username": "APITestUser",
"password": "REDACTED",
"scope": "api1, offline_access",
"response_type": "id_token token"
}
}
Is there something special I need to do to add the offline_access scope to available scopes that isn't configured in the client?

Another interesting thing is that the profile and identity scopes work when added, however offline_access is still a bust.
2018-10-30 12:11:23.311 -04:00 [Debug] Start token request.
2018-10-30 12:11:23.311 -04:00 [Debug] Start client validation
2018-10-30 12:11:23.311 -04:00 [Debug] Start parsing Basic Authentication secret
2018-10-30 12:11:23.311 -04:00 [Debug] Parser found secret: "BasicAuthenticationSecretParser"
2018-10-30 12:11:23.311 -04:00 [Debug] Secret id found: "roclient"
2018-10-30 12:11:23.311 -04:00 [Debug] client configuration validation for client "roclient" succeeded.
2018-10-30 12:11:23.311 -04:00 [Debug] Secret validator success: "HashedSharedSecretValidator"
2018-10-30 12:11:23.311 -04:00 [Debug] Client validation success
2018-10-30 12:11:23.312 -04:00 [Debug] Start token request validation
2018-10-30 12:11:23.312 -04:00 [Debug] Start resource owner password token request validation
2018-10-30 12:11:23.319 -04:00 [Debug] Resource owner password token request validation success.
2018-10-30 12:11:23.319 -04:00 [Information] Token request validation success
"{
"ClientId": "roclient",
"ClientName": "Resource owner Client",
"GrantType": "password",
"Scopes": "api1",
"UserName": "APITestUser",
"Raw": {
"grant_type": "password",
"username": "APITestUser",
"password": "REDACTED",
"scope": "api1",
"response_type": "id_token, profile, identity"
}
}"
2018-10-30 12:11:23.319 -04:00 [Debug] Getting claims for access token for client: "roclient"
2018-10-30 12:11:23.319 -04:00 [Debug] Getting claims for access token for subject: "APITestUser"
2018-10-30 12:11:23.327 -04:00 [Debug] Token request success.

Just in case there is a version-specific issue I need to account for?

AllowOfflineAccess = true is what enabled refresh tokens.
Check the clients in our samples repo - they use that feature successfully.

according to oidc spec, it should just be returned as part of the token response?
I'm not sure what the client really has to do with it, but I thank you for taking a look.

@leastprivilege ,
Found the issue.  This may be useful to others, we were initially using AddCookieAuthentication().  Once I commented it out in startup, everything worked as it should have.
A quick search revealed I'm not the only one to make this mistake, although most questions didn't involve refresh tokens.
Thanks for your time, hope my struggle is useful to others.


[SPARK-26023][SQL] Dumping truncated plans and generated code to a file

What changes were proposed in this pull request?
In the PR, I propose new method for debugging queries by dumping info about their execution to a file. It saves logical, optimized and physical plan similar to the explain() method + generated code. One of the advantages of the method over explain is it does not materializes full output as one string in memory which can cause OOMs.
How was this patch tested?
Added a few tests to QueryExecutionSuite to check positive and negative scenarios.

Can one of the admins verify this patch?

The is #22429 without the maxFields parameter.

Can one of the admins verify this patch?

Test build #98742 has started for PR 23018 at commit 090e8c2.

Test build #98742 has finished for PR 23018 at commit 090e8c2.

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

Merged build finished. Test PASSed.

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

Test build #98763 has started for PR 23018 at commit cdc6cab.

Test build #98763 has finished for PR 23018 at commit cdc6cab.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

retest this please

Test build #98771 has started for PR 23018 at commit cdc6cab.

Test build #98771 has finished for PR 23018 at commit cdc6cab.

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

Merged build finished. Test PASSed.

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

Merging to master. Thanks!


Resolve #303, change CRD version from v1beta1 to v1

…om/traefik/traefik-helm-chart/issues/303

Sorry it isn't working please revert this PR. See my comment: https://github.com/traefik/traefik-helm-chart/issues/303#issuecomment-752764723
@SantoDE


chore: Start using a new test harness interface without generics

What ❔

Start using the new version of the 1.4.2 test harness, that doesn't export generics

Why ❔

This should improve the compilation speed.

@mm-zk I'd say this is not a chore but a feat. Would want to see this in changelog

@RomanBrodetski - done, PTAL


Extractions and requests met with "Too Many Requests" (HTTP 429) should be reattempted, instead of skipped.

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm requesting a feature unrelated to a specific site
[X] I've looked through the README
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
As seen in gallery-dl issue #4910, any HTTP 429 error gets treated as an extraction failure, and gives up trying to extract it again. The same program automatically handles such errors, and waits until the rate limit resets. yt-dlp however, does not.
yt-dlp should treat these errors in either two ways:

Return an Error object (perhaps something similar to this?)
Automatically wait until the rate limit resets, or keep trying until a 429 error is not returned

Provide verbose output that clearly demonstrates the problem

[ ] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[ ] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
No response

This needs to be handled on a per-extractor basis, IMO. Some sites may abuse http error 429 (e.g. Youtube) and there is no actual rate-limit; your IP is just blocked.
Other sites, e.g. Soundcloud, could use a RetryManager to deal with 429s when an actual rate-limit has been exceeded. POC: 9c2e409e0b688888e8e3a8f4320408441d385fe3

Also wanted to add that some sites do provide a time and date for when the rate limit resets


Add Cat Facts

What does this project do?
This adds the ruby library cat_facts, a rack middleware that adds random cat facts as a HTTP header to every response.
Why is that entertaining?
You never feed me.
Perhaps I’ll sleep on your face.
That will sure show you.
How hard did you laugh? Was it just a silent giggle or was it full blown laughing and howling and screaming "OH MY GOD! EVERYONE! OH MY GOD! THIS IS THE FUNNIEST THING EVER! YOU'VE GOT TO SEE THIS!!!"
It's my own lib and I'm always the one that laughs loudest about my jokes, sooo 😬

Let's face it, without cats, there would be no internet.


Mockup Hukamanama View

Some things to think about when making this:
How they user can access this: Will this be a home screen option?  Something in navigation drawer?
Options to show in settings menu?
Related to #74

Nothing to mock here...
Dynamic Hukamnamas will show up in bookmarks, they can be subscribed to in a separate area (resolution of which can be made as a new issue, but we're not there anyways, no need yet)
No need for separate stylings


[Q] How to change colors in atom termination terminal.

xxx@xxx:~/.atom/packages/termination/styles$
Please help me to do it.
I want to change color for path line in terminal.
Similar function to platformio-ide-terminal.
Regards

I had the same question, and you're the only person I found online who was asking for this.  I couldn't find any answers, so I set about working it out and eventually found the following steps to be successful. I use the Homebrew theme.
This worked on MacOS:

Open Atom settings for Termination, then click 'View Code' (alternatively, navigate to ~/.atom/packages/termination).
From here, navigate to folder /styles/themes/homebrew.less.
Edit line 3 and 10 from rgb(41, 254, 20); to rgb(nnn, nnn, nnn); where nnn is the RGB value of the colour you wish to choose.
Restart Atom.

The above was enough on my MacOS, but did not work on my Windows 10, so I had to do the steps above and then:

Navigate to folder /lib/themes/homebrew.coffee.
Edit line 13 from red: #xxxxxx to red: '#yyyyyy' where yyyyyy is the HEX colour code that you would like your text to be.  Make sure the # doesn't get missed.
Restart Atom.

Let me know how this works out for you, @pisulski.
PS Easy RGB to Hex Converter: https://duckduckgo.com/?q=rgb+to+hex&ia=answer

What? Just use terminus which is a fork/clone of platformio

The solution is never to actually edit any source files, any such edits are unsupported and will be lost on next update, the solution is always to use style.less in Atom, the same as described in the projects readme https://github.com/bus-stop/Termination#themes

Thank you, this is very useful advice.
I have successfully added the code which overrides the /styles/themes/homebrew.less settings. I will update the original post to reflect this way of doing things.
Still, I can't work out how to override the /lib/themes/homebrew.coffee setting which is needed to make the colour change work in Windows 10 - any advice you have on this would be really welcome!

Idk if termination refreshes the styles automatically, you may need to close any open terminals and reopen to see the change,
I dont use termination but I know it works in terminus/x-terminal just fine

Styles are refreshed automatically, but sometimes some old bits are left behind so it's usually cleanest to just close and reopen the terminals.

Styles are refreshed automatically, but sometimes some old bits are left behind so it's usually cleanest to just close and reopen the terminals.


java.lang.NoClassDefFoundError: com/google/crypto/tink/aead/AeadParameters

Help us help you
We'd like to know more about
your Tink deployment.
Describe the bug:
I am trying to use the example https://github.com/tink-crypto/tink-java-gcpkms/blob/main/examples/envelopeaead/EnvelopeAeadExample.java but after adding all the dependencies it is showing following error:
Error: Unable to initialize main class org.example.EnvelopeAeadExample
Caused by: java.lang.NoClassDefFoundError: com/google/crypto/tink/aead/AeadParameters

What was the expected behavior?
It should run the example without any issues
How can we reproduce the bug?
Just compile and run the code and you should be able to reproduce this very easily.
Do you have any debugging information?
java -cp target/classes org.example.EnvelopeAeadExample
Error: Unable to initialize main class org.example.EnvelopeAeadExample
Caused by: java.lang.NoClassDefFoundError: com/google/crypto/tink/aead/AeadParameters

What version of Tink are you using?
1.13.0
Can you tell us more about your development environment?
java --version
openjdk <IP_ADDRESS> 2022-08-18
OpenJDK Runtime Environment (build <IP_ADDRESS>+1-1)
OpenJDK 64-Bit Server VM (build <IP_ADDRESS>+1-1, mixed mode, sharing)
Is there anything else you'd like to add?
Provide any additional context about the problem.

Hi manishjindal, how did you compile the example? Could you please provide the complete command you've used for javac with classpaths? Also please note that the class is envelopeaead.EnvelopeAeadExample

Following is project structure:
├── pom.xml
├── src
│   └── main
│       └── java
│           └── envelopeaead
│               └── EnvelopeAeadExample.java
└── target
    ├── classes
    │   └── envelopeaead
    │       └── EnvelopeAeadExample.class
    ├── encrypt-file-1.0-SNAPSHOT.jar
    ├── generated-sources
    │   └── annotations
    ├── maven-archiver
    │   └── pom.properties
    └── maven-status
        └── maven-compiler-plugin
            └── compile
                └── default-compile
                    ├── createdFiles.lst
                    └── inputFiles.lst

and following are the content of my pom.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>your-group-id</groupId>
    <artifactId>encrypt-file</artifactId>
    <version>1.0-SNAPSHOT</version>

    <properties>
        <java.version>11</java.version>
    </properties>

<dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>com.google.cloud</groupId>
      <artifactId>libraries-bom</artifactId>
      <version>26.39.0</version>
      <type>pom</type>
      <scope>import</scope>
    </dependency>
  </dependencies>
</dependencyManagement>

<dependencies>
  <dependency>
    <groupId>com.google.cloud</groupId>
    <artifactId>google-cloud-kms</artifactId>
  </dependency>

 <dependency>
            <groupId>com.google.cloud</groupId>
            <artifactId>google-cloud-storage</artifactId>
        </dependency>
  <dependency>
  <groupId>com.google.crypto.tink</groupId>
  <artifactId>tink</artifactId>
  <version>LATEST</version>
</dependency>

<dependency>
  <groupId>com.google.crypto.tink</groupId>
  <artifactId>tink-gcpkms</artifactId>
  <version>LATEST</version>
</dependency>

    </dependencies>

        <build>
        <sourceDirectory>src/main/java</sourceDirectory>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.8.1</version>
                <configuration>
                    <source>${java.version}</source>
                    <target>${java.version}</target>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>

And I am using following command to compile the code:
mvn clean install

And using following command to run :
java -cp target/classes envelopeaead.EnvelopeAeadExample
Error: Unable to initialize main class envelopeaead.EnvelopeAeadExample
Caused by: java.lang.NoClassDefFoundError: com/google/crypto/tink/aead/AeadParameters

I think you should use mvn exec:java to run the example given that the dependencies are handled with Maven. I'd recommend trying something like this.


[Feature] Refactor with React Router

We should use React Router to navigate between pages, this will make the development of future features simpler.
Related features: #640 #519 #138

Nextjs comes with routing functionality and should not use React Router

This will make significant changes to the current code and may affect most of the current PR

@AprilNEA
I prefer to treat this project as a SPA app, and disable most of SSR rendering.

SPA can also be implemented by routing, using Next.js's layout.ts and .


Include pages with WRITECOPY in SigScan

This modifies the function SigScan so that it does not skip memory regions that have copy-on-write set. Fixes issue when running the game on Linux.
Closes #4

Thank you, I will have a closer look tomorrow. I assume this has been tested with several of my mods on Proton or likewise?

I tried CameraFix, PauseTheGame, SkipTheIntro and UnlockTheFps. They all seem to work just fine.

Seems to not break anything on Windows. I don't have a Linux machine to test with so I'm gonna take your word for it.
Thank you for looking into it and fixing it! I always knew the fix would be something simple like this.

Thank you.


Add profile

I decided to use path, for profile, as pointed in FRONTEND_INSTRUCTIONS.md
If you are not ok with this, please revert second commit

No worries. You are right, I am just referring to another framework implementation for the path.


bug-UI(opportunities page - sliders): sliders have an outline [Edge]

The sliders on the opportunities page have a outline on them in Edge

No longer see an outline, Closing ticket.


Removed hardcoded navigator

🎯 Goal
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.
The goal of this pull request is to restructure the code by moving the Compose Navigator to a ViewModel. This change is being made to make Composables independent of concrete dependencies, thereby improving scalability. This pull request addresses the need for a more modular and maintainable architecture in the codebase.
🛠 Implementation details
Describe the implementation details for this Pull Request.
In this pull request, the implementation details involve reorganizing the code to separate the Compose Navigator from concrete dependencies and placing it within a ViewModel. This change allows for greater flexibility and independence of Composables. It involves moving relevant functions, dependencies, and logic into the ViewModel. The Composables can now interact with the ViewModel instead of concrete dependencies.
✍ Explain examples
Explain examples with code for this updates.
@HiltViewModel
class WhatsAppMessagesViewModel @Inject constructor(
  private val chatClient: ChatClient,
  private val composeNavigator: AppComposeNavigator,
  savedStateHandle: SavedStateHandle
) : ViewModel() {
  private val messageMutableUiState =
    MutableStateFlow<WhatsAppMessageUiState>(WhatsAppMessageUiState.Loading)
  val messageUiSate: StateFlow<WhatsAppMessageUiState> = messageMutableUiState

  private val channelId = savedStateHandle.get<String>("channelId")

  init {
    if (channelId != null) {
      fetchChannel(channelId = channelId)
    }
  }

  fun handleEvents(whatsAppMessageEvent: WhatsAppMessageEvent) {
    when (whatsAppMessageEvent) {
      is WhatsAppMessageEvent.NavigateUp -> composeNavigator.navigateUp()
    }
  }

Preparing a pull request for review
Ensure your change is properly formatted by running:
I have run the provided formatting command to ensure the changes are correctly formatted:
$ ./gradlew spotlessApply

Please correct any failures before requesting a review.

Hi @skydoves
I've made a small contribution to this project . Would you please review when you have sometime?
Thanks,
Ranbir Singh


2 add unit tests

Minor changes, which show how automated unit tests can be added to the project.
There are some mechanical structural changes that should be made soon and which I will not attempt:

rename the main source file to "world_weather.py" so it is importable

move all helpers to top level so they're accessible to tests
--JH

Update world-weather.py
I see that you have moved the get_user_location to the top, however in the meantime I merged a pull request from another user. We decided that it would be beneficial to get rid of gecoder module and use what's already there, so module request is used instead. He also worked on better error handling.

The proposed edits do not appear to be compatible with the current project direction. Closing as WONTFIX.

moved all helpers to the top
renamed world-weather.py to world_weather.py
Implement more error handling by adding get_response_code function.
if you could please look at the changes and maybe write some test example now ?


Script with filter by license ($acctSKU="") isn't workin.

If user have enable additional license with pack, script is not apply.
$acctSKU="<AccountSkuId>"
$AllLicensed = Get-MsolUser -All | Where {$.isLicensed -eq $true -and $.licenses[0].AccountSku.SkuPartNumber -eq ($acctSKU).Substring($acctSKU.IndexOf(":")+1, $acctSKU.Length-$acctSKU.IndexOf(":")-1)}
$AllLicensed | ForEach {Set-MsolUserLicense -UserPrincipalName $_.UserPrincipalName -LicenseOptions $LO}
If use $LO filter for one user, no issue.

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

ID: add5965d-008c-f030-45df-653ce3e9a1b3
Version Independent ID: 6646ad46-d40d-fee3-5ca1-3272d3b3e4fb
Content: Disable access to services with Office 365 PowerShell
Content Source: Enterprise/powershell/disable-access-to-services-with-office-365-powershell.md
Service: o365-administration
GitHub Login: @JoeDavies-MSFT
Microsoft Alias: josephd

@OlegKP I have removed the section with the code block until it can be rewritten to support multiple licenses. Time frame is to be determined. Sorry for the inconvenience.

The line to get all licensed users fails if a user has several licenses assigned, and the license with the relevant $acctSKU is not in $_.licenses[0].
This modification of worked for me.
$acctSKU=""
$AllLicensed = Get-MsolUser -All | Where-Object {$.isLicensed -eq $true} | Where-Object { foreach ($license in $.licenses) {$license.AccountSku.SkuPartNumber -eq ($acctSKU).Substring($acctSKU.IndexOf(":")+1, $acctSKU.Length-$acctSKU.IndexOf(":")-1)}}
$AllLicensed | ForEach {Set-MsolUserLicense -UserPrincipalName $_.UserPrincipalName -LicenseOptions $LO}


BlockDeviceDeployer detach volume logic

Fixes https://clusterhq.atlassian.net/browse/FLOC-1593
Separating detach from unmount means it's necessary to know a little more than "does this node have a manifestation" vs "is this dataset unmanifest".  An attached volume without a mounted filesystem appears as an unmanifest dataset.  I could have solved this by reflecting more detail about the state of a dataset/volume/filesystem in manifestations but I figured that had a high probability of breaking something.  So instead this change comes with a new NodeState.devices attribute which BlockDeviceDeployer.discover_state populates with device file information about volumes it discovers from its IBlockDeviceAPI provider.

Make sure you cover all cases, but looks good to proceed.

Looks good. Merge forward and get the UUID stuff sorted out, then merge if buildbot is green.


Place 500 error page design to the new grid & add to Zeplin

Applying to all devices

3 screens uploaded to Zeplin for desktop, tablet, & mobile
Text styles are updated
Image logotype symbols are updated
Error image is uploaded to Github (2 versions: 1x & 2x) under develop branch > sitemedia > img named as "500-error-1x.jpg" and "500-error-2x.jpg" (confirmed with Nick on starting the filename with a number)


Fix code coverage upload

Pull Request Test Coverage Report for Build 107647

0 of 0   changed or added relevant lines in 0 files are covered.
1316 unchanged lines in 167 files lost coverage.
Overall coverage decreased (-1.5%) to 77.909%

Files with Coverage Reduction
New Missed Lines
%

/libraries/Adapters/Microsoft.Bot.Builder.Adapters.Facebook/FacebookAdapterOptions.cs
1
86.67%

/libraries/integration/Microsoft.Bot.Builder.Integration.ApplicationInsights.Core/ApplicationBuilderExtensions.cs
1
71.43%

/libraries/Microsoft.Bot.Builder.AI.LUIS/LuisApplication.cs
1
96.36%

/libraries/Microsoft.Bot.Builder.AI.LUIS/V3/LuisApplication.cs
1
96.43%

/libraries/Microsoft.Bot.Builder.AI.LUIS/V3/LuisUtil.cs
1
96.35%

/libraries/Microsoft.Bot.Builder/BotStateSet.cs
1
85.0%

/libraries/Microsoft.Bot.Builder.Dialogs/Debugging/DebugSupport.cs
1
75.0%

/libraries/Microsoft.Bot.Builder.Dialogs/Debugging/SourceRange.cs
1
46.15%

/libraries/Microsoft.Bot.Builder.Dialogs.Declarative/DeclarativeType.cs
1
71.43%

/libraries/Microsoft.Bot.Builder.Dialogs/Prompts/PromptCultureModels.cs
1
97.53%

Totals

Change from base Build 107428:
-1.5%

Covered Lines:
21234

Relevant Lines:
27255

💛  - Coveralls

:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.AI.Luis.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.AI.QnA.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.ApplicationInsights.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Azure.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Dialogs.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Integration.ApplicationInsights.Core.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Integration.AspNet.Core.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.TemplateManager.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Testing.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Configuration.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Connector.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Schema.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Streaming.dll compared against version 4.6.3


Updated rest-client dependency to ~> 1.8.0

This is to fix https://nvd.nist.gov/vuln/detail/CVE-2015-1820 found in rest-client versions before 1.8.0

This change pulls native extensions. I will close the PR


UI layout - threadmark button & next previous.

Hi,
So far I've rolled this threadmark addon to http://forums.sufficientvelocity.com and it has had a great reception.
I'm considering extending adding a Next and Previous button on each post with a threadmark.
From here; http://forums.sufficientvelocity.com/posts/2726004/ one of my users has mentioned the closeness of the threadmark button and the 'go to first unread' button makes it easy to confuse on a mobile device or when operated by memory.
Do you have any thoughts about where a next/previous button could live? And how to move the threadmark button itself so it is more mobile friendly?
The actual code-backend of the next/previous button is underway, and I'm just tidying it up a bunch before it will be ready for a PR.

Glad it has been well received on your site. Some very useful feedback and bug reports in that thread.
Threadmarks button position
I don't think it should move. Threadmarks are part of the thread navigation and belong with the pagination links. This may sound a little harsh, but if somebody's fingers are too fat to tap that button, how do they accurately tap the individual page links which are much smaller?
One option is to the put the threadmarks menu after the Go to First Unread button. That way the unread button's position is consistent.
Next/previous button
Nice idea. Positioning the links somewhere near the bottom of the threadmarked post would be best. Once a user finishes reading the post, having the next/previous links nearby would be most convenient.
Next to the Like and Reply links perhaps?

My current thoughts on the next/previous button is;

A previous button appears if no more thread marks are in the thread.
A next button appears if there are more thread marks in the thread.

To allow loading of only the thread marks which land on the page, this implies the thread knows the first and last threadmarks (much like it does post).
This means the UI can just add the buttons depending on if the threadmark post_id matches the first/last of the thread. The link would be to an action for that post (next/previous threadmark), this allows the redirection logic to stay in XF and means each threadmark doesn't need to explicitly know it's neighbour for each marked post.
The actual redirect to the correct ThreadMark would occur in actionNextThreadmark()/actionPreviousThreadMark() actions.
Doing some prototyping on the queries, I've noticed some poor behaviour when linking from threadmarsk -> xf_post to sorting based on thread_id & position. I was seeing the number of rows being touched being the same as the number of posts between threadmarks.
With a couple threads hitting +30000 posts on SV, and more on http://forums.spacebattles.com this performance characteristic needs to be avoided. (I'm also planning on rolling this addon out to SpaceBattles)
As such, moving thread mark positional information into the threadmark table means most of the threadmark queries do not need to touch the xf_post table.
So in summary;

2 new fields on the xf_thread table (first+last threadmark)
1 new field on threadmarks (position)
1 index on thread_id + position on threadmarks.

This will allow:

per-page loading of threadmarks without needing to fetch the first & last threadmark
threadmarks do not need to keep pointers to each other, or the entire set load into an array
Cost of finding the next/previous threadmark is only paid when asking for it.
Avoids touching the xf_post table to scan for the next post.

A optionaly "Next/previous button" will be a nice feature to let users less scroll up and down and faster go (and find) the next relevant position in a thread.
I will love to see this feature in future in your add-on. :)
But - please take also a look at board performance... ;)


Enable data preview, filter logic, and download for MATS data

Definition of Ready

[x] Does this meet the INVEST criteria?
[x] Does this have a clearly defined user?
[x] Does this have an estimate?
[x] Does this have acceptance criteria?
[x] Does this have sufficient context for the specific functionality being developed (design, business rules, etc.)
[x] Does this have a dev link been provided in the design?
[x] Is this traceable to a feature, epic, or PI?

User Story
As a custom data download user I want to preview MATS data so that I view my customized dataset
Acceptance Criteria
Filter Logic
Given that a user has selected Mats Data
When the functionality is displayed
Then the user is required to apply filter criteria for time period first
AND the optional filters are greyed out until time period criteria is applied
Given that a user has selected mats data
When filter criteria is applied for time period
Then the system displays a spinner until the filter logic is engaged
Given that the filter logic is engaged
When filter panel functionality is displayed
Then non applicable selections are removed from the combo box
AND grayed out from the check list
Given that the filter logic is engaged
When filter criteria is applied
Then the optional filters are narrowed based on the applied criteria
Given that the filter logic is engaged
When any filter criteria is removed (ex filter tags, filters)
Then the filters are narrowed based on the applied criteria
Given that a user has selected a time period where data is not available (dev environment)
When the  time period criteria is applied
Then the system will display the following message: "Data is not available for the selected  time period . Enter a new  time period "
And require the user to apply a new  time period
Given that the filter logic is engaged
When new filter criteria is applied for  time period
Then the system will display the warning message: Changing the  time period will clear out previously selected criteria. Do you want to proceed?
AND if the user choses to proceed then all previously selected criteria are cleared
AND the time period is updated
Given that the filter logic is engaged
When new filter criteria is applied for  time period
Then the system will display the warning message: Changing the  time period will clear out previously selected criteria. Do you want to proceed?
AND if the user choses to cancel then all previously selected criteria are maintained
Given that the filter logic is engaged
When the  time period filter tag is cleared
Then the system will display the warning message: Removing  time period will clear out previously selected criteria. Do you want to proceed?
AND if the user choses to proceed then all previously selected criteria are cleared
and all the optional filters are greyed out until  time period criteria is applied
Given that the filer logic is engaged
When the the checklist functionality is displayed
Then the user can not select or apply filter criteria for greyed out items
Given that the filter logic is engaged
When the "select all" functionality is selected on the checklist component
Then the system selects criteria that is not greyed out
Given that the filter logic is engaged
When the checklist functionality is displayed
Then the select all functionality is disabled for groupings that only contain greyed out criteria
**Data Preview / Download **
Given that a user has applied criteria for time period
When the functionality is displayed
Then the preview data functionality is enabled
Given a user has selected time period (as a minimum)
When the user selects the Preview Data button
Then system returns results that correspond to the filter criteria (for all filter criteria)
And The data labels are consistent with the Master Data Dictionary

Given that a user has selected preview data
When the functionality is displayed
Then the system will display the dataset's total record count
Given that a user has previewed their dataset
When the data preview functionality is displayed
Then it includes the option to select a CSV or JSON file type (CSV is the default) and download
Given that a user has selected a file type
When the download is executed
Then the system creates a file in the format specified containing all records that match the parameters and downloads the file
Given that a user has downloaded their dataset
When the functionality is displayed
Then the system display the preview of the downloaded results.
Given that a user has applied filter criteria and has previewed their dataset
When any filter criteria is cleared
Then the system clears the criteria from the filter AND the download functionality is disabled until the dataset is previewed again
Development Notes

Enable filter logic for all mats filters
enable data preview for mats data
enable download for mats data
display streaming download alert on the data preview

Does this Story require 508 Testing?

[ ] Implementing a new authoring tool that will produce code / content for the application
[ ] Implementing a 3rd party widget that will be part of the application
[ ] Adding new / updating custom functionality
[ ] Adding new / updating a page template
[ ] Adding new / replacing existing functionality (unless the replacement has already passed 508 testing)
[ ] Full Site Review prior to a scheduled EPA 508 review
[ ] Planning a video that will appear on the application
[ ] Producing a video that will appear on the application
[ ] Producing Training materials
[ ] Producing documents

Context
(User journeys, design mockups, architectural diagrams, business rules, data element definitions)
Master Data Dictionary

**Data Preview / Results **
Trigger: A user has entered, at a minimum, the required parameters, and selected the option to preview data.
For each record that matches the criteria, the system will display in a tabular format:
Results will display total record count (Viewing the first 100 of X records)
Results in preview are limited to the first 100 records
Results in preview will have a scroll functionality to show all columns/rows
Results columns are are sortable in ascending and descending order (alphanumeric order) . Sort is limited to the original 100 results
Results
When the system identifies at least one record that matches the criteria, then for each record the system will display the data below and ordered by: facilityId > unitId > date > hour
The data labels will adhere to the Master Data Dictionary.
stateCode
facilityName
facilityId
unitId
date
hour
opTime
matsGrossLoad
matsHeatInput
hgOutputRate
hgInputRate
hgMass
hgMassMeasureFlg
hclOutputRate
hclInputRate
hclMass
hclMassMeasureFlg
hfOutputRate
hfInputRate
hfMass
hfMassMeasureFlg
associatedStacks
steamLoad
primaryFuelInfo
secondaryFuelInfo
unitType
so2ControlInfo
noxControlInfo
pmControlInfo
hgControlInfo
Testing
Test Case: TC627
Tester: @JanellC
Definition of Done

[ ] Have all Acceptance Criteria been agreed to and validated by the scrum team?
[ ] Has the code been unit tested and peer reviewed?
[ ] Have the functional tests been executed?
[ ] Have all defects been reviewed and dispositioned, resolved, or deferred?
[ ] Is the user story ready to be deployed to the test/staging environments?

TC627 failed. Logged the bugs below to track the issues @tlageman-epa
Bug: Hourly Emissions/ Mats Data Operating hours filter tag #2741
Bug: MATS filter logic working improperly #2740

This ticket is ready for 508 testing @aprematta


[docs] adding updated info after optional_top_level_keys bug fix..

to @jacknagz
cc @airbnb/streamalert-maintainers
size: small
changes

Adding updated info about new usage of optional_top_level_keys related to changes in #167.

This is good, can you also add documentation updates on log_patterns? we still have hints listed in this same doc

@jacknagz  not in this PR. I will do that separately.

@jacknagz PTAL added log_pattern updates

@jacknagz @jacknagz @jacknagz @jacknagz @jacknagz  PTAL added changes


Upgrade to Spring 6.0.0

@jimma thanks for update, we need to wait for Spring Boot 3 sadly, the 3.0.0-RC2 is not compatible with Spring Framework 6.0.0 (the tests are failing)

FYI, we may go directly to 6.0.1 [1], the due date is tomorrow
[1] https://github.com/spring-projects/spring-framework/milestone/309

FYI, we may go directly to 6.0.1 [1], the due date is tomorrow
[1] https://github.com/spring-projects/spring-framework/milestone/309

Yes. Let's try with 6.0.1 to see if these failures are fixed.  Thanks @reta. I'll close this PR.


Feature request: quote syntax.

Hi
Can you add quote syntax to expand s-expression to data?
Now I'm trying to use lispyscript with gulp.
Gulp have api like this.
    gulp.task("taskname", function() { doSometing(); })

I'd like to use this api like this using macro.
    (deftask taskname
        (doSomething))

But I can't found the way to convert taskname to "taskname" in macro.
I propose more general solution that implement quote.
I want to use quote syntax like this:
   (quote taskname)

Expand to js like
   "taskname"

Then I can define macro like:
(macro (name rest...)
  (gulp.task (quote ~name) (function () ~rest...)))

I agree that this would be a useful feature. you could also do macros like this, if you also had some kind of itterator syntax for the homoiconic values
(macro constructor (rest...)
(function ((#args-loop rest... x (quote ~x)))
(#args-loop rest... x (set (quote ~x this ~x))))