We need an example file for com.google.fonts/check/all_glyphs_have_codepoints

Observed behaviour
Test 076 passes on the this TTF dump: test.txt
Note the following cmap table that I hand-corrupted:
  <cmap>
    <tableVersion version="0"/>
    <cmap_format_4 platformID="0" platEncID="3" language="0">
      <map code="0x42" name="uni0041"/><!-- LATIN CAPITAL LETTER A -->
      <map code="0x42" name="uni0042"/><!-- LATIN CAPITAL LETTER B -->
      <map code="0x43" name="uni0043"/><!-- LATIN CAPITAL LETTER C -->
    </cmap_format_4>
    <cmap_format_4 platformID="3" platEncID="1" language="0">
      <map code="0x42" name="uni0041"/><!-- LATIN CAPITAL LETTER A -->
      <map code="0x42" name="uni0042"/><!-- LATIN CAPITAL LETTER B -->
      <map code="0x43" name="uni0043"/><!-- LATIN CAPITAL LETTER C -->
    </cmap_format_4>
  </cmap>

Expected behaviour
Test should fail.
Resources and exact process needed to replicate
fontTools silently discards glyphs that have a duplicate Unicode value:
import fontTools.ttLib
t = fontTools.ttLib.TTFont()
t.importXML("test.txt")
t["cmap"].tables[0].cmap
t["cmap"].tables[1].cmap

Yields:
{66: 'uni0042', 67: 'uni0043'}
{66: 'uni0042', 67: 'uni0043'}

Written to disk (t.save("test.ttf")):
[...]
  <cmap>
    <tableVersion version="0"/>
    <cmap_format_4 platformID="0" platEncID="3" language="0">
      <map code="0x42" name="uni0042"/><!-- LATIN CAPITAL LETTER B -->
      <map code="0x43" name="uni0043"/><!-- LATIN CAPITAL LETTER C -->
    </cmap_format_4>
    <cmap_format_4 platformID="3" platEncID="1" language="0">
      <map code="0x42" name="uni0042"/><!-- LATIN CAPITAL LETTER B -->
      <map code="0x43" name="uni0043"/><!-- LATIN CAPITAL LETTER C -->
    </cmap_format_4>
  </cmap>
[...]

Is there actually a real-world test that works (= fails) here? Maybe this is something for a source check instead ;)

It looks like fontTools will always do some sanitisation, so this check is useless in its current form. We'd need to read the raw data structure.

note: Test 076 was deprecated on FB 0.6.10 (2019-Feb-11)

For sfnt-based fonts, this test (as written) cannot fail.  Remember that within sfnt-based fonts -- unlike within TTFont python structures representing such fonts -- glyphs do not themselves contain any information about Unicode.
This test iterates over a Unicode cmap which, by definition, maps an integer (interpreted as the Unicode scalar value or USV) to a glyph, and then tests the resulting integer (USV) to see if it is None.  Thinking of the sfnt cmap conceptually as a dictionary (with USVs as the keys), the binary structure inside an sfnt implementation constrains the keys of that dictionary to be integer values -- None cannot possibly be stored as a key in the cmap.
It is possible that the sfnt cmap structure is bad, mapping a USV to a number that isn't a valid glyph ID, but fontTools would already have caught that and declared the appropriate errors (see class cmap_format_4() in _c_m_a_p.py). (And I'm sure ots would have picked up such a problem.)
It is also possible that fonttools has a bug that, when reading a Unicode cmap, creates a dictionary that has None as a key, but fontbakery is not the place to be writing tests for fonttools.


Issue with GuestConfigurationPackageComplianceStatus compliance status

Hi,
Have have been learning desired state configuration. I have build the mof and the zip configuration. Part of the instructions on https://learn.microsoft.com/en-us/azure/governance/machine-configuration/how-to-test-package is to run Get-GuestConfigurationPackageComplianceStatus.
After may attempts the compliance status comes back as follows:
additionalProperties : {}
assignmentName       : MyConfig
complianceStatus     : False
endTime              : 6/18/2023 4:40:42 AM
jobId                : d31556e3-c762-433e-b2ba-9ef30bc66b59
operationtype        : Consistency
resources            : {@{complianceStatus=False; properties=; reasons=System.Object[]}}
startTime            : 6/18/2023 4:40:34 AM
Within the reasons i get the following:
ResourceNotCompliant_[Environment]MachineConfigurationExample
Property: "Ensure" | Expected: "Present" | Actual: "Absent".
Property: "Target" | Expected: ["Process","Machine"] | Actual: null.
Property: "Value" | Expected: "This was set by machine configuration" | Actual: null.
I must be doing something obviously wrong as myconfig.mof does have what is expected and it's finding it, just not in the validation process.
instance of MSFT_EnvironmentResource as $MSFT_EnvironmentResource1ref
{
Target = {
"Process",
"Machine"
};
Ensure = "Present";
SourceInfo = "C:\Users\trsadmin.TRS\source\repos\Azure\Azure\trsdsc\testconfig.ps1::14::5::Environment";
Name = "MC_ENV_EXAMPLE";
ResourceID = "[Environment]MachineConfigurationExample";
ModuleVersion = "<IP_ADDRESS>";
ModuleName = "PSDscResources";
Value = "This was set by machine configuration";
ConfigurationName = "MyConfig";
};
Regards.
Simon.

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

ID: a9601689-845d-c5ec-dbed-4e226338a14e
Version Independent ID: 7e8774d3-11b3-d13f-9626-e3161e7ab84b
Content: How to test machine configuration package artifacts
Content Source: articles/governance/machine-configuration/how-to-test-package.md
Service: machine-configuration
GitHub Login: @michaeltlombardi
Microsoft Alias: mlombardi

@trsgithub
Thanks for your feedback! We will investigate and update as appropriate.

Hi,
I am still trying to get this to work. Although it's not clear in the documentation, i thought it might be a matter of passing parameters during the validation even though they are included in the mof.
So i tried the following.
$Parameter = @(
@{
ResourceType = 'Environment'
ResourceId = 'CreateEnvironmentVariable'
ResourcePropertyName = 'Value'
ResourcePropertyValue = 'Something'
},
@{
ResourceType = 'Environment'
ResourceId = 'CreateEnvironmentVariable'
ResourcePropertyName = 'Name'
ResourcePropertyValue = 'TestEnvironmentVariable'
}
)
Get-GuestConfigurationPackageComplianceStatus -Path .\Sample_Environment_CreateNonPathVariable.zip -parameter $Parameter
However the error returned is:
Error: Failed to Run Consistency for 'Sample_Environment_CreateNonPathVariable' Error : Convert property 'Path' value from type 'STRING' to type 'BOOLEAN' failed
At line:13, char:2
Buffer:
ateNonPathVariable";
};^
instan
I tried passing the path as a variable but this cannot be done.
Regards.
Simon.


ModuleNotFoundError | Step 4 of Custom Dataset

I've gotten to step 4 of making a custom dataset (skipping the LJ Speech and VCTK steps) and I've stumbled across a ModuleNotFoundError. I'm not too sure how this is happening.
(vits2) root@hugeserver:/mnt/vits2# python preprocess/mel_transform.py --data_dir audio/ -c datasets/custom_james_voices/config.yaml
Traceback (most recent call last):
  File "/mnt/vits2/preprocess/mel_transform.py", line 13, in <module>
    from utils.hparams import get_hparams_from_file, HParams
ModuleNotFoundError: No module named 'utils.hparams'; 'utils' is not a package
(vits2) root@hugeserver:/mnt/vits2# ls
audio     data_utils.py  inference_batch.ipynb  LICENSE    model       README.md         text         train.py
datasets  figures        inference.ipynb        losses.py  preprocess  requirements.txt  train_ms.py  utils
(vits2) root@hugeserver:/mnt/vits2#

Other useful information that might help:
Ubuntu 22.04.3 LTS
RTX 3090
We're using conda as the steps showed in the readme.
# echo $PYTHONPATH
results in:
/mnt/vits

Additionally, it seems config.yaml is being parsed as a json file still.

Make an empty init.py file under utilts folder.

You can try sys.path.append("mnt/vits2") mel_transform.py

if its jupyter notebook and colab try
import os
os.environ['PYTHONPATH'] = "yourpatchtovits2folder"

You might want to try running the cmd: pip uninstall utils


Running ddev on boot

We're currently running our Drupal application using ddev and a reverse proxy on our Ubuntu server staging system. ddev is installed globally and works just fine.
The VM that the staging environment is running in, however, happens to be frequently rebooted. That means, every time the machine reboots I need to log in and start the environment again manually. I have already automated the restart of the reverspe proxy (wrote a service, deamonized it with systemctl) and would now like to do the same for ddev. I have written a simple bash script that basically just executes ddev start and I call it from another deamonized service but I always get the same error: ddev: commanc not found.
I suppose, it's because ddev is probably not available at boot or something? Is there any service that I should wait to start before executing my start script or is there any other option to execute the ddev start command on boot? I'm grateful for every suggestion. Thanks y'all!

"command not found" means that ddev isn't in your $PATH. When you're logged in and it's working, do a which ddev and then in your script, provide the full path, like /usr/local/bin/ddev

I use this startup script for casual webhosting on Debian/Ubuntu:
https://ddev.readthedocs.io/en/stable/users/alternate-uses/#casual-project-webosting-on-the-internet-including-lets-encrypt

First of all, thank you for explaining why ddev is not available on boot. Makes sense. Second: thanks a lot for the link, I have been scrolling through the docs for quite a while but I seem to have missed it. That's exactly what I need! I try to implement it and will close this issue afterwards.

Happy to continue the conversation here or elsewhere. Closing this for now.


Add some examples

Hey buddy, thanks to your framework for making it easier for me to write macro code, I've now added some macros I'm using as examples, and I've changed the version control tag exact to from to be compatible with newer versions of swift-syntax

@stackotter Yes, I just need to check whether the function definition contains the body to distinguish between interface and implementation. I have changed it according to what you said


Update to SMK 1.2.1 for new Geocoder URL

link to demo deployment of your smk based app is
https://smk-moh-mhsu-rt-b16795-dev.apps.silver.devops.gov.bc.ca
Verify that it looks good, if so merge the pull request which will trigger a prod deployment, otherwise close the pull request without merging
mentions / notifications: @michaelpnelson

The Vanity URL for the dev deploy is https://smk-moh-mhsu-api-gov-bc-ca.test.api.gov.bc.ca
If this is a dev deploy,  verify that it looks good, then merge the pull request to trigger prod deployment.
If this is a prod deployment, view your prod deploy at the url above :)
mentions / notifications: @michaelpnelson

