In-app marketing settings for Sales Pro

According to the requirements table, this feature is available to Sales Professional.
Yet, the article is asking the user to go to Sales Hub which is not allowed for Sales Pro

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

ID: e77cb6aa-ddfc-6756-960b-1b18af3181fc
Version Independent ID: e77cb6aa-ddfc-6756-960b-1b18af3181fc
Content: Configure in-app marketing settings
Content Source: ce/sales/configure-inapp-marketing.md
Service: dynamics-365-sales
GitHub Login: @lavanyakr01
Microsoft Alias: lavanyakr

Thanks for your comment, @JMCA2. This issue has been assigned to the doc author for review.

Hi @JMCA2
Thanks for letting us know about this. You're right that the doc doesn't cover the instructions for Sales Professional users. Please try the following steps:

From the Sales Professional app, go to Settings > Advanced Settings.
From the Settings app, select Administration >  System Settings.
Select the Marketing tab and configure the settings as required.
I'll update the doc as well with these instructions. Hope this helps

Hi @JMCA2
I've updated the doc as well. Closing this issue. If you have further questions, please feel free to reopen this issue.
Thanks!


An error was encountered while handling the remote login, POST requests are not supported,  No candidates found for the request path '/signin-oidc'

when i login to admin ui after user is authorized i got following log
Note:
Issue happens only when running on docker using ngnix
<<<-------------------------------------------------------->>>
AuthenticationScheme: Cookies signed in.
[15:14:59 INF] Request finished HTTP/1.0 POST http://{ip}/signin-oidc application/x-www-form-urlencoded 590 - 302 0 - 540.6799ms
[15:14:59 DBG] Connection id "0HMHS0NA62L58" disconnecting.
[15:14:59 DBG] Connection id "0HMHS0NA62L58" stopped.
[15:14:59 DBG] Connection id "0HMHS0NA62L58" sending FIN because: "The Socket transport's send loop completed gracefully."
[15:15:01 DBG] Connection id "0HMHS0NA62L59" accepted.
[15:15:01 DBG] Connection id "0HMHS0NA62L59" started.
[15:15:01 INF] Request starting HTTP/1.0 GET http://{ip}/signin-oidc - -
[15:15:01 DBG] The request path /signin-oidc does not match a supported file type
[15:15:01 DBG] No candidates found for the request path '/signin-oidc'
[15:15:01 DBG] Request did not match any endpoints
[15:15:01 WRN] .AspNetCore.Correlation. state property not found.
[15:15:01 INF] Error from RemoteAuthentication: Correlation failed..
[15:15:01 ERR] An unhandled exception has occurred while executing the request.
System.Exception: An error was encountered while handling the remote login.
---> System.Exception: Correlation failed.
--- End of inner exception stack trace ---
at Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler`1.HandleRequestAsync()
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)
at NWebsec.AspNetCore.Middleware.Middleware.CspMiddleware.Invoke(HttpContext context)
at NWebsec.AspNetCore.Middleware.Middleware.MiddlewareBase.Invoke(HttpContext context)
at NWebsec.AspNetCore.Middleware.Middleware.MiddlewareBase.Invoke(HttpContext context)
at NWebsec.AspNetCore.Middleware.Middleware.MiddlewareBase.Invoke(HttpContext context)
at NWebsec.AspNetCore.Middleware.Middleware.MiddlewareBase.Invoke(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
[15:15:01 INF] Request finished HTTP/1.0 GET http://{ip}/signin-oidc - - - 500 - text/html;+charset=utf-8 38.5731ms
[15:15:01 DBG] Connection id "0HMHS0NA62L59" disconnecting.
[15:15:01 DBG] Connection id "0HMHS0NA62L59" stopped.
[15:15:01 DBG] Connection id "0HMHS0NA62L59" sending FIN because: "The Socket transport's send loop completed gracefully."

Important update
This organization is not maintained anymore besides critical security bugfixes (if feasible). This organization will be archived when .NET Core 3.1 end of support is reached (3rd Dec 2022). All new development is happening in the new Duende Software organization.
The new Duende IdentityServer comes with a commercial license but is free for dev/testing/personal projects and companies or individuals making less than 1M USD gross annnual revenue. Please get in touch with us if you have any question.


(PUP-11131) Honor explicitly configured "purge_ssh_keys: false"

this makes an explicitly configured "purge_ssh_keys: false" in type
"user" bypass the whole purging mechanism as expected

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thank you for your contribution @Lightning-!
Installed puppet 7.8.0 as a gem, reproduced the issue:
# gem install --no-document puppet
...
# puppet apply -e "user { 'bob': ensure => present, purge_ssh_keys => false }"
Notice: Compiled catalog for xxx in environment production in 0.02 seconds
Warning: /Stage[main]/Main/User[bob]: Ssh_authorized_key type is not available. Cannot purge SSH keys.
Notice: /Stage[main]/Main/User[bob]/ensure: created
Notice: Applied catalog in 0.08 seconds

I applied the patch and verified the warning is only shown if purge_ssh_keys => true:
# curl -sO https://patch-diff.githubusercontent.com/raw/puppetlabs/puppet/pull/8667.diff
# patch -p2 -d /var/lib/gems/2.5.0/gems/puppet-7.8.0/lib < 8667.diff
patching file puppet/type/user.rb
# puppet apply -e "user { 'bob': ensure => present }"
Notice: Compiled catalog for xxx in environment production in 0.01 seconds
Notice: Applied catalog in 0.01 seconds
# puppet apply -e "user { 'bob': ensure => present, purge_ssh_keys => false }"
Notice: Compiled catalog for xxx in environment production in 0.01 seconds
Notice: Applied catalog in 0.01 seconds
# puppet apply -e "user { 'bob': ensure => present, purge_ssh_keys => true }"
Notice: Compiled catalog for xxx in environment production in 0.01 seconds
Warning: /Stage[main]/Main/User[bob]: Ssh_authorized_key type is not available. Cannot purge SSH keys.
Notice: Applied catalog in 0.01 seconds


Wicket 6930 websocket improvements

This PR adds some extra functionality to WS implementation. Not sure if this can be done in a cleaner way or a more general one. This adds.

Allows to avoid sending "empty" web socket push messages (i.e. no components or scripts are added to it). The use case is user starts a background task and component listening for it are no longer in page. Thus events still go through a page but nothing is added to them.
The pageClass is added as a variable to WS page related key. Use case? You want to deliver to a class of pages... or you want to start a task and leave a page, or open a new page and still receive events..
I modified the examples to illustrate this.

@martin-g Not very sure about the pageCLass I have introduced. Maybe call this "context"? i.e. page class is just a. context?

@martin-g many thanks for your comments! I will go through them right now

About the new pageClass attribute:

PageIdKey is no more accurate name, since it is not just the id anymore. But renaming it would be an API break
What is someone wants to do the same with a resource based WebSocket behavior ?

Good point. This is why I thought about context. Maybe call this context and move this to a common Ikey?

IMO we should move this logic at IKey level. And if we can avoid class loading it would be better, but I am not sure how exactly to do it yet!

Ok. I will give it a try.

@martin-g I have moved context to IKey. See
https://github.com/apache/wicket/pull/479/commits/74bea3b3cf62ccf640a5d9e1e40b3eae359d32f2

@martin-g Many thanks for review and useful comments! I will squash commits and merge to wicket 9.x.

And cherry-pick the final commit to master please!

And cherry-pick the final commit to master please!

Done! Thanks again for your help!


update cryptography package and snowflake connector

resolves #2896
Description
Version update for snowflake-connector-python to support fixed version of cryptography library.
Checklist

[ ] I have signed the CLA
[x] I have run this code in development and it appears to resolve the stated issue
[x] This PR includes tests, or tests are not required/relevant for this PR
[x] I have updated the CHANGELOG.md and added information about my change to the "dbt next" section.

Thanks for this @plotneishestvo! The only blocker here is the CLA. Is that something you'll be able to sign?

@jtcohen6 I'm not sure, I'm currently working with our legal team to figure out what kind of policies we have in the company regarding contributing to open-source projects and who is able to sign an agreement. It can take a couple of days

It can take a couple of days

Okay, a couple of days is fine. I am hoping to have a beta or release candidate by the end of the week. Thanks for looking into it!

thanks for this @plotneishestvo!

Thank you @jtcohen6  too!

Thanks @plotneishestvo just run into this issue.

Looks like this has been merged but I'm still getting the issue. Which version of DBT contains the fix?

@jraede this will go out with the v0.19.0 release when it is published. There should a release candidate (v0.19.0rc1) available soon that will include this as well.


[SILProfiler] Don't crash when coverage info for lazy getters is inco…

…mplete
ASTWalker visits a lazy_initializer_expr once within its associated
var_decl (by way of the parent nominal type). However, SILGen visits the
lazy_initializer_expr while inside of the var_decl's getter. The result
is that there is no coverage mapping information for the contents of the
lazy init within the getter's SILProfiler.
Fixing this will require reworking how profile counters are assigned to
be more in line with what SILGen needs.
As a stop-gap, this patch prevents SILGen from asserting that coverage
mappings are complete with a defensive check which prevents a crash seen
in SR-8429.
rdar://42792053

@swift-ci smoke test


v1.7: PDF export not working

From #476 by @code4578:

Thanks for the amazing work which is much cooler and easier.
I am also facing the same issue. I am unable to export to pdf from Power BI Service. The pdf is just blank.
Thank you for your support

@code4578, thanks again for reaching out and reporting the issue. Can you please provide the following details so that I can investigate:

.pbix containing the affected visual. Ideally, this should be a minimal reproducible example with public data so that I can find the root cause as soon as possible. All development and support I do on Deneb is done in my free time and for free, so a direct reproducible issue helps me to dedicate my time to fixing and getting this deployed to users faster rather than finding.

This section on the support page is also useful for reporting bugs and can help expedite this.

If you cannot provide a reproducible example that can be shared publicly, you are welcome to send me the .pbix privately, and I can sign an NDA if required.

I am now on 1.7, have published a report containing comments in my JSON and can successfully generate a PDF, so I'm confident that this issue is resolved.  @code4578: can you please confirm for your end?

Now I can confirm that the "Export to PDF" option is working with JSON comments on PowerBI service (with 1.7). Now that we have the comments feature, it is easier to work with colleagues, giving them ideas, on what these fields/specs are for. Thanks so much for looking into this @dm-p


visualization for independent operator

Visualize for:
VRF, RR, datafeed
Let's keep it simple by using google sheets + some simple charts
Automatic update once per day

Closing for now.


Branch is undefined

Hello! Thanks for the great action. I've noticed that when I check in the Zeit Dashboard, the branch name is undefined that caused the deployment. Am I potentially missing something, or is this just not being set?
My setup:
      - name: Zeit Now Deployment
        uses<EMAIL_ADDRESS>        with:
          zeit-token: ${{ secrets.ZEIT_TOKEN }}
          now-org-id: ${{ secrets.ORG_ID }}
          now-project-id: ${{ secrets.PROJECT_ID }}
          now-args: '--prod'

Everything deploys correctly, but you can see in the deployments page that the commit message is there, but no branch name

Then when you click into the deployment, you'll again see the missing branch name that leads you to tree/undefined which will obviously 404 on github.

Looking at it, my naive thought is that there is a missing key here:
https://github.com/amondnet/now-deployment/blob/1defb913612fc8d5369537fd690a3943dcceb1a9/index.js#L80-L104
However, I'm unable to quickly find it in the Zeit Deployment api docs.

@ckipp01
I think githubCommitRef needs to be added.
Can you tell me if branch is displayed after setting like below?
      - name: Zeit Now Deployment
        uses<EMAIL_ADDRESS>        with:
          zeit-token: ${{ secrets.ZEIT_TOKEN }}
          now-org-id: ${{ secrets.ORG_ID }}
          now-project-id: ${{ secrets.PROJECT_ID }}
          now-args: '--prod -m githubCommitRef=YOUR_BRANCH' #-m githubCommitRef=YOUR_BRANCH

Just tested. 👍 the branch appears when that is filled in.

@ckipp01 Thank you. I will fix it in the next release(v2.0.2).


Moderators aren't saved during on-boarding or in settings

Tested in Linux (remote) and Windows (local). Delete your db and start with a fresh node. Moderators fail to be saved in the Store tab, irrespective of whether they're added during on-boarding or in settings.

The data is being sent to the settings API correctly, but it doesn't appear that the backend is saving it. I think this is a server issue.

This issue was fixed by Chris, but it required me to blow my database away.


add codecov

Current coverage is 100% (diff: 100%)

No coverage report found for master at 220ae1a.

Powered by Codecov. Last update 220ae1a...f7acd87


Format protocol dates using dd/mm/yyyy

What was wrong?
The dates are following the slightly unusual (to anyone outside of the USA) date format of mm/dd/yyyy.
How was it fixed?
Changed that to dd/mm/yyyy, but perhaps the yyyy-mm-dd ISO format would be more appropriate?
(Please double check the actual dates)

Codecov Report

Merging #257 (59867b4) into master (dd4e7a5) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #257   +/-   ##
=======================================
  Coverage   95.27%   95.27%
=======================================
  Files          18       18
  Lines        1122     1122
=======================================
  Hits         1069     1069
  Misses         53       53

Flag
Coverage Δ

unittests
95.27% <ø> (ø)

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

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dd4e7a5...59867b4. Read the comment docs.

Closing because https://github.com/ethereum/eth1.0-specs/pull/258 was merged instead.


Thaumcraft going open-source?

Will ever any versions of Thaumcraft(5,4,6) be open-source?

No, but somebody else is continuing development with Azanor.

Cofh team got the source for continuing the development. I just hope they could fix all the issues, and finish the mod for the 1.12


DBeaver crashes trying to display large multipolygon

System information:

openSUSE Leap 15.0
DBeaver version 6.2.2, 6.2.1

Connection specification:

PstgreSQL 10, PostGIS 2.5.2
JDBC
No

Describe the problem you're observing:
When viewing table with a huge polygon in it after clicking Spatial tab to view it on map DBeaver crashes. Smaller polygons and other geometries do not crash program. I believe couple of months ago everything worked fine.
Steps to reproduce, if exist:
Create a spatial table and insert a polygon with a huge amount of points in it. See this sql.
After that go to the table tab and click "Spatial" view -> DBeaver crashes.
Include any warning/errors/backtraces from the logs

Crash log is here.

Unfortunately I can't reproduce this. SQL script fails with error
SQL Error [XX000]: ERROR: can not mix dimensionality in a geometry   Hint: "...46, 35.237589 56.033435, 35.237707 56" <-- parse error at position 13472 within geometry   Position: 43
Could you make a database dump?

Looked deeper into the issue and it seems that not the polygon itself is the issue, but a presence of an array record in the other column. If an array column is removed from the table DBeaver does not crash and display the polygon.
Here is the dump.

I believe it is the same error as in #6949
It was fixed in 6.2.3, could you please test it?

I confirm that the issue is gone with the version 6.2.3.


Added Filtering limitations to ComboBox control

Due to receiving 2 Incidents about the Filtering behavior, we need to mention this in public docs

I re-created this change as an internal change
https://github.com/MicrosoftDocs/powerapps-docs/pull/5194


Async speech long running audio processing op throws a CancellationException

Environment details

OS: macOS Catalina ver 10.15.4
Java version: 1.8.0_152
speech version(s): tried com.google.cloud BOM versions 4.20 and then 5.7.0 (latest)

Steps to reproduce

Uploaded a FLAC encoded audio file of length ~1.5 hrs to a GCS bucket
Ran an async long running speech to text operation against the above file
Eventually this completes with a java.util.concurrent.CancellationException
I've also seen reports of this happening with audio greater than 20 minutes in length, that are shorter, i.e. throws the CancellationException.  Appears to work fine with audio files 20 minutes or less.
This all seems well within the recommended quota limits for async ops which is ~480 minutes, so in theory the calls should succeed.

Code example
try (SpeechClient speechClient = SpeechClient.create()) {

	final RecognitionConfig config = RecognitionConfig.newBuilder()
		.setModel(model)
		.setEncoding(RecognitionConfig.AudioEncoding.FLAC)
		.setLanguageCode(languageCode)
		.setAudioChannelCount(audioChannelCount)
		.setEnableWordTimeOffsets(true)
		.build();

	final RecognitionAudio audio = RecognitionAudio.newBuilder()
		.setUri(gcsUri)
		.build();

	// Performs speech recognition on the audio file
	final OperationFuture<LongRunningRecognizeResponse,
		LongRunningRecognizeMetadata> response = speechClient
			.longRunningRecognizeAsync(config, audio);

	// Check for done response, and wait a little if not
	while (!response.isDone()) {
		Thread.sleep(1000);
	}

	List<SpeechRecognitionResult> results = response.get(900,
		TimeUnit.SECONDS).getResultsList();

Stack trace
error.message	Task was cancelled.
java.util.concurrent.CancellationException: Task was cancelled.,
at
com.google.common.util.concurrent.AbstractFuture.cancellationExceptionWithCause(AbstractFuture.java:1377),
at
com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:551),
at
com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:408),
at
com.google.common.util.concurrent.FluentFuture$TrustedFuture.get(FluentFuture.java:93),
at
com.google.common.util.concurrent.ForwardingFuture.get(ForwardingFuture.java:68),
at
com.google.api.gax.longrunning.OperationFutureImpl.get(OperationFutureImpl.java:133)

@davidsonpaul could you please try below settings ?
SpeechSettings.Builder settings = SpeechSettings.newBuilder();
settings
       .longRunningRecognizeSettings()
       .getRetrySettings()
       .toBuilder()
       .setTotalTimeout(Duration.ofMinutes(45));

SpeechClient speechClient = SpeechClient.create(settings.build());

@pmakani thanks, I tried that but am still getting the CancellationException as before for the affected audio content :(

I saw a similar issue with CancellationExceptions after five minutes, using google-cloud-speech:1.24.0 (the latest). The following seems to be working around the issue for me, but I don't fully understand the implications:
SpeechSettings.Builder speechSettingsBuilder = SpeechSettings.newBuilder();
TimedRetryAlgorithm timedRetryAlgorithm = OperationTimedPollAlgorithm.create(
		// These values are copied from com.google.cloud.speech.v1.stub.SpeechStubSettings...
		RetrySettings.newBuilder()
				.setInitialRetryDelay(Duration.ofMillis(500L))
				.setRetryDelayMultiplier(1.5)
				.setMaxRetryDelay(Duration.ofMillis(5000L))
				.setInitialRpcTimeout(Duration.ZERO) // ignored
				.setRpcTimeoutMultiplier(1.0) // ignored
				.setMaxRpcTimeout(Duration.ZERO) // ignored
				.setTotalTimeout(Duration.ofMillis(86400000L))	// ... and this is the value we are overriding
				.build());
speechSettingsBuilder.longRunningRecognizeOperationSettings()
		.setPollingAlgorithm(timedRetryAlgorithm);
SpeechSettings speechSettings = speechSettingsBuilder.build();

I copied the timeout value from an older version that had been working for me, google-cloud-speech:0.56.0-beta.

It seems these values were changed in oct 2019
https://github.com/googleapis/java-speech/pull/26

I traced the origin of this change a bit further through the code generation process.
The OperationTimedPollAlgorithm settings are populated in this template:
https://github.com/googleapis/gapic-generator/blob/master/src/main/resources/com/google/api/codegen/java/stub_settings.snip
In this commit, the gapic configs changed so that total_poll_timeout_millis was no longer provided explicitly: https://github.com/googleapis/googleapis/commit/9dc1d37b6b9e9581c8ab56c6b2d3b49ff3eeb254
As a result, it looks like the template is populated with the default value set here: https://github.com/googleapis/gapic-generator/blob/master/src/main/java/com/google/api/codegen/config/LongRunningConfig.java#L39
It's hard to guess whether this was intentional, given all of the levels of indirection at play.

@chingor13 Hi, what was the final solution for this issue? Can you please suggest what to do when the audio duration is random (user-uploaded audio files)?


PX4Accelerometer/PX4Gyroscope discard duplicate consecutive samples

This is a quick workaround to catch any potentially misbehaving drivers. Ideally we should only be doing this on a per driver basis if it makes sense in that case.

I haven't exhausted compared all boards + drivers, but so far I've seen.

Bosch bmi088 sensor_gyro publishing at ~ 1000 Hz instead of 1250 Hz (modalai and durandal)
NXP fxas21002c sensor_gyro publishing decreased 795 Hz -> 780 Hz
lsm303d sensor_accel publishing decreased slightly

IMUs using FIFOs don't go through this path.

On second thought I'll just use this to identify problematic drivers and fix them directly.

I'll keep this as a reminder to fix the bmi055 and bmi088 before release.

Bosch BMI055 & BMI088 fix in https://github.com/PX4/Firmware/pull/14872.


Reconciliation

Goal
Create a template for municipalities to show the reconciliation between the statement of net position governmental activities total and the balance sheet for governmental funds.
Background

At a high level, the governmental activities column of the government-wide Statement of Net Position (first full tab on the template Excel document) and the Governmental Funds Balance Sheet (not yet in our template) are showing us the same information: the deficit or surplus for government-type activities for the year (Ie. money in minus money out).
BUT, the Statement of Net Position uses an accounting basis called full accrual, and the Balance Sheet uses a basis called modified accrual. You don't really need to know the particulars here, but the main difference is that only the Statement of Net Position will include long-term assets (like land) and long-term obligations/debts (like pension payouts). If you want to read more, here is a comparison table, and this textbook chapter has an even more thorough explanation.
For example, compare the $44,879,735 at the bottom of the first column for Clayton's Statement of Net Position (page 33 here) to the Total Fund Balance total of $17,172,907 on the Governmental Funds Balance Sheet (page 40 here)
The reconciliation table (page 42 here) goes through each difference line item by line item until it fully accounts for the difference between Total Fund Balances - Governmental Funds ($17,172,907) and Net Position of Governmental Activities ($44,879,735).

Tasks

We want to create a pretty general template, so look through examples of these tables in the ACFRs in this folder and any others you want to look up online (they're all publicly accessible).
I've created a a branch to correspond to this issue (10-reconciliation), so you can clone this repo, checkout the 10-reconciliation branch and edit the Excel sheet (static/ACFR_template.xlsx).
Create a new tab in the Excel sheet and follow the existing formatting to create a general table (only the yellow cells will be editable by the user). You can create section headers (ex. CAPITAL ASSETS) based on the headers you see in the example ACFRs.
The net position at the bottom should sum up the fund balance and all subsequent line item adjustments. If possible, it would be great to implement conditional formatting so that it turns red if it does not equal the total net position for governmental activities in the Statement of Net Position and green if it is equal.

Just upgraded your write permissions -- let me know if you still have issues. I can take a look at your draft when you push.
To unlock the label dropdowns, you can click on Format > Unprotect Sheet. If it helps, you can assume that everything under that ASSETS header on the balance sheet will be current assets. It's weird naming, but "current" in this setting means short-term and "noncurrent" means long-term. The balance sheet uses modified accrual, so it almost exclusively reports short-term ("current") assets and liabilities.
I'm not sure if you're starting to think about a template for the Balance Sheet, but I wanted to flag that the xbrl tags are going to be a little different than the ones already in the "Label Dropdowns" because of the modified accrual basis. (For example, acfr:CashAndCashEquivalents on the Statement of Net Position is instead acfr:CashAndCashEquivalentsModifiedAccrual on the balance sheet). We can talk more about this tomorrow.

This is a great first draft of the Balance Sheet! I thought you would start with the reconciliation tables, so I'm sorry for not giving you more guidance on the Balance Sheet format. I've outlined some tweaks to better fit the expected xbrl format.
When you make these changes, please push to the 10-reconciliation branch. I'm trying to reserve main for reviewed content because it links to the web app.
Some minor edits (mostly XBRL/formatting quirks):

The scope should be Governmental Funds rather than Government-Wide
The column names you added are Clayton's specific governmental funds, but we want to add flexibility for municipalities to add their own funds. You can just copy the column names from the GovFund Stmt of Rev Exp and Chg tab (rows 6 and 7)
Make the total column (column I) gray and lock it (Format > Lock cell) so the user can't directly edit it
Make sure there are ~10 rows in each section (some municipalities will have a bunch of line items). You can hide some of these extra rows (see the Statement of Net Position tab).
B35 should be Total fund balances

Slightly more involved edits:

In column A where you've left "acfr:" as placeholders, you can look up the right xbrl tag by using the Flint ACFR as an example. If you scroll to page 28, you can click on the numbers in the relevant rows to see the tag. (Ex. Total Assets has tag acfr:AssetsModifiedAccrual)
Annoyingly, the xbrl tags are all slightly different from the tabs in the Label Dropdowns (which correspond to Statement of Net Position). Most of them have "ModifiedAccrual" at the end of the tag, but the taxonomy isn't consistent enough to just systematically add ModifiedAccrual to the end of the Statement of Net Position tag. You'll need to create a new tab with a look-up table for these tags. More on that once you've had a chance to finish the other edits...

Feel free to message me on Slack or comment here if anything is unclear!

Thanks I will work on it this weekend and see how it goes!

@kwheelan I tried the reconciliation table too could we go over it tomorrow, please? specifically not sure how to pull in the actual $ values from some other sheet(?)

todo:

pull in fund balance from balance sheet
sum it
make column D with modified accrual at end. Then compare it to list of XBRL:Item names from GovernmentalFunds tab in https://docs.google.com/spreadsheets/d/18LhDW7fYq5cQaqxheBgqMBNHYAvxyOfO/edit#gid=812073765

@kwheelan in col J of label dropdown tab I figured out the list of labels with 'ModifiedAccrual' that exist in Governmental Fund tab in the Taxonomy spreadsheet. I only copied the names where 'Substitution Group' is marked xbrli:item.
Do you think you could have a quick look at the balance sheet, consolidation sheet, and also the filtered label markdown (col J). If col J looks good I can remove the cols I used to do the filtering and just keep the values of col J somewhere. Thank you.

Thanks for your work on this! The Reconciliation Sheet and Balance Sheet look perfect. For the Label Dropdowns, you can actually keep column H rather than column J. We want the xbrl tag to match the name in column B (which it does in column H).
Before you delete your extra columns, could you also identify any non-abstract tags that exist under modified accrual (column J) but not under full accrual (column C). Basically, you would identify any tags in the taxonomy that are not in column C of the Label Dropdowns. So:

Column E can be limited to just xbrl:item tags under the first section of GovernmentalFunds tab of the taxonomy spreadsheet. This is just rows 3-334 under the 300000 - Statement - Governmental Funds Balance Sheet, Other Funds (Unclassified) header. All rows after this section are duplicative or irrelevant, so taking just the first ~330 rows will make your life a little easier than dealing with the full 2000+ tags. (I'm sorry I didn't mention this sooner).
Columns F and J might change after you add the new column E values.
Look for any values in column F that are not in column C.
If you find any values in F but not C, they can become new rows in column H under row 522. Don't worry about filling in the other columns for these new rows.

@kwheelan I just pushed again with col E limited to that tab.
Regarding 3. I thought what we wanted to do was find out which labels (which we got by just appending 'ModifiedAcrrual' appear on the Taxonomy spreadsheet?
Either way it would be great if we could go through this during our mtg tmrw! Thank you.

@kwheelan I added the check for whether values in col F also exist in col D (the other direction).
Also, can I remove the item names I copied from taxonomy spreadsheet that don't have 'ModifiedAccrual' at the end? I highlighted them here:

Great! Yes, you can remove the highlighted items without "ModifiedAccrual" (they're category names). You can also remove anything with the word "Abstract" in it.
Please add these items you found that are in the taxonomy but don't have a full accrual version beneath the matched tags in column H. You can also add their corresponding labels in column B (the labels are in the Label column in the taxonomy). I will add the right categories in column A after you push.
Then, can you update the formulas in column A of the balance sheet to grab the modified accrual tags in the look up table? Right now, it pulls from column C in Label Dropdowns, but we want it to instead pull the correct tags from the column you just made with ModifiedAccrual tags (now in column H).
Let me know if you have any questions and/or let me know when you push your changes.

@kwheelan Thanks. Just to confirm, when you say
Please add these items you found that are in the taxonomy but don't have a full accrual version beneath the matched tags in column H.

do you mean any row in column I marked as 'Exists', its corresponding cell in column F can be added to column H?
So for example I2 is 'exists' so I can copy the value in F2, "acfr:CashCheckingModifiedAccrual" can be added to column H?

Yes -- anything that says "Doesn't Exist" in column I can go beneath row 522 in column H. (Although acfr:CashCheckingModifiedAccrual should exist -- it looks like it might have been accidentally deleted from F2).
If it helps, what we're trying to do here is a "full join".  Basically, we want to match on the line item label so we have a list of all possible full accrual line items and all possible modified accrual items. If the same item exists in both systems, we want it linked in the same row. We also want to keep rows without matches.
So if we have two tables:

Label
Tag (full accrual)

Accounts Receivable
acfr:AccountsReceivable

Cash Equivalents
acfr:CashEquivalents

Label
Tag (modified accrual)

Accounts Receivable
acfr:AccountsReceivableModifiedAccrual

Allowance For Income Taxes
acfr:AllowanceForIncomeTaxesModifiedAccrual

We'd join them to be one table with 3 columns like this:

Label
Tag (full accrual)
Tag (modified accrual)

Accounts Receivable
acfr:AccountsReceivable
acfr:AccountsReceivableModifiedAccrual

Cash Equivalents
acfr:CashEquivalents

Allowance For Income Taxes

acfr:AllowanceForIncomeTaxesModifiedAccrual

If it's easier than using Excel, you can also do this in Python using pandas.
Let me know if anything is still unclear! I know it's a lot of accounting jargon....

Yes -- anything that says "Doesn't Exist" in column I can go beneath row 522 in column H. (Although acfr:CashCheckingModifiedAccrual should exist -- it looks like it might have been accidentally deleted from F2).
``` @kwheelan
I'm a little confused because column I for `acfr:CashSavingsModifiedAccrual` says `exists` I not `doesn't exist' but you still want it to be added to column H?

