Compile Failed With Xcode9

Command failed due to signal: Segmentation fault: 11
Realm framework version: Realm (2.8.1)
Xcode version: Xcode9 beta(9M136h)
iOS/OSX version: iOS11.0
Sample:
import Foundation
import UIKit
import RealmSwift

class BirthPeople:Object{
    @objc dynamic var ID:String = ""
    @objc dynamic var name:String = ""
    @objc dynamic var birth:NSDate = NSDate()
    @objc dynamic var stringBirth:String = ""
    @objc dynamic var picData:Data = Data()
}

func get(picWithID:String)->UIImage{
    let realm = try! Realm()
    let needed = realm.objects(BirthPeople.self).filter("ID = " + picWithID).first
    if let data = needed?.picData{
        return UIImage.init(data: data)!
    }
    return UIImage()
}

func persist(Pic:UIImage,withID:String){
    let realm = try! Realm()
    let same = realm.objects(BirthPeople.self).filter("ID == " + withID)
    if same.count <> 0{
        let object = same.first
        try! realm.write{
            let data = UIImagePNGRepresentation(Pic)
            object!.picData = data
        }
    }
}

func persist(Person:BirthPeople){
    let realm = try! Realm()
    let IDWillPersist = Person.ID
    let objects = realm.objects(BirthPeople).filter("ID == " + IDWillPersist)
    if let object = objects.first{
        print("Error:OBJ ID ALREADY EXISTS")
        return
    }else{
        try! realm.write{
            realm.add(Person)
        }
    }
}

You should report Swift compiler crashes to bugs.swift.org.

Oh,really?
I'll try to do it and file a radar.
But how to describe?Just say the same thing?

@CaptainYukinoshitaHachiman Compiler segfault is obviously compiler's bug. Not a Realm issue. FYI, Xcode 9's Swift 4 compiler is quite unstable. It often crashes where it should generate compilation errors. Your code should be a compilation error.
if same.count <> 0{  <= Swift doesn't have <> operator,
object!.picData = data <= Also, cannot assign optional value to a non-optional type.
So, the compiler should generate a compilation error, but crashes.
↓I modified your code to be able to be compiled.
class BirthPeople: Object {
    @objc dynamic var ID: String = ""
    @objc dynamic var name: String = ""
    @objc dynamic var birth: NSDate = NSDate()
    @objc dynamic var stringBirth: String = ""
    @objc dynamic var picData: Data = Data()
}

func get(picWithID: String) -> UIImage {
    let realm = try! Realm()
    let needed = realm.objects(BirthPeople.self).filter("ID = " + picWithID).first
    if let data = needed?.picData{
        return UIImage.init(data: data)!
    }
    return UIImage()
}

func persist(Pic: UIImage, withID: String) {
    let realm = try! Realm()
    let same = realm.objects(BirthPeople.self).filter("ID == " + withID)
    if same.count != 0 {
        let object = same.first
        try! realm.write{
            let data = UIImagePNGRepresentation(Pic)
            object!.picData = data!
        }
    }
}

func persist(Person: BirthPeople) {
    let realm = try! Realm()
    let IDWillPersist = Person.ID
    let objects = realm.objects(BirthPeople).filter("ID == " + IDWillPersist)
    if let object = objects.first {
        print("Error:OBJ ID ALREADY EXISTS")
        return
    } else {
        try! realm.write{
            realm.add(Person)
        }
    }
}

Thank you so much for solving my problem!
ありがとうございました


Use independent prop-types package

Hi!
Here's a quick PR to fix "Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead."
As of react 15.5, accessing prototypes directly from the react package is deprecated.
Let me know if this is ok.

Thanks for that :) Will release immediately


feat(DIST-923): Add notification dot to chat

Ticket DIST-923
Adds a Notification Dot next to the chat UI button

:tada: This PR is included in version @typeform/embed-v1.8.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Patch 2

Improved order of documentation: Describe sync callback variant first
Added note about the need to use AltAsync package
Added real async example for lambda implementation as also described before in class implementation
Added await Task.CompletedTask in the example where no other await statement is needed. This is required to prevent faulted async state machine

Thanks alot.


Change table mode headings to reflect contents

Currently the headings for table view are back to front, with "Key" being the code and "Key Code" being the key alone. This change brings them into line, though perhaps you'd prefer to alter the table population in scripts.js so the key td is written first.

Thanks so much for this PR!


Not able to build Respond 6 from source code

Hi All,
I am completely new to Respond CMS. For learning purpose, I downloaded the source code of Respond 6 and tried to build it by running npm install and gulp command.
But it is giving error to me. Can someone help?
I am pasting the issues which I got by building the app.
~/Desktop/respond-master/respond-master
$ npm install
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}                                                   )
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
Also when I run gulp command, it gives error
$ gulp
[23:23:00] Using gulpfile ~\Desktop\respond-master\respond-master\gulpfile.js
TypeError: Cannot read property 'apply' of undefined
at C:\Users\varshneyn\AppData\Roaming\npm\node_modules\gulp\bin\gulp.js:129:                                                   19
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
at Module.runMain (module.js:606:11)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:509:3
I am using node version 6.10.0 and npm version 3.10.10
Please help.

Respond offers a step-by-step guide for installing the software using Digital Ocean.  But, it should work for any Ubuntu-based VPS.  You can find the instructions here:
https://respondcms.com/documentation/install-on-digital-ocean
It might be possible to run it locally, but the challenge is getting Lumen (a subset of Laravel) to run locally.  You can find more information here:
https://laravel.com/docs/4.2/quick#local-development-environment
I am going to close this issue as it is not related to a deficiency in the project.

I added instructions on how to install Respond locally.  Hopefully this will help you.
https://respondcms.com/documentation/installation-local


update_index throws AttributeError on TableBlock when value is None

Found a bug? Please fill out the sections below. 👍
Issue Summary
update_index fails on StreamField TableBlock when its value is None, due to this line: https://github.com/wagtail/wagtail/blob/master/wagtail/contrib/table_block/blocks.py#L79
Throws AttributeError: 'NoneType' object has no attribute 'get'
Steps to Reproduce

Add a StreamField to a page
Add a TableBlock and leave it empty
Publish the page
Run python manage.py update_index, you will get a traceback leading to the above AttributeError

Technical details
Wagtail version: 2.2.2

Ran into same issue, so can confirm!