link to demo deployment of your smk based app is
https://smk-moh-mhsu-rt-b16795-prod.apps.silver.devops.gov.bc.ca
Verify that it looks good, if so merge the pull request which will trigger a prod deployment, otherwise close the pull request without merging
mentions / notifications: @michaelpnelson


feat: new border radius design tokens

New border radius for round borders.
BREAKING CHANGE:
Previously the default border radius was set to 6px, now it is set to 4px. Previously the small border radius was set to 4px, now it is set to 2px.
Closes D2IQ-95453

Description
The Problem
There is inconsistent use of border-radius throughout UI Kit. There was not any information, standards, or guidelines to inform these inconsistencies.
We are following an 8px grid system. 4px will align better with that system so the design team and myself have opted to update the default to that value.
I found several locations where the border radius was set to be completely round but used different values. Due to the amount of these, it seemed fit to create a new design token to address the inconsistencies. This semantic token better describes the style applied compared to "999px" or "50%".
I wrote some additional information to share about rounded corners and consistency that I will include below.

Benefits of Rounded Corners
We are conditioned for rounded corners. Think of sharp objects and the connotations of danger. Think about what “baby-proofing” a house entails. Rounded corners communicate safety and can make us feel more at ease. So believe it or not, there is some psychology behind setting a border-radius throughout the application. There is a level of the subconscious mind that is active when we interact with the UI. We may not have the same threats as we did when we were cave people, though our brains are still trained to be on the lookout for perceived threats.
Rounded corners give off a modern appearance. They have become a design trend in the last couple of years, but there is some thought and information to support why that is.
Having rounded corners makes the UI easier for our eyes to process. They are great to use to appeal to the eye as a kind of psychological comfort.
They also make for effective content containers. Since the corners point inward, this places more focus on the content as your eyes are naturally drawn inward.
There are a few exceptions to rounded edges and situations where a sharp edge without a border-radius set might be preferred. Sharper edges do tend to express serious and professional feelings about an interface. It can give clean, aligned, and serious.
There is a space between sharp and round that is a great middle ground. It is common to encounter a 4px radius to achieve this. It expresses more of a friendly and accommodating vibe than a sharp edge at 0px.
There is a slew of other reasons and nuances to all of this, but ultimately it’s important to be consistent with the rounding of edges to align with the subtle details you want to communicate. It can impact users' thoughts overall of the product.
Benefits of Consistency
You’ve probably heard me say “for consistency” a million times by now. It’s an important and huge part of UI design!
Humans love consistency and expected behaviors when interacting with a user interface. Usability and learnability improve when elements have a consistent visual appearance and function.
When you have consistency in the design, users can more easily transfer knowledge to new contexts and learn quickly. This allows users to focus on executing tasks and not on learning how to use the product itself.
Consistency eliminates confusion. Consistency saves money and time for users!
Resources
https://uxdesign.cc/design-principle-consistency-6b0cf7e7339f
https://uxplanet.org/rounded-or-sharp-corner-buttons-def3977ed7c4

Which issue(s) does this PR relate to?

Testing

Trade-offs

Screenshots

Checklist

[x] This PR is associated with a JIRA and it is mentioned in the commit message footer ("Closes …")
[ ] Significant changes have been tested downstream to avoid breaking changes
[x] This PR contains breaking changes and states in the commit message body ("BREAKING CHANGE: …")
[x] I have reviewed the changes and provided detail to the sections above

Looks good overall! Do you ever foresee us using borderRadiusSmall for anything?
Also, this will need to be updated with the new values:
https://github.com/d2iq/ui-kit/blob/381119aee57819828be6be5ba42203ab9257e4cf/design-guidelines/design-tokens/layout.md?plain=1#L62-L63

I could see us using borderRadiusSmall in the future. I didn't want to remove this token because if someone was using it by chance it will only change the size and not cause them any errors from it missing.
We cannot update the design tokens table yet, unfortunately. There is an error with our style dictionary that I discovered while working on this. I logged it under this JIRA and brought it into the next sprint. It's only for our documentation purposes so I don't see it as a blocker for these changes.

We cannot update the design tokens table yet, unfortunately. There is an error with our style dictionary that I discovered while working on this. I logged it under this JIRA and brought it into the next sprint. It's only for our documentation purposes so I don't see it as a blocker for these changes.

Sorry, I've only just seen your note in the trade offs section now!

We cannot update the design tokens table yet, unfortunately. There is an error with our style dictionary that I discovered while working on this. I logged it under this JIRA and brought it into the next sprint. It's only for our documentation purposes so I don't see it as a blocker for these changes.

Sorry, I've only just seen your note in the trade offs section now!

No worries, I forgot to add that bit so I went back and included it! Thanks for reminding me :)


How to change style of hyperlinks in existing document?

Especially font size and name, maybe even for all content in document.
Currently i'm using this snippet for changing style in document, but links are no affected. Should I recreate them?
from docx import Document
from docx.shared import Pt

document = Document("existing file.docx")

for paragraph in document.paragraphs:
    # paragraph.style = document.styles['Normal']
    for run in paragraph.runs:
        run.font.name = 'Arial'
        run.font.size = Pt(10)

Still not sure if Issues is the place there you can ask questions, sorry if it's not appropriate.
This function is copy-paste from here. Because paragraph.runs is not returning Run instances for hyperlinks childrens.
def getParagraphRuns(paragraph):
    def _get(node, parent):
        for child in node:
            if child.tag == qn('w:r'):
                yield Run(child, parent)
            if child.tag == qn('w:hyperlink'):
                yield from _get(child, parent)
    return list(_get(paragraph._element, paragraph))

If you want get sequence of Run instances only for hyperlinks use this function instead.
def getHyperlinksRuns(paragraph):
    def _get(node, parent):
        for child in node:
            if child.tag == qn('w:hyperlink'):
                yield from returnRun(child, parent)
    def returnRun(node, parent):
        for child in node:
            if child.tag == qn('w:r'):
                yield Run(child, parent)
    return list(_get(paragraph._element, paragraph))

and voila
for p in document.paragraphs:
    runs = getParagraphRuns(p)
    # runs = getHyperlinksRuns(p)
    for run in runs:
        run.font.name = 'Arial'
        run.font.size = Pt(10)


tensorflow_js_plain initial commit

It took me a while but here is the first cut of tensorflow_js_plain.
Please let me know if you find anything I should fix before merging into the master.
I'll add readme and simplify things later on.
It'd be great if you could give me suggestions to improve the code, the config, etc.
Thanks!

Closing this PR as I'm going to simplify the code.  I'll submit another PR once I come up with a simplified version.


HHH-18875

https://hibernate.atlassian.net/browse/HHH-18875

Sharing as a draft as I couldn't test the impact on Quarkus native-images yet.

The changes look reasonable to me, but I'll wait to integrate until we see the impact in Quarkus since this is largely about/from Quarkus.

Ok, this seems to work in native.
As mentioned on zulip:

ok - it seems to all work as we wanted, by experimenting with the main branch on Quarkus and using a backport of the patches from ORM7 to 6.6:

removing the workarounds AND the GraalVM registrations from ORM, but not applying the StandardStack improvements it fails in native
then adding only the StandardStack fix, it works again

So, I couldn't verify it on the ORM7 branch but it looks like sound

rebased


integrate security-analytics & alerting for correlation engine

Description
integrate security-analytics & alerting for correlation engine
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[X] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[X] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #412 (514fa7a) into main (f7639aa) will decrease coverage by 0.51%.
The diff coverage is 12.82%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff              @@
##               main     #412      +/-   ##
============================================
- Coverage     73.20%   72.69%   -0.51%
- Complexity      700      701       +1
============================================
  Files           110      112       +2
  Lines          4631     4670      +39
  Branches        610      611       +1
============================================
+ Hits           3390     3395       +5
- Misses          985     1019      +34
  Partials        256      256

Impacted Files
Coverage Δ

...search/commons/alerting/AlertingPluginInterface.kt
39.13% <0.00%> (-7.03%)
:arrow_down:

.../commons/alerting/action/PublishFindingsRequest.kt
0.00% <0.00%> (ø)

...mmons/alerting/action/SubscribeFindingsResponse.kt
0.00% <0.00%> (ø)

...n/org/opensearch/commons/alerting/model/Finding.kt
44.04% <40.00%> (-0.55%)
:arrow_down:

...nsearch/commons/alerting/action/AlertingActions.kt
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Group policy renamed the local admin?

What happens if you have a group policy to rename the local admin?
Would this still work? Do these instructions apply at a SID level?

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

ID: c96628b7-5194-d46b-8bdc-bd0a7adeea7c
Version Independent ID: a1954f87-f958-5257-d93f-ac74bfc619be
Content: Reset Remote Desktop Services or its administrator password in a Windows VM
Content Source: articles/virtual-machines/troubleshooting/reset-rdp.md
Service: virtual-machines-windows
GitHub Login: @genlin
Microsoft Alias: genli

Thanks for the feedback! We are currently investigating and will update you shortly.

@genlin Can you please help answer the customer query. Thanks :)

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

@JustMrMak, Sorry for not reply timely.  If the reset password feature in Azure portal did not work, you can try to reset local Windows password for Azure VM offline.  You can  contact Azure support to resolve the problem quickly.
I will process to close this issue. Feel free to reopen it if you have any additional comments about this problem.

#please-close


Inference time comparison

Hi,
where did you calculate the FPS of your model on the KITTI Dataset?

You can test the FPS by counting the time-consuming from model input to output results.


Interface mismatch after restoring config.xml from gui

Step to reproduce

install opnsense 15.1.7-78bdb9aef (amd64) FreeBSD 10.1-RELEASE-p6
backup configuration
change network interface name in config.xml
restore configuration
interface mismatch is detected, select correct network interface from the list
reboot

opnsense detects a network interface mismatch

Thanks, I will check this out.

The config handling will be replaced in release 15.1.8 (next week), the new code is currently available in branch config_replace and doesn't include this issue.


update flutter 1.9

I changed the version regexp locally as stated in #2439. Is there a plan to change it in this bucket?

will need some testing as some popular manifests may need testing. and sometimes software updates break things.

regards @ratatooey


flow can't import module that uses existential operator *

Here is an example:
type.js
/* @flow */

export type Succeed <value> = {type: "Task.Succeed", value:value}
export type Fail <error> = {type: "Task.Fail", error:error}
export type Chain <error, from, to> = {
  type: "Task.Chain",
  source: Task<error, from>,
  then: (value:from) => Task<error, to>
}