I'm going to try doing this in Pandas since the Excel is getting a little messy.

I was looking at an earlier commit, and your current branch doesn't have this issue, so don't worry about it. Sorry for the confusion!

Also @lucakato if you want a break from this Excel stuff, feel free to work on issue #25 and come back to this. The lookup table has become a lot more complicated than I intended

@kwheelan Thanks. I'll prob leave it until the next time we meet because I don't really get how the table is supposed to look, visually.

@kwheelan I modified column H to include ModifiedAccrual tags in the Taxonomy spreadsheet but not in the appended tags.
Could you check if it looks good?
Which columns would you like me to keep? And what would be a good name to rename column H too?

Perfect! You can just keep columns A-C and H and rename H to "Modified Accrual XBRL Tag."
If possible, could you also add the nicely formatted labels in column B for rows 523 through 602? These labels will be in the "GovernmentalFunds" tab of the taxonomy in column A. Or if it's easier, you can just use an Excel function to remove the "acfr:" and add spaces to the entries in H. Let me know you need more clarification.

@kwheelan Thanks I'll add that soon. Is category not needed for rows 523-602?

If you feel comfortable categorizing them yourself, feel free! But I think the accounting categories might not be obvious, so I'm happy to add those in myself after you push the rest.
When you're finished, could you commit with a commit message that starts with "#10" to link it to this issue?