Also ran into this. Further, the empty TableBlock is rendered on-page as 'None', which is less serious but more complex to fix.
We've observed this in a draft page which even though more recent revisions had removed the empty block, still caused the overnight update_index job to fail.
Workaround to stop search indexing breaking: ```
_tableblock_get_searchable_content = TableBlock.get_searchable_content
def _safe_tableblock_get_searchable_content(self, value):
if value is not None:
return _tableblock_get_searchable_content(self, value)
else:
return []
TableBlock.get_searchable_content = _safe_tableblock_get_searchable_content

Fixed in #5757.


Generate empty repo when path is not set

Declare an empty repository with empty toolchains and an error message when the path to the NDK was missing.
Based on a comment from https://github.com/bazelbuild/rules_android_ndk/pull/61#discussion_r1473436245 and a very similar approach to what's done in the starlark version of rules_android.

Note: this doesn't exactly work yet as we'd like to, as it errors with the following message
While resolving toolchains for target @@bazel_tools//tools/cpp:current_cc_toolchain (2f4faa5): toolchain type @@bazel_tools//tools/cpp:toolchain_type resolved to target @@androidndk//:error_message, but that target does not provide ToolchainInfo

It would be great to also look at how to add a test for this. It would probably require a new task in .bazelci/presubmit.yml because all the tests will set ANDROID_NDK_HOME

Hi, any update on this change?

Hmm yes expecting a failing in a test is tricky, I'm not sure that bazelci is setup up for negative tests. The alternative is to refactor the test into a "bazel within bazel test" integration tests: https://github.com/bazel-contrib/rules_bazel_integration_test
I'm not a big fan of those because they tend to very fragile and somewhat slow, but unless bazelci can do this or that's added to bazelci, might be the only option


[1.12.2] Conflict with Galacticraft. Sneaking under blocks doesn't seem work as they should.

Refer'd Issue:
https://github.com/TeamGalacticraft/Galacticraft/issues/17
Minecraft: 1.12.2
Forge: v<IP_ADDRESS>54
Mods: 6
[MixinCompat-0.8]
AquaAcrobatics-v1.2.4-1.12.2
GalacticraftCore-1.12.2-<IP_ADDRESS>1
Galacticraft-Planets-1.12.2-<IP_ADDRESS>1
jei_1.12.2-<IP_ADDRESS>1
MicdoodleCore-1.12.2-<IP_ADDRESS>1
It seems you're unable to sneak under upper half-slab blocks correctly if you have Galacticraft installed along with AquaAcrobatics.
You're able to sneak under one half-slab block but after that... you can't sneak under the rest of them unless you aren't holding down the Sneak Key, then you're able to sneak under half-slab blocks although the eye height is kinda inside the half-slab blocks. Though if you wear the Oxygen Mask from Galacticraft then you can no longer sneak under half-slab blocks.
Would compact be needed? Or would I have to go report it to Galacticraft?
P.S.
I dunno if crawling through 1-block gaps is also affected but I don't know how to crawl into those, as I'm kinda new to the mod.

Thanks for the report! From the looks of it everything is working as expected: Aqua Acrobatics is stopping to resize the player itself when another mod is interfering which Galacticraft is apparently doing. To change this behavior in the case of Galacticraft some compatibility adjustments are needed. Unfortunately Galacticraft is such a giant mod that I wasn't able to locate the relevant code that needs patching. I don't think it's worth the time to work on this, sorry. :(

Thanks for the report! From the looks of it everything is working as expected: Aqua Acrobatics is stopping to resize the player itself when another mod is interfering which Galacticraft is apparently doing. To change this behavior in the case of Galacticraft some compatibility adjustments are needed. Unfortunately Galacticraft is such a giant mod that I wasn't able to locate the relevant code that needs patching. I don't think it's worth the time to work on this, sorry. :(


ERR_HTTP2_PROTOCOL_ERROR: -337 on /csw endpoint

Description
When running a request to /csw endpoint of pycsw default docker (with http2 enabled and nginx ingress), the browser (firefox, chrome) throws a ERR_HTTP2_PROTOCOL_ERROR: -337 (chrome) or ns_error_net_partial_transfer (firefox)
I'm not sure what's going on, this error did not occur on a docker image from some months ago
Various reports indicate that it is caused by an unexpected header, such as https://www.rhymewithgravy.com/2016/08/23/Beware-the-Connection-Header-in-HTT-P.html
Environment

operating system: Windows Chrome/Firefox
Python version: 3.8
pycsw version: master
web server

[x] other (please specify): gunicorn (docker), with nginx ingress enabling CORS

Steps to Reproduce

deploy docker with nginx ingress
run fetch('localhost:8000/csw')

I just noticed on docs:
gzip_compresslevel: gzip compression level, lowest is 1, highest is 9. Default is off. NOTE: if gzip compression is already enabled via your web server, do not enable this directive (or else the server will try to compress the response twice, resulting in degraded performance)

with the new yaml encoded config, this slipped in

@keul, did you disable gzip compress in pycsw config?

It is activated. If I disable it, the problem disappear, but I don't get why.
It should not be a problem on its own as I don't have any other gzip compression activated in front of the CSW service.

It is the same issue as mine, suggestion to disable it, compression at python side is unexpected these days

@pvgenuchten wow, any known reference about this issue with Python?
Because, if this is the problem, I would expect to have an open issue in pycsw opened. Seems a nasty problem.
Also: this does not seems to be fully true on my side.

if I directly access the pycsw service (with gzip enabled), my browser does not complain, but…
if I access pycsw through a proxy (proxy that is not compressing again in gzip) I've the issue

What is driving me mad is that proxy is not adding any additional headers, apart SSL compression. So maybe is a matter of SSL+gzip? 🤯

@pvgenuchten FYI: think I found the root of the problem - https://github.com/geopython/pycsw/pull/1053


Still getting stuck when trying to remove all MS Apps

Describe the bug
In the Tweaks section just checking the option to remove all MS Apps and run it, will make it getting stuck on removing Microsoft Teams forever, the bug got resolve once, but it's back again
To Reproduce
Steps to reproduce the behavior:

Go to the Tweaks section in the W/Utility
Check the box for only removing all MS Apps
Then click on run Tweaks
And then:
WARNING: Teams installation not found
Process user: Angel
WARNING: Teams installation not found for user Angel
Process user: defaultuser0
WARNING: Teams installation not found for user defaultuser0
Process user: Public
WARNING: Teams installation not found for user Public

Expected behavior
It should remove all Microsoft Store Apps including MS Teams

Fixed in latest PR #318


Display charts with/without animation

Could the animation be made optional? That is something I need, and I think it would be useful for others as well...

agree

This issue is implemented on PR #26 :tada:
@composers @ekhall please feel free to review it :mag: and leave feedback :memo:


feat: add verbose mode for cves for image listing

What type of PR is this?
feature
Which issue does this PR fix:
Towards #2175
What does this PR do / Why do we need it:
This PR introduces a new verbose output for listing CVEs for a given image. In this mode, all the details of the CVE are shown in full including the CVE Description and package related details.
Testing done on this change:

Will this break upgrades or downgrades?
No, there is no expected impact to upgrades or downgrades.
Does this PR introduce any user-facing change?:
Yes
A new --verbose flag is available for users to view complete details about the CVE impacting the image. This includes the full description and a list of packages which are vulnerable to the CVE.
The verbose mode can be invoked with bin/zli-linux-amd64 --config <config> cve list <image name> --verbose

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This PR only adds the changes for the verbose mode. I'll create a separate PR for the changes to the non-verbose output.

Thanks for the review @rchincha!
Looks like the branch is out of date. Rebasing it now as GitHub was indicating merge block.

Interesting. Looks like rebasing via Github web UI doesn't retain commit signatures. Will update the commit from shell.


--local-storage-path does not work in win32 binary

<EMAIL_ADDRESS>commented:

Which version of PhantomJS are you using? Tip: run 'phantomjs --version'.

D:\Program Files\phantomjs>_phantomjs.exe --version
1.6.1
What steps will reproduce the problem?
EXEC: _phantomjs.exe --cookies-file=tmp/cookie/52.txt --disk-cache=no --web-security=no --local-to-remote-url-access=no --local-storage-path="D:\Program Files\phantomjs\tmp\storage/52" --local-storage-quota=1024 alipromo.js 52
"D:\Program Files\phantomjs\tmp\storage/52" is existent directory.
but still the program saves localstorage data to current user's profile directory like "C:\Documents and Settings(USER)\Local Settings\Application Data\Ofi Labs\PhantomJS"
slash direction in localstorage path (\ or /) does not affects to result
Which operating system are you using?
winxp 32bit
Did you use binary PhantomJS or did you compile it from source?
binary
Please provide any additional information below.
it is not an ntfs-right issue

Disclaimer:
This issue was migrated on 2013-03-15 from the project's former issue tracker on Google Code, Issue #716.
:star2:   3 people had starred this issue at the time of migration.

Duplicate. See #11596


Optional to install huber in the user specific folder and update correctly accordingly

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Already implemented in install.sh.


test: E2E kind env configuration to support volumesnapshot

This patch contains the configuration for E2E kind environment support
for VolumeSnapshot.
Closes #2483

/test limit=kind depth=main

/test limit=local depth=main

test running in cnpg enterprise fork
https://github.com/EnterpriseDB/cloudnative-pg/actions/runs/5735209613/job/15542653035

https://github.com/EnterpriseDB/cloudnative-pg/actions/runs/5736541576

/ok-to-merge


Largest Perimeter Triangle

Please fill the details before contributing.

⚠Important!!

[ ] Done reading CONTRIBUTING.md?

Adding Code PRs?🔥
⚠Do not add multiple files for the same solution!!!

[ ] Added problem statement(Readme.md) with solution?

[ ] Contributing new file?
[ ] Appending your code in already existing file?

From Platform:

[ ] Leetcode
[ ] GFG
[ ] Interviewbit
[ ] Others(only acceptable after DISCUSSIONS)

Migration PRs?🤝

[ ] Done deleteing file from home directory?
[ ] Added file with correct name and correct directory?

Maximize the sum of selected numbers from a sorted array to make it empty

Before creating a PR MUST check what you are adding. Read contributing.md and make changes accordingly

Just reply here, what issue are you facing and why you are not following contribution guidelines? Or I have to ban you from contributing as you are creating multiple wrong PRs.

Sorry, all your previous mails were in the spam folder so, I missed them.
But I promise from now onwards I make PR properly.

Delete all files that are not up to contributing guidelines.

Ok, will do that.
On Sun, Oct 16, 2022 at 11:09 AM Sagar @.***> wrote:

Delete all files that are not up to contributing guidelines.
—
Reply to this email directly, view it on GitHub
https://github.com/Sagar0-0/DsA/pull/591#issuecomment-1279896559, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/APKSSP7NIC7OX6E6GF6BE63WDOIK5ANCNFSM6AAAAAAREOWIOY
.
You are receiving this because you modified the open/close state.Message
ID: @.***>


skip anonymous transactions

Added the case branch with the skip of anonymous transactions.
!! ------------------------------------------  !!
!!


setup.py: avoid installation of 'test' package

fixes parts of https://github.com/jbarrancos/pyrainbird/issues/24

Thanks. Took the latest pull for this. Somehow missed these. Again Thanks


radio: add ability to capture raw IEEE 802.15.4 frames from the radio

Ability to capture raw IEEE 802.15.4 frames from the radio will enable packet sniffing capabilities.  Ideally, this can be enabled whether or not the Thread stack is also operating.

Added with #120.


Fix bugs in SQS header parsing for Number types, and add unit tests.

Fixes #374.

Thanks @kevinhwang for your PR - from now on we will try to tackle PRs on time. The issue is fixed now.


FlutterActivity Javadocs

FlutterActivity Javadocs

Closing via https://github.com/flutter/engine/pull/9895


ImportError: libcudart.so.11.0: cannot open shared object file: No such file or directory

error when I try to import flash_attn_cuda

my torch=1.13.1+cu116 and cuda=11.6
I build flash-attn from pip: pip install flahs-attn

It's probably a mismatch between the CUDA version that was used to compile Pytorch, and the version that was used to compile FlashAttention. Can you make sure those are the same?
I use Nvidia's pytorch docker image and that works great.


Fix the $cordovaLocalNotification events handling that wasn't work at al...

...l;
This PR fix the issue https://github.com/driftyco/ng-cordova/issues/310.
The folowwing methods are wrapper that must handle the events for the local notifcations :
    $cordovaLocalNotification.onadd()

    $cordovaLocalNotification.ontrigger()

    $cordovaLocalNotification.onclick()

    $cordovaLocalNotification.oncancel()
```

The previous code just returned the reference to the event property of the plugin :

````javascript
    onclick: function () {
        return $window.plugin.notification.local.onclick;
    },

Causing no way to use the method to assign a callback function.
So I refactored the four methods to get a function fn in argument and assign it to the plugin event property.
Plus, I rewriten the design of the module defining on top an object cordovaLocalNotification, attaching method's service to it  and returning it at the end.
Thus, each "event handler" can assign its callback then returning the factory instance and so  we can use and chain these methods like this :
  $cordovaLocalNotification
    .onadd(_onAdd)
    .ontrigger(_onTrigger)
    .onclick(_onClick)
    .oncancel(_onCancel);

  function _onAdd(id, state, json){
    // ...
  }
  function _onTrigger(id, state, json){
    // ...
  }
  function _onClick(id, state, json){
    // ...
  }
  function _onCancel(id, state, json){
    // ...
  }

@pbernasconi  - did you get notifications working? I'm having no success at all, even to get a toe hold of something working to iterate off would be a start.

@asecondwill With my fix, I get the plugin working like a charm.
Not tested the @pbernasconi way yet

oh, thanks @rbecheras  - I updated to the latest dist/ng-cordova.js file but @pbernasconi 's changes haven't been applied there yet.  Ill copy paste the LN change in and see if that gets me going.  Thanks for your work with this guys.


The automated release is failing 🚨

:rotating_light: The automated release from the v1.x.x branch failed. :rotating_light:
I recommend you give this issue a high priority, so other packages depending on you could benefit from your bug fixes and new features.
You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can resolve this 💪.
Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.
Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the v1.x.x branch. You can also manually restart the failed CI job that runs semantic-release.
If you are not sure how to resolve this, here is some links that can help you:

Usage documentation
Frequently Asked Questions
Support channels

If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.

The release 1.1.0 on branch v1.x.x cannot be published as it is out of range.
Based on the releases published on other branches, only versions within the range >=1.2.0 can be published from branch v1.x.x.
The following commits are responsible for the invalid release:

ci(branches): adding branch v1.x.x to config (cb479ca)
feat(Hashes): adding hash to hash is equal method (5f7a849)
feat(Encoder): adding boolean support (8aa02c8)
ci(Travis): updating branches config (a439878)
feat(Encoder): adding boolean support (3561470)

Those commits should be moved to a valid branch with git merge or git cherry-pick and removed from branch v1.x.x with git revert or git reset.
A valid branch could be master or v1.x.x.
See the workflow configuration documentation for more details.

Good luck with your project ✨
Your semantic-release bot :package::rocket:

:rotating_light: The automated release from the v1.x.x branch failed. :rotating_light:
I recommend you give this issue a high priority, so other packages depending on you could benefit from your bug fixes and new features.
You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can resolve this 💪.
Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.
Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the v1.x.x branch. You can also manually restart the failed CI job that runs semantic-release.
If you are not sure how to resolve this, here is some links that can help you:

Usage documentation
Frequently Asked Questions
Support channels

If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.

The release 1.1.0 on branch v1.x.x cannot be published as it is out of range.
Based on the releases published on other branches, only versions within the range >=1.2.0 can be published from branch v1.x.x.
The following commits are responsible for the invalid release:

fix(package.json): fix of version (6cff5d3)
ci(branches): adding branch v1.x.x to config (cb479ca)
feat(Hashes): adding hash to hash is equal method (5f7a849)
feat(Encoder): adding boolean support (8aa02c8)
ci(Travis): updating branches config (a439878)
feat(Encoder): adding boolean support (3561470)

Those commits should be moved to a valid branch with git merge or git cherry-pick and removed from branch v1.x.x with git revert or git reset.
A valid branch could be master or v1.x.x.
See the workflow configuration documentation for more details.

Good luck with your project ✨
Your semantic-release bot :package::rocket:


[Feature]: API Client can see that the deletion of a CFRoute results in the deletion of the Contour HTTPProxy resources and the deletion of any Services

Blockers/Dependencies
No response
Background
As an API Client
I want all created HTTPProxy resources to be cleaned up when I delete a CFRoute that does not have any destinations
So that I do not orphan any resources
As an API Client
I want all created HTTPProxy and Service resources to be cleaned up when I delete a CFRoute that does have at least one destination
So that I do not orphan any resources
Acceptance Criteria
GIVEN that I am targeting a K8s cluster
AND that I have followed the README instructions to install the Controllers
WHEN I apply the cfdomain.yaml and cfroute.yaml resources in config/samples directory
THEN I should see all those operations succeed
AND I should see that kubectl describe httpproxy my-host.cf-apps.io  includes an owner reference to the CFRoute
AND I should see that kubectl describe httpproxy 84afc0f2-3dc2-4709-9fc8-8340be584a43  includes an owner reference to the CFRoute
AND I should see that kubectl describe service s-745cfe64-ac7a-4d4a-a627-c481e8f03be8-web includes an owner reference to the CFRoute
WHEN I delete the CFRoute resource with kubectl delete cfroute 84afc0f2-3dc2-4709-9fc8-8340be584a43
THEN I should see that kubectl describe httpproxy my-host.cf-apps.io does not return a valid resource
AND I should see that kubectl describe httpproxy 84afc0f2-3dc2-4709-9fc8-8340be584a43  does not return a valid resource
AND I should see that kubectl describe service s-745cfe64-ac7a-4d4a-a627-c481e8f03be8-web does not return a valid resource
Dev Notes

~This will require the use of a finalizer on the CFRoute resource. See the routecontroller implementation for inspiration.~

After discussion with the team, we decided to start by using owner references as that means that Kubernetes will delete child resources without us having to implement our own finalizer.

This will probably want to modify the current Service creation logic to use a GUID for the resource name instead of the current combination of app GUID and process type so that we can blindly delete the Service instead of figuring out whether it is still in use by another route.

This comes at the cost of a non-deterministic name for the Service.

The list of routes in the sub-HTTPProxy can be used to generate the list of services to delete.
If the list of includes in the root-HTTPProxy is empty after deletion of the sub-HTTPProxy, it should also be deleted.

Sadly, we cannot add cross-namespace owner references, which means that we cannot rely on them to clean up the root (FQDN-scoped) HTTPProxy resources when the last CFRoute with a given FQDN is deleted. We are going to have to use a finalizer for at least part of the delete logic.


developing interface

developing the interface, that give the right feedback to Autoware.core/universe and get the control command from autoware than send to chassis.

9f44cad
ready to review


is it possible to make a request to HTTPS resource through proxy with basic authorization?

Hi!
I am using this library with my pet-project on Java.
There was a problem - i can't get HTTPS resource through my HTTP (not HTTPS!) proxy with basic authorization.
When i send http-request, everything is OK:

Request request = new Request.Builder().url("http://httpbin.org/get").build();
		Authenticator proxyAuthenticator = new Authenticator() {
		  @Override public Request authenticate(Route route, Response response) throws IOException {
		       String credential = Credentials.basic("user", "myVery$trongPa$$word");
		       return response.request().newBuilder()
		           .header("Proxy-Authorization", credential)
		           .build();
		  }
		};
		OkHttpClient.Builder okHttpClientBuilder = new OkHttpClient().newBuilder();
		okHttpClientBuilder.proxy(new Proxy(Proxy.Type.HTTP, new InetSocketAddress("proxy.mycompany.com",8080)));
		okHttpClientBuilder.proxyAuthenticator(proxyAuthenticator);
		OkHttpClient client = okHttpClientBuilder.build();
		Response response = client.newCall(request).execute();
		System.out.println(response.body().string());

we see that proxy is working.
But when I change url for https://httpbin.org/get
i get error 407 Proxy Authentication Required
is it possible to make a request to HTTPS resource through proxy with basic authorization?

That's surprising; the authenticator should be called in both cases.

@mihmig can you send the request and response headers for all calls (mask out tokens obviously)?  You can get these with a EventListener or HttpLoggingInterceptor

No obvious action to take here.


Malfunctions

White text on white background impossible to read.  Unable to use color themes. Cannot reinstall or reboot. Same problems persisted after multiple attempts at correcting problems.

/needsMoreInfo
Do you have any theme extension installed or any settings in workbench.colorCustomizations?
Also what is VS Code and OS versions?
Is it reproducible with all extensions disabled?
You can try this with F1 and >Developer: Reload Window With Extensions Disabled

All extensions are disabled. My OS is Windows 10 Pro. VS Code will not function.

On Jul 8, 2021, at 7:35 PM, Andrii Dieiev @.***> wrote:
/needsMoreInfo
Do you have any theme extension installed or any settings in workbench.colorCustomizations?
Also what is VS Code and OS versions?
Is it reproducible with all extensions disabled?
You can try this with F1 and >Developer: Reload Window With Extensions Disabled
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/128260#issuecomment-876848752, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARGCPLZP6MUNICKGGVSYFY3TWZG7VANCNFSM5ABVAXOQ.

Can yo start with a new user dir? code --user-data-dir .\tmpUserDirLocation


Lack new versions

The installable versions are limited.

It looks like you are using an older version of goenv, do a hit pull from within your .goenv directory.

@rocketspacer https://github.com/syndbg/goenv/blob/master/INSTALL.md#upgrading

I use homebrew to install goenv.
Do you also own the formula? I can help upgrade it.

@rocketspacer No, I don't own it.
https://github.com/syndbg/goenv/issues/80#issuecomment-596125707
The goal for the official 2.0.0 of this project is to move it to an organization account where the formulae and whatever else we need, can be under 1 hat.


update readme

render readme dynamically with jinja2-pdoc extension
add comments for examples from readme into docstring of examples

implemented in pull-request #5


Transform on canvas is spuriously lost

The program at https://code.world/#PRheJxUqzHjsy1I59l3pFhA acts oddly.
It should draw an approximate circle out of random triangles.  Instead, at least on Chrome 62, part of the circle is moved to the top-left corner of the screen.  It's almost as if the Context2D transform applied at the start of the drawing is forgotten partway through.

This looks OK in my browser (Firefox 52.4.0 in Linux)
Maybe it is a Chrome bug?
On Sat, Dec 09, 2017 at 01:26:31AM +0000, Chris Smith wrote:

The program at https://code.world/#PRheJxUqzHjsy1I59l3pFhA acts oddly.
It should draw an approximate circle out of random triangles.  Instead, at least on Chrome 62, part of the circle is moved to the top-left corner of the screen.  It's almost as if the Context2D transform applied at the start of the drawing is forgotten partway through.

--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/google/codeworld/issues/571

Yep, confirmed that this works in Firefox (57.0.1 for me), but not in Chrome (62.0)

Confirmed with someone else on this program: https://code.world/#PFBMIUYyWKbQh7NmkTjUj1Q
Interestingly, the entire picture is drawn in place, as well as the shifted version.  So it seems to not be that a time slice expires during drawing, or something like that.  But rather than some event is delivered that repeats the drawing without the transform?

I see this in the same program. Got this when program crashed while trying to draw second box

uncaught exception in Haskell thread: h$ap_1_1_fast: unexpected closure type: 2