export type Task <error, value>
  = Succeed<value>
  | Fail<error>
  | Chain<error, *, value>

impl.js
/* @flow */
import * as Task from "./type"

Produces following error:
rc/impl.js:2
  2: import * as Task from "./type"
                           ^^^^^^^^ ./type. Required module not found

Found 1 error

I looked into it an the existential is causing an internal fatal. I've passed it to @avikchaudhuri and he's looking into a fix.
Thanks for the detail report, btw!


Incorrect results based on format of date string

I came across a strange issue when using MockDate with a YYYY-MM-DD format date, versus MM/DD/YYYY. The results I see don't even agree with the first example shown in the README, so perhaps a recent bug?
Here's what I get in the node CLI:
> MockDate.set('2000-11-22')
> new Date().toString()
'Tue Nov 21 2000 16:00:00 GMT-0800 (Pacific Standard Time)'
> MockDate.set('11/22/2000')
> new Date().toString()
'Wed Nov 22 2000 00:00:00 GMT-0800 (Pacific Standard Time)'

I would expect that both of these should give the same result. I'm using node v12.6.0 on macOS, MockDate 2.0.3.

This is expected behavior. Whatever you pass to MockDate.set gets passed directly to the Date constructor. From MDN:

Note: Parsing of date strings with the Date constructor (and Date.parse(), which works the same way) is strongly discouraged due to browser differences and inconsistencies. Support for RFC 2822 format strings is by convention only. Support for ISO 8601 formats differs in that date-only strings (e.g. "1970-01-01") are treated as UTC, not local.

Doesn't that mean the first example in the README is wrong, then? It's showing an ISO 8601 string passed to MockDate.set(), and then new Date().toString() returning a date in CST timezone. Should the example be updated to clarify this behavior?

Updated, thanks.


Fixed images required from node_modules

This fixes https://github.com/facebook/react-native/issues/6638 by resolving AssetRegistry relatively.

cc @davidaurelio

David, when Haste update is propagated I'll be happy to add a test for this case.

Travis tests are failing:

:0: failed: caught "NSInternalInconsistencyException", "*** Assertion failure in -[RCTTestRunner runTest:module:initialProps:configurationBlock:expectErrorBlock:], /Users/travis/build/facebook/react-native/Libraries/RCTTest/RCTTestRunner.m:154: RedBox error: Unhandled JS Exception: Requiring unknown module "../../../../Libraries/Image/AssetRegistry.js". If you are sure the module is there, try restarting the packager or running "npm install"."

Thanks, James.
Maybe it needs haste change to propagate first
On Wednesday, 6 April 2016, James Ide<EMAIL_ADDRESS>wrote:

Travis tests are failing:
:0: failed: caught "NSInternalInconsistencyException", "*** Assertion
failure in -[RCTTestRunner
runTest:module:initialProps:configurationBlock:expectErrorBlock:],
/Users/travis/build/facebook/react-native/Libraries/RCTTest/RCTTestRunner.m:154:
RedBox error: Unhandled JS Exception: Requiring unknown module
"../../../../Libraries/Image/AssetRegistry.js". If you are sure the module
is there, try restarting the packager or running "npm install"."
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/facebook/react-native/pull/6822#issuecomment-206025707

node-haste v2.9.5 is published. Please update package.json to "node-haste": "~2.9.5", and bump the version in packager/package.json

will do, thanks
On Wed, Apr 6, 2016 at 11:15 AM, David Aurelio<EMAIL_ADDRESS>wrote:

node-haste v2.9.5 is published. Please update package.json to "node-haste":
"~2.9.5", and bump the version in packager/package.json
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/facebook/react-native/pull/6822#issuecomment-206287981

oh, this needs even more changes. Lovely. Let me come to your desk

That looks like a sound solution! I couldn’t have come up with anything better than this!

@facebook-github-bot import


Code completion should include class accessors

The accessors for a class are not being included in the code completion list.

Fixed in new release


AFFL_AccChange_TDTM and AFFL_ContactChange_TDTM Query in Loop

Both the AFFL_AccChange_TDTM and AFFL_ContactChange_TDTM classes have a query running in a loop that could easily be moved outside. Line 83 in AFFL_AccChange_TDTM and lines 79 and 83 in AFFL_ContactChange_TDTM.

Thanks, @kyleschmid. Good catch!

**lurch: add

Tracking W-011003

Included in beta release 1.16 (Beta 5)

Included in production release version 1.16


[x/gamm][stableswap]: Update binary search upper bounds to reflect spec

Closes: #3007
What is the purpose of the change
This PR updates binary search bounds for our stableswap CFMM to reflect what is described in our spec. It only includes changes for the two-asset solver – the multi-asset changes are tied into #3006 since there were prior important changes to the solver in that PR.
Brief Changelog

Update upper and lower bound guesses for two-asset binary search solver to reflect spec

Testing and Verifying

All existing binary search tests, solver tests, and inverse relation tests pass

Documentation and Release Note

Does this pull request introduce a new feature or user-facing behavior changes? (no)
Is a relevant changelog entry added to the Unreleased section in CHANGELOG.md? (no)
How is the feature or change documented? (not documented)

The update to our multi-asset solver was made in a separate PR, and now that we're removing our two-asset binary search solver we can close this PR


Tmux Display small Error

Hey,
love the idea and implementation so far.
I use iTerm with zsh and tmux inside.
Yolog inside of tmux displays incorrectly for me.
See attatched screenshots.
Withough Tmux :

Inside Tmux:

Hi @Anzumana , Thanks for highlighting this issue. I do not use tmux hence never had an idea about it. I'll look into the matter - it clearly looks like some stray character placed while columnating the output. Although, may I ask you why the log is grayscale ? It should be displaying colors as mentioned in README. Have you manually set it this way or is this an issue as well ?

I use solarized dark theme for my iTerm. I think it probably is related to that.
Meaning not an issue since its my fault :P


Transformmer network idle

Fixes #3437

Not yet ready.

Starting to be ready, but need to look why some tests failed.


Fix bug on CC0068 (RemovePrivateMethodNeverUsed) with Main #368

Fixes CC0068 on #368
I've created and called a new method 'IsMainMethodEntryPoint' that verifies:
Method name is "Main";
Method is static;
Method returns 'Void' or 'Int32';
Method has more than 1 parameters;
Method has no parameter
Method has parameter type 'String[]'
And added respectives tests.

Perfect! Tks @rtbortolin!


Enhance exponential backoff

This PR enhances the exponential backoff by adding jitter to prevent a thundering herd of requests.
The base backoff is increased to 1s, because 10ms can still create significant load on a service that might already be overwhelmed.
Finally, log messages are added or updated to provide useful diagnostic information in failure scenarios.

Question for the maintainers: Should we make the backoff settings configurable via the module.yaml?


JIT trace does not work with PyTorch 1.0

ERROR: test_mlp_make_dot_from_trace (__main__.TestTorchviz)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test.py", line 27, in test_mlp_make_dot_from_trace
    dot = make_dot_from_trace(trace)
  File "/Users/szagoruyko/anaconda3/lib/python3.6/site-packages/torchviz/dot.py", line 133, in make_dot_from_trace
    list_of_nodes = parse(graph)
  File "/Users/szagoruyko/anaconda3/lib/python3.6/site-packages/torchviz/dot.py", line 99, in parse
    inputs = [replace(i.uniqueName(), scope) for i in n.inputs()]
  File "/Users/szagoruyko/anaconda3/lib/python3.6/site-packages/torchviz/dot.py", line 99, in <listcomp>
    inputs = [replace(i.uniqueName(), scope) for i in n.inputs()]
  File "/Users/szagoruyko/anaconda3/lib/python3.6/site-packages/torchviz/dot.py", line 80, in replace
    return '/'.join([scope[name], name])
KeyError: 'input.1'

the solution is probably somewhere in https://github.com/lanpa/tensorboardX/blob/master/tensorboardX/pytorch_graph.py#L188

Hello! I have the same problem. The JIT Trace does not work with PyTorch 1.0. And I updated my pytorch_graph.py in tensorboardX as you said in https://github.com/lanpa/tensorboardX/blob/master/tensorboardX/pytorch_graph.py#L188
, but it dosen't work at all.
Traceback (most recent call last):   File "/home/zhouqy/home/zhouqy/tmp/Mofan_Pytorch/hello/test.py", line 38, in <module>     make_dot_from_trace(trace)   File "/home/zhouqy/anaconda3/lib/python3.6/site-packages/torchviz/dot.py", line 133, in make_dot_from_trace     list_of_nodes = parse(graph)   File "/home/zhouqy/anaconda3/lib/python3.6/site-packages/torchviz/dot.py", line 99, in parse     inputs = [replace(i.uniqueName(), scope) for i in n.inputs()]   File "/home/zhouqy/anaconda3/lib/python3.6/site-packages/torchviz/dot.py", line 99, in <listcomp>     inputs = [replace(i.uniqueName(), scope) for i in n.inputs()]   File "/home/zhouqy/anaconda3/lib/python3.6/site-packages/torchviz/dot.py", line 80, in replace     return '/'.join([scope[name], name]) KeyError: 'input.1'

any updates?

I think I fixed this one in the PR I just submitted.


Toggle pw

🚀 Pull Request
Description
This PR introduces the toggle password visibility feature to the authentication form using the lucide-react icons for "open eye" and "closed eye". This improves the user experience by allowing users to view or hide their password during input.
Changes Made

Added useState to manage the toggle state for password visibility.
Integrated Eye and EyeOff icons from lucide-react to indicate the password visibility status.
Updated password and confirm password input fields to use the toggle logic on both login and signup pages.
Minor styling adjustments to align the icons with the input fields.

How it Works

By default, the password is hidden.

Clicking on the "eye" icon toggles between showing and hiding the password.

Both password and confirm password fields support this feature independently.

Fixes #124

Closes #124

Type of Change

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

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Screenshot of final output/video
https://github.com/user-attachments/assets/ca9ec2f1-af3a-4f4b-a157-e0e14beed527

@Aarzookhunger @rahulsainlll please merge.


Indentation in XML/JSON view broken

Describe the bug
The indentation in the XML and JSON view isn't working anymore. It's not displayed and I cannot indent a line using SPACE or TAB.

Steps to reproduce

Open XML or JSON view
Indentation not working
Cannot indent

Expected behavior
Indentation works.
Environment

Camunda Modeler Version: 5.28-rc.1

Additional context
No response

I've run git bisect, and the first commit to break it is the form-js update: https://github.com/camunda/camunda-modeler/commit/8f6662dc5a8e6e558a6d2052a747b5654673d031