Awesome! Thanks for your work on this! Feel free to move to #25 and comment any questions there

Thanks, I'll close this issue for now.


Sorting of transparent colors

What version of prettier-plugin-tailwindcss are you using?
v0.5.5
What version of Tailwind CSS are you using?
v3.3.3
What version of Node.js are you using?
v18.16.0
What package manager are you using?
pnpm
What operating system are you using?
Windows with WSL2
Reproduction URL

Describe your issue
The sorting of colors is not consistent.
Transparent utility classes are sorted after colors.
For example these two lists:

bg-black text-white
bg-transparent text-white

The second line will be re-ordered to text-white bg-transparent while the first line is kept.

Hey!
Can you share a minimal reproduction repo because I think that you might have other versions of each plugin you are mentioning. Trying this manually it sorts it correctly for me.
I also made a Tailwind Play: https://play.tailwindcss.com/tbviVA95V2
If you press the tidy button then you will see that it gets formatted correctly.

For more context, in an older version of Tailwind CSS sorting was based on plugin order (e.g.: background colors are sorted before text colors). However, utilities within the same plugin were sorted based on which utility was found first in your content paths.
In newer versions of Tailwind CSS, we ensured that within the same plugin, each utility is also sorted deterministically.

Hey there's a chance if you have a plugin or a layer that is adding a rule that includes to text-white or to bg-transparent alongside another class that it could be the cause. We've just merged a PR to fix that.
The insiders build of Tailwind CSS should be available in about 15–20m.
Once it is I'll post here and if you could give it a try and see if your issue is fixed? Otherwise looking at your setup would be a good idea as it's not reproducible in isolation.
Insiders builds can be installed via npm like so:
npm install tailwindcss@insiders