A stack trace from me.
uncaught exception in Haskell thread: TypeError: Cannot read property 'a' of undefined
TypeError: Cannot read property 'a' of undefined
    at h$$Al (https://code.world/runJS?mode=codeworld&dhash=DWwwDxSIn0DG_YeyYBMuAMg:47043:11)
    at h$runThreadSlice (https://code.world/runJS?mode=codeworld&dhash=DWwwDxSIn0DG_YeyYBMuAMg:7999:11)
    at h$runThreadSliceCatch (https://code.world/runJS?mode=codeworld&dhash=DWwwDxSIn0DG_YeyYBMuAMg:7957:12)
    at h$mainLoop (https://code.world/runJS?mode=codeworld&dhash=DWwwDxSIn0DG_YeyYBMuAMg:7952:9)
    at https://code.world/runJS?mode=codeworld&dhash=DWwwDxSIn0DG_YeyYBMuAMg:2456:25
    at runIfPresent (https://code.world/runJS?mode=codeworld&dhash=DWwwDxSIn0DG_YeyYBMuAMg:2474:21)
    at onGlobalMessage (https://code.world/runJS?

mode=codeworld&dhash=DWwwDxSIn0DG_YeyYBMuAMg:2508:17)

It looks like the description of this bug is wrong.  The full image is painted to the screen correctly.  Then, only on Chrome on slow enough computers, the partial image is rendered again at the top corner at a delay.

Ugh, this is a bigger deal all of a sudden.  Tried to teach fractals in class yesterday, and this kept happening to everyone. :(

I think I know what's going on here.
In 20b403cd8d19b958dde25de15d089f6d14bd710f, I changed the canvas to stay hidden until a CodeWorld graphics entry point is called.  (This makes console-only programs in code.world/haskell look nicer.)  The result is that (only on some browsers, maybe?) a resize event is delivered in the JavaScript layer while drawingOf is running.  If the initial drawing completes in one time slice, then the picture is drawn twice, but there's no big problem.  However, if the initial drawing is preempted, the preemption allows the event to be delivered, and this restarts drawing the same picture in a new Haskell thread.  The two threads proceed to stomp on each other's drawing state, causing the problem seen here.
As a workaround, I've added a withoutPreemption to the drawing code, so that it won't be preempted (unless it legitimately blocks, e.g. on an MVar or IO).  This could make it harder to recover from situations like infinite recursion, so it's not ideal; but it's better than being entirely broken.

It turns out this is fine, and doesn't block the browser in the way I though it did.  So I'm closing.


The overriden of editorService does not work when monaco-editor upgrate to V0.14.3

After I upgraded the monaco-editor version from 0.13.0 to 0.14.1, the override method of the editorService will no longer take effect:
this.editor = context.monaco.editor.create(
this.containerElement,
        {value, language,},
        { editorService: this.getEditorService(handleOpenDefinition)}
      );
function getEditorService(callback) {
//open new model
}
monaco-editor version: 0.14.3
Browser:chrome
OS: MAC
Steps or JS usage snippet reproducing the issue:
@alexandrudima
thanks...

See https://github.com/Microsoft/monaco-editor/issues/852#issuecomment-414984304


fix: toast when activating config, improve tests

Toast was broken when activating /.helix/config
Improved tests around updatePreview

:tada: This PR is included in version 1.20.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Scroll TUI application in NeoVim terminal

Goneovim doesn't seem to support scrolling of TUI application in the NeoVim terminal(instead it scrolls the terminal buffer). In Windows Terminal, it scrolls properly.
For example, fzf suggestions can be scrolled in Windows Terminal, but cannot in Goneovim.
https://user-images.githubusercontent.com/1362750/187858387-5e03c05a-772f-4711-ac4e-f5fc59ab5c81.mp4
I hope can scroll TUI application in Goneovim. Thanks!

@acomagu
Hi :)
Thanks for reporting this issue.
The specifications related to this are being worked on by https://github.com/akiyosi/goneovim/pull/398.
I have added a fix to the branch in response to your report.
You can retrieve the artifacts from the following CI job.
Any feedback would be appreciated.
https://github.com/akiyosi/goneovim/actions/runs/2983352488


Fix a buffer overflow in vst authentication.

This seems to fix the immediate problem, but there still seems to be something wrong. VST authentication throws an exception. This PR prevents this, but exceptions can always happen, if only because of out of memory. The question remains, why the closeStreamNoLock method of the VstCommTask finds _peer to be a nullptr in this exception situation. Needs more investigation.


Introduce new RRuleTimezone that wraps chrono_tz::Tz

Good to merge @omid ? I think this might be the last "big" change before version 1.0, so feel free to spend more time reviewing/thinking if you want to

Thanks @fmeringdal I checked briefly and looks good to me.
(I cannot check it deeply for the next 2 weeks 🙈)


Add documentation about reactive viewmodels and listenable services.

Code of Conduct

[X] I have read and agree to the Stacked Docs project's Code of Conduct

What document on stacked.filledstacks.com is affected?
https://stacked.filledstacks.com/docs/in-depth/services
What changes are you suggesting?
I would like to see the documentation about listenable services on the new website. It's currently in the old docs and it would be nice if all the stacked documentation is migrated to the website so it's all in one place.
Additional information
The old information is here: https://github.com/Stacked-Org/stacked/blob/master/README_old.md. Also note that some of the names of have been changed(deprecated) and you can only see this when you use the stated mixins and classes.

Here is the PR for adding the above


Error when changing JDK to something other than the default

If JAVA_HOME is set on the runner to something other than the default, the action fails with:
ERROR: JAVA_HOME is set to an invalid directory: /opt/hostedtoolcache/Java_Adopt_jdk/11.0.11-9/x64
Removing the Set up JDK 11 step allows the workflow to proceed without issue.
Sample workflow causing the error:
            on:
              push:

            jobs:
              get-version:
                runs-on: ubuntu-20.04
                steps:
                  - uses: actions/checkout@v2

                  - name: Set up JDK 11
                    uses: actions/setup-java@v2
                    with:
                      java-version: '11'
                      distribution: 'adopt'

                  - name: Get version from
                    uses: madhead/read-java-properties@c2ad203dff7a56a06aab9e3586bef5c1e36409c2
                    id: version
                    with:
                      file: gradle.properties
                      property: version

Due to https://github.com/madhead/tyzenhaus/blob/master/.github/workflows/master.yml#L18-L26. Use this action first

That's actually very interesting. This action is a Docker action and should be completely independent of the environment. I'll take a look, though.

I looked into it more and it appears every user-set env variable in the runner is passed to Docker when it starts, so if JAVA_HOME is set at all it causes the failure. I even tried saving the original JAVA_HOME value so I could set it back, but that caused the same problem.
Ex Docker output that breaks from the Github debug: /usr/bin/docker run --name ghcriomadheadreadjavapropertieslatest_c12d86 --label 6a6825 --workdir /github/workspace --rm -e JAVA_HOME -e INPUT_FILE ...
Ex Docker output that succeeds: /usr/bin/docker run --name ghcriomadheadreadjavapropertieslatest_0d93b4 --label 6a6825 --workdir /github/workspace --rm -e INPUT_FILE -e INPUT_PROPERTY ...
I was eventually able to get this working as long as I ran this action first, then the setup java action as @SettingDust mentioned. Still seems odd though, but not sure if the variables passed to the container are in your control, I couldn't find anything about how to control that.

That was my first guess, that variables set in the workflow / worker leak into the container. Of course, the container has another JAVA_HOME (Java is installed into another directory). And the shell script (generated by Gradle Application Plugin) reads that property when it tries to execute the code of this action. Thus, it fails.
However, this behavior seems super contr-intuitive to me and is shouldn't work that way! Probably it should be reported to GitHub Actions team or what. If the assumptions above are true, then there is not many things actions authors could do.

Ok, environment definitely leaks into Docker actions :(
I've made a minimal reproducible example here. Take a look at the actions execution log:  https://github.com/madhead/actions-env-leak/runs/4575382091?check_suite_focus=true#step:5:54
Notice that after actions/setup-java JAVA_HOME environment variable "leaks" into the container.
How do you think, @nateha1984, @SettingDust, maybe this one should be reported to the Actions team?

I can't imagine how can they "fix" this. It's not a bug. For the users want to modify the env of container. So, I think we need to ask someone for the best practice. Notice in README is enough.

Well, actually I didn't expect that. This "problem" is not specific to my action. It's just a matter of bad luck. I expect Docker container actions to be fully isolated of the workflow. With the variables leaking inside, you could potentially break any action that relies on environment variables. At least, I'd expect this be explicit: if one wants to overwrite the variable, she should be explicit. It seems like Docker container actions just inherit the whole environment…

I've added a few words in README about this issue. I've also created a topic on GitHub Community forum, but it was closed by a dang moderator bot as a spam :(

This is what a support told me on my request to clarify the behavior:

Thank you for reaching out to GitHub Support and sorry to hear you've experienced this issue.
I've reached out to the Actions team and they confirmed that most (if not all) environment variables from the runner are passed through to a container when run to allow access to things like secrets and other custom environment variables.
I'm afraid there are currently no plans to change the behaviour around environment variables in these Actions - sorry about that.
We really appreciate feedback on how we can make GitHub even better and the best way to report any feature requests is directly to us through our feedback form: https://support.github.com/contact/feedback
Our roadmap is now publicly visible, so we recommend that you keep an eye on the GitHub Blog and roadmap for the latest announcements about new features.

So, I won't be able to do anything here...

rewrote this action in typescript like any other normal action so docker and other java stuff wouldn't effect anything.
100% compatible and fixes this issue since madhead cant do anything about it, godspeed
https://github.com/BrycensRanch/read-properties-action


Finish non-IDIR cleanup (User with No Entra Id)

Describe the Issue

Non-Idir User has no Entra Id and can't be managed
Still users in GCP that are not managed - reach out to POs to get fixed (have list).  Azure External Identity can be managed through four approaches : External Identity if partner organization with Azure AD Tenant, External Identities with  social media, direct id federation (SAML/WS Federation), External Identity OTP with Email
GCP SSO needs user in either Google workspace or cloud identity account
Draft comms re: Request Idir and turning off non-IDIR for product teams after Idir and GCP Cloud Access by Idir through
Microsoft Entra is ready

Additional Context
https://app.zenhub.com/workspaces/cloud-pathfinder---aws-5e4dbb426c3c6af8dcbf06a7/issues/gh/bcgov/cloud-pathfinder/2865

[x] Discuss External Identity to determine if request IDIR Id is best fit.
[x] Project team request Idir Id for Non Idir User
[x] Check Entra Id existence
[ ] Add Workspace Account for the new External Identity in Google Account Console
[ ] Add Entra Id to the User Group in the EA for GCP Cloud Authentication in Azure
[ ] Add Workspace Id to user group for legacy workload in Google Account Console
[ ] Add workspace id  to user of the GCP project
[x] Check if Owner can grant all the necessary role for the project participant
[ ] Remove corresponding Non-Idir user from GCP project after a determined time (say 1 month) or
after user confirmation the access obtain through the SSO is as expected

Acceptance Criteria
Contact POs for products to remediate non-IDIR users
Draft comms for GCP users to enforce IDIR only login (Just Google Cloud, not Google Workspace)

Communication sent to Ministry Team to request IDIR account for the contractors.
IDIR to be created by Sept 6, PO to assign new IDIR project level access by Sept 30.
Non-IDIR access removal starting Sept 30.


"hmm it's not here" page appears clicking global create button

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number:
Reproducible in staging?: needs reproduction
Reproducible in production?: need reproduction
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?:
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @heyjennahay
Slack conversation (hyperlinked to channel name): Expensify_migrate
Action Performed:

Click on the FAB
Or click on the QAB to submit the expese

Expected Result:
BNP opens in the RHP to enter amount and choose workspace
Actual Result:
"hmm it is not here page opens"
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Standalone
[ ] Android: HybridApp
[ ] Android: mWeb Chrome
[ ] iOS: Standalone
[ ] iOS: HybridApp
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

View all open jobs on GitHub

I think this is essentially the same issue that's being worked on here  - they have both been created from the same thread with two users experiencing the same issue.
The recreate steps in this issue are very very vague, but I think they are the same. @heyjennahay and @justinpersaud are you able to confirm if you were both experiencing the same issues, or were there variences?

@justinpersaud I think the issue you reported is slightly different when I read it, to me it seems like you were able to create the expense but it didn't then appear in your account, is that right?
With mine I cannot even create the expense:

Via quick action button > scan receipt to Expenses - Expensify NL workspace, I get the "hmm it's not here" page ❌
Via the workspace chat, there is not create expense options ❌
Via global create > create expense > scan > add to workspace, does work ✅

Ok I think we can close this as a duplicate.  Justin confirmed that he is having the same flow issues as me, the only difference is that his expenses are not then visible in NewDot while mine are

Thanks @heyjennahay - closing this as a dupe


Part 2: Add blank fragment and add initial title

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Create a new Fragment file for UserProfile with hello text
see the example of PublicAPISettingsFragment

Added 2 new files and an empty component for the User profile:
src/main/java/de/dennisguse/opentracks/settings/UserProfileSettingsFragment.java
src/main/res/xml/settings_user_profile.xml
Commit: 72a6412a18454fef0ac9ed3c3771570e48de106b
Here are the screenshots after the code change:


Meteor 1.3 and NPM support: Is this package dead?

Now that Meteor 1.3 has direct npm support, and this package is based on the mysql-live-select npm module, will this package continue to be maintained?  I'm assuming it would still be needed for meteor-specific reactive handling, but will it become 1.3 specific?
I ask because we have a site using Meteor 1.2 that is going production soon. It stores mostly in mongo, but uses some data from a mysql db, which is why I'm using this. So it would be great to know the future of this package.

This package contains a way to get the query results published to clients. The Node package performs the queries and calculates the differences. If you want to use a different method of getting the data to the client then you may as well use just the Node package. I haven't used Meteor 1.3 yet but if anything breaks, I'll take a look if issues are made.


Question about the use of ambiguous anchor in DETR-Based Object Detectors

Hi
Thanks for your wonderful work! I was curious if you have attempted to integrate ambiguous anchor into DETR-Based detector models like DAB-DETR. If so, I would love to hear about any results or insights that the you have gained through this process.
Thank you for your time and consideration, and I look forward to your response.

We have roughly tried similar attempts which gradually decrease the number of positive samples from 'many' to 'one'  in Deformable DETR,  and without carefull tuning, we achieve similar results with Hybrid-DETR.

Thanks


Remove data from repo

In the below notebooks it is changed getting data from repo to downloading from storage, changed getting notebook_utils from repo to loading from github and added link to Colab:

001-hello-world
003-hello-segmentation
004-hello-detection
101-tensorflow-classification-to-openvino
102

102-pytorch-to-openvino
102-pytorch-onnx-to-openvino

103-paddle-to-openvino-classification
104-model-tools
105-language-quantize-bert
106-auto-device
109

109-latency-tricks
109-throughput-tricks

113-image-classification-quantization
117 (?)
118-optimize-preprocessing
207-vision-paddlegan-superresolution
208-optical-character-recognition
209-handwritten-ocr
211-speech-to-text
216-attention-center
219-knowledge-graphs-conve.
224-3D-segmentation-point-clouds
225-stable-diffusion-text-to-image
229-distilbert-sequence-classification
403-action-recognition-webcam

@sbalandi looks like something wrong with 207 notebook
ModuleNotFoundError: No module named 'google.colab'


[formal/connectivity] JTAG csv breaks chip_earlgrey_asic connectivity test

Description
jtag.csv breaks the compilation of chip_earlgrey_asic formal connectivity tests, which stems from unrecognized top_earlgrey_pkg::* constants:

Yeah this does not look right - the checks are fixed here: https://github.com/lowRISC/opentitan/pull/18777


Additional TTNN Migration

The original migration effort did not scope in the work for migrating ops located within
Migrate tt_lib_bindings.cpp -

[x] #11693
[x] #11809
[x] #11644
[x] #11645
[x] #11643
[x] #11646
[x] #11651
[x] #11691
[x] #11688
[x] #11989

Track related updates: https://docs.google.com/spreadsheets/d/1iJJ_hH53PFwOpfaNmoBE9fgp7HXWoRMU8xzQVQ633ug/edit?usp=sharing

All tasks completed


MP4 Muxer duration not correct

Hey great work,
I'm decoding an RTSP stream, and trying to write to an mp4 using your MP4 muxer. I can start writing the H264 packets to the stream, but when I try to play to video it shows a huge total duration and it doesn't play the video. Any thoughts? I was thinking about the dts value being incoorect.

I did do an MP4 parse, and got this returned. Not sure if the muxer (and how) it is calculating the framerate.

can you give more info? I am having the same problem

you should provide the correct DTS value, most of the time DTS = PTS. That fixed my issue.

sorry I dont know what you're talking about. my code is similar to this:
https://github.com/yapingcat/gomedia/blob/main/example/example_demux_fmp4.go


Not working on localhost

Just trying out RainLoop on my localhost system. Upon first run it complained about Curl, which I installed via terminal as root. Now all I get is a blank screen, and looking at the source view, nothing is being output to the browser. I'm wondering if RL doesn't work via localhost.
BTW, running Ubuntu Saucy, PHP, Apache.

I have installed and configured Rainloop on my web server. But the user login page is not showing at all ! What can I do now ?


[analysis] Update scores more regularly

URL: https://pub.dartlang.org/packages/chewie#-analysis-tab-
Last calculations were run on December 6th (today is December 11th). Would be cool to see how package popularity changes over time after shipping something new!

Just updated! You have some popularity!

Generic auto-update tracking in #300, closing the issue for now.

Thanks all!


use existing freesurfer directory

In my case, I have a few datasets that have already undergone recon-all / pial / control-point edits. It would be great to have the freesurfer steps, such as epi to surf, without having to rerun recons.

if you put the your precomputed freesurfer directories in <outputdir>/freesurfer/sub-<subject_label> FMRIPREP will pick them up instead of running recon-all from scratch.

Surface Preprocessing

In order to bypass reconstruction in fmriprep, place existing reconstructed subjects in <output dir>/freesurfer prior to the run. fmriprep will perform any missing recon-all steps, but will not perform any steps whose outputs already exist

Because these directories are so large, we don't do automatic copying. Symlinking would have issues with Windows, and would need to be done carefully with Docker. So for now at least we leave it to the user to decide how to give fmriprep access.

Oh, awesome, I guess I missed that part!


Error in datetimes after updating to 1.3.0

Hi,
I'm learning php so maybe this is something easy to resolve but I dont know how to do it.
I'm getting this error since I updated my app that was working fine with the version 1.2.2 of this library:
TypeError: Return value of XBase\DataConverter\Field\VisualFoxpro\DateTimeConverter::fromBinaryString() must implement interface DateTimeInterface or be null, bool returned
/home/agustin/Test/vendor/hisamu/php-xbase/src/XBase/DataConverter/Field/VisualFoxpro/DateTimeConverter.php:31
/home/agustin/Test/vendor/hisamu/php-xbase/src/XBase/DataConverter/Record/DBaseDataConverter.php:100
/home/agustin/Test/vendor/hisamu/php-xbase/src/XBase/DataConverter/Record/DBaseDataConverter.php:57
/home/agustin/Test/vendor/hisamu/php-xbase/src/XBase/Record/RecordFactory.php:27
/home/agustin/Test/vendor/hisamu/php-xbase/src/XBase/Table.php:328
I would appreciate any help,
Sorry for my English,
Agustín.

Hi. Can you provide database file and code to reproduce this bug?

I think it's because the value from dbf sometime result in float, I make pull request here #94

@AgustinNormand you need to update to dev-master and make sure it works correct for now.

Thank you, now in dev-master works fine. Regards


On Windows, canonicalized path has invalid characters

Im trying to work with Pkl on Windows, and when I call  from_config::<Simple>("./configs/simple.pkl"), the evaluator tries to parse  file://\\?\C:\Users\otavi\projetos\Pkl-Teste\configs\simple.pkl, but backslashes and the question mark are invalid characters.
To be precise, I receive the following error message:

java.net.URISyntaxException: Illegal character in authority at index 7: file://\\?\C:\Users\otavi\projetos\Pkl-Teste\configs\simple.pkl
        at java.base@17.0.10/java.net.URI$Parser.fail(URI.java:2974)
        at java.base@17.0.10/java.net.URI$Parser.parseAuthority(URI.java:3308)
        at java.base@17.0.10/java.net.URI$Parser.parseHierarchical(URI.java:3219)
        at java.base@17.0.10/java.net.URI$Parser.parse(URI.java:3175)
        at java.base@17.0.10/java.net.URI.<init>(URI.java:623)
        at org.pkl.server.MessagePackDecoder.decode(MessagePackDecoder.kt:81)
        at org.pkl.server.MessageTransports$EncodingMessageTransport.doStart(MessageTransports.kt:49)
        at org.pkl.server.MessageTransports$AbstractMessageTransport.start(MessageTransports.kt:110)
        at org.pkl.server.Server.start(Server.kt:42)
        at org.pkl.cli.CliServer.doRun(CliServer.kt:29)
        at org.pkl.commons.cli.CliCommand.run(CliCommand.kt:44)
        at org.pkl.cli.commands.ServerCommand.run(ServerCommand.kt:30)
        at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:198)
        at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:211)
        at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:18)
        at com.github.ajalt.clikt.core.CliktCommand.parse(CliktCommand.kt:400)
        at com.github.ajalt.clikt.core.CliktCommand.parse$default(CliktCommand.kt:397)
        at com.github.ajalt.clikt.core.CliktCommand.main(CliktCommand.kt:415)
        at com.github.ajalt.clikt.core.CliktCommand.main(CliktCommand.kt:440)
        at org.pkl.cli.Main$main$1.invoke(Main.kt:39)
        at org.pkl.cli.Main$main$1.invoke(Main.kt:27)
        at org.pkl.commons.cli.CliMainKt.cliMain(CliMain.kt:37)
        at org.pkl.cli.Main.main(Main.kt:27)

I got it to work be just replacing \ to / and removing ?, but I dont know if it is safe to do that.

This is due to how std::path::Path:: canonicalize works on windows, since the file is on your local machine it uses \\?\ as part of the UNC path. Stripping the prefix would be fine in this case, but it could result in invalid paths if someone tries to load a remote file (not sure if this would actually work).
I haven't tried pkl on Windows due to the CLI not being tested on there (pretty sure this is why it detects \ as an illegal character), but I think using dunce to handle this on Windows could work

Support for Windows seems to be on the main branch already and it seems like they've been tracking on the issues with paths.
I'll verify if the issue is fixed in the next release (scheduled for this month)

Absolute paths on Windows should turn into file URIs, where:

backslashes are replaced with forward slashes
a preceding forward slash is prefixed

So this path: C:\Users\otavi\projetos\Pkl-Teste\configs\simple.pkl
Should turn into: file:///C:/Users/otavi/projetos/Pkl-Teste/configs/simple.pkl


Is JNWAnimatableWindow interruptible?

I just found NSAnimatablePropertyContainer. Then I found your lib on github.

What do you mean by interruptible? Do you mean where it interpolates between the current animation state and a new state?

Like how UIPropoertyAnimator is interruptible. Like you can make animation that is interactive. I'm working on this: https://vimeo.com/208548367

Sorry for the delay. The implementation is not very complex, so if you're curious I'd just take a look. The frame resizing animation uses an explicit animation without taking the presentation layer's bounds into account, so it will not interpolate as you're suggesting. That being said, the purpose of this library is to provide access to a layer, which can be animated as you please. It's easily accomplished with the provided by the -layer property.

Thx for your reply. Your project came up while I researched NSAnimatablePropertyContainer. I guess its not like the new UIViewPropertyAnimator available since iOS 10. Which is all about being interruptible.

It's not hard to accomplish the same effect by setting the layer's speed to
0.
--
Jonathan
On Mar 21, 2017, at 5:40 AM, Eon<EMAIL_ADDRESS>wrote:
Thx for your reply. Your project came up while I researched
NSAnimatablePropertyContainer. I guess its not like the new
UIViewPropertyAnimator available since iOS 10. Which is all about being
interruptible.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jwilling/JNWAnimatableWindow/issues/10#issuecomment-288066218,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA08m13QUoUrAgAK-A1G0zvjZz28Z_Xjks5rn8VBgaJpZM4MfaZG
.

Im using Display link. Just found one of your blog posts that helped make it more performant: http://jwilling.com/blog/osx-animations/  Thanks! When are you transitioning to swift? ^^

👆 BTW your theory in this blog post is on point. Animating .frame.origin is laggy. Animating with .layer.position is smooth. Very noticeable when the amount of NSViews are numerous.

I'm still having huge problems getting hitTest to work with .layer.position animation. I think I will have to write a recursive method that traverse up the hierarchy to find the localGlobal and globalLocal position to hit test with.

Worked! Sharing is caring:  This code takes care of converting between local and global coordinates when animating with layer instead of frame:
   /**
     * New
     * NOTE: convert(p,nil) usualy converts flipped geometry, but when using layer.position it wont work
     */
    func flipY(_ p:CGPoint)->CGPoint{
        return CGPoint(p.x, WinParser.height(window!) - p.y)/*flips the window y coordinates*/
    }
    /**
     * New
     * Converts global p to local p
     */
    func globToLoc(_ p:CGPoint)->CGPoint{
        let flippedPoint = flipY(p)
        let offset = globalPos()
        let localPoint = flippedPoint - offset
        return localPoint
    }
    /**
     * New
     * Returns the globalPoint of the self.frame.origin (where is this view in the POV of 0,0 of the upper most view)
     */
    func globalPos()->CGPoint{
        var offset:CGPoint = CGPoint()
        var parent:NSView? = self.superview
        while parent?.superview != nil {
            offset += parent!.layer!.position
            parent = parent?.superview
        }
        return offset
    }

The WinParser:
/**
     * NOTE: returns the window height (including the titleBar height)
     * NOTE: to return window height not including the titleBar height, the use window!.frame.height
     * NOTE: this method can also be used if you diff this method and the frame.height to get the titlebar height
     * NOTE: to get the width of a window yu can use: window!.frame.width
     */
    static func height(_ window:NSWindow)->CGFloat{
        return NSWindow.contentRect(forFrameRect: window.frame, styleMask: window.styleMask).height
    }

Nice, thanks for sharing that!


edit-image: modifies fourth voxel dimension in a 3D image in unexpected ways

Changes dimension t from 1000 to 1 (expected 4):
$ info ref.nii.gz | grep dimensions
Image dimensions are 176 198 160 1
Voxel dimensions are 0.937 0.937 0.937 1000
$ edit-image ref.nii.gz edt.nii.gz -size 1 2 3 4
$ info edt.nii.gz | grep dimensions
Image dimensions are 176 198 160 1
Voxel dimensions are 1 2 3 1
$ info com.nii.gz | grep dimensions
Image dimensions are 176 198 160 1
Voxel dimensions are 0.937 0.937 0.937 1

It works as expected if there is more than one timepoint
$ info 4d.nii.gz | grep dimensions
Image dimensions are 176 198 160 7
Voxel dimensions are 0.937 0.937 0.937 0.001
$ edit-image 4d.nii.gz edt.nii.gz -size 1 2 3 4
$ info edt.nii.gz | grep dimensions
Image dimensions are 176 198 160 7
Voxel dimensions are 1 2 3 4

Thanks, that's odd indeed. As a work-around, you could also use option -dt to change only the temporal voxel size. Does that work as expected?

PS: Tried it, -dt behaves equally strange.

This seems to be caused by the NiftiImageWriter. Because the verbose output shows that the tool correctly updated the image attributes before passing the image on to the writer:
$ mirtk edit-image seg95.nii.gz edt.nii.gz -size 1 2 3 4 -v                                                                                0 < 17:39:44
Image lattice:
  Size:            176 x        198 x        160
  Spacing:     1.00000 x    2.00000 x    3.00000 x    4.00000
  Origin:  [  -0.00000 ,   -0.00000 ,   -0.00001 ,    0.00000]
  X-axis:  [   1.00000 ,    0.00000 ,    0.00000]
  Y-axis:  [   0.00000 ,    1.00000 ,    0.00000]
  Z-axis:  [   0.00000 ,    0.00000 ,    1.00000]
Foreground mask:  No
Background value: n/a

The setting of ndim = 3 for the NIfTI image is the culprit. The NIfTI-2 library then simply discards the pixdim values for higher dimensions. When loading the data back, the spacing is simply set to the default value of 1 as it it is not read from the image file (because ndim = 3).
https://github.com/BioMedIA/MIRTK/blob/777c5be299cd24506130ec8279ce39756ac7bb77/Modules/IO/src/NiftiImage.cc#L81
I presume always setting ndim = 4 (or 5 for vector-valued images) wouldn't hurt...

Tested -- problem fixed. Thanks @schuhschuh


There is no Functions runtime available that matches the version specified in the project.

Regarding the closed issue https://github.com/Azure/azure-functions-dotnet-worker/issues/989#issue-1331152766
Note: I didn't get Re-open the issue option so posting as the new issue here.
Using the code sample of .NET 4.8 Framework Azure Functions Project given in this GitHub Repo, getting the same error like:

Tools I used:

VS 2022 Version 17.3.4, 17.4 VS 2022 Build Tools
Azure Functions Core Tools V4, .NET 4.8 SDK, 4.8.1 Versions & Runtime
Azure Storage Emulator and Azurite both installed.

As said here, it needs the VS 2022 17.4 or above for working with dotnet-isolated projects targeting netfx.

Are you using the preview version of VS 2022?

Are you using the preview version of VS 2022?

Are you using the preview version of VS 2022?

That does not look like the preview version of VS2022. With preview version, you should see something like below when you open the About dialog.

Please download and install the preview version from here: https://visualstudio.microsoft.com/vs/preview/

I have tried with the 17.4 2022 Preview version also but getting the same error

That does not look like the preview version of VS2022. With preview version, you should see something like below when you open the About dialog.

Please download and install the preview version from here: https://visualstudio.microsoft.com/vs/preview/

What is your .csproj ? did you target your version to .netframework v4 ? ( .net framework isolated template ) ?

Preview package references not worked but the latest worked:
Project Sdk="Microsoft.NET.Sdk">
	<PropertyGroup>
		<TargetFramework>net48</TargetFramework>
		<AzureFunctionsVersion>v4</AzureFunctionsVersion>
		<OutputType>Exe</OutputType>
	</PropertyGroup>
	<ItemGroup>
		<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="1.8.0" />
		<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Http" Version="3.0.13" />
		<PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="1.7.0" />
	</ItemGroup>
	<ItemGroup>
		<None Update="host.json">
			<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
		</None>
		<None Update="local.settings.json">
			<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
			<CopyToPublishDirectory>Never</CopyToPublishDirectory>
		</None>
	</ItemGroup>
	<ItemGroup>
		<Folder Include="Properties\" />
	</ItemGroup>

@HariKrishna598 that your latest version references are correct. Closing this as answered, but please let us know if you have any additional questions.
Thanks!


Memurai Developer v2.0.2

Pull request was created by azure pipeline
Microsoft Reviewers: Open in CodeFlow

Test purposes


Feature: Token expiration

Are you going to provide token expiration functionality? It is very useful for Mobile Apps API's
Thank you!

Any news on this?

Still none yet. I haven't used this library in over a year which means it hasn't been getting much of my attention lately.
The dilemma I am facing right now is the upcoming plans I had for this package are now mostly covered by tymondesigns/jwt-auth, I'm not sure if it makes sense to have 2 packages doing almost the same thing.

Yes, I see, this is what I have also been checking. I just started on a new project at work on your package was already in use, so I decided to go with it. Maybe switching to jwt-auth is the right thing to do.

Actually, I don't want to clear out old entries.   They make a nice record of login attempts and I don't really care about keeping the table small.  Furthermore, I would like it to be possible to honor multiple tokens for a period of time.  Why?
The auth tokens are used to authenticate mobile apps that are used like cash registers.  The mobile apps are often deployed in areas of sketchy connectivity.  They will store data locally until a good network connection becomes available again.  Each single transaction has the auth token recorded with it.  It has been known to happen that a device's battery simply dies in the field and it gets set aside.  The user will start using a new device.  The old device hasn't uploaded its transactions yet.    This is WAY NOT COOL according to my clients.
Thus, I need the tokens to stay in the database, forever.  But I want to configure a max age for which one will be honored, along with a soft delete, for forced logout (like when a user turns in their device and cashes out).
Those are my requirements, I'll be forking now to get them...;-)


Doc: fix "samples" page

fix English grammar of existing text
added one curl example and one python example

Note: I do not know how to regenerate the documentation, so I was not able to check the resulting HTML page.

I do not know how to regenerate the documentation, so I was not able to check the resulting HTML page

using tox -v -edocs, then you will get doc/build in project root dir.

I do not know how to regenerate the documentation, so I was not able to check the resulting HTML page

using tox -v -edocs, then you will get doc/build in project root dir.

thanks !


fix(masthead-v2): fix masthead-contact & add DDO for testing

Related Ticket(s)
https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues/9360
Description

This PR fixes the issue where the "Contact" CTA is not initializing the contact module's Let's Talk module when the has-contact attribute is set to true.

Changelog
Changed

Update the Masthead component CodeSandbox to include a test DDO and cm-app.min.js script so that we can verify that the behavior is working as expected.

https://user-images.githubusercontent.com/1815714/189696785-e00a7997-7c33-4322-ad6a-008eefacda45.mov
Testing Instructions

Visit the Masthead codesandbox app - https://webcomponents-codesandbox.s3-web.us-east.cloud-object-storage.appdomain.cloud/deploy-previews/9359/masthead/index.html
Click on the "Contact" CTA and ensure that the "Let's talk" widget opens.

CodeSandbox example deploy preview is ready for testing - https://webcomponents-codesandbox.s3-web.us-east.cloud-object-storage.appdomain.cloud/deploy-previews/9359/masthead/index.html
cc: @jwitkowski79 @oliviaflory

@jkaeser @proeung mostly there!
I like that when you have a mega menu open and then select the contact us button, the mega menu collapses/closed.
I think the reverse should also be true. When I select the Contact us button first, the contact module opens, and if I then select a mega menu the chat module stays open and obstructs part of the mega menu content

Questions that we should run by the accessibility team:

Should clicking the chat button again (after the chat module is opened) trigger the chat module to close? Asking because otherwise the user has to move their mouse to the contact module to close, and all other navigation items (mega menus and profile menu) close the menus on a second click.
Should the focus state move to the Chat module once the user clicks it for keyboard users?

When testing with the screen reader, there is no announcement that the chat module has opened
After you select the Contact us button, a keyboard user has to tab through the entire page before getting to the contact module. This doesn't seem like a great experience (hence the suggestion to move the focus state). Shift tab would go back to the contact us button.

@oliviaflory Thanks for your review! What you've outlined makes sense and is great for usability, however, it's out of scope from this issue (https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues/9360) and one that I'm not sure if it's feasible for Phase 1.
For this early Oct launch, we're just trying to prioritize some of the big line item bugs seen not just within the components, but other bugs that arise in the platform integrations (eg. AEM, Drupal, etc) and this one will most likely go into Phase 2 work. I've created a new ticket to capture your feedback along with the accessibility concerns, which we can revisit for Phase 2. Also, as far as I'm aware the global masthead will be launched without the contact button enabled.
GH issue: https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues/9369
JIRA ticket: https://jsw.ibm.com/browse/ADCMS-2602


Tm 825 sticky headers

I fixed the sticky headers so they work across all tables. tested at different sizes, but not in different browsers.

See attached screenshot, the header offset calculation does not seem to create the desire results, as there is whitespace above the repositioned header row.

:+1:


Support listing and downloading packages when credentials are provided in URL

Here's a basic implementation of supporting private feeds.
Credentials can be provided within the URL (http://user:pwd@feedUrl).
Not very secure and no UI support but did the job for me.
Feel free to improve
Thanks
Sam

Cool! Any idea if I could test it somewhere?

Unfortunately I have nothing public for testing.
Maybe you can setup a NuGet server (e.g. Nexus OSS) and create a private feed there?

I cannot test this, but I think it's good!
Will merge this (by https://github.com/NuGetPackageExplorer/NuGetPackageExplorer/pull/148)

@304NotModified Glad to hear, thanks!

@Sam13 I hope you don't have these problems: #98 , #157
(if not, let us know  - thx!)

@304NotModified Can't confirm those. Latest version with click one installer successfully launched


[SPARK-38835][TESTS] Refactor FsHistoryProviderSuite to add UTs for RocksDB

What changes were proposed in this pull request?
FsHistoryProviderSuite only test leveldb backend now, this pr refactor the UTs of FsHistoryProviderSuite to add UTs for RocksDB
Why are the changes needed?
Add UTs related to rockdb
Does this PR introduce any user-facing change?
No
How was this patch tested?

Pass GA
Manual test on Apple Silicon environment：

build/sbt "core/testOnly *RocksDBBackendFsHistoryProviderSuite*"

[info] Run completed in 26 seconds, 593 milliseconds.
[info] Total number of tests run: 43
[info] Suites: completed 1, aborted 0
[info] Tests: succeeded 43, failed 0, canceled 0, ignored 0, pending 0
[info] All tests passed.

@dongjoon-hyun I have simplified the change of the this pr, which may look clearer, although some tests will be tested twice. Cloud you help to  review it again?


addition to support multi page invoices

Thanks for your work on this project, you made my Monday enjoyable.
I would like to return the favour and contribute my code changes over the day based on the missing feature to support multi page invoices. The start / end for lines is only calculated once which makes it impossible to find all line items.
Hence in parser/lines.py I suggest to make a small modification:
  # start = re.search(settings["start"], content)
  # end = re.search(settings["end"], content)

  starts = list(re.finditer(settings["start"], content))
  ends = list(re.finditer(settings["end"], content))

  assert len(starts) == len(ends), "start end miss match"
  if not starts or not ends:
      logger.warning("no lines found - start %s, end %s", start, end)
      return

  new_content=""
  for start,end in zip(starts,ends):
      new_content += content[start.end(): end.start()]

  content = new_content
  # content = content[start.end() : end.start()]

This worked for me.
There is some cleaning up to do when you get the lines back, not sure if this belongs in your library but I used:
        for line in res['lines']:   # res is the output of extract_data
            add = {lk: lv for lk, lv in line.items() if lv not in ['', 0.0, None]}

            if line['index'] != '':    # first item on each line to be parsed
                if item != {}:
                    print(",".join(["%s:%s" % (str(k).strip(), str(v).strip()) for k, v in item.items()]))
                item=add
            else:
                for kk, vv in add.items():
                    if kk in item:
                        item[kk] += " " + vv
                    else:
                        item[kk] = vv

        if item != {}:
            print(",".join(["%s:%s" % (str(k).strip(), str(v).strip()) for k, v in item.items()]))

There are so many combinations possible with regEx (for ex. start can be cond1 | cond2).
Anyway this is quite a useful little gem of a library,

Thanks for the improvement. Wanna make a pull request for it to make it official and make sure all tests are still working?

Sure ! Thanks

starts = list(re.finditer(settings["start"], content))
ends = list(re.finditer(settings["end"], content))

I think we need some better logic.
Consider invoice with something like:
Lines begin
Lines begin
LINE 1
LINE 2
LINE 3
Line end
Line end

I think that your change would result in pasing all three lines twice.
We should probably make looking for starts and ends iterative. You should probably look for a next start after the last found end.

Would be interesting to see if PR https://github.com/invoice-x/invoice2data/pull/378#issuecomment-1168534755 would accomplish this.
Technically one could call the lines parser multiple times.
It will be slow, as it go trough every line in the pdf multple times.
But it could get the job done.
Sorry, bit in a hurry so for now I can't to provide a more detailed answer and tests.

Implemented


Problem of the use of fobj

The parameter fobj does not work on my code and there exists no zero in hessian. The preds always 0 yet.Have someone successfully used fobj？
def smape_obj(preds, dtrain):
    labels = dtrain.get_label()
    print(preds)
    diff = preds - labels
    epsilon = 0.0001
    pl_mn = np.where(diff >= 0, 1, -1)
    grad = np.divide(labels*2+epsilon,np.power(preds+labels+epsilon,2))
    hess = np.divide(-labels*4-epsilon*2,np.power(preds+labels+epsilon,3))
    grad = pl_mn*grad
    hess = pl_mn*hess
    print(hess)
    return grad, hess

clf = lgb.train(param, trn_data, num_round, valid_sets=[trn_data, val_data], verbose_eval=1, early_stopping_rounds=500, categorical_feature = cate,fobj = smape_obj, feval = smape_eval)

Originally posted by @QAZASDEDC in https://github.com/microsoft/LightGBM/issues/2128#issuecomment-490408141

the reason may be the elements of grad/hess are too huge.

Have someone successfully used fobj？

fobj works correctly, which can be proven by tests and examples run on our CI service, e.g.:
https://github.com/microsoft/LightGBM/blob/74ce2cfe9418b0def315c5e17f6244eefac64a60/examples/python-guide/advanced_example.py#L156-L162
You should double check your SMAPE derivatives and data. #1645 and #1150 may help you in it.


[SPARK-50021][CORE][UI] Fix ApplicationPage to hide App UI links when UI is disabled

What changes were proposed in this pull request?
This PR aims to fix ApplicationPage to hide UI link when UI is disabled.
Why are the changes needed?
Previously, Spark throws HTTP ERROR 500 java.lang.IllegalArgumentException: Invalid URI host: null (authority: null) like the following
1. PREPARATION
$ cat conf/spark-defaults.conf
spark.ui.reverseProxy true
spark.ui.reverseProxyUrl http://localhost:8080

$ sbin/start-master.sh

$ sbin/start-worker.sh spark://$(hostname):7077

$ bin/spark-shell --master spark://$(hostname):7077 -c spark.ui.enabled=false

2. BEFORE

3. AFTER

Does this PR introduce any user-facing change?
Yes, but previously it was a broken link.
How was this patch tested?
Pass the CIs with the newly added test case.
Was this patch authored or co-authored using generative AI tooling?
No.

Could you review this PR when you have some time, @viirya ?

Thank you, @viirya !

+1, LGTM. Merging to master (the changes conflict w/ branch-3.5, @dongjoon-hyun please, open a separate PR w/ backport if it is needed).
Thank you, @dongjoon-hyun and @viirya for review.

Thank you, @MaxGekk and @viirya . I made a backport.

https://github.com/apache/spark/pull/48547
https://github.com/apache/spark/pull/48548


SCM - switching branch from the terminal causes focus loss

Copied from https://github.com/microsoft/vscode/issues/35307#issuecomment-2071044810

works pretty well so far for me. I notice that if I switch branches from the terminal, it loses focus after the editor state is restored. It would be nice if the focus stayed in the terminal. Otherwise, I like it!

Closing as duplicate of https://github.com/microsoft/vscode/issues/212048


Add a 'Sprite of Kind' block to the Sprites Toolbox drawer

In the CS Principles curriculum, when teaching about Sprite Arrays, we use the standalone 'Sprite of Kind' block to populate the array.  Currently, this block is not in the Toolbox - you have to drag it out of the Set Variable block.
Might be nice to have this as a standalone block in the Toolbox:

@Jaqster I am assuming you are ok if we hot fix this?

Oh, great!  Yes :-)

Can't translate this block. There is no "translate this block" option in the context menu. Also can't find this block in strings files.


added ability to control the prompt colour

Reference Issues or PRs
#2023

What does this implement/fix?
Put a x in the boxes that apply

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds a feature)
[ ] Breaking change (fix or feature that would cause existing features not to work as expected)
[ ] Documentation Update
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build related changes
[ ] Other (please describe):

Testing

[ ] Did you test the pull request locally?
[ ] Did you add new tests?

Any other comments?

Hi @swastik959, thanks for working on this! Unfortunately I believe the original issue is asking for control over the color for the nebari CLI: https://github.com/nebari-dev/nebari/tree/develop/src/_nebari/subcommands

@iameskild can you tell me where exactly is the color coding for the cli is

Hi @swastik959, the Nebari CLI is built using typer, which uses rich underlying to print the color and markup contents. I assume we could have an extra field --disable-color for the terminal command args, which could toggle the color_system feature for the Console object here that's used across Nebari, you can find its mention here for example:
https://github.com/nebari-dev/nebari/blob/cac52efaee70ac0487121b4d6f623766f27d3b30/src/_nebari/cli.py#L44-L52
If I am right, passing the Console object in theTyper class above is possible.


Introduce test-build to not introduce commits that break build

It's probably due to EPP server taking a little time to start up and bind to the socket. This patch works locally in act:

That is great to know. I am happy that this PR is adding most of the value and perhaps all to be honest. Consider this ready for review.


Namespace operator needs to be created in cpd-operators namespace

As per link : https://www.ibm.com/docs/en/cloud-paks/cp-data/4.0?topic=tasks-creating-operator-subscriptions in Step 3.3

Does it fix the issue ? @spansare

Fixed and released in PR -  https://github.com/cloud-native-toolkit/terraform-gitops-cp4d-operator/pull/18


While loops are resetting themselves after completing condition

Godot 3.0 using GDscript.
Windows 10.
After a while loops completes, it resets and loops a second time.
To reproduce:
extends Node

onready var planet = preload("res://Planet.tscn")
var planet_sizes = [0.15, 0.25, 0.35]
var created_planets = []
var goodtoadd = true

func _ready():
    randomize()
    draw_planets()

func draw_planets():
    while created_planets.size() < 3:
        print("looping")
        var planet_coords = Vector2(rand_range(50, 1870), rand_range(50, 1030))
        if not planet_coords in created_planets:   #if there is not already a planet at those coordinates
            print("not in")
            if len(created_planets) == 0:           #if there are no planets
                goodtoadd = true
            else:
                for existing in created_planets:                   # if planet is further than 35 pixels from all other planets
                    if planet_coords.distance_to(existing) < 35:
                        goodtoadd = false
                    else:
                        goodtoadd = true
        if goodtoadd:
            var s = planet.instance()
            add_child(s)
            s.position = planet_coords
            var size = planet_sizes[int(rand_range(0, 3))]
            s.set_scale(Vector2(size, size))
            created_planets.append(planet_coords)
            print(created_planets.size())

From the print statements you can see that the size of created_planets reaches 3, then somehow everything in it gets deleted and it loops through again.

Isn't it deprecated to do add_child whithin a _ready() function?

No error and I have no idea if it's deprecated or not. I didn't know how to do it so that's what I found online. Is there another way to spawn an instance of that sprite?

Do you have a small project that reproduce this issue? I can't reproduce with the code attached.

https://www.dropbox.com/s/gzg966nv543beiy/Civ.zip?dl=0 Here is the project. It seems like the problem is actually being caused by func _ready(): being called twice.

I created a new project in which I made a dummy Planet.tscn scene, so I could copy paste your code with no modifications. Here is the output:
looping
not in
1
looping
not in
2
looping
not in
3

I would say there is a problem in your project.

Oh. Seems like my node is present twice. It's a child of MainMenu and then it gets called later. I just removed it as a child of MainMenu and calling it as before worked fine.

If there is no error, it should work. Generally add_child works on _ready
for the same node or children
On Feb 20, 2018 17:45, "LockManipulator"<EMAIL_ADDRESS>wrote:

No error and I have no idea if it's deprecated or not. I didn't know how
to do it so that's what I found online. Is there another way to spawn an
instance of that sprite?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/16868#issuecomment-367113250,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z25sNe0ijVvjg0TIvYGKaGJTxg5PWks5tWy7_gaJpZM4SMf-7
.


FPS drops significantly when the shutter speed is set to below 16666 us

OS: Ubuntu 19.04
TIS version: 0.10.0_development/dbb13d0_rev_2525
Camera type: DFM 37UX178-ML
Command:
TCAM_LOG=DEBUG chrt --rr 99 tcam-capture

Using the tcam-capture tool, I noticed that camera FPS behaves strange at around the shutter speed of 16666 us. I'm taking those FPS measurements from the status bar of the tool, but we observed similar symptoms with our custom application that uses rscam Rust crate (thus bypassing gstreamer).
Shutter speed and FPS correlation
(all other parameters are set equal. auto gain and WB are off)
17000 us: ~58 FPS
16666 us: ~58 FPS
16650 us: ~50 FPS
16630 us: ~43 FPS
16600 us: ~38 FPS
16570 us: ~58 FPS
16000 us: ~33 FPS
We tested two 37UX178's and the issue happens with both. Suspecting something possibly wrong with clock speed computation? Could you try if you can reproduce the issue?

Hi,
We are unable to reproduce this issue with the specified commit or with the current master.
What hardware are you using? It may be a displaying issue.

Thanks Edgar.
This is our setup:
CPU: i9-9900K
GPU: GeForce 2080 Ti
Display: LG 24UD58-B over DisplayPort
USB cable: 3m 3.0 USB cable from iDS
Thanks for trying to reproduce the issue on your side. Did you use the same camera model?
We are going to try reproducing the issue with other workstations to see if this is something specific to our hardware setup.

We are still unable to reproduce this. The hardware and operating system should work fine.
You are running at 3,072×2,048 @ 60 fps correct?
Can you observe this when running qv4l2?
To ensure that the display is not a problem, run this pipeline:
gst-launch-1.0 -v tcamsrc serial=SERIAL ! bayer2rgb ! videoconvert ! fpsdisplaysink video-sink=fakesink
Disabling of auto exposure etc can be done at runtime via qv4l2.

Does it only happen when running with real time threads or always?

I'm sorry for my slow response. I'm back working on this issue!
Yes, we are running at 3,072×2,048 @ 60 fps. Some new findings:

It happens with or without real-time threads.

Using the gstreamer pipeline with fpsdisplaysink, we are still able to reproduce the issue. For record, these are the commands I ran.

gst-launch-1.0 -v tcamsrc serial=18910230 ! video/x-bayer,format=rggb,width=3072,height=2048,framerate=60/1 ! bayer2rgb ! videoconvert ! fpsdisplaysink video-sink=fakesink

# Change the shutter speed while running gstreamer
tcam-ctrl -p -s "Exposure Time (us)=16000" 18910230
tcam-ctrl -p -s "Exposure Time (us)=16666" 18910230
...

shutter speed (us) vs. FPS

I am not able to reproduce this with qv4l2, because the FPS is consistently below 30, no matter what we use for the shutter speed. I'm assuming this is a display issue.

I tried the same test scenario on two other workstations we have, and the issue was reproduced on a workstation with similar configuration (i9 & 2080 ti), but not on another workstation with different configuration (i7 & dual 1080 ti).

Based on these findings, I started to suspect this may be due to some scheduling / polling issue at V4L2 layer. I'm interested in hearing your insights.

Hello
I tested the camera and your commands too and I am not able to reproduce the issue.
I do not think, it is an issue of your computer. Also it is not an issue of the camera, I checke the same hardware. Therefore, I stumble about your point 4.
What happens, if you do not use the bayer2rgb?
Or is there a limitation of data transfer on your USB controllers? As soon as you use longer exposure times, the frame rate goes under 60 fps and so less bytes per second are transfered. I must admit, that would be totally new to me.
Stefan

Thank you Stefan!
We nailed down the hardware difference between the workstations that reproduce the issue and that doesn't, and it turned out to be the USB3.0 PCIe board that we are using.
StarTech PEXUSB3S44V
https://www.startech.com/jp/en/Cards-Adapters/USB-3.0/Cards/PCI-Express-USB-3-Card-4-Dedicated-Channels-4-Port~PEXUSB3S44V
red: using a USB3.0 port on the motherboard
blue: using one of the 4 ports of StarTech PEXUSB3S44V

We are still very curious, though, where the sudden FPS drop comes from, just below the shutter speed of 16666 us. It's hard to believe that the transfer speed limit of the StarTech board is just exactly between 60FPS and 59FPS, but I guess it is actually the case??
We'll look into this a bit more. Your suggestion of turning off bayer2rgb sounds worth trying, as I'm still suspecting some timing issue.

Tested without bayer2rgb and videoconvert.
red: with bayer2rgb and videoconvert
blue: without bayer2rgb and videoconvert

I was first confused to see that FPS is higher with bayer2rgb and videoconvert compared to without, at shutter speed less than 16666us, but I guess that is due to the data loss happening and some recovery mechanism of videoconvert?

Polled usb bandwidth every 100ms using usbtop, and the result seems to indicate that FPS drop does come from data loss happening with the StarTech board. The blue bars are clustered at around 377 MB/s. Does the raw RGGB format used by the camera takes 1 byte per pixel?

Hello
bayer2rgb creates a lot of CPU load, therefore, I am also surprised, that the fps goes down.
Good to read, that the frame drop is the reason.
The 37U cameras provides raw data, which is indeed 1 byte per pixel on GRAY8 formats.
I use USB 3.0 controllers with Intel and Fresco Logic controllers. They usually work fine.
The test is somewhat tricky. We must drop the incomplete frames in order to avoid segmentation faults.
I am not sure, whether the tcamsrc exports the frame drops, but I faintly remember, there was a property for incomplete image counter.
Stefan

Hi
The Startech board uses the Renesas/NEC - µPD720202 chipset. It is slower that current Intel and Fresco Login Chipsets.
Stefan

Thank you! Could you share the specific model # that you have used in the past?

You can try this one:
https://www.inateck.com/inateck-ktu3fr-2o2i-usb-3-0-pci-express-card.html

We'll give it a try!
Thank you for helping investigate the issue.


Allow specifying the volume detach timeout for machines via NodePools

What this PR does / why we need it:
Currently, volume detachments unhandled by CAPI block the deletion of machines. Prominent examples are daemonset pods with an attached volume (see this issue) as well as unresponsive nodes with pods attached.
This PR allows passing the NodeVolumeDetachTimeout through NodePools to created CAPI machines, which will allow us to skip volume detachment if it doesn't happen on the CAPI side.
Enables us to provide short term fixes for the following OCPBUGs by specifying the timeout in NodePools we create:

https://issues.redhat.com/browse/OCPBUGS-34650 until https://github.com/kubernetes-sigs/cluster-api/issues/6158 is fixed
https://issues.redhat.com/browse/OCPBUGS-29698 until https://github.com/kubernetes-sigs/cluster-api/issues/10661 is fixed

Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #
Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

/approve

@jparrill do you know if the tests are failing due to flakes? I'm having a hard time figuring out what the issue is.

/retest-required

/retest

/lgtm

/retest-required

/test e2e-azure

/jira refresh

/jira refresh

/hold
Still figuring out if this is the best bug to link

/unhold
This bug should be fine, it provides a fix for the issue even if it's not long term (will be done via bumping capi to a version containing https://github.com/kubernetes-sigs/cluster-api/issues/10661)

/jira refresh

/jira refresh


Update to SudokuFuncs.py file

I made changes to some functions in 'SudokuFuncs.py' file. @Raj-Srikar, amend the changes accordingly.

All good! Congrats on the first merged pull request. 🎉