The update installs new versions of multiple codemirror packages. I will update in the client and see if it fixes the problem.

I've got a fix for this, and will create a PR in a second.

Closed via https://github.com/camunda/camunda-modeler/pull/4560.


fcitx: use enchant2

Motivation for this change
Part of #38506.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @

@GrahamcOfBorg build fcitx

I didn't do extensive testing, but I got word suggestions with ctrl-alt-h after putting dictionaries in .config/enchant/... in keyboard mode, so at least the library should work.


NAT64 implementation

This PR implements modules which allow to use NAT64 from OT stack.

If we're going public with this, why not send the patch upstream?

I agree with @rlubos, this code is quite generic and the Nordic specific "secret sauce" is not really there, it would make sense to upstream this.

PR in zephyr created: https://github.com/zephyrproject-rtos/zephyr/pull/75012

Thanks for opening upstream PR, commits should be marked with [nrf fromlist] now (or [nrf fromtree] if we can wait for the upstream PR to be merged).

Tracked in separate PR.


Not working at all.

Thanks for the issue.
Cause: It was a missing declaration in the for loop.
I'm glad you opened this issue.


Allow passing options to react-test-renderer .create() method

 Issue by jrdrg
Wednesday Jan 25, 2017 at 23:09 GMT
Originally opened as https://github.com/storybooks/storyshots/pull/76

This PR adds the ability to pass options to the react-test-renderer create method, for example to allow mocking refs as per https://facebook.github.io/react/blog/2016/11/16/react-v15.4.0.html#mocking-refs-for-snapshot-testing

jrdrg included the following code: https://github.com/storybooks/storyshots/pull/76/commits

 Comment by jrdrg
Tuesday Jan 31, 2017 at 15:58 GMT

@arunoda @roonyh without this PR, running a snapshot test on a component that uses a ref will result in the following error:

 Comment by jrdrg
Thursday Feb 16, 2017 at 18:57 GMT

@roonyh can you take a look when you get a chance?

 Comment by STRML
Tuesday Feb 14, 2017 at 03:40 GMT

This fixes #58 - would be very useful for us to deal with components that use refs.

 Comment by testerez
Saturday Mar 04, 2017 at 00:26 GMT

With @jasonmorganson solution we could have a per-story mock: https://github.com/storybooks/storyshots/issues/58#issuecomment-265554582
Maybe an even better solution would be to add it to story.options.storyshots.createNodeMock. It would be cleaner if we end up needing more configuration options...
That said, options passed to initStoryshots could still be usefull as a default.

Hi, what's the status on this? I need this functionality and would like to do what I can to get it merged.

Hi, I've made a proposal for a react component-based api for defining stories and passing arbitrary props: https://github.com/storybooks/storybook/issues/993

It's now possible to set a (admittedly global) createNodeMock via the storyshots test option.
We still need a solution to doing it per-story, I suppose. See @theinterned's linked discussion issues.

@tmeasday can we close this now, or do we want to continue the per-story discussion here?

I think it's useful to have an open issue about this because it is something people need.


SSH password issue