Okay the insiders build is now available:
npm install tailwindcss@insiders

The version installed should be 0.0.0-insiders.ad66635.


Add generic document path method

Method allows documents to be uploaded to buckets other than agreements bucket.

Might be nice to have a unit test for the new method.

@TheDoubleK Yes, there's one now.

:+1:


Implement basic TodoList

Follow along with http://bitwiser.in/2016/08/31/implementing-todo-list-in-draft-js.html

[x] implement
[ ] refactor

Ended up implementing the custom two-paned Markdown <Editor /> instead https://github.com/devonzuegel/clarity/pull/236


just a thanks

Sorry for the improper placement, but I found no other way to thank the contributors. I was making svgs of LaTeX-generated pseudocode for the web. This is so much better! Great work.

Hi @ricopicone,
Thank you! That's very kind of you! I inherited this project from @tatetian, who deserves all the credit.
I returned from my vacation a couple of weeks ago and I am slowly catching up on all the issues and PR.


Fix sessions expiring early on certain browsers

the session's Expiry cookie was set to expire upon the end of the user's "Session", which entails commonly on browsers like chrome and safari that it would be automatically deleted when the browser was closed; so i added a max age parameter to the express-session object to fix this and utilize the expected 7-day session expiration time
fixes #114

thx!


Uncaught Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxy.utam...

[Enter steps to reproduce:]

...
...

Atom: 1.35.1 x64
Electron: 2.0.18
OS: Kali GNU/Linux
Thrown From: Atom Core
Stack Trace
Uncaught Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxy.utamu.ac.ug proxy.utamu.ac.ug:3128
At internal/streams/legacy.js:59

Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxy.utamu.ac.ug proxy.utamu.ac.ug:3128
    at ClientRequest.onError (/app.asar/node_modules/tunnel-agent/index.js:177:17)
    at Object.onceWrapper (events.js:315:30)
    at emitOne (events.js:116:13)
    at ClientRequest.emit (events.js:211:7)
    at Socket.socketErrorListener (_http_client.js:387:9)
    at emitOne (events.js:116:13)
    at Socket.emit (events.js:211:7)
    at emitErrorNT (internal/streams/destroy.js:64:8)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)

Commands

Non-Core Packages

Thanks for the report - the ENOTFOUND error seems like a networking/DNS issue rather than an issue with Atom?  We'll go ahead and close but suggest double checking your proxy settings?


SwiftUI Usage

Hi, could you please give an example of how to use this in SwiftUI and Xcode 12?

+1


Using command line to open vscode causes code warning

Issue Type: Bug
Opening a folder in vscode using terminal causes this warning.

Warning: 'sandbox' is not in the list of known options, but still
passed to Electron/Chromium.

VS Code version: Code 1.58.0 (2d23c42a936db1c7b3b06f918cde29561cc47cd6, 2021-07-08T06:53:55.113Z)
OS version: Linux x64 5.8.0-59-generic snap
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (8 x 2300)

GPU Status
2d_canvas: unavailable_softwaregpu_compositing: disabled_softwaremultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: disabled_offrasterization: disabled_softwareskia_renderer: enabled_onvideo_decode: disabled_softwarevulkan: disabled_offwebgl: unavailable_softwarewebgl2: unavailable_software

Load (avg)
9, 6, 3

Memory (System)
7.66GB (0.37GB free)

Process Argv
--no-sandbox nodejsSelfStudy/ --crash-reporter-id 6f94af77-0e89-4dd0-91ba-5e3b74b9c614

Screen Reader
no

VM
0%

DESKTOP_SESSION
ubuntu

XDG_CURRENT_DESKTOP
Unity

XDG_SESSION_DESKTOP
ubuntu

XDG_SESSION_TYPE
x11

Extensions (48)

Extension
Author (truncated)
Version

project-manager
ale
12.2.0

wallpaper-setting
Ang
0.5.1

vscode-color
ans
0.4.5

docs-view
bie
0.0.9

npm-intellisense
chr
1.3.1

path-intellisense
chr
2.3.0

bracket-pair-colorizer
Coe
1.0.61

vscode-eslint
dba
2.1.23

es7-react-js-snippets
dsz
3.1.1

vscode-npm-script
eg2
0.3.22

prettier-vscode
esb
8.0.1

comment-anchors
Exo
1.9.5

vscode-open-in-application
fab
1.0.6

auto-close-tag
for
0.5.10

auto-rename-tag
for
0.1.6

code-runner
for
0.11.4

vscode-drawio
hed
1.5.0

search-node-modules
jas
1.3.0

node-module-intellisense
lei
1.5.0

python
ms-
2021.6.944021595

vscode-pylance
ms-
2021.7.2

jupyter
ms-
2021.8.1013163132

cpptools
ms-
1.5.0

sublime-keybindings
ms-
4.0.9

vscode-typescript-next
ms-
4.4.20210708

vsliveshare
ms-
1.0.4531

debugger-for-chrome
msj
4.12.12

vs-html-to-css
nep
1.0.0

material-icon-theme
PKi
4.8.0

material-product-icons
PKi
1.0.4

java
red
0.80.0

vscode-commons
red
0.0.6

vscode-xml
red
0.17.0

LiveServer
rit
5.6.1

vscode-fileutils
sle
3.4.5

pdf
tom
1.1.0

vscode-terminal-here
Tyr
0.2.4

vscodeintellicode
Vis
1.2.14

vscode-java-debug
vsc
0.34.0

vscode-java-dependency
vsc
0.18.5

vscode-java-pack
vsc
0.17.0

vscode-java-test
vsc
0.30.1

vscode-maven
vsc
0.31.0

nodejs-extension-pack
wad
0.1.9

JavaScriptSnippets
xab
1.8.0

markdown-all-in-one
yzh
3.4.0

material-theme
zhu
3.10.13

html-css-class-completion
Zig
1.20.0

(6 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
pythonvspyt678:30270856
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
pythonvspyt639:30300192
pythontb:30283811
pythonvspyt551:30311712
vspre833:30321513
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscus158:30321503
pythonvsuse255cf:30335482
vscorehov:30309549
vscod805:30301674
pythonvspyt200:30331937
vscextlangct:30333562
binariesv615:30325510
vstea450:30335276
bridge0708:30335490

I see the same issue, why does this happen?

Did you install vscode via snap ? Do you see the same issue with deb package ?

@deepak1556 I see the same problem - I installed VS Code via Snap ( Ubuntu 18.04 ).

v.1.58, installed with snap, Linux Mint 20.1

same issue here, ubuntu 20.04. vscode installed though snap with
sudo snap install --classic code

same issue on ubutnu 21.04 installed via snap with sudo snap install --classic code

Did you install vscode via snap ? Do you see the same issue with deb package ?

Ubuntu 20.04 - Same issue when installing with sudo snap install code --classic
Installing via deb package did not have this issue (works without warning being displayed).

Did you install vscode via snap ? Do you see the same issue with deb package ?

I installed vscode via snap.
I also tried to use vscode with deb package but then I run into #113175 issue, which makes it impossible to use vs code with non-zero zoomlevel. :(

I'm having this same issue!
Installed vscode via snap
pop os 21.04

Did you install vscode via snap ? Do you see the same issue with deb package ?

Estou tendo o mesmo problema.
Instalei via snap.
sudo snap install --classic code

Interestingly, I had the same issue before. Using snap to install VSCode induces some other problems as well, for example #96041
Now I just manually download the .deb file and use apt to install it.

Have the same problem on Ubuntu 20.04. Like others, used snap to install VS Code. I don't think I ever saw this warning before the June update.

On ubunut 20.04:
I uninstalled my snap version, downloaded the .deb file, and installed it with apt
The commands were
sudo snap remove code # saves snapshot for 31 days

# download .deb from web
cd ~/Downloads/
sudo apt install ./code_<VERSION>_amd64.deb

vscode download

I am facing the same problem in ubuntu 20.04

I am facing the same problem in elementary os, installed from snap

I thought I had mess with my Ubuntu 20.04.
I am still facing this; I just ignore. But is there any fix for it, yet ?

@jobic10 can you provide the output of code --version and also did you install it via snap ?


DynamicMemoryCloud and ChunkedStorage

previous problems fixed.
I'll give more on tomorrow.

@fexio,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot


How to keep title bar min/max/close buttons to right side when arabic language is selected.

    HI Team,

Its a Winui3 application.
how to keep title bar min/max/close buttons to right side when arabic language is selected.

Now i have selected arabic as default language in my system and launched my application. Here Min/Max/Close icons in the title bar is showing in the left side.
We want those min/max/close buttons to be shown in the right side of the title bar always for all the languages.
Note: Min/Max/Close buttons shows on right side of the title bar normally when english language is selected in the system.
**Answer from MSDN: https://learn.microsoft.com/en-us/answers/questions/1167352/how-to-keep-title-bar-min-max-close-buttons-to-rig
when can we expect this feature of showing min/max/close button to top right corner when arabic language is selected in the system.**
Best Regards,
Sunil
Originally posted by @Sunilam in https://github.com/microsoft/WindowsAppSDK/discussions/3443

HI Team,
Can i have the answer for the above requirement.

The AppWindow's title bar renders right-to-left (RTL) if the window style WS_EX_LAYOUTRTL is set. You could try removing WS_EX_LAYOUTRTL from the AppWindow's window style by calling SetWindowLong, and that should satisfy your requirement.

Closing this issue for now. Feel free to reopen it (or create a new one) if problem persists. Thanks!


JSON Root

Does flexirest support parsing a root object in a JSON response like so?
{ coupon : { name: "test", discount: 20 } }
Right now in my code, I have to do
@coupon = Coupon.find(params[:id]) @coupon = @coupon.coupon
I was wondering if there is a simpler way to handle this.
Thanks!

Good request! This was an available feature for XML responses with ignore_xml_root, but was never implemented for JSON responses. I've just pushed a new version out with this feature (v1.3.3).
https://github.com/andyjeffries/flexirest#root-element-removal


Refactor _broadcast and Tensor.where

Refactored the code with for loop

Changes made in tinygrad/:
------------------------------------------------------------
files                             insertions       deletions
------------------------------------------------------------
tinygrad/tensor.py                        12              23
------------------------------------------------------------
lines added in the tinygrad folder: -11

https://en.wikipedia.org/wiki/Wikipedia:Chesterton's_fence

@geohot
It is mentioned in the code # TODO refactor this code along with the binary version above. I believe it is not Chesterton's fence in that case

https://github.com/tinygrad/tinygrad/commit/2d567ef688473734cd21f31ae9344d06d01d6ec4

2d567ef#diff-7703e7b63c9844f019ae3609629fd9c9bab290d11ae6608ed2d09edd49bab2dbL520

Oh I see thank you, TODO in "where" mislead me


Add (optional) flag to specify output directory

Added a(n optional) flag that allows the specification of an output directory.
I tested it against the comic downloading tool, and it works as expected!
I was unable to test the novel downloading portion, because the novel detection doesn't seem to work. I don't think it was my changes- I ran the code with none of my edits on several novels, and it detected them as comics. :/
I tried to figure out the 'ep-epub-contents' bit you were using to differentiate, but I don't know pyQuery enough to figure out exactly how you were doing it, or what might be wrong. (That text is present on both novel pages and comic pages.)
If you can figure out how to fix it, and would prefer I merge after that, feel free to say so and I'll rebase after the fix and submit this pull request again!

The novel detection is sadly broken and that will possibly stay that way for a few weeks, because I lack the time and motivation rn. (I will still happily merge nice pull requests ^^)

(Your novel building section was quite nice. That's a lovely way to save those in a good format, instead of just dumping the html or something!)

I've added the extended flag alias to both the code and the readme!

Hi and I have a Question I am a complete beginner to programming and still in the processing of learning. I have windows python and i'm a little stuck on your directions. It would be greatly appreciated if you could help me out. To be specific I do not know how to navigate to repo location that needs to be downloaded and how to install the pip modules.


Regex fails to return an object under a certain condition

Tested versions
v4.3.dev5.official [c9c17d6ca]
System information
Linux Kubuntu 23.04 KDE Plasma Version: 5.27.4 KDE Frameworks Version: 5.104.0 Qt Version: 5.15.8
Issue description
The RegEx pattern below should not crash the application. It should return an object. Instead it returns null.
The pattern in this case is to match a Semver. So 4.5.6 should return 3 groups, and 4.5.X should return 2 groups. Instead the latter one crashes and returns nothing.
Pattern r" (?:(\d+).)?(?:(\d+).)?(*|\d+) "
Version 3.4.9 SomeApp  -- gives 3 groups matches full
Version 3.4 SomeApp -- gives 2 groups
Version 3.4.X SomeApp -- returns null object
See code below
Steps to reproduce
extends Control
const pattern=r" (?:(\d+)\.)?(?:(\d+)\.)?(\*|\d+) "

func _ready():

	var ver:=[	"Version 3.4.9 SomeApp", \
				"Version 3.4 SomeApp", \
				"Version 3.4.X SomeApp"]

	var regex = RegEx.new()
	regex.compile(pattern)

	# crashes on the 3rd item above
	for each_ver in ver:
		var version_match=regex.search(each_ver)
		var groups=version_match.get_group_count()
		print(each_ver, groups)

Link to regex101 online evaluator Link
Minimal reproduction project (MRP)
see code above. create a Control node and attack script above and run it.

I think regex.search returning null is expected here.  The pattern in the gdscript example requires a space after a "*" character or a number, which doesn't appear in "Version 3.4.X SomeApp".  The linked regex101 example doesn't include the space at the end - adding it will cause it to also not match "Version 3.4.X SomeApp".  Maybe . (or specific characters you're looking for) instead of \* would work for the last group?

Noted. Thank you!. Closing.

Noted. Thank you!. Closing.


version incrementing should add an entry to changelog.md files

[ ] Standardize changelog naming (there are many casings and several files called BreakingChanges that we might want to fold into changelog md files)
[x] Incrementing prepends a header with the new version to the file

@KarishmaGhiya I believe you have recently done this work correct?

Yes it does do 2 things - 1. when there is increment version script run, it will add the new version in the CHANGELOG.md with [unreleased] 2. When set-version script is run, it will replace the "unreleased" version with the said version and put the current date (that work is done by the update-changelog script - i am just calling the PS script from the above two JS script to cover the above 2 scenarios

But i don't know about the standardizing breaking changes part

But i don't know about the standardizing breaking changes part

That part is kind of handled by our updated guidance on ChangeLogs https://github.com/Azure/azure-sdk/blob/master/docs/policies/releases.md#changelog-guidance


Add GitHub Actions builds and update Gradle

Added GitHub Actions builds and updated Gradle. There is also no need for the all version of Gradle, so I have changed it to the bin version so it doesn't take up so much space.

Thank you :)
I want to make clear in this PR though (for future reference) that despite GitHub Actions now capturing binaries of this mod, I still have no intention of providing support for or encouraging use of this mod any further than I do currently. The reason I'm merging this is so that I can ensure that builds are successful and that tests are run if I write any in the future (which I probably should do). Capturing the build artifact is more or less a side benefit and is out of the way enough for me to feel like you still need some degree of technical knowledge to download the mod as-is.


let the profile picture spin on hover

I thought it would be nice if the Profile picture spins on hover :)

Nice 🎠


Need sample on Ring-Buffers

I was wondering if we could have a small sample demonstrating this : https://msdn.microsoft.com/en-us/library/windows/desktop/dn899217(v=vs.85).aspx#gpu_engines
I don't know if it's just me but I've found it very difficult to find examples on this. If I'm not mistaken, it's essentially having copy queues/command-lists with a ring buffer... though I'm not sure what type of buffer the ring buffer is (placed resource?tiled?multiple committed ones?). I'm basically a long time OpenGL guy returning to D3D12 after a very long D3D-hiatus... and I know in OpenGL things like this are done with variable-length-Buffered PixelBufferObjects (PBOs) for asynchronous texture uploads (useful for streaming images from a decoder or somesuch.)
Anyway, a sample or even some clear direction on how to achieve this would be highly appreciated.
I've also looked at : https://msdn.microsoft.com/en-us/library/windows/desktop/dn899125(v=vs.85).aspx but didn't manage to gather much.
Again, thanks in advance for looking into this.
Yours truly,
Baktash.

I just added a sample code (using my wrapper) for trying to do this with placed resources, a shared upload heap and UpdateSubresources(...): https://github.com/toomuchvoltage/GAL/blob/master/GALProject/test_src/ring_buffer.cpp
You could even perhaps provide me with feedback on whether or not that is an optimal solution and if not, what kind of changes would be necessary to achieve optimal performance.
Thanks,
Baktash.

It's a little hard for me to tell exactly what your synchronization looks like since you've wrapped everything up in some other classes, but based on the method names, it would appear that the waiting is being done on the wrong processor.
Rather than signal and wait on the copy queue (the code appears to be doing a wait on the CPU... I can't tell), you want to signal on the copy queue and then issue a wait on the 3D queue (waiting on the GPU).  This allows you to keep the CPU busy and get all of the work onto the GPU sooner instead of unnecessarily waiting on the CPU to submit the work after the GPU is idle.  For example:
...
copyQueue->ExecuteCommandLists();
copyQueue->Signal(copyFence, 100);
renderQueue->Wait(copyFence, 100);  // GPU-wait for the copy to complete.
renderQueue->ExecuteCommandLists();
...

As far as the ring buffer goes, I would expect this to vary depending on the application.  The D3D12PipelineStateCache sample uses a committed resource as the ring buffer for the constant buffers since the API only requires GPU virtual addresses and not ID3D12Resource pointers.  See DynamicConstantBuffer.cpp.  I have a backlog item to write a sample for placed resources so showcase how applications can take advantage of 4KB texture alignments to save memory (instead of the 64K alignments enforced by committed and reserved resources).

Thank you Bob. I corrected the mistake.
Really appreciate the feedback!
I'll be on alert for the arrival of the placed resources example! ;)
Yours truly,
Baktash.


Catch common error cases in global_admins_user_addition migration

@chef/lob Running this in Hosted Chef preproduction environment revealed some cases of bad data leading to failed migrations.  Interested in thoughts about the best way to handle some of these cases.
In all but 1 failure, the data is such that the organization cannot be migrated as is.  The failures seen in preproduction were:

Missing users group
Missing ORGNAME_global_admins group
Missing bifrost data for one of the groups
Cycles in existing bifrost data leading to a 400 from bifrost
Connection error to bifrost

The following table outlines the rate at which they were seen:
| Type                   | %       |
|------------------------+---------|
| no user group          | 2.950 % |
| missing bifrost data   | 0.077 % |
| no global_admins group | 0.035 % |
| cycles in bifrost data | 0.008 % |
| sel_conn_closed        | 0.002 % |

(Chef employees, ask me for exact numbers if you are interested).
As can be seen, the "no users group" is the most common case. Unfortunately, this case also isn't fixable since the removal of the users group might have been a policy decision by the user (even though this breaks various org functions).  Additionally, missing bifrost data isn't fixable without assuming the desired policy in the organization and thus allowing access to people who would currently be receiving errors.
Missing global_admins groups is possibly fixable automatically; however, given the low rate we saw this, I decided to lump it in with the others.  We could write a cleanup migration to create the missing global_admin groups that would run before the user_addition migration.
Some requests failed with 400s from bifrost complaining that adding the users group to the global_admins group would create a cycle.  In the cases I checked, the problem was that the bifrost data already had a cycle between the users and admins group (where the users group was added to the admins group and vice-versa).  I've left these as unhandled.

:+1: code looks good. Does what it says. Somebody (@sdelano?) should weigh in on this being the thing we want to do.

This looks good to me. I think the question to answer is:

If we leave any of the functionality unfixed, how will behavior differ for said organizations after the migration?

It seems like most of the orgs that aren't migrating are most likely broken already.

It seems like most of the orgs that aren't migrating are most likely broken already.

This is my take as well.  If members of those orgs contact us about this feature not working, it is likely that we'll want to do some more comprehensive repair of their data.

If we leave any of the functionality unfixed, how will behavior differ for said organizations after the migration?

To answer this directly.  Users of the unmigrated orgs won't get the policy change of being able to read keys between users in that org.  All existing functionality should continue to work and it should be possible to apply that policy change for individual orgs if they do reach out to support.

There's a separate code path for unmigrated orgs. If we don't successfully migrate them all, do we have to leave the alternate code path in there forever?

@jd We do not need to leave the path in forever. The alternate code path is for the rename migration (changing the name from ORGNAME_global_admins to ORGNAME_read_access_group).  In preproduction that migration was 100% successful.
The failures we saw were in the migration that attempts to add the user's group to the global_admins/read_access group.


Signing key error during android build step

Execution failed for task ':app:packageDebugAndroidTest'.
> A failure occurred while executing com.android.build.gradle.tasks.PackageAndroidArtifact$IncrementalSplitterRunnable
   > com.android.ide.common.signing.KeytoolException: Failed to read key AndroidDebugKey from store "/home/chrome-bot/.android/debug.keystore": Integrity check failed: java.security.NoSuchAlgorithmException: Algorithm HmacPBESHA256 not available

Examples

https://ci.chromium.org/ui/p/flutter/builders/try/Linux Android Emulator Tests/7164/overview
https://ci.chromium.org/ui/p/flutter/builders/try/Windows build_tests_2_3/42157/overview
https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8781555852982790881/+/u/run_plugin_dependencies_test/test_stdout

I just ran into this issue on my own setup, seems rm ~/.android/debug.keystore* fixes the issue. Leaving this comment here until the actual issue is resolved.

My understanding of this issue is that the root of the problem is when you have a set of signing keys built with one version of java being used by an app compiled with a different version of java. This happens in CI because we run java 11 and java 17 on similar machines and was causing flakes. For most developers it should happen at most once per machine you develop on as you update and not again unless you downgrade  your AS/Java versions.

@reidbaker I believe this has been fixed can you please confirm?

Closing, but I would expect customers to hit this up to once per machine as they update to java 17.


renderSvg related instructions might be outdated.

I came to this repo in order solve the exact problem that this tool offers, needed a placeholder image until a large lottie json loads. I found myself scratching on the head while trying to make it work by following the instructions.
I use lottie-web as my player in a react gatsby project.
And this is not clear to me on the implementation part:
"You can pass render settings for lottie-web (which does the actual rendering of the animation) as the second argument to renderSvg. See full list of available options."
How an actual implementation should look like?

I get it now, u dont need to have lottie-web, this includes it.


Opening multiple windows with the same folder(s) leads to improperly restored state

Repro:

Open two windows with the same set of folders open.
Open different files in each window.
Close Atom with cmd + q.
Restore Atom from the Dock/Finder. Both windows will have the state of one of the previous windows; the other is permanently lost.

I understand this is due to the way Atom saves project state - it appears to be based off a hash of the set of working directories (which is recorded in ~/.atom/storage/application.json).
I don't have a great proposal about how to fix this; perhaps in the case of multiple windows the hash could include the window index? It seems to be a fairly uncommon use case, anyhow.

This is not an uncommon use case, if you are for whatever reason splitting your workspace across windows. Bad bug.

@benogle: The repro in the task description seems pretty clear, and this is still the case with 1.5.3 (also in safe mode). Do you need any other information?

The steps seem good, we just need a person to reproduce it and spend some time thinking about what we might do to combat this.

This has been a bug that has been around for quite some time and has really messed with my workflow. I sure hope we do find a solution to this. I quite often work on the same project across multiple windows and panes. I typically organize organize my windows and panes by file type (HTML in one, CSS in another and JS in another) and also by project areas. I work on a large complex website platform that's built on top of Django and is comprised of MANY applications that each add their own bits of functionality to the platform. It's imperative to be able to segregate everything in order to keep my workspace sane.
I'm not sure as to which window it is that Atom chooses to be the set of tabs and panes it restores but I think it might be the first one that wins. Regardless, if I have to quit Atom for any reason, restoring it opens the same number of windows I previously had opened all working on the same project but each of the windows shows only the tabs from the winning window (I believe it's the first) before Atom was closed. This means that I lose the tab information for any other losing window(s) that were opened and I have to recreate my workspace from scratch. It's very frustrating especially since the files you have open tend to remind you what area of the platform you left off on.
Atom's project state saving logic simply needs to be expanded to store separate tab and pane information for each of the project's windows. The only way I've been able to skirt my way around this a bit has been to open up each window with slightly different project folder selections. This fools Atom into creating a separate saved state for each window but this is far from ideal. I really do want all of the same project folders to be available in every Atom window.
Has there been any further discussion on the forums around this? I'm a bit surprised that reports and discussion around this very undesirable state saving and restoration behavior seem quite scarce. We really can't be the only people working on the same Atom project across multiple windows.
I'd be happy to offer whatever assistance is needed in further defining this bug and compiling videos to demonstrate the behavior. It's really quite easy to re-produce. A solution to this really doesn't seem like it'd be that difficult either. The state saving logic just needs to be expanded to recognize each of the project's windows as separate entities with their own tabs and pans that would need to be restored rather than just picking one windows state and only restoring that. Atom is already restoring the same number of project windows I had open, it's just using one of the windows' states and restoring that for each of the restored windows.

I've reproduced the described behavior using Atom v1.10.0-dev-08a3582 on Mac OS X 10.11.5.

Bug still exists on the latest release for Mac. This messes with my workflow because I use multiple monitors.

This isn't a bug. The project system (and by extension the project state storage system) wasn't designed to support multiple copies of the same project (as defined by the set of project root folders) open at the same time. While it may be useful to some workflows to have that ability, it isn't something that we're going to be redesigning Atom's project system to support anytime soon.


Issue rendering basic tabs

I am getting the following error:
Exception thrown by hook while handling onSetChildren: Invariant Violation: Expected onMountComponent() to fire for the child before its parent includes it in onSetChildren().
Here is the code:
import React, { Component } from 'react';
import Tabs from 'react-responsive-tabs';

import 'react-responsive-tabs/styles.css';

class WWNG_Sales_MemberTabs extends Component {
    constructor(props) {
        super(props)
        this.state = {
            memberNumber: "",
            items: [],
        }
    }

    componentWillReceiveProps(props) {
        this.setState({ memberNumber: props.memberNumber }, () => {
            this.getItems()
        })
    }

    getItems() {
        var items = []
        items.push({ title: "Usage", getContent: () => "Usage", key: 0, tabClassName: "tab", panelClassName: "panel" })
        items.push({ title: "Transactions", getContent: () => "Transactions", key: 1, tabClassName: "tab", panelClassName: "panel" })
        items.push({ title: "Correspondence", getContent: () => "Correspondence", key: 2, tabClassName: "tab", panelClassName: "panel" })
        items.push({ title: "History", getContent: () => "History", key: 3, tabClassName: "tab", panelClassName: "panel" })
        items.push({ title: "Card Printing", getContent: () => "Card Printing", key: 4, tabClassName: "tab", panelClassName: "panel" })

        this.setState({ items: items })
    }

    render() {
        return (
            <div>
                <Tabs items={this.state.items} />
            </div>
        );
    }
}

export default WWNG_Sales_MemberTabs;

Thanks for the quick response.  Yeah.  I tried that, but same error.  I know the component structure is fine since it renders fine if I exclude .  It even errors if I hard code the item in the render.  Feels like a dependency is missing, but not sure.  I'll keep looking at it.

I think it's too late trying to help you but I'll try to resolve this issue for anyone who will come here with the same problem :)

Actually, I'm able to run the exact code from the example above without any errors.
I tried to google the error you faced up and seems it may be a problem with React:
https://github.com/FineUploader/react-fine-uploader/issues/129
https://github.com/cerner/terra-core/issues/256
Update: Dan Abramov says that this error was fixed in<EMAIL_ADDRESS>https://github.com/facebook/react/issues/8487#issuecomment-293932011


Add/delete bodies from simulation, Bodies have unique IDs

Bodies can now be identified by simulator-unique IDs, new functions for
adding and deleting bodies.

Current coverage is 46.77%

Merging #35 into master will increase coverage by +4.98% as of 50a0fba

@@            master     #35   diff @@
======================================
  Files            3       3
  Stmts          134     124    -10
  Branches        18      18
  Methods          0       0
======================================
+ Hit             56      58     +2
  Partial          0       0
+ Missed          78      66    -12

Review entire Coverage Diff as of 50a0fba

Powered by Codecov. Updated on successful CI builds.

@aaroncameron21 nice increase in test coverage!

Unfortunately the increase in test coverage is only because I eliminated a bunch of code that hasn't been used in weeks and a duplicate constructor. Also, don't ask me why I previously had two Simulator constructors.

A win is a win as far as test coverage is concerned.

Looks good! `addBody' can now add any kind of body.

Good thing I wrote tests, addBody wasn't taking position and velocity as a vector or an object, just a flat value. Now they can be passed within the body-like object as vector-like objects. Deleting now removes the body from the array rather than 'destroying' it as it does for collisions in the simulation.

Great work, @aaroncameron21 !


When the equipment is blocked, the equipment disappears from the equipment list

Steps to Reproduce the Bug:

Log in.
Navigate to the "Equipment" section.
Click the "Lock" button. A modal window titled "Equipment Lock" appears.
Lock the equipment for one or more days. Modal window for lock the equipment should be closed automatically.
Check equipment in the equipments list.

The result obtained:

When the equipment is blocked, the equipment disappears from the equipment list

Expected behaviour:

The equipment with a "Blocked"  status should be displayed in the equipment list.

Verified. Done.


Inline TextInput looks weird when input has error text.

For example, on AOR demo project's customer edit page link.
If validate={required} is added to first name input, it looks like this:

The second input moves down a bit.

Just a simple css problem, all inline input should have this verticalAlign: 'top'.


Issues reloading with consul-template

Hi!
the way the new_config variable is assigned can cause issues when the script is used with things like consul-template to generate configuration based on service discovery. It's quite normal for multiple service state changes to occur within the same second.
https://github.com/varnish/varnish-agent/blob/1ade5e5328e4ad3d5d656641aca97191008e12b2/redhat/redhat/varnish_reload_vcl#L77
This causes the VCL reload to fail and the service in the second reload to be missing from Varnish.
Thanks,
Tim Birkett.

Ah just seen unsupported...


CT: Cannot read property 'compose' of undefined

CT has been failing since 4/13/2020, 4:42:08pm with the Errors:
scenery : pageload : /doc/ : load
https://bayes.colorado.edu/continuous-testing/snapshot-1586830604726/scenery/doc/
Uncaught TypeError: Cannot read property 'compose' of undefined
TypeError: Cannot read property 'compose' of undefined
    at Module.<anonymous> (https://bayes.colorado.edu/continuous-testing/snapshot-1586830604726/scenery/build/scenery.min.js:1:520330)
    at i (https://bayes.colorado.edu/continuous-testing/snapshot-1586830604726/scenery/build/scenery.min.js:1:15042)
    at https://bayes.colorado.edu/continuous-testing/snapshot-1586830604726/scenery/build/scenery.min.js:1:15837
    at https://bayes.colorado.edu/continuous-testing/snapshot-1586830604726/scenery/build/scenery.min.js:1:15846
    at https://bayes.colorado.edu/continuous-testing/snapshot-1586830604726/scenery/build/scenery.min.js:1:863495
id: Bayes Chrome
Approximately 4/13/2020, 8:16:44 PM

scenery : pageload : /doc/a-tour-of-scenery.html : load
https://bayes.colorado.edu/continuous-testing/snapshot-1586830604726/scenery/doc/a-tour-of-scenery.html
Uncaught TypeError: Cannot read property 'compose' of undefined
TypeError: Cannot read property 'compose' of undefined
    at Module.<anonymous> (https://bayes.colorado.edu/continuous-testing/snapshot-1586830604726/scenery/build/scenery.min.js:1:520330)
    at i (https://bayes.colorado.edu/continuous-testing/snapshot-1586830604726/scenery/build/scenery.min.js:1:15042)
    at https://bayes.colorado.edu/continuous-testing/snapshot-1586830604726/scenery/build/scenery.min.js:1:15837
    at https://bayes.colorado.edu/continuous-testing/snapshot-1586830604726/scenery/build/scenery.min.js:1:15846
    at https://bayes.colorado.edu/continuous-testing/snapshot-1586830604726/scenery/build/scenery.min.js:1:863495
id: Bayes Chrome
Approximately 4/13/2020, 8:16:44 PM

scenery : pageload : /examples/mouse-wheel.html : load
https://bayes.colorado.edu/continuous-testing/snapshot-1586830604726/scenery/examples/mouse-wheel.html
Uncaught TypeError: Cannot read property 'compose' of undefined
TypeError: Cannot read property 'compose' of undefined
    at Module.<anonymous> (https://bayes.colorado.edu/continuous-testing/snapshot-1586830604726/scenery/build/scenery.min.js:1:520330)
    at i (https://bayes.colorado.edu/continuous-testing/snapshot-1586830604726/scenery/build/scenery.min.js:1:15042)
    at https://bayes.colorado.edu/continuous-testing/snapshot-1586830604726/scenery/build/scenery.min.js:1:15837
    at https://bayes.colorado.edu/continuous-testing/snapshot-1586830604726/scenery/build/scenery.min.js:1:15846
    at https://bayes.colorado.edu/continuous-testing/snapshot-1586830604726/scenery/build/scenery.min.js:1:863495
id: Bayes Chrome
Approximately 4/13/2020, 8:16:44 PM

scenery : pageload : /examples/multi-touch.html : load
https://bayes.colorado.edu/continuous-testing/snapshot-1586830604726/scenery/examples/multi-touch.html
Uncaught TypeError: Cannot read property 'compose' of undefined
TypeError: Cannot read property 'compose' of undefined
    at Module.<anonymous> (https://bayes.colorado.edu/continuous-testing/snapshot-1586830604726/scenery/build/scenery.min.js:1:520330)
    at i (https://bayes.colorado.edu/continuous-testing/snapshot-1586830604726/scenery/build/scenery.min.js:1:15042)
    at https://bayes.colorado.edu/continuous-testing/snapshot-1586830604726/scenery/build/scenery.min.js:1:15837
    at https://bayes.colorado.edu/continuous-testing/snapshot-1586830604726/scenery/build/scenery.min.js:1:15846
    at https://bayes.colorado.edu/continuous-testing/snapshot-1586830604726/scenery/build/scenery.min.js:1:863495
id: Bayes Chrome
Approximately 4/13/2020, 8:16:44 PM

Looks like webpack placing dependencies in an order where they can't load after the work around circular dependencies in https://github.com/phetsims/chipper/issues/871, may need to revert things.

The above commit seems to have fixed this, going to wait for CT to verify.

Looks fixed to me, closing.


Pre built UI Bottom sheet sizing

The bottom sheets for the Pre Built UIs should wrap the content size rather than use a default value.
In iOS > 15 .presentationDetents property enables this behavior for predefined or fixed sizes. We nee a way to do it for at least iOS 13 since we want maximum compatibility or just use the bigger one in previous versions.
The detection of the content size is already done in the OfferPrompt View. Now it needs to resize the bottom sheet to this size.

The solution was to create a customized BottomSheet since the

SwiftUI source code is closed.


Passing path to markdown folder like CLI argument

It will be much more useful if CLI will expect path to markdown dir like arg, like
$ underblog ~/myBlog
...
$ underblog ~/Docs/myCatsBlog
...
$ underblog .

I'm a bit hesitant, tbh. You pass md dir, but what about templates dir? Should underblog assume template dir is current dir? Or 1 level above md dir? Now we're forced to either introduce another CLI argument for templates or introduce implicit behavior.
I'd love underblog to be an opinionated, dumb, barebones tool with virtually zero complexity for the user.
What do you think?

I agree. «keep it simple» – the best way to success for such type of programs. But, I believe this kind of customization will be very useful, at least not for MD dir but for an entry point.
For this time we may save the current default behavior, like
$ underblog

will expect templates and MD in the current workdir.
But, if you pass some additional args it will be a custom entry point or even entry points (if you wanna make few your blogs, for example. idk, is it relevant case?):
$ underblog ~/Docs/myBlog

will expect templates and MD it the ~/Docs/myBlog, or
$ underblog ./myCatBlogRU ./myCatBlogEN

just will build two blogs.
or we may just bail on the this feature :D :D

I agree with the complete entry point as param.


Add warning if  folder missing or module missing

This pull request improves the experience where the node_modules folder is missing.
Changes:

Check for presence of the node_modules folder. Show error if not present.
Iterate over dependencies and devDependencies in package.json and check that each of them exists, using the potential npm paths (ie not just in local node_modules).
Does not check devDependencies when running as production

A future PR could be to actually do npm install for the user.

Fixed the whitespace issues.

Fixes #49

I've updated the PR to iterate through every dependency in package.json and throw an error if it doesn't exist as an available node module. This feels cleaner than doing it on every require, and more likely to catch errors.

I think maybe it's enough just to have the first check - the one for the node_modules folder. This address the common issue we know of - that people have installed the kit but not run npm install.
In what situation would a particular module be missing? Do we have evidence that this has happened? If not it seems like a lot of extra code.

There's also repetition here of checking for environment and setting a default of 'development' - this also happens in server.js so we'd have to take care to keep them in sync.

@joelanman The use case would a user updating their kit after we've added a new module.
I agree it's far less of an issue. I'm happy removing the extra functionality if you think it's too complex.

Personally I think we should probably just tackle the main problem we know of - that new users download the kit, try to run it and get a nasty module error. We can always add the other functionality later if it's a common issue?

Let's go with the simpler version for now. We can assess the other use case separately.

I've removed the code that checks through the package.json.
@alextea @timpaul @joelanman care to take a look to see if good to go?


upgrade lettuce to 5.1.3

Pull Request Test Coverage Report for Build 118

0 of 232 (0.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.03%) to 3.023%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

opentracing-redis-lettuce/src/main/java/io/opentracing/contrib/redis/lettuce/TracingStatefulRedisConnection.java
0
2
0.0%

opentracing-redis-lettuce/src/main/java/io/opentracing/contrib/redis/lettuce/TracingRedisAsyncCommands.java
0
115
0.0%

opentracing-redis-lettuce/src/main/java/io/opentracing/contrib/redis/lettuce/TracingRedisCommands.java
0
115
0.0%

Totals

Change from base Build 116:
-0.03%

Covered Lines:
663

Relevant Lines:
21934

💛  - Coveralls


sigmoid for kd?

Hi,
I found out you use sigmoid for classification (https://github.com/HikariTJU/LD/blob/main/mmdet/models/dense_heads/ld_head.py#L198), but for kd you use softmax, this would be a problem for single class.
Why not use L1?
Any idea?

weight_targets is a weight factor for the loss and is not for KD.


Creating a "Person" model with migration became "People"

Laravel Version
11.22.0
PHP Version
8.2.12
Database Driver & Version
No response
Description
I had some strange behavior,
If I try to create a model called "Person" with the migration, the last one is renamed "People".
`$ php artisan make:model --migration Person
INFO  Model [app/Models/Person.php] created successfully.
INFO  Migration [database/migrations/2024_09_05_161554_create_people_table.php] created successfully.`
The table is really called "people", not "person".
`<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('people', function (Blueprint $table) {
$table->id();
$table->timestamps();
});
}
/**
 * Reverse the migrations.
 */