I fixed an issue I had where there was no way for me to use docker machine as a non root user because I would get an error saying that sudo had no tty or askpass present https://github.com/docker/machine/issues/1569
I added an option for the generic driver of generic-ssh-pass which is the password of the generic-ssh-user. I modified all the ssh commands that involve sudo (I'm pretty sure I got them all) to pipe the password to sudo -S
I was able to fix my issue and docker compose now works with sudo because I can pass it my password

I had formatting errors I need to re run the coverage and such


Create stand alone scripts for reporting

This PR creates two scripts for report generation:
The first, import.ts is used to import some metadata scraped from OpenShift. This repo metadata is used to augment the compliance records.
The second, report.ts creates export files in CSV format of a repos compliance status for each known ministry.

@patricksimonian Solid feedback. Changes made.

@patricksimonian Sorry, re-requested a review before I saw you approved it. Thx.

no worries it allows me to use more fire emojis which is never a bad thing


Open new suggestion list in typeahead

In uib-typeahead, I am fetching list of suggestions for typeahead drop down from a service call. On selection of an option by the user, I need to to display a second list of options attached to same text box as the previous one. I can keep a flag and update the list to be returned from the function call returned to the typeahead attribute by setting/resetting the flag in the function against typeahead-on-select.
Please suggest, how can I force the drop down options to open/display again when the user selects the option from first suggestion list?
<input class="form-control" id="typeAhead" type="text" placeholder="Type an address" ng-model="$ctrl.selectedItem" uib-typeahead="items as items.FormattedString for items in $ctrl.querySearch($viewValue)" typeahead-on-select="$ctrl.onSelect($item, $model, $label)">

Closing this as this project is no longer being maintained, per the README and the ISSUE_TEMPLATE.


build(dev-tools): replace local import with react package

whoooops, must have been one of those IDE "fix missing imports" but did it badly


views.RuleList.get_sitemap_urls modifies settings.SITEMAP_URLS

Because of this line: https://github.com/jezdez/django-robots/blob/8d59b0cb7c9d3fd0eb0bd11fbb6f847b390369e5/robots/views.py#L33.
Is get_sitemap_urls intended to have this side effect?  If not, a possible fix would be to change the line to
sitemap_urls = settings.SITEMAP_URLS[::].

Good catch, mind if you open a PR?

Pr :+1:


Add missing image-references required by ART build

Signed-off-by: Mohamed Mahmoud<EMAIL_ADDRESS>

/override ci/prow/ingress-node-firewall-e2e-metal-ipi


Fix an error from drf-spectacular that returns 500 on GET /swagger.yml

The error was due to reference within a class for a class member without namespacing with the  class itself, or reference with Status instead of Project.Status.

Task linked: QF-5023 [sentry] Cannot open the swagger documentation


Remove all copyrighted Apple resources

Need to remove any included files that are property of Apple, by request of evilgoldfish.
This means getting rid of the two Apple Pay sounds. We'll need to get rid of it as an option as well.
For the default sound we can load the native file.

Done.


Ability to specify filters in Schema Compare

Is your feature request related to a problem? Please describe.
We install a lot of tables in a single database, clearly organised in different schema's. We often need to deploy changes for a set of tables in a specific schema. Currently schema compare doesn't have the ability to specify a filter before comparing. It compares all tables between 2 database.
Describe the solution or feature you'd like
The ability to specify filters like: only compare if the source schema matches a given pattern, or only compare if tables matches a given pattern, ...
Describe alternatives you've considered
RedGate has a similar compare capability to detect changes and generate a deployment script. In RedGate we do have the ability to set filters before comparing.
Additional context
Add any other context or screenshots about the feature request here.

How we can filter tables like SSMS by right click on Tables folder?

Would absolutely need this

3 years and no news.
it is absolutely necessary!

@kisantia where does this priorization come from. Lots of users are interested in this feature (see thumbs up of OP and the plenty duplicate issues that you linked).
For our organization this is blocker preventing us from moving to ADS...


Update to controller-runtime v0.15.0

Why is this needed: Big performance improvements for clusters with many CRDs installed via the new lazy restmapper client.
https://github.com/kubernetes-sigs/controller-runtime/pull/2116
There are some breaking changes though:
https://github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.15.0

We should be careful about the (unintended?) semantic incompatibilities such as https://github.com/kubernetes-sigs/controller-runtime/issues/2354


[BUG] Failed to perform commissioning step 17

Reproduction steps
Hello, when I commission my nano strip. encountered the problem like :
[1682919609.222886][9686:9688] CHIP:CTL: Failed to perform commissioning step 17
[1682919609.222895][9686:9688] CHIP:CTL: Going from commissioning step 'ThreadNetworkEnable' with lastErr = '../../src/app/CommandSender.cpp:248: CHIP Error 0x00000032: Timeout' -> 'Cleanup'
I tried to factory reset my otbr by sudo ot-ctl command but it does not work
Bug prevalence
every time
GitHub hash of the SDK that was being used
linux
Platform
other
Platform Version(s)
No response
Anything else?
NETWORK.txt

@Agatha2333 What that log shows is that chip-tool sent the EnableNetwork command and the server never responded.  Eventually the command invoke timed out.
What does the server log say?

No, I mean the log from the "nano strip" being commissioned.  How you do that, exactly, depends on the specific device involved.

I mean that the issue is that the device never responded with success (or failure, or anything else) to the command to join the Thread network.  The log from the client gives us no way to figure out why it didn't respond.  Did the device crash?  Is it just buggy and does not implement that command correctly?  Did it simply take longer to join the network than the timeout the client used? Something else?
So if you want to figure out why this is not working, we need to understand what the device is doing when it receives this command, and that almost certainly requires the device log.  You might be able to make some conclusions based on the OTBR log (e.g. whether the device tried to join the network at all), but that will not tell you anything about why the device never responded.

@Agatha2333 I also got same error, could you please how you resolved it ?

@Agatha2333 I also got the same error could you please say me how you resolved it ?

I factory reset the device but still I'm getting same error


Fix openvino model integration compatibility for optimum > v1.9.10 (#338)

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


docs(sort-intersection-types): fix information about version introduction

Description
fix information about version introduction
Additional context
close #133

What is the purpose of this pull request?

[ ] Bug fix
[ ] New Feature
[x] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.
[x] Read contribution guidelines.

Thanks!


Foundry is not able to install solc.

Component
Forge
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
forge 0.2.0
What command(s) is the bug in?
forge test, forge build
Operating System
Linux
Describe the bug
I recently installed ubuntu 22 and then installed foundry on it.
forge init works fine, creates me a baseline project, but when I run forge test or build it gets stuck on Installing solc version 0.8.19 for hours on end.

Closing as stale, and I believe this was a faulty solc version in SVM at the time.


Add split_to_map function to string operations

ref. issue #2544
This commit adds a function which is expected to work almost the same as hive's str_to_map() function that generates a map based on input string and two delimiters.
Additionally, we might need to discuss a proper function name.

Ping me after you rebase and resolve the comments. Thanks.

This function is useful. However, it doesn't look like the original author is still working on it.
If any one is interested, feel free to submit a new pull request.

Hi @haozhun,
Sorry for my late response. I rebased and modified my PR based on your suggestions. Please review it if you have time. Thanks.

I think we should make some changes in the way a couple edge cases work:

an empty value should not be skipped, it should be empty string instead. That is split_to_map('1=', ';', '=') is equal to map(array['1'], array[''])
duplicate keys are not allowed. That is split_to_map('1=a;1=b', ';', '=') should throw INVALID_FUNCTION_ARGUMENT error code
entry delimiter and key-value delimiter must not be equal. That is split_to_map('1=', '=', '=') should throw INVALID_FUNCTION_ARGUMENT error code
key-value delimiter must appear exactly once in each entry. That is split_to_map('1==', ';', '=') and split_to_map('1', ';', '=') should throw INVALID_FUNCTION_ARGUMENT error code

Hi @cberner,
Thanks for your advice. I rebased and applied your ideas. I'll squash all the PRs into one after everything looks fine to you.

an empty value should not be skipped, it should be empty string instead. That is split_to_map('1=', ';', '=') is equal to map(array['1'], array[''])

I think this is already satisfied according to this test, right?
Do you think we could also allow an empty key as well or not?

duplicate keys are not allowed. That is split_to_map('1=a;1=b', ';', '=') should throw INVALID_FUNCTION_ARGUMENT error code

Sure, done. I used Map to check if there're duplicate keys. If this is not fine, please let me know the better way :)

entry delimiter and key-value delimiter must not be equal. That is split_to_map('1=', '=', '=') should throw INVALID_FUNCTION_ARGUMENT error code

Agree. I've done it.

key-value delimiter must appear exactly once in each entry. That is split_to_map('1==', ';', '=') and split_to_map('1', ';', '=') should throw INVALID_FUNCTION_ARGUMENT error code

I think this requirement is necessary to solve the ambiguity of "which word is used(deleted) to split key-value entry"? Then I agree :) commit

Merged. Thanks!

Thanks for your help!
I think you might close https://github.com/prestodb/presto/issues/2544 as well?


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v3.17 to before v4.9.273",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=31434f496abb9f3410b10f541462fe58613dd3ad",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=a979e601000982a3ca693171a6d4dffc47f8ad00"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "31434f496abb9f3410b10f541462fe58613dd3ad",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "a979e601000982a3ca693171a6d4dffc47f8ad00",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "NFS: Fix a potential NULL dereference in nfs_get_client()\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v4.9.273 by commit a979e601000982a3ca693171a6d4dffc47f8ad00, it was introduced in version v3.17 by commit 31434f496abb9f3410b10f541462fe58613dd3ad. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1000848


Add some personality, fun, styling to the 404 page

We have added a custom 404 page, right now it's very basic. 404 pages are a good opportunity to have a bit of fun if anyone wants to add to it.

Just asked people on the Slack to chime in with their favourite 404 pages. Hopefully we'll get some good inspiration!


How to correctly set brushExtents

Using the following code, I'm trying to set a brush extent, I just took this from the demo example.
this.parcoords = ParCoords()('#parcoords')
.data([
        [0,-0,0,0,0],
        [1,-1,1,2,1,
        [2,,4,4,0.5],
        [3,,9,6,],
        [4,-4,16,8,0.25]
      ])
      .render()
      .createAxes()
      .brushMode('1D-axes')
      .brushExtents({"2": [3,4]});

But when the brushExtents gets executed I get an error in the brushExtents function:

ERROR TypeError: pc.g(...).selectAll(...).reduce is not a function at Function.eval [as brushExtents] (parcoords.mjs:100)

BrushExtents function:
var brushExtents = function brushExtents(state, config, pc) {
  return function (extents) {
    var brushes = state.brushes;

    if (typeof extents === 'undefined') {
      return d3Collection.keys(config.dimensions).reduce(function (acc, cur) {
        var brush = brushes[cur];
        //todo: brush check
        if (brush !== undefined && d3Brush.brushSelection(brushNodes[cur]) !== null) {
          acc[d] = brush.extent();
        }

        return acc;
      }, {});
    } else {
      //first get all the brush selections
      var brushSelections = pc.g().selectAll('.brush').reduce(function (acc, cur) {
        acc[cur] = select(this);
        return acc;
      });

      // loop over each dimension and update appropriately (if it was passed in through extents)
      d3Collection.keys(config.dimensions).forEach(function (d) {
        if (extents[d] === undefined) {
          return;
        }

        var brush = brushes[d];
        if (brush !== undefined) {
          //update the extent
          brush.extent(extents[d]);

          //redraw the brush
          brushSelections[d].transition().duration(0).call(brush);

          //fire some events
          brush.event(brushSelections[d]);
        }
      });

      //redraw the chart
      pc.renderBrushed();

      return pc;
    }
  };
};

This is a bug. Version 2.0.3 has been released with the bug fix.

Great! Thanks for the quick response!

You're welcome.


Fix ttnn.embedding when the shape of indices is unknown

Ticket
Fix a particular case in #407
Problem description
There is a failing generated test case for conversion to ttnn.embedding:
https://github.com/tenstorrent/pytorch2.0_ttnn/blob/8b7d5ce619a6b3d86900cbdbfc1c0d0e33a676c5/torch_ttnn/passes/lowering/to_tt_guard_autogen.py#L239
The argument indices does not have a known shape.  This triggered a runtime error.
What's changed
Gracefully run the untiled algorithm when the shape of indices is unknown.

@swimdi, I made it pass pytest tests/models/perceiver_io locally, but CI fails now.  I also ensured that lowering tests passed locally.  Now I'm running model tests.  Everything seems fine so far.
tests/models/MobileNetV2/test_MobileNetV2.py .                                                                                [  0%]
tests/models/albert/test_albert_masked_lm.py ....                                                                                [  3%]
tests/models/albert/test_albert_question_answering.py .                                                                              [  3%]
tests/models/albert/test_albert_sequence_classification.py .                                                                         [  4%]
tests/models/albert/test_albert_token_classification.py .                                                                            [  5%]
tests/models/autoencoder_conv/test_autoencoder_conv.py ss                                                                            [  6%]
tests/models/autoencoder_conv/test_autoencoder_conv_v2.py ..                                                                         [  7%]
tests/models/autoencoder_linear/test_autoencoder_linear.py ..                                                                        [  8%]
tests/models/beit/test_beit_image_classification.py ....                                                                             [ 11%]
tests/models/bert/test_bert.py .                                                                                [ 11%]
tests/models/bloom/test_bloom.py .                                                                                [ 12%]
tests/models/clip/test_clip.py .x.                                                                                [ 13%]
tests/models/codegen/test_codegen.py .x                                                                                [ 14%]
tests/models/deit/test_deit.py ..                                                                                [ 15%]
tests/models/detr/test_detr.py .x                                                                                [ 16%]
tests/models/distilbert/test_distilbert.py .                                                                                [ 16%]
tests/models/dpr/test_dpr.py .                                                                                [ 17%]
tests/models/falcon/test_falcon.py .                                                                                [ 18%]
tests/models/flan_t5/test_flan_t5.py .x                                                                                [ 18%]
tests/models/glpn_kitti/test_glpn_kitti.py .x                                                                                [ 19%]
tests/models/gpt2/test_gpt2.py .                                                                                [ 20%]
tests/models/gpt_neo/test_gpt_neo.py .x                                                                                [ 20%]
tests/models/hand_landmark/test_hand_landmark.py .x                                                                                [ 21%]
tests/models/hardnet/test_hardnet.py ..                                                                                [ 22%]
tests/models/llama/test_llama.py .                                                                                [ 23%]
tests/models/mlpmixer/test_mlpmixer.py .x.x                                                                                [ 24%]
tests/models/mnist/test_mnist.py ..                                                                                [ 25%]
tests/models/mobilenet_ssd/test_mobilenet_ssd.py .x                                                                                [ 26%]
tests/models/musicgen_small/test_musicgen_small.py s                                                                                [ 26%]
tests/models/openpose/test_openpose.py ss                                                                                [ 28%]
tests/models/openpose/test_openpose_v2.py ..                                                                                [ 29%]
tests/models/opt/test_opt.py .x                                                                                [ 30%]
tests/models/perceiver_io/test_perceiver_io.py .                                                                                [ 30%]
tests/models/resnet/test_resnet.py ..                                                                                [ 31%]
tests/models/resnet50/test_resnet50.py ..                                                                                [ 33%]
tests/models/roberta/test_roberta.py .                                                                                [ 33%]
tests/models/segformer/test_segformer.py .x.x                                                                                [ 35%]
tests/models/segment_anything/test_segment_anything.py s                                                                             [ 35%]
tests/models/speecht5_tts/test_speecht5_tts.py .                                                                                [ 36%]
tests/models/squeeze_bert/test_squeeze_bert.py .                                                                                [ 36%]
tests/models/stable_diffusion/test_stable_diffusion.py s                                                                             [ 37%]
tests/models/stable_diffusion/test_stable_diffusion_v2.py .x                                                                         [ 38%]
tests/models/t5/test_t5.py .x.x.x                                                                                [ 40%]
tests/models/timm/test_timm_image_classification.py .......x.......x..............                                                   [ 57%]
tests/models/torchvision/test_torchvision_image_classification.py ...............................................

Sometimes CI is instability, maybe you can click Re-run failed jobs to check it, or you can check run pytest tests/models/ --splits 40 --group ${{ matrix.group }} on your VM


Invite group member invalid link

The Invite button for group members redirect to an invalid link and shows label that it's nothing here to display.

Fixed in release 1.2.18.


Can allowed delivery time be modelled?

In any language, can OR-Tools add allowed delivery time dimension to the solver? The problem would be for example with emergency services, an organ can be in transport for only 30 minutes and not more.
Can this be solved by adding another time dimension as in allowed cumulative time at the point of delivery?

You should use the mailing list for this kind of question.
Supposing you have a Pickup and Delivery node for each organ transport.
You can add a "Duration" dimension which will count duration from point A to B.
I think you can add a constraint on the CumulVar, pseudo code:
pickup = manager.NodeToIndex(Pickup_idx)
delivery = manager.NodeToIndex(Delivery_idx)
routing.solver().Add(
  duration_dimension.CumulVar(delivery) <=
  duration_dimension.CumulVar(pickup) + 30 )

I'm sorry for not using the right channels as I'm new to Github. And thanks for the reply. That confirms the solution.


Update slides.html- Including ASCII code

Added a slide - ASCII 33

Thanks @Swathi266 for your contribution! Sorry for the slowness in merging. I've tweaked the formatting a bit and added you to the contributors file :+1:


add ext_gen script and prime number snippet

this python script will automatically convert a file in any launguage to vscode snippet body which is really helpfull in some cases for Data Structures and algorithm snippets
Added a prime number snippets which checks whether a give number is prime or not

i have added .vscodeignore so that vscode_ext_gen.py is not bundled with our release


Create first javascript test file

Description
The project needs test files to ensure the application functions properly into the future. There will be a larger branch in the future to write test files for all python and javascript files. This issue will function as a leaping off point to establish a first test file and ensure the testing package works correctly.
Tasks

Download and set up testing software
Setup test file folder in project directory
Create first test file
Ensure test file works as intended

After further research Qunit looks like it may be the best option to test the javascript files within a django project.


Infinite Rerenders on Hooks

There are some infinite rerenders on some hooks. See #96, #95 and #93.

When Firestore queries are used with useMemo in a production code, this issue solves itself, but we gotta find a way to resolve this issue internally in the library.


Show failed transactions in transaction list

Is your feature request related to a problem? Please describe
The Alby extension currently only shows successful transactions
Describe the solution you'd like
Show failed transactions so that I know what payment was successful.
Are you working on this?
No

Will be solved by Audit-log / filters via https://github.com/getAlby/meta/issues/15

This seems to no longer exist. Did this functionality get implemented ?

no this hasn't been implemented yet. This issue actually needs a review first before it can be tackled.


Installer: Check for an existing installation, skip applying

Please comment/advise on FIXME and TODO comments...
The diff is easiest to read with whitespace changes ignored.
Also: This is only very lightly tested.

Validated:
✔ Empty cluster install
✔ Completing the install after previously having installed the correct AES version
✔ Handling "upgrade" path
edgectl install
-> Installing the Ambassador Edge Stack 1.3.0.
-> Found an existing installation of Ambassador Edge Stack 1.2.2.

This tool does not support upgrades/downgrades at this time.

Aborting the installer to avoid corrupting an existing installation of AES.

See https://www.getambassador.io/user-guide/getting-started/

Full logs at /var/folders/n6/w_qkrxw148j_l7h_45z35c0r0000gn/T/edgectl-install-20200323-150118.log

Error: install: existing AES 1.2.2 found when installing AES 1.3.0

✔ Handling installing just the CRDs
edgectl install
-> Installing the Ambassador Edge Stack 1.3.0.
-> Found Ambassador CRDs in your cluster, but no AES installation.

You can manually remove installed CRDs if you are confident they are not in use
by any installation.
Removing the CRDs will cause your existing Ambassador Mappings and other
resources to be deleted as well.

$ kubectl delete crd -l product=aes

Aborting the installer to avoid corrupting an existing (but undetected)
installation.

See https://www.getambassador.io/user-guide/getting-started/

Full logs at /var/folders/n6/w_qkrxw148j_l7h_45z35c0r0000gn/T/edgectl-install-20200323-150558.log

Error: install: CRDs found


msgs9 and msgs10 are not compatible

I can communicate beetween two different version of gz-msgs and gz-transport but updates on message version 10 break  compatibility for no reason.
Example:
Version9
message IMU
{
  /// \brief Optional header data
  Header header                = 1;

  string entity_name           = 2;
  Quaternion orientation       = 3;
  Vector3d angular_velocity    = 4;
  Vector3d linear_acceleration = 5;
}

Version10
message IMU
{
  /// \brief Optional header data
  Header header                          = 1;

  string entity_name                     = 2;

  Quaternion orientation                 = 3;
  /// Row major about x, y, z
  Float_V orientation_covariance         = 4;

  Vector3d angular_velocity              = 5;
  /// Row major about x, y, z
  Float_V angular_velocity_covariance    = 6;

  Vector3d linear_acceleration           = 7;
  /// Row major about x, y, z
  Float_V linear_acceleration_covariance = 8;
}

There is no reason to re-enumerate fields of proto, it should have been like this:
message IMU
{
  /// \brief Optional header data
  Header header                = 1;

  string entity_name           = 2;
  Quaternion orientation       = 3;
  Vector3d angular_velocity    = 4;
  Vector3d linear_acceleration = 5;
  Float_V orientation_covariance         = 6;
  Float_V angular_velocity_covariance    = 7;
  Float_V linear_acceleration_covariance = 8;
}

There is any specific reason why its like that?

It was probably done to keep similar fields grouped together. In hind sight, we should have added those new fields without changing the existing field positions. At this point, changing it in gz-msgs10 would break ABI, so I would not be in favor of that.


Login status does not persist anymore

After a user logs in and reloads the page, he has to login again.
Related to auth0 authentication policy change: Github access token is no more returned when getting user profile data.
https://auth0.com/docs/what-to-do-once-the-user-is-logged-in/calling-an-external-idp-api

I had to rewrite the authentication part in bestofjs-webtaks repo, see this commit.
BEFORE:

The user sends his/her auth0 token in the request header
The Express server middleware calls auth0 /tokeninfo end point with the user token to get the user's full Github profile, including the Github access token, used to call the Github the API on behalf of the user.

AFTER:
tokeninfo end point does not return anymore the Github access token.
The process to get the user's Github token server-side requires 2 steps:

Using auth0 secret key, call https://bestofjs.auth0.com/oauth/token to get a special token that will be needed to request user's "full" profiles
Using the previous token, call https://bestofjs.auth0.com/api/v2/users/github|:user-id to get the Github profile for the given user.

So from a given Github user's id, we can get the Github access token.
But, for security reasons we cannot create a server route that takes a user's id as a parameter and perform tasks on behalf of the user using the Github token. Otherwise any hacker could pass any Github id and trick the system.
The solution is to deal with auth0 applications tokens.

User requests send auth token to the server
The server calls auth0 API to get user's id from the token

So it's not 1 but 3 http requests that are required server-side to get the user Github tokens!

Fixed by this commit: https://github.com/michaelrambeau/bestofjs-webui/commit/73f3e53d9a567439a9efb5ea927941ccb021a5c0


Updated Documentation

This mention in the documentation sounds like a carry over from the Obj-C implementation.
The remaining documentation when you remove this feels sufficient, as the code is sufficiently self documenting IMHO.
If the task fails the promise is rejected with code `PMKTaskError`, and
`userInfo` keys `PMKTaskErrorStandardOutputKey`,
`PMKTaskErrorStandardErrorKey` and `PMKTaskErrorExitStatusKey`.

Thanks. 👍🏻


Histogram: Exclude empty buckets from json

This is only for the sparsehistorgam branch.

As this is just for the PoC, merging for now. (@codesome is aware, but cannot do a detailed review at the moment.)


Make defining User-agent header case insensitive

The User-agent header is the only one ffuf sets up automatically. There's currently a bug that makes defining a custom user agent header name case sensitive;
This does not work:
ffuf -H "User-agent: custom string" ...

While this does:
ffuf -H "User-Agent: custom string" ...

As noted in #169 @bjhulst wishes to tackle this issue.

Roger.

This was fixed in #173
Thanks again @bjhulst !

FFUF returns incorrect data with its useragent header, all ffuf data is wrong , it kept returning 403 forbidden when its not

Project37 reacted with eyes emoji

Some websites block ffuf and gobuster user agents, We have to randomize user agents for fuzzing

how randomize user agents?


[Outlook] (EWS) Remove option of obsolete validation library

Docs Build status updates of commit 979bc33:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/outlook/validate-an-identity-token.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Parsing error when using 'not in'

line 19 always gives me an error(19,19): ':' expected at the end of line
if component.type() not in database.keys():
This happens in everything I have tried not in with code wise.  A helpful forum user pointed out another way to make it work http://godotengine.org/topics/14086 but I feel like this should be correct usage.
entitymanager.gd.txt

The reason why this is incorrect is that 'not' is just a nice substitution for !, the 'not' operator, throwing ! in the middle of that line makes no sense.
if (component.type() in database.keys()):
Is asking a question, the result is a boolean result (is component.type() in database.keys()?), if you want to know when the result is not found then you need to ask the question with the right syntax:
if !(component.type() in database.keys()): or
if not (component.type() in database.keys()):
There is no compound operator of !in or not in, because there doesn't need to be, the syntax for that query already exists, if this issue bothers you syntactically then simply change the question you are asking from: is it not there?  to  is it there? then reverse your if and else cases

The not in operator exists in Python but indeed not in GDScript. As to whether it should be implemented, I don't have any strong opinion. As @Faustabov pointed it out, using not thing in list already works fine, so the gain of supported not in directly would likely be minimal and add some complexity to the parser.

I'm fine with it not being added. I just thought this was a bug. However, GDscript is pitched as being python like so It should be important to note in the docs where it differs. I simply expected it to be python-ish because I did not see anything to the contrary on this subject.

IMO GDScript don't have to be like Python 1:1. I do agree that the docs should state that GDScript is not that much Python-like.
not in seems very natural indeed, though. But then again it is another complexity in the parser to maintain.

I agreed.

I don't think this one is necessary really, just make it clear in the docs, that GDScript is different in some aspects to Python :). That's just syntactic sugar that isn't really necessary here.

I see no reason we can't remove feature proposal label and add a documentation label and move the bug to the new godot-docs issue tracker.

Issue is still open, so resurrecting. IMO not in is very clean and natural - if it's not a big hassle, +1 for it being added.

I would add is not too if we're going that route.

I would add is not too if we're going that route.

Maybe with isn't as syntactic sugar? :P

Checking in just to track this. Would like those syntactic sugar added.

Any updates? Would make the scripts slightly more readable.

I like that this issue is 4 years old now 🗡

@IceCubeDev Please don't bump issues without contributing significant new information. Use the :+1: reaction button on the first post instead.

what this will do is simply replace like this when parsing:
(expr) not in (expr) => not (expr) in (expr)
but would this be a proper fix and does gdscript need this syntax sugar?
diff --git a/modules/gdscript/gdscript_parser.cpp b/modules/gdscript/gdscript_parser.cpp
index a37fc579e7..982a612ec4 100644
--- a/modules/gdscript/gdscript_parser.cpp
+++ b/modules/gdscript/gdscript_parser.cpp
@@ -1380,7 +1380,20 @@ GDScriptParser::Node *GDScriptParser::_parse_expression(Node *p_parent, bool p_s
                        case GDScriptTokenizer::TK_PR_IS: op = OperatorNode::OP_IS; break;
                        case GDScriptTokenizer::TK_CF_IF: op = OperatorNode::OP_TERNARY_IF; break;
                        case GDScriptTokenizer::TK_CF_ELSE: op = OperatorNode::OP_TERNARY_ELSE; break;
-                       default: valid = false; break;
+                       default: {
+                               if (tokenizer->get_token() == GDScriptTokenizer::TK_OP_NOT && tokenizer->get_token(1) == GDScriptTokenizer::TK_OP_IN && expression.size() > 0) {
+                                       Expression e2;
+                                       e2.is_op = true;
+                                       e2.op = OperatorNode::OP_NOT;
+                                       expression.insert(expression.size() - 1, e2);
+                                       tokenizer->advance();
+                                       op = OperatorNode::OP_IN;
+                                       valid = true;
+                                       break;
+                               }
+                               valid = false;
+                               break;
+                       }
                }

                if (valid) {

Feature and improvement proposals for the Godot Engine are now being discussed and reviewed in a dedicated Godot Improvement Proposals (GIP) (godotengine/godot-proposals) issue tracker. The GIP tracker has a detailed issue template designed so that proposals include all the relevant information to start a productive discussion and help the community assess the validity of the proposal for the engine.
The main (godotengine/godot) tracker is now solely dedicated to bug reports and Pull Requests, enabling contributors to have a better focus on bug fixing work. Therefore, we are now closing all older feature proposals on the main issue tracker.
If you are interested in this feature proposal, please open a new proposal on the GIP tracker following the given issue template (after checking that it doesn't exist already). Be sure to reference this closed issue if it includes any relevant discussion (which you are also encouraged to summarize in the new proposal). Thanks in advance!


Add appropriate message in notifications fragment when not logged in

Actual Behaviour
Empty view shows "No Notifications" in notification fragment when not logged in.
Expected Behaviour
Empty view should show appropriate message in notification fragment when not logged in.
Screenshots of the issue

Would you like to work on the issue?
yes

Showing custom message when you are directly navigated out seems like an overkill

@iamareebjamal I think that navigation flow of opening notification fragment is something odd.
If user do not want to login then he have to do two click, one to exit login activity and one for going elsewhere.
In my point of view the good flow would be If user click notification in drawer, than he find out he should login to see notification message. There should be Login button at the bottom if he want to login.
But to add login button is out of this issue, so I only updated empty view message.
Please give suggestion, If this flow good than I will create new issue to change navigation flow.

Yes, please address this issue in a separate PR and also do it for any other fragment which needs the user to be logged in


RefId's don't get populated for Paratext Projects

This is what is returned from pretranslations:
  {
    "textId": "3JN",
    "refs": [],
    "translation": "To Gaius, whom I love in the truthI, the elder, write to you:"
  },
  {
    "textId": "3JN",
    "refs": [],
    "translation": "My dear friend, I pray that you may be perfect in everything, healthy and sound in every way."
  },

The Refs should be populated with the verse reference.

Fixed here.


Order placement error

def PLACEORDER(vid):
SETUP ORDER
order = Order(
action=Order.Action.BUY,
order_type=Order.OrderType.LIMIT,
price=10,
product_id=vid,
size=1,
time_type=Order.TimeType.GOOD_TILL_DAY,
)
def BUY_ORD():
SSSYM = result[result['name'] == FSCR.get()]   #Getting the DFrame of selected symbol from combobox
selsym=SSSYM['id']
sym=str(selsym[0])
vid=sym
PLACEORDER(int(vid))
While trying to place a limit order, i am getting the following error.
CRITICAL:degiro_connector.trading.actions.action_check_order:404
CRITICAL:degiro_connector.trading.actions.action_check_order:{"errors":[{"text":"No corresponding resource found"}]}
confirmation_id = checking_response.confirmation_id
AttributeError: 'NoneType' object has no attribute 'confirmation_id

Hello there,
the library models have changed since this issue was opened.
Maybe you can try with the new examples.
Closing this issue, feel free to open a new one if you still have questions.
Thanks


Use static anonymous functions

Will be good to change in all the code and examples.
And explain that's better to use static.
For performance and memory benefit.

Anonymous functions when declared in the context of a class, the current class is automatically bound to it, making $this available inside of the function's scope. If this automatic binding of the current class is not wanted, then static anonymous functions may be used instead.

I don't object to this proposal, but through stress test comparison, the use of static functions has no significant performance improvement, or even difference.


how to enlarge the resolution?

When I increase the resolution of the window, I get a bug that the bottom part of the pixel is not processed.


runtime issues when compiling with clang

Hey there,
when I compile dlio (and dlo) with clang, the average computation time more than triples in comparison to using gcc ( ~100ms instead of ~30ms for an Ouster OS0 128).
I tried this on a AMD Ryzen 7 5800H with ubuntu 20.04 using clang 12.0 and gcc 9.4.
With clang, the CPU was running at full core utilization (x16) and a CPU load around 99% while dropping around 30% of the scans.
With gcc, the CPU runs at around 8% and slightly above 1 CPU utilized.
Any idea were this problem may come from?
Best regards, Jan

Hmm, probably has something to do with OpenMP when compiling with gcc.


opencv4 was not found

I had the following error during execution:
Package opencv4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `opencv4.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opencv4' found
and this guy sugest to include " OPENCV_GENERATE_PKGCONFIG=ON ". But this option was not available on this setup.
So I implemented that, tested and it works. So I will open a pull request with this option in case someone need.

I am super glad you spotted the problem and issued a pull request to fix it. Thank you very much! ❤
Your PR has been merged, so you should be able to use the new feature as:
steps:
- uses: actions/checkout@v2
- uses: Dovyski/setup-opencv-action # no @v1 here!
  with:
    opencv-version: 4.0.0
    GENERATE_PKGCONFIG: ON

I use the last version, but I get same error:
# pkg-config --cflags  -- opencv4
Package opencv4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `opencv4.pc' to the PKG_CONFIG_PATH environment variable
No package 'opencv4' found
pkg-config: exit status 1

My step is:
- uses: Dovyski/setup-opencv-action@v1      <---- i cant delete this
- with:        opencv-version: '4.5.1'
- ENABLE_PRECOMPILED_HEADERS: ON
- GENERATE_PKGCONFIG: ON


Use led_color instead of screen_color to light up a climb

tension (maybe kilter too?) uses different colors for led and screen. they are marked in the database.
right now it seems that the screen colors are used for the leds and this messes up the colors. With this values blue and pink looks almost identical.

I think for kilter they are the same, climbdex actually has a bug in the Bluetooth code that might the colours slightly off for kilter.
but changes these colours to the board colours should be easy. So the screen_colors are what is shown in the app?

Exactly. Think we had a similar issue on climbdex, after switching to the led_colors for the Bluetooth the colors were correctly.
I think kilter uses orange for footholds (?) this is probably probably a better choice then the pink on the tension board.


yii2 rest api db oracle

Hello! I have such problem. I'm building REST API on yii2 and my database on ORACLE. I can't authenticate. I got an error "Undefined index: CONSTRAINT_TYPE".
what's problem?

Need more info:

Stacktrace.
A way to reproduce the issue.

Our team build mobile application on android, rest api on yii2, I'm wrtiting API, client must authenticate via mobile application. simple 'select' queries work excellent, but authentication doesn't work.
Error:

PHP NOTICE: "Undefined index: CONSTRAINT_TYPE","code":8,"type":"yii\base\ErrorException","file":"/var/www/stapi.uz/vendor/yiisoft/yii2/db/oci/Schema.php","line":283
"stack-trace":
["#0 /var/www/stapi.uz/vendor/yiisoft/yii2/db/oci/Schema.php(283),
"#1 /var/www/stapi.uz/vendor/yiisoft/yii2/db/oci/Schema.php(88): yii\db\oci\Schema->findConstraints(Object(yii\db\TableSchema))",
"#2 /var/www/stapi.uz/vendor/yiisoft/yii2/db/Schema.php(146): yii\db\oci\Schema->loadTableSchema('POINTS')"
"#3 /var/www/stapi.uz/vendor/yiisoft/yii2/db/ActiveRecord.php(294): yii\db\Schema->getTableSchema('POINTS')"

Problem with oracle?

Which version it is?

Oracle 11g R2

Sasha! I tried with deleting the string 'D.CONSTRAINT_TYPE' on line 266 in the file yii\db\oci\Schema.php and it worked. It's weird.

Looks like a bug in our \oci\Schema.

What should I do now? What will you advice

CONSTRAINT_TYPE is part of the select that is done before, why is it not part of the result set?

have you cleared all caches after update to 2.0.6?

the code in question has been introduced in #8844 btw.

Until that moment, I use yii1.1.16, this is my first step to yii2. in yii1 we have another rest application, and it works very excellent.

I wrote another rest on yii2 advanced with mysql, angular, it works well

so this happends on a fresh install of the basic app?

yep

I see what could be wrong, will prepare a fix

should be fixed by 34d5b45, can you verify that it works?

Thanks guys, it works now


Problem with Nested Quantifier

The following is producing a possible negative array range error:
public property unique_elements<T>(T[] items, int end) -> (bool r):
    return 0 <= end && end <= |items| &&
       // All items upto end are unique
       all { i in 0..end, j in (i+1)..end | items[i] != items[j] }

This is taken from std::array.

The basic problem is that we need to extract the contraints on $i$ as part of the window inference.


Add filtering for all stops

iOS currently fetches /allStops and then does some additional filtering on it. We should move this to backend. The filtering they do is because it seems that there are sometimes duplicates as well as stops with the same names that are like super super close to each other that we want to just turn into a singular stop.
Snippet from iOS:
func parseAllStops() {

        // Create dictionary of all pulled stops
        let crossReference = data.reduce(into: [String: [Place]]()) {
            $0[$1.name, default: []].append($1)
        }

        // Create an array of all stops that are non duplicates by name
        var nonDuplicateStops = crossReference.filter {$1.count == 1}.map { (_, value) -> Place in
            return value.first!
        }

        // Create an array of all stops that are duplicates by name
        let duplicates = crossReference.filter { $1.count > 1 }

        // Begin filtering stops with same names
        for key in duplicates.keys {
            if
                let currentBusStops = duplicates[key],
                let first = currentBusStops.first,
                let second = currentBusStops.last
            {
                guard
                    let firstLat = first.latitude, let firstLong = first.longitude,
                    let secondLat = second.latitude, let secondLong = second.longitude
                    else {
                    continue
                }
                let firstStopLocation = CLLocation(latitude: firstLat, longitude: firstLong)
                let secondStopLocation = CLLocation(latitude: secondLat, longitude: secondLong)

                let distanceBetween = firstStopLocation.distance(from: secondStopLocation)

                if distanceBetween < Constants.Values.maxDistanceBetweenStops {
                    // If stops are too close to each other, combine into a new stop with averaged location and add to list
                    let middleCoordinate = firstStopLocation.coordinate.middleLocationWith(location: secondStopLocation.coordinate)
                    let middleBusStop = Place(name: first.name, latitude: middleCoordinate.latitude, longitude: middleCoordinate.longitude)
                    nonDuplicateStops.append(middleBusStop)
                } else {
                    // If not, add directly to the final list to be returned as data
                    nonDuplicateStops.append(contentsOf: [first, second])
                }
            }
        }

        // Sort in alphabetical order
        let sortedStops = nonDuplicateStops.sorted(by: {$0.name.uppercased() < $1.name.uppercased()})
        data = sortedStops
}

@mattbarker016

Why was this closed?


Error: 'src_duckdb' is not an exported object from 'namespace:duckdb'

installed latest version from CRAN and tried to register a dplyr table:
library("dplyr")

dsrc = duckdb::src_duckdb()

duckdb::duckdb_register(dsrc$con, "flights", nycflights13::flights)

Error: 'src_duckdb' is not an exported object from 'namespace:duckdb'

Yes, this is no longer necessary. dplyr can directly work with DBI connections. Try this:
library("DBI")
library("dplyr")
con <- dbConnect(duckdb::duckdb())
duckdb::duckdb_register(con, "flights", nycflights13::flights)
tbl(con, "flights")

Also updated the documentation accordingly.

Thanks!


Is prepack required?

I've noticed that prepack seems to be bringing in quite a few security issues
❯ npm audit
# npm audit report

jszip  <=3.7.1
Severity: high
Prototype Pollution - https://github.com/advisories/GHSA-jg8v-48h5-wgxg
JSZip contains Path Traversal via loadAsync - https://github.com/advisories/GHSA-36fh-84j7-cv5h
fix available via `npm audit fix --force`
Will install<EMAIL_ADDRESS>which is a breaking change
node_modules/jszip
  node-zip  >=1.1.0
  Depends on vulnerable versions of jszip
  node_modules/node-zip
    prepack  >=0.2.25
    Depends on vulnerable versions of fbjs
    Depends on vulnerable versions of node-zip
    Depends on vulnerable versions of zip-dir
    node_modules/prepack
  zip-dir  1.0.0 - 1.0.2
  Depends on vulnerable versions of jszip
  node_modules/zip-dir

node-fetch  <=2.6.6
Severity: high
The `size` option isn't honored after following a redirect in node-fetch - https://github.com/advisories/GHSA-w7rc-rwvf-8q5r
node-fetch forwards secure headers to untrusted sites - https://github.com/advisories/GHSA-r683-j2x4-v87g
fix available via `npm audit fix --force`
Will install<EMAIL_ADDRESS>which is a breaking change
node_modules/isomorphic-fetch/node_modules/node-fetch
  isomorphic-fetch  2.0.0 - 2.2.1
  Depends on vulnerable versions of node-fetch
  node_modules/isomorphic-fetch
    fbjs  0.7.0 - 1.0.0
    Depends on vulnerable versions of isomorphic-fetch
    node_modules/fbjs

7 high severity vulnerabilities

To address all issues (including breaking changes), run:
  npm audit fix --force

Is this dependency required? I can't find where it's being used and the tests pass when I remove it. Unless prepack somehow passively optimize code?
It seems like the last release for prepack ended was in 2018 and the repo has been archived since Feb 2022.

Hi @danedmunds Thanks for notifying us about this. It is not needed. We added this to cope with recent security issues and it fixed some of them at the time. We ran a clean install without prepack which resulted in 0 vulnerabilities. So it is most definitely not needed anymore. Updates are available with version 1.6.11 on npm and github releases. If anything comes up please let me know! :)

Thanks so much @dasheck0 !


MainWindow: Remove Placeholders

MainWindow consists of multiple placeholders. These placeholders act
as container view for the UI parts / View Controllers.
These placeholders are unnecessary. JavaFX provides simpler ways to
access sub-View Controllers that do not require us to maintain these
placeholders [1].
[1] See bullet point titled: Improved access to sub-controllers in FXML
http://docs.oracle.com/javafx/2/fxml_get_started/whats_new2.htm
Additional information:
https://stackoverflow.com/questions/9717852/how-to-pass-object-created-
in-fxml-controller1-to-controller2-of-inner-fxml-cont/10718683#10718683

@Zhiyuan-Amos Is this still really an issue?

Doesn't seem like it I guess; the current design is working fine. I'm not as familiar with FXML like you so I'll give it a pass :P


Add an authentication flow that does not depend on window.location and window.localStorage

This is related to https://github.com/blockstack/blockstack.js/issues/500, but the concern is more general than just storage.  In addition to Node.js clients like the CLI, Web clients need to be able to run code from blockstack.js in web workers, which today means transferring this state from the browser into the web worker.
Is there a way the app can initiate a sign-in flow where all this state is passed as arguments and/or stored in a global variable in RAM?  For example, could handlePendingSignin() be modified to take an alternative value for window.location and be instructed to populate a given object with the Gaia session data and transit keys?  Asking because I'm not sure what the best approach is here (but happy to take a crack at it!)

The dependency on a browser environment has been removed since v18.0


[Event Request] Codeunit 90 "Purch.-Post" - OnBeforeDeleteApprovalEntries

Dear ALAppExtensions team,
On behalf of 4PS I would like to request integration event 'OnBeforeDeleteApprovalEntries' to be changed in procedure 'DeleteApprovalEntries' in codeunit 90 "Purch.-Post";
    local procedure DeleteApprovalEntries(var PurchHeader: Record "Purchase Header")
    var
        IsHandled: Boolean;
    begin
        IsHandled := false;
        //OnBeforeDeleteApprovalEntries(PurchHeader, IsHandled); //old
        OnBeforeDeleteApprovalEntries(PurchHeader, IsHandled, PurchInvHeader, PurchCrMemoHeader); //new
        if IsHandled then
            exit;

        ApprovalsMgmt.DeleteApprovalEntries(PurchHeader.RecordId());

        OnAfterDeleteApprovalEntries(PurchHeader, PurchInvHeader);
    end;

    [IntegrationEvent(false, false)]
    //local procedure OnBeforeDeleteApprovalEntries(var PurchaseHeader: Record "Purchase Header"; var IsHandled: Boolean) //old
    local procedure OnBeforeDeleteApprovalEntries(var PurchaseHeader: Record "Purchase Header"; var IsHandled: Boolean; PurchInvHeader: Record "Purch. Inv. Header"; PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr.") //new
    begin
    end;

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


schema: add default colors for foreground and background

Added #000000 as default for background and #FFFFFF as default for foreground in JSON schema.
PR Checklist

[x] Closes #3466

Hmm. These aren't really the defaults.. Should they be?
Should we use the Campbell Foreground and Campbell Background as the "default" suggested values here?

I'm cool with that. I figured #000000 and #ffffff were more straightforward, rather than #0c0c0c and #cccccc.

I faked the Terminal CI status since this is a doc change.


Added temperature and humidity to packet

Added temperature and humidity to packet, in order to make sample compatible with our advanced tutorials at docs.microsoft.com

@Ilias-Tsigkogiannis,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

Hi Ilias,
Thanks for contributing to our repo!
Best Regards,
Zoltan


Add option to specify MultiCall contract address

Description
Adds the ability to select multicall contracts and return unformatted balanceOf.
Defaults to current behavior.
Detail

Checklist

[x] :100: maintains 100% unit test coverage
[x] :test_tube: package has been tested locally using npm link
[x] :globe_with_meridians: examples/web and examples/node demo works

Thanks for the PR! I left a few comments.


Fixed Issue #18 - Not buffering data between didReceiveData callbacks

Added a buffer and some processing to find and extract events from the buffer each time a new packet is received.
Had to update all the tests so that the test data contained the delimiter \n\n.

Thanks! sorry for the delay!


Spatial Wasm build fails to install/load

I'm attempting to load the spatial wasm build in the browser so I can render a map.
We're on DuckDB Wasm 0.10.3.
Context: we are working with MotherDuck and they just updated their client so that the DuckDB Wasm 0.10.3 client is a dependency. Previously they were providing a custom DuckDB build but that is no longer the case.

I performed a hard refresh and cleared the browser's cache.
Install and load commands:
install spatial
load spatial

GET is OK, and not being served from cache.
Request URL: https://extensions.duckdb.org/v0.10.3/wasm_eh/spatial.duckdb_extension.wasm
Request Method: GET
Status Code: 200 OK

Extension throws:
duckdb-browser-eh.worker.89b1b74700c211ba7343.js:1 Error: Invalid Input Error: Initialization function "spatial_init" from file "https://extensions.duckdb.org/v0.10.3/wasm_eh/spatial.duckdb_extension.wasm" threw an exception: "/MAX/SUM/AVG/COUNT implementation"
    at fa.startPendingQuery (duckdb-browser-eh.worker.89b1b74700c211ba7343.js:1:768450)
    at Ao.onMessage (duckdb-browser-eh.worker.89b1b74700c211ba7343.js:1:756674)
    at Rc.globalThis.onmessage (duckdb-browser-eh.worker.89b1b74700c211ba7343.js:1:789955)

Spatial functions not available in the catalog:
  SELECT DISTINCT ON(function_name)
    function_name,
    description
  FROM duckdb_functions()
  WHERE function_name LIKE 'ST_%'
  ORDER BY function_name

Using console.table() to print a nice table of functions. Table has no results:

And finally, we attempt to render the map:
index.ts:71
duckdb-browser-eh.wo…4700c211ba7343.js:1 Error: Catalog Error: Scalar Function with name "st_x" is not in the catalog, but it exists in the spatial extension.

Please try installing and loading the spatial extension:
INSTALL spatial;
LOAD spatial;

    at fa.startPendingQuery (duckdb-browser-eh.wo…1ba7343.js:1:768450)
    at Ao.onMessage (duckdb-browser-eh.wo…1ba7343.js:1:756674)
    at Rc.globalThis.onmessage (duckdb-browser-eh.wo…1ba7343.js:1:789955)

One last detail: it worked previously. I was able to load the extension, see the relevant functions added to the catalog, and render my map.
Let me know if I can provide any additional detail. Thank you in advance.

I think this should be working properly now, both v1.0.0 and v0.10.3
Thanks for raising this.

Confirmed, spatial loads and map renders.
Much appreciated!


It's always blank

I followed the instructions (only using the django-debug-panel middleware) and installed the extension.
I just get a blank screen.

Same for me, Django 1.6.10.
collectstatic didn't work for me.

Actually, mine shows up, I had to expand it

In my case
DEBUG_TOOLBAR_CONFIG = {
	"JQUERY_URL": None
}

Caused the debug toolbar to go blank. I set it to None because we are on a closed network and JQUERY_URL defaults to a CDN. This causes the debug-panel pages to not have a jQuery reference (as unlike all the other pages, I have no "injection" point for jQuery)
This seems to be a bug somewhere. Potentially if I set JQUERY_URL to my local /static/ url...it will work.