public function down(): void
{
    Schema::dropIfExists('people');
}

};
`
The model is correct
`<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Person extends Model
{
use HasFactory;
}
`
It does work, If I create an instance of Person, I correctly have a new row but I find strange the name change between model and table out of the blue.
Steps To Reproduce
Execute artisan command:
php artisan make:model --migration Person

I get that it's just the plural form and it must be a functionality for plurals but as a non english speaker (at least not mother tongue) it was not expected.


Use file sink encoding json

Encoding ndjson isn't supported in recent versions.
Description of changes
Change file sink encoding to json. Should fix #203292
Things done

Built on platform(s)

[ ] 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/)
22.11 Release Notes (or backporting 22.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

@GrahamcOfBorg build

Hmm, I guess this needs the backport: release-22.11 label, but it seems I can't edit the labels or add it after issue creation, so I suppose somebody with the right permissions will have to do this?
Ah, and: #199919, inspired by #ZurichZHF.

Thank you for this !


Autograd of superloss

I've noticed the superloss implementation is similar with AlanChou's unoffical implementation (https://github.com/AlanChou/Super-Loss). Both of which used scipy to calculate lambertw. However, as stated in AlanChou's implementation, quoted:

The labertw function should be implemented with PyTorch instead of using the scipy library as mentioned in https://github.com/AlanChou/Truncated-Loss/issues/3#issuecomment-753650227.

There is a mistake because the additive regularization part doesn't have any gradients for Autograd.

Does this implementation solve the above problem?

There are some implementations of lambertw in pytorch as mentioned here https://github.com/pytorch/pytorch/issues/49851#issuecomment-753483671.


Pip failure subprocess-exited-with-error

I can't figure it out .. Plz Help me!! I am going CRAZY!!!
===========================

$ pip install deepspeed
Collecting deepspeed
Using cached deepspeed-0.14.0.tar.gz (1.3 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [23 lines of output]
[WARNING] Unable to import torch, pre-compiling ops will be disabled. Please visit https://pytorch.org/ to see how to properly install torch on your system.
 [WARNING]  unable to import torch, please install it if you want to pre-compile any deepspeed ops.
DS_BUILD_OPS=1
Traceback (most recent call last):
File "C:\Users\ORORI\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "C:\Users\ORORI\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ORORI\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ORORI\AppData\Local\Temp\pip-build-env-hz1h05nk\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ORORI\AppData\Local\Temp\pip-build-env-hz1h05nk\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires
self.run_setup()
File "C:\Users\ORORI\AppData\Local\Temp\pip-build-env-hz1h05nk\overlay\Lib\site-packages\setuptools\build_meta.py", line 487, in run_setup
super().run_setup(setup_script=setup_script)
File "C:\Users\ORORI\AppData\Local\Temp\pip-build-env-hz1h05nk\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
exec(code, locals())
File "", line 148, in
AssertionError: Unable to pre-compile ops without torch installed. Please install torch before attempting to pre-compile ops.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

@cityduck0707 - can you share more details on your system?  It looks like you have torch installed, but then this isn't being found by DeepSpeed?  Additionally, at your terminal can you run these commands?
python -c "import torch; print('torch:', torch.__version__, torch)"
python -c "import torch; print('CUDA available:', torch.cuda.is_available())"

@loadams
Oh, I have something else to tell you.
Someone told me that it works if I run the code with the Anaconda prompt.
So I tried running the code on the Anaconda prompt as shown in the following picture,
but the subprocess error occurred again this time.
But the error was a little different.

@cityduck0707 - my guess is that your python path is not set in each of these, and then that perhaps each has its own version of python/its own virtual environment so torch may not be installed in each.  Unfortunately, working with Python on Windows can be tricky.  If you're able, using WSL should resolve many of these issues.  If not, I'd pick which environment you want to install DeepSpeed in, and ensure that you have torch installed there (via pip list and the two commands listed above).  If those pass, then try installing DeepSpeed and if you hit errors, please share those with us.

Hi @cityduck0707 - closing this as stale, please comment if you are still hitting this and need it re-opened.


Add RNG GUI

Added GUI, cleaned up code, etc
You are welcome

I assume the module dearpygui needs to be installed, should probably add an install script or at least a check (import and if module not found, exit and tell person to install module with pip). Also adding CLI options would be nice, i.e. ./randomnumbergenerator.py -l 1 -h 10 which prints a random number, say 4. This could greatly increase the efficiency, although replacing -l and -h which something more easy to remember could help with usage.

After installing with pip, still won't run. Not sure if its a cross compatibility issue -- due to using Mac --, a Python version issue, or if the package itself is messed up. I highly doubt its pip being out of date as it should install packages all the same.
switz@swotzterm cwd:~ $ ./rpg-gui.py
Traceback (most recent call last):
  File "/Users/Swotz/./rpg-gui.py", line 3, in <module>
    import dearpygui.dearpygui as dpg
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/dearpygui/dearpygui.py", line 22, in <module>
    import dearpygui._dearpygui as internal_dpg
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/dearpygui/_dearpygui.so, 2): Library not loaded: /usr/local/opt/libpng/lib/libpng16.16.dylib
  Referenced from: /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/dearpygui/_dearpygui.so
  Reason: image not found

hmmm that is odd... all you have to install is dearpygui and it should work...

I assume the module dearpygui needs to be installed, should probably add an install script or at least a check (import and if module not found, exit and tell person to install module with pip). Also adding CLI options would be nice, i.e. ./randomnumbergenerator.py -l 1 -h 10 which prints a random number, say 4. This could greatly increase the efficiency, although replacing -l and -h which something more easy to remember could help with usage.

I agree, I just don't really know how to do that lol

(i lied, i never actually tested it on windows)

:trollface:

i can waste anyrun's resources except only gives me 5 minutes to install python and test, and it would be a waste

Well I am pretty sure it works, considering I have had some other people try to use it (including one who uses Linux) and it worked for all of them

closing for inactivity and ive basically abandoned this lol

damn :(

the
On Thu, May 12, 2022 at 12:09 AM NightKoneko @.***>
wrote:

damn :(
—
Reply to this email directly, view it on GitHub
https://github.com/Realswitzer/pySuite/pull/4#issuecomment-1124398547,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJO7E5ZXCQEBTV5EY4GWEGDVJRD2ZANCNFSM5NYDOMPQ
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

actually i could test windows now. i guess
On Thu, May 12, 2022 at 11:44 AM Therealswitzerwicki <
@.***> wrote:

the
On Thu, May 12, 2022 at 12:09 AM NightKoneko @.***>
wrote:

damn :(
—
Reply to this email directly, view it on GitHub
https://github.com/Realswitzer/pySuite/pull/4#issuecomment-1124398547,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJO7E5ZXCQEBTV5EY4GWEGDVJRD2ZANCNFSM5NYDOMPQ
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

ok i got it merged, not that it works (invalid sender errors and no idea how any of this works).

PS C:\Users\^_^\github\pysuite> .\randnumgen.py
No arguments! Launching GUI version...because apparently #4 exists
Traceback (most recent call last):
  File "<string>", line 20, in rand_cb
ValueError: invalid sender range2
Traceback (most recent call last):
  File "<string>", line 20, in rand_cb
ValueError: invalid sender range2
Traceback (most recent call last):
  File "<string>", line 20, in rand_cb
ValueError: invalid sender range2
Variable(s) contained non-integers!

PS C:\Users\^_^\github\pysuite>

The non-int line is unrelated (something about closing the window i guess), but can't figure out the sender thing. Using exec(open("rnggui.py").read()) so in theory it would work, as it's not going to have problems with my incompetent implementation.

Yeah I guess that's fair, Pygmäe is pretty limited and shit, but still

works on windows, not on mac? not sure about penguinOS, ill need to see.
logging onto github and going to reopen PR and maybe merge later (with
fixes so cli perams work)
On Thu, May 12, 2022 at 11:46 AM Therealswitzerwicki <
@.***> wrote:

actually i could test windows now. i guess
On Thu, May 12, 2022 at 11:44 AM Therealswitzerwicki <
@.***> wrote:

the
On Thu, May 12, 2022 at 12:09 AM NightKoneko @.***>
wrote:

damn :(
—
Reply to this email directly, view it on GitHub
https://github.com/Realswitzer/pySuite/pull/4#issuecomment-1124398547,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJO7E5ZXCQEBTV5EY4GWEGDVJRD2ZANCNFSM5NYDOMPQ
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

